diff --git a/.github/config.json b/.github/config.json index 72a09cf4568c..c237bd8e85c4 100644 --- a/.github/config.json +++ b/.github/config.json @@ -1 +1 @@ -{"runners":[{"versioning":{"source":"milestones","type":"SemVer"},"prereleaseName":"alpha","issue":{"labels":{"Error Handling":{"conditions":[],"requires":1},"Widgets Product":{"conditions":[{"label":"Button Widget","type":"hasLabel","value":true},{"label":"Chart Widget","type":"hasLabel","value":true},{"label":"Container Widget","type":"hasLabel","value":true},{"label":"Date Picker Widget","type":"hasLabel","value":true},{"label":"Select Widget","type":"hasLabel","value":true},{"label":"File Picker Widget","type":"hasLabel","value":true},{"label":"Form Widget","type":"hasLabel","value":true},{"label":"Image Widget","type":"hasLabel","value":true},{"label":"Input Widget","type":"hasLabel","value":true},{"label":"List Widget","type":"hasLabel","value":true},{"label":"MultiSelect Widget","type":"hasLabel","value":true},{"label":"Map Widget","type":"hasLabel","value":true},{"label":"Modal Widget","type":"hasLabel","value":true},{"label":"Radio Widget","type":"hasLabel","value":true},{"label":"Rich Text Editor Widget","type":"hasLabel","value":true},{"label":"Tab Widget","type":"hasLabel","value":true},{"label":"Table Widget","type":"hasLabel","value":true},{"label":"Text Widget","type":"hasLabel","value":true},{"label":"Video Widget","type":"hasLabel","value":true},{"label":"iFrame","type":"hasLabel","value":true},{"label":"Menu Button","type":"hasLabel","value":true},{"label":"Rating","type":"hasLabel","value":true},{"label":"Widget Validation","type":"hasLabel","value":true},{"label":"New Widget","type":"hasLabel","value":true},{"label":"Switch widget","type":"hasLabel","value":true},{"label":"Audio Widget","type":"hasLabel","value":true},{"label":"Icon Button Widget","type":"hasLabel","value":true},{"label":"Stat Box Widget","type":"hasLabel","value":true},{"label":"Voice Recorder Widget","type":"hasLabel","value":true},{"label":"Calendar Widget","type":"hasLabel","value":true},{"label":"Menu Button Widget","type":"hasLabel","value":true},{"label":"Divider Widget","type":"hasLabel","value":true},{"label":"Rating Widget","type":"hasLabel","value":true},{"label":"View Mode","type":"hasLabel","value":true},{"label":"Widget Property","type":"hasLabel","value":true},{"label":"Document Viewer Widget","type":"hasLabel","value":true},{"label":"Radio Group Widget","type":"hasLabel","value":true},{"label":"Currency Input Widget","type":"hasLabel","value":true},{"label":"TreeSelect","type":"hasLabel","value":true},{"label":"MultiTree Select Widget","type":"hasLabel","value":true},{"label":"Phone Input Widget","type":"hasLabel","value":true},{"label":"JSON Form","type":"hasLabel","value":true},{"label":"All Widgets","type":"hasLabel","value":true},{"label":"Button Group widget","type":"hasLabel","value":true},{"label":"Progress bar widget","type":"hasLabel","value":true},{"label":"Audio Recorder Widget","type":"hasLabel","value":true},{"label":"Camera Widget","type":"hasLabel","value":true},{"label":"Table Widget V2","type":"hasLabel","value":true},{"label":"Map Chart Widget","type":"hasLabel","value":true},{"label":"Code Scanner Widget","type":"hasLabel","value":true},{"label":"Widget keyboard accessibility","type":"hasLabel","value":true},{"label":"List Widget V2","type":"hasLabel","value":true},{"label":"Slider Widget","type":"hasLabel","value":true},{"label":"One-click Binding","type":"hasLabel","value":true},{"label":"Old widget version","type":"hasLabel","value":true},{"label":"Widget Discoverability","type":"hasLabel","value":true},{"label":"Switch Group Widget","type":"hasLabel","value":true},{"label":"Checkbox Group widget","type":"hasLabel","value":true},{"label":"Checkbox Widget","type":"hasLabel","value":true},{"label":"Table Inline Edit","type":"hasLabel","value":true},{"label":"Custom Widgets","type":"hasLabel","value":true}],"requires":1},"User Education Pod":{"conditions":[{"label":"Documentation","type":"hasLabel","value":true}],"requires":1},"DevOps Pod":{"conditions":[{"label":"Docker","type":"hasLabel","value":true},{"label":"Super Admin","type":"hasLabel","value":true},{"label":"Deployment","type":"hasLabel","value":true},{"label":"K8s","type":"hasLabel","value":true},{"label":"Email Config","type":"hasLabel","value":true},{"label":"Backup & Restore","type":"hasLabel","value":true},{"label":"AWS AMI","type":"hasLabel","value":true},{"label":"Observability","type":"hasLabel","value":true},{"label":"Heroku","type":"hasLabel","value":true},{"label":"New Deployment Mode","type":"hasLabel","value":true},{"label":"Supervisor","type":"hasLabel","value":true},{"label":"Deployment Certificates","type":"hasLabel","value":true},{"label":"Mock Data","type":"hasLabel","value":true},{"label":"AWS ECS","type":"hasLabel","value":true},{"label":"Ingress","type":"hasLabel","value":true},{"label":"Nginx","type":"hasLabel","value":true}],"requires":1},"Data Platform Pod":{"conditions":[{"label":"Page load executions","type":"hasLabel","value":true},{"label":"DSL Update","type":"hasLabel","value":true},{"label":"Platformization","type":"hasLabel","value":true}],"requires":1},"Mobile Pod":{"conditions":[],"requires":1},"Performance Pod":{"conditions":[{"label":"Performance","type":"hasLabel","value":true},{"label":"Performance infra","type":"hasLabel","value":true}],"requires":1},"IDE Pod":{"conditions":[{"label":"Telemetry","type":"hasLabel","value":true},{"label":"i18n","type":"hasLabel","value":true},{"label":"IDE Product","type":"hasLabel","value":true},{"label":"App setting","type":"hasLabel","value":true},{"label":"Debugger Product","type":"hasLabel","value":true},{"label":"Embedding Apps Product","type":"hasLabel","value":true}],"requires":1},"Appsmith Labs":{"conditions":[{"label":"Knowledge Retrieval","type":"hasLabel","value":true}],"requires":1},"Workflows Pod":{"conditions":[{"label":"Workflows Product","type":"hasLabel","value":true}],"requires":1},"QA Pod":{"conditions":[{"label":"QA","type":"hasLabel","value":true},{"label":"Automation Test","type":"hasLabel","value":true},{"label":"TestGap","type":"hasLabel","value":true},{"label":"Automation failures","type":"hasLabel","value":true},{"label":"Needs automation","type":"hasLabel","value":true}],"requires":1},"Anvil POD":{"conditions":[{"label":"Checkbox Component","type":"hasLabel","value":true},{"label":"WDS team","type":"hasLabel","value":true},{"label":"Anvil POD","type":"hasLabel","value":true},{"label":"WDS - all widgets","type":"hasLabel","value":true},{"label":"WDS - input widget","type":"hasLabel","value":true},{"label":"WDS - paragraph widget","type":"hasLabel","value":true},{"label":"WDS - statbox widget","type":"hasLabel","value":true},{"label":"WDS - modal widget","type":"hasLabel","value":true},{"label":"WDS - icon widget","type":"hasLabel","value":true},{"label":"WDS - checkbox widget","type":"hasLabel","value":true},{"label":"WDS - table widget","type":"hasLabel","value":true},{"label":"WDS - keyValue widget","type":"hasLabel","value":true},{"label":"WDS - switch group widget","type":"hasLabel","value":true},{"label":"WDS - theming","type":"hasLabel","value":true},{"label":"Anvil layout","type":"hasLabel","value":true},{"label":"Anvil - theming","type":"hasLabel","value":true},{"label":"Anvil - vertical alignment","type":"hasLabel","value":true},{"label":"Anvil - layout component","type":"hasLabel","value":true},{"label":"Anvil - drag & drop","type":"hasLabel","value":true},{"label":"Anvil - zones & sections","type":"hasLabel","value":true},{"label":"Anvil - copy paste experience","type":"hasLabel","value":true},{"label":"WDS - phone widget","type":"hasLabel","value":true},{"label":"WDS - responsive widget","type":"hasLabel","value":true},{"label":"Anvil - responsive viewport","type":"hasLabel","value":true},{"label":"WDS - widget styling","type":"hasLabel","value":true},{"label":"Anvil - spacing","type":"hasLabel","value":true},{"label":"Anvil - responsive canvas","type":"hasLabel","value":true},{"label":"WDS - inline button widget","type":"hasLabel","value":true},{"label":"Anvil team","type":"hasLabel","value":true}],"requires":1},"Activation Pod":{"conditions":[{"label":"Activation","type":"hasLabel","value":true}],"requires":1},"Stability Pod":{"conditions":[{"label":"Stability Issue","type":"hasLabel","value":true},{"label":"cypress-flaky-fix","type":"hasLabel","value":true},{"label":"Cypress flaky tests","type":"hasLabel","value":true}],"requires":1},"Stability-pod":{"conditions":[],"requires":1},"Application Platform Product":{"conditions":[{"label":"Fork App","type":"hasLabel","value":true},{"label":"Publish App","type":"hasLabel","value":true},{"label":"Secret Management","type":"hasLabel","value":true},{"label":"Import-Export-App","type":"hasLabel","value":true}],"requires":1},"Javascript Product":{"conditions":[{"label":"JS Linting & Errors","type":"hasLabel","value":true},{"label":"Autocomplete","type":"hasLabel","value":true},{"label":"Evaluated Value","type":"hasLabel","value":true},{"label":"Slash Command","type":"hasLabel","value":true},{"label":"New JS Function","type":"hasLabel","value":true},{"label":"JS Usability","type":"hasLabel","value":true},{"label":"Framework Functions","type":"hasLabel","value":true},{"label":"JS Objects","type":"hasLabel","value":true},{"label":"JS Evaluation","type":"hasLabel","value":true},{"label":"Custom JS Libraries","type":"hasLabel","value":true},{"label":"Action Selector","type":"hasLabel","value":true},{"label":"Widget setter method","type":"hasLabel","value":true},{"label":"Error Handling","type":"hasLabel","value":true},{"label":"Entity Refactor","type":"hasLabel","value":true},{"label":"AST-frontend","type":"hasLabel","value":true},{"label":"Sniping Mode","type":"hasLabel","value":true},{"label":"AST-backend","type":"hasLabel","value":true}],"requires":1},"IDE Product":{"conditions":[{"label":"IDE Infra","type":"hasLabel","value":true},{"label":"IDE Navigation","type":"hasLabel","value":true},{"label":"IDE tabs","type":"hasLabel","value":true},{"label":"Omnibar","type":"hasLabel","value":true},{"label":"Entity Explorer","type":"hasLabel","value":true},{"label":"Page Management","type":"hasLabel","value":true},{"label":"Preview mode","type":"hasLabel","value":true}],"requires":1},"Accelerators Product":{"conditions":[{"label":"Generate Page","type":"hasLabel","value":true},{"label":"Building blocks","type":"hasLabel","value":true}],"requires":1},"Templates Product":{"conditions":[{"label":"Partial-import-export","type":"hasLabel","value":true}],"requires":1},"Design System Product":{"conditions":[{"label":"Design System Product","type":"hasLabel","value":true},{"label":"ADS Component Issue","type":"hasLabel","value":true},{"label":"Keyboard accessibility ","type":"hasLabel","value":true},{"label":"Toggle button","type":"hasLabel","value":true},{"label":"ADS Category Token","type":"hasLabel","value":true},{"label":"ADS Component Documentation","type":"hasLabel","value":true},{"label":"ADS Migration","type":"hasLabel","value":true},{"label":"ADS Deduplication ","type":"hasLabel","value":true},{"label":"ADS Revamp","type":"hasLabel","value":true},{"label":"ADS Deduplication","type":"hasLabel","value":true},{"label":"ADS Unit Test","type":"hasLabel","value":true},{"label":"ADS Components","type":"hasLabel","value":true},{"label":"ADS Grayscale","type":"hasLabel","value":true},{"label":"Design System","type":"hasLabel","value":true},{"label":"ADS Typography","type":"hasLabel","value":true},{"label":"ADS Visual Styles","type":"hasLabel","value":true},{"label":"ADS Component Design","type":"hasLabel","value":true},{"label":"Modal Component","type":"hasLabel","value":true},{"label":"ADS Spacing","type":"hasLabel","value":true},{"label":"ads unit test","type":"hasLabel","value":true},{"label":"ads revamp","type":"hasLabel","value":true},{"label":"ads deduplication","type":"hasLabel","value":true}],"requires":1},"Query & JS Pod":{"conditions":[{"label":"Javascript Product","type":"hasLabel","value":true},{"label":"Onboarding Product","type":"hasLabel","value":true},{"label":"Integrations Product","type":"hasLabel","value":true}],"requires":1},"Authentication Product":{"conditions":[{"label":"Login / Signup","type":"hasLabel","value":true},{"label":"SSO","type":"hasLabel","value":true},{"label":"SCIM","type":"hasLabel","value":true}],"requires":1},"RBAC Product":{"conditions":[{"label":"Invite users","type":"hasLabel","value":true}],"requires":1},"Workspace Product":{"conditions":[{"label":"Home Page","type":"hasLabel","value":true}],"requires":1},"Billing & Licensing Product":{"conditions":[{"label":"Customer Portal","type":"hasLabel","value":true},{"label":"Cloud Services","type":"hasLabel","value":true},{"label":"Billing","type":"hasLabel","value":true},{"label":"Self Serve","type":"hasLabel","value":true},{"label":"Enterprise Billing","type":"hasLabel","value":true},{"label":"Analytics Improvements","type":"hasLabel","value":true},{"label":"Self Serve 1.0","type":"hasLabel","value":true},{"label":"License","type":"hasLabel","value":true},{"label":"BE instance","type":"hasLabel","value":true},{"label":"Invite flow","type":"hasLabel","value":true},{"label":"CE Instance Usage","type":"hasLabel","value":true}],"requires":1},"Platform Administration Pod":{"conditions":[{"label":"Audit Logs","type":"hasLabel","value":true},{"label":"Airgap","type":"hasLabel","value":true},{"label":"Enterprise Edition","type":"hasLabel","value":true},{"label":"Invite flow","type":"hasLabel","value":true},{"label":"User Profile","type":"hasLabel","value":true},{"label":"User Session ","type":"hasLabel","value":true},{"label":"User Session","type":"hasLabel","value":true},{"label":"Admin Settings Product","type":"hasLabel","value":true},{"label":"Authentication Product","type":"hasLabel","value":true},{"label":"RBAC Product","type":"hasLabel","value":true},{"label":"Workspace Product","type":"hasLabel","value":true},{"label":"Feature Flagging Product","type":"hasLabel","value":true},{"label":"Branding Product","type":"hasLabel","value":true}],"requires":1},"DB Infrastructure Pod":{"conditions":[{"label":"Move to Postgres","type":"hasLabel","value":true}],"requires":1},"Packages Product":{"conditions":[],"requires":1},"Packages Pod":{"conditions":[{"label":"Module creator","type":"hasLabel","value":true},{"label":"Module consumer","type":"hasLabel","value":true},{"label":"Package versioning","type":"hasLabel","value":true},{"label":"Convert to module","type":"hasLabel","value":true},{"label":"Query module","type":"hasLabel","value":true},{"label":"JS module","type":"hasLabel","value":true},{"label":"UI module","type":"hasLabel","value":true},{"label":"Packages Pod","type":"hasLabel","value":true},{"label":"Packages Product","type":"hasLabel","value":true}],"requires":1},"Environments Product":{"conditions":[],"requires":1},"Widgets & Accelerators Pod":{"conditions":[{"label":"Accelerators Product","type":"hasLabel","value":true},{"label":"Templates Product","type":"hasLabel","value":true},{"label":"Widgets Product","type":"hasLabel","value":true},{"label":"App Theming Product","type":"hasLabel","value":true}],"requires":1},"UI Building Product":{"conditions":[{"label":"Property Pane","type":"hasLabel","value":true},{"label":"Copy Paste","type":"hasLabel","value":true},{"label":"Drag & Drop","type":"hasLabel","value":true},{"label":"Undo/Redo","type":"hasLabel","value":true},{"label":"Widgets Pane","type":"hasLabel","value":true},{"label":"UI Performance","type":"hasLabel","value":true},{"label":"Widget Grouping","type":"hasLabel","value":true},{"label":"Reflow & Resize","type":"hasLabel","value":true},{"label":"Canvas / Grid","type":"hasLabel","value":true},{"label":"Auto Height","type":"hasLabel","value":true},{"label":"Browser specific","type":"hasLabel","value":true},{"label":"Auto Layout","type":"hasLabel","value":true},{"label":"Fixed layout","type":"hasLabel","value":true},{"label":"App Navigation","type":"hasLabel","value":true}],"requires":1},"Onboarding Product":{"conditions":[{"label":"Welcome Screen","type":"hasLabel","value":true}],"requires":1},"Git Product":{"conditions":[],"requires":1},"Git Platform Pod":{"conditions":[{"label":"Git Auto-commit","type":"hasLabel","value":true},{"label":"Auto-commit","type":"hasLabel","value":true},{"label":"Continuous Deployment","type":"hasLabel","value":true},{"label":"Branch protection","type":"hasLabel","value":true},{"label":"Default branch","type":"hasLabel","value":true},{"label":"Git status","type":"hasLabel","value":true},{"label":"Git performance","type":"hasLabel","value":true},{"label":"SDLC","type":"hasLabel","value":true},{"label":"Application Platform Product","type":"hasLabel","value":true},{"label":"Environments Product","type":"hasLabel","value":true},{"label":"Git Product","type":"hasLabel","value":true}],"requires":1},"Embedding Apps Product":{"conditions":[],"requires":1},"Integrations Product":{"conditions":[{"label":"New Datasource","type":"hasLabel","value":true},{"label":"Firestore","type":"hasLabel","value":true},{"label":"Google Sheets","type":"hasLabel","value":true},{"label":"Mongo","type":"hasLabel","value":true},{"label":"Redshift","type":"hasLabel","value":true},{"label":"snowflake","type":"hasLabel","value":true},{"label":"S3","type":"hasLabel","value":true},{"label":"Redis","type":"hasLabel","value":true},{"label":"Postgres","type":"hasLabel","value":true},{"label":"GraphQL Plugin","type":"hasLabel","value":true},{"label":"ArangoDB","type":"hasLabel","value":true},{"label":"MsSQL","type":"hasLabel","value":true},{"label":"Elastic Search","type":"hasLabel","value":true},{"label":"OAuth","type":"hasLabel","value":true},{"label":"Airtable","type":"hasLabel","value":true},{"label":"CURL","type":"hasLabel","value":true},{"label":"DynamoDB","type":"hasLabel","value":true},{"label":"Zendesk","type":"hasLabel","value":true},{"label":"Hubspot","type":"hasLabel","value":true},{"label":"Query Forms","type":"hasLabel","value":true},{"label":"Twilio","type":"hasLabel","value":true},{"label":"MySQL","type":"hasLabel","value":true},{"label":"Connection pool","type":"hasLabel","value":true},{"label":"MariaDB","type":"hasLabel","value":true},{"label":"Integrations Pod General","type":"hasLabel","value":true},{"label":"SMTP plugin","type":"hasLabel","value":true},{"label":"Oracle SQL DB","type":"hasLabel","value":true},{"label":"Query filter","type":"hasLabel","value":true},{"label":"Activation - datasources","type":"hasLabel","value":true},{"label":"REST API","type":"hasLabel","value":true},{"label":"REST API","type":"hasLabel","value":true},{"label":"Datasources","type":"hasLabel","value":true},{"label":"REST API plugin","type":"hasLabel","value":true},{"label":"Prepared statements","type":"hasLabel","value":true},{"label":"Query Generation","type":"hasLabel","value":true},{"label":"Core Query Execution","type":"hasLabel","value":true},{"label":"Query Management","type":"hasLabel","value":true},{"label":"Query Settings","type":"hasLabel","value":true},{"label":"Query performance","type":"hasLabel","value":true},{"label":"Datatype issue","type":"hasLabel","value":true},{"label":"SmartSubstitution","type":"hasLabel","value":true},{"label":"Suggested Widgets","type":"hasLabel","value":true},{"label":"SAAS Plugins","type":"hasLabel","value":true},{"label":"Reconnect DS modal","type":"hasLabel","value":true},{"label":"OnPageLoad","type":"hasLabel","value":true},{"label":"File upload issues","type":"hasLabel","value":true},{"label":"Data Platform Pod","type":"hasLabel","value":true},{"label":"AI","type":"hasLabel","value":true},{"label":"Appsmith AI","type":"hasLabel","value":true},{"label":"Database Schema","type":"hasLabel","value":true}],"requires":1}}},"root":"."}],"labels":{"Tab Widget":{"color":"e2c76c","name":"Tab Widget","description":""},"Dont merge":{"color":"ADB39C","name":"Dont merge","description":""},"Epic":{"color":"3E4B9E","name":"Epic","description":"A zenhub epic that describes a project"},"Menu Button Widget":{"color":"235708","name":"Menu Button Widget","description":"Issues related to Menu Button widget"},"Checkbox Group widget":{"color":"bbeecd","name":"Checkbox Group widget","description":"Issues related to Checkbox Group Widget"},"Input Widget":{"color":"ae65d8","name":"Input Widget","description":""},"Security":{"color":"99139C","name":"Security","description":""},"QA":{"color":"","name":"QA","description":"Needs QA attention"},"Verified":{"color":"9bf416","name":"Verified","description":""},"Wont Fix":{"color":"ffffff","name":"Wont Fix","description":"This will not be worked on"},"MySQL":{"color":"c9ddc6","name":"MySQL","description":"Issues related to MySQL plugin"},"Development":{"color":"9F8A02","name":"Development","description":""},"Help Wanted":{"color":"008672","name":"Help Wanted","description":"Extra attention is needed"},"Home Page":{"color":"","name":"Home Page","description":"Issues related to the application home page"},"Rating Widget":{"color":"235708","name":"Rating Widget","description":"Issues related to the rating widget"},"Stat Box Widget":{"color":"f1c9ce","name":"Stat Box Widget","description":"Issues related to stat box"},"Enhancement":{"color":"a2eeef","name":"Enhancement","description":"New feature or request"},"Fork App":{"color":"af87c7","name":"Fork App","description":"Issues related to forking apps"},"Container Widget":{"color":"19AD0D","name":"Container Widget","description":"Container widget"},"Papercut":{"color":"B562F6","name":"Papercut","description":""},"Needs Design":{"color":"bfd4f2","name":"Needs Design","description":"needs design or changes to design"},"i18n":{"color":"1799b0","name":"i18n","description":"Represents issues that need to be tackled to handle internationalization"},"Rich Text Editor Widget":{"color":"f72cac","name":"Rich Text Editor Widget","description":""},"skip-changelog":{"color":"06086F","name":"skip-changelog","description":"Adding this label to a PR prevents it from being listed in the changelog"},"Low":{"color":"79e53b","name":"Low","description":"An issue that is neither critical nor breaks a user flow"},"potential-duplicate":{"color":"d3cb2e","name":"potential-duplicate","description":"This label marks issues that are potential duplicates of already open issues"},"Audio Widget":{"color":"447B9A","name":"Audio Widget","description":"Issues related to Audio Widget"},"Firestore":{"color":"8078b0","name":"Firestore","description":"Issues related to the firestore Integration"},"New Widget":{"color":"be4cf2","name":"New Widget","description":"A request for a new widget"},"Modal Widget":{"color":"03846f","name":"Modal Widget","description":""},"UX Improvement":{"color":"f4a089","name":"UX Improvement","description":""},"S3":{"color":"8078b0","name":"S3","description":"Issues related to the S3 plugin"},"Release Blocker":{"color":"5756bf","name":"Release Blocker","description":"This issue must be resolved before the release"},"safari":{"color":"51C6AA","name":"safari","description":"Bugs seen on safari browser"},"Example Apps":{"color":"1799b0","name":"Example Apps","description":"Example apps created for new signups"},"MultiSelect Widget":{"color":"AB62D4","name":"MultiSelect Widget","description":"Issues related to MultiSelect Widget"},"Calendar Widget":{"color":"8c6644","name":"Calendar Widget","description":""},"Website":{"color":"151720","name":"Website","description":"Related to www.appsmith.com website"},"Low effort":{"color":"8B59F0","name":"Low effort","description":"Something that'll take a few days to build"},"Checkbox Widget":{"color":"bbeecd","name":"Checkbox Widget","description":""},"Spam":{"color":"620faf","name":"Spam","description":""},"Voice Recorder Widget":{"color":"85bc87","name":"Voice Recorder Widget","description":""},"Select Widget":{"color":"0c669e","name":"Select Widget","description":"Select or dropdown widget"},"Bug":{"color":"8ba6fd","name":"Bug","description":"Something isn't right"},"Widget Validation":{"color":"6990BC","name":"Widget Validation","description":"Issues related to widget property validation"},"Generate Page":{"color":"2b4664","name":"Generate Page","description":"Issures related to page generation"},"File Picker Widget":{"color":"6ae4f2","name":"File Picker Widget","description":""},"snowflake":{"color":"8078b0","name":"snowflake","description":"Issues related to the snowflake Integration"},"Automation":{"color":"CCAF60","name":"Automation","description":""},"hotfix":{"color":"BA3F1D","name":"hotfix","description":""},"Import-Export-App":{"color":"48883f","name":"Import-Export-App","description":"Issues related to importing and exporting apps"},"High effort":{"color":"A7E87B","name":"High effort","description":"Something that'll take more than a month to build"},"Telemetry":{"color":"bc70f9","name":"Telemetry","description":"Issues related to instrumenting appsmith"},"Radio Widget":{"color":"91ef15","name":"Radio Widget","description":""},"Omnibar":{"color":"1bb96a","name":"Omnibar","description":"Issues related to the omnibar for navigation"},"Button Widget":{"color":"34efae","name":"Button Widget","description":""},"Switch widget":{"color":"33A8CE","name":"Switch widget","description":"The switch widget"},"Map Widget":{"color":"7eef7a","name":"Map Widget","description":""},"Task":{"color":"085630","name":"Task","description":"A simple Todo"},"Design System":{"color":"2958a4","name":"Design System","description":"Design system"},"opera":{"color":"C63F5B","name":"opera","description":"Any issues identified on the opera browser"},"Login / Signup":{"color":"","name":"Login / Signup","description":"Authentication flows"},"Image Widget":{"color":"8de8ad","name":"Image Widget","description":""},"firefox":{"color":"6d56e2","name":"firefox","description":""},"Property Pane":{"color":"b356ff","name":"Property Pane","description":"Issues related to the behaviour of the property pane"},"Deployment":{"color":"93491f","name":"Deployment","description":"Installation process of appsmith"},"Production":{"color":"b60205","name":"Production","description":""},"Dependencies":{"color":"0366d6","name":"Dependencies","description":"Pull requests that update a dependency file"},"Google Sheets":{"color":"8078b0","name":"Google Sheets","description":"Issues related to Google Sheets"},"Icon Button Widget":{"color":"D319CE","name":"Icon Button Widget","description":"Issues related to the icon button widget"},"Mongo":{"color":"8078b0","name":"Mongo","description":"Issues related to Mongo DB plugin"},"Documentation":{"color":"a8dff7","name":"Documentation","description":"Improvements or additions to documentation"},"TestGap":{"color":"","name":"TestGap","description":"Issues identified for test plan improvement"},"keyboard shortcut":{"color":"0688B6","name":"keyboard shortcut","description":""},"Reopen":{"color":"897548","name":"Reopen","description":""},"Redshift":{"color":"8078b0","name":"Redshift","description":"Issues related to the redshift integration"},"Date Picker Widget":{"color":"ef1ce1","name":"Date Picker Widget","description":""},"Entity Explorer":{"color":"1bb96a","name":"Entity Explorer","description":"Issues related to navigation using the entity explorer"},"JS Linting & Errors":{"color":"E56AA5","name":"JS Linting & Errors","description":"Issues related to JS Linting and errors"},"iFrame":{"color":"3CD1DB","name":"iFrame","description":"Issues related to iFrame"},"Stale":{"color":"ededed","name":"Stale","description":null},"Text Widget":{"color":"d130d1","name":"Text Widget","description":""},"Video Widget":{"color":"23dd4b","name":"Video Widget","description":""},"Datasources":{"color":"3d590f","name":"Datasources","description":"Issues related to configuring datasource on appsmith"},"error":{"color":"B66773","name":"error","description":"All issues connected to error messages"},"Form Widget":{"color":"09ed77","name":"Form Widget","description":""},"Needs Triaging":{"color":"e8b851","name":"Needs Triaging","description":"Needs attention from maintainers to triage"},"Autocomplete":{"color":"235708","name":"Autocomplete","description":"Issues related to the autocomplete"},"hacktoberfest":{"color":"0052cc","name":"hacktoberfest","description":"All issues that can be solved by the community during Hacktoberfest"},"Medium effort":{"color":"D31156","name":"Medium effort","description":"Something that'll take more than a week but less than a month to build"},"Release":{"color":"57e5e0","name":"Release","description":""},"High":{"color":"c94d14","name":"High","description":"This issue blocks a user from building or impacts a lot of users"},"UI Performance":{"color":"1799b0","name":"UI Performance","description":"Issues related to UI performance"},"Deploy Preview":{"color":"bfdadc","name":"Deploy Preview","description":"Issues found in Deploy Preview"},"Needs Tests":{"color":"8ee263","name":"Needs Tests","description":"Needs automated tests to assert a feature/bug fix"},"Refactor":{"color":"B96662","name":"Refactor","description":"needs refactoring of code"},"Divider Widget":{"color":"235708","name":"Divider Widget","description":"Issues related to the divider widget"},"Table Widget":{"color":"2eead1","name":"Table Widget","description":""},"Needs More Info":{"color":"e54c10","name":"Needs More Info","description":"Needs additional information"},"Good First Issue":{"color":"7057ff","name":"Good First Issue","description":"Good for newcomers"},"UI Improvement":{"color":"9aeef4","name":"UI Improvement","description":""},"Backend":{"color":"d4c5f9","name":"Backend","description":"This marks the issue or pull request to reference server code"},"Frontend":{"color":"87c7f2","name":"Frontend","description":"This label marks the issue or pull request to reference client code"},"Chart Widget":{"color":"616ecc","name":"Chart Widget","description":""},"List Widget":{"color":"8508A0","name":"List Widget","description":"Issues related to the list widget"},"Duplicate":{"color":"cfd3d7","name":"Duplicate","description":"This issue or pull request already exists"},"JS Snippets":{"color":"8d62d2","name":"JS Snippets","description":"issues related to JS Snippets"},"Copy Paste":{"name":"Copy Paste","description":"Issues related to copy paste","color":"b4f0a9"},"Drag & Drop":{"name":"Drag & Drop","description":"Issues related to the drag & drop experience","color":"92115a"},"Sniping Mode":{"name":"Sniping Mode","description":"Issues related to sniping mode","color":"48883f"},"Redis":{"name":"Redis","description":"Issues related to Redis","color":"8078b0"},"New Datasource":{"color":"60b14c","name":"New Datasource","description":"Requests for new datasources"},"Evaluated Value":{"name":"Evaluated Value","description":"Issues related to evaluated values","color":"39f6e7"},"Undo/Redo":{"name":"Undo/Redo","description":"Issues related to undo/redo","color":"f25880"},"App Navigation":{"name":"App Navigation","description":"Issues related to the topbar navigation and configuring it","color":"4773ab"},"Widgets Pane":{"name":"Widgets Pane","description":"Issues related to the discovery and organisation of widgets","color":"ad5d78"},"View Mode":{"color":"1799b0","name":"View Mode","description":"Issues related to the view mode"},"User Education Pod":{"name":"User Education Pod","description":"Issues related to user education","color":"1799b0"},"Content":{"name":"Content","description":"For content related topics i.e blogs, templates, videos","color":"a8dff7"},"Slash Command":{"name":"Slash Command","description":"Issues related to the slash command","color":"a0608e"},"Widget Property":{"name":"Widget Property","description":"Issues related to adding / modifying widget properties across widgets","color":"5e92cb"},"Windows":{"name":"Windows","description":"Issues related exclusively to Windows systems","color":"b4cb8a"},"Old App Issues":{"name":"Old App Issues","description":"Issues related to apps old apps a few weeks old and app issues in stale browser session","color":"87ab18"},"Document Viewer Widget":{"name":"Document Viewer Widget","description":"Issues related to Document Viewer Widget","color":"899d4b"},"Radio Group Widget":{"name":"Radio Group Widget","description":"Issues related to radio group widget","color":"b68495"},"Super Admin":{"name":"Super Admin","description":"Issues related to the super admin page","color":"aa95cf"},"Postgres":{"name":"Postgres","description":"Postgres related issues","color":"8078b0"},"New JS Function":{"name":"New JS Function","description":"Issues related to adding a JS Function","color":"8e8aa4"},"Cannot Reproduce Issue":{"color":"93c9cc","name":"Cannot Reproduce Issue","description":"Issues that cannot be reproduced"},"Widget Grouping":{"name":"Widget Grouping","description":"Issues related to Widget Grouping","color":"a49951"},"K8s":{"name":"K8s","description":"Kubernetes related issues","color":"5f318a"},"Docker":{"name":"Docker","description":"Issues related to docker","color":"89b808"},"Camera Widget":{"name":"Camera Widget","description":"Issues and enhancements related to camera widget","color":"e6038e"},"SAAS Plugins":{"name":"SAAS Plugins","description":"Issues related to SAAS Plugins","color":"80e18f"},"JS Promises":{"name":"JS Promises","description":"Issues related to promises","color":"d7771f"},"OnPageLoad":{"name":"OnPageLoad","description":"OnPageLoad issues on functions and queries","color":"2b4664"},"JS Usability":{"name":"JS Usability","description":"usability issues with JS editor and JS elsewhere","color":"a302b0"},"Currency Input Widget":{"name":"Currency Input Widget","description":"Issues related to currency input widget","color":"b2164f"},"TreeSelect":{"name":"TreeSelect","description":"Issues related to TreeSelect Widget","color":"a1633e"},"MultiTree Select Widget":{"name":"MultiTree Select Widget","description":"Issues related to MultiTree Select Widget","color":"a1633e"},"Welcome Screen":{"name":"Welcome Screen","description":"Issues related to the welcome screen","color":"48883f"},"Realtime Commenting":{"color":"a70b86","name":"Realtime Commenting","description":"In-app communication between teams"},"Phone Input Widget":{"name":"Phone Input Widget","description":"Issues related to the Phone Input widget","color":"a70b86"},"JSON Form":{"name":"JSON Form","description":"Issue / features related to the JSON form wiget","color":"46b209"},"All Widgets":{"name":"All Widgets","description":"Issues related to all widgets","color":"972b36"},"V1":{"name":"V1","description":"V1","color":"67ab2e"},"Reflow & Resize":{"name":"Reflow & Resize","description":"All issues related to reflow and resize experience","color":"748a13"},"SSO":{"name":"SSO","description":"Issues, requests and enhancements around Single sign-on.","color":""},"Multi User Realtime":{"name":"Multi User Realtime","description":"Issues related to multiple users using or editing an application","color":"e7b6ce"},"Ready for design":{"name":"Ready for design","description":"this issue is ready for design: it contains clear problem statements and other required information","color":"ebf442"},"Support":{"name":"Support","description":"Issues created by the A-force team to address user queries","color":"1740f3"},"Button Group widget":{"name":"Button Group widget","description":"Issue and enhancements related to the button group widget","color":"f17025"},"GraphQL Plugin":{"name":"GraphQL Plugin","description":"Issues related to GraphQL plugin","color":"8078b0"},"DevOps Pod":{"name":"DevOps Pod","description":"Issues related to devops","color":"d956c7"},"medium":{"name":"medium","description":"Issues that frustrate users due to poor UX","color":"23dfd9"},"ArangoDB":{"name":"ArangoDB","description":"Issues related to arangoDB","color":"8078b0"},"Code Refactoring":{"name":"Code Refactoring","description":"Issues related to code refactoring","color":"76310e"},"Progress bar widget":{"name":"Progress bar widget","description":"To track issues related to progress bar","color":"2d7abf"},"Audio Recorder Widget":{"name":"Audio Recorder Widget","description":"Issues related to Audio Recorder Widget","color":"9accef"},"Airtable":{"name":"Airtable","description":"Issues for Airtable","color":"60885f"},"Canvas / Grid":{"name":"Canvas / Grid","description":"Issues related to the canvas","color":"16b092"},"Email Config":{"name":"Email Config","description":"Issues related to configuring the email service","color":"2a21d1"},"CURL":{"name":"CURL","description":"Issues related to CURL impor","color":"60885f"},"Canvas Zooms":{"name":"Canvas Zooms","description":"Issues related to zooming the canvas","color":"e6038e"},"business":{"name":"business","description":"Features that will be a part of our business edition","color":"cd59eb"},"Action Pod":{"name":"Action Pod","description":"","color":"ee2e36"},"AutomationGap1":{"color":"a5e07c","name":"AutomationGap1","description":"Issues that needs automated tests"},"A-Force11":{"name":"A-Force11","description":"Issues raised by A-Force team","color":"d667b6"},"Business Edition":{"name":"Business Edition","description":"Features that will be a part of our business edition","color":"89bb6c"},"storeValue":{"name":"storeValue","description":"Issues related to the store value function","color":"5d3e66"},"DynamoDB":{"name":"DynamoDB","description":"Issues that are related to DynamoDB should have this label","color":"60885f"},"ABAC":{"color":"e009a5","name":"ABAC","description":"User permissions and access controls"},"Backup & Restore":{"name":"Backup & Restore","description":"Issues related to backup and restore","color":"86874d"},"Billing":{"name":"Billing","description":"Billing infrastructure and flows for Business Edition and Trial users","color":"d2bc40"},"Datatype issue":{"name":"Datatype issue","description":"Issues that have risen because data types weren't handled","color":"cef66b"},"OAuth":{"name":"OAuth","description":"OAuth related bugs or features","color":"60885f"},"Table Widget V2":{"name":"Table Widget V2","description":"Issues related to Table Widget V2","color":"3a7192"},"IDE Navigation":{"name":"IDE Navigation","description":"Issues/feature requests related to IDE navigation, and context switching","color":"1bb96a"},"Query performance":{"name":"Query performance","description":"Issues that have to do with lack in performance of query execution","color":"cef66b"},"SAAS Manager App":{"name":"SAAS Manager App","description":"Issues with the SAAS manager app","color":"d427db"},"Twilio":{"name":"Twilio","description":"Issues related to Twilio integration","color":"23ba8d"},"Hubspot":{"name":"Hubspot","description":"Issues related to Hubspot integration","color":"60885f"},"Zendesk":{"name":"Zendesk","description":"Issues related to Zendesk integration","color":"60885f"},"Entity Refactor":{"name":"Entity Refactor","description":"Issues related to refactor logic","color":"705a2c"},"Map Chart Widget":{"name":"Map Chart Widget","description":"Issues related to Map Chart Widgets","color":"c8397f"},"Product Catchup":{"name":"Product Catchup","description":"Issues created in the product catchup","color":"29cd2c"},"Framework Functions":{"name":"Framework Functions","description":"Issues related to internal functions like showAlert(), navigateTo() etc...","color":"c25a09"},"Frontend Libraries Upgrade":{"name":"Frontend Libraries Upgrade","description":"Issues related to frontend libraries upgrade","color":"ede1fc"},"Audit Logs":{"name":"Audit Logs","description":"Audit trails to ensure data security","color":"f3fd62"},"MsSQL":{"name":"MsSQL","description":"Issues related to MsSQL plugin","color":"8078b0"},"Data Platform Pod":{"name":"Data Platform Pod","description":"Issues related to the underlying data platform","color":"2b4664"},"Elastic Search":{"name":"Elastic Search","description":"Issues related to the elastic search datasource","color":"8078b0"},"Core Query Execution":{"color":"cef66b","name":"Core Query Execution","description":"Issues related to the execution of all queries"},"Query Management":{"name":"Query Management","description":"Issues related to the CRUD of actions or queries","color":"cef66b"},"Query Settings":{"name":"Query Settings","description":"Issues related to the settings of all queries","color":"cef66b"},"Code Editor":{"name":"Code Editor","description":"Issues related to the code editor","color":"4ca16e"},"Query Forms":{"color":"12b253","name":"Query Forms","description":"Isuses related to the query forms"},"JS Objects":{"color":"22962c","name":"JS Objects","description":"Issues related to JS Objects"},"JS Evaluation":{"color":"22962c","name":"JS Evaluation","description":"Issues related to JS evaluation on the platform"},"SmartSubstitution":{"name":"SmartSubstitution","description":"Issues related to Smart substitution of mustache bindings in queries","color":"bae511"},"Query Generation":{"name":"Query Generation","description":"Issues related to query generation","color":"cef66b"},"Suggested Widgets":{"name":"Suggested Widgets","description":"Issues related to suggesting widgets based on query response","color":"6ac063"},"Page load executions":{"name":"Page load executions","description":"Issues related to page load execution","color":"5696b2"},"Code Scanner Widget":{"name":"Code Scanner Widget","description":"Issues related to code scanner widget","color":"9bc1a0"},"Clean URLs":{"name":"Clean URLs","description":"Issues related to clean URLs epic","color":"112623"},"Widget keyboard accessibility":{"name":"Widget keyboard accessibility","description":"All issues related to keyboard accessibility in widgets","color":"b626fd"},"Connection pool":{"name":"Connection pool","description":"issues to do with connection pooling of various plugins","color":"94fe36"},"List Widget V2":{"name":"List Widget V2","description":"Issues related to the list widget v2","color":"adaaf7"},"Auto Height":{"name":"Auto Height","description":"Issues related to dynamic height of widgets","color":"5149cf"},"cypress_failed_test":{"name":"cypress_failed_test","description":"Cypress failed tests","color":"4745d5"},"Needs validation":{"name":"Needs validation","description":"Needs problem validation before being picked up","color":"66673d"},"Slider Widget":{"name":"Slider Widget","description":"Issues raised for slider widgets.","color":"2eef5f"},"Multitenancy":{"name":"Multitenancy","description":"Support multitenancy within single appsmith instance","color":"8c49a9"},"Mobile Pod":{"name":"Mobile Pod","description":"All issues related to mobile responsiveness","color":"6c97fd"},"Conversion Algorithm":{"name":"Conversion Algorithm","description":"All issue related to converting app from fixed to flex mode & vice versa","color":"d12d2e"},"Browser specific":{"name":"Browser specific","description":"All issue related to browser","color":"d12d2e"},"Error Handling":{"name":"Error Handling","description":"Issues related to error handling","color":"4e1872"},"Performance infra":{"name":"Performance infra","description":"all issue related to the performance infra","color":"8a60f6"},"DSL Update":{"name":"DSL Update","description":"Issues related to storing and updating the DSL","color":"e16cf3"},"AST-frontend":{"name":"AST-frontend","description":"Issues related to maintaining AST logic","color":"2b4664"},"AST-backend":{"name":"AST-backend","description":"Backend issues related to AST parsing","color":"48883f"},"MariaDB":{"name":"MariaDB","description":"MariaDB datasource","color":"8428c3"},"ADS Component Issue":{"name":"ADS Component Issue","description":"Issues which are caused due to ADS components","color":"d89119"},"Regressed":{"color":"723fd0","name":"Regressed","description":"Scenarios that were working before but have now regressed"},"Needs RCA":{"name":"Needs RCA","description":"a critical or high priority issue that needs an RCA","color":"2cc68f"},"Custom JS Libraries":{"name":"Custom JS Libraries","description":"Issues related to adding custom JS library","color":"bacb6d"},"Integrations Pod General":{"name":"Integrations Pod General","description":"Issues related to the Integrations Pod that don't fit into other tags.","color":"287823"},"Performance Pod":{"name":"Performance Pod","description":"All things related to Appsmith performance","color":"b5a25d"},"Performance":{"name":"Performance","description":"Issues related to performance","color":"9a18d7"},"File upload issues":{"name":"File upload issues","description":"Issues related to uploading any type of files from within Appsmith","color":"2b4664"},"Action Selector":{"name":"Action Selector","description":"Issues related to action selector on the property pane","color":"2f9e20"},"Community Reported":{"name":"Community Reported","description":"issues reported by community members","color":"1402e5"},"JS Function execution":{"name":"JS Function execution","description":"JS function execution","color":"7c2de1"},"Self Serve":{"name":"Self Serve","description":"For all issues related to self-serve flow for business edition","color":"4dacfc"},"Self Serve 1.0":{"name":"Self Serve 1.0","description":"For all issues related to v1 of the self serve project","color":"ae839e"},"Customer Portal":{"name":"Customer Portal","description":"For all tasks/issues pertaining to customer.appsmith.com","color":"d2bc40"},"Cloud Services":{"name":"Cloud Services","description":"For all tasks/issues on Appsmith cloud-services relating to licensing, usage and billing","color":"d2bc40"},"One-click Binding":{"name":"One-click Binding","description":"Issues related to the One click binding epic","color":"f1661c"},"Airgap":{"name":"Airgap","description":"Tickets related to supporting air-gapped Appsmith instances","color":"1cb294"},"SMTP plugin":{"name":"SMTP plugin","description":"Issues related to SMTP plugin","color":"541457"},"AWS AMI":{"name":"AWS AMI","description":"Issues Related to AWS AMI","color":"b44680"},"Old widget version":{"name":"Old widget version","description":"Use this label to raise issue specific only to an older version of a widget","color":"ff3814"},"Enterprise Billing":{"name":"Enterprise Billing","description":"To track all tasks/issues related to licensing & billing for enterprise customers","color":"14c156"},"Oracle SQL DB":{"name":"Oracle SQL DB","description":"Issues related to the Oracle plugin","color":"cbabcb"},"Community Contributor":{"name":"Community Contributor","description":"Meant to track issues that are assigned to external contributors","color":"149ab6"},"widget vertical alignment":{"name":"widget vertical alignment","description":"All issue related widget vertical alignment on the auto layout canvas","color":"d12d2e"},"Observability":{"name":"Observability","description":"Issues related to observability on the Appsmith instance","color":"dff913"},"Checkbox Component":{"name":"Checkbox Component","description":"This labels deals with checkbox component in wds package","color":"75a401"},"Analytics Improvements":{"name":"Analytics Improvements","description":"For all tasks focused on improving our overall analytics and fixing any issues ","color":"29b8ed"},"WDS team":{"name":"WDS team","description":"","color":"8d675a"},"Enterprise Edition":{"name":"Enterprise Edition","description":"Features that will be supported in Enterprise Edition only","color":"984f5e"},"Query filter":{"name":"Query filter","description":"Issues related to query filtering, e.g., WHERE clause","color":"a15134"},"Keyboard accessibility ":{"name":"Keyboard accessibility ","description":"All issue related to ADS component keyboard accessibility","color":"2ba696"},"Toggle button":{"name":"Toggle button","description":"All issue related to ADS toggle button","color":"edc47f"},"SCIM":{"name":"SCIM","description":"Label to collate our SCIM issues","color":"48883f"},"ADS Category Token":{"name":"ADS Category Token","description":"All issues related appsmith design system category tokens","color":"920961"},"ADS Component Documentation":{"name":"ADS Component Documentation","description":"All issues Appsmith design system component documentation","color":"64c46a"},"ADS Migration":{"name":"ADS Migration","description":"All issues related to Appsmith design system migration","color":"b082d6"},"ADS Deduplication ":{"name":"ADS Deduplication ","description":"Replacing component with ADS components","color":"b082d6"},"ADS Revamp":{"name":"ADS Revamp","description":"All issues related to ads revamp. ","color":"b082d6"},"ADS Deduplication":{"name":"ADS Deduplication","description":"Replacing component with ADS components","color":"b082d6"},"ADS Grayscale":{"name":"ADS Grayscale","description":"Support grayscale color changes","color":"b03577"},"ADS Unit Test":{"name":"ADS Unit Test","description":"All issue related ads unit cases ","color":"b082d6"},"ADS Components":{"name":"ADS Components","description":"All issues related ADS components","color":"b082d6"},"Widget Discoverability":{"name":"Widget Discoverability","description":"Issues related to Widget Discoverability","color":"7b55ce"},"Widget setter method":{"name":"Widget setter method","description":"Issues with widget property setters","color":"8dce87"},"License":{"name":"License","description":"For all issues/tasks related to licensing of appsmith-ee edition","color":"90ee98"},"Platformization":{"name":"Platformization","description":"Issues or tasks related to platformization of Appsmith codebase","color":"4e972b"},"Activation - datasources":{"name":"Activation - datasources","description":"issues related to activation projects","color":"7c7ace"},"Partial-import-export":{"name":"Partial-import-export","description":"Label for granular reusability.","color":"717732"},"AI":{"name":"AI","description":"All tasks related to AI","color":"2b4664"},"ADS Typography":{"name":"ADS Typography","description":"All issue related typographical changes","color":"2dbe8d"},"Auto Layout":{"name":"Auto Layout","description":"Issues relates to auto layout","color":"92cf8c"},"Heroku":{"name":"Heroku","description":"Issues related to Heroku","color":"a81b69"},"ADS Visual Styles":{"name":"ADS Visual Styles","description":"All issues related to ADS visual styles","color":"d3da89"},"ADS Component Design":{"name":"ADS Component Design","description":"All issue related to component design","color":"5cc91e"},"Modal Component":{"name":"Modal Component","description":"All issue related to ads modal component","color":"ee63f3"},"App setting":{"name":"App setting","description":"Related to app settings panel within the app","color":"174f98"},"BE instance":{"name":"BE instance","description":"For all issues related to license, billing on BE instance","color":"ae8f98"},"Fixed layout":{"name":"Fixed layout","description":"issues related to fixed layout","color":"b66681"},"Anvil layout":{"name":"Anvil layout","description":"issues related to the new layout system anvil","color":"5e0904"},"New Deployment Mode":{"name":"New Deployment Mode","description":"Support a new mode of deployment","color":"108033"},"Custom widgets":{"name":"Custom widgets","description":"For all issues related to the custom widget project","color":"c9db9c"},"Homepage Experience V2":{"name":"Homepage Experience V2","description":"Label for reporting new tasks and bug fixes related to revamped homepage experience","color":"c55d54"},"Customer Success":{"name":"Customer Success","description":"Issues that the success team cares about","color":"6ccabd"},"Invite flow":{"name":"Invite flow","description":"Invite users flow and any associated actions","color":"881b35"},"Invite users":{"name":"Invite users","description":"Invite users flow and any associated actions","color":""},"Workflows Pod":{"name":"Workflows Pod","description":"Issues that the workflows team owns","color":"446925"},"DailyPromotionBlocker":{"name":"DailyPromotionBlocker","description":"DailyPromotion Blocker","color":"9b2280"},"JS Binding":{"name":"JS Binding","description":"All issues related to the JS Binding experience","color":"422fed"},"Knowledge Retrieval":{"name":"Knowledge Retrieval","description":"All issues related to knowledge retrieval on Appsmith AI","color":"a36890"},"REST API":{"name":"REST API","description":"REST API plugin related issues","color":"e3ede5"},"Critical":{"color":"a1e3db","name":"Critical","description":"This issue breaks existing apps. Drop everything else to resolve"},"Module creator":{"name":"Module creator","description":"Issues related to the module creator side","color":"bb2c05"},"Module consumer":{"name":"Module consumer","description":"Issues related to the module consumer side","color":"83d3c5"},"Package versioning":{"name":"Package versioning","description":"ISsues related to how we manage versions for packages","color":"4c5218"},"Convert to module":{"name":"Convert to module","description":"Issues related to the module creation flow using conversion","color":"4c5218"},"Query module":{"name":"Query module","description":"Issues affecting query modules or its instances","color":"b11a7e"},"JS module":{"name":"JS module","description":"Issues affecting JS modules or its instances","color":"bf76f6"},"Secret Management":{"name":"Secret Management","description":"Issues related to secret management","color":"2b4664"},"REST API plugin":{"name":"REST API plugin","description":"REST API plugin related issues","color":"b5948a"},"UI module":{"name":"UI module","description":"Issues affecting UI modules or its instances","color":"d2acee"},"Preview mode":{"name":"Preview mode","description":"Issues related to app previews","color":"48883f"},"Git Auto-commit":{"name":"Git Auto-commit","description":"Issues related to autocommit","color":"717732"},"QA Pod":{"name":"QA Pod","description":"Issues under the QA Pod","color":"717732"},"Automation Test":{"name":"Automation Test","description":"","color":""},"Automation failures":{"name":"Automation failures","description":"","color":""},"Needs automation":{"name":"Needs automation","description":"Issues that needs automated tests","color":""},"Prepared statements":{"name":"Prepared statements","description":"Issues related to prepared statement flow","color":""},"Switch Group Widget":{"name":"Switch Group Widget","description":"Issues related to Switch group Widget","color":""},"Supervisor":{"name":"Supervisor","description":"Issues related to supervisor","color":"2c5813"},"Deployment Certificates":{"name":"Deployment Certificates","description":"Issues related to lets encrypt","color":"e148aa"},"Mock Data":{"name":"Mock Data","description":"Issues related to mock databases","color":"ebf251"},"AWS ECS":{"name":"AWS ECS","description":"Issues related to ECS Fargate","color":"e506ff"},"Publish App":{"name":"Publish App","description":"Issues related to app deployment","color":"2b4664"},"IDE Infra":{"name":"IDE Infra","description":"Issues related to the IDE infrastructure like saving changes","color":"1bb96a"},"User Profile":{"name":"User Profile","description":"Issues related to a user profile","color":"a60d34"},"Page Management":{"color":"1bb96a","name":"Page Management","description":"Issues related to configuring pages"},"Ingress":{"name":"Ingress","description":"Ingress Controller","color":"a86802"},"Nginx":{"name":"Nginx","description":"Issues related to Nginx","color":"e54195"},"Building blocks":{"name":"Building blocks","description":"Building blocks on cavas, on templates listing or drag and drop of building blocks.","color":"48883f"},"Table Inline Edit":{"name":"Table Inline Edit","description":"Issues related to inline editing","color":"60895a"},"User Session ":{"name":"User Session ","description":"For all issues/tasks related to user sessions","color":"65a3f5"},"WDS - all widgets":{"name":"WDS - all widgets","description":"all widget present in WDS","color":"2670ae"},"WDS - input widget":{"name":"WDS - input widget","description":"Issues related to input widget on WDS","color":"2670ae"},"WDS - paragraph widget":{"name":"WDS - paragraph widget","description":"issues related to paragraph widget on WDS","color":"2670ae"},"WDS - statbox widget":{"name":"WDS - statbox widget","description":"issues related to statbox widget on WDS","color":"2670ae"},"WDS - modal widget":{"name":"WDS - modal widget","description":"Issues related to modal widget on WDS","color":"2670ae"},"WDS - icon widget":{"name":"WDS - icon widget","description":"Issues related to icon widget on WDS","color":"2670ae"},"WDS - checkbox widget":{"name":"WDS - checkbox widget","description":"Issues related to checkbox widget on WDS","color":"2670ae"},"WDS - table widget":{"name":"WDS - table widget","description":"Issues related to table widget on WDS","color":"2670ae"},"WDS - keyValue widget":{"name":"WDS - keyValue widget","description":"Issues related to key-value widget on WDS","color":"2670ae"},"WDS - switch group widget":{"name":"WDS - switch group widget","description":"Issues related to switch group widget on WDS","color":"2670ae"},"WDS - theming":{"name":"WDS - theming","description":"Issues related to theming on the Anvil instance","color":"2670ae"},"Anvil POD":{"name":"Anvil POD","description":"Issue related to Anvil project","color":"5e0904"},"Anvil - theming":{"name":"Anvil - theming","description":"Issues related to theming on the Anvil instance","color":"c28de5"},"Anvil - vertical alignment":{"name":"Anvil - vertical alignment","description":"Issues related to vertical alignment on the Anvil layout","color":"c28de5"},"Anvil - layout component":{"name":"Anvil - layout component","description":"Issues related to layout component on the Anvil layout","color":"c28de5"},"Anvil - drag & drop":{"name":"Anvil - drag & drop","description":"Issues related to drag & drop experience on Anvil","color":"c28de5"},"Anvil - zones & sections":{"name":"Anvil - zones & sections","description":"Issues related to zones and sections on the Anvil layout","color":"c28de5"},"Anvil - copy paste experience":{"name":"Anvil - copy paste experience","description":"Issues related to copy paste experience on the Anvil layout","color":"c28de5"},"WDS - phone widget":{"name":"WDS - phone widget","description":"Issues related to phone widget on WDS","color":"c28de5"},"WDS - responsive widget":{"name":"WDS - responsive widget","description":"All issues related to widget responsiveness","color":"11ee05"},"Anvil - responsive viewport":{"color":"11ee05","name":"Anvil - responsive viewport","description":"Issues seen on different viewports like mobile"},"WDS - widget styling":{"color":"11ee05","name":"WDS - widget styling","description":"all about widget styling"},"Anvil - spacing":{"name":"Anvil - spacing","description":"Related to spacing between widgets in auto layout","color":"11ee05"},"Anvil - responsive canvas":{"name":"Anvil - responsive canvas","description":"All issues related to canvas responsiveness","color":"11ee05"},"WDS - inline button widget":{"name":"WDS - inline button widget","description":"Issues related to inline button widget on WDS","color":"7cef83"},"Activation Pod":{"name":"Activation Pod","description":"for Activation group","color":"d67d00"},"Activation":{"name":"Activation","description":"for Activation group","color":"d67d00"},"Tests":{"name":"Tests","description":"Test issues","color":"4fc7b6"},"Ballpark: XXS":{"name":"Ballpark: XXS","description":"~1xDev in 1/2xSprint","color":""},"Ballpark: XS":{"name":"Ballpark: XS","description":"~1xDev in 1xSprint","color":"53bf71"},"Ballpark: S":{"name":"Ballpark: S","description":"~2xDev in 1xSprint","color":"6e9e65"},"Ballpark: M":{"name":"Ballpark: M","description":"~1xPOD in 1xSprint","color":"2229e6"},"Ballpark: L":{"name":"Ballpark: L","description":"~1xPOD in 3xSprint or 2xPODs in 1xSprint","color":"49962f"},"Ballpark: XL":{"name":"Ballpark: XL","description":"~1xPOD in 1xQuarter or 2xPODs in 2xSprint","color":"b524c9"},"Ballpark: XXL":{"name":"Ballpark: XXL","description":"~2xPODs in 1xQuarter","color":"22092c"},"Auto-commit":{"name":"Auto-commit","description":"Issues related to auto-generated commits showing up on git ","color":"e25b89"},"Continuous Deployment":{"name":"Continuous Deployment","description":"Issues related to CD pipeline on git","color":"aea47c"},"Branch protection":{"name":"Branch protection","description":"Issues related to using a protected branch on git","color":"ab511a"},"Default branch":{"name":"Default branch","description":"Issues related to using a default branch on git","color":"195737"},"Git status":{"name":"Git status","description":"Issues related to information shown on git status modal or number of changes appearing in a branch","color":"c851b8"},"Git performance":{"name":"Git performance","description":"Issues related to perceived performance on any git operation","color":"189af6"},"Anvil team":{"name":"Anvil team","description":"issues related to the new layout system anvil","color":"798200"},"SDLC":{"name":"SDLC","description":"Issues related to software development lifecycle experiences","color":"bae511"},"Reconnect DS modal":{"name":"Reconnect DS modal","description":"Issues related to reconnect datasource modal post app import","color":"2e398b"},"Stability Pod":{"name":"Stability Pod","description":"For all issues/tasks to be prioritized under Stability pod","color":"86ddf6"},"Stability Issue":{"name":"Stability Issue","description":"Every issue handle by Stability Pod","color":"4d024a"},"Move to Postgres":{"name":"Move to Postgres","description":"Issues required to be solved for the move to Postgres as repository layer","color":"4e13ac"},"User Session":{"name":"User Session","description":"Issues related to user sessions","color":"8255e5"},"IDE tabs":{"name":"IDE tabs","description":"query and js tabs","color":"1bb96a"},"Inviting Contribution":{"name":"Inviting Contribution","description":"Issues that we would like contributions to","color":""},"cypress-flaky-fix":{"name":"cypress-flaky-fix","description":"This label is auto-added when a PR which only has Cypress fixes are merged to release","color":"722cbc"},"Cypress flaky tests":{"name":"Cypress flaky tests","description":"Test scripts that need to be fixed on Cypress by dev or SDET","color":"722cbc"},"Help enterprise":{"name":"Help enterprise","description":"Requested by Appsmith customers or prospects","color":"FF8C00"},"Learnability":{"name":"Learnability","description":"Issues affecting the product learnability, making the product harder for new users.","color":"800c2f"},"Application Platform Product":{"name":"Application Platform Product","description":"Issues related to the application platform","color":"174f98"},"ADS Spacing":{"name":"ADS Spacing","description":"","color":"686ebb"},"ads unit test":{"name":"ads unit test","description":"All issue related ads unit cases","color":"686ebb"},"ads revamp":{"name":"ads revamp","description":"All issues related to ads revamp.","color":"686ebb"},"Javascript Product":{"color":"709a21","name":"Javascript Product","description":"Issues related to users writing javascript in appsmith"},"IDE Product":{"color":"1bb96a","name":"IDE Product","description":"Issues related to the IDE Product"},"IDE Pod":{"color":"1bb96a","name":"IDE Pod","description":"Issues that new developers face while exploring the IDE"},"Accelerators Product":{"name":"Accelerators Product","description":"Issues related to app building accelerators","color":"f3fce6"},"Templates Product":{"name":"Templates Product","description":"Issues related to Templates","color":"f3fce6"},"Design System Product":{"name":"Design System Product","description":"Appsmith design system related issues","color":"2b4664"},"ads deduplication":{"name":"ads deduplication","description":"Replacing component with ADS components","color":"708943"},"Admin Settings Product":{"color":"708943","name":"Admin Settings Product","description":"Issues in admin settings pages"},"Appsmith AI":{"name":"Appsmith AI","description":"All issues related to the Appsmith AI datasource","color":"708943"},"Query & JS Pod":{"color":"709a21","name":"Query & JS Pod","description":"Issues related to the query & JS Pod"},"Authentication Product":{"name":"Authentication Product","description":"Issues related to authentication","color":""},"RBAC Product":{"name":"RBAC Product","description":"Issues, requests and enhancements around RBAC.","color":""},"Workspace Product":{"name":"Workspace Product","description":"Issues related to workspaces","color":""},"CE Instance Usage":{"name":"CE Instance Usage","description":"For all issues relating to usage, licensing or billing on the CE instance","color":""},"Feature Flagging Product":{"name":"Feature Flagging Product","description":"Anything related feature flagging","color":"446925"},"Billing & Licensing Product":{"name":"Billing & Licensing Product","description":"Issues pertaining to licensing, billing and usage across self serve and enterprise customers","color":"446925"},"Platform Administration Pod":{"color":"446925","name":"Platform Administration Pod","description":"Issues related to platform administration & management"},"DB Infrastructure Pod":{"name":"DB Infrastructure Pod","description":"Pod to handle database infrastructure","color":"446925"},"Packages Product":{"name":"Packages Product","description":"Issues related to packages","color":"446925"},"Workflows Product":{"name":"Workflows Product","description":"Issues related to the workflows product","color":"446925"},"Debugger Product":{"color":"857f58","name":"Debugger Product","description":"Issues related to the debugger"},"Packages Pod":{"name":"Packages Pod","description":"issues that belong to the packages pod","color":"857f58"},"Environments Product":{"name":"Environments Product","description":"Issues related to datasource environments","color":"857f58"},"Custom Widgets":{"name":"Custom Widgets","description":"For all issues related to the custom widget project","color":"857f58"},"Branding Product":{"name":"Branding Product","description":"All issues under branding and whitelabelling appsmith ecosystem","color":"857f58"},"Widgets & Accelerators Pod":{"name":"Widgets & Accelerators Pod","description":"Issues related to widgets & Accelerators","color":"857f58"},"Widgets Product":{"name":"Widgets Product","description":"This label groups issues related to widgets","color":"f3fce6"},"App Theming Product":{"name":"App Theming Product","description":"Items that are related to the App level theming controls epic","color":"48883f"},"UI Building Product":{"color":"48883f","name":"UI Building Product","description":"Issues related to the UI Building experience"},"Onboarding Product":{"color":"48883f","name":"Onboarding Product","description":"Issues related to onboarding new developers"},"Database Schema":{"name":"Database Schema","description":"Issues related to database schema","color":"48883f"},"Git Product":{"color":"48883f","name":"Git Product","description":"Issues related to version control product"},"Git Platform Pod":{"name":"Git Platform Pod","description":"Issues related to the git & the app platform ","color":"48883f"},"Embedding Apps Product":{"name":"Embedding Apps Product","description":"Issues related to embedding","color":"48883f"},"Integrations Product":{"name":"Integrations Product","description":"Issues related to a specific integration","color":"b9f21c"}},"success":true} \ No newline at end of file +{"runners":[{"versioning":{"source":"milestones","type":"SemVer"},"prereleaseName":"alpha","issue":{"labels":{"Widgets Product":{"conditions":[{"label":"Button Widget","type":"hasLabel","value":true},{"label":"Chart Widget","type":"hasLabel","value":true},{"label":"Container Widget","type":"hasLabel","value":true},{"label":"Date Picker Widget","type":"hasLabel","value":true},{"label":"Select Widget","type":"hasLabel","value":true},{"label":"File Picker Widget","type":"hasLabel","value":true},{"label":"Form Widget","type":"hasLabel","value":true},{"label":"Image Widget","type":"hasLabel","value":true},{"label":"Input Widget","type":"hasLabel","value":true},{"label":"List Widget","type":"hasLabel","value":true},{"label":"MultiSelect Widget","type":"hasLabel","value":true},{"label":"Map Widget","type":"hasLabel","value":true},{"label":"Modal Widget","type":"hasLabel","value":true},{"label":"Radio Widget","type":"hasLabel","value":true},{"label":"Rich Text Editor Widget","type":"hasLabel","value":true},{"label":"Tab Widget","type":"hasLabel","value":true},{"label":"Table Widget","type":"hasLabel","value":true},{"label":"Text Widget","type":"hasLabel","value":true},{"label":"Video Widget","type":"hasLabel","value":true},{"label":"iFrame","type":"hasLabel","value":true},{"label":"Menu Button","type":"hasLabel","value":true},{"label":"Rating","type":"hasLabel","value":true},{"label":"Widget Validation","type":"hasLabel","value":true},{"label":"New Widget","type":"hasLabel","value":true},{"label":"Switch widget","type":"hasLabel","value":true},{"label":"Audio Widget","type":"hasLabel","value":true},{"label":"Icon Button Widget","type":"hasLabel","value":true},{"label":"Stat Box Widget","type":"hasLabel","value":true},{"label":"Voice Recorder Widget","type":"hasLabel","value":true},{"label":"Calendar Widget","type":"hasLabel","value":true},{"label":"Menu Button Widget","type":"hasLabel","value":true},{"label":"Divider Widget","type":"hasLabel","value":true},{"label":"Rating Widget","type":"hasLabel","value":true},{"label":"View Mode","type":"hasLabel","value":true},{"label":"Widget Property","type":"hasLabel","value":true},{"label":"Document Viewer Widget","type":"hasLabel","value":true},{"label":"Radio Group Widget","type":"hasLabel","value":true},{"label":"Currency Input Widget","type":"hasLabel","value":true},{"label":"TreeSelect","type":"hasLabel","value":true},{"label":"MultiTree Select Widget","type":"hasLabel","value":true},{"label":"Phone Input Widget","type":"hasLabel","value":true},{"label":"JSON Form","type":"hasLabel","value":true},{"label":"All Widgets","type":"hasLabel","value":true},{"label":"Button Group widget","type":"hasLabel","value":true},{"label":"Progress bar widget","type":"hasLabel","value":true},{"label":"Audio Recorder Widget","type":"hasLabel","value":true},{"label":"Camera Widget","type":"hasLabel","value":true},{"label":"Table Widget V2","type":"hasLabel","value":true},{"label":"Map Chart Widget","type":"hasLabel","value":true},{"label":"Code Scanner Widget","type":"hasLabel","value":true},{"label":"Widget keyboard accessibility","type":"hasLabel","value":true},{"label":"List Widget V2","type":"hasLabel","value":true},{"label":"Slider Widget","type":"hasLabel","value":true},{"label":"One-click Binding","type":"hasLabel","value":true},{"label":"Old widget version","type":"hasLabel","value":true},{"label":"Widget Discoverability","type":"hasLabel","value":true},{"label":"Switch Group Widget","type":"hasLabel","value":true},{"label":"Checkbox Group widget","type":"hasLabel","value":true},{"label":"Checkbox Widget","type":"hasLabel","value":true},{"label":"Table Inline Edit","type":"hasLabel","value":true},{"label":"Custom Widgets","type":"hasLabel","value":true}],"requires":1},"Javascript Product":{"conditions":[{"label":"JS Linting & Errors","type":"hasLabel","value":true},{"label":"Autocomplete","type":"hasLabel","value":true},{"label":"Evaluated Value","type":"hasLabel","value":true},{"label":"Slash Command","type":"hasLabel","value":true},{"label":"New JS Function","type":"hasLabel","value":true},{"label":"JS Usability","type":"hasLabel","value":true},{"label":"Framework Functions","type":"hasLabel","value":true},{"label":"JS Objects","type":"hasLabel","value":true},{"label":"JS Evaluation","type":"hasLabel","value":true},{"label":"Custom JS Libraries","type":"hasLabel","value":true},{"label":"Action Selector","type":"hasLabel","value":true},{"label":"Widget setter method","type":"hasLabel","value":true},{"label":"Entity Refactor","type":"hasLabel","value":true},{"label":"AST-frontend","type":"hasLabel","value":true},{"label":"Sniping Mode","type":"hasLabel","value":true},{"label":"AST-backend","type":"hasLabel","value":true}],"requires":1},"IDE Product":{"conditions":[{"label":"IDE Infra","type":"hasLabel","value":true},{"label":"IDE Navigation","type":"hasLabel","value":true},{"label":"IDE tabs","type":"hasLabel","value":true},{"label":"Omnibar","type":"hasLabel","value":true},{"label":"Entity Explorer","type":"hasLabel","value":true},{"label":"Page Management","type":"hasLabel","value":true},{"label":"Preview mode","type":"hasLabel","value":true}],"requires":1},"Accelerators Product":{"conditions":[{"label":"Generate Page","type":"hasLabel","value":true},{"label":"Building blocks","type":"hasLabel","value":true}],"requires":1},"Templates Product":{"conditions":[{"label":"Partial-import-export","type":"hasLabel","value":true}],"requires":1},"Design System Product":{"conditions":[{"label":"Design System Product","type":"hasLabel","value":true},{"label":"ADS Component Issue","type":"hasLabel","value":true},{"label":"Keyboard accessibility ","type":"hasLabel","value":true},{"label":"Toggle button","type":"hasLabel","value":true},{"label":"ADS Category Token","type":"hasLabel","value":true},{"label":"ADS Component Documentation","type":"hasLabel","value":true},{"label":"ADS Migration","type":"hasLabel","value":true},{"label":"ADS Deduplication ","type":"hasLabel","value":true},{"label":"ADS Revamp","type":"hasLabel","value":true},{"label":"ADS Deduplication","type":"hasLabel","value":true},{"label":"ADS Unit Test","type":"hasLabel","value":true},{"label":"ADS Components","type":"hasLabel","value":true},{"label":"ADS Grayscale","type":"hasLabel","value":true},{"label":"Design System","type":"hasLabel","value":true},{"label":"ADS Typography","type":"hasLabel","value":true},{"label":"ADS Visual Styles","type":"hasLabel","value":true},{"label":"ADS Component Design","type":"hasLabel","value":true},{"label":"Modal Component","type":"hasLabel","value":true},{"label":"ADS Spacing","type":"hasLabel","value":true},{"label":"ads unit test","type":"hasLabel","value":true},{"label":"ads revamp","type":"hasLabel","value":true},{"label":"ads deduplication","type":"hasLabel","value":true}],"requires":1},"RBAC Product":{"conditions":[{"label":"Invite users","type":"hasLabel","value":true}],"requires":1},"Workspace Product":{"conditions":[{"label":"Home Page","type":"hasLabel","value":true}],"requires":1},"Billing & Licensing Product":{"conditions":[{"label":"Customer Portal","type":"hasLabel","value":true},{"label":"Cloud Services","type":"hasLabel","value":true},{"label":"Billing","type":"hasLabel","value":true},{"label":"Self Serve","type":"hasLabel","value":true},{"label":"Enterprise Billing","type":"hasLabel","value":true},{"label":"Analytics Improvements","type":"hasLabel","value":true},{"label":"Self Serve 1.0","type":"hasLabel","value":true},{"label":"License","type":"hasLabel","value":true},{"label":"BE instance","type":"hasLabel","value":true},{"label":"Invite flow","type":"hasLabel","value":true},{"label":"CE Instance Usage","type":"hasLabel","value":true},{"label":"Feature Flagging","type":"hasLabel","value":true}],"requires":1},"Packages Product":{"conditions":[],"requires":1},"Environments Product":{"conditions":[],"requires":1},"UI Building Product":{"conditions":[{"label":"Property Pane","type":"hasLabel","value":true},{"label":"Copy Paste","type":"hasLabel","value":true},{"label":"Drag & Drop","type":"hasLabel","value":true},{"label":"Undo/Redo","type":"hasLabel","value":true},{"label":"Widgets Pane","type":"hasLabel","value":true},{"label":"UI Performance","type":"hasLabel","value":true},{"label":"Widget Grouping","type":"hasLabel","value":true},{"label":"Reflow & Resize","type":"hasLabel","value":true},{"label":"Canvas / Grid","type":"hasLabel","value":true},{"label":"Auto Height","type":"hasLabel","value":true},{"label":"Browser specific","type":"hasLabel","value":true},{"label":"Auto Layout","type":"hasLabel","value":true},{"label":"Fixed layout","type":"hasLabel","value":true},{"label":"App Navigation","type":"hasLabel","value":true}],"requires":1},"Onboarding Product":{"conditions":[{"label":"Welcome Screen","type":"hasLabel","value":true}],"requires":1},"Git Product":{"conditions":[{"label":"Git Auto-commit","type":"hasLabel","value":true},{"label":"Auto-commit","type":"hasLabel","value":true},{"label":"Continuous Deployment","type":"hasLabel","value":true},{"label":"Branch protection","type":"hasLabel","value":true},{"label":"Default branch","type":"hasLabel","value":true},{"label":"Git status","type":"hasLabel","value":true},{"label":"Git performance","type":"hasLabel","value":true},{"label":"SDLC","type":"hasLabel","value":true},{"label":"Git IA","type":"hasLabel","value":true}],"requires":1},"Embedding Apps Product":{"conditions":[],"requires":1},"Integrations Product":{"conditions":[{"label":"New Datasource","type":"hasLabel","value":true},{"label":"Firestore","type":"hasLabel","value":true},{"label":"Google Sheets","type":"hasLabel","value":true},{"label":"Mongo","type":"hasLabel","value":true},{"label":"Redshift","type":"hasLabel","value":true},{"label":"snowflake","type":"hasLabel","value":true},{"label":"S3","type":"hasLabel","value":true},{"label":"Redis","type":"hasLabel","value":true},{"label":"Postgres","type":"hasLabel","value":true},{"label":"GraphQL Plugin","type":"hasLabel","value":true},{"label":"ArangoDB","type":"hasLabel","value":true},{"label":"MsSQL","type":"hasLabel","value":true},{"label":"Elastic Search","type":"hasLabel","value":true},{"label":"OAuth","type":"hasLabel","value":true},{"label":"Airtable","type":"hasLabel","value":true},{"label":"CURL","type":"hasLabel","value":true},{"label":"DynamoDB","type":"hasLabel","value":true},{"label":"Zendesk","type":"hasLabel","value":true},{"label":"Hubspot","type":"hasLabel","value":true},{"label":"Query Forms","type":"hasLabel","value":true},{"label":"Twilio","type":"hasLabel","value":true},{"label":"MySQL","type":"hasLabel","value":true},{"label":"Connection pool","type":"hasLabel","value":true},{"label":"MariaDB","type":"hasLabel","value":true},{"label":"Integrations Pod General","type":"hasLabel","value":true},{"label":"SMTP plugin","type":"hasLabel","value":true},{"label":"Oracle SQL DB","type":"hasLabel","value":true},{"label":"Query filter","type":"hasLabel","value":true},{"label":"Activation - datasources","type":"hasLabel","value":true},{"label":"REST API","type":"hasLabel","value":true},{"label":"REST API","type":"hasLabel","value":true},{"label":"Datasources","type":"hasLabel","value":true},{"label":"REST API plugin","type":"hasLabel","value":true},{"label":"Prepared statements","type":"hasLabel","value":true},{"label":"Query Generation","type":"hasLabel","value":true},{"label":"Core Query Execution","type":"hasLabel","value":true},{"label":"Query Management","type":"hasLabel","value":true},{"label":"Query Settings","type":"hasLabel","value":true},{"label":"Query performance","type":"hasLabel","value":true},{"label":"Datatype issue","type":"hasLabel","value":true},{"label":"SmartSubstitution","type":"hasLabel","value":true},{"label":"Suggested Widgets","type":"hasLabel","value":true},{"label":"SAAS Plugins","type":"hasLabel","value":true},{"label":"Reconnect DS modal","type":"hasLabel","value":true},{"label":"OnPageLoad","type":"hasLabel","value":true},{"label":"File upload issues","type":"hasLabel","value":true},{"label":"AI","type":"hasLabel","value":true},{"label":"Appsmith AI","type":"hasLabel","value":true},{"label":"Database Schema","type":"hasLabel","value":true}],"requires":1},"Identity & Authentication Product":{"conditions":[{"label":"Login / Signup","type":"hasLabel","value":true},{"label":"SSO","type":"hasLabel","value":true},{"label":"SCIM","type":"hasLabel","value":true},{"label":"Email verification","type":"hasLabel","value":true}],"requires":1},"Artifact Platform Product":{"conditions":[{"label":"Fork App","type":"hasLabel","value":true},{"label":"Publish App","type":"hasLabel","value":true},{"label":"Secret Management","type":"hasLabel","value":true},{"label":"Import-Export-App","type":"hasLabel","value":true}],"requires":1},"DevOps Pod":{"conditions":[{"label":"Docker","type":"hasLabel","value":true},{"label":"Super Admin","type":"hasLabel","value":true},{"label":"Deployment","type":"hasLabel","value":true},{"label":"K8s","type":"hasLabel","value":true},{"label":"Email Config","type":"hasLabel","value":true},{"label":"Backup & Restore","type":"hasLabel","value":true},{"label":"AWS AMI","type":"hasLabel","value":true},{"label":"Observability","type":"hasLabel","value":true},{"label":"Heroku","type":"hasLabel","value":true},{"label":"New Deployment Mode","type":"hasLabel","value":true},{"label":"Supervisor","type":"hasLabel","value":true},{"label":"Deployment Certificates","type":"hasLabel","value":true},{"label":"Mock Data","type":"hasLabel","value":true},{"label":"AWS ECS","type":"hasLabel","value":true},{"label":"Ingress","type":"hasLabel","value":true},{"label":"Nginx","type":"hasLabel","value":true}],"requires":1},"Performance Pod":{"conditions":[{"label":"Performance","type":"hasLabel","value":true},{"label":"Performance infra","type":"hasLabel","value":true}],"requires":1},"Git Platform Pod":{"conditions":[{"label":"Environments Product","type":"hasLabel","value":true},{"label":"Git Product","type":"hasLabel","value":true},{"label":"Artifact Platform Product","type":"hasLabel","value":true}],"requires":1},"IDE Pod":{"conditions":[{"label":"Telemetry","type":"hasLabel","value":true},{"label":"i18n","type":"hasLabel","value":true},{"label":"IDE Product","type":"hasLabel","value":true},{"label":"App setting","type":"hasLabel","value":true},{"label":"Debugger Product","type":"hasLabel","value":true},{"label":"Embedding Apps Product","type":"hasLabel","value":true}],"requires":1},"Platform Administration Pod":{"conditions":[{"label":"Airgap","type":"hasLabel","value":true},{"label":"Enterprise Edition","type":"hasLabel","value":true},{"label":"Invite flow","type":"hasLabel","value":true},{"label":"User Profile","type":"hasLabel","value":true},{"label":"User Session ","type":"hasLabel","value":true},{"label":"User Session","type":"hasLabel","value":true},{"label":"Admin Settings Product","type":"hasLabel","value":true},{"label":"RBAC Product","type":"hasLabel","value":true},{"label":"Workspace Product","type":"hasLabel","value":true},{"label":"Branding Product","type":"hasLabel","value":true},{"label":"Audit Logs Product","type":"hasLabel","value":true},{"label":"Identity & Authentication Product","type":"hasLabel","value":true}],"requires":1},"DB Infrastructure Pod":{"conditions":[{"label":"Move to Postgres","type":"hasLabel","value":true}],"requires":1},"Widgets & Accelerators Pod":{"conditions":[{"label":"Accelerators Product","type":"hasLabel","value":true},{"label":"Templates Product","type":"hasLabel","value":true},{"label":"Widgets Product","type":"hasLabel","value":true},{"label":"App Theming Product","type":"hasLabel","value":true}],"requires":1},"Packages Pod":{"conditions":[{"label":"Module creator","type":"hasLabel","value":true},{"label":"Module consumer","type":"hasLabel","value":true},{"label":"Package versioning","type":"hasLabel","value":true},{"label":"Convert to module","type":"hasLabel","value":true},{"label":"Query module","type":"hasLabel","value":true},{"label":"JS module","type":"hasLabel","value":true},{"label":"UI module","type":"hasLabel","value":true},{"label":"Packages Pod","type":"hasLabel","value":true},{"label":"Packages Product","type":"hasLabel","value":true}],"requires":1},"User Education Pod":{"conditions":[{"label":"Documentation","type":"hasLabel","value":true}],"requires":1},"Workflows Pod":{"conditions":[{"label":"Workflows Product","type":"hasLabel","value":true}],"requires":1},"Query & JS Pod":{"conditions":[{"label":"Javascript Product","type":"hasLabel","value":true},{"label":"Onboarding Product","type":"hasLabel","value":true},{"label":"Integrations Product","type":"hasLabel","value":true}],"requires":1},"QA Pod":{"conditions":[{"label":"QA","type":"hasLabel","value":true},{"label":"Automation Test","type":"hasLabel","value":true},{"label":"TestGap","type":"hasLabel","value":true},{"label":"Automation failures","type":"hasLabel","value":true},{"label":"Needs automation","type":"hasLabel","value":true}],"requires":1},"Anvil POD":{"conditions":[{"label":"Checkbox Component","type":"hasLabel","value":true},{"label":"WDS team","type":"hasLabel","value":true},{"label":"Anvil POD","type":"hasLabel","value":true},{"label":"WDS - all widgets","type":"hasLabel","value":true},{"label":"WDS - input widget","type":"hasLabel","value":true},{"label":"WDS - paragraph widget","type":"hasLabel","value":true},{"label":"WDS - statbox widget","type":"hasLabel","value":true},{"label":"WDS - modal widget","type":"hasLabel","value":true},{"label":"WDS - icon widget","type":"hasLabel","value":true},{"label":"WDS - checkbox widget","type":"hasLabel","value":true},{"label":"WDS - table widget","type":"hasLabel","value":true},{"label":"WDS - keyValue widget","type":"hasLabel","value":true},{"label":"WDS - switch group widget","type":"hasLabel","value":true},{"label":"WDS - theming","type":"hasLabel","value":true},{"label":"Anvil layout","type":"hasLabel","value":true},{"label":"Anvil - theming","type":"hasLabel","value":true},{"label":"Anvil - vertical alignment","type":"hasLabel","value":true},{"label":"Anvil - layout component","type":"hasLabel","value":true},{"label":"Anvil - drag & drop","type":"hasLabel","value":true},{"label":"Anvil - zones & sections","type":"hasLabel","value":true},{"label":"Anvil - copy paste experience","type":"hasLabel","value":true},{"label":"WDS - phone widget","type":"hasLabel","value":true},{"label":"WDS - responsive widget","type":"hasLabel","value":true},{"label":"Anvil - responsive viewport","type":"hasLabel","value":true},{"label":"WDS - widget styling","type":"hasLabel","value":true},{"label":"Anvil - spacing","type":"hasLabel","value":true},{"label":"Anvil - responsive canvas","type":"hasLabel","value":true},{"label":"WDS - inline button widget","type":"hasLabel","value":true},{"label":"Anvil team","type":"hasLabel","value":true}],"requires":1},"Activation Pod":{"conditions":[{"label":"Activation","type":"hasLabel","value":true}],"requires":1},"Stability Pod":{"conditions":[{"label":"Stability Issue","type":"hasLabel","value":true},{"label":"cypress-flaky-fix","type":"hasLabel","value":true},{"label":"Cypress flaky tests","type":"hasLabel","value":true}],"requires":1}}},"root":"."}],"labels":{"Tab Widget":{"color":"e2c76c","name":"Tab Widget","description":""},"Dont merge":{"color":"ADB39C","name":"Dont merge","description":""},"Epic":{"color":"3E4B9E","name":"Epic","description":"A zenhub epic that describes a project"},"Menu Button Widget":{"color":"235708","name":"Menu Button Widget","description":"Issues related to Menu Button widget"},"Checkbox Group widget":{"color":"bbeecd","name":"Checkbox Group widget","description":"Issues related to Checkbox Group Widget"},"Input Widget":{"color":"ae65d8","name":"Input Widget","description":""},"Security":{"color":"99139C","name":"Security","description":""},"QA":{"color":"","name":"QA","description":"Needs QA attention"},"Verified":{"color":"9bf416","name":"Verified","description":""},"Wont Fix":{"color":"ffffff","name":"Wont Fix","description":"This will not be worked on"},"MySQL":{"color":"c9ddc6","name":"MySQL","description":"Issues related to MySQL plugin"},"Development":{"color":"9F8A02","name":"Development","description":""},"Help Wanted":{"color":"008672","name":"Help Wanted","description":"Extra attention is needed"},"Home Page":{"color":"","name":"Home Page","description":"Issues related to the application home page"},"Rating Widget":{"color":"235708","name":"Rating Widget","description":"Issues related to the rating widget"},"Stat Box Widget":{"color":"f1c9ce","name":"Stat Box Widget","description":"Issues related to stat box"},"Enhancement":{"color":"a2eeef","name":"Enhancement","description":"New feature or request"},"Fork App":{"color":"af87c7","name":"Fork App","description":"Issues related to forking apps"},"Container Widget":{"color":"19AD0D","name":"Container Widget","description":"Container widget"},"Papercut":{"color":"B562F6","name":"Papercut","description":""},"Needs Design":{"color":"bfd4f2","name":"Needs Design","description":"needs design or changes to design"},"i18n":{"color":"1799b0","name":"i18n","description":"Represents issues that need to be tackled to handle internationalization"},"Rich Text Editor Widget":{"color":"f72cac","name":"Rich Text Editor Widget","description":""},"skip-changelog":{"color":"06086F","name":"skip-changelog","description":"Adding this label to a PR prevents it from being listed in the changelog"},"Low":{"color":"79e53b","name":"Low","description":"An issue that is neither critical nor breaks a user flow"},"potential-duplicate":{"color":"d3cb2e","name":"potential-duplicate","description":"This label marks issues that are potential duplicates of already open issues"},"Audio Widget":{"color":"447B9A","name":"Audio Widget","description":"Issues related to Audio Widget"},"Firestore":{"color":"8078b0","name":"Firestore","description":"Issues related to the firestore Integration"},"New Widget":{"color":"be4cf2","name":"New Widget","description":"A request for a new widget"},"Modal Widget":{"color":"03846f","name":"Modal Widget","description":""},"UX Improvement":{"color":"f4a089","name":"UX Improvement","description":""},"S3":{"color":"8078b0","name":"S3","description":"Issues related to the S3 plugin"},"Release Blocker":{"color":"5756bf","name":"Release Blocker","description":"This issue must be resolved before the release"},"safari":{"color":"51C6AA","name":"safari","description":"Bugs seen on safari browser"},"Example Apps":{"color":"1799b0","name":"Example Apps","description":"Example apps created for new signups"},"MultiSelect Widget":{"color":"AB62D4","name":"MultiSelect Widget","description":"Issues related to MultiSelect Widget"},"Calendar Widget":{"color":"8c6644","name":"Calendar Widget","description":""},"Website":{"color":"151720","name":"Website","description":"Related to www.appsmith.com website"},"Low effort":{"color":"8B59F0","name":"Low effort","description":"Something that'll take a few days to build"},"Checkbox Widget":{"color":"bbeecd","name":"Checkbox Widget","description":""},"Spam":{"color":"620faf","name":"Spam","description":""},"Voice Recorder Widget":{"color":"85bc87","name":"Voice Recorder Widget","description":""},"Select Widget":{"color":"0c669e","name":"Select Widget","description":"Select or dropdown widget"},"Bug":{"color":"8ba6fd","name":"Bug","description":"Something isn't right"},"Widget Validation":{"color":"6990BC","name":"Widget Validation","description":"Issues related to widget property validation"},"Generate Page":{"color":"2b4664","name":"Generate Page","description":"Issures related to page generation"},"File Picker Widget":{"color":"6ae4f2","name":"File Picker Widget","description":""},"snowflake":{"color":"8078b0","name":"snowflake","description":"Issues related to the snowflake Integration"},"Automation":{"color":"CCAF60","name":"Automation","description":""},"hotfix":{"color":"BA3F1D","name":"hotfix","description":""},"Import-Export-App":{"color":"48883f","name":"Import-Export-App","description":"Issues related to importing and exporting apps"},"High effort":{"color":"A7E87B","name":"High effort","description":"Something that'll take more than a month to build"},"Telemetry":{"color":"bc70f9","name":"Telemetry","description":"Issues related to instrumenting appsmith"},"Radio Widget":{"color":"91ef15","name":"Radio Widget","description":""},"Omnibar":{"color":"1bb96a","name":"Omnibar","description":"Issues related to the omnibar for navigation"},"Button Widget":{"color":"34efae","name":"Button Widget","description":""},"Switch widget":{"color":"33A8CE","name":"Switch widget","description":"The switch widget"},"Map Widget":{"color":"7eef7a","name":"Map Widget","description":""},"Task":{"color":"085630","name":"Task","description":"A simple Todo"},"Design System":{"color":"2958a4","name":"Design System","description":"Design system"},"opera":{"color":"C63F5B","name":"opera","description":"Any issues identified on the opera browser"},"Login / Signup":{"color":"","name":"Login / Signup","description":"Authentication flows"},"Image Widget":{"color":"8de8ad","name":"Image Widget","description":""},"firefox":{"color":"6d56e2","name":"firefox","description":""},"Property Pane":{"color":"b356ff","name":"Property Pane","description":"Issues related to the behaviour of the property pane"},"Deployment":{"color":"93491f","name":"Deployment","description":"Installation process of appsmith"},"Production":{"color":"b60205","name":"Production","description":""},"Dependencies":{"color":"0366d6","name":"Dependencies","description":"Pull requests that update a dependency file"},"Google Sheets":{"color":"8078b0","name":"Google Sheets","description":"Issues related to Google Sheets"},"Icon Button Widget":{"color":"D319CE","name":"Icon Button Widget","description":"Issues related to the icon button widget"},"Mongo":{"color":"8078b0","name":"Mongo","description":"Issues related to Mongo DB plugin"},"Documentation":{"color":"a8dff7","name":"Documentation","description":"Improvements or additions to documentation"},"TestGap":{"color":"","name":"TestGap","description":"Issues identified for test plan improvement"},"keyboard shortcut":{"color":"0688B6","name":"keyboard shortcut","description":""},"Reopen":{"color":"897548","name":"Reopen","description":""},"Redshift":{"color":"8078b0","name":"Redshift","description":"Issues related to the redshift integration"},"Date Picker Widget":{"color":"ef1ce1","name":"Date Picker Widget","description":""},"Entity Explorer":{"color":"1bb96a","name":"Entity Explorer","description":"Issues related to navigation using the entity explorer"},"JS Linting & Errors":{"color":"E56AA5","name":"JS Linting & Errors","description":"Issues related to JS Linting and errors"},"iFrame":{"color":"3CD1DB","name":"iFrame","description":"Issues related to iFrame"},"Stale":{"color":"ededed","name":"Stale","description":null},"Text Widget":{"color":"d130d1","name":"Text Widget","description":""},"Video Widget":{"color":"23dd4b","name":"Video Widget","description":""},"Datasources":{"color":"3d590f","name":"Datasources","description":"Issues related to configuring datasource on appsmith"},"error":{"color":"B66773","name":"error","description":"All issues connected to error messages"},"Form Widget":{"color":"09ed77","name":"Form Widget","description":""},"Needs Triaging":{"color":"e8b851","name":"Needs Triaging","description":"Needs attention from maintainers to triage"},"Autocomplete":{"color":"235708","name":"Autocomplete","description":"Issues related to the autocomplete"},"hacktoberfest":{"color":"0052cc","name":"hacktoberfest","description":"All issues that can be solved by the community during Hacktoberfest"},"Medium effort":{"color":"D31156","name":"Medium effort","description":"Something that'll take more than a week but less than a month to build"},"Release":{"color":"57e5e0","name":"Release","description":""},"High":{"color":"c94d14","name":"High","description":"This issue blocks a user from building or impacts a lot of users"},"UI Performance":{"color":"1799b0","name":"UI Performance","description":"Issues related to UI performance"},"Deploy Preview":{"color":"bfdadc","name":"Deploy Preview","description":"Issues found in Deploy Preview"},"Needs Tests":{"color":"8ee263","name":"Needs Tests","description":"Needs automated tests to assert a feature/bug fix"},"Refactor":{"color":"B96662","name":"Refactor","description":"needs refactoring of code"},"Divider Widget":{"color":"235708","name":"Divider Widget","description":"Issues related to the divider widget"},"Table Widget":{"color":"2eead1","name":"Table Widget","description":""},"Needs More Info":{"color":"e54c10","name":"Needs More Info","description":"Needs additional information"},"Good First Issue":{"color":"7057ff","name":"Good First Issue","description":"Good for newcomers"},"UI Improvement":{"color":"9aeef4","name":"UI Improvement","description":""},"Backend":{"color":"d4c5f9","name":"Backend","description":"This marks the issue or pull request to reference server code"},"Frontend":{"color":"87c7f2","name":"Frontend","description":"This label marks the issue or pull request to reference client code"},"Chart Widget":{"color":"616ecc","name":"Chart Widget","description":""},"List Widget":{"color":"8508A0","name":"List Widget","description":"Issues related to the list widget"},"Duplicate":{"color":"cfd3d7","name":"Duplicate","description":"This issue or pull request already exists"},"JS Snippets":{"color":"8d62d2","name":"JS Snippets","description":"issues related to JS Snippets"},"Copy Paste":{"name":"Copy Paste","description":"Issues related to copy paste","color":"b4f0a9"},"Drag & Drop":{"name":"Drag & Drop","description":"Issues related to the drag & drop experience","color":"92115a"},"Sniping Mode":{"name":"Sniping Mode","description":"Issues related to sniping mode","color":"48883f"},"Redis":{"name":"Redis","description":"Issues related to Redis","color":"8078b0"},"New Datasource":{"color":"60b14c","name":"New Datasource","description":"Requests for new datasources"},"Evaluated Value":{"name":"Evaluated Value","description":"Issues related to evaluated values","color":"39f6e7"},"Undo/Redo":{"name":"Undo/Redo","description":"Issues related to undo/redo","color":"f25880"},"App Navigation":{"name":"App Navigation","description":"Issues related to the topbar navigation and configuring it","color":"4773ab"},"Widgets Pane":{"name":"Widgets Pane","description":"Issues related to the discovery and organisation of widgets","color":"ad5d78"},"View Mode":{"color":"1799b0","name":"View Mode","description":"Issues related to the view mode"},"User Education Pod":{"name":"User Education Pod","description":"Issues related to user education","color":"1799b0"},"Content":{"name":"Content","description":"For content related topics i.e blogs, templates, videos","color":"a8dff7"},"Slash Command":{"name":"Slash Command","description":"Issues related to the slash command","color":"a0608e"},"Widget Property":{"name":"Widget Property","description":"Issues related to adding / modifying widget properties across widgets","color":"5e92cb"},"Windows":{"name":"Windows","description":"Issues related exclusively to Windows systems","color":"b4cb8a"},"Old App Issues":{"name":"Old App Issues","description":"Issues related to apps old apps a few weeks old and app issues in stale browser session","color":"87ab18"},"Document Viewer Widget":{"name":"Document Viewer Widget","description":"Issues related to Document Viewer Widget","color":"899d4b"},"Radio Group Widget":{"name":"Radio Group Widget","description":"Issues related to radio group widget","color":"b68495"},"Super Admin":{"name":"Super Admin","description":"Issues related to the super admin page","color":"aa95cf"},"Postgres":{"name":"Postgres","description":"Postgres related issues","color":"8078b0"},"New JS Function":{"name":"New JS Function","description":"Issues related to adding a JS Function","color":"8e8aa4"},"Cannot Reproduce Issue":{"color":"93c9cc","name":"Cannot Reproduce Issue","description":"Issues that cannot be reproduced"},"Widget Grouping":{"name":"Widget Grouping","description":"Issues related to Widget Grouping","color":"a49951"},"K8s":{"name":"K8s","description":"Kubernetes related issues","color":"5f318a"},"Docker":{"name":"Docker","description":"Issues related to docker","color":"89b808"},"Camera Widget":{"name":"Camera Widget","description":"Issues and enhancements related to camera widget","color":"e6038e"},"SAAS Plugins":{"name":"SAAS Plugins","description":"Issues related to SAAS Plugins","color":"80e18f"},"JS Promises":{"name":"JS Promises","description":"Issues related to promises","color":"d7771f"},"OnPageLoad":{"name":"OnPageLoad","description":"OnPageLoad issues on functions and queries","color":"2b4664"},"JS Usability":{"name":"JS Usability","description":"usability issues with JS editor and JS elsewhere","color":"a302b0"},"Currency Input Widget":{"name":"Currency Input Widget","description":"Issues related to currency input widget","color":"b2164f"},"TreeSelect":{"name":"TreeSelect","description":"Issues related to TreeSelect Widget","color":"a1633e"},"MultiTree Select Widget":{"name":"MultiTree Select Widget","description":"Issues related to MultiTree Select Widget","color":"a1633e"},"Welcome Screen":{"name":"Welcome Screen","description":"Issues related to the welcome screen","color":"48883f"},"Realtime Commenting":{"color":"a70b86","name":"Realtime Commenting","description":"In-app communication between teams"},"Phone Input Widget":{"name":"Phone Input Widget","description":"Issues related to the Phone Input widget","color":"a70b86"},"JSON Form":{"name":"JSON Form","description":"Issue / features related to the JSON form wiget","color":"46b209"},"All Widgets":{"name":"All Widgets","description":"Issues related to all widgets","color":"972b36"},"V1":{"name":"V1","description":"V1","color":"67ab2e"},"Reflow & Resize":{"name":"Reflow & Resize","description":"All issues related to reflow and resize experience","color":"748a13"},"SSO":{"name":"SSO","description":"Issues, requests and enhancements around Single sign-on.","color":""},"Multi User Realtime":{"name":"Multi User Realtime","description":"Issues related to multiple users using or editing an application","color":"e7b6ce"},"Ready for design":{"name":"Ready for design","description":"this issue is ready for design: it contains clear problem statements and other required information","color":"ebf442"},"Support":{"name":"Support","description":"Issues created by the A-force team to address user queries","color":"1740f3"},"Button Group widget":{"name":"Button Group widget","description":"Issue and enhancements related to the button group widget","color":"f17025"},"GraphQL Plugin":{"name":"GraphQL Plugin","description":"Issues related to GraphQL plugin","color":"8078b0"},"DevOps Pod":{"name":"DevOps Pod","description":"Issues related to devops","color":"d956c7"},"medium":{"name":"medium","description":"Issues that frustrate users due to poor UX","color":"23dfd9"},"ArangoDB":{"name":"ArangoDB","description":"Issues related to arangoDB","color":"8078b0"},"Code Refactoring":{"name":"Code Refactoring","description":"Issues related to code refactoring","color":"76310e"},"Progress bar widget":{"name":"Progress bar widget","description":"To track issues related to progress bar","color":"2d7abf"},"Audio Recorder Widget":{"name":"Audio Recorder Widget","description":"Issues related to Audio Recorder Widget","color":"9accef"},"Airtable":{"name":"Airtable","description":"Issues for Airtable","color":"60885f"},"Canvas / Grid":{"name":"Canvas / Grid","description":"Issues related to the canvas","color":"16b092"},"Email Config":{"name":"Email Config","description":"Issues related to configuring the email service","color":"2a21d1"},"CURL":{"name":"CURL","description":"Issues related to CURL impor","color":"60885f"},"Canvas Zooms":{"name":"Canvas Zooms","description":"Issues related to zooming the canvas","color":"e6038e"},"business":{"name":"business","description":"Features that will be a part of our business edition","color":"cd59eb"},"Action Pod":{"name":"Action Pod","description":"","color":"ee2e36"},"AutomationGap1":{"color":"a5e07c","name":"AutomationGap1","description":"Issues that needs automated tests"},"A-Force11":{"name":"A-Force11","description":"Issues raised by A-Force team","color":"d667b6"},"Business Edition":{"name":"Business Edition","description":"Features that will be a part of our business edition","color":"89bb6c"},"storeValue":{"name":"storeValue","description":"Issues related to the store value function","color":"5d3e66"},"DynamoDB":{"name":"DynamoDB","description":"Issues that are related to DynamoDB should have this label","color":"60885f"},"Backup & Restore":{"name":"Backup & Restore","description":"Issues related to backup and restore","color":"86874d"},"Billing":{"name":"Billing","description":"Billing infrastructure and flows for Business Edition and Trial users","color":"d2bc40"},"Datatype issue":{"name":"Datatype issue","description":"Issues that have risen because data types weren't handled","color":"cef66b"},"OAuth":{"name":"OAuth","description":"OAuth related bugs or features","color":"60885f"},"Table Widget V2":{"name":"Table Widget V2","description":"Issues related to Table Widget V2","color":"3a7192"},"IDE Navigation":{"name":"IDE Navigation","description":"Issues/feature requests related to IDE navigation, and context switching","color":"1bb96a"},"Query performance":{"name":"Query performance","description":"Issues that have to do with lack in performance of query execution","color":"cef66b"},"SAAS Manager App":{"name":"SAAS Manager App","description":"Issues with the SAAS manager app","color":"d427db"},"Twilio":{"name":"Twilio","description":"Issues related to Twilio integration","color":"23ba8d"},"Hubspot":{"name":"Hubspot","description":"Issues related to Hubspot integration","color":"60885f"},"Zendesk":{"name":"Zendesk","description":"Issues related to Zendesk integration","color":"60885f"},"Entity Refactor":{"name":"Entity Refactor","description":"Issues related to refactor logic","color":"705a2c"},"Map Chart Widget":{"name":"Map Chart Widget","description":"Issues related to Map Chart Widgets","color":"c8397f"},"Product Catchup":{"name":"Product Catchup","description":"Issues created in the product catchup","color":"29cd2c"},"Framework Functions":{"name":"Framework Functions","description":"Issues related to internal functions like showAlert(), navigateTo() etc...","color":"c25a09"},"Frontend Libraries Upgrade":{"name":"Frontend Libraries Upgrade","description":"Issues related to frontend libraries upgrade","color":"ede1fc"},"MsSQL":{"name":"MsSQL","description":"Issues related to MsSQL plugin","color":"8078b0"},"Elastic Search":{"name":"Elastic Search","description":"Issues related to the elastic search datasource","color":"8078b0"},"Core Query Execution":{"color":"cef66b","name":"Core Query Execution","description":"Issues related to the execution of all queries"},"Query Management":{"name":"Query Management","description":"Issues related to the CRUD of actions or queries","color":"cef66b"},"Query Settings":{"name":"Query Settings","description":"Issues related to the settings of all queries","color":"cef66b"},"Code Editor":{"name":"Code Editor","description":"Issues related to the code editor","color":"4ca16e"},"Query Forms":{"color":"12b253","name":"Query Forms","description":"Isuses related to the query forms"},"JS Objects":{"color":"22962c","name":"JS Objects","description":"Issues related to JS Objects"},"JS Evaluation":{"color":"22962c","name":"JS Evaluation","description":"Issues related to JS evaluation on the platform"},"SmartSubstitution":{"name":"SmartSubstitution","description":"Issues related to Smart substitution of mustache bindings in queries","color":"bae511"},"Query Generation":{"name":"Query Generation","description":"Issues related to query generation","color":"cef66b"},"Suggested Widgets":{"name":"Suggested Widgets","description":"Issues related to suggesting widgets based on query response","color":"6ac063"},"Code Scanner Widget":{"name":"Code Scanner Widget","description":"Issues related to code scanner widget","color":"9bc1a0"},"Clean URLs":{"name":"Clean URLs","description":"Issues related to clean URLs epic","color":"112623"},"Widget keyboard accessibility":{"name":"Widget keyboard accessibility","description":"All issues related to keyboard accessibility in widgets","color":"b626fd"},"Connection pool":{"name":"Connection pool","description":"issues to do with connection pooling of various plugins","color":"94fe36"},"List Widget V2":{"name":"List Widget V2","description":"Issues related to the list widget v2","color":"adaaf7"},"Auto Height":{"name":"Auto Height","description":"Issues related to dynamic height of widgets","color":"5149cf"},"cypress_failed_test":{"name":"cypress_failed_test","description":"Cypress failed tests","color":"4745d5"},"Needs validation":{"name":"Needs validation","description":"Needs problem validation before being picked up","color":"66673d"},"Slider Widget":{"name":"Slider Widget","description":"Issues raised for slider widgets.","color":"2eef5f"},"Multitenancy":{"name":"Multitenancy","description":"Support multitenancy within single appsmith instance","color":"8c49a9"},"Conversion Algorithm":{"name":"Conversion Algorithm","description":"All issue related to converting app from fixed to flex mode & vice versa","color":"d12d2e"},"Browser specific":{"name":"Browser specific","description":"All issue related to browser","color":"d12d2e"},"Performance infra":{"name":"Performance infra","description":"all issue related to the performance infra","color":"8a60f6"},"DSL Update":{"name":"DSL Update","description":"Issues related to storing and updating the DSL","color":"e16cf3"},"AST-frontend":{"name":"AST-frontend","description":"Issues related to maintaining AST logic","color":"2b4664"},"AST-backend":{"name":"AST-backend","description":"Backend issues related to AST parsing","color":"48883f"},"MariaDB":{"name":"MariaDB","description":"MariaDB datasource","color":"8428c3"},"ADS Component Issue":{"name":"ADS Component Issue","description":"Issues which are caused due to ADS components","color":"d89119"},"Regressed":{"color":"723fd0","name":"Regressed","description":"Scenarios that were working before but have now regressed"},"Needs RCA":{"name":"Needs RCA","description":"a critical or high priority issue that needs an RCA","color":"2cc68f"},"Custom JS Libraries":{"name":"Custom JS Libraries","description":"Issues related to adding custom JS library","color":"bacb6d"},"Integrations Pod General":{"name":"Integrations Pod General","description":"Issues related to the Integrations Pod that don't fit into other tags.","color":"287823"},"Performance Pod":{"name":"Performance Pod","description":"All things related to Appsmith performance","color":"b5a25d"},"Performance":{"name":"Performance","description":"Issues related to performance","color":"9a18d7"},"File upload issues":{"name":"File upload issues","description":"Issues related to uploading any type of files from within Appsmith","color":"2b4664"},"Action Selector":{"name":"Action Selector","description":"Issues related to action selector on the property pane","color":"2f9e20"},"Community Reported":{"name":"Community Reported","description":"issues reported by community members","color":"1402e5"},"JS Function execution":{"name":"JS Function execution","description":"JS function execution","color":"7c2de1"},"Self Serve":{"name":"Self Serve","description":"For all issues related to self-serve flow for business edition","color":"4dacfc"},"Self Serve 1.0":{"name":"Self Serve 1.0","description":"For all issues related to v1 of the self serve project","color":"ae839e"},"Customer Portal":{"name":"Customer Portal","description":"For all tasks/issues pertaining to customer.appsmith.com","color":"d2bc40"},"Cloud Services":{"name":"Cloud Services","description":"For all tasks/issues on Appsmith cloud-services relating to licensing, usage and billing","color":"d2bc40"},"One-click Binding":{"name":"One-click Binding","description":"Issues related to the One click binding epic","color":"f1661c"},"Airgap":{"name":"Airgap","description":"Tickets related to supporting air-gapped Appsmith instances","color":"1cb294"},"SMTP plugin":{"name":"SMTP plugin","description":"Issues related to SMTP plugin","color":"541457"},"AWS AMI":{"name":"AWS AMI","description":"Issues Related to AWS AMI","color":"b44680"},"Old widget version":{"name":"Old widget version","description":"Use this label to raise issue specific only to an older version of a widget","color":"ff3814"},"Enterprise Billing":{"name":"Enterprise Billing","description":"To track all tasks/issues related to licensing & billing for enterprise customers","color":"14c156"},"Oracle SQL DB":{"name":"Oracle SQL DB","description":"Issues related to the Oracle plugin","color":"cbabcb"},"Community Contributor":{"name":"Community Contributor","description":"Meant to track issues that are assigned to external contributors","color":"149ab6"},"widget vertical alignment":{"name":"widget vertical alignment","description":"All issue related widget vertical alignment on the auto layout canvas","color":"d12d2e"},"Observability":{"name":"Observability","description":"Issues related to observability on the Appsmith instance","color":"dff913"},"Checkbox Component":{"name":"Checkbox Component","description":"This labels deals with checkbox component in wds package","color":"75a401"},"Analytics Improvements":{"name":"Analytics Improvements","description":"For all tasks focused on improving our overall analytics and fixing any issues ","color":"29b8ed"},"WDS team":{"name":"WDS team","description":"","color":"8d675a"},"Enterprise Edition":{"name":"Enterprise Edition","description":"Features that will be supported in Enterprise Edition only","color":"984f5e"},"Query filter":{"name":"Query filter","description":"Issues related to query filtering, e.g., WHERE clause","color":"a15134"},"Keyboard accessibility ":{"name":"Keyboard accessibility ","description":"All issue related to ADS component keyboard accessibility","color":"2ba696"},"Toggle button":{"name":"Toggle button","description":"All issue related to ADS toggle button","color":"edc47f"},"SCIM":{"name":"SCIM","description":"Label to collate our SCIM issues","color":"48883f"},"ADS Category Token":{"name":"ADS Category Token","description":"All issues related appsmith design system category tokens","color":"920961"},"ADS Component Documentation":{"name":"ADS Component Documentation","description":"All issues Appsmith design system component documentation","color":"64c46a"},"ADS Migration":{"name":"ADS Migration","description":"All issues related to Appsmith design system migration","color":"b082d6"},"ADS Deduplication ":{"name":"ADS Deduplication ","description":"Replacing component with ADS components","color":"b082d6"},"ADS Revamp":{"name":"ADS Revamp","description":"All issues related to ads revamp. ","color":"b082d6"},"ADS Deduplication":{"name":"ADS Deduplication","description":"Replacing component with ADS components","color":"b082d6"},"ADS Grayscale":{"name":"ADS Grayscale","description":"Support grayscale color changes","color":"b03577"},"ADS Unit Test":{"name":"ADS Unit Test","description":"All issue related ads unit cases ","color":"b082d6"},"ADS Components":{"name":"ADS Components","description":"All issues related ADS components","color":"b082d6"},"Widget Discoverability":{"name":"Widget Discoverability","description":"Issues related to Widget Discoverability","color":"7b55ce"},"Widget setter method":{"name":"Widget setter method","description":"Issues with widget property setters","color":"8dce87"},"License":{"name":"License","description":"For all issues/tasks related to licensing of appsmith-ee edition","color":"90ee98"},"Platformization":{"name":"Platformization","description":"Issues or tasks related to platformization of Appsmith codebase","color":"4e972b"},"Activation - datasources":{"name":"Activation - datasources","description":"issues related to activation projects","color":"7c7ace"},"Partial-import-export":{"name":"Partial-import-export","description":"Label for granular reusability.","color":"717732"},"AI":{"name":"AI","description":"All tasks related to AI","color":"2b4664"},"ADS Typography":{"name":"ADS Typography","description":"All issue related typographical changes","color":"2dbe8d"},"Auto Layout":{"name":"Auto Layout","description":"Issues relates to auto layout","color":"92cf8c"},"Heroku":{"name":"Heroku","description":"Issues related to Heroku","color":"a81b69"},"ADS Visual Styles":{"name":"ADS Visual Styles","description":"All issues related to ADS visual styles","color":"d3da89"},"ADS Component Design":{"name":"ADS Component Design","description":"All issue related to component design","color":"5cc91e"},"Modal Component":{"name":"Modal Component","description":"All issue related to ads modal component","color":"ee63f3"},"App setting":{"name":"App setting","description":"Related to app settings panel within the app","color":"174f98"},"BE instance":{"name":"BE instance","description":"For all issues related to license, billing on BE instance","color":"ae8f98"},"Fixed layout":{"name":"Fixed layout","description":"issues related to fixed layout","color":"b66681"},"Anvil layout":{"name":"Anvil layout","description":"issues related to the new layout system anvil","color":"5e0904"},"New Deployment Mode":{"name":"New Deployment Mode","description":"Support a new mode of deployment","color":"108033"},"Custom widgets":{"name":"Custom widgets","description":"For all issues related to the custom widget project","color":"c9db9c"},"Homepage Experience V2":{"name":"Homepage Experience V2","description":"Label for reporting new tasks and bug fixes related to revamped homepage experience","color":"c55d54"},"Customer Success":{"name":"Customer Success","description":"Issues that the success team cares about","color":"6ccabd"},"Invite flow":{"name":"Invite flow","description":"Invite users flow and any associated actions","color":"881b35"},"Invite users":{"name":"Invite users","description":"Invite users flow and any associated actions","color":""},"Workflows Pod":{"name":"Workflows Pod","description":"Issues that the workflows team owns","color":"446925"},"DailyPromotionBlocker":{"name":"DailyPromotionBlocker","description":"DailyPromotion Blocker","color":"9b2280"},"JS Binding":{"name":"JS Binding","description":"All issues related to the JS Binding experience","color":"422fed"},"REST API":{"name":"REST API","description":"REST API plugin related issues","color":"e3ede5"},"Critical":{"color":"a1e3db","name":"Critical","description":"This issue breaks existing apps. Drop everything else to resolve"},"Module creator":{"name":"Module creator","description":"Issues related to the module creator side","color":"bb2c05"},"Module consumer":{"name":"Module consumer","description":"Issues related to the module consumer side","color":"83d3c5"},"Package versioning":{"name":"Package versioning","description":"ISsues related to how we manage versions for packages","color":"4c5218"},"Convert to module":{"name":"Convert to module","description":"Issues related to the module creation flow using conversion","color":"4c5218"},"Query module":{"name":"Query module","description":"Issues affecting query modules or its instances","color":"b11a7e"},"JS module":{"name":"JS module","description":"Issues affecting JS modules or its instances","color":"bf76f6"},"Secret Management":{"name":"Secret Management","description":"Issues related to secret management","color":"2b4664"},"REST API plugin":{"name":"REST API plugin","description":"REST API plugin related issues","color":"b5948a"},"UI module":{"name":"UI module","description":"Issues affecting UI modules or its instances","color":"d2acee"},"Preview mode":{"name":"Preview mode","description":"Issues related to app previews","color":"48883f"},"Git Auto-commit":{"name":"Git Auto-commit","description":"Issues related to autocommit","color":"717732"},"QA Pod":{"name":"QA Pod","description":"Issues under the QA Pod","color":"717732"},"Automation Test":{"name":"Automation Test","description":"","color":""},"Automation failures":{"name":"Automation failures","description":"","color":""},"Needs automation":{"name":"Needs automation","description":"Issues that needs automated tests","color":""},"Prepared statements":{"name":"Prepared statements","description":"Issues related to prepared statement flow","color":""},"Switch Group Widget":{"name":"Switch Group Widget","description":"Issues related to Switch group Widget","color":""},"Supervisor":{"name":"Supervisor","description":"Issues related to supervisor","color":"2c5813"},"Deployment Certificates":{"name":"Deployment Certificates","description":"Issues related to lets encrypt","color":"e148aa"},"Mock Data":{"name":"Mock Data","description":"Issues related to mock databases","color":"ebf251"},"AWS ECS":{"name":"AWS ECS","description":"Issues related to ECS Fargate","color":"e506ff"},"Publish App":{"name":"Publish App","description":"Issues related to app deployment","color":"2b4664"},"IDE Infra":{"name":"IDE Infra","description":"Issues related to the IDE infrastructure like saving changes","color":"1bb96a"},"User Profile":{"name":"User Profile","description":"Issues related to a user profile","color":"a60d34"},"Page Management":{"color":"1bb96a","name":"Page Management","description":"Issues related to configuring pages"},"Ingress":{"name":"Ingress","description":"Ingress Controller","color":"a86802"},"Nginx":{"name":"Nginx","description":"Issues related to Nginx","color":"e54195"},"Building blocks":{"name":"Building blocks","description":"Building blocks on cavas, on templates listing or drag and drop of building blocks.","color":"48883f"},"Table Inline Edit":{"name":"Table Inline Edit","description":"Issues related to inline editing","color":"60895a"},"User Session ":{"name":"User Session ","description":"For all issues/tasks related to user sessions","color":"65a3f5"},"WDS - all widgets":{"name":"WDS - all widgets","description":"all widget present in WDS","color":"2670ae"},"WDS - input widget":{"name":"WDS - input widget","description":"Issues related to input widget on WDS","color":"2670ae"},"WDS - paragraph widget":{"name":"WDS - paragraph widget","description":"issues related to paragraph widget on WDS","color":"2670ae"},"WDS - statbox widget":{"name":"WDS - statbox widget","description":"issues related to statbox widget on WDS","color":"2670ae"},"WDS - modal widget":{"name":"WDS - modal widget","description":"Issues related to modal widget on WDS","color":"2670ae"},"WDS - icon widget":{"name":"WDS - icon widget","description":"Issues related to icon widget on WDS","color":"2670ae"},"WDS - checkbox widget":{"name":"WDS - checkbox widget","description":"Issues related to checkbox widget on WDS","color":"2670ae"},"WDS - table widget":{"name":"WDS - table widget","description":"Issues related to table widget on WDS","color":"2670ae"},"WDS - keyValue widget":{"name":"WDS - keyValue widget","description":"Issues related to key-value widget on WDS","color":"2670ae"},"WDS - switch group widget":{"name":"WDS - switch group widget","description":"Issues related to switch group widget on WDS","color":"2670ae"},"WDS - theming":{"name":"WDS - theming","description":"Issues related to theming on the Anvil instance","color":"2670ae"},"Anvil POD":{"name":"Anvil POD","description":"Issue related to Anvil project","color":"5e0904"},"Anvil - theming":{"name":"Anvil - theming","description":"Issues related to theming on the Anvil instance","color":"c28de5"},"Anvil - vertical alignment":{"name":"Anvil - vertical alignment","description":"Issues related to vertical alignment on the Anvil layout","color":"c28de5"},"Anvil - layout component":{"name":"Anvil - layout component","description":"Issues related to layout component on the Anvil layout","color":"c28de5"},"Anvil - drag & drop":{"name":"Anvil - drag & drop","description":"Issues related to drag & drop experience on Anvil","color":"c28de5"},"Anvil - zones & sections":{"name":"Anvil - zones & sections","description":"Issues related to zones and sections on the Anvil layout","color":"c28de5"},"Anvil - copy paste experience":{"name":"Anvil - copy paste experience","description":"Issues related to copy paste experience on the Anvil layout","color":"c28de5"},"WDS - phone widget":{"name":"WDS - phone widget","description":"Issues related to phone widget on WDS","color":"c28de5"},"WDS - responsive widget":{"name":"WDS - responsive widget","description":"All issues related to widget responsiveness","color":"11ee05"},"Anvil - responsive viewport":{"color":"11ee05","name":"Anvil - responsive viewport","description":"Issues seen on different viewports like mobile"},"WDS - widget styling":{"color":"11ee05","name":"WDS - widget styling","description":"all about widget styling"},"Anvil - spacing":{"name":"Anvil - spacing","description":"Related to spacing between widgets in auto layout","color":"11ee05"},"Anvil - responsive canvas":{"name":"Anvil - responsive canvas","description":"All issues related to canvas responsiveness","color":"11ee05"},"WDS - inline button widget":{"name":"WDS - inline button widget","description":"Issues related to inline button widget on WDS","color":"7cef83"},"Activation Pod":{"name":"Activation Pod","description":"for Activation group","color":"d67d00"},"Activation":{"name":"Activation","description":"for Activation group","color":"d67d00"},"Tests":{"name":"Tests","description":"Test issues","color":"4fc7b6"},"Ballpark: XXS":{"name":"Ballpark: XXS","description":"~1xDev in 1/2xSprint","color":""},"Ballpark: XS":{"name":"Ballpark: XS","description":"~1xDev in 1xSprint","color":"53bf71"},"Ballpark: S":{"name":"Ballpark: S","description":"~2xDev in 1xSprint","color":"6e9e65"},"Ballpark: M":{"name":"Ballpark: M","description":"~1xPOD in 1xSprint","color":"2229e6"},"Ballpark: L":{"name":"Ballpark: L","description":"~1xPOD in 3xSprint or 2xPODs in 1xSprint","color":"49962f"},"Ballpark: XL":{"name":"Ballpark: XL","description":"~1xPOD in 1xQuarter or 2xPODs in 2xSprint","color":"b524c9"},"Ballpark: XXL":{"name":"Ballpark: XXL","description":"~2xPODs in 1xQuarter","color":"22092c"},"Auto-commit":{"name":"Auto-commit","description":"Issues related to auto-generated commits showing up on git ","color":"e25b89"},"Continuous Deployment":{"name":"Continuous Deployment","description":"Issues related to CD pipeline on git","color":"aea47c"},"Branch protection":{"name":"Branch protection","description":"Issues related to using a protected branch on git","color":"ab511a"},"Default branch":{"name":"Default branch","description":"Issues related to using a default branch on git","color":"195737"},"Git status":{"name":"Git status","description":"Issues related to information shown on git status modal or number of changes appearing in a branch","color":"c851b8"},"Git performance":{"name":"Git performance","description":"Issues related to perceived performance on any git operation","color":"189af6"},"Anvil team":{"name":"Anvil team","description":"issues related to the new layout system anvil","color":"798200"},"SDLC":{"name":"SDLC","description":"Issues related to software development lifecycle experiences","color":"bae511"},"Reconnect DS modal":{"name":"Reconnect DS modal","description":"Issues related to reconnect datasource modal post app import","color":"2e398b"},"Stability Pod":{"name":"Stability Pod","description":"For all issues/tasks to be prioritized under Stability pod","color":"86ddf6"},"Stability Issue":{"name":"Stability Issue","description":"Every issue handle by Stability Pod","color":"4d024a"},"Move to Postgres":{"name":"Move to Postgres","description":"Issues required to be solved for the move to Postgres as repository layer","color":"4e13ac"},"User Session":{"name":"User Session","description":"Issues related to user sessions","color":"8255e5"},"IDE tabs":{"name":"IDE tabs","description":"query and js tabs","color":"1bb96a"},"Inviting Contribution":{"name":"Inviting Contribution","description":"Issues that we would like contributions to","color":""},"cypress-flaky-fix":{"name":"cypress-flaky-fix","description":"This label is auto-added when a PR which only has Cypress fixes are merged to release","color":"722cbc"},"Cypress flaky tests":{"name":"Cypress flaky tests","description":"Test scripts that need to be fixed on Cypress by dev or SDET","color":"722cbc"},"Help enterprise":{"name":"Help enterprise","description":"Requested by Appsmith customers or prospects","color":"FF8C00"},"Learnability":{"name":"Learnability","description":"Issues affecting the product learnability, making the product harder for new users.","color":"800c2f"},"ADS Spacing":{"name":"ADS Spacing","description":"","color":"686ebb"},"ads unit test":{"name":"ads unit test","description":"All issue related ads unit cases","color":"686ebb"},"ads revamp":{"name":"ads revamp","description":"All issues related to ads revamp.","color":"686ebb"},"Javascript Product":{"color":"709a21","name":"Javascript Product","description":"Issues related to users writing javascript in appsmith"},"IDE Product":{"color":"1bb96a","name":"IDE Product","description":"Issues related to the IDE Product"},"IDE Pod":{"color":"1bb96a","name":"IDE Pod","description":"Issues that new developers face while exploring the IDE"},"Accelerators Product":{"name":"Accelerators Product","description":"Issues related to app building accelerators","color":"f3fce6"},"Templates Product":{"name":"Templates Product","description":"Issues related to Templates","color":"f3fce6"},"Design System Product":{"name":"Design System Product","description":"Appsmith design system related issues","color":"2b4664"},"ads deduplication":{"name":"ads deduplication","description":"Replacing component with ADS components","color":"708943"},"Admin Settings Product":{"color":"708943","name":"Admin Settings Product","description":"Issues in admin settings pages"},"Appsmith AI":{"name":"Appsmith AI","description":"All issues related to the Appsmith AI datasource","color":"708943"},"Query & JS Pod":{"color":"709a21","name":"Query & JS Pod","description":"Issues related to the query & JS Pod"},"RBAC Product":{"name":"RBAC Product","description":"Issues, requests and enhancements around RBAC.","color":""},"Workspace Product":{"name":"Workspace Product","description":"Issues related to workspaces","color":""},"CE Instance Usage":{"name":"CE Instance Usage","description":"For all issues relating to usage, licensing or billing on the CE instance","color":""},"Billing & Licensing Product":{"name":"Billing & Licensing Product","description":"Issues pertaining to licensing, billing and usage across self serve and enterprise customers","color":"446925"},"Platform Administration Pod":{"color":"446925","name":"Platform Administration Pod","description":"Issues related to platform administration & management"},"DB Infrastructure Pod":{"name":"DB Infrastructure Pod","description":"Pod to handle database infrastructure","color":"446925"},"Packages Product":{"name":"Packages Product","description":"Issues related to packages","color":"446925"},"Workflows Product":{"name":"Workflows Product","description":"Issues related to the workflows product","color":"446925"},"Debugger Product":{"color":"857f58","name":"Debugger Product","description":"Issues related to the debugger"},"Packages Pod":{"name":"Packages Pod","description":"issues that belong to the packages pod","color":"857f58"},"Environments Product":{"name":"Environments Product","description":"Issues related to datasource environments","color":"857f58"},"Custom Widgets":{"name":"Custom Widgets","description":"For all issues related to the custom widget project","color":"857f58"},"Branding Product":{"name":"Branding Product","description":"All issues under branding and whitelabelling appsmith ecosystem","color":"857f58"},"Widgets & Accelerators Pod":{"name":"Widgets & Accelerators Pod","description":"Issues related to widgets & Accelerators","color":"27496a"},"Widgets Product":{"name":"Widgets Product","description":"This label groups issues related to widgets","color":"f3fce6"},"App Theming Product":{"name":"App Theming Product","description":"Items that are related to the App level theming controls epic","color":"48883f"},"UI Building Product":{"color":"48883f","name":"UI Building Product","description":"Issues related to the UI Building experience"},"Onboarding Product":{"color":"48883f","name":"Onboarding Product","description":"Issues related to onboarding new developers"},"Database Schema":{"name":"Database Schema","description":"Issues related to database schema","color":"48883f"},"Git Product":{"color":"48883f","name":"Git Product","description":"Issues related to version control product"},"Git Platform Pod":{"name":"Git Platform Pod","description":"Issues related to the git & the app platform ","color":"48883f"},"Embedding Apps Product":{"name":"Embedding Apps Product","description":"Issues related to embedding","color":"48883f"},"Integrations Product":{"name":"Integrations Product","description":"Issues related to a specific integration","color":"b9f21c"},"Feature Flagging":{"name":"Feature Flagging","description":"Anything related feature flagging","color":"4574ae"},"Audit Logs Product":{"name":"Audit Logs Product","description":"Audit trails to ensure data security","color":"4574ae"},"Identity & Authentication Product":{"name":"Identity & Authentication Product","description":"Issues related to user identity & authentication","color":"4574ae"},"Email verification":{"name":"Email verification","description":"Email verification issues","color":"4574ae"},"Artifact Platform Product":{"name":"Artifact Platform Product","description":"Issues related to the application platform","color":"4574ae"},"Git IA":{"name":"Git IA","description":"Issues related to Git IA changes","color":"df8bd6"}},"success":true} \ No newline at end of file diff --git a/.github/workflows/build-client-server-count.yml b/.github/workflows/build-client-server-count.yml index efaf060379f4..b2ad99cac36e 100644 --- a/.github/workflows/build-client-server-count.yml +++ b/.github/workflows/build-client-server-count.yml @@ -1,9 +1,10 @@ -name: Build Client, Server & Run only Cypress +name: Build Client, Server & Run only Cypress with count on: repository_dispatch: types: [ci-test-limit-count-command] + jobs: file-check: runs-on: ubuntu-latest @@ -14,6 +15,7 @@ jobs: pr: ${{steps.args.outputs.pr}} runId: ${{steps.args.outputs.runId}} matrix_count: ${{steps.matrix.outputs.matrix_count}} + run_count: ${{ steps.countArgs.outputs.run_count }} steps: - name: Checkout the head commit of the branch uses: actions/checkout@v4 @@ -27,11 +29,23 @@ jobs: id: args run: | echo "pr=${{ github.event.client_payload.pull_request.number }}" >> $GITHUB_OUTPUT - checkArg=`echo '${{toJSON(github.event.client_payload.slash_command.args.named)}}' | jq 'has("runId")'` - if [[ $checkArg == 'true' ]]; then - echo "runId=${{ github.event.client_payload.slash_command.args.named.runId }}" >> $GITHUB_OUTPUT + checkArg=${{ github.event.client_payload.slash_command.args.named.runId }} + if [[ -z "$checkArg" ]]; then + echo "runId=0" >> $GITHUB_OUTPUT + else + runId=$((checkArg + 0)) + echo "runId=$runId" >> $GITHUB_OUTPUT + fi + + - name: Set run count + id: countArgs + run: | + checkRunCount=${{ github.event.client_payload.slash_command.args.named.run_count }} + if [[ -z "$checkRunCount" ]]; then + echo "run_count=1" >> $GITHUB_OUTPUT # Set default to 1 if empty else - echo "runId=0" >> $GITHUB_OUTPUT + run_count=$((checkRunCount + 0)) + echo "run_count=$run_count" >> $GITHUB_OUTPUT fi - name: Get the diff from base branch @@ -131,6 +145,7 @@ jobs: secrets: inherit with: pr: ${{fromJson(needs.file-check.outputs.pr)}} + run_count: ${{fromJson(needs.file-check.outputs.run_count)}} ci-test-limited-existing-docker-image: needs: [file-check] @@ -142,6 +157,7 @@ jobs: with: pr: ${{fromJson(needs.file-check.outputs.pr)}} previous-workflow-run-id: ${{ fromJson(needs.file-check.outputs.runId) }} + run_count: ${{fromJson(needs.file-check.outputs.run_count)}} ci-test-limited-result: needs: [file-check, ci-test-limited] diff --git a/.github/workflows/ci-test-limited-with-count.yml b/.github/workflows/ci-test-limited-with-count.yml index 3b67257e81fb..5cbd9f9aef98 100644 --- a/.github/workflows/ci-test-limited-with-count.yml +++ b/.github/workflows/ci-test-limited-with-count.yml @@ -209,14 +209,14 @@ jobs: # actions/setup-node@v4 doesn’t work properly with Yarn 3 # when the project lives in a subdirectory: https://github.com/actions/setup-node/issues/488 # Restoring the cache manually instead - - name: Restore Yarn cache - if: steps.run_result.outputs.run_result != 'success' - uses: actions/cache@v4 - with: - path: | - app/client/.yarn/cache - app/client/node_modules/.cache/webpack/ - key: v1-yarn3-${{ hashFiles('app/client/yarn.lock') }} + # - name: Restore Yarn cache + # if: steps.run_result.outputs.run_result != 'success' + # uses: actions/cache@v4 + # with: + # path: | + # app/client/.yarn/cache + # app/client/node_modules/.cache/webpack/ + # key: v1-yarn3-${{ hashFiles('app/client/yarn.lock') }} # Install all the dependencies - name: Install dependencies @@ -346,7 +346,7 @@ jobs: NODE_ENV: development run: | cd app/client - npx cypress-repeat run -n ${{ github.event.inputs.run_count }} --force \ + npx cypress-repeat run -n ${{ inputs.run_count }} --force \ --spec ${{ env.specs_to_run }} \ --config-file "cypress_ci_custom.config.ts" diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml index bc9d4ae44645..ec40d88ce0da 100644 --- a/.github/workflows/pr-automation.yml +++ b/.github/workflows/pr-automation.yml @@ -1,17 +1,68 @@ name: PR Automation test suite +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: pull_request: branches: - release - pg - types: - - labeled + types: [ labeled, synchronize ] jobs: + checkTestLabel: + runs-on: ubuntu-latest + outputs: + ok_to_test: ${{ steps.checkLabel.outputs.ok_to_test }} + steps: + + - name: Check PR Label + id: checkLabel + uses: actions/github-script@v7 + with: + # This script will check if the PR has ok-to-test label. + # To avoid being dependent on the event which triggered this workflow, + # we will always get the pull request labels directly from the context + # It will later set the output to be "true" or "false". + script: | + const labels = context.payload.pull_request.labels.map(label => label.name); + if (labels.includes("ok-to-test")) { + console.log("Label 'ok-to-test' is present"); + core.setOutput("ok_to_test", "true"); + } else { + console.log("Label 'ok-to-test' is not present"); + core.setOutput("ok_to_test", "false"); + } + + mark-stale: + needs: [ checkTestLabel ] + if: needs.checkTestLabel.outputs.ok_to_test == 'false' + runs-on: ubuntu-latest + permissions: + pull-requests: write + defaults: + run: + shell: bash + steps: + - name: Checkout code + uses: actions/checkout@v4 + # In case of a no label present, mark the Cypress status to be stale + - name: Mark the Cypress response to be stale + uses: actions/github-script@v7 + env: + NODE_PATH: "${{ github.workspace }}/.github/workflows/scripts" + BODY: | + Tests have not run on the HEAD ${{ github.event.pull_request.head.sha }} yet + with: + script: | + require("write-cypress-status.js")({core, context, github}, "warning", process.env.BODY) + parse-tags: + needs: [ checkTestLabel ] + if: needs.checkTestLabel.outputs.ok_to_test == 'true' runs-on: ubuntu-latest - if: github.event.label.name == 'ok-to-test' permissions: pull-requests: write defaults: @@ -27,7 +78,7 @@ jobs: - name: Checkout the head commit of the branch uses: actions/checkout@v4 with: - repository: appsmithorg/appsmith + repository: appsmithorg/appsmith # Reads the PR description to retrieve the /ok-to-test or, if that's absent, the /test command - name: Read tags from PR description @@ -72,7 +123,7 @@ jobs: # Call the workflow to run Cypress tests perform-test: - needs: [parse-tags] + needs: [ parse-tags ] if: success() uses: ./.github/workflows/pr-cypress.yml secrets: inherit diff --git a/.github/workflows/test-storybook.yml b/.github/workflows/test-storybook.yml index 20081135e454..db6684612324 100644 --- a/.github/workflows/test-storybook.yml +++ b/.github/workflows/test-storybook.yml @@ -38,18 +38,12 @@ jobs: - name: Install Dependencies working-directory: ./app/client/packages/storybook - run: yarn install --immutable + run: | + yarn install --immutable + npx playwright install --with-deps - name: Storybook Tests - id: Test Storybook - uses: actions/setup-node@v4 - with: - node-version-file: app/client/package.json - - - name: Install Playwright - run: npx playwright install --with-deps - - - name: Serve Storybook and run tests - with: - workingDir: ./app/client/packages/storybook - buildScriptName: "test-storybook:ci" + working-directory: ./app/client/packages/storybook + run: | + yarn build-storybook + yarn test-storybook:ci diff --git a/app/client/.babelrc b/app/client/.babelrc index 0617a488c753..bad109521ae8 100644 --- a/app/client/.babelrc +++ b/app/client/.babelrc @@ -13,8 +13,7 @@ "actions":"./src/actions/", "api": "./src/api/", "assets": "./src/assets/", - "sagas": "./src/sagas/", - "@appsmith": "./src/ee" + "sagas": "./src/sagas/" } }, "babel-plugin-styled-components"] ] diff --git a/app/client/.eslintrc.base.json b/app/client/.eslintrc.base.json index 6180f6054f66..485c107c6465 100644 --- a/app/client/.eslintrc.base.json +++ b/app/client/.eslintrc.base.json @@ -76,11 +76,11 @@ { "group": ["*.svg"], "importNames": ["ReactComponent"], - "message": "Reason: Please don’t import SVG icons statically. (They won’t always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please either import them as SVG paths (e.g. import starIconUrl from './star.svg'), or use the importSvg wrapper from design-system-old (e.g. const StarIcon = importSvg(() => import('./star.svg')))." + "message": "Reason: Please don’t import SVG icons statically. (They won’t always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please either import them as SVG paths (e.g. import starIconUrl from './star.svg'), or use the importSvg wrapper from @appsmith/ads-old (e.g. const StarIcon = importSvg(() => import('./star.svg')))." }, { "group": ["remixicon-react/*"], - "message": "Reason: Please don’t import Remix icons statically. (They won’t always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please use the importRemixIcon wrapper from design-system-old (e.g. const StarIcon = importRemixIcon(() => import('remixicon-react/Star')))." + "message": "Reason: Please don’t import Remix icons statically. (They won’t always be needed, but they *will* always be present in the bundle and will increase the bundle size.) Instead, please use the importRemixIcon wrapper from @appsmith/ads-old (e.g. const StarIcon = importRemixIcon(() => import('remixicon-react/Star')))." } ] } diff --git a/app/client/.eslintrc.js b/app/client/.eslintrc.js index f04ec7fe4597..02a6ca7ad990 100644 --- a/app/client/.eslintrc.js +++ b/app/client/.eslintrc.js @@ -56,7 +56,7 @@ const eslintConfig = { ...(baseNoRestrictedImports.patterns ?? []), { group: ["**/ce/*"], - message: "Reason: Please use @appsmith import instead.", + message: "Reason: Please use ee/ import instead.", }, ], }, diff --git a/app/client/cypress/e2e/Regression/ClientSide/Fork/ForkApplication_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Fork/ForkApplication_spec.ts index 1cf1677b74be..8a2bfbebb65b 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Fork/ForkApplication_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Fork/ForkApplication_spec.ts @@ -14,6 +14,7 @@ import { fakerHelper, homePage, inviteModal, + dataSources, } from "../../../../support/Objects/ObjectsCore"; import EditorNavigation, { AppSidebar, @@ -110,6 +111,7 @@ describe( cy.log("isPartialImport : ", isPartialImport); if (isPartialImport) { agHelper.WaitUntilEleAppear(reconnectDatasourceModal.SkipToAppBtn); + agHelper.WaitUntilEleAppear(dataSources._saveDs); agHelper.GetNClick(reconnectDatasourceModal.SkipToAppBtn, 0, true); agHelper.WaitUntilEleDisappear(reconnectDatasourceModal.SkipToAppBtn); } diff --git a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/mysql_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/mysql_spec.ts index 0ad5dc4743d2..1ae360fd1052 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/mysql_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/OneClickBinding/TableWidget/mysql_spec.ts @@ -14,88 +14,78 @@ import EditorNavigation, { const oneClickBinding = new OneClickBinding(); -// TODO: Adds two rows on click of save row will debug and fix this in a different PR - Sangeeth -describe.skip("Table widget one click binding feature", () => { - it("1.should check that queries are created and bound to table widget properly", () => { - entityExplorer.DragDropWidgetNVerify(draggableWidgets.TABLE, 400); +describe( + "Table widget one click binding feature", + { tags: ["@tag.Widget"] }, + () => { + it("1.should check that queries are created and bound to table widget properly", () => { + entityExplorer.DragDropWidgetNVerify(draggableWidgets.TABLE, 400); - dataSources.CreateDataSource("MySql"); + dataSources.CreateDataSource("MySql"); - cy.get("@dsName").then((dsName) => { - EditorNavigation.SelectEntityByName("Table1", EntityType.Widget); + cy.get("@dsName").then((dsName) => { + EditorNavigation.SelectEntityByName("Table1", EntityType.Widget); - oneClickBinding.ChooseAndAssertForm(`${dsName}`, dsName, "configs", { - searchableColumn: "configName", + oneClickBinding.ChooseAndAssertForm(`${dsName}`, dsName, "configs", { + searchableColumn: "configName", + }); }); - }); - - agHelper.GetNClick(oneClickBindingLocator.connectData); - - assertHelper.AssertNetworkStatus("@postExecute"); - - agHelper.Sleep(2000); - - [ - "id", - "configName", - "configJson", - "configVersion", - "updatedAt", - "updatedBy", - ].forEach((column) => { - agHelper.AssertElementExist(table._headerCell(column)); - }); - - agHelper.GetNClick(table._addNewRow, 0, true); - - table.EditTableCell(0, 1, "One Click Config", false); - table.UpdateTableCell(0, 2, `{{}"key":"oneClick"}`); - table.UpdateTableCell(0, 3, 36); - table.UpdateTableCell(0, 4, "2023-07-03 15:30:00", false, true); + agHelper.GetNClick(oneClickBindingLocator.connectData); - agHelper.Sleep(2000); + assertHelper.AssertNetworkStatus("@postExecute"); - agHelper.GetNClick(table._saveNewRow, 0, true); + [ + "id", + "configName", + "configJson", + "configVersion", + "updatedAt", + "updatedBy", + ].forEach((column) => { + agHelper.AssertElementExist(table._headerCell(column)); + }); - assertHelper.AssertNetworkStatus("@postExecute"); + agHelper.GetNClick(table._addNewRow, 0, true); - agHelper.TypeText(table._searchInput, "One Click Config"); + table.EditTableCell(0, 1, "One Click Config", false); - assertHelper.AssertNetworkStatus("@postExecute"); + table.UpdateTableCell(0, 2, `{{}"key":"oneClick"}`); + table.UpdateTableCell(0, 3, 36); + table.UpdateTableCell(0, 4, "2023-07-03 15:30:00", false, true); - agHelper.AssertElementExist(table._bodyCell("One Click Config")); + agHelper.GetNClick(table._saveNewRow, 0, true); - agHelper.Sleep(1000); + assertHelper.AssertNetworkStatus("@postExecute"); - table.EditTableCell(0, 1, "Bindings", false); - table.EditTableCell(0, 4, "2023-07-03 15:30:00", false); + agHelper.TypeText(table._searchInput, "One Click Config"); - agHelper.Sleep(1000); + assertHelper.AssertNetworkStatus("@postExecute"); - (cy as any).AssertTableRowSavable(6, 0); + agHelper.AssertElementExist(table._bodyCell("One Click Config")); - (cy as any).saveTableRow(6, 0); + table.EditTableCell(0, 1, "Bindings", false); + table.EditTableCell(0, 4, "2023-07-03 15:30:00", false); - assertHelper.AssertNetworkStatus("@postExecute"); + (cy as any).AssertTableRowSavable(6, 0); - assertHelper.AssertNetworkStatus("@postExecute"); + (cy as any).saveTableRow(6, 0); - agHelper.Sleep(500); - agHelper.ClearNType(table._searchInput, "Bindings"); + assertHelper.AssertNetworkStatus("@postExecute"); - assertHelper.AssertNetworkStatus("@postExecute"); + assertHelper.AssertNetworkStatus("@postExecute"); - agHelper.Sleep(2000); + agHelper.ClearNType(table._searchInput, "Bindings"); - agHelper.AssertElementExist(table._bodyCell("Bindings")); + assertHelper.AssertNetworkStatus("@postExecute"); - agHelper.ClearNType(table._searchInput, "One Click Config"); + agHelper.AssertElementExist(table._bodyCell("Bindings")); - assertHelper.AssertNetworkStatus("@postExecute"); + agHelper.ClearNType(table._searchInput, "One Click Config"); - agHelper.Sleep(2000); + assertHelper.AssertNetworkStatus("@postExecute"); - agHelper.AssertElementAbsence(table._bodyCell("One Click Config")); - }); -}); + agHelper.AssertElementAbsence(table._bodyCell("One Click Config")); + }); + }, +); diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_BasicClientSideData_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_BasicClientSideData_spec.js index 23c6acab5351..b35dc5683c7c 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_BasicClientSideData_spec.js +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ListV2/Listv2_BasicClientSideData_spec.js @@ -36,14 +36,20 @@ describe( _.agHelper.SaveLocalStorageCache(); }); - it("1. shows correct number of items", () => { + it("1. Test drag and drop of list widget", () => { + // to avoid such issues in future: https://github.com/appsmithorg/appsmith/issues/35578 + cy.dragAndDropToCanvas("listwidgetv2", { x: 200, y: 200 }); + _.debuggerHelper.AssertErrorCount(0); + }); + + it("2. shows correct number of items", () => { _.agHelper.AddDsl("Listv2/simpleList"); cy.get(publishLocators.containerWidget).should("have.length", 3); cy.get(publishLocators.imageWidget).should("have.length", 3); cy.get(publishLocators.textWidget).should("have.length", 6); }); - it("2. shows correct text from binding", () => { + it("3. shows correct text from binding", () => { cy.get(publishLocators.containerWidget).each(($containerEl, index) => { cy.wrap($containerEl) .find(publishLocators.textWidget) @@ -56,7 +62,7 @@ describe( }); }); - it("3. retains input values when pages are switched", () => { + it("4. retains input values when pages are switched", () => { _.agHelper.AddDsl("Listv2/simpleListWithInputAndButton"); cy.get(publishLocators.inputWidget).should("have.length", 2); @@ -119,7 +125,7 @@ describe( }); }); - it("4. Reset pageNo when serverside pagination is enabled", () => { + it("5. Reset pageNo when serverside pagination is enabled", () => { cy.get(`${widgetSelector("List1")} .rc-pagination-item-3`).click({ force: true, }); diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor3_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor3_spec.ts index b440448f9135..b99358500d53 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor3_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor3_spec.ts @@ -15,7 +15,9 @@ describe( before(() => { agHelper.AddDsl("richTextEditorDsl"); EditorNavigation.SelectEntityByName("RichTextEditor1", EntityType.Widget); - // entityExplorer.DragDropWidgetNVerify("richtexteditorwidget", 500, 200); + cy.waitUntil(() => + cy.get(locators._richText_TitleBlock).should("be.visible"), + ); }); it("1. Verify deleting text in default text property, updates data in widget", function () { diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_1_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_1_spec.js index 50e85e5e853e..65829529af73 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_1_spec.js +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_1_spec.js @@ -1,43 +1,20 @@ +import { locators } from "../../../../../support/Objects/ObjectsCore"; + const commonlocators = require("../../../../../locators/commonlocators.json"); const formWidgetsPage = require("../../../../../locators/FormWidgets.json"); const publishPage = require("../../../../../locators/publishWidgetspage.json"); const widgetsPage = require("../../../../../locators/Widgets.json"); import * as _ from "../../../../../support/Objects/ObjectsCore"; -/** - * A function to set the content inside an RTE widget - * @param textValue - */ -const setRTEContent = (textValue) => { - // Set the content inside RTE widget - cy.get(formWidgetsPage.richTextEditorWidget + " iframe").then(($iframe) => { - const $body = $iframe.contents().find("body"); - cy.wrap($body).type(textValue, { force: true }); - }); -}; - -/** - * A function to test if the cursor position is at the end of the string. - * @param textValueLen - */ -const testCursorPoistion = (textValueLen, tinyMceId) => { - cy.window().then((win) => { - const editor = win.tinymce.EditorManager.get(tinyMceId); - - // Get the current cursor location - const getCurrentCursorLocation = editor.selection.getSel().anchorOffset; - - // Check if the cursor is at the end. - expect(getCurrentCursorLocation).to.be.equal(textValueLen); - }); -}; - describe( "RichTextEditor Widget Functionality", { tags: ["@tag.Widget", "@tag.TextEditor"] }, function () { before(() => { _.agHelper.AddDsl("formdsl1"); + cy.waitUntil(() => + cy.get(locators._richText_TitleBlock).should("be.visible"), + ); }); beforeEach(() => { @@ -150,9 +127,10 @@ describe( it("5. Reset RichTextEditor", function () { // Enable the widget + cy.UncheckWidgetProperties(formWidgetsPage.disableJs); - cy.setTinyMceContent("rte-6h8j08u7ea", "

content

"); + cy.setTinyMceContent("rte-component-vw4zehojqt", "

content

"); cy.validateHTMLText( formWidgetsPage.richTextEditorWidget, diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_2_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_2_spec.js index 0ed4d0ddceff..3b9042c8baf6 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_2_spec.js +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_2_spec.js @@ -1,3 +1,5 @@ +import { locators } from "../../../../../support/Objects/ObjectsCore"; + const commonlocators = require("../../../../../locators/commonlocators.json"); const formWidgetsPage = require("../../../../../locators/FormWidgets.json"); const publishPage = require("../../../../../locators/publishWidgetspage.json"); @@ -38,6 +40,9 @@ describe( function () { before(() => { _.agHelper.AddDsl("formdsl1"); + cy.waitUntil(() => + cy.get(locators._richText_TitleBlock).should("be.visible"), + ); }); beforeEach(() => { @@ -69,7 +74,7 @@ describe( it("2. Check if text does not re-appear when cut, inside the RTE widget", function () { cy.window().then((win) => { - const tinyMceId = "rte-6h8j08u7ea"; + const tinyMceId = "rte-component-vw4zehojqt"; const editor = win.tinymce.EditorManager.get(tinyMceId); @@ -90,7 +95,7 @@ describe( }); it("3. Check if the cursor position is at the end for the RTE widget", function () { - const tinyMceId = "rte-6h8j08u7ea"; + const tinyMceId = "rte-component-vw4zehojqt"; const testString = "Test Content"; const testStringLen = testString.length; @@ -107,7 +112,7 @@ describe( }); it("4. Check if different font size texts are supported inside the RTE widget", function () { - const tinyMceId = "rte-6h8j08u7ea"; + const tinyMceId = "rte-component-vw4zehojqt"; const testString = "Test Content"; // Set the content inside RTE widget by typing @@ -145,7 +150,7 @@ describe( cy.wait(500); cy.get('[data-mce-tooltip="grinning"]').click({ force: true }); const getEditorContent = (win) => { - const tinyMceId = "rte-6h8j08u7ea"; + const tinyMceId = "rte-component-vw4zehojqt"; const editor = win.tinymce.EditorManager.get(tinyMceId); return editor.getContent(); }; diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_Validation_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_Validation_spec.js index 0799ed15d8c7..850e1709fe6d 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_Validation_spec.js +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/RTE/RichTextEditor_Validation_spec.js @@ -1,3 +1,5 @@ +import { locators } from "../../../../../support/Objects/ObjectsCore"; + const commonlocators = require("../../../../../locators/commonlocators.json"); const formWidgetsPage = require("../../../../../locators/FormWidgets.json"); import * as _ from "../../../../../support/Objects/ObjectsCore"; @@ -8,6 +10,9 @@ describe( function () { before(() => { _.agHelper.AddDsl("formdsl1"); + cy.waitUntil(() => + cy.get(locators._richText_TitleBlock).should("be.visible"), + ); }); beforeEach(() => { @@ -16,7 +21,7 @@ describe( }); it("RichTextEditor-required with empty content show error border for textarea", function () { - cy.setTinyMceContent("rte-6h8j08u7ea", ""); + cy.setTinyMceContent("rte-component-vw4zehojqt", ""); cy.get(commonlocators.requiredCheckbox).click({ force: true }); cy.wait(500); diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/columnTypes/Select1_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/columnTypes/Select1_spec.ts index 640a79b2ffa6..bf1f91ae4a1c 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/columnTypes/Select1_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/TableV2/columnTypes/Select1_spec.ts @@ -130,7 +130,9 @@ describe( ]}} `, ); - cy.get(".t--property-control-filterable input").click({ force: true }); + cy.get(_.locators._propertyControlInput("filterable")).click({ + force: true, + }); cy.editTableSelectCell(0, 0); cy.get(".select-popover-wrapper .bp3-input-group input").should("exist"); cy.get(".select-popover-wrapper .bp3-input-group input").type("1", { @@ -363,6 +365,10 @@ describe( PageLeftPane.switchSegment(PagePaneSegment.UI); cy.openPropertyPane("tablewidgetv2"); cy.editColumn("step"); + _.agHelper.CheckUncheck( + _.locators._propertyControlInput("filterable"), + true, + ); cy.get(".t--property-control-serversidefiltering input").click(); cy.updateCodeInput( ".t--property-pane-section-selectproperties", diff --git a/app/client/cypress/fixtures/formdsl1.json b/app/client/cypress/fixtures/formdsl1.json index 9636bc23eef7..e049cfd46a1a 100644 --- a/app/client/cypress/fixtures/formdsl1.json +++ b/app/client/cypress/fixtures/formdsl1.json @@ -104,7 +104,7 @@ "topRow": 2, "bottomRow": 7, "parentId": "7tkpo9s22m", - "widgetId": "6h8j08u7ea" + "widgetId": "component-vw4zehojqt" }, { "isVisible": true, diff --git a/app/client/jest.config.js b/app/client/jest.config.js index e8158a237aec..bdab9f890b65 100644 --- a/app/client/jest.config.js +++ b/app/client/jest.config.js @@ -17,7 +17,7 @@ module.exports = { moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node", "css"], moduleDirectories: ["node_modules", "src", "test"], transformIgnorePatterns: [ - "/node_modules/(?!codemirror|konva|design-system|design-system-old|react-dnd|dnd-core|@babel|(@blueprintjs)|@github|lodash-es|@draft-js-plugins|react-documents|linkedom|assert-never|axios)", + "/node_modules/(?!codemirror|konva|react-dnd|dnd-core|@babel|(@blueprintjs)|@github|lodash-es|@draft-js-plugins|react-documents|linkedom|assert-never|axios)", ], moduleNameMapper: { "\\.(css|less)$": "/test/__mocks__/styleMock.js", @@ -27,14 +27,12 @@ module.exports = { "^worker-loader!": "/test/__mocks__/workerMock.js", "^!!raw-loader!": "/test/__mocks__/derivedMock.js", "test/(.*)": "/test/$1", - "@appsmith/(.*)": "/src/ee/$1", - "design-system-old": "/node_modules/design-system-old", + "@appsmith/ads-old": "/node_modules/@appsmith/ads-old", "@design-system/widgets-old": "/node_modules/@design-system/widgets-old", "@design-system/widgets": "/node_modules/@design-system/widgets", "@design-system/headless": "/node_modules/@design-system/headless", "@design-system/theming": "/node_modules/@design-system/theming", - "design-system": "/node_modules/design-system", "^proxy-memoize$": "/node_modules/proxy-memoize/dist/wrapper.cjs", // @blueprintjs packages need to be resolved to the `esnext` directory. The default `esm` directory // contains sources that are transpiled to ES5. As Jest does not transpile our sources to ES5, @@ -51,7 +49,7 @@ module.exports = { "/node_modules/@blueprintjs/popover2/lib/esnext", "^@blueprintjs/select$": "/node_modules/@blueprintjs/select/lib/esnext", - "design-system": "/node_modules/design-system", + "@appsmith/ads": "/node_modules/@appsmith/ads", "^canvas$": "jest-canvas-mock", }, globals: { diff --git a/app/client/package.json b/app/client/package.json index 0733b00dcdc6..13fe62a77e6d 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -48,6 +48,8 @@ "cypress:snapshot:docker:build": "docker build . -f cypress/Dockerfile -t cypress-snapshot" }, "dependencies": { + "@appsmith/ads": "workspace:^", + "@appsmith/ads-old": "workspace:^", "@aws-sdk/client-s3": "^3.622.0", "@aws-sdk/lib-storage": "^3.622.0", "@babel/standalone": "^7.23.6", @@ -85,7 +87,7 @@ "@shared/ast": "workspace:^", "@shared/dsl": "workspace:^", "@tanstack/virtual-core": "^3.0.0-beta.18", - "@tinymce/tinymce-react": "^5.0.0", + "@tinymce/tinymce-react": "^5.1.1", "@types/babel__standalone": "^7.1.7", "@types/cypress-image-snapshot": "^3.1.9", "@types/d3-geo": "^3.1.0", @@ -122,8 +124,6 @@ "d3-geo": "^3.1.0", "dayjs": "^1.10.6", "deep-diff": "^1.0.2", - "design-system": "workspace:^", - "design-system-old": "workspace:^", "downloadjs": "^1.4.7", "echarts": "^5.4.2", "fast-deep-equal": "^3.1.3", diff --git a/app/client/packages/ast/src/index.ts b/app/client/packages/ast/src/index.ts index 6e6213189b90..3f9e1daf0eb9 100644 --- a/app/client/packages/ast/src/index.ts +++ b/app/client/packages/ast/src/index.ts @@ -399,6 +399,7 @@ export interface IdentifierInfo { references: string[]; functionalParams: string[]; variables: string[]; + isError: boolean; } export const extractIdentifierInfoFromCode = ( code: string, @@ -435,6 +436,7 @@ export const extractIdentifierInfoFromCode = ( references: referencesArr, functionalParams: Array.from(functionalParams), variables: Array.from(variableDeclarations), + isError: false, }; } catch (e) { if (e instanceof SyntaxError) { @@ -443,6 +445,7 @@ export const extractIdentifierInfoFromCode = ( references: [], functionalParams: [], variables: [], + isError: true, }; } throw e; diff --git a/app/client/packages/design-system/ads-old/package.json b/app/client/packages/design-system/ads-old/package.json index cd5d6b77fa07..a5617c98bcae 100644 --- a/app/client/packages/design-system/ads-old/package.json +++ b/app/client/packages/design-system/ads-old/package.json @@ -1,5 +1,5 @@ { - "name": "design-system-old", + "name": "@appsmith/ads-old", "version": "1.1.17", "description": "This is the package for the Appsmith design system components", "main": "src/index.ts", @@ -12,14 +12,8 @@ }, "contributors": [ "Albin ", - "Rohit Agarwal ", - "Tanvi Bhakta " + "Rohit Agarwal " ], - "repository": { - "type": "git", - "url": "https://github.com/appsmithorg/design-system.git", - "directory": "packages/design-system" - }, "license": "Apache-2.0", "devDependencies": { "@types/loadable__component": "^5.13.4", diff --git a/app/client/packages/design-system/ads-old/src/FilePickerV2/index.tsx b/app/client/packages/design-system/ads-old/src/FilePickerV2/index.tsx index d834f3df5c84..7b43cf5f2c2f 100644 --- a/app/client/packages/design-system/ads-old/src/FilePickerV2/index.tsx +++ b/app/client/packages/design-system/ads-old/src/FilePickerV2/index.tsx @@ -7,7 +7,7 @@ import Button, { Category, IconPositions, Size } from "../Button"; import type { IconName } from "../Icon"; import Icon, { IconSize } from "../Icon"; import Text, { TextType } from "../Text"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import TooltipComponent from "../Tooltip"; import { createMessage, diff --git a/app/client/packages/design-system/ads/package.json b/app/client/packages/design-system/ads/package.json index e0b216dabeb8..582a19230176 100644 --- a/app/client/packages/design-system/ads/package.json +++ b/app/client/packages/design-system/ads/package.json @@ -1,5 +1,5 @@ { - "name": "design-system", + "name": "@appsmith/ads", "version": "2.1.43", "description": "This is the package for the design system that powers the Appsmith platform", "main": "src/index.ts", diff --git a/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx b/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx index 266192af9689..4b51272b2c00 100644 --- a/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx +++ b/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx @@ -1468,7 +1468,7 @@ export function IconProvider(props: { iconName, " not found. If you haven't made a typo, the icon probably does not exit " + "in our database - check the lookup here: " + - "https://github.com/appsmithorg/design-system/blob/c6c2d821c45e459fcb0522fccb273fccbce41664/packages/design-system/src/Icon/Icon.provider.tsx#L292", + "https://github.com/appsmithorg/appsmith/blob/release/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx#L1078", ); } return Icon && ; diff --git a/app/client/packages/design-system/ads/src/List/List.stories.tsx b/app/client/packages/design-system/ads/src/List/List.stories.tsx index 551c6111596a..90f21cabc6b5 100644 --- a/app/client/packages/design-system/ads/src/List/List.stories.tsx +++ b/app/client/packages/design-system/ads/src/List/List.stories.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { List, ListItem, Icon } from "design-system"; +import { List, ListItem, Icon } from "@appsmith/ads"; import type { StoryObj } from "@storybook/react"; -import type { ListItemProps, ListProps } from "design-system"; +import type { ListItemProps, ListProps } from "@appsmith/ads"; export default { title: "ADS/Components/List", diff --git a/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts b/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts index 282c9a72a9b7..9aab75702fd9 100644 --- a/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts +++ b/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts @@ -393,7 +393,7 @@ export class DarkModeTheme implements ColorModeTheme { } private get bgNeutralSubtle() { - const color = this.seedColor.clone(); + const color = this.bgAccentSubtle.clone(); // Adjusted version of bgAccentSubtle (less or no chroma) if (this.seedLightness > 0.29) { @@ -726,7 +726,7 @@ export class DarkModeTheme implements ColorModeTheme { // Neutral foreground. Slightly less prominent than main fg const color = this.fg.clone(); - color.oklch.l -= 0.02; + color.oklch.l -= 0.1; return color; } @@ -734,7 +734,7 @@ export class DarkModeTheme implements ColorModeTheme { private get fgNeutralSubtle() { const color = this.fgNeutral.clone(); - color.oklch.l -= 0.15; + color.oklch.l -= 0.3; return color; } diff --git a/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts b/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts index 2b6469e72490..9cb0499528aa 100644 --- a/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts +++ b/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts @@ -391,23 +391,19 @@ export class LightModeTheme implements ColorModeTheme { } private get bgNeutralSubtle() { - const color = this.seedColor.clone(); + const color = this.bgAccentSubtle.clone(); - // Adjusted version of bgAccentSubtle (less or no chroma) + // Adjusted version of bgAccentSubtle (less or no chroma), slightly higher lightness since neutrals are perceived heavier than saturated colors if (this.seedIsVeryLight) { - color.oklch.l = 0.985; + color.oklch.l = 0.955; } if (!this.seedIsVeryLight) { - color.oklch.l = 0.935; + color.oklch.l = 0.97; } - if (this.seedChroma > 0.001) { - color.oklch.c = 0.001; - } - - if (this.seedIsAchromatic) { - color.oklch.c = 0; + if (this.seedChroma > 0.002) { + color.oklch.c = 0.002; } return color; @@ -416,7 +412,7 @@ export class LightModeTheme implements ColorModeTheme { private get bgNeutralSubtleHover() { const color = this.bgNeutralSubtle.clone(); - color.oklch.l += 0.02; + color.oklch.l += 0.012; return color; } @@ -734,7 +730,7 @@ export class LightModeTheme implements ColorModeTheme { // Neutral foreground. Slightly less prominent than main fg const color = this.fg.clone(); - color.oklch.l += 0.1; + color.oklch.l += 0.125; return color; } @@ -742,7 +738,7 @@ export class LightModeTheme implements ColorModeTheme { private get fgNeutralSubtle() { const color = this.fgNeutral.clone(); - color.oklch.l += 0.1; + color.oklch.l += 0.35; return color; } @@ -1164,7 +1160,7 @@ export class LightModeTheme implements ColorModeTheme { // Low contrast indicator of interactivity in TextInput and similar const color = this.bgNeutralSubtle.clone(); - color.oklch.l -= 0.06; + color.oklch.l -= 0.03; return color; } @@ -1172,7 +1168,7 @@ export class LightModeTheme implements ColorModeTheme { private get bdOnNeutralSubtleHover() { const color = this.bdOnNeutralSubtle.clone(); - color.oklch.l += 0.03; + color.oklch.l -= 0.015; return color; } diff --git a/app/client/packages/design-system/theming/src/color/tests/DarkModeTheme.test.ts b/app/client/packages/design-system/theming/src/color/tests/DarkModeTheme.test.ts index db382f3f041e..b20846aedcbd 100644 --- a/app/client/packages/design-system/theming/src/color/tests/DarkModeTheme.test.ts +++ b/app/client/packages/design-system/theming/src/color/tests/DarkModeTheme.test.ts @@ -567,19 +567,19 @@ describe("fgNeutral color", () => { it("should return correct color when chroma < 0.04", () => { const { fgNeutral } = new DarkModeTheme("oklch(0.45 0.03 60)").getColors(); - expect(fgNeutral).toEqual("rgb(88.912% 88.912% 88.912%)"); + expect(fgNeutral).toEqual("rgb(78.709% 78.709% 78.709%)"); }); it("should return correct color when chroma > 0.04 and hue is between 120 and 300", () => { const { fgNeutral } = new DarkModeTheme("oklch(0.45 0.1 150)").getColors(); - expect(fgNeutral).toEqual("rgb(86.896% 89.904% 87.34%)"); + expect(fgNeutral).toEqual("rgb(76.736% 79.678% 77.172%)"); }); it("should return correct color when chroma > 0.04 and hue is not between 120 and 300", () => { const { fgNeutral } = new DarkModeTheme("oklch(0.45 0.1 110)").getColors(); - expect(fgNeutral).toEqual("rgb(89.043% 89.298% 85.788%)"); + expect(fgNeutral).toEqual("rgb(78.837% 79.085% 75.653%)"); }); }); @@ -589,7 +589,7 @@ describe("fgNeutralSubtle color", () => { "oklch(0.45 0.03 60)", ).getColors(); - expect(fgNeutralSubtle).toEqual("rgb(69.98% 69.98% 69.98%)"); + expect(fgNeutralSubtle).toEqual("rgb(42.772% 42.772% 42.772%)"); }); }); diff --git a/app/client/packages/design-system/theming/src/color/tests/LightModeTheme.test.ts b/app/client/packages/design-system/theming/src/color/tests/LightModeTheme.test.ts index 0fe088e6b60b..252bca1d05c8 100644 --- a/app/client/packages/design-system/theming/src/color/tests/LightModeTheme.test.ts +++ b/app/client/packages/design-system/theming/src/color/tests/LightModeTheme.test.ts @@ -307,28 +307,28 @@ describe("bgNeutralSubtle color", () => { const { bgNeutralSubtle } = new LightModeTheme( "oklch(0.95 0.03 170)", ).getColors(); - expect(bgNeutralSubtle).toEqual("rgb(98.026% 98.026% 98.026%)"); + expect(bgNeutralSubtle).toEqual("rgb(93.635% 94.291% 94.022%)"); }); it("should return correct color when lightness < or equal to 0.93", () => { const { bgNeutralSubtle } = new LightModeTheme( "oklch(0.92 0.03 170)", ).getColors(); - expect(bgNeutralSubtle).toEqual("rgb(91.499% 91.499% 91.499%)"); + expect(bgNeutralSubtle).toEqual("rgb(95.592% 96.251% 95.981%)"); }); it("should return correct color when seedChroma > 0.01", () => { const { bgNeutralSubtle } = new LightModeTheme( "oklch(0.92 0.1 170)", ).getColors(); - expect(bgNeutralSubtle).toEqual("rgb(91.268% 91.594% 91.461%)"); + expect(bgNeutralSubtle).toEqual("rgb(95.592% 96.251% 95.981%)"); }); it("should return correct color when chroma < 0.04", () => { const { bgNeutralSubtle } = new LightModeTheme( "oklch(0.92 0.03 170)", ).getColors(); - expect(bgNeutralSubtle).toEqual("rgb(91.499% 91.499% 91.499%)"); + expect(bgNeutralSubtle).toEqual("rgb(95.592% 96.251% 95.981%)"); }); }); @@ -338,7 +338,7 @@ describe("bgNeutralSubtleHover color", () => { "oklch(0.92 0.1 170)", ).getColors(); - expect(bgNeutralSubtleHover).toEqual("rgb(93.867% 94.195% 94.061%)"); + expect(bgNeutralSubtleHover).toEqual("rgb(97.164% 97.825% 97.554%)"); }); }); @@ -348,7 +348,7 @@ describe("bgNeutralSubtleActive color", () => { "oklch(0.92 0.1 170)", ).getColors(); - expect(bgNeutralSubtleActive).toEqual("rgb(89.974% 90.299% 90.166%)"); + expect(bgNeutralSubtleActive).toEqual("rgb(94.286% 94.944% 94.674%)"); }); }); @@ -597,19 +597,19 @@ describe("fgNeutral color", () => { it("should return correct color when chroma < 0.04", () => { const { fgNeutral } = new LightModeTheme("oklch(0.45 0.03 60)").getColors(); - expect(fgNeutral).toEqual("rgb(10.396% 10.396% 10.396%)"); + expect(fgNeutral).toEqual("rgb(12.685% 12.685% 12.685%)"); }); it("should return correct color when chroma > 0.04 and hue is between 120 and 300", () => { const { fgNeutral } = new LightModeTheme("oklch(0.45 0.1 150)").getColors(); - expect(fgNeutral).toEqual("rgb(9.6799% 10.739% 9.8424%)"); + expect(fgNeutral).toEqual("rgb(11.952% 13.038% 12.117%)"); }); it("should return correct color when chroma > 0.04 and hue is not between 120 and 300", () => { const { fgNeutral } = new LightModeTheme("oklch(0.45 0.1 110)").getColors(); - expect(fgNeutral).toEqual("rgb(10.444% 10.527% 9.2918%)"); + expect(fgNeutral).toEqual("rgb(12.734% 12.82% 11.553%)"); }); }); @@ -619,7 +619,7 @@ describe("fgNeutralSubtle color", () => { "oklch(0.45 0.03 60)", ).getColors(); - expect(fgNeutralSubtle).toEqual("rgb(19.892% 19.892% 19.892%)"); + expect(fgNeutralSubtle).toEqual("rgb(49.631% 49.631% 49.631%)"); }); }); diff --git a/app/client/packages/design-system/theming/src/token/src/defaultTokens.json b/app/client/packages/design-system/theming/src/token/src/defaultTokens.json index fea64e16e6d1..598a1f6efc6c 100644 --- a/app/client/packages/design-system/theming/src/token/src/defaultTokens.json +++ b/app/client/packages/design-system/theming/src/token/src/defaultTokens.json @@ -17,7 +17,7 @@ "2": "2px" }, "opacity": { - "disabled": 0.3 + "disabled": 0.65 }, "zIndex": { "1": 3, diff --git a/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css b/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css index 7dbaaae6d76d..f6d9008d3eef 100644 --- a/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css +++ b/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css @@ -126,7 +126,7 @@ *----------------------------------------------------------------------------- */ & [data-field-input] :is(input, textarea)::placeholder { - color: var(--color-fg-neutral-subtle); + color: var(--color-fg-neutral-subtle) !important; opacity: 1; } diff --git a/app/client/packages/rts/src/test/server.test.ts b/app/client/packages/rts/src/test/server.test.ts index d63f1d63f87f..65ec4b03d6ad 100644 --- a/app/client/packages/rts/src/test/server.test.ts +++ b/app/client/packages/rts/src/test/server.test.ts @@ -109,6 +109,7 @@ describe("AST tests", () => { references: ["str.data", "Api1.data"], functionalParams: [], variables: ["Api2"], + isError: false, }; await supertest(app) @@ -129,11 +130,13 @@ describe("AST tests", () => { references: ["Api1.data"], functionalParams: [], variables: [], + isError: false, }, { references: ["Api1.data"], functionalParams: [], variables: ["str"], + isError: false, }, ]; diff --git a/app/client/packages/storybook/.storybook/styles.css b/app/client/packages/storybook/.storybook/styles.css index 82a2464b0ade..8bb321fa17c4 100644 --- a/app/client/packages/storybook/.storybook/styles.css +++ b/app/client/packages/storybook/.storybook/styles.css @@ -8,7 +8,7 @@ @import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); @import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); -@import url("design-system/src/__theme__/default/index.css"); /* This is to make theme variable available for stories */ +@import url("@appsmith/ads/src/__theme__/default/index.css"); /* This is to make theme variable available for stories */ html, body, diff --git a/app/client/public/static/js/skins/ui/oxide/content.css b/app/client/public/static/js/skins/ui/oxide/content.css new file mode 100644 index 000000000000..6141e3bfb1ce --- /dev/null +++ b/app/client/public/static/js/skins/ui/oxide/content.css @@ -0,0 +1,785 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag { + cursor: default !important; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body details[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc ul > li { + list-style-type: none; +} +[data-mce-block] { + display: block; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/app/client/public/static/js/skins/ui/oxide/content.min.css b/app/client/public/static/js/skins/ui/oxide/content.min.css index 981c7dc16278..3dbd91b6c78d 100644 --- a/app/client/public/static/js/skins/ui/oxide/content.min.css +++ b/app/client/public/static/js/skins/ui/oxide/content.min.css @@ -1,733 +1 @@ -/** - * Copyright (c) Tiny Technologies, Inc. All rights reserved. - * Licensed under the LGPL or a commercial license. - * For LGPL see License.txt in the project root for license information. - * For commercial licenses see https://www.tiny.cloud/ - */ -.mce-content-body .mce-item-anchor { - background: transparent - url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") - no-repeat center; - cursor: default; - display: inline-block; - height: 12px !important; - padding: 0 2px; - -webkit-user-modify: read-only; - -moz-user-modify: read-only; - -webkit-user-select: all; - -moz-user-select: all; - -ms-user-select: all; - user-select: all; - width: 8px !important; -} -.mce-content-body .mce-item-anchor[data-mce-selected] { - outline-offset: 1px; -} -.tox-comments-visible .tox-comment { - background-color: #fff0b7; -} -.tox-comments-visible .tox-comment--active { - background-color: #ffe168; -} -.tox-checklist > li:not(.tox-checklist--hidden) { - list-style: none; - margin: 0.25em 0; -} -.tox-checklist > li:not(.tox-checklist--hidden)::before { - content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); - cursor: pointer; - height: 1em; - margin-left: -1.5em; - margin-top: 0.125em; - position: absolute; - width: 1em; -} -.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { - content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); -} -[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { - margin-left: 0; - margin-right: -1.5em; -} -code[class*="language-"], -pre[class*="language-"] { - color: #000; - background: 0 0; - text-shadow: 0 1px #fff; - font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; - font-size: 1em; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - word-wrap: normal; - line-height: 1.5; - -moz-tab-size: 4; - tab-size: 4; - -webkit-hyphens: none; - -ms-hyphens: none; - hyphens: none; -} -code[class*="language-"] ::-moz-selection, -code[class*="language-"]::-moz-selection, -pre[class*="language-"] ::-moz-selection, -pre[class*="language-"]::-moz-selection { - text-shadow: none; - background: #b3d4fc; -} -code[class*="language-"] ::selection, -code[class*="language-"]::selection, -pre[class*="language-"] ::selection, -pre[class*="language-"]::selection { - text-shadow: none; - background: #b3d4fc; -} -@media print { - code[class*="language-"], - pre[class*="language-"] { - text-shadow: none; - } -} -pre[class*="language-"] { - padding: 1em; - margin: 0.5em 0; - overflow: auto; -} -:not(pre) > code[class*="language-"], -pre[class*="language-"] { - background: #f5f2f0; -} -:not(pre) > code[class*="language-"] { - padding: 0.1em; - border-radius: 0.3em; - white-space: normal; -} -.token.cdata, -.token.comment, -.token.doctype, -.token.prolog { - color: #708090; -} -.token.punctuation { - color: #999; -} -.namespace { - opacity: 0.7; -} -.token.boolean, -.token.constant, -.token.deleted, -.token.number, -.token.property, -.token.symbol, -.token.tag { - color: #905; -} -.token.attr-name, -.token.builtin, -.token.char, -.token.inserted, -.token.selector, -.token.string { - color: #690; -} -.language-css .token.string, -.style .token.string, -.token.entity, -.token.operator, -.token.url { - color: #9a6e3a; - background: hsla(0, 0%, 100%, 0.5); -} -.token.atrule, -.token.attr-value, -.token.keyword { - color: #07a; -} -.token.class-name, -.token.function { - color: #dd4a68; -} -.token.important, -.token.regex, -.token.variable { - color: #e90; -} -.token.bold, -.token.important { - font-weight: 700; -} -.token.italic { - font-style: italic; -} -.token.entity { - cursor: help; -} -.mce-content-body { - overflow-wrap: break-word; - word-wrap: break-word; -} -.mce-content-body .mce-visual-caret { - background-color: #000; - background-color: currentColor; - position: absolute; -} -.mce-content-body .mce-visual-caret-hidden { - display: none; -} -.mce-content-body [data-mce-caret] { - left: -1000px; - margin: 0; - padding: 0; - position: absolute; - right: auto; - top: 0; -} -.mce-content-body .mce-offscreen-selection { - left: -2000000px; - max-width: 1000000px; - position: absolute; -} -.mce-content-body [contentEditable="false"] { - cursor: default; -} -.mce-content-body [contentEditable="true"] { - cursor: text; -} -.tox-cursor-format-painter { - cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), - default; -} -.mce-content-body figure.align-left { - float: left; -} -.mce-content-body figure.align-right { - float: right; -} -.mce-content-body figure.image.align-center { - display: table; - margin-left: auto; - margin-right: auto; -} -.mce-preview-object { - border: 1px solid gray; - display: inline-block; - line-height: 0; - margin: 0 2px 0 2px; - position: relative; -} -.mce-preview-object .mce-shim { - background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; -} -.mce-preview-object[data-mce-selected="2"] .mce-shim { - display: none; -} -.mce-object { - background: transparent - url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") - no-repeat center; - border: 1px dashed #aaa; -} -.mce-pagebreak { - border: 1px dashed #aaa; - cursor: default; - display: block; - height: 5px; - margin-top: 15px; - page-break-before: always; - width: 100%; -} -@media print { - .mce-pagebreak { - border: 0; - } -} -.tiny-pageembed .mce-shim { - background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; -} -.tiny-pageembed[data-mce-selected="2"] .mce-shim { - display: none; -} -.tiny-pageembed { - display: inline-block; - position: relative; -} -.tiny-pageembed--16by9, -.tiny-pageembed--1by1, -.tiny-pageembed--21by9, -.tiny-pageembed--4by3 { - display: block; - overflow: hidden; - padding: 0; - position: relative; - width: 100%; -} -.tiny-pageembed--21by9 { - padding-top: 42.857143%; -} -.tiny-pageembed--16by9 { - padding-top: 56.25%; -} -.tiny-pageembed--4by3 { - padding-top: 75%; -} -.tiny-pageembed--1by1 { - padding-top: 100%; -} -.tiny-pageembed--16by9 iframe, -.tiny-pageembed--1by1 iframe, -.tiny-pageembed--21by9 iframe, -.tiny-pageembed--4by3 iframe { - border: 0; - height: 100%; - left: 0; - position: absolute; - top: 0; - width: 100%; -} -.mce-content-body[data-mce-placeholder] { - position: relative; -} -.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { - color: rgba(34, 47, 62, 0.7); - content: attr(data-mce-placeholder); - position: absolute; -} -.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not( - .mce-visualblocks - )::before { - left: 1px; -} -.mce-content-body[dir="rtl"][data-mce-placeholder]:not( - .mce-visualblocks - )::before { - right: 1px; -} -.mce-content-body div.mce-resizehandle { - background-color: #4099ff; - border-color: #4099ff; - border-style: solid; - border-width: 1px; - box-sizing: border-box; - height: 10px; - position: absolute; - width: 10px; - z-index: 1298; -} -.mce-content-body div.mce-resizehandle:hover { - background-color: #4099ff; -} -.mce-content-body div.mce-resizehandle:nth-of-type(1) { - cursor: nwse-resize; -} -.mce-content-body div.mce-resizehandle:nth-of-type(2) { - cursor: nesw-resize; -} -.mce-content-body div.mce-resizehandle:nth-of-type(3) { - cursor: nwse-resize; -} -.mce-content-body div.mce-resizehandle:nth-of-type(4) { - cursor: nesw-resize; -} -.mce-content-body .mce-resize-backdrop { - z-index: 10000; -} -.mce-content-body .mce-clonedresizable { - cursor: default; - opacity: 0.5; - outline: 1px dashed #000; - position: absolute; - z-index: 10001; -} -.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, -.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { - border: 0; -} -.mce-content-body .mce-resize-helper { - background: #555; - background: rgba(0, 0, 0, 0.75); - border: 1px; - border-radius: 3px; - color: #fff; - display: none; - font-family: sans-serif; - font-size: 12px; - line-height: 14px; - margin: 5px 10px; - padding: 5px; - position: absolute; - white-space: nowrap; - z-index: 10002; -} -.tox-rtc-user-selection { - position: relative; -} -.tox-rtc-user-cursor { - bottom: 0; - cursor: default; - position: absolute; - top: 0; - width: 2px; -} -.tox-rtc-user-cursor::before { - background-color: inherit; - border-radius: 50%; - content: ""; - display: block; - height: 8px; - position: absolute; - right: -3px; - top: -3px; - width: 8px; -} -.tox-rtc-user-cursor:hover::after { - background-color: inherit; - border-radius: 100px; - box-sizing: border-box; - color: #fff; - content: attr(data-user); - display: block; - font-size: 12px; - font-weight: 700; - left: -5px; - min-height: 8px; - min-width: 8px; - padding: 0 12px; - position: absolute; - top: -11px; - white-space: nowrap; - z-index: 1000; -} -.tox-rtc-user-selection--1 .tox-rtc-user-cursor { - background-color: #2dc26b; -} -.tox-rtc-user-selection--2 .tox-rtc-user-cursor { - background-color: #e03e2d; -} -.tox-rtc-user-selection--3 .tox-rtc-user-cursor { - background-color: #f1c40f; -} -.tox-rtc-user-selection--4 .tox-rtc-user-cursor { - background-color: #3598db; -} -.tox-rtc-user-selection--5 .tox-rtc-user-cursor { - background-color: #b96ad9; -} -.tox-rtc-user-selection--6 .tox-rtc-user-cursor { - background-color: #e67e23; -} -.tox-rtc-user-selection--7 .tox-rtc-user-cursor { - background-color: #aaa69d; -} -.tox-rtc-user-selection--8 .tox-rtc-user-cursor { - background-color: #f368e0; -} -.tox-rtc-remote-image { - background: #eaeaea - url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") - no-repeat center center; - border: 1px solid #ccc; - min-height: 240px; - min-width: 320px; -} -.mce-match-marker { - background: #aaa; - color: #fff; -} -.mce-match-marker-selected { - background: #39f; - color: #fff; -} -.mce-match-marker-selected::-moz-selection { - background: #39f; - color: #fff; -} -.mce-match-marker-selected::selection { - background: #39f; - color: #fff; -} -.mce-content-body audio[data-mce-selected], -.mce-content-body embed[data-mce-selected], -.mce-content-body img[data-mce-selected], -.mce-content-body object[data-mce-selected], -.mce-content-body table[data-mce-selected], -.mce-content-body video[data-mce-selected] { - outline: 3px solid #b4d7ff; -} -.mce-content-body hr[data-mce-selected] { - outline: 3px solid #b4d7ff; - outline-offset: 1px; -} -.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { - outline: 3px solid #b4d7ff; -} -.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { - outline: 3px solid #b4d7ff; -} -.mce-content-body [contentEditable="false"][data-mce-selected] { - cursor: not-allowed; - outline: 3px solid #b4d7ff; -} -.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, -.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { - outline: 0; -} -.mce-content-body [data-mce-selected="inline-boundary"] { - background-color: #b4d7ff; -} -.mce-content-body .mce-edit-focus { - outline: 3px solid #b4d7ff; -} -.mce-content-body td[data-mce-selected], -.mce-content-body th[data-mce-selected] { - position: relative; -} -.mce-content-body td[data-mce-selected]::-moz-selection, -.mce-content-body th[data-mce-selected]::-moz-selection { - background: 0 0; -} -.mce-content-body td[data-mce-selected]::selection, -.mce-content-body th[data-mce-selected]::selection { - background: 0 0; -} -.mce-content-body td[data-mce-selected] *, -.mce-content-body th[data-mce-selected] * { - outline: 0; - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.mce-content-body td[data-mce-selected]::after, -.mce-content-body th[data-mce-selected]::after { - background-color: rgba(180, 215, 255, 0.7); - border: 1px solid rgba(180, 215, 255, 0.7); - bottom: -1px; - content: ""; - left: -1px; - mix-blend-mode: multiply; - position: absolute; - right: -1px; - top: -1px; -} -@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { - .mce-content-body td[data-mce-selected]::after, - .mce-content-body th[data-mce-selected]::after { - border-color: rgba(0, 84, 180, 0.7); - } -} -.mce-content-body img::-moz-selection { - background: 0 0; -} -.mce-content-body img::selection { - background: 0 0; -} -.ephox-snooker-resizer-bar { - background-color: #b4d7ff; - opacity: 0; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.ephox-snooker-resizer-cols { - cursor: col-resize; -} -.ephox-snooker-resizer-rows { - cursor: row-resize; -} -.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { - opacity: 1; -} -.mce-spellchecker-word { - background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); - background-position: 0 calc(100% + 1px); - background-repeat: repeat-x; - background-size: auto 6px; - cursor: default; - height: 2rem; -} -.mce-spellchecker-grammar { - background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); - background-position: 0 calc(100% + 1px); - background-repeat: repeat-x; - background-size: auto 6px; - cursor: default; -} -.mce-toc { - border: 1px solid gray; -} -.mce-toc h2 { - margin: 4px; -} -.mce-toc li { - list-style-type: none; -} -.mce-item-table:not([border]), -.mce-item-table:not([border]) caption, -.mce-item-table:not([border]) td, -.mce-item-table:not([border]) th, -.mce-item-table[border="0"], -.mce-item-table[border="0"] caption, -.mce-item-table[border="0"] td, -.mce-item-table[border="0"] th, -table[style*="border-width: 0px"], -table[style*="border-width: 0px"] caption, -table[style*="border-width: 0px"] td, -table[style*="border-width: 0px"] th { - border: 1px dashed #bbb; -} -.mce-visualblocks address, -.mce-visualblocks article, -.mce-visualblocks aside, -.mce-visualblocks blockquote, -.mce-visualblocks div:not([data-mce-bogus]), -.mce-visualblocks dl, -.mce-visualblocks figcaption, -.mce-visualblocks figure, -.mce-visualblocks h1, -.mce-visualblocks h2, -.mce-visualblocks h3, -.mce-visualblocks h4, -.mce-visualblocks h5, -.mce-visualblocks h6, -.mce-visualblocks hgroup, -.mce-visualblocks ol, -.mce-visualblocks p, -.mce-visualblocks pre, -.mce-visualblocks section, -.mce-visualblocks ul { - background-repeat: no-repeat; - border: 1px dashed #bbb; - margin-left: 3px; - padding-top: 10px; -} -.mce-visualblocks p { - background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); -} -.mce-visualblocks h1 { - background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); -} -.mce-visualblocks h2 { - background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); -} -.mce-visualblocks h3 { - background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); -} -.mce-visualblocks h4 { - background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); -} -.mce-visualblocks h5 { - background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); -} -.mce-visualblocks h6 { - background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); -} -.mce-visualblocks div:not([data-mce-bogus]) { - background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); -} -.mce-visualblocks section { - background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); -} -.mce-visualblocks article { - background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); -} -.mce-visualblocks blockquote { - background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); -} -.mce-visualblocks address { - background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); -} -.mce-visualblocks pre { - background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); -} -.mce-visualblocks figure { - background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); -} -.mce-visualblocks figcaption { - border: 1px dashed #bbb; -} -.mce-visualblocks hgroup { - background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); -} -.mce-visualblocks aside { - background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); -} -.mce-visualblocks ul { - background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); -} -.mce-visualblocks ol { - background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); -} -.mce-visualblocks dl { - background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); -} -.mce-visualblocks:not([dir="rtl"]) address, -.mce-visualblocks:not([dir="rtl"]) article, -.mce-visualblocks:not([dir="rtl"]) aside, -.mce-visualblocks:not([dir="rtl"]) blockquote, -.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), -.mce-visualblocks:not([dir="rtl"]) dl, -.mce-visualblocks:not([dir="rtl"]) figcaption, -.mce-visualblocks:not([dir="rtl"]) figure, -.mce-visualblocks:not([dir="rtl"]) h1, -.mce-visualblocks:not([dir="rtl"]) h2, -.mce-visualblocks:not([dir="rtl"]) h3, -.mce-visualblocks:not([dir="rtl"]) h4, -.mce-visualblocks:not([dir="rtl"]) h5, -.mce-visualblocks:not([dir="rtl"]) h6, -.mce-visualblocks:not([dir="rtl"]) hgroup, -.mce-visualblocks:not([dir="rtl"]) ol, -.mce-visualblocks:not([dir="rtl"]) p, -.mce-visualblocks:not([dir="rtl"]) pre, -.mce-visualblocks:not([dir="rtl"]) section, -.mce-visualblocks:not([dir="rtl"]) ul { - margin-left: 3px; -} -.mce-visualblocks[dir="rtl"] address, -.mce-visualblocks[dir="rtl"] article, -.mce-visualblocks[dir="rtl"] aside, -.mce-visualblocks[dir="rtl"] blockquote, -.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), -.mce-visualblocks[dir="rtl"] dl, -.mce-visualblocks[dir="rtl"] figcaption, -.mce-visualblocks[dir="rtl"] figure, -.mce-visualblocks[dir="rtl"] h1, -.mce-visualblocks[dir="rtl"] h2, -.mce-visualblocks[dir="rtl"] h3, -.mce-visualblocks[dir="rtl"] h4, -.mce-visualblocks[dir="rtl"] h5, -.mce-visualblocks[dir="rtl"] h6, -.mce-visualblocks[dir="rtl"] hgroup, -.mce-visualblocks[dir="rtl"] ol, -.mce-visualblocks[dir="rtl"] p, -.mce-visualblocks[dir="rtl"] pre, -.mce-visualblocks[dir="rtl"] section, -.mce-visualblocks[dir="rtl"] ul { - background-position-x: right; - margin-right: 3px; -} -.mce-nbsp, -.mce-shy { - background: #aaa; -} -.mce-shy::after { - content: "-"; -} -body { - font-family: sans-serif; -} -table { - border-collapse: collapse; -} +.mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center}.mce-content-body .mce-item-anchor:empty{cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor:not(:empty){background-position-x:2px;display:inline-block;padding-left:12px}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment[contenteditable=false]:not([data-mce-selected]),.tox-comments-visible span.tox-comment img:not([data-mce-selected]),.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment>video:not([data-mce-selected]){outline:3px solid #ffe89d}.tox-comments-visible .tox-comment[contenteditable=false][data-mce-annotation-active=true]:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] img:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true] span.mce-preview-object:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>audio:not([data-mce-selected]),.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]>video:not([data-mce-selected]){outline:3px solid #fed635}.tox-comments-visible span.tox-comment:not([data-mce-selected]){background-color:#ffe89d;outline:0}.tox-comments-visible span.tox-comment[data-mce-annotation-active=true]:not([data-mce-selected=inline-boundary]){background-color:#fed635}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{content:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentColor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-2000000px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}div.mce-footnotes hr{margin-inline-end:auto;margin-inline-start:0;width:25%}div.mce-footnotes li>a.mce-footnotes-backlink{text-decoration:none}@media print{sup.mce-footnote a{color:#000;text-decoration:none}div.mce-footnotes{break-inside:avoid;width:100%}div.mce-footnotes li>a.mce-footnotes-backlink{display:none}}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-content-body .mce-mergetag{cursor:default!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body .mce-mergetag:hover{background-color:rgba(0,108,231,.1)}.mce-content-body .mce-mergetag-affix{background-color:rgba(0,108,231,.1);color:#006ce7}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--21by9{padding-top:42.857143%}.tiny-pageembed--16by9{padding-top:56.25%}.tiny-pageembed--4by3{padding-top:75%}.tiny-pageembed--1by1{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body[data-mce-placeholder]{position:relative}.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before{color:rgba(34,47,62,.7);content:attr(data-mce-placeholder);position:absolute}.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before{left:1px}.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before{right:1px}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:1298}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-resize-backdrop{z-index:10000}.mce-content-body .mce-clonedresizable{cursor:default;opacity:.5;outline:1px dashed #000;position:absolute;z-index:10001}.mce-content-body .mce-clonedresizable.mce-resizetable-columns td,.mce-content-body .mce-clonedresizable.mce-resizetable-columns th{border:0}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10002}.tox-rtc-user-selection{position:relative}.tox-rtc-user-cursor{bottom:0;cursor:default;position:absolute;top:0;width:2px}.tox-rtc-user-cursor::before{background-color:inherit;border-radius:50%;content:'';display:block;height:8px;position:absolute;right:-3px;top:-3px;width:8px}.tox-rtc-user-cursor:hover::after{background-color:inherit;border-radius:100px;box-sizing:border-box;color:#fff;content:attr(data-user);display:block;font-size:12px;font-weight:700;left:-5px;min-height:8px;min-width:8px;padding:0 12px;position:absolute;top:-11px;white-space:nowrap;z-index:1000}.tox-rtc-user-selection--1 .tox-rtc-user-cursor{background-color:#2dc26b}.tox-rtc-user-selection--2 .tox-rtc-user-cursor{background-color:#e03e2d}.tox-rtc-user-selection--3 .tox-rtc-user-cursor{background-color:#f1c40f}.tox-rtc-user-selection--4 .tox-rtc-user-cursor{background-color:#3598db}.tox-rtc-user-selection--5 .tox-rtc-user-cursor{background-color:#b96ad9}.tox-rtc-user-selection--6 .tox-rtc-user-cursor{background-color:#e67e23}.tox-rtc-user-selection--7 .tox-rtc-user-cursor{background-color:#aaa69d}.tox-rtc-user-selection--8 .tox-rtc-user-cursor{background-color:#f368e0}.tox-rtc-remote-image{background:#eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center;border:1px solid #ccc;min-height:240px;min-width:320px}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-match-marker-selected::-moz-selection{background:#39f;color:#fff}.mce-match-marker-selected::selection{background:#39f;color:#fff}.mce-content-body audio[data-mce-selected],.mce-content-body details[data-mce-selected],.mce-content-body embed[data-mce-selected],.mce-content-body img[data-mce-selected],.mce-content-body object[data-mce-selected],.mce-content-body table[data-mce-selected],.mce-content-body video[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{position:relative}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{outline:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{background-color:rgba(180,215,255,.7);border:1px solid rgba(180,215,255,.7);bottom:-1px;content:'';left:-1px;mix-blend-mode:multiply;position:absolute;right:-1px;top:-1px}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.mce-content-body td[data-mce-selected]::after,.mce-content-body th[data-mce-selected]::after{border-color:rgba(0,84,180,.7)}}.mce-content-body img[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body img[data-mce-selected]::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc ul>li{list-style-type:none}[data-mce-block]{display:block}.mce-item-table:not([border]),.mce-item-table:not([border]) caption,.mce-item-table:not([border]) td,.mce-item-table:not([border]) th,.mce-item-table[border="0"],.mce-item-table[border="0"] caption,.mce-item-table[border="0"] td,.mce-item-table[border="0"] th,table[style*="border-width: 0px"],table[style*="border-width: 0px"] caption,table[style*="border-width: 0px"] td,table[style*="border-width: 0px"] th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse} diff --git a/app/client/public/static/js/skins/ui/oxide/skin.css b/app/client/public/static/js/skins/ui/oxide/skin.css new file mode 100644 index 000000000000..c63743a83fb4 --- /dev/null +++ b/app/client/public/static/js/skins/ui/oxide/skin.css @@ -0,0 +1,4090 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #222f3e; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 2px solid #eeeeee; + border-radius: 10px; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #fff; + border: 2px solid #eeeeee; + border-radius: 10px; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border-radius: 6px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > div > div .tox-icon svg { + display: block; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(0, 101, 216, 0.1); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon { + background-color: #006ce7; + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:focus { + background-color: #0060ce; +} +.tox .tox-dialog__body-content .accessibility-issue--info a.tox-button--naked.tox-button--icon:active { + background-color: #0054b4; +} +.tox .tox-dialog__body-content .accessibility-issue--warn { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.08); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #8f5d00; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #8f5d00; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon { + background-color: #FFE89D; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:focus { + background-color: #F2D574; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a.tox-button--naked.tox-button--icon:active { + background-color: #E8C657; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.1); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon { + background-color: #F2BFBF; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:hover, +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:focus { + background-color: #E9A4A4; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error a.tox-button--naked.tox-button--icon:active { + background-color: #EE9494; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.1); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + display: none; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #527530; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #527530; +} +.tox .tox-dialog__body-content .accessibility-issue__header .tox-form__group h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + font-size: 14px; + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox .mce-codemirror { + background: #fff; + bottom: 0; + font-size: 13px; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .mce-codemirror.tox-inline-codemirror { + margin: 8px; + position: absolute; +} +.tox .tox-advtemplate .tox-form__grid { + flex: 1; +} +.tox .tox-advtemplate .tox-form__grid > div:first-child { + display: flex; + flex-direction: column; + width: 30%; +} +.tox .tox-advtemplate .tox-form__grid > div:first-child > div:nth-child(2) { + flex-basis: 0; + flex-grow: 1; + overflow: auto; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-advtemplate .tox-form__grid > div:first-child { + width: 100%; + } +} +.tox .tox-advtemplate iframe { + border-color: #eeeeee; + border-radius: 10px; + border-style: solid; + border-width: 1px; + margin: 0 10px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bottom-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #006ce7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #006ce7; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 6px; + bottom: -1px; + box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px #006ce7; + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #006ce7; + background-image: none; + border-color: #006ce7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled[disabled] { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button.tox-button--enabled:focus:not(:disabled) { + background-color: #00489b; + background-image: none; + border-color: #00489b; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled:hover:not(:disabled) { + background-color: #00489b; + background-image: none; + border-color: #00489b; + box-shadow: none; + color: #fff; +} +.tox .tox-button.tox-button--enabled:active:not(:disabled) { + background-color: #003c81; + background-image: none; + border-color: #003c81; + box-shadow: none; + color: #fff; +} +.tox .tox-button--icon-and-text, +.tox .tox-button.tox-button--icon-and-text, +.tox .tox-button.tox-button--secondary.tox-button--icon-and-text { + display: flex; + padding: 5px 4px; +} +.tox .tox-button--icon-and-text .tox-icon svg, +.tox .tox-button.tox-button--icon-and-text .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon-and-text .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button--secondary { + background-color: #f0f0f0; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #f0f0f0; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #f0f0f0; + background-image: none; + border-color: #f0f0f0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #d6d6d6; + background-image: none; + border-color: #d6d6d6; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary.tox-button--enabled { + background-color: #a8c8ed; + background-image: none; + border-color: #a8c8ed; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary.tox-button--enabled[disabled] { + background-color: #a8c8ed; + background-image: none; + border-color: #a8c8ed; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--secondary.tox-button--enabled:focus:not(:disabled) { + background-color: #93bbe9; + background-image: none; + border-color: #93bbe9; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary.tox-button--enabled:hover:not(:disabled) { + background-color: #93bbe9; + background-image: none; + border-color: #93bbe9; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary.tox-button--enabled:active:not(:disabled) { + background-color: #7daee4; + background-image: none; + border-color: #7daee4; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked[disabled] { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: rgba(34, 47, 62, 0.18); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #222f3e; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 6px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 6px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(34, 47, 62, 0.3); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox--disabled { + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 6px; + box-shadow: inset 0 0 0 1px #006ce7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: #e3e3e3; + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: #fcfcfc; + color: rgba(34, 47, 62, 0.7); + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #222f3e; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #fff; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #006ce7; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled, +.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active, +.tox .tox-collection--toolbar .tox-collection__item--enabled.tox-collection__item--active:hover { + background-color: #a6ccf7; + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #fff; + position: relative; +} +.tox .tox-collection--toolbar .tox-collection__item--active:hover { + background-color: #f0f0f0; + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active:focus { + background-color: #f0f0f0; + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active:focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #a6ccf7; + color: #222f3e; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #f0f0f0; + color: #222f3e; + position: relative; + z-index: 1; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled):focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 'inset'; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + max-width: 100%; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: currentColor; + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: currentColor; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #fff; + border: 1px solid #e3e3e3; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 28px; + margin: 6px 1px 5px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-spectrum:focus, +.tox .tox-sv-palette-spectrum:focus { + outline: #08f solid; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 5px 0 6px 11px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px -4px; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #222f3e; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #f0f0f0; +} +.tox div.tox-swatch:not(.tox-swatch--remove) svg { + display: none; + fill: #222f3e; + height: 24px; + margin: calc((30px - 24px) / 2) calc((30px - 24px) / 2); + width: 24px; +} +.tox div.tox-swatch:not(.tox-swatch--remove) svg path { + fill: #fff; + paint-order: stroke; + stroke: #222f3e; + stroke-width: 2px; +} +.tox div.tox-swatch:not(.tox-swatch--remove).tox-collection__item--enabled svg { + display: block; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #fff; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #fff; + border: 1px solid #eeeeee; + border-radius: 6px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #222f3e; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #222f3e; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(34, 47, 62, 0.7); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #fff; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(255, 255, 255, 0), #fff); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #fff; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #222f3e; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #fff; + box-shadow: 0 0 8px 8px #fff; + color: #222f3e; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #fff; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(34, 47, 62, 0.7); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #fff; +} +.tox .tox-dialog { + background-color: #fff; + border-color: #eeeeee; + border-radius: 10px; + border-style: solid; + border-width: 0px; + box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #fff; + border-bottom: none; + color: #222f3e; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #222f3e; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + flex-shrink: 0; + padding: 16px 16px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-dialog__body-nav { + max-width: 11em; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(34, 47, 62, 0.7); + display: inline-block; + flex-shrink: 0; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + max-width: 13em; + text-decoration: none; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(0, 108, 231, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #006ce7; + color: #006ce7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: min(650px, calc(100vh - 110px)); + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #006ce7; + cursor: pointer; + text-decoration: underline; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #003c81; + text-decoration: underline; +} +.tox .tox-dialog__body-content a:focus-visible { + border-radius: 1px; + outline: 2px solid #006ce7; + outline-offset: 2px; +} +.tox .tox-dialog__body-content a:active { + color: #00244e; + text-decoration: underline; +} +.tox .tox-dialog__body-content svg { + fill: #222f3e; +} +.tox .tox-dialog__body-content strong { + font-weight: bold; +} +.tox .tox-dialog__body-content ul { + list-style-type: disc; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dd { + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dl { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content ul, +.tox .tox-dialog__body-content ol, +.tox .tox-dialog__body-content dl, +.tox .tox-dialog__body-content dd, +.tox .tox-dialog__body-content dt { + display: block; + margin-inline-end: 0; + margin-inline-start: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #222f3e; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #222f3e; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--center { + text-align: center; +} +.tox .tox-dialog__body-content .tox-form__group .tox-label.tox-label--end { + text-align: end; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--fullscreen { + height: 100%; + max-width: 100%; +} +.tox .tox-dialog--fullscreen .tox-dialog__body-content { + max-height: 100%; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #fff; + border-top: none; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table thead th:first-child { + padding-right: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #626262; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__table td:first-child { + padding-right: 8px; +} +.tox .tox-dialog__iframe { + min-height: 200px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-navobj-bordered { + position: relative; +} +.tox .tox-navobj-bordered::before { + border: 1px solid #eeeeee; + border-radius: 6px; + content: ''; + inset: 0; + opacity: 1; + pointer-events: none; + position: absolute; + z-index: 1; +} +.tox .tox-navobj-bordered-focus.tox-navobj-bordered::before { + border-color: #006ce7; + box-shadow: 0 0 0 1px #006ce7; + outline: none; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #eeeeee; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(34, 47, 62, 0.7); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area::before { + border: 2px solid #006ce7; + border-radius: 4px; + content: ''; + inset: 0; + opacity: 0; + pointer-events: none; + position: absolute; + transition: opacity 0.15s; + z-index: 1; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-edit-focus .tox-edit-area::before { + opacity: 1; +} +.tox.tox-inline-edit-area { + border: 1px dotted #eeeeee; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 2; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #fff; + border-bottom: none; + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.1), 0 8px 8px -4px rgba(34, 47, 62, 0.07); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(.tox-editor-dock-transition) { + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid #e3e3e3; + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #fff; + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.2), 0 8px 8px -4px rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.2), 0 8px 8px -4px rgba(34, 47, 62, 0.15); +} +.tox.tox:not(.tox-tinymce-inline) .tox-editor-header.tox-editor-header--empty { + background: none; + border: none; + box-shadow: none; + padding: 0; +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(34, 47, 62, 0.2); + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #006ce7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #fff; + border-radius: 6px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea, +.tox .tox-textarea-wrap .tox-textarea:focus { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea-wrap:focus-within, +.tox .tox-textarea:focus, +.tox .tox-custom-editor:focus-within { + background-color: #fff; + border-color: #006ce7; + box-shadow: 0 0 0 1px #006ce7; + outline: none; +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #006ce7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #222f3e; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #222f3e; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #fff; + border-color: #006ce7; + box-shadow: 0 0 0 1px #006ce7; + outline: none; +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea-wrap { + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + display: flex; + flex: 1; + overflow: hidden; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox .tox-textarea-wrap .tox-textarea { + border: none; +} +.tox .tox-textarea-wrap .tox-textarea:focus { + border: none; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + background-color: #fff; + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: #eeeeee; + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: #006ce7; + border-color: #eeeeee; +} +.tox .tox-insert-table-picker__label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #fff; + border: 1px solid transparent; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 4px; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 8px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 8px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } + .tox .tox-dialog__popups .tox-menu .tox-collection__item-label { + word-break: break-all; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #fff; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 11px 0 12px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #fff; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: #fff; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 5px 1px 6px 0; + outline: none; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: #fff; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #fff; + border: 0; + box-shadow: none; + color: #222f3e; + position: relative; + z-index: 1; +} +.tox .tox-mbtn:focus:not(:disabled)::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-mbtn--active, +.tox .tox-mbtn:not(:disabled).tox-mbtn--active:focus { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #f0f0f0; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #e4eeda; + border-color: #d7e6c8; + color: #222f3e; +} +.tox .tox-notification--success p { + color: #222f3e; +} +.tox .tox-notification--success a { + color: #517342; +} +.tox .tox-notification--success svg { + fill: #222f3e; +} +.tox .tox-notification--error { + background-color: #f5cccc; + border-color: #f0b3b3; + color: #222f3e; +} +.tox .tox-notification--error p { + color: #222f3e; +} +.tox .tox-notification--error a { + color: #77181f; +} +.tox .tox-notification--error svg { + fill: #222f3e; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #fff5cc; + border-color: #fff0b3; + color: #222f3e; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #222f3e; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #7a6e25; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #222f3e; +} +.tox .tox-notification--info { + background-color: #d6e7fb; + border-color: #c1dbf9; + color: #222f3e; +} +.tox .tox-notification--info p { + color: #222f3e; +} +.tox .tox-notification--info a { + color: #2a64a6; +} +.tox .tox-notification--info svg { + fill: #222f3e; +} +.tox .tox-notification__body { + align-self: center; + color: #222f3e; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #fff; + border: 1px solid #eeeeee; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #fff transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #eeeeee transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #fff transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #eeeeee transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #fff transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #eeeeee transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #fff; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #eeeeee; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #fff; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #eeeeee; + border-radius: 6px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #006ce7; + border: 2px solid #0054b4; + border-radius: 6px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(34, 47, 62, 0.7); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #fff; + border-top: 1px solid #e3e3e3; + color: rgba(34, 47, 62, 0.7); + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-weight: normal; + height: 25px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: none; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__right-container { + display: flex; + justify-content: flex-end; + white-space: nowrap; +} +.tox .tox-statusbar__help-text { + text-align: center; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: space-between; +} +@media only screen and (min-width: 768px ) { + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__help-text, + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__right-container, + .tox .tox-statusbar__text-container.tox-statusbar__text-container-3-cols > .tox-statusbar__path { + flex: 0 0 calc(100% / 3); + } +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-end { + justify-content: flex-end; +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--flex-start { + justify-content: flex-start; +} +.tox .tox-statusbar__text-container.tox-statusbar__text-container--space-around { + justify-content: space-around; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +@media only screen and (max-width: 767px ) { + .tox .tox-statusbar__text-container .tox-statusbar__help-text { + display: none; + } + .tox .tox-statusbar__text-container .tox-statusbar__help-text:only-child { + display: block; + } +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: rgba(34, 47, 62, 0.7); + position: relative; + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #222f3e; + cursor: pointer; +} +.tox .tox-statusbar a:focus-visible::after, +.tox .tox-statusbar__path-item:focus-visible::after, +.tox .tox-statusbar__wordcount:focus-visible::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-statusbar__branding svg { + fill: rgba(34, 47, 62, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #222f3e; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-bottom: 3px; + margin-left: 4px; + margin-right: calc(3px - 8px); + margin-top: 3px; + padding-bottom: 0; + padding-left: 0; + padding-right: 0; + position: relative; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-statusbar__resize-handle:hover svg, +.tox .tox-statusbar__resize-handle:focus svg { + fill: #222f3e; +} +.tox .tox-statusbar__resize-handle:focus-visible { + background-color: transparent; + border-radius: 1px 1px 5px 1px; + box-shadow: 0 0 0 2px transparent; +} +.tox .tox-statusbar__resize-handle:focus-visible::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: #fff; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 6px 1px 5px 0; + outline: none; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #222f3e; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #fff; + border: 0; + box-shadow: none; + position: relative; + z-index: 1; +} +.tox .tox-tbtn:focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn:hover { + background: #f0f0f0; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:hover svg { + fill: #222f3e; +} +.tox .tox-tbtn:active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:active svg { + fill: #222f3e; +} +.tox .tox-tbtn--disabled .tox-tbtn--enabled svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: #fff; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--active, +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover, +.tox .tox-tbtn--enabled:focus { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; + position: relative; +} +.tox .tox-tbtn--active > *, +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > *, +.tox .tox-tbtn--enabled:focus > * { + transform: none; +} +.tox .tox-tbtn--active svg, +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg, +.tox .tox-tbtn--enabled:focus svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #222f3e; +} +.tox .tox-tbtn--active.tox-tbtn--disabled svg, +.tox .tox-tbtn--enabled.tox-tbtn--disabled svg, +.tox .tox-tbtn--enabled:hover.tox-tbtn--disabled svg, +.tox .tox-tbtn--enabled:focus.tox-tbtn--disabled svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--enabled:focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #222f3e; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 42px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 56px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-number-input { + background: #f7f7f7; + border-radius: 3px; + display: flex; + margin: 6px 1px 5px 0; + position: relative; + width: auto; +} +.tox .tox-number-input:focus { + background: #f7f7f7; +} +.tox .tox-number-input:focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-number-input .tox-input-wrapper { + display: flex; + pointer-events: none; + position: relative; + text-align: center; +} +.tox .tox-number-input .tox-input-wrapper:focus { + background-color: #f7f7f7; + z-index: 1; +} +.tox .tox-number-input .tox-input-wrapper:focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-number-input .tox-input-wrapper:has(input:focus)::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-number-input input { + border-radius: 3px; + color: #222f3e; + font-size: 14px; + margin: 2px 0; + pointer-events: all; + position: relative; + width: 60px; +} +.tox .tox-number-input input:hover { + background: #f0f0f0; + color: #222f3e; +} +.tox .tox-number-input input:focus { + background-color: #f7f7f7; +} +.tox .tox-number-input input:disabled { + background: #fff; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-number-input button { + color: #222f3e; + height: 28px; + position: relative; + text-align: center; + width: 24px; +} +.tox .tox-number-input button svg { + display: block; + fill: #222f3e; + margin: 0 auto; + transform: scale(0.67); +} +.tox .tox-number-input button:focus { + background: #f7f7f7; + z-index: 1; +} +.tox .tox-number-input button:focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-number-input button:hover { + background: #f0f0f0; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-number-input button:hover svg { + fill: #222f3e; +} +.tox .tox-number-input button:active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-number-input button:active svg { + fill: #222f3e; +} +.tox .tox-number-input button:disabled { + background: #fff; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-number-input button:disabled svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-number-input button.minus { + border-radius: 3px 0 0 3px; +} +.tox .tox-number-input button.plus { + border-radius: 0 3px 3px 0; +} +.tox .tox-number-input:focus:not(:active) > button, +.tox .tox-number-input:focus:not(:active) > .tox-input-wrapper { + background: #f7f7f7; +} +.tox .tox-tbtn--select { + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + height: initial; + margin: 0 4px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--bespoke { + background: #f7f7f7; +} +.tox .tox-tbtn--bespoke:focus { + background: #f7f7f7; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 4px; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-tbtn--disabled .tox-tbtn__select-label, +.tox .tox-tbtn--select:disabled .tox-tbtn__select-label { + cursor: not-allowed; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 6px 1px 5px 0; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #f0f0f0 inset; +} +.tox .tox-split-button:focus { + background: #fff; + box-shadow: none; + color: #222f3e; + position: relative; + z-index: 1; +} +.tox .tox-split-button:focus::after { + pointer-events: none; + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button > *:nth-child(1) { + border-bottom-left-radius: 3px; + border-top-left-radius: 3px; +} +.tox .tox-split-button > *:nth-child(2) { + border-bottom-right-radius: 3px; + border-top-right-radius: 3px; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button:focus .tox-tbtn { + background-color: transparent; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: #fff; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-text-color__color, +.tox .tox-split-button.tox-tbtn--disabled svg #tox-icon-highlight-bg-color__color { + opacity: 0.6; +} +.tox .tox-toolbar-overlord { + background-color: #fff; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-attachment: local; + background-color: #fff; + background-image: repeating-linear-gradient(#e3e3e3 0px 1px, transparent 1px 39px); + background-position: center top 40px; + background-repeat: no-repeat; + background-size: calc(100% - 11px * 2) calc(100% - 41px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 11px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid transparent; + margin-top: -1px; + padding-bottom: 1px; + padding-top: 1px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #fff; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + overscroll-behavior: none; + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 11px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 11px 0 12px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox .tox-tooltip { + display: inline-block; + max-width: 15em; + padding: 8px; + /* + * The pointer-events: none is designed to make mouse events bleed through the tooltip + * to the underlying items. For example, a mouse hovering over a tooltip that hovers over + * another item should trigger the hover of the item obscured by the tooltip, even though + * the tooltip is on top + */ + pointer-events: none; + position: relative; + z-index: 1150; +} +.tox .tox-tooltip__body { + background-color: #222f3e; + border-radius: 6px; + box-shadow: none; + color: #fff; + font-size: 12px; + font-style: normal; + font-weight: 600; + overflow-wrap: break-word; + padding: 4px 6px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #222f3e; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #222f3e; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #222f3e; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #222f3e; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tree { + display: flex; + flex-direction: column; +} +.tox .tox-tree .tox-trbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 4px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + margin-bottom: 4px; + margin-top: 4px; + outline: none; + overflow: hidden; + padding: 0; + padding-left: 8px; + text-transform: none; +} +.tox .tox-tree .tox-trbtn .tox-tree__label { + cursor: default; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-tree .tox-trbtn svg { + display: block; + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:focus { + background: #f0f0f0; + border: 0; + box-shadow: none; +} +.tox .tox-tree .tox-trbtn:hover { + background: #f0f0f0; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tree .tox-trbtn:hover svg { + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tree .tox-trbtn:active svg { + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn--disabled, +.tox .tox-tree .tox-trbtn--disabled:hover, +.tox .tox-tree .tox-trbtn:disabled, +.tox .tox-tree .tox-trbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-tree .tox-trbtn--disabled svg, +.tox .tox-tree .tox-trbtn--disabled:hover svg, +.tox .tox-tree .tox-trbtn:disabled svg, +.tox .tox-tree .tox-trbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tree .tox-trbtn--enabled, +.tox .tox-tree .tox-trbtn--enabled:hover { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tree .tox-trbtn--enabled > *, +.tox .tox-tree .tox-trbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tree .tox-trbtn--enabled svg, +.tox .tox-tree .tox-trbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) { + color: #222f3e; +} +.tox .tox-tree .tox-trbtn:focus:not(.tox-trbtn--disabled) svg { + fill: #222f3e; +} +.tox .tox-tree .tox-trbtn:active > * { + transform: none; +} +.tox .tox-tree .tox-trbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tree .tox-trbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tree .tox-trbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tree .tox-tree--directory { + display: flex; + flex-direction: column; + /* stylelint-disable no-descending-specificity */ +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label { + font-weight: bold; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn { + margin-left: auto; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn svg { + fill: transparent; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn.tox-mbtn--active svg, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-mbtn:focus svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover .tox-mbtn svg, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:focus .tox-mbtn svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) { + background-color: transparent; + color: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:hover:has(.tox-mbtn:hover) .tox-chevron svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label .tox-chevron { + margin-right: 6px; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--shrinking) .tox-chevron { + transition: transform 0.5s ease-in-out; +} +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--growing) .tox-chevron, +.tox .tox-tree .tox-tree--directory .tox-tree--directory__label:has(+ .tox-tree--directory__children--open) .tox-chevron { + transform: rotate(90deg); +} +.tox .tox-tree .tox-tree--leaf__label { + font-weight: normal; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn { + margin-left: auto; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg { + fill: transparent; +} +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg, +.tox .tox-tree .tox-tree--leaf__label .tox-mbtn:focus svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--leaf__label:hover .tox-mbtn svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) { + background-color: transparent; + color: #222f3e; +} +.tox .tox-tree .tox-tree--leaf__label:hover:has(.tox-mbtn:hover) .tox-chevron svg { + fill: #222f3e; +} +.tox .tox-tree .tox-tree--directory__children { + overflow: hidden; + padding-left: 16px; +} +.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--growing, +.tox .tox-tree .tox-tree--directory__children.tox-tree--directory__children--shrinking { + transition: height 0.5s ease-in-out; +} +.tox .tox-tree .tox-trbtn.tox-tree--leaf__label { + display: flex; + justify-content: space-between; +} +.tox .tox-revisionhistory__pane { + padding: 0 !important; + /* Override the default padding of tox-view__pane */ +} +.tox .tox-revisionhistory__container { + display: flex; + flex-direction: column; + height: 100%; +} +.tox .tox-revisionhistory { + background-color: #fff; + border-radius: 4px; + border-top: 1px solid #eeeeee; + display: flex; + flex: 1; + height: 100%; + margin-top: 8px; + overflow: 'auto'; + position: relative; + width: 100%; +} +.tox .tox-revisionhistroy--align-right { + margin-left: auto; +} +.tox .tox-revisionhistory__iframe { + flex: 1; +} +.tox .tox-revisionhistory__sidebar { + border-left: 1px solid #eeeeee; + height: 100%; + max-width: 360px; + overflow-x: auto; + overflow-y: hidden; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__sidebar-title { + border-bottom: 1px solid #eeeeee; + color: #222f3e; + font-size: 20px; + font-weight: 400; + height: 60px; + min-width: 192px; + padding: 16px; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions { + flex-direction: column; + max-height: calc(100% - 60px); + min-width: 192px; + overflow-y: auto; + padding: 8px; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus { + height: 100%; + position: relative; + z-index: 1; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions:focus::after { + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; + border-radius: 6px; + bottom: 1px; + left: 1px; + right: 1px; + top: 1px; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card { + border: 1px solid #eeeeee; + border-radius: 6px; + color: #222f3e; + cursor: pointer; + font-size: 14px; + margin-bottom: 8px; + padding: 8px; + text-overflow: ellipsis; + text-wrap: nowrap; + width: 100%; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:hover { + background-color: #f0f0f0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus { + position: relative; + z-index: 1; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card:focus::after { + border-radius: 6px !important; + border-radius: 3px; + bottom: 0; + box-shadow: 0 0 0 2px #006ce7 ; + content: ''; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__card.tox-revisionhistory__card--selected { + background-color: #a6ccf7; + box-shadow: none; + color: #222f3e; +} +.tox .tox-revisionhistory__sidebar .tox-revisionhistory__revisions .tox-revisionhistory__norevision { + color: rgba(34, 47, 62, 0.7); + font-size: 16px; + line-height: 24px; + padding: 5px 5.5px; +} +.tox .tox-view-wrap, +.tox .tox-view-wrap__slot-container { + background-color: #fff; + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-view { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-view__header { + align-items: center; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 8px 0 8px; + position: relative; +} +.tox .tox-view__label { + color: #222f3e; + font-weight: bold; + line-height: 24px; + padding: 4px 16px; + text-align: center; +} +.tox .tox-view__label--normal { + font-size: 16px; +} +.tox .tox-view__label--large { + font-size: 20px; +} +.tox .tox-view--mobile.tox-view__header, +.tox .tox-view--mobile.tox-view__toolbar { + padding: 8px; +} +.tox .tox-view--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-view__toolbar { + display: flex; + flex-direction: row; + gap: 8px; + justify-content: space-between; + padding: 8px 8px 0 8px; +} +.tox .tox-view__toolbar__group { + display: flex; + flex-direction: row; + gap: 12px; +} +.tox .tox-view__header-start, +.tox .tox-view__header-end { + display: flex; +} +.tox .tox-view__pane { + height: 100%; + padding: 8px; + position: relative; + width: 100%; +} +.tox .tox-view__pane_panel { + border: 1px solid #eeeeee; + border-radius: 6px; +} +.tox:not([dir=rtl]) .tox-view__header .tox-view__header-start > *, +.tox:not([dir=rtl]) .tox-view__header .tox-view__header-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-view__header .tox-view__header-start > *, +.tox[dir=rtl] .tox-view__header .tox-view__header-end > * { + margin-right: 8px; +} +.tox .tox-well { + border: 1px solid #eeeeee; + border-radius: 6px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #eeeeee; + border-radius: 6px; + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} diff --git a/app/client/src/AppErrorBoundry.tsx b/app/client/src/AppErrorBoundry.tsx index c195bc8c5ef3..d59a0a53ef27 100644 --- a/app/client/src/AppErrorBoundry.tsx +++ b/app/client/src/AppErrorBoundry.tsx @@ -3,8 +3,8 @@ import styled from "styled-components"; import AppCrashImage from "assets/images/404-image.png"; import * as Sentry from "@sentry/react"; import log from "loglevel"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Button } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Button } from "@appsmith/ads"; const Wrapper = styled.div` display: flex; diff --git a/app/client/src/IDE/Components/BottomView.tsx b/app/client/src/IDE/Components/BottomView.tsx index 19bddbe3d705..022a4fe89adc 100644 --- a/app/client/src/IDE/Components/BottomView.tsx +++ b/app/client/src/IDE/Components/BottomView.tsx @@ -5,7 +5,7 @@ import Resizer, { } from "components/editorComponents/Debugger/Resizer"; import { CodeEditorWithGutterStyles } from "pages/Editor/JSEditor/styledComponents"; import { ViewDisplayMode, ViewHideBehaviour } from "IDE/Interfaces/View"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; const VIEW_MIN_HEIGHT = 38; diff --git a/app/client/src/IDE/Components/FileTab.tsx b/app/client/src/IDE/Components/FileTab.tsx index 9adbf76867f7..9d8912d44b80 100644 --- a/app/client/src/IDE/Components/FileTab.tsx +++ b/app/client/src/IDE/Components/FileTab.tsx @@ -2,7 +2,7 @@ import React from "react"; import styled from "styled-components"; import clsx from "classnames"; -import { Flex, Icon } from "design-system"; +import { Flex, Icon } from "@appsmith/ads"; import { sanitizeString } from "utils/URLUtils"; interface FileTabProps { diff --git a/app/client/src/IDE/Components/HeaderDropdown.tsx b/app/client/src/IDE/Components/HeaderDropdown.tsx index 6ad1b0ec46fe..28777fc3f80d 100644 --- a/app/client/src/IDE/Components/HeaderDropdown.tsx +++ b/app/client/src/IDE/Components/HeaderDropdown.tsx @@ -1,4 +1,4 @@ -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/IDE/Components/HeaderEditorSwitcher.tsx b/app/client/src/IDE/Components/HeaderEditorSwitcher.tsx index 77525671abf8..a7baa0744264 100644 --- a/app/client/src/IDE/Components/HeaderEditorSwitcher.tsx +++ b/app/client/src/IDE/Components/HeaderEditorSwitcher.tsx @@ -1,4 +1,4 @@ -import { Flex, Icon, Text } from "design-system"; +import { Flex, Icon, Text } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/IDE/Components/HeaderTitle.tsx b/app/client/src/IDE/Components/HeaderTitle.tsx index df62a10a10ee..7423cb338ed6 100644 --- a/app/client/src/IDE/Components/HeaderTitle.tsx +++ b/app/client/src/IDE/Components/HeaderTitle.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Flex, Text } from "design-system"; +import { Flex, Text } from "@appsmith/ads"; /** * Handy little styled component that can be used to render the title in the IDEHeader component diff --git a/app/client/src/IDE/Components/Sidebar/Sidebar.tsx b/app/client/src/IDE/Components/Sidebar/Sidebar.tsx index 5fedfd10d3c1..0ef87910ddf2 100644 --- a/app/client/src/IDE/Components/Sidebar/Sidebar.tsx +++ b/app/client/src/IDE/Components/Sidebar/Sidebar.tsx @@ -1,9 +1,9 @@ import React from "react"; import styled from "styled-components"; import SidebarButton from "./SidebarButton"; -import type { EditorState } from "@appsmith/entities/IDE/constants"; +import type { EditorState } from "ee/entities/IDE/constants"; import type { SidebarButtonProps } from "./SidebarButton/SidebarButton"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; const Container = styled(Flex)` width: 50px; diff --git a/app/client/src/IDE/Components/Sidebar/SidebarButton/SidebarButton.tsx b/app/client/src/IDE/Components/Sidebar/SidebarButton/SidebarButton.tsx index a5c57ff97d38..8b252d22d09e 100644 --- a/app/client/src/IDE/Components/Sidebar/SidebarButton/SidebarButton.tsx +++ b/app/client/src/IDE/Components/Sidebar/SidebarButton/SidebarButton.tsx @@ -1,5 +1,5 @@ import React, { useCallback } from "react"; -import { Flex, Icon, Text, Tooltip } from "design-system"; +import { Flex, Icon, Text, Tooltip } from "@appsmith/ads"; import styled from "styled-components"; import { Condition } from "../../../enums"; diff --git a/app/client/src/IDE/Structure/Header.tsx b/app/client/src/IDE/Structure/Header.tsx index b389b501a41c..53de646437b7 100644 --- a/app/client/src/IDE/Structure/Header.tsx +++ b/app/client/src/IDE/Structure/Header.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Divider, Flex } from "design-system"; +import { Divider, Flex } from "@appsmith/ads"; import { AppsmithLink } from "pages/Editor/AppsmithLink"; interface ChildrenProps { diff --git a/app/client/src/IDE/hooks/useIsInSideBySideEditor.test.tsx b/app/client/src/IDE/hooks/useIsInSideBySideEditor.test.tsx index 04c50c5cf4b6..e59bb7ed3e9c 100644 --- a/app/client/src/IDE/hooks/useIsInSideBySideEditor.test.tsx +++ b/app/client/src/IDE/hooks/useIsInSideBySideEditor.test.tsx @@ -1,10 +1,10 @@ import React from "react"; import { renderHook, act } from "@testing-library/react-hooks/dom"; import { Provider } from "react-redux"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import { useIsInSideBySideEditor } from "./useIsInSideBySideEditor"; import { getIDETestState } from "test/factories/AppIDEFactoryUtils"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createMemoryHistory, type MemoryHistory } from "history"; import { Router } from "react-router"; diff --git a/app/client/src/LandingScreen.tsx b/app/client/src/LandingScreen.tsx index ec07d7882e52..e2677530c2ff 100755 --- a/app/client/src/LandingScreen.tsx +++ b/app/client/src/LandingScreen.tsx @@ -1,5 +1,5 @@ import React from "react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getCurrentUser, getUserAuthError } from "selectors/usersSelectors"; import { connect } from "react-redux"; import type { User } from "constants/userConstants"; diff --git a/app/client/src/UITelemetry/auto-otel-web.ts b/app/client/src/UITelemetry/auto-otel-web.ts index fca494e321d9..6d3d63c58606 100644 --- a/app/client/src/UITelemetry/auto-otel-web.ts +++ b/app/client/src/UITelemetry/auto-otel-web.ts @@ -8,7 +8,7 @@ import { SEMRESATTRS_SERVICE_VERSION, SEMRESATTRS_SERVICE_INSTANCE_ID, } from "@opentelemetry/semantic-conventions"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { W3CTraceContextPropagator } from "@opentelemetry/core"; import { MeterProvider, diff --git a/app/client/src/WidgetProvider/constants.ts b/app/client/src/WidgetProvider/constants.ts index d5772b07a26b..f7aaa3cb1e5d 100644 --- a/app/client/src/WidgetProvider/constants.ts +++ b/app/client/src/WidgetProvider/constants.ts @@ -15,7 +15,7 @@ import type { DerivedPropertiesMap } from "WidgetProvider/factory"; import type { WidgetFeatures } from "utils/WidgetFeatures"; import type { WidgetProps } from "../widgets/BaseWidget"; import type { ExtraDef } from "utils/autocomplete/defCreatorUtils"; -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; import type { WidgetQueryConfig, WidgetQueryGenerationConfig, diff --git a/app/client/src/actions/JSLibraryActions.ts b/app/client/src/actions/JSLibraryActions.ts index 23fd45dde437..c96972e54b3c 100644 --- a/app/client/src/actions/JSLibraryActions.ts +++ b/app/client/src/actions/JSLibraryActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ApiResponse } from "api/ApiResponses"; import type { JSLibrary } from "workers/common/JSLibrary"; diff --git a/app/client/src/actions/actionSelectorActions.ts b/app/client/src/actions/actionSelectorActions.ts index 63b6b83218d8..bd92b6f62ad6 100644 --- a/app/client/src/actions/actionSelectorActions.ts +++ b/app/client/src/actions/actionSelectorActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const evaluateActionSelectorField = (payload: { id: string; diff --git a/app/client/src/actions/activeFieldActions.ts b/app/client/src/actions/activeFieldActions.ts index 60f5a4bbcb1b..95c4492e88d6 100644 --- a/app/client/src/actions/activeFieldActions.ts +++ b/app/client/src/actions/activeFieldActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const setActiveEditorField = (field: string) => ({ type: ReduxActionTypes.SET_ACTIVE_EDITOR_FIELD, diff --git a/app/client/src/actions/analyticsActions.ts b/app/client/src/actions/analyticsActions.ts index 3ceb42984b7b..27415c1d4c97 100644 --- a/app/client/src/actions/analyticsActions.ts +++ b/app/client/src/actions/analyticsActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const segmentInitSuccess = () => ({ type: ReduxActionTypes.SEGMENT_INITIALIZED, diff --git a/app/client/src/actions/apiPaneActions.ts b/app/client/src/actions/apiPaneActions.ts index bbecfbf4846e..a17753391eb7 100644 --- a/app/client/src/actions/apiPaneActions.ts +++ b/app/client/src/actions/apiPaneActions.ts @@ -1,8 +1,8 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import type { SlashCommandPayload } from "entities/Action"; -import type { ApiPaneDebuggerState } from "@appsmith/reducers/uiReducers/apiPaneReducer"; +import type { ApiPaneDebuggerState } from "ee/reducers/uiReducers/apiPaneReducer"; export const changeApi = ( id: string, diff --git a/app/client/src/actions/appCollabActions.ts b/app/client/src/actions/appCollabActions.ts index b9aae625561a..c9f432017a4c 100644 --- a/app/client/src/actions/appCollabActions.ts +++ b/app/client/src/actions/appCollabActions.ts @@ -2,7 +2,7 @@ import { appLevelWebsocketWriteEvent, pageLevelWebsocketWriteEvent, } from "./websocketActions"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { PAGE_LEVEL_SOCKET_EVENTS } from "sagas/WebsocketSagas/socketEvents"; // App Editors presence Socket actions diff --git a/app/client/src/actions/appSettingsPaneActions.ts b/app/client/src/actions/appSettingsPaneActions.ts index 2622aed914b1..2ab93fc079c7 100644 --- a/app/client/src/actions/appSettingsPaneActions.ts +++ b/app/client/src/actions/appSettingsPaneActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer"; export const updateAppSettingsPaneSelectedTabAction = ( diff --git a/app/client/src/actions/appThemingActions.tsx b/app/client/src/actions/appThemingActions.tsx index b8edda5725b7..e41d29c0f42b 100644 --- a/app/client/src/actions/appThemingActions.tsx +++ b/app/client/src/actions/appThemingActions.tsx @@ -1,6 +1,6 @@ import type { AppTheme } from "entities/AppTheming"; import type { AppThemingMode } from "selectors/appThemingSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ApiResponse } from "api/ApiResponses"; /** diff --git a/app/client/src/actions/appViewActions.ts b/app/client/src/actions/appViewActions.ts index caeb0d263230..002608de06c8 100644 --- a/app/client/src/actions/appViewActions.ts +++ b/app/client/src/actions/appViewActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; /** * ---------------------------------------------------------------------------- diff --git a/app/client/src/actions/authActions.ts b/app/client/src/actions/authActions.ts index 9f267837f3f0..71d051735c8c 100644 --- a/app/client/src/actions/authActions.ts +++ b/app/client/src/actions/authActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ApiResponse } from "api/ApiResponses"; export const getCurrentUser = (userProfile?: ApiResponse) => ({ diff --git a/app/client/src/actions/autoHeightActions.ts b/app/client/src/actions/autoHeightActions.ts index 90bf8bad843b..381f5b8fd2d2 100644 --- a/app/client/src/actions/autoHeightActions.ts +++ b/app/client/src/actions/autoHeightActions.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { GridDefaults } from "constants/WidgetConstants"; import type { TreeNode } from "utils/autoHeight/constants"; diff --git a/app/client/src/actions/autoLayoutActions.ts b/app/client/src/actions/autoLayoutActions.ts index 4bcd9b38b27c..041cb958478b 100644 --- a/app/client/src/actions/autoLayoutActions.ts +++ b/app/client/src/actions/autoLayoutActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { LayoutSystemTypes } from "layoutSystems/types"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import type { diff --git a/app/client/src/actions/batchActions.ts b/app/client/src/actions/batchActions.ts index a15ee8670b47..4c57fdb166ed 100644 --- a/app/client/src/actions/batchActions.ts +++ b/app/client/src/actions/batchActions.ts @@ -1,8 +1,8 @@ import type { EvaluationReduxAction, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/actions/browserRequestActions.ts b/app/client/src/actions/browserRequestActions.ts index 822d4dc60ecb..275e05204657 100644 --- a/app/client/src/actions/browserRequestActions.ts +++ b/app/client/src/actions/browserRequestActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const setUserCurrentGeoLocation = (position: GeolocationPosition) => { return { diff --git a/app/client/src/actions/canvasSelectionActions.ts b/app/client/src/actions/canvasSelectionActions.ts index a4e3f8fc1cfe..ac9d2b7632d8 100644 --- a/app/client/src/actions/canvasSelectionActions.ts +++ b/app/client/src/actions/canvasSelectionActions.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { XYCord } from "layoutSystems/common/canvasArenas/ArenaTypes"; import type { SelectedArenaDimensions } from "layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/CanvasSelectionArena"; diff --git a/app/client/src/actions/communityTemplateActions.ts b/app/client/src/actions/communityTemplateActions.ts index ff681b40ae1c..62abfa95af8a 100644 --- a/app/client/src/actions/communityTemplateActions.ts +++ b/app/client/src/actions/communityTemplateActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export interface PublishCommunityTemplatePayload { title: string; diff --git a/app/client/src/actions/controlActions.tsx b/app/client/src/actions/controlActions.tsx index cb25a2514570..1170d101f862 100644 --- a/app/client/src/actions/controlActions.tsx +++ b/app/client/src/actions/controlActions.tsx @@ -1,8 +1,8 @@ import type { ReduxAction, ReduxActionType, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { UpdateWidgetsPayload } from "reducers/entityReducers/canvasWidgetsReducer"; import type { DynamicPath } from "utils/DynamicBindingUtils"; diff --git a/app/client/src/actions/crudInfoModalActions.ts b/app/client/src/actions/crudInfoModalActions.ts index 4fca805963d9..612137704319 100644 --- a/app/client/src/actions/crudInfoModalActions.ts +++ b/app/client/src/actions/crudInfoModalActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export interface SetCrudInfoModalOpenPayload { open: boolean; diff --git a/app/client/src/actions/datasourceActions.ts b/app/client/src/actions/datasourceActions.ts index 6a13308b1e26..764924010f78 100644 --- a/app/client/src/actions/datasourceActions.ts +++ b/app/client/src/actions/datasourceActions.ts @@ -1,8 +1,8 @@ import type { ReduxAction, ReduxActionWithCallbacks, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { CreateDatasourceConfig } from "api/DatasourcesApi"; import type { AuthenticationStatus, @@ -17,7 +17,7 @@ import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import { ActionParentEntityType, type ActionParentEntityTypeInterface, -} from "@appsmith/entities/Engine/actionHelpers"; +} from "ee/entities/Engine/actionHelpers"; export const createDatasourceFromForm = ( payload: CreateDatasourceConfig & Datasource, diff --git a/app/client/src/actions/debuggerActions.ts b/app/client/src/actions/debuggerActions.ts index e7a8600456e2..3ae7f37c643b 100644 --- a/app/client/src/actions/debuggerActions.ts +++ b/app/client/src/actions/debuggerActions.ts @@ -1,11 +1,11 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { Log, Message, SourceEntity } from "entities/AppsmithConsole"; -import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { CanvasDebuggerState, DebuggerContext, } from "reducers/uiReducers/debuggerReducer"; -import type { EventName } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventName } from "ee/utils/analyticsUtilTypes"; import type { APP_MODE } from "entities/App"; export interface LogDebuggerErrorAnalyticsPayload { diff --git a/app/client/src/actions/editorActions.ts b/app/client/src/actions/editorActions.ts index 1ce56a66e9c5..e1dc181790d0 100644 --- a/app/client/src/actions/editorActions.ts +++ b/app/client/src/actions/editorActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { EntityInfo } from "pages/Editor/EntityNavigation/types"; /** diff --git a/app/client/src/actions/editorContextActions.ts b/app/client/src/actions/editorContextActions.ts index 6cc64b1960f9..3a2c678d7c78 100644 --- a/app/client/src/actions/editorContextActions.ts +++ b/app/client/src/actions/editorContextActions.ts @@ -1,11 +1,11 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { CodeEditorContext, CursorPosition, EvaluatedPopupState, PropertyPanelContext, -} from "@appsmith/reducers/uiReducers/editorContextReducer"; -import { CursorPositionOrigin } from "@appsmith/reducers/uiReducers/editorContextReducer"; +} from "ee/reducers/uiReducers/editorContextReducer"; +import { CursorPositionOrigin } from "ee/reducers/uiReducers/editorContextReducer"; export const setFocusableInputField = (path: string | undefined) => { return { diff --git a/app/client/src/actions/errorActions.ts b/app/client/src/actions/errorActions.ts index ad201ec9eea6..55ab979e57a8 100644 --- a/app/client/src/actions/errorActions.ts +++ b/app/client/src/actions/errorActions.ts @@ -1,5 +1,5 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { ERROR_CODES } from "@appsmith/constants/ApiConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { ERROR_CODES } from "ee/constants/ApiConstants"; import type { ErrorPayloadType } from "sagas/ErrorSagas"; export const safeCrashAppRequest = (code?: ERROR_CODES) => { diff --git a/app/client/src/actions/evaluationActions.ts b/app/client/src/actions/evaluationActions.ts index d54d5f4389e1..fc94827bbfe1 100644 --- a/app/client/src/actions/evaluationActions.ts +++ b/app/client/src/actions/evaluationActions.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { intersection } from "lodash"; import type { DependencyMap } from "utils/DynamicBindingUtils"; import type { QueryActionConfig } from "entities/Action"; @@ -10,7 +10,7 @@ import { EVAL_AND_LINT_REDUX_ACTIONS, LINT_REDUX_ACTIONS, LOG_REDUX_ACTIONS, -} from "@appsmith/actions/evaluationActionsList"; +} from "ee/actions/evaluationActionsList"; export const shouldTriggerEvaluation = (action: ReduxAction) => { return ( diff --git a/app/client/src/actions/explorerActions.ts b/app/client/src/actions/explorerActions.ts index ea19d69c0953..9e0c855795aa 100644 --- a/app/client/src/actions/explorerActions.ts +++ b/app/client/src/actions/explorerActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const initExplorerEntityNameEdit = (actionId: string) => { return { diff --git a/app/client/src/actions/featureFlagActions.ts b/app/client/src/actions/featureFlagActions.ts index a805cfa1d063..6fff6768a2d7 100644 --- a/app/client/src/actions/featureFlagActions.ts +++ b/app/client/src/actions/featureFlagActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { OverriddenFeatureFlags } from "utils/hooks/useFeatureFlagOverride"; export const setFeatureFlagOverridesAction = ( diff --git a/app/client/src/actions/focusHistoryActions.ts b/app/client/src/actions/focusHistoryActions.ts index 7d05c5509818..fb1b6f6b3d02 100644 --- a/app/client/src/actions/focusHistoryActions.ts +++ b/app/client/src/actions/focusHistoryActions.ts @@ -1,6 +1,6 @@ import type { FocusState } from "reducers/uiReducers/focusHistoryReducer"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { Location } from "history"; import type { AppsmithLocationState } from "utils/history"; diff --git a/app/client/src/actions/gitSyncActions.ts b/app/client/src/actions/gitSyncActions.ts index f950bc5f88d8..f9952fa753cc 100644 --- a/app/client/src/actions/gitSyncActions.ts +++ b/app/client/src/actions/gitSyncActions.ts @@ -1,17 +1,17 @@ import type { ReduxAction, ReduxActionWithCallbacks, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ConnectToGitPayload, GitAutocommitProgressResponse, } from "api/GitSyncAPI"; import type { GitConfig, GitSyncModalTab, MergeStatus } from "entities/GitSync"; -import type { GitApplicationMetadata } from "@appsmith/api/ApplicationApi"; +import type { GitApplicationMetadata } from "ee/api/ApplicationApi"; import { type GitStatusData, GitSettingsTab, diff --git a/app/client/src/actions/globalSearchActions.ts b/app/client/src/actions/globalSearchActions.ts index d75270cbac1f..2fa51f7dab11 100644 --- a/app/client/src/actions/globalSearchActions.ts +++ b/app/client/src/actions/globalSearchActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { RecentEntity, SearchCategory, diff --git a/app/client/src/actions/helpActions.ts b/app/client/src/actions/helpActions.ts index 1b24d14347b3..d55402828b90 100644 --- a/app/client/src/actions/helpActions.ts +++ b/app/client/src/actions/helpActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const setHelpDefaultRefinement = (payload: string) => { return { diff --git a/app/client/src/actions/ideActions.ts b/app/client/src/actions/ideActions.ts index 000da12c6b37..04f91ea23f0f 100644 --- a/app/client/src/actions/ideActions.ts +++ b/app/client/src/actions/ideActions.ts @@ -1,5 +1,5 @@ -import type { EditorViewMode } from "@appsmith/entities/IDE/constants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { EditorViewMode } from "ee/entities/IDE/constants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const setIdeEditorViewMode = (mode: EditorViewMode) => { return { diff --git a/app/client/src/actions/importActions.ts b/app/client/src/actions/importActions.ts index cc56d00bb50c..65d52c14fcb2 100644 --- a/app/client/src/actions/importActions.ts +++ b/app/client/src/actions/importActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { CurlImportFormValues } from "../pages/Editor/CurlImport/helpers"; diff --git a/app/client/src/actions/initActions.ts b/app/client/src/actions/initActions.ts index b45f225c3613..2200e29d7449 100644 --- a/app/client/src/actions/initActions.ts +++ b/app/client/src/actions/initActions.ts @@ -1,6 +1,6 @@ import type { APP_MODE } from "entities/App"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const initCurrentPage = () => { return { diff --git a/app/client/src/actions/jsActionActions.ts b/app/client/src/actions/jsActionActions.ts index 2c294a6d8f72..00a11cd6189e 100644 --- a/app/client/src/actions/jsActionActions.ts +++ b/app/client/src/actions/jsActionActions.ts @@ -3,10 +3,10 @@ import { type ReduxAction, ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { JSCollection } from "entities/JSCollection"; -import type { CreateJSCollectionRequest } from "@appsmith/api/JSActionAPI"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +import type { CreateJSCollectionRequest } from "ee/api/JSActionAPI"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import type { ApiResponse } from "api/ApiResponses"; export interface FetchJSCollectionsPayload { diff --git a/app/client/src/actions/jsPaneActions.ts b/app/client/src/actions/jsPaneActions.ts index fc35a64edeb3..030f0e2e9698 100644 --- a/app/client/src/actions/jsPaneActions.ts +++ b/app/client/src/actions/jsPaneActions.ts @@ -1,11 +1,11 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { JSCollection, JSAction } from "entities/JSCollection"; import type { RefactorAction, SetFunctionPropertyPayload, -} from "@appsmith/api/JSActionAPI"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +} from "ee/api/JSActionAPI"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import type { JSEditorTab, JSPaneDebuggerState, diff --git a/app/client/src/actions/lintingActions.ts b/app/client/src/actions/lintingActions.ts index 1cc94caa9d2e..aff5f8788c00 100644 --- a/app/client/src/actions/lintingActions.ts +++ b/app/client/src/actions/lintingActions.ts @@ -1,6 +1,6 @@ import type { LintErrorsStore } from "reducers/lintingReducers/lintErrorsReducers"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export type SetLintErrorsAction = ReduxAction<{ errors: LintErrorsStore }>; export const setLintingErrors = ( diff --git a/app/client/src/actions/metaActions.ts b/app/client/src/actions/metaActions.ts index d8fda7e68c3e..46aa72db20a1 100644 --- a/app/client/src/actions/metaActions.ts +++ b/app/client/src/actions/metaActions.ts @@ -1,13 +1,13 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { BatchAction } from "actions/batchActions"; import { batchAction } from "actions/batchActions"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import type { WidgetEntity, DataTreeEntityConfig, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; export interface UpdateWidgetMetaPropertyPayload { widgetId: string; diff --git a/app/client/src/actions/metaWidgetActions.ts b/app/client/src/actions/metaWidgetActions.ts index 6c8b2a27a299..8f8573125a05 100644 --- a/app/client/src/actions/metaWidgetActions.ts +++ b/app/client/src/actions/metaWidgetActions.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { DeleteMetaWidgetsPayload, ModifyMetaWidgetPayload, diff --git a/app/client/src/actions/onboardingActions.ts b/app/client/src/actions/onboardingActions.ts index c0dfbf2f4b76..2f3412a871ad 100644 --- a/app/client/src/actions/onboardingActions.ts +++ b/app/client/src/actions/onboardingActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { SIGNPOSTING_STEP } from "pages/Editor/FirstTimeUserOnboarding/Utils"; export const toggleInOnboardingWidgetSelection = (payload: boolean) => { diff --git a/app/client/src/actions/oneClickBindingActions.ts b/app/client/src/actions/oneClickBindingActions.ts index 38ac12591483..a63375f1d4c6 100644 --- a/app/client/src/actions/oneClickBindingActions.ts +++ b/app/client/src/actions/oneClickBindingActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const updateOneClickBindingOptionsVisibility = ( visibility: boolean, diff --git a/app/client/src/actions/pageActions.tsx b/app/client/src/actions/pageActions.tsx index a3ca5d61fcc8..f95e42406b52 100644 --- a/app/client/src/actions/pageActions.tsx +++ b/app/client/src/actions/pageActions.tsx @@ -5,15 +5,15 @@ import type { UpdateCanvasPayload, AnyReduxAction, ClonePageSuccessPayload, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, WidgetReduxActionTypes, ReplayReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { DynamicPath } from "utils/DynamicBindingUtils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { WidgetOperation } from "widgets/BaseWidget"; import type { FetchPageResponse, @@ -25,7 +25,7 @@ import type { import type { UrlDataState } from "reducers/entityReducers/appReducer"; import type { APP_MODE } from "entities/App"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; -import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { Replayable } from "entities/Replay/ReplayEntity/ReplayEditor"; import * as Sentry from "@sentry/react"; diff --git a/app/client/src/actions/pluginActionActions.ts b/app/client/src/actions/pluginActionActions.ts index 5a0ddab2caf6..611beaaa4d01 100644 --- a/app/client/src/actions/pluginActionActions.ts +++ b/app/client/src/actions/pluginActionActions.ts @@ -5,7 +5,7 @@ import { type ReduxAction, ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { JSUpdate } from "utils/JSPaneUtils"; import type { Action, ActionViewMode } from "entities/Action"; import { ActionExecutionContext } from "entities/Action"; diff --git a/app/client/src/actions/pluginActions.ts b/app/client/src/actions/pluginActions.ts index cf6ec43c939b..82e02c3e9a1c 100644 --- a/app/client/src/actions/pluginActions.ts +++ b/app/client/src/actions/pluginActions.ts @@ -1,11 +1,11 @@ import type { ReduxAction, ReduxActionWithoutPayload, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ApiResponse } from "api/ApiResponses"; import type { PluginFormPayload } from "api/PluginApi"; import type { DependencyMap } from "utils/DynamicBindingUtils"; diff --git a/app/client/src/actions/propertyPaneActions.ts b/app/client/src/actions/propertyPaneActions.ts index b9e32d8a597b..9b560bd0c362 100644 --- a/app/client/src/actions/propertyPaneActions.ts +++ b/app/client/src/actions/propertyPaneActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { SelectedPropertyPanel } from "reducers/uiReducers/propertyPaneReducer"; export const updateWidgetName = (widgetId: string, newName: string) => { diff --git a/app/client/src/actions/queryPaneActions.ts b/app/client/src/actions/queryPaneActions.ts index 274f5d3944dc..67a2b88f1c0f 100644 --- a/app/client/src/actions/queryPaneActions.ts +++ b/app/client/src/actions/queryPaneActions.ts @@ -1,7 +1,7 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { Action } from "entities/Action"; -import type { QueryPaneDebuggerState } from "@appsmith/reducers/uiReducers/queryPaneReducer"; +import type { QueryPaneDebuggerState } from "ee/reducers/uiReducers/queryPaneReducer"; export interface ChangeQueryPayload { baseQueryId: string; diff --git a/app/client/src/actions/reflowActions.ts b/app/client/src/actions/reflowActions.ts index 6e644ee68173..da6504ffd287 100644 --- a/app/client/src/actions/reflowActions.ts +++ b/app/client/src/actions/reflowActions.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReflowReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReflowReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ReflowedSpaceMap } from "reflow/reflowTypes"; export const reflowMoveAction = ( diff --git a/app/client/src/actions/releasesActions.ts b/app/client/src/actions/releasesActions.ts index b3406586729e..fedcb32a259d 100644 --- a/app/client/src/actions/releasesActions.ts +++ b/app/client/src/actions/releasesActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const resetReleasesCount = () => ({ type: ReduxActionTypes.RESET_UNREAD_RELEASES_COUNT, diff --git a/app/client/src/actions/templateActions.ts b/app/client/src/actions/templateActions.ts index 0d47a1139d7d..be61de31756e 100644 --- a/app/client/src/actions/templateActions.ts +++ b/app/client/src/actions/templateActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const getAllTemplates = () => ({ type: ReduxActionTypes.GET_ALL_TEMPLATES_INIT, diff --git a/app/client/src/actions/themeActions.ts b/app/client/src/actions/themeActions.ts index a8d5a50185fa..17bbf1a83b59 100644 --- a/app/client/src/actions/themeActions.ts +++ b/app/client/src/actions/themeActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ThemeMode } from "selectors/themeSelectors"; export const setThemeMode = (mode: ThemeMode) => ({ diff --git a/app/client/src/actions/tourActions.ts b/app/client/src/actions/tourActions.ts index 325422791862..8b5814df7989 100644 --- a/app/client/src/actions/tourActions.ts +++ b/app/client/src/actions/tourActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { TourType } from "entities/Tour"; export const setActiveTour = (tourType: TourType) => ({ diff --git a/app/client/src/actions/userActions.ts b/app/client/src/actions/userActions.ts index 46d2b0c96bcb..9a34f78590f9 100644 --- a/app/client/src/actions/userActions.ts +++ b/app/client/src/actions/userActions.ts @@ -1,14 +1,14 @@ import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { CurrentUserDetailsRequestPayload } from "constants/userConstants"; import type { TokenPasswordUpdateRequest, UpdateUserRequest, VerifyTokenRequest, -} from "@appsmith/api/UserApi"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +} from "ee/api/UserApi"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import type { ProductAlert, ProductAlertConfig, diff --git a/app/client/src/actions/utilActions.ts b/app/client/src/actions/utilActions.ts index e6d4eec282f9..4483519fbf21 100644 --- a/app/client/src/actions/utilActions.ts +++ b/app/client/src/actions/utilActions.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export const historyPush = (url: string) => ({ type: ReduxActionTypes.HISTORY_PUSH, diff --git a/app/client/src/actions/websocketActions.ts b/app/client/src/actions/websocketActions.ts index 93449e6ff728..61379e260e61 100644 --- a/app/client/src/actions/websocketActions.ts +++ b/app/client/src/actions/websocketActions.ts @@ -1,7 +1,7 @@ import { ReduxActionTypes, ReduxSagaChannels, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { reconnectWebsocketEvent } from "constants/WebsocketConstants"; export const setIsAppLevelWebsocketConnected = (payload: boolean) => ({ diff --git a/app/client/src/actions/widgetActions.tsx b/app/client/src/actions/widgetActions.tsx index 1d49d6cfbe16..426167faa19b 100644 --- a/app/client/src/actions/widgetActions.tsx +++ b/app/client/src/actions/widgetActions.tsx @@ -1,8 +1,8 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ExecuteTriggerPayload } from "constants/AppsmithActionConstants/ActionConstants"; import type { BatchAction } from "actions/batchActions"; import { batchAction } from "actions/batchActions"; diff --git a/app/client/src/actions/widgetSelectionActions.ts b/app/client/src/actions/widgetSelectionActions.ts index f6863ecd368a..092400d49bb8 100644 --- a/app/client/src/actions/widgetSelectionActions.ts +++ b/app/client/src/actions/widgetSelectionActions.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { SelectionRequestType } from "sagas/WidgetSelectUtils"; import type { NavigationMethod } from "utils/history"; diff --git a/app/client/src/actions/widgetSidebarActions.tsx b/app/client/src/actions/widgetSidebarActions.tsx index a5dfb1192115..5a0dda472e79 100644 --- a/app/client/src/actions/widgetSidebarActions.tsx +++ b/app/client/src/actions/widgetSidebarActions.tsx @@ -1,7 +1,7 @@ import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { WidgetCardProps } from "widgets/BaseWidget"; export const fetchWidgetCards = () => { diff --git a/app/client/src/api/ActionAPI.tsx b/app/client/src/api/ActionAPI.tsx index 1a5e1502b976..ebfe4cbab57d 100644 --- a/app/client/src/api/ActionAPI.tsx +++ b/app/client/src/api/ActionAPI.tsx @@ -2,7 +2,7 @@ import type React from "react"; import type { HttpMethod } from "api/Api"; import API from "api/Api"; import type { ApiResponse } from "./ApiResponses"; -import { DEFAULT_EXECUTE_ACTION_TIMEOUT_MS } from "@appsmith/constants/ApiConstants"; +import { DEFAULT_EXECUTE_ACTION_TIMEOUT_MS } from "ee/constants/ApiConstants"; import type { AxiosPromise, CancelTokenSource } from "axios"; import axios from "axios"; import type { Action, ActionViewMode } from "entities/Action"; @@ -10,7 +10,7 @@ import type { APIRequest } from "constants/AppsmithActionConstants/ActionConstan import type { WidgetType } from "constants/WidgetConstants"; import type { OtlpSpan } from "UITelemetry/generateTraces"; import { wrapFnWithParentTraceContext } from "UITelemetry/generateTraces"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; export interface Property { key: string; diff --git a/app/client/src/api/Api.ts b/app/client/src/api/Api.ts index 14c880394a35..8253e1ceb71f 100644 --- a/app/client/src/api/Api.ts +++ b/app/client/src/api/Api.ts @@ -1,13 +1,13 @@ import type { AxiosInstance, AxiosRequestConfig } from "axios"; import axios from "axios"; -import { REQUEST_TIMEOUT_MS } from "@appsmith/constants/ApiConstants"; +import { REQUEST_TIMEOUT_MS } from "ee/constants/ApiConstants"; import { convertObjectToQueryParams } from "utils/URLUtils"; import { apiFailureResponseInterceptor, apiRequestInterceptor, apiSuccessResponseInterceptor, blockedApiRoutesForAirgapInterceptor, -} from "@appsmith/api/ApiUtils"; +} from "ee/api/ApiUtils"; //TODO(abhinav): Refactor this to make more composable. export const apiRequestConfig = { diff --git a/app/client/src/api/CloudServicesApi.ts b/app/client/src/api/CloudServicesApi.ts index 1489f08c6967..ec91c838a1ec 100644 --- a/app/client/src/api/CloudServicesApi.ts +++ b/app/client/src/api/CloudServicesApi.ts @@ -1,4 +1,4 @@ -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; const { cloudServicesBaseUrl: BASE_URL } = getAppsmithConfigs(); diff --git a/app/client/src/api/DatasourcesApi.ts b/app/client/src/api/DatasourcesApi.ts index 8a5a3c273927..0ce046321e44 100644 --- a/app/client/src/api/DatasourcesApi.ts +++ b/app/client/src/api/DatasourcesApi.ts @@ -1,4 +1,4 @@ -import { DEFAULT_TEST_DATA_SOURCE_TIMEOUT_MS } from "@appsmith/constants/ApiConstants"; +import { DEFAULT_TEST_DATA_SOURCE_TIMEOUT_MS } from "ee/constants/ApiConstants"; import API from "api/Api"; import type { ApiResponse } from "./ApiResponses"; import type { AxiosPromise } from "axios"; diff --git a/app/client/src/api/GitSyncAPI.tsx b/app/client/src/api/GitSyncAPI.tsx index d46b56374f7a..fca13e60185a 100644 --- a/app/client/src/api/GitSyncAPI.tsx +++ b/app/client/src/api/GitSyncAPI.tsx @@ -2,7 +2,7 @@ import type { AxiosPromise } from "axios"; import Api from "api/Api"; import type { ApiResponse } from "./ApiResponses"; import type { GitConfig } from "entities/GitSync"; -import ApplicationApi from "@appsmith/api/ApplicationApi"; +import ApplicationApi from "ee/api/ApplicationApi"; export interface CommitPayload { applicationId: string; diff --git a/app/client/src/api/ImportApi.ts b/app/client/src/api/ImportApi.ts index 20609a2d2277..974080f5ca6b 100644 --- a/app/client/src/api/ImportApi.ts +++ b/app/client/src/api/ImportApi.ts @@ -1,7 +1,7 @@ import type { AxiosPromise } from "axios"; import Api from "api/Api"; import type { ApiResponse } from "./ApiResponses"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; export interface CurlImportRequest { type: string; diff --git a/app/client/src/api/OAuthApi.ts b/app/client/src/api/OAuthApi.ts index d1446a8188f6..21e7c8e4d30f 100644 --- a/app/client/src/api/OAuthApi.ts +++ b/app/client/src/api/OAuthApi.ts @@ -2,7 +2,7 @@ import Api from "./Api"; import type { AxiosPromise } from "axios"; import type { ApiResponse } from "api/ApiResponses"; import type { Datasource } from "entities/Datasource"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; class OAuthApi extends Api { static url = "v1/saas"; diff --git a/app/client/src/api/PageApi.tsx b/app/client/src/api/PageApi.tsx index c8d75dcb15be..2b2dc3dcd330 100644 --- a/app/client/src/api/PageApi.tsx +++ b/app/client/src/api/PageApi.tsx @@ -7,7 +7,7 @@ import type { PageAction, } from "constants/AppsmithActionConstants/ActionConstants"; import type { DSLWidget } from "WidgetProvider/constants"; -import type { FetchApplicationResponse } from "@appsmith/api/ApplicationApi"; +import type { FetchApplicationResponse } from "ee/api/ApplicationApi"; import type { APP_MODE } from "entities/App"; export interface FetchPageRequest { diff --git a/app/client/src/api/PluginApi.ts b/app/client/src/api/PluginApi.ts index 3fc4a87fa1b9..5fb2e798e505 100644 --- a/app/client/src/api/PluginApi.ts +++ b/app/client/src/api/PluginApi.ts @@ -3,7 +3,7 @@ import type { AxiosPromise } from "axios"; import type { ApiResponse } from "api/ApiResponses"; import type { PluginPackageName, PluginType } from "entities/Action"; import type { DependencyMap } from "utils/DynamicBindingUtils"; -import { FILE_UPLOAD_TRIGGER_TIMEOUT_MS } from "@appsmith/constants/ApiConstants"; +import { FILE_UPLOAD_TRIGGER_TIMEOUT_MS } from "ee/constants/ApiConstants"; export type PluginId = string; export type GenerateCRUDEnabledPluginMap = Record; diff --git a/app/client/src/api/SearchApi.tsx b/app/client/src/api/SearchApi.tsx index 3f0909f09ea6..215c1a516e79 100644 --- a/app/client/src/api/SearchApi.tsx +++ b/app/client/src/api/SearchApi.tsx @@ -1,6 +1,6 @@ import Api from "api/Api"; import type { AxiosPromise } from "axios"; -import type { SearchApiResponse } from "@appsmith/types/ApiResponseTypes"; +import type { SearchApiResponse } from "ee/types/ApiResponseTypes"; export interface SearchEntitiesRequest { entities?: string[]; diff --git a/app/client/src/api/TemplatesApi.ts b/app/client/src/api/TemplatesApi.ts index d7750e89a7cf..b8b5b9aaeddf 100644 --- a/app/client/src/api/TemplatesApi.ts +++ b/app/client/src/api/TemplatesApi.ts @@ -5,7 +5,7 @@ import type { WidgetType } from "constants/WidgetConstants"; import type { ApplicationResponsePayload, ApplicationPagePayload, -} from "@appsmith/api/ApplicationApi"; +} from "ee/api/ApplicationApi"; import type { Datasource } from "entities/Datasource"; export interface Template { diff --git a/app/client/src/assets/fonts/google/index.css b/app/client/src/assets/fonts/google/index.css deleted file mode 100644 index ba5027b1cd23..000000000000 --- a/app/client/src/assets/fonts/google/index.css +++ /dev/null @@ -1,9 +0,0 @@ -@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap"); diff --git a/app/client/src/ce/AppRouter.tsx b/app/client/src/ce/AppRouter.tsx index 84ac386866fc..a7326df143d1 100644 --- a/app/client/src/ce/AppRouter.tsx +++ b/app/client/src/ce/AppRouter.tsx @@ -1,6 +1,6 @@ import React, { Suspense, useEffect } from "react"; import history from "utils/history"; -import AppHeader from "@appsmith/pages/common/AppHeader"; +import AppHeader from "ee/pages/common/AppHeader"; import { Redirect, Route, Router, Switch } from "react-router-dom"; import { ADMIN_SETTINGS_CATEGORY_PATH, @@ -49,18 +49,18 @@ import UserProfile from "pages/UserProfile"; import Setup from "pages/setup"; import SettingsLoader from "pages/AdminSettings/loader"; import SignupSuccess from "pages/setup/SignupSuccess"; -import type { ERROR_CODES } from "@appsmith/constants/ApiConstants"; +import type { ERROR_CODES } from "ee/constants/ApiConstants"; import TemplatesListLoader from "pages/Templates/loader"; import { getCurrentUser as getCurrentUserSelector } from "selectors/usersSelectors"; -import { getTenantPermissions } from "@appsmith/selectors/tenantSelectors"; +import { getTenantPermissions } from "ee/selectors/tenantSelectors"; import useBrandingTheme from "utils/hooks/useBrandingTheme"; import RouteChangeListener from "RouteChangeListener"; import { initCurrentPage } from "../actions/initActions"; import Walkthrough from "components/featureWalkthrough"; import ProductAlertBanner from "components/editorComponents/ProductAlertBanner"; -import { getAdminSettingsPath } from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers"; +import { getAdminSettingsPath } from "ee/utils/BusinessFeatures/adminSettingsHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import CustomWidgetBuilderLoader from "pages/Editor/CustomWidgetBuilder/loader"; import { getIsConsolidatedPageLoading } from "selectors/ui"; import { useFeatureFlagOverride } from "utils/hooks/useFeatureFlagOverride"; diff --git a/app/client/src/ce/RouteBuilder.ts b/app/client/src/ce/RouteBuilder.ts index 785fd518c188..aa0f86c53023 100644 --- a/app/client/src/ce/RouteBuilder.ts +++ b/app/client/src/ce/RouteBuilder.ts @@ -8,12 +8,12 @@ import { TEMPLATES_PATH, } from "constants/routes"; import { APP_MODE } from "entities/App"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import type { URLBuilderParams } from "@appsmith/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import type { URLBuilderParams } from "ee/entities/URLRedirect/URLAssembly"; import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; export const fillPathname = ( pathname: string, diff --git a/app/client/src/ce/RouteParamsMiddleware.ts b/app/client/src/ce/RouteParamsMiddleware.ts index 939bf5b6b437..e01601c343b8 100644 --- a/app/client/src/ce/RouteParamsMiddleware.ts +++ b/app/client/src/ce/RouteParamsMiddleware.ts @@ -2,14 +2,14 @@ import type { ApplicationPayload, Page, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { UpdatePageResponse } from "api/PageApi"; import type { ApplicationURLParams, PageURLParams, -} from "@appsmith/entities/URLRedirect/URLAssembly"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +} from "ee/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import type { Middleware } from "redux"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/ce/actions/applicationActions.ts b/app/client/src/ce/actions/applicationActions.ts index d37e29f03a6c..1f8b23ff7e64 100644 --- a/app/client/src/ce/actions/applicationActions.ts +++ b/app/client/src/ce/actions/applicationActions.ts @@ -4,10 +4,10 @@ import type { FetchApplicationPayload, ImportApplicationRequest, UpdateApplicationPayload, -} from "@appsmith/api/ApplicationApi"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/api/ApplicationApi"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { NavigationSetting, ThemeSetting } from "constants/AppConstants"; -import type { IconNames } from "design-system"; +import type { IconNames } from "@appsmith/ads"; import type { Datasource } from "entities/Datasource"; export enum ApplicationVersion { diff --git a/app/client/src/ce/actions/evaluationActionsList.ts b/app/client/src/ce/actions/evaluationActionsList.ts index f7b630768074..921181f6660f 100644 --- a/app/client/src/ce/actions/evaluationActionsList.ts +++ b/app/client/src/ce/actions/evaluationActionsList.ts @@ -1,11 +1,11 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { union } from "lodash"; import store from "store"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; import { shouldTriggerLinting } from "actions/evaluationActions"; diff --git a/app/client/src/ce/actions/helpers.ts b/app/client/src/ce/actions/helpers.ts index ee6248051e54..40611d888a8a 100644 --- a/app/client/src/ce/actions/helpers.ts +++ b/app/client/src/ce/actions/helpers.ts @@ -1,4 +1,4 @@ -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import { createNewApiAction, createNewQueryAction, @@ -7,7 +7,7 @@ import { createNewJSCollection } from "actions/jsPaneActions"; import { ActionParentEntityType, type ActionParentEntityTypeInterface, -} from "@appsmith/entities/Engine/actionHelpers"; +} from "ee/entities/Engine/actionHelpers"; import { saveActionName } from "actions/pluginActionActions"; import { saveJSObjectName } from "actions/jsActionActions"; diff --git a/app/client/src/ce/actions/settingsAction.ts b/app/client/src/ce/actions/settingsAction.ts index 1f9911ac9ca0..9f86623fb045 100644 --- a/app/client/src/ce/actions/settingsAction.ts +++ b/app/client/src/ce/actions/settingsAction.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/ce/actions/tenantActions.ts b/app/client/src/ce/actions/tenantActions.ts index 157359411a47..6e4668f936dd 100644 --- a/app/client/src/ce/actions/tenantActions.ts +++ b/app/client/src/ce/actions/tenantActions.ts @@ -1,5 +1,5 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { UpdateTenantConfigRequest } from "@appsmith/api/TenantApi"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { UpdateTenantConfigRequest } from "ee/api/TenantApi"; import type { ApiResponse } from "api/ApiResponses"; export const getCurrentTenant = ( diff --git a/app/client/src/ce/actions/workspaceActions.ts b/app/client/src/ce/actions/workspaceActions.ts index 62a418244568..49ed7628a83d 100644 --- a/app/client/src/ce/actions/workspaceActions.ts +++ b/app/client/src/ce/actions/workspaceActions.ts @@ -1,8 +1,8 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { SaveWorkspaceLogo, SaveWorkspaceRequest, -} from "@appsmith/api/WorkspaceApi"; +} from "ee/api/WorkspaceApi"; interface FetchAllWorkspacesParams { fetchEntities?: boolean; diff --git a/app/client/src/ce/api/ApiUtils.test.ts b/app/client/src/ce/api/ApiUtils.test.ts index 8a47b2a81ac1..67ac1a5dbef9 100644 --- a/app/client/src/ce/api/ApiUtils.test.ts +++ b/app/client/src/ce/api/ApiUtils.test.ts @@ -10,8 +10,8 @@ import { createMessage, ERROR_0, SERVER_API_TIMEOUT_ERROR, -} from "@appsmith/constants/messages"; -import { ERROR_CODES } from "@appsmith/constants/ApiConstants"; +} from "ee/constants/messages"; +import { ERROR_CODES } from "ee/constants/ApiConstants"; import * as Sentry from "@sentry/react"; describe("axios api interceptors", () => { diff --git a/app/client/src/ce/api/ApiUtils.ts b/app/client/src/ce/api/ApiUtils.ts index 0f48d8365fcc..99ecd1eb652a 100644 --- a/app/client/src/ce/api/ApiUtils.ts +++ b/app/client/src/ce/api/ApiUtils.ts @@ -5,14 +5,14 @@ import { ERROR_500, GENERIC_API_EXECUTION_ERROR, SERVER_API_TIMEOUT_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { AxiosRequestConfig, AxiosResponse } from "axios"; import axios from "axios"; import { API_STATUS_CODES, ERROR_CODES, SERVER_ERROR_CODES, -} from "@appsmith/constants/ApiConstants"; +} from "ee/constants/ApiConstants"; import log from "loglevel"; import type { ActionExecutionResponse } from "api/ActionAPI"; import store from "store"; @@ -21,14 +21,14 @@ import { AUTH_LOGIN_URL } from "constants/routes"; import { getCurrentGitBranch } from "selectors/gitSyncSelectors"; import getQueryParamsObject from "utils/getQueryParamsObject"; import { UserCancelledActionExecutionError } from "sagas/ActionExecution/errorUtils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getAppsmithConfigs } from "ee/configs"; import * as Sentry from "@sentry/react"; import { CONTENT_TYPE_HEADER_KEY } from "constants/ApiEditorConstants/CommonApiConstants"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { isAirgapped } from "ee/utils/airgapHelpers"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { UNUSED_ENV_ID } from "constants/EnvironmentContants"; -import { ID_EXTRACTION_REGEX } from "@appsmith/constants/routes/appRoutes"; +import { ID_EXTRACTION_REGEX } from "ee/constants/routes/appRoutes"; const executeActionRegex = /actions\/execute/; const timeoutErrorRegex = /timeout of (\d+)ms exceeded/; diff --git a/app/client/src/ce/api/ApplicationApi.tsx b/app/client/src/ce/api/ApplicationApi.tsx index d7ca7f642a04..e11cc2baf0c1 100644 --- a/app/client/src/ce/api/ApplicationApi.tsx +++ b/app/client/src/ce/api/ApplicationApi.tsx @@ -1,12 +1,12 @@ -import type { ApplicationVersion } from "@appsmith/actions/applicationActions"; -import { getSnapShotAPIRoute } from "@appsmith/constants/ApiConstants"; +import type { ApplicationVersion } from "ee/actions/applicationActions"; +import { getSnapShotAPIRoute } from "ee/constants/ApiConstants"; import Api from "api/Api"; import type { ApiResponse } from "api/ApiResponses"; import type { AxiosProgressEvent, AxiosPromise } from "axios"; import type { NavigationSetting, ThemeSetting } from "constants/AppConstants"; import type { AppColorCode } from "constants/DefaultTheme"; import type { EvaluationVersion } from "constants/EvalConstants"; -import type { IconNames } from "design-system"; +import type { IconNames } from "@appsmith/ads"; import type { Action, BaseAction } from "entities/Action"; import type { APP_MODE } from "entities/App"; import type { Datasource } from "entities/Datasource"; diff --git a/app/client/src/ce/api/JSActionAPI.tsx b/app/client/src/ce/api/JSActionAPI.tsx index c6b4dce4ce5d..775aad0eaca6 100644 --- a/app/client/src/ce/api/JSActionAPI.tsx +++ b/app/client/src/ce/api/JSActionAPI.tsx @@ -5,7 +5,7 @@ import type { ApiResponse } from "api/ApiResponses"; import type { Variable, JSAction } from "entities/JSCollection"; import type { PluginType } from "entities/Action"; import type { FetchActionsPayload } from "api/ActionAPI"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; export type JSCollectionCreateUpdateResponse = ApiResponse; diff --git a/app/client/src/ce/api/UserApi.tsx b/app/client/src/ce/api/UserApi.tsx index 16c5976c4228..92c1d725d73d 100644 --- a/app/client/src/ce/api/UserApi.tsx +++ b/app/client/src/ce/api/UserApi.tsx @@ -1,7 +1,7 @@ import type { AxiosPromise } from "axios"; import Api from "api/Api"; import type { ApiResponse } from "api/ApiResponses"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import type { ProductAlert } from "../../reducers/uiReducers/usersReducer"; export interface LoginUserRequest { diff --git a/app/client/src/ce/api/WorkspaceApi.ts b/app/client/src/ce/api/WorkspaceApi.ts index 73d2b961fbf2..c1e33661559d 100644 --- a/app/client/src/ce/api/WorkspaceApi.ts +++ b/app/client/src/ce/api/WorkspaceApi.ts @@ -1,10 +1,7 @@ import type { AxiosProgressEvent, AxiosPromise } from "axios"; import Api from "api/Api"; import type { ApiResponse } from "api/ApiResponses"; -import type { - WorkspaceRole, - Workspace, -} from "@appsmith/constants/workspaceConstants"; +import type { WorkspaceRole, Workspace } from "ee/constants/workspaceConstants"; export interface FetchWorkspacesResponse extends ApiResponse { data: Workspace[]; diff --git a/app/client/src/ce/components/DSDataFilter/index.tsx b/app/client/src/ce/components/DSDataFilter/index.tsx index f616568b1e00..059ea4a27f74 100644 --- a/app/client/src/ce/components/DSDataFilter/index.tsx +++ b/app/client/src/ce/components/DSDataFilter/index.tsx @@ -1,12 +1,9 @@ import React, { useEffect, useState } from "react"; import styled from "styled-components"; -import { Link, Tag, Text, Tooltip } from "design-system"; -import { BUSINESS_TAG, createMessage } from "@appsmith/constants/messages"; +import { Link, Tag, Text, Tooltip } from "@appsmith/ads"; +import { BUSINESS_TAG, createMessage } from "ee/constants/messages"; import { capitalizeFirstLetter } from "utils/helpers"; -import { - getRampLink, - showProductRamps, -} from "@appsmith/selectors/rampSelectors"; +import { getRampLink, showProductRamps } from "ee/selectors/rampSelectors"; import { RAMP_NAME, RampFeature, @@ -15,7 +12,7 @@ import { import { useSelector } from "react-redux"; import type { EnvironmentType } from "constants/EnvironmentContants"; import { environmentList } from "constants/EnvironmentContants"; -import { DisabledTooltipContent } from "@appsmith/components/SwitchEnvironment"; +import { DisabledTooltipContent } from "ee/components/SwitchEnvironment"; export const Container = styled.div` display: flex; diff --git a/app/client/src/ce/components/SwitchEnvironment/index.tsx b/app/client/src/ce/components/SwitchEnvironment/index.tsx index 827bd3c15064..07ac7a4b1c91 100644 --- a/app/client/src/ce/components/SwitchEnvironment/index.tsx +++ b/app/client/src/ce/components/SwitchEnvironment/index.tsx @@ -1,17 +1,14 @@ import React, { useEffect, useState } from "react"; import { useSelector } from "react-redux"; import styled from "styled-components"; -import { Icon, Link, Option, Select, Text, Tooltip } from "design-system"; +import { Icon, Link, Option, Select, Text, Tooltip } from "@appsmith/ads"; import { capitalizeFirstLetter } from "utils/helpers"; import { BUSINESS_EDITION_TEXT, SWITCH_ENV_DISABLED_TOOLTIP_TEXT, createMessage, -} from "@appsmith/constants/messages"; -import { - getRampLink, - showProductRamps, -} from "@appsmith/selectors/rampSelectors"; +} from "ee/constants/messages"; +import { getRampLink, showProductRamps } from "ee/selectors/rampSelectors"; import { isDatasourceInViewMode } from "selectors/ui"; import { matchDatasourcePath, matchSAASGsheetsPath } from "constants/routes"; import { diff --git a/app/client/src/ce/components/WorkspaceSettingsTabs/index.tsx b/app/client/src/ce/components/WorkspaceSettingsTabs/index.tsx index 7bea36fd58b9..b2c82b8fd5dd 100644 --- a/app/client/src/ce/components/WorkspaceSettingsTabs/index.tsx +++ b/app/client/src/ce/components/WorkspaceSettingsTabs/index.tsx @@ -5,10 +5,10 @@ import { useLocation, useHistory, } from "react-router-dom"; -import MemberSettings from "@appsmith/pages/workspace/Members"; +import MemberSettings from "ee/pages/workspace/Members"; import { GeneralSettings } from "pages/workspace/General"; -import { Tabs, Tab, TabsList, TabPanel } from "design-system"; -import { navigateToTab } from "@appsmith/pages/workspace/helpers"; +import { Tabs, Tab, TabsList, TabPanel } from "@appsmith/ads"; +import { navigateToTab } from "ee/pages/workspace/helpers"; import styled from "styled-components"; import * as Sentry from "@sentry/react"; diff --git a/app/client/src/ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx b/app/client/src/ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx index 147e3a9977a1..7fa65386fda5 100644 --- a/app/client/src/ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx +++ b/app/client/src/ce/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity.tsx @@ -8,7 +8,7 @@ import { EntityIcon, JsFileIconV2, } from "pages/Editor/Explorer/ExplorerIcons"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; type IconProps = LogItemProps & { diff --git a/app/client/src/ce/components/editorComponents/Debugger/entityTypeLinkMap.tsx b/app/client/src/ce/components/editorComponents/Debugger/entityTypeLinkMap.tsx index 1e9f4a6469f3..4c86ca66210a 100644 --- a/app/client/src/ce/components/editorComponents/Debugger/entityTypeLinkMap.tsx +++ b/app/client/src/ce/components/editorComponents/Debugger/entityTypeLinkMap.tsx @@ -2,7 +2,7 @@ import ActionLink from "components/editorComponents/Debugger/ActionLink"; import DatasourceLink from "components/editorComponents/Debugger/DataSourceLink"; import WidgetLink from "components/editorComponents/Debugger/WidgetLink"; import JSCollectionLink from "components/editorComponents/Debugger/JSCollectionLink"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; export const entityTypeLinkMap = { [ENTITY_TYPE.WIDGET]: WidgetLink, diff --git a/app/client/src/ce/components/editorComponents/GPT/trigger.tsx b/app/client/src/ce/components/editorComponents/GPT/trigger.tsx index 744ad0827312..b491abc6a22b 100644 --- a/app/client/src/ce/components/editorComponents/GPT/trigger.tsx +++ b/app/client/src/ce/components/editorComponents/GPT/trigger.tsx @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ import type { TEditorModes } from "components/editorComponents/CodeEditor/EditorConfig"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import type { EntityTypeValue } from "@appsmith/entities/DataTree/types"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import type { EntityTypeValue } from "ee/entities/DataTree/types"; export const APPSMITH_AI = "Appsmith AI"; diff --git a/app/client/src/ce/components/gitComponents/GitSettingsCDTab/UnlicensedGitCD.tsx b/app/client/src/ce/components/gitComponents/GitSettingsCDTab/UnlicensedGitCD.tsx index a0fc46e70c0c..4ffa883ea12f 100644 --- a/app/client/src/ce/components/gitComponents/GitSettingsCDTab/UnlicensedGitCD.tsx +++ b/app/client/src/ce/components/gitComponents/GitSettingsCDTab/UnlicensedGitCD.tsx @@ -3,8 +3,8 @@ import { CONFIGURE_CD_TITLE, TRY_APPSMITH_ENTERPRISE, createMessage, -} from "@appsmith/constants/messages"; -import { Button, Text } from "design-system"; +} from "ee/constants/messages"; +import { Button, Text } from "@appsmith/ads"; import { useAppsmithEnterpriseLink } from "pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/ce/components/gitComponents/GitSettingsCDTab/index.tsx b/app/client/src/ce/components/gitComponents/GitSettingsCDTab/index.tsx index a3ded8fe0e29..370ba86c1d0c 100644 --- a/app/client/src/ce/components/gitComponents/GitSettingsCDTab/index.tsx +++ b/app/client/src/ce/components/gitComponents/GitSettingsCDTab/index.tsx @@ -1,5 +1,5 @@ import React from "react"; -import UnlicensedGitCD from "@appsmith/components/gitComponents/GitSettingsCDTab/UnlicensedGitCD"; +import UnlicensedGitCD from "ee/components/gitComponents/GitSettingsCDTab/UnlicensedGitCD"; function GitSettingsCDTab() { return ; diff --git a/app/client/src/ce/constants/ModuleInstanceConstants.ts b/app/client/src/ce/constants/ModuleInstanceConstants.ts index b5721d849727..5f5a91008b34 100644 --- a/app/client/src/ce/constants/ModuleInstanceConstants.ts +++ b/app/client/src/ce/constants/ModuleInstanceConstants.ts @@ -1,4 +1,4 @@ -import type { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import type { MODULE_TYPE } from "ee/constants/ModuleConstants"; import type { ActionResponse } from "api/ActionAPI"; export type ModuleId = string; diff --git a/app/client/src/ce/constants/ReduxActionConstants.tsx b/app/client/src/ce/constants/ReduxActionConstants.tsx index 140f10aa810b..4895428c701b 100644 --- a/app/client/src/ce/constants/ReduxActionConstants.tsx +++ b/app/client/src/ce/constants/ReduxActionConstants.tsx @@ -1,11 +1,11 @@ -import type { ERROR_CODES } from "@appsmith/constants/ApiConstants"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +import type { ERROR_CODES } from "ee/constants/ApiConstants"; +import type { Workspace } from "ee/constants/workspaceConstants"; import type { AppEmbedSetting, ApplicationPagePayload, GitApplicationMetadata, -} from "@appsmith/api/ApplicationApi"; -import type { ApplicationVersion } from "@appsmith/actions/applicationActions"; +} from "ee/api/ApplicationApi"; +import type { ApplicationVersion } from "ee/actions/applicationActions"; import type { NavigationSetting, ThemeSetting } from "constants/AppConstants"; import type { WidgetCardProps, WidgetProps } from "widgets/BaseWidget"; import type { diff --git a/app/client/src/ce/constants/SocialLogin.tsx b/app/client/src/ce/constants/SocialLogin.tsx index 2cb2c182c8df..03c45f98a74b 100644 --- a/app/client/src/ce/constants/SocialLogin.tsx +++ b/app/client/src/ce/constants/SocialLogin.tsx @@ -1,7 +1,4 @@ -import { - GoogleOAuthURL, - GithubOAuthURL, -} from "@appsmith/constants/ApiConstants"; +import { GoogleOAuthURL, GithubOAuthURL } from "ee/constants/ApiConstants"; import GithubLogo from "assets/images/Github.png"; import GoogleLogo from "assets/images/Google.png"; diff --git a/app/client/src/ce/entities/DataTree/dataTreeAction.ts b/app/client/src/ce/entities/DataTree/dataTreeAction.ts index ede7b858381b..442ffc150c5f 100644 --- a/app/client/src/ce/entities/DataTree/dataTreeAction.ts +++ b/app/client/src/ce/entities/DataTree/dataTreeAction.ts @@ -1,6 +1,6 @@ import type { DependencyMap, DynamicPath } from "utils/DynamicBindingUtils"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; import { getBindingAndReactivePathsOfAction, getDataTreeActionConfigPath, @@ -8,7 +8,7 @@ import { import type { ActionEntity, ActionEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; export const generateDataTreeAction = ( action: ActionData, diff --git a/app/client/src/ce/entities/DataTree/dataTreeJSAction.test.ts b/app/client/src/ce/entities/DataTree/dataTreeJSAction.test.ts index 11e95541cf3e..4f33b4d015e7 100644 --- a/app/client/src/ce/entities/DataTree/dataTreeJSAction.test.ts +++ b/app/client/src/ce/entities/DataTree/dataTreeJSAction.test.ts @@ -1,6 +1,6 @@ import { PluginType } from "entities/Action"; import { generateDataTreeJSAction } from "./dataTreeJSAction"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; describe("generateDataTreeJSAction", () => { it("generate js collection in data tree", () => { diff --git a/app/client/src/ce/entities/DataTree/dataTreeJSAction.ts b/app/client/src/ce/entities/DataTree/dataTreeJSAction.ts index 172a9e2a7c69..d5584bbf94fb 100644 --- a/app/client/src/ce/entities/DataTree/dataTreeJSAction.ts +++ b/app/client/src/ce/entities/DataTree/dataTreeJSAction.ts @@ -1,12 +1,12 @@ import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import { EvaluationSubstitutionType } from "entities/DataTree/dataTreeFactory"; import type { DependencyMap } from "utils/DynamicBindingUtils"; import type { JSActionEntity, JSActionEntityConfig, MetaArgs, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; const reg = /this\./g; diff --git a/app/client/src/ce/entities/DataTree/dataTreeModuleInstance.ts b/app/client/src/ce/entities/DataTree/dataTreeModuleInstance.ts index 82d18d6fa08b..9fd43ffb5ce1 100644 --- a/app/client/src/ce/entities/DataTree/dataTreeModuleInstance.ts +++ b/app/client/src/ce/entities/DataTree/dataTreeModuleInstance.ts @@ -1,4 +1,4 @@ -import type { ModuleInstance } from "@appsmith/constants/ModuleInstanceConstants"; +import type { ModuleInstance } from "ee/constants/ModuleInstanceConstants"; export const generateModuleInstance = ( // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/app/client/src/ce/entities/DataTree/isDynamicEntity.ts b/app/client/src/ce/entities/DataTree/isDynamicEntity.ts index 523323474993..593096b47abe 100644 --- a/app/client/src/ce/entities/DataTree/isDynamicEntity.ts +++ b/app/client/src/ce/entities/DataTree/isDynamicEntity.ts @@ -3,7 +3,7 @@ import type { DataTreeEntityConfig, JSActionEntity, WidgetEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { type EntityTypeValue, ENTITY_TYPE, diff --git a/app/client/src/ce/entities/DataTree/types.ts b/app/client/src/ce/entities/DataTree/types.ts index d91fdc5b2348..e795ecb4b6ab 100644 --- a/app/client/src/ce/entities/DataTree/types.ts +++ b/app/client/src/ce/entities/DataTree/types.ts @@ -2,23 +2,23 @@ import type { ActionResponse } from "api/ActionAPI"; import type { PluginId } from "api/PluginApi"; import type { ValidationConfig } from "constants/PropertyControlConstants"; import type { ActionConfig, PluginType } from "entities/Action"; -import type { ActionDescription } from "@appsmith/workers/Evaluation/fns"; +import type { ActionDescription } from "ee/workers/Evaluation/fns"; import type { Variable } from "entities/JSCollection"; import type { DependencyMap, DynamicPath } from "utils/DynamicBindingUtils"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; import type { MetaWidgetsReduxState } from "reducers/entityReducers/metaWidgetsReducer"; import type { WidgetConfigProps } from "WidgetProvider/constants"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; import type { WidgetProps } from "widgets/BaseWidget"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import type { MetaState } from "reducers/entityReducers/metaReducer"; import type { AppDataState } from "reducers/entityReducers/appReducer"; -import type { JSCollectionDataState } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionDataState } from "ee/reducers/entityReducers/jsActionsReducer"; import type { AppTheme } from "entities/AppTheming"; import type { LoadingEntitiesState } from "reducers/evaluationReducers/loadingEntitiesReducer"; import type { LayoutSystemTypes } from "layoutSystems/types"; -import type { Module } from "@appsmith/constants/ModuleConstants"; -import type { ModuleInstance } from "@appsmith/constants/ModuleInstanceConstants"; +import type { Module } from "ee/constants/ModuleConstants"; +import type { ModuleInstance } from "ee/constants/ModuleInstanceConstants"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/ce/entities/DataTree/utils.ts b/app/client/src/ce/entities/DataTree/utils.ts index 93fcacf09808..34ae005be083 100644 --- a/app/client/src/ce/entities/DataTree/utils.ts +++ b/app/client/src/ce/entities/DataTree/utils.ts @@ -4,15 +4,15 @@ import type { WidgetEntity, ActionEntity, JSActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; -import { OverridingPropertyType } from "@appsmith/entities/DataTree/types"; +import { OverridingPropertyType } from "ee/entities/DataTree/types"; import { isAction, isJSAction, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { Module } from "@appsmith/constants/ModuleConstants"; +} from "ee/workers/Evaluation/evaluationUtils"; +import type { Module } from "ee/constants/ModuleConstants"; interface SetOverridingPropertyParams { key: string; value: string; diff --git a/app/client/src/ce/entities/Engine/actionHelpers.ts b/app/client/src/ce/entities/Engine/actionHelpers.ts index c775dd7accff..c76b7605a04a 100644 --- a/app/client/src/ce/entities/Engine/actionHelpers.ts +++ b/app/client/src/ce/entities/Engine/actionHelpers.ts @@ -1,11 +1,11 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import type { ExplorerURLParams } from "@appsmith/pages/Editor/Explorer/helpers"; -import type { DependentFeatureFlags } from "@appsmith/selectors/engineSelectors"; +} from "ee/constants/ReduxActionConstants"; +import type { ExplorerURLParams } from "ee/pages/Editor/Explorer/helpers"; +import type { DependentFeatureFlags } from "ee/selectors/engineSelectors"; import { fetchDatasources } from "actions/datasourceActions"; import { fetchPageDSLs } from "actions/pageActions"; import { fetchPlugins } from "actions/pluginActions"; diff --git a/app/client/src/ce/entities/IDE/constants.ts b/app/client/src/ce/entities/IDE/constants.ts index 59aa3c3be1c8..3f1425dce203 100644 --- a/app/client/src/ce/entities/IDE/constants.ts +++ b/app/client/src/ce/entities/IDE/constants.ts @@ -13,7 +13,7 @@ import { QUERIES_EDITOR_ID_ADD_PATH, QUERIES_EDITOR_ID_PATH, WIDGETS_EDITOR_ID_PATH, -} from "@appsmith/constants/routes/appRoutes"; +} from "ee/constants/routes/appRoutes"; import { SAAS_EDITOR_API_ID_ADD_PATH, SAAS_EDITOR_API_ID_PATH, diff --git a/app/client/src/ce/entities/IDE/utils.ts b/app/client/src/ce/entities/IDE/utils.ts index f65361a3e57e..55841bf77ab9 100644 --- a/app/client/src/ce/entities/IDE/utils.ts +++ b/app/client/src/ce/entities/IDE/utils.ts @@ -1,12 +1,12 @@ -import type { IDEType, EditorState } from "@appsmith/entities/IDE/constants"; -import { IDE_TYPE, IDEBasePaths } from "@appsmith/entities/IDE/constants"; +import type { IDEType, EditorState } from "ee/entities/IDE/constants"; +import { IDE_TYPE, IDEBasePaths } from "ee/entities/IDE/constants"; import { matchPath } from "react-router"; import { identifyEntityFromPath } from "navigation/FocusEntity"; import { BUILDER_CUSTOM_PATH, BUILDER_PATH, BUILDER_PATH_DEPRECATED, -} from "@appsmith/constants/routes/appRoutes"; +} from "ee/constants/routes/appRoutes"; export const EDITOR_PATHS = [ BUILDER_CUSTOM_PATH, diff --git a/app/client/src/ce/entities/URLRedirect/URLAssembly.ts b/app/client/src/ce/entities/URLRedirect/URLAssembly.ts index 8bcdfd8cd781..cf95194dbb1e 100644 --- a/app/client/src/ce/entities/URLRedirect/URLAssembly.ts +++ b/app/client/src/ce/entities/URLRedirect/URLAssembly.ts @@ -1,4 +1,4 @@ -import { ApplicationVersion } from "@appsmith/actions/applicationActions"; +import { ApplicationVersion } from "ee/actions/applicationActions"; import { BUILDER_CUSTOM_PATH, BUILDER_PATH, diff --git a/app/client/src/ce/hooks/datasourceEditorHooks.tsx b/app/client/src/ce/hooks/datasourceEditorHooks.tsx index aa8bd6d06774..2f7e64d65bf4 100644 --- a/app/client/src/ce/hooks/datasourceEditorHooks.tsx +++ b/app/client/src/ce/hooks/datasourceEditorHooks.tsx @@ -1,18 +1,18 @@ -import { generateTemplateFormURL } from "@appsmith/RouteBuilder"; +import { generateTemplateFormURL } from "ee/RouteBuilder"; import { GENERATE_NEW_PAGE_BUTTON_TEXT, createMessage, -} from "@appsmith/constants/messages"; -import { ActionParentEntityType } from "@appsmith/entities/Engine/actionHelpers"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import type { AppState } from "@appsmith/reducers"; -import { getPlugin } from "@appsmith/selectors/entitiesSelector"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import { ActionParentEntityType } from "ee/entities/Engine/actionHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import type { AppState } from "ee/reducers"; +import { getPlugin } from "ee/selectors/entitiesSelector"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getHasCreatePagePermission, hasCreateDSActionPermissionInApp, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { Button } from "design-system"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { Button } from "@appsmith/ads"; import type { Datasource } from "entities/Datasource"; import type { ApiDatasourceForm } from "entities/Datasource/RestAPIForm"; import NewActionButton from "pages/Editor/DataSourceEditor/NewActionButton"; @@ -29,7 +29,7 @@ import { isEnabledForPreviewData } from "utils/editorContextUtils"; import history from "utils/history"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import { EditorNames } from "./"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; export interface HeaderActionProps { datasource: Datasource | ApiDatasourceForm | undefined; diff --git a/app/client/src/ce/hooks/importModal/useMessages.ts b/app/client/src/ce/hooks/importModal/useMessages.ts index 12d66789640c..4ac68574d521 100644 --- a/app/client/src/ce/hooks/importModal/useMessages.ts +++ b/app/client/src/ce/hooks/importModal/useMessages.ts @@ -2,7 +2,7 @@ import { IMPORT_APPLICATION_MODAL_LABEL, IMPORT_APPLICATION_MODAL_TITLE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; // In CE this won't look like a hook but in EE proper hook implementation is justified function useMessages() { diff --git a/app/client/src/ce/hooks/importModal/useMethods.ts b/app/client/src/ce/hooks/importModal/useMethods.ts index 9d458a26f12e..7aa075c8b750 100644 --- a/app/client/src/ce/hooks/importModal/useMethods.ts +++ b/app/client/src/ce/hooks/importModal/useMethods.ts @@ -1,10 +1,7 @@ -import { importApplication } from "@appsmith/actions/applicationActions"; -import { - UPLOADING_APPLICATION, - createMessage, -} from "@appsmith/constants/messages"; -import { getIsImportingApplication } from "@appsmith/selectors/applicationSelectors"; -import type { SetProgress } from "design-system-old"; +import { importApplication } from "ee/actions/applicationActions"; +import { UPLOADING_APPLICATION, createMessage } from "ee/constants/messages"; +import { getIsImportingApplication } from "ee/selectors/applicationSelectors"; +import type { SetProgress } from "@appsmith/ads-old"; import { useCallback, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; diff --git a/app/client/src/ce/navigation/FocusElements/AppIDE.ts b/app/client/src/ce/navigation/FocusElements/AppIDE.ts index c7fd9508630f..9d75e82e9123 100644 --- a/app/client/src/ce/navigation/FocusElements/AppIDE.ts +++ b/app/client/src/ce/navigation/FocusElements/AppIDE.ts @@ -81,13 +81,13 @@ import { JSEditorTab } from "reducers/uiReducers/jsPaneReducer"; import { getSelectedDatasourceId, getSelectedEntityUrl, -} from "@appsmith/navigation/FocusSelectors"; +} from "ee/navigation/FocusSelectors"; import { setSelectedDatasource, setSelectedEntityUrl, setSelectedJSObject, setSelectedQuery, -} from "@appsmith/navigation/FocusSetters"; +} from "ee/navigation/FocusSetters"; import { getFirstDatasourceId } from "selectors/datasourceSelectors"; import { FocusElement, FocusElementConfigType } from "navigation/FocusElements"; import type { FocusElementsConfigList } from "sagas/FocusRetentionSaga"; diff --git a/app/client/src/ce/navigation/FocusSetters.ts b/app/client/src/ce/navigation/FocusSetters.ts index 612f6e3e3eda..4b5d1becce9f 100644 --- a/app/client/src/ce/navigation/FocusSetters.ts +++ b/app/client/src/ce/navigation/FocusSetters.ts @@ -3,7 +3,7 @@ import { builderURL, datasourcesEditorIdURL, jsCollectionIdURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { PluginType } from "entities/Action"; import type { FocusEntityInfo } from "navigation/FocusEntity"; import { FocusEntity } from "navigation/FocusEntity"; diff --git a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.test.ts b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.test.ts index 66c7cd39a414..5db34d7672d6 100644 --- a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.test.ts +++ b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.test.ts @@ -3,7 +3,7 @@ import { AppIDEFocusStrategy } from "./AppIDEFocusStrategy"; import { NavigationMethod } from "utils/history"; import { getIDETestState } from "test/factories/AppIDEFactoryUtils"; import { all, take } from "redux-saga/effects"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; const basePageId1 = "0123456789abcdef00000000"; const basePageId2 = "0123456789abcdef00000001"; diff --git a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts index 022cad91d0b6..f2186818225b 100644 --- a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts +++ b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts @@ -9,14 +9,14 @@ import { FocusStoreHierarchy, identifyEntityFromPath, } from "navigation/FocusEntity"; -import { EditorState } from "@appsmith/entities/IDE/constants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { EditorState } from "ee/entities/IDE/constants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { datasourcesEditorURL, jsCollectionListURL, queryListURL, widgetListURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import AppIDEFocusElements from "../FocusElements/AppIDE"; function shouldSetState( diff --git a/app/client/src/ce/navigation/FocusStrategy/index.ts b/app/client/src/ce/navigation/FocusStrategy/index.ts index e981e44cf12b..024a97de0c96 100644 --- a/app/client/src/ce/navigation/FocusStrategy/index.ts +++ b/app/client/src/ce/navigation/FocusStrategy/index.ts @@ -1,5 +1,5 @@ -import type { IDEType } from "@appsmith/entities/IDE/constants"; -import { IDE_TYPE } from "@appsmith/entities/IDE/constants"; +import type { IDEType } from "ee/entities/IDE/constants"; +import { IDE_TYPE } from "ee/entities/IDE/constants"; import { AppIDEFocusStrategy } from "./AppIDEFocusStrategy"; import { NoIDEFocusStrategy } from "./NoIDEFocusStrategy"; diff --git a/app/client/src/ce/pages/AdminSettings/Branding/UpgradeBanner.tsx b/app/client/src/ce/pages/AdminSettings/Branding/UpgradeBanner.tsx index 744e5ae97efc..24ea876f11bf 100644 --- a/app/client/src/ce/pages/AdminSettings/Branding/UpgradeBanner.tsx +++ b/app/client/src/ce/pages/AdminSettings/Branding/UpgradeBanner.tsx @@ -1,11 +1,11 @@ import React from "react"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { ContentBox } from "pages/AdminSettings/components"; import { ADMIN_BRANDING_SETTINGS_SUBTITLE_UPGRADE, ADMIN_BRANDING_SETTINGS_TITLE_UPGRADE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import useOnUpgrade from "utils/hooks/useOnUpgrade"; import { SettingsHeader, diff --git a/app/client/src/ce/pages/AdminSettings/BreadcrumbCategories.tsx b/app/client/src/ce/pages/AdminSettings/BreadcrumbCategories.tsx index 7be4be1087e3..054d0afed22a 100644 --- a/app/client/src/ce/pages/AdminSettings/BreadcrumbCategories.tsx +++ b/app/client/src/ce/pages/AdminSettings/BreadcrumbCategories.tsx @@ -1,6 +1,6 @@ import { APPLICATIONS_URL } from "constants/routes"; -import { SettingCategories } from "@appsmith/pages/AdminSettings/config/types"; -import { adminSettingsCategoryUrl } from "@appsmith/RouteBuilder"; +import { SettingCategories } from "ee/pages/AdminSettings/config/types"; +import { adminSettingsCategoryUrl } from "ee/RouteBuilder"; export const BreadcrumbCategories = { HOMEPAGE: { diff --git a/app/client/src/ce/pages/AdminSettings/WithSuperUserHoc.tsx b/app/client/src/ce/pages/AdminSettings/WithSuperUserHoc.tsx index 98d493f19ac3..6f23d7321980 100644 --- a/app/client/src/ce/pages/AdminSettings/WithSuperUserHoc.tsx +++ b/app/client/src/ce/pages/AdminSettings/WithSuperUserHoc.tsx @@ -4,9 +4,9 @@ import { useSelector } from "react-redux"; import type { RouteComponentProps } from "react-router"; import { Redirect } from "react-router"; import { getCurrentUser } from "selectors/usersSelectors"; -import { getShowAdminSettings } from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers"; +import { getShowAdminSettings } from "ee/utils/BusinessFeatures/adminSettingsHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; export default function WithSuperUserHOC( Component: React.ComponentType, diff --git a/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/googleMaps.ts b/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/googleMaps.ts index 7835e793668d..b7d84cb8e1d5 100644 --- a/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/googleMaps.ts +++ b/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/googleMaps.ts @@ -4,7 +4,7 @@ import { SettingCategories, SettingSubtype, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; export const googleMapsConfig: Setting[] = [ { diff --git a/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/index.ts b/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/index.ts index 1d887a6388ab..c46e80b062a3 100644 --- a/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/index.ts +++ b/app/client/src/ce/pages/AdminSettings/config/DeveloperSettings/index.ts @@ -1,9 +1,9 @@ -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { googleMapsConfig } from "./googleMaps"; export const config: AdminConfigType = { diff --git a/app/client/src/ce/pages/AdminSettings/config/auditlogs.ts b/app/client/src/ce/pages/AdminSettings/config/auditlogs.ts index ead2de6cc546..ffabe2806157 100644 --- a/app/client/src/ce/pages/AdminSettings/config/auditlogs.ts +++ b/app/client/src/ce/pages/AdminSettings/config/auditlogs.ts @@ -1,9 +1,9 @@ -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { AuditLogsUpgradePage } from "../../Upgrade/AuditLogsUpgradePage"; export const config: AdminConfigType = { diff --git a/app/client/src/ce/pages/AdminSettings/config/authentication.tsx b/app/client/src/ce/pages/AdminSettings/config/authentication.tsx index 10e16bef3ef8..18fa59b34b5c 100644 --- a/app/client/src/ce/pages/AdminSettings/config/authentication.tsx +++ b/app/client/src/ce/pages/AdminSettings/config/authentication.tsx @@ -4,13 +4,13 @@ import { GITHUB_SIGNUP_SETUP_DOC, GOOGLE_SIGNUP_SETUP_DOC, } from "constants/ThirdPartyConstants"; -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingSubtype, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import type { AuthMethodType } from "pages/AdminSettings/Authentication/AuthPage"; import { AuthPage } from "pages/AdminSettings/Authentication/AuthPage"; import Google from "assets/images/Google.png"; @@ -22,7 +22,7 @@ import { useSelector } from "react-redux"; import { getThirdPartyAuths, getIsFormLoginEnabled, -} from "@appsmith/selectors/tenantSelectors"; +} from "ee/selectors/tenantSelectors"; import { FORM_LOGIN_DESC, GITHUB_AUTH_DESC, @@ -30,12 +30,12 @@ import { OIDC_AUTH_DESC, SAML_AUTH_DESC, createMessage, -} from "@appsmith/constants/messages"; -import { isSAMLEnabled, isOIDCEnabled } from "@appsmith/utils/planHelpers"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +} from "ee/constants/messages"; +import { isSAMLEnabled, isOIDCEnabled } from "ee/utils/planHelpers"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; import store from "store"; const featureFlags = selectFeatureFlags(store.getState()); -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; const { mailEnabled } = getAppsmithConfigs(); const FormAuth: AdminConfigType = { diff --git a/app/client/src/ce/pages/AdminSettings/config/branding.tsx b/app/client/src/ce/pages/AdminSettings/config/branding.tsx index d8d133674e50..1069b2537c9b 100644 --- a/app/client/src/ce/pages/AdminSettings/config/branding.tsx +++ b/app/client/src/ce/pages/AdminSettings/config/branding.tsx @@ -1,11 +1,11 @@ -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { isBrandingEnabled } from "@appsmith/utils/planHelpers"; +} from "ee/pages/AdminSettings/config/types"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { isBrandingEnabled } from "ee/utils/planHelpers"; import BrandingPage from "pages/AdminSettings/Branding/BrandingPage"; import store from "store"; diff --git a/app/client/src/ce/pages/AdminSettings/config/general.tsx b/app/client/src/ce/pages/AdminSettings/config/general.tsx index 9694bf891869..d6fbc2e7469b 100644 --- a/app/client/src/ce/pages/AdminSettings/config/general.tsx +++ b/app/client/src/ce/pages/AdminSettings/config/general.tsx @@ -3,15 +3,15 @@ import { isEmail } from "utils/formhelpers"; import type { AdminConfigType, Setting, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingSubtype, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import BrandingBadge from "pages/AppViewer/BrandingBadge"; -import { TagInput } from "design-system-old"; +import { TagInput } from "@appsmith/ads-old"; import localStorage from "utils/localStorage"; import isUndefined from "lodash/isUndefined"; import { AppsmithFrameAncestorsSetting } from "pages/Applications/EmbedSnippet/Constants/constants"; diff --git a/app/client/src/ce/pages/AdminSettings/config/index.ts b/app/client/src/ce/pages/AdminSettings/config/index.ts index e87e2f1add42..d8e71d120aea 100644 --- a/app/client/src/ce/pages/AdminSettings/config/index.ts +++ b/app/client/src/ce/pages/AdminSettings/config/index.ts @@ -1,15 +1,15 @@ import { ConfigFactory } from "pages/AdminSettings/config/ConfigFactory"; -import { config as GeneralConfig } from "@appsmith/pages/AdminSettings/config/general"; +import { config as GeneralConfig } from "ee/pages/AdminSettings/config/general"; import { config as EmailConfig } from "pages/AdminSettings/config/email"; -import { config as DeveloperSettings } from "@appsmith/pages/AdminSettings/config/DeveloperSettings"; +import { config as DeveloperSettings } from "ee/pages/AdminSettings/config/DeveloperSettings"; import { config as VersionConfig } from "pages/AdminSettings/config/version"; import { config as AdvancedConfig } from "pages/AdminSettings/config/advanced"; -import { config as Authentication } from "@appsmith/pages/AdminSettings/config/authentication"; -import { config as BrandingConfig } from "@appsmith/pages/AdminSettings/config/branding"; -import { config as ProvisioningConfig } from "@appsmith/pages/AdminSettings/config/provisioning"; -import { config as UserListing } from "@appsmith/pages/AdminSettings/config//userlisting"; -import { config as AuditLogsConfig } from "@appsmith/pages/AdminSettings/config/auditlogs"; +import { config as Authentication } from "ee/pages/AdminSettings/config/authentication"; +import { config as BrandingConfig } from "ee/pages/AdminSettings/config/branding"; +import { config as ProvisioningConfig } from "ee/pages/AdminSettings/config/provisioning"; +import { config as UserListing } from "ee/pages/AdminSettings/config//userlisting"; +import { config as AuditLogsConfig } from "ee/pages/AdminSettings/config/auditlogs"; ConfigFactory.register(GeneralConfig); ConfigFactory.register(EmailConfig); diff --git a/app/client/src/ce/pages/AdminSettings/config/provisioning.ts b/app/client/src/ce/pages/AdminSettings/config/provisioning.ts index 29c950a6ca51..38290d437de1 100644 --- a/app/client/src/ce/pages/AdminSettings/config/provisioning.ts +++ b/app/client/src/ce/pages/AdminSettings/config/provisioning.ts @@ -1,9 +1,9 @@ -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { ProvisioningUpgradePage } from "../../Upgrade/ProvisioningUpgradePage"; export const config: AdminConfigType = { diff --git a/app/client/src/ce/pages/AdminSettings/config/types.ts b/app/client/src/ce/pages/AdminSettings/config/types.ts index 889f6cbe19b2..5b28097a9eed 100644 --- a/app/client/src/ce/pages/AdminSettings/config/types.ts +++ b/app/client/src/ce/pages/AdminSettings/config/types.ts @@ -1,8 +1,8 @@ import type React from "react"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type { Dispatch } from "react"; import type { RadioOptionProps } from "pages/AdminSettings/FormGroup/Radio"; -import type { CalloutKind, SelectOptionProps } from "design-system"; +import type { CalloutKind, SelectOptionProps } from "@appsmith/ads"; type ControlType = { [K in keyof ControlPropsType]: { diff --git a/app/client/src/ce/pages/AdminSettings/config/userlisting.ts b/app/client/src/ce/pages/AdminSettings/config/userlisting.ts index ae560a4c0172..8b0275eb1636 100644 --- a/app/client/src/ce/pages/AdminSettings/config/userlisting.ts +++ b/app/client/src/ce/pages/AdminSettings/config/userlisting.ts @@ -1,9 +1,9 @@ -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { AccessControlUpgradePage } from "../../Upgrade/AccessControlUpgradePage"; export const config: AdminConfigType = { diff --git a/app/client/src/ce/pages/AppViewer/NavigationLogo.tsx b/app/client/src/ce/pages/AppViewer/NavigationLogo.tsx index 4599009a12f2..7da1628a8d59 100644 --- a/app/client/src/ce/pages/AppViewer/NavigationLogo.tsx +++ b/app/client/src/ce/pages/AppViewer/NavigationLogo.tsx @@ -8,17 +8,17 @@ import classNames from "classnames"; import { getAppMode, getCurrentApplication, -} from "@appsmith/selectors/applicationSelectors"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/selectors/applicationSelectors"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { getCurrentPageId, getViewModePageList, } from "selectors/editorSelectors"; import { useHref } from "pages/Editor/utils"; import { APP_MODE } from "entities/App"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; import { get } from "lodash"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; interface NavigationLogoProps { logoConfiguration: NavigationSetting["logoConfiguration"]; diff --git a/app/client/src/ce/pages/Applications/ApplicationCardList.tsx b/app/client/src/ce/pages/Applications/ApplicationCardList.tsx index b3414b490df3..023fe608fc79 100644 --- a/app/client/src/ce/pages/Applications/ApplicationCardList.tsx +++ b/app/client/src/ce/pages/Applications/ApplicationCardList.tsx @@ -1,20 +1,20 @@ import type { ReactNode } from "react"; import React from "react"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { useSelector } from "react-redux"; import CardList from "pages/Applications/CardList"; import { PaddingWrapper } from "pages/Applications/CommonElements"; -import { NoAppsFound } from "@appsmith/pages/Applications"; +import { NoAppsFound } from "ee/pages/Applications"; import ApplicationCard from "pages/Applications/ApplicationCard"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; -import type { UpdateApplicationPayload } from "@appsmith/api/ApplicationApi"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; +import type { UpdateApplicationPayload } from "ee/api/ApplicationApi"; import { APPLICATION_CARD_LIST_ZERO_STATE, createMessage, -} from "@appsmith/constants/messages"; -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +} from "ee/constants/messages"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; interface ApplicationCardListProps { diff --git a/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/CreateNewAppFromTemplatesWrapper.tsx b/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/CreateNewAppFromTemplatesWrapper.tsx index c5c706b215d0..e589dad19eef 100644 --- a/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/CreateNewAppFromTemplatesWrapper.tsx +++ b/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/CreateNewAppFromTemplatesWrapper.tsx @@ -1,6 +1,6 @@ import React, { useEffect } from "react"; import CreateNewAppFromTemplatesModal from "."; -import { getIsReconnectingDatasourcesModalOpen } from "@appsmith/selectors/entitiesSelector"; +import { getIsReconnectingDatasourcesModalOpen } from "ee/selectors/entitiesSelector"; import { useSelector } from "react-redux"; interface Props { diff --git a/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/index.tsx b/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/index.tsx index b557f5b90e36..4dde6fcd1aee 100644 --- a/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/index.tsx +++ b/app/client/src/ce/pages/Applications/CreateNewAppFromTemplateModal/index.tsx @@ -1,11 +1,11 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { GO_BACK, START_WITH_TEMPLATE_CONNECT_HEADING, START_WITH_TEMPLATE_CONNECT_SUBHEADING, createMessage, -} from "@appsmith/constants/messages"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/constants/messages"; +import type { AppState } from "ee/reducers"; import { fetchDefaultPlugins } from "actions/pluginActions"; import { getAllTemplates, @@ -20,7 +20,7 @@ import { ModalBody, ModalContent, ModalHeader, -} from "design-system"; +} from "@appsmith/ads"; import { isEmpty } from "lodash"; import { TemplateView } from "pages/Templates/TemplateView"; import TemplatesListLayoutSwitcher from "pages/Templates/TemplatesModal/TemplatesListLayoutSwitcher"; @@ -33,7 +33,7 @@ import { templatesCountSelector, } from "selectors/templatesSelectors"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { StartWithTemplatesHeader } from "../StartWithTemplatesWrapper"; interface CreateNewAppFromTemplatesModalProps { diff --git a/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx b/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx index 51d10e30e1aa..13d164e9748d 100644 --- a/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx +++ b/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx @@ -4,24 +4,24 @@ import { START_WITH_DATA_CONNECT_HEADING, START_WITH_DATA_CONNECT_SUBHEADING, createMessage, -} from "@appsmith/constants/messages"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import { getCurrentPluginIdForCreateNewApp } from "@appsmith/selectors/applicationSelectors"; +} from "ee/constants/messages"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import { getCurrentPluginIdForCreateNewApp } from "ee/selectors/applicationSelectors"; import { resetCurrentApplicationIdForCreateNewApp, resetCurrentPluginIdForCreateNewApp, } from "actions/onboardingActions"; import { fetchPlugins } from "actions/pluginActions"; -import { Flex, Link, Text } from "design-system"; +import { Flex, Link, Text } from "@appsmith/ads"; import CreateNewDatasourceTab from "pages/Editor/IntegrationEditor/CreateNewDatasourceTab"; -import { getApplicationsOfWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getApplicationsOfWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { default as React, useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import history from "utils/history"; -import { builderURL } from "@appsmith/RouteBuilder"; -import { getDatasource, getPlugin } from "@appsmith/selectors/entitiesSelector"; +import { builderURL } from "ee/RouteBuilder"; +import { getDatasource, getPlugin } from "ee/selectors/entitiesSelector"; import type { Plugin } from "api/PluginApi"; import { PluginPackageName, PluginType } from "entities/Action"; import DataSourceEditor from "pages/Editor/DataSourceEditor"; @@ -29,9 +29,9 @@ import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import { fetchMockDatasources } from "actions/datasourceActions"; import DatasourceForm from "pages/Editor/SaaSEditor/DatasourceForm"; import type { Datasource } from "entities/Datasource"; -import { fetchingEnvironmentConfigs } from "@appsmith/actions/environmentAction"; -import { shouldShowLicenseBanner } from "@appsmith/selectors/tenantSelectors"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { fetchingEnvironmentConfigs } from "ee/actions/environmentAction"; +import { shouldShowLicenseBanner } from "ee/selectors/tenantSelectors"; +import { isAirgapped } from "ee/utils/airgapHelpers"; const SectionWrapper = styled.div<{ isBannerVisible: boolean }>` display: flex; diff --git a/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx b/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx index 1db9ac195fc5..6e3aa1820ba6 100644 --- a/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx +++ b/app/client/src/ce/pages/Applications/EmbedSnippetTab.tsx @@ -1,22 +1,19 @@ import React, { useState } from "react"; import { useSelector } from "react-redux"; import styled from "styled-components"; -import { Switch, Icon, Tooltip, Link, Text } from "design-system"; +import { Switch, Icon, Tooltip, Link, Text } from "@appsmith/ads"; import useUpdateEmbedSnippet from "pages/Applications/EmbedSnippet/useUpdateEmbedSnippet"; import EmbedCodeSnippet from "pages/Applications/EmbedSnippet/Snippet"; -import { - createMessage, - IN_APP_EMBED_SETTING, -} from "@appsmith/constants/messages"; +import { createMessage, IN_APP_EMBED_SETTING } from "ee/constants/messages"; import PrivateEmbeddingContent, { PrivateEmbedRampModal, PrivateEmbedRampSidebar, } from "pages/Applications/EmbedSnippet/PrivateEmbeddingContent"; import PropertyHelpLabel from "pages/Editor/PropertyPane/PropertyHelpLabel"; import { ADMIN_SETTINGS_PATH } from "constants/routes"; -import { defaultOptionSelected, to, getSnippetUrl } from "@appsmith/utils"; -import { PrivateEmbedSettings } from "@appsmith/pages/Applications/PrivateEmbedSettings"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { defaultOptionSelected, to, getSnippetUrl } from "ee/utils"; +import { PrivateEmbedSettings } from "ee/pages/Applications/PrivateEmbedSettings"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; export const StyledPropertyHelpLabel = styled(PropertyHelpLabel)` .bp3-popover-content > div { diff --git a/app/client/src/ce/pages/Applications/PackageCardList.tsx b/app/client/src/ce/pages/Applications/PackageCardList.tsx index 92082e50260e..56841f49b67d 100644 --- a/app/client/src/ce/pages/Applications/PackageCardList.tsx +++ b/app/client/src/ce/pages/Applications/PackageCardList.tsx @@ -1,5 +1,5 @@ -import type { Package } from "@appsmith/constants/PackageConstants"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +import type { Package } from "ee/constants/PackageConstants"; +import type { Workspace } from "ee/constants/workspaceConstants"; export interface PackageCardListProps { isMobile: boolean; diff --git a/app/client/src/ce/pages/Applications/ResourceListLoader.tsx b/app/client/src/ce/pages/Applications/ResourceListLoader.tsx index af8eee80fabf..8ef1c8610371 100644 --- a/app/client/src/ce/pages/Applications/ResourceListLoader.tsx +++ b/app/client/src/ce/pages/Applications/ResourceListLoader.tsx @@ -3,9 +3,9 @@ import { noop } from "lodash"; import Card from "components/common/Card"; import CardList from "pages/Applications/CardList"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { PaddingWrapper } from "pages/Applications/CommonElements"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; interface ResourcesLoaderProps { isMobile: boolean; diff --git a/app/client/src/ce/pages/Applications/StartWithTemplatesWrapper.tsx b/app/client/src/ce/pages/Applications/StartWithTemplatesWrapper.tsx index 3b5559addab7..cf3a12818a55 100644 --- a/app/client/src/ce/pages/Applications/StartWithTemplatesWrapper.tsx +++ b/app/client/src/ce/pages/Applications/StartWithTemplatesWrapper.tsx @@ -2,9 +2,9 @@ import { START_WITH_TEMPLATE_CONNECT_HEADING, START_WITH_TEMPLATE_CONNECT_SUBHEADING, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Template } from "api/TemplatesApi"; -import { Flex, Text } from "design-system"; +import { Flex, Text } from "@appsmith/ads"; import TemplatesLayoutWithFilters from "pages/Templates/TemplatesLayoutWithFilters"; import React from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/ce/pages/Applications/WorkflowCardList.tsx b/app/client/src/ce/pages/Applications/WorkflowCardList.tsx index ffce7da6aa64..7e86b3d2a0e0 100644 --- a/app/client/src/ce/pages/Applications/WorkflowCardList.tsx +++ b/app/client/src/ce/pages/Applications/WorkflowCardList.tsx @@ -1,5 +1,5 @@ -import type { Workflow } from "@appsmith/constants/WorkflowConstants"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +import type { Workflow } from "ee/constants/WorkflowConstants"; +import type { Workspace } from "ee/constants/workspaceConstants"; export interface WorkflowCardListProps { isMobile: boolean; diff --git a/app/client/src/ce/pages/Applications/WorkspaceAction.tsx b/app/client/src/ce/pages/Applications/WorkspaceAction.tsx index 275bcb65814e..9a65cf535f6a 100644 --- a/app/client/src/ce/pages/Applications/WorkspaceAction.tsx +++ b/app/client/src/ce/pages/Applications/WorkspaceAction.tsx @@ -5,7 +5,7 @@ import { MenuContent, MenuItem, MenuTrigger, -} from "design-system"; +} from "@appsmith/ads"; import React, { useCallback, useState } from "react"; import { useSelector } from "react-redux"; @@ -15,12 +15,12 @@ import { NEW_APP_FROM_TEMPLATE, WORKSPACE_ACTION_BUTTON, createMessage, -} from "@appsmith/constants/messages"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; -import { getIsCreatingApplicationByWorkspaceId } from "@appsmith/selectors/applicationSelectors"; -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { hasCreateNewAppPermission } from "@appsmith/utils/permissionHelpers"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +} from "ee/constants/messages"; +import type { Workspace } from "ee/constants/workspaceConstants"; +import { getIsCreatingApplicationByWorkspaceId } from "ee/selectors/applicationSelectors"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; +import { hasCreateNewAppPermission } from "ee/utils/permissionHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; export interface WorkspaceActionProps { workspace: Workspace; diff --git a/app/client/src/ce/pages/Applications/WorkspaceMenu.tsx b/app/client/src/ce/pages/Applications/WorkspaceMenu.tsx index 4891ef5ccb3b..d79aec1e15e2 100644 --- a/app/client/src/ce/pages/Applications/WorkspaceMenu.tsx +++ b/app/client/src/ce/pages/Applications/WorkspaceMenu.tsx @@ -1,18 +1,18 @@ import React from "react"; import styled from "styled-components"; -import { Button, Icon, Menu, MenuContent, MenuTrigger } from "design-system"; +import { Button, Icon, Menu, MenuContent, MenuTrigger } from "@appsmith/ads"; import { EditInteractionKind, EditableText, SavingState, notEmptyValidator, -} from "design-system-old"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +} from "@appsmith/ads-old"; +import type { Workspace } from "ee/constants/workspaceConstants"; import { DropdownOnSelectActions, getOnSelectAction, } from "pages/common/CustomizedDropdown/dropdownHelpers"; -import { ManageEnvironmentsMenu } from "@appsmith/pages/Applications/ManageEnvironmentsMenu"; +import { ManageEnvironmentsMenu } from "ee/pages/Applications/ManageEnvironmentsMenu"; interface WorkspaceMenuProps { canDeleteWorkspace: boolean; diff --git a/app/client/src/ce/pages/Applications/helpers.ts b/app/client/src/ce/pages/Applications/helpers.ts index 4640cd17d1bb..140e22b7cbac 100644 --- a/app/client/src/ce/pages/Applications/helpers.ts +++ b/app/client/src/ce/pages/Applications/helpers.ts @@ -1,4 +1,4 @@ -import { getIsFetchingPackages } from "@appsmith/selectors/packageSelectors"; +import { getIsFetchingPackages } from "ee/selectors/packageSelectors"; import { useCallback } from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/ce/pages/Applications/index.tsx b/app/client/src/ce/pages/Applications/index.tsx index 4eb181e91f25..6f59bfb22a9e 100644 --- a/app/client/src/ce/pages/Applications/index.tsx +++ b/app/client/src/ce/pages/Applications/index.tsx @@ -1,12 +1,12 @@ -import { updateApplication } from "@appsmith/actions/applicationActions"; +import { updateApplication } from "ee/actions/applicationActions"; import { deleteWorkspace, fetchAllWorkspaces, fetchEntitiesOfWorkspace, resetCurrentWorkspace, saveWorkspace, -} from "@appsmith/actions/workspaceActions"; -import type { UpdateApplicationPayload } from "@appsmith/api/ApplicationApi"; +} from "ee/actions/workspaceActions"; +import type { UpdateApplicationPayload } from "ee/api/ApplicationApi"; import { ANVIL_APPLICATIONS, APPLICATIONS, @@ -19,12 +19,12 @@ import { NO_APPS_FOUND, NO_WORKSPACE_HEADING, WORKSPACES_HEADING, -} from "@appsmith/constants/messages"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { createWorkspaceSubmitHandler } from "@appsmith/pages/workspace/helpers"; -import type { AppState } from "@appsmith/reducers"; -import type { creatingApplicationMap } from "@appsmith/reducers/uiReducers/applicationsReducer"; +} from "ee/constants/messages"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { createWorkspaceSubmitHandler } from "ee/pages/workspace/helpers"; +import type { AppState } from "ee/reducers"; +import type { creatingApplicationMap } from "ee/reducers/uiReducers/applicationsReducer"; import { getApplicationList, getApplicationSearchKeyword, @@ -32,7 +32,7 @@ import { getCurrentApplicationIdForCreateNewApp, getIsCreatingApplication, getIsDeletingApplication, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { Classes as BlueprintClasses } from "@blueprintjs/core"; import { Position } from "@blueprintjs/core/lib/esm/common/position"; import { leaveWorkspace } from "actions/userActions"; @@ -51,14 +51,14 @@ import { Select, Tooltip, Tag, -} from "design-system"; +} from "@appsmith/ads"; import { AppIconCollection, Classes, MenuItem as ListItem, Text, TextType, -} from "design-system-old"; +} from "@appsmith/ads-old"; import { loadingUserWorkspaces } from "pages/Applications/ApplicationLoaders"; import PageWrapper from "pages/common/PageWrapper"; import WorkspaceInviteUsersForm from "pages/workspace/WorkspaceInviteUsersForm"; @@ -79,45 +79,45 @@ import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import { getAppsmithConfigs } from "@appsmith/configs"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import ApplicationCardList from "@appsmith/pages/Applications/ApplicationCardList"; -import CreateNewAppsOption from "@appsmith/pages/Applications/CreateNewAppsOption"; -import { usePackage } from "@appsmith/pages/Applications/helpers"; -import PackageCardList from "@appsmith/pages/Applications/PackageCardList"; -import ResourceListLoader from "@appsmith/pages/Applications/ResourceListLoader"; -import WorkflowCardList from "@appsmith/pages/Applications/WorkflowCardList"; -import WorkspaceAction from "@appsmith/pages/Applications/WorkspaceAction"; -import WorkspaceMenu from "@appsmith/pages/Applications/WorkspaceMenu"; -import { getIsReconnectingDatasourcesModalOpen } from "@appsmith/selectors/entitiesSelector"; -import { allowManageEnvironmentAccessForUser } from "@appsmith/selectors/environmentSelectors"; -import { getPackagesList } from "@appsmith/selectors/packageSelectors"; +import { getAppsmithConfigs } from "ee/configs"; +import type { Workspace } from "ee/constants/workspaceConstants"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import ApplicationCardList from "ee/pages/Applications/ApplicationCardList"; +import CreateNewAppsOption from "ee/pages/Applications/CreateNewAppsOption"; +import { usePackage } from "ee/pages/Applications/helpers"; +import PackageCardList from "ee/pages/Applications/PackageCardList"; +import ResourceListLoader from "ee/pages/Applications/ResourceListLoader"; +import WorkflowCardList from "ee/pages/Applications/WorkflowCardList"; +import WorkspaceAction from "ee/pages/Applications/WorkspaceAction"; +import WorkspaceMenu from "ee/pages/Applications/WorkspaceMenu"; +import { getIsReconnectingDatasourcesModalOpen } from "ee/selectors/entitiesSelector"; +import { allowManageEnvironmentAccessForUser } from "ee/selectors/environmentSelectors"; +import { getPackagesList } from "ee/selectors/packageSelectors"; import { getApplicationsOfWorkspace, getCurrentWorkspaceId, getIsFetchingApplications, -} from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/selectors/selectedWorkspaceSelectors"; import { getTenantPermissions, shouldShowLicenseBanner, -} from "@appsmith/selectors/tenantSelectors"; -import { getWorkflowsList } from "@appsmith/selectors/workflowSelectors"; +} from "ee/selectors/tenantSelectors"; +import { getWorkflowsList } from "ee/selectors/workflowSelectors"; import { getFetchedWorkspaces, getIsDeletingWorkspace, getIsFetchingWorkspaces, getIsSavingWorkspaceInfo, -} from "@appsmith/selectors/workspaceSelectors"; -import { getHasCreateWorkspacePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/selectors/workspaceSelectors"; +import { getHasCreateWorkspacePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { hasCreateNewAppPermission, hasDeleteWorkspacePermission, hasManageWorkspaceEnvironmentPermission, isPermitted, PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +} from "ee/utils/permissionHelpers"; import { resetEditorRequest } from "actions/initActions"; import { setHeaderMeta } from "actions/themeActions"; import FormDialogComponent from "components/editorComponents/form/FormDialogComponent"; @@ -128,11 +128,11 @@ import SharedUserList from "pages/common/SharedUserList"; import GitSyncModal from "pages/Editor/gitSync/GitSyncModal"; import ReconnectDatasourceModal from "pages/Editor/gitSync/ReconnectDatasourceModal"; import RepoLimitExceededErrorModal from "pages/Editor/gitSync/RepoLimitExceededErrorModal"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import CreateNewAppFromTemplatesWrapper from "./CreateNewAppFromTemplateModal/CreateNewAppFromTemplatesWrapper"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import { LayoutSystemTypes } from "layoutSystems/types"; import { getIsAnvilLayoutEnabled } from "layoutSystems/anvil/integrations/selectors"; diff --git a/app/client/src/ce/pages/Applications/tests/WorkspaceAction.test.tsx b/app/client/src/ce/pages/Applications/tests/WorkspaceAction.test.tsx index 125a714f5b3e..65f26cbd4a23 100644 --- a/app/client/src/ce/pages/Applications/tests/WorkspaceAction.test.tsx +++ b/app/client/src/ce/pages/Applications/tests/WorkspaceAction.test.tsx @@ -1,8 +1,5 @@ -import { - WORKSPACE_ACTION_BUTTON, - createMessage, -} from "@appsmith/constants/messages"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +import { WORKSPACE_ACTION_BUTTON, createMessage } from "ee/constants/messages"; +import type { Workspace } from "ee/constants/workspaceConstants"; import "@testing-library/jest-dom"; import { fireEvent, render } from "@testing-library/react"; import "jest-styled-components"; @@ -137,13 +134,13 @@ describe("WorkspaceAction", () => { }); }); -jest.mock("@appsmith/utils/airgapHelpers", () => ({ +jest.mock("ee/utils/airgapHelpers", () => ({ isAirgapped: jest.fn(), })); const mockIsAirGapped = (val: boolean) => { /* eslint-disable @typescript-eslint/no-var-requires */ - const { isAirgapped } = require("@appsmith/utils/airgapHelpers"); + const { isAirgapped } = require("ee/utils/airgapHelpers"); isAirgapped.mockImplementation(() => val); }; diff --git a/app/client/src/ce/pages/Editor/CurlImport/AppCURLImportModal.tsx b/app/client/src/ce/pages/Editor/CurlImport/AppCURLImportModal.tsx index e71eef3e5b30..b49334fabc8a 100644 --- a/app/client/src/ce/pages/Editor/CurlImport/AppCURLImportModal.tsx +++ b/app/client/src/ce/pages/Editor/CurlImport/AppCURLImportModal.tsx @@ -4,12 +4,12 @@ import ModalControls from "pages/Editor/CurlImport/ModalControls"; import { curlImportSubmitHandler } from "pages/Editor/CurlImport/helpers"; import { useSelector } from "react-redux"; import { getCurrentPageId } from "selectors/editorSelectors"; -import { getNewEntityName } from "@appsmith/selectors/entitiesSelector"; +import { getNewEntityName } from "ee/selectors/entitiesSelector"; import { DEFAULT_PREFIX } from "sagas/ActionSagas"; import { ActionParentEntityType, CreateNewActionKey, -} from "@appsmith/entities/Engine/actionHelpers"; +} from "ee/entities/Engine/actionHelpers"; const AppCURLImportModal = () => { const pageId = useSelector(getCurrentPageId); diff --git a/app/client/src/ce/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA/index.tsx b/app/client/src/ce/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA/index.tsx index f434edecb07c..b9d282e5888f 100644 --- a/app/client/src/ce/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA/index.tsx +++ b/app/client/src/ce/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA/index.tsx @@ -1,4 +1,4 @@ -import type { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import type { MODULE_TYPE } from "ee/constants/ModuleConstants"; export interface ConvertToModuleInstanceCTAProps { entityId: string; diff --git a/app/client/src/ce/pages/Editor/Explorer/Entity/getEntityProperties.ts b/app/client/src/ce/pages/Editor/Explorer/Entity/getEntityProperties.ts index 583a4204ed37..eb55fe2c1efe 100644 --- a/app/client/src/ce/pages/Editor/Explorer/Entity/getEntityProperties.ts +++ b/app/client/src/ce/pages/Editor/Explorer/Entity/getEntityProperties.ts @@ -1,18 +1,15 @@ -import { - ENTITY_TYPE, - type JSActionEntity, -} from "@appsmith/entities/DataTree/types"; +import { ENTITY_TYPE, type JSActionEntity } from "ee/entities/DataTree/types"; import WidgetFactory from "WidgetProvider/factory"; import type { DataTreeEntityObject, JSActionEntityConfig, WidgetEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { isFunction } from "lodash"; -import { entityDefinitions } from "@appsmith/utils/autocomplete/EntityDefinitions"; +import { entityDefinitions } from "ee/utils/autocomplete/EntityDefinitions"; import ConfigTreeActions from "utils/configTree"; import store from "store"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; export interface EntityProperty { propertyName: string; diff --git a/app/client/src/ce/pages/Editor/Explorer/helpers.test.ts b/app/client/src/ce/pages/Editor/Explorer/helpers.test.ts index 8fcf6abbc9e1..ea59d4b54a64 100644 --- a/app/client/src/ce/pages/Editor/Explorer/helpers.test.ts +++ b/app/client/src/ce/pages/Editor/Explorer/helpers.test.ts @@ -1,7 +1,7 @@ import { getActionIdFromURL, getJSCollectionIdFromURL, -} from "@appsmith/pages/Editor/Explorer/helpers"; +} from "ee/pages/Editor/Explorer/helpers"; const applicationId = "a0123456789abcdef0000000"; const pageId = "b0123456789abcdef0000000"; diff --git a/app/client/src/ce/pages/Editor/Explorer/helpers.tsx b/app/client/src/ce/pages/Editor/Explorer/helpers.tsx index 5489fda6a315..587f89bf6365 100644 --- a/app/client/src/ce/pages/Editor/Explorer/helpers.tsx +++ b/app/client/src/ce/pages/Editor/Explorer/helpers.tsx @@ -14,11 +14,11 @@ import { SAAS_EDITOR_API_ID_PATH, SAAS_EDITOR_DATASOURCE_ID_PATH, } from "pages/Editor/SaaSEditor/constants"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import type { PluginType } from "entities/Action"; import localStorage from "utils/localStorage"; -import { EDITOR_PATHS } from "@appsmith/entities/IDE/utils"; +import { EDITOR_PATHS } from "ee/entities/IDE/utils"; import type { Match } from "path-to-regexp"; export const ContextMenuPopoverModifiers: IPopoverSharedProps["modifiers"] = { diff --git a/app/client/src/ce/pages/Editor/Explorer/hooks.tsx b/app/client/src/ce/pages/Editor/Explorer/hooks.tsx index bac90a8fb00e..4f68f02b3633 100644 --- a/app/client/src/ce/pages/Editor/Explorer/hooks.tsx +++ b/app/client/src/ce/pages/Editor/Explorer/hooks.tsx @@ -1,6 +1,6 @@ import { useEffect, useMemo } from "react"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { compact, get, groupBy } from "lodash"; import type { Datasource } from "entities/Datasource"; import { isStoredDatasource } from "entities/Action"; @@ -8,11 +8,8 @@ import type { WidgetProps } from "widgets/BaseWidget"; import log from "loglevel"; import produce from "immer"; import type { CanvasStructure } from "reducers/uiReducers/pageCanvasStructureReducer"; -import { - getActions, - getDatasources, -} from "@appsmith/selectors/entitiesSelector"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; +import { getActions, getDatasources } from "ee/selectors/entitiesSelector"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; import { matchPath, useLocation } from "react-router"; import { API_EDITOR_ID_PATH, @@ -21,8 +18,8 @@ import { } from "constants/routes"; import { SAAS_EDITOR_API_ID_PATH } from "pages/Editor/SaaSEditor/constants"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; -import { basePathForActiveAction } from "@appsmith/constants/routes/appRoutes"; -import type { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import { basePathForActiveAction } from "ee/constants/routes/appRoutes"; +import type { MODULE_TYPE } from "ee/constants/ModuleConstants"; import { MAX_DATASOURCE_SUGGESTIONS } from "constants/DatasourceEditorConstants"; export interface UseConvertToModulesOptionsProps { diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/ListItem.tsx b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/ListItem.tsx index ebfa4ae04db8..6f4852577ff2 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/ListItem.tsx +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/ListItem.tsx @@ -1,8 +1,8 @@ import React from "react"; import ExplorerJSCollectionEntity from "pages/Editor/Explorer/JSActions/JSActionEntity"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; -import { Flex } from "design-system"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; +import { Flex } from "@appsmith/ads"; +import type { EntityItem } from "ee/entities/IDE/constants"; export interface JSListItemProps { item: EntityItem; diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/hooks.ts b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/hooks.ts index e2ae6fe61862..39aa3a103530 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/hooks.ts +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/hooks.ts @@ -2,18 +2,18 @@ import { useCallback } from "react"; import { useDispatch, useSelector } from "react-redux"; import { createNewJSCollection } from "actions/jsPaneActions"; import { getCurrentPageId } from "selectors/editorSelectors"; -import type { GroupedAddOperations } from "@appsmith/pages/Editor/IDE/EditorPane/Query/hooks"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; +import type { GroupedAddOperations } from "ee/pages/Editor/IDE/EditorPane/Query/hooks"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; import { JsFileIconV2 } from "pages/Editor/Explorer/ExplorerIcons"; import { SEARCH_ITEM_TYPES } from "components/editorComponents/GlobalSearch/utils"; -import type { UseRoutes } from "@appsmith/entities/IDE/constants"; +import type { UseRoutes } from "ee/entities/IDE/constants"; import JSEditor from "pages/Editor/JSEditor"; import AddJS from "pages/Editor/IDE/EditorPane/JS/Add"; -import { ADD_PATH } from "@appsmith/constants/routes/appRoutes"; +import { ADD_PATH } from "ee/constants/routes/appRoutes"; import history from "utils/history"; import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity"; -import { useModuleOptions } from "@appsmith/utils/moduleInstanceHelpers"; -import { getJSUrl } from "@appsmith/pages/Editor/IDE/EditorPane/JS/utils"; +import { useModuleOptions } from "ee/utils/moduleInstanceHelpers"; +import { getJSUrl } from "ee/pages/Editor/IDE/EditorPane/JS/utils"; import { JSBlankState } from "pages/Editor/JSEditor/JSBlankState"; export const useJSAdd = () => { diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.test.ts b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.test.ts index acc18bfdc0d3..6390be7abf34 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.test.ts +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.test.ts @@ -1,9 +1,9 @@ import { getJSEntityItemUrl, getJSUrl } from "./utils"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import { PluginType } from "entities/Action"; import type { FocusEntityInfo } from "navigation/FocusEntity"; import { FocusEntity } from "navigation/FocusEntity"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; describe("getJSEntityItemUrl", () => { urlBuilder.setCurrentBasePageId("0123456789abcdef00000000"); diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.ts b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.ts index 216df2b3314a..5ec2b952d27a 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.ts +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/JS/utils.ts @@ -1,9 +1,9 @@ -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { jsCollectionAddURL, jsCollectionIdURL, jsCollectionListURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { FocusEntity, type FocusEntityInfo } from "navigation/FocusEntity"; export const getJSEntityItemUrl = ( diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/ListItem.tsx b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/ListItem.tsx index 66457a78e902..8bde1ab49946 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/ListItem.tsx +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/ListItem.tsx @@ -1,7 +1,7 @@ import React from "react"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; import ExplorerActionEntity from "pages/Editor/Explorer/Actions/ActionEntity"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; export interface QueryListItemProps { item: EntityItem; diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx index 4a1905c3dd42..40a815306cf3 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/hooks.tsx @@ -5,32 +5,32 @@ import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity"; import { useDispatch, useSelector } from "react-redux"; import { useFilteredFileOperations } from "components/editorComponents/GlobalSearch/GlobalSearchHooks"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getCurrentPageId, getPagePermissions, } from "selectors/editorSelectors"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import type { ActionOperation } from "components/editorComponents/GlobalSearch/utils"; import { SEARCH_ITEM_TYPES } from "components/editorComponents/GlobalSearch/utils"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; -import { getQueryUrl } from "@appsmith/pages/Editor/IDE/EditorPane/Query/utils"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; +import { getQueryUrl } from "ee/pages/Editor/IDE/EditorPane/Query/utils"; import { ADD_PATH, API_EDITOR_ID_PATH, BUILDER_CUSTOM_PATH, BUILDER_PATH, BUILDER_PATH_DEPRECATED, -} from "@appsmith/constants/routes/appRoutes"; +} from "ee/constants/routes/appRoutes"; import { SAAS_EDITOR_API_ID_PATH } from "pages/Editor/SaaSEditor/constants"; import ApiEditor from "pages/Editor/APIEditor"; -import type { UseRoutes } from "@appsmith/entities/IDE/constants"; +import type { UseRoutes } from "ee/entities/IDE/constants"; import QueryEditor from "pages/Editor/QueryEditor"; import AddQuery from "pages/Editor/IDE/EditorPane/Query/Add"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import keyBy from "lodash/keyBy"; import { getPluginEntityIcon } from "pages/Editor/Explorer/ExplorerIcons"; -import type { ListItemProps } from "design-system"; +import type { ListItemProps } from "@appsmith/ads"; import { createAddClassName } from "pages/Editor/IDE/EditorPane/utils"; import { QueriesBlankState } from "pages/Editor/QueryEditor/QueriesBlankState"; diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.test.ts b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.test.ts index 09c2028b914f..0f7b2c71bbdf 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.test.ts +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.test.ts @@ -1,9 +1,9 @@ import { getQueryEntityItemUrl, getQueryUrl } from "./utils"; import type { FocusEntityInfo } from "navigation/FocusEntity"; import { FocusEntity } from "navigation/FocusEntity"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; import { PluginPackageName, PluginType } from "entities/Action"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; describe("getQueryEntityItemUrl", () => { it("throws error if plugin type is not a query", () => { diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.ts b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.ts index 4ebe1f8d5445..30e0f0022c80 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.ts +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/Query/utils.ts @@ -1,4 +1,4 @@ -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { getActionConfig } from "pages/Editor/Explorer/Actions/helpers"; import type { FocusEntityInfo } from "navigation/FocusEntity"; import { @@ -7,7 +7,7 @@ import { queryEditorIdURL, queryListURL, saasEditorApiIdURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; export const getQueryEntityItemUrl = ( item: EntityItem, diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/JSSegment.test.tsx b/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/JSSegment.test.tsx index a7cfa06dc474..2c86ff879256 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/JSSegment.test.tsx +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/JSSegment.test.tsx @@ -5,7 +5,7 @@ import { Provider } from "react-redux"; import type { Store } from "redux"; import { createStore } from "redux"; import { updateCurrentPage } from "actions/pageActions"; -import rootReducer from "@appsmith/reducers"; +import rootReducer from "ee/reducers"; import * as redux from "react-redux"; // Custom wrapper to provide any store to the provider diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/useGroupAddJsOperations.test.ts b/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/useGroupAddJsOperations.test.ts index 7f7b9c39b9d2..c15389a3ae9d 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/useGroupAddJsOperations.test.ts +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/__tests__/JS/useGroupAddJsOperations.test.ts @@ -1,4 +1,4 @@ -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; import { useGroupedAddJsOperations } from "../../JS/hooks"; describe("useGroupedAddJsOperations", () => { diff --git a/app/client/src/ce/pages/Editor/IDE/EditorPane/constants.ts b/app/client/src/ce/pages/Editor/IDE/EditorPane/constants.ts index e87943ea2b4a..0bc8f608d6bc 100644 --- a/app/client/src/ce/pages/Editor/IDE/EditorPane/constants.ts +++ b/app/client/src/ce/pages/Editor/IDE/EditorPane/constants.ts @@ -3,7 +3,7 @@ import { JS_COLLECTION_EDITOR_PATH, QUERIES_EDITOR_BASE_PATH, WIDGETS_EDITOR_BASE_PATH, -} from "@appsmith/constants/routes/appRoutes"; +} from "ee/constants/routes/appRoutes"; import { SAAS_EDITOR_PATH } from "pages/Editor/SaaSEditor/constants"; export const querySegmentRoutes = [ diff --git a/app/client/src/ce/pages/Editor/NavigationSettings/DeleteLogoButton.tsx b/app/client/src/ce/pages/Editor/NavigationSettings/DeleteLogoButton.tsx index dbe220b4ab38..64408ef73bd8 100644 --- a/app/client/src/ce/pages/Editor/NavigationSettings/DeleteLogoButton.tsx +++ b/app/client/src/ce/pages/Editor/NavigationSettings/DeleteLogoButton.tsx @@ -1,4 +1,4 @@ -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import React from "react"; export const DeleteLogoButton = ({ diff --git a/app/client/src/ce/pages/Editor/gitSync/useReconnectModalData.ts b/app/client/src/ce/pages/Editor/gitSync/useReconnectModalData.ts index 3a1126493131..c5d0d5cbcf57 100644 --- a/app/client/src/ce/pages/Editor/gitSync/useReconnectModalData.ts +++ b/app/client/src/ce/pages/Editor/gitSync/useReconnectModalData.ts @@ -1,11 +1,11 @@ -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { RECONNECT_MISSING_DATASOURCE_CREDENTIALS_DESCRIPTION, SKIP_TO_APPLICATION, createMessage, -} from "@appsmith/constants/messages"; -import { EditorNames } from "@appsmith/hooks"; -import { getApplicationByIdFromWorkspaces } from "@appsmith/selectors/applicationSelectors"; +} from "ee/constants/messages"; +import { EditorNames } from "ee/hooks"; +import { getApplicationByIdFromWorkspaces } from "ee/selectors/applicationSelectors"; import { useSelector } from "react-redux"; interface UseReconnectModalDataProps { diff --git a/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx b/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx index 4f825fc90851..ebfabc2f272d 100644 --- a/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx +++ b/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx @@ -16,7 +16,7 @@ import { RESTRICT_PUBLIC_EXPOSURE_DETAIL1, SECURITY_APPS_LEAST_PRIVILEGE, SECURITY_APPS_LEAST_PRIVILEGE_DETAIL1, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import useOnUpgrade from "utils/hooks/useOnUpgrade"; import { RampFeature, RampSection } from "utils/ProductRamps/RampsControlList"; diff --git a/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx b/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx index 202e2a3bab34..f7686afc7448 100644 --- a/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx +++ b/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx @@ -16,7 +16,7 @@ import { SECURITY_AND_COMPLIANCE, SECURITY_AND_COMPLIANCE_DETAIL1, SECURITY_AND_COMPLIANCE_DETAIL2, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import useOnUpgrade from "utils/hooks/useOnUpgrade"; import { RampFeature, RampSection } from "utils/ProductRamps/RampsControlList"; diff --git a/app/client/src/ce/pages/Upgrade/Carousel.tsx b/app/client/src/ce/pages/Upgrade/Carousel.tsx index 0cfae1f4998b..17baaa0e335f 100644 --- a/app/client/src/ce/pages/Upgrade/Carousel.tsx +++ b/app/client/src/ce/pages/Upgrade/Carousel.tsx @@ -1,6 +1,6 @@ import styled from "styled-components"; import React, { useEffect, useState } from "react"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; import type { CarouselProps } from "./types"; const CarouselContainer = styled.div` diff --git a/app/client/src/ce/pages/Upgrade/Footer.tsx b/app/client/src/ce/pages/Upgrade/Footer.tsx index 0155270ab03d..4b69d96d8fa2 100644 --- a/app/client/src/ce/pages/Upgrade/Footer.tsx +++ b/app/client/src/ce/pages/Upgrade/Footer.tsx @@ -1,13 +1,13 @@ import styled from "styled-components"; import React from "react"; -import { Button, Text } from "design-system"; +import { Button, Text } from "@appsmith/ads"; import type { FooterProps } from "./types"; import { AVAILABLE_ON_BUSINESS, AVAILABLE_ON_ENTERPRISE, createMessage, UPGRADE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const FooterContainer = styled.div` position: absolute; diff --git a/app/client/src/ce/pages/Upgrade/Header.tsx b/app/client/src/ce/pages/Upgrade/Header.tsx index 1b844286c281..6eded0211232 100644 --- a/app/client/src/ce/pages/Upgrade/Header.tsx +++ b/app/client/src/ce/pages/Upgrade/Header.tsx @@ -1,7 +1,7 @@ import styled from "styled-components"; import React from "react"; import type { HeaderProps } from "./types"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; export const HeaderContainer = styled.div` padding: 32px 32px 20px; diff --git a/app/client/src/ce/pages/Upgrade/ProvisioningUpgradePage.tsx b/app/client/src/ce/pages/Upgrade/ProvisioningUpgradePage.tsx index 42201f84ddf7..f229bda6fd40 100644 --- a/app/client/src/ce/pages/Upgrade/ProvisioningUpgradePage.tsx +++ b/app/client/src/ce/pages/Upgrade/ProvisioningUpgradePage.tsx @@ -12,7 +12,7 @@ import { PROVISIONING_UPGRADE_PAGE_FOOTER, PROVISIONING_UPGRADE_PAGE_SUB_HEADING, USER_PROVISIONING_FOR_ENTERPRISES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import useOnUpgrade from "utils/hooks/useOnUpgrade"; import { RampFeature, RampSection } from "utils/ProductRamps/RampsControlList"; diff --git a/app/client/src/ce/pages/Upgrade/businessEdition/UpgradeToBEPage.tsx b/app/client/src/ce/pages/Upgrade/businessEdition/UpgradeToBEPage.tsx index 387bf354a687..c295878f13ee 100644 --- a/app/client/src/ce/pages/Upgrade/businessEdition/UpgradeToBEPage.tsx +++ b/app/client/src/ce/pages/Upgrade/businessEdition/UpgradeToBEPage.tsx @@ -1,14 +1,11 @@ import React from "react"; import styled from "styled-components"; -import { - createMessage, - MOVE_TO_BUSINESS_EDITION, -} from "@appsmith/constants/messages"; +import { createMessage, MOVE_TO_BUSINESS_EDITION } from "ee/constants/messages"; import { FooterComponent } from "../Footer"; import useOnUpgrade from "utils/hooks/useOnUpgrade"; import { Colors } from "constants/Colors"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; export const UpgradeToBEPageWrapper = styled.div` width: 100%; diff --git a/app/client/src/ce/pages/common/WorkflowSearchItem.tsx b/app/client/src/ce/pages/common/WorkflowSearchItem.tsx index 5460a8e5bc51..2ff7ab13c84c 100644 --- a/app/client/src/ce/pages/common/WorkflowSearchItem.tsx +++ b/app/client/src/ce/pages/common/WorkflowSearchItem.tsx @@ -1,4 +1,4 @@ -import type { Workflow } from "@appsmith/constants/WorkflowConstants"; +import type { Workflow } from "ee/constants/WorkflowConstants"; interface Props { workflowsList: Workflow[]; diff --git a/app/client/src/ce/pages/workspace/InviteUsersForm.tsx b/app/client/src/ce/pages/workspace/InviteUsersForm.tsx index 803a0fb2ac78..9b2a32c425ff 100644 --- a/app/client/src/ce/pages/workspace/InviteUsersForm.tsx +++ b/app/client/src/ce/pages/workspace/InviteUsersForm.tsx @@ -3,14 +3,14 @@ import styled from "styled-components"; import TagListField from "components/editorComponents/form/fields/TagListField"; import { reduxForm, SubmissionError } from "redux-form"; import { connect, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { getRolesForField } from "@appsmith/selectors/workspaceSelectors"; +import type { AppState } from "ee/reducers"; +import { getRolesForField } from "ee/selectors/workspaceSelectors"; import type { InviteUsersToWorkspaceFormValues, InviteUsersProps, -} from "@appsmith/pages/workspace/helpers"; -import { inviteUsersToWorkspace } from "@appsmith/pages/workspace/helpers"; -import { INVITE_USERS_TO_WORKSPACE_FORM } from "@appsmith/constants/forms"; +} from "ee/pages/workspace/helpers"; +import { inviteUsersToWorkspace } from "ee/pages/workspace/helpers"; +import { INVITE_USERS_TO_WORKSPACE_FORM } from "ee/constants/forms"; import { createMessage, INVITE_USERS_SUBMIT_SUCCESS, @@ -24,11 +24,11 @@ import { CUSTOM_ROLES_RAMP_TEXT, CUSTOM_ROLE_DISABLED_OPTION_TEXT, CUSTOM_ROLE_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { isEmail } from "utils/formhelpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import type { SelectOptionProps } from "design-system"; -import { Callout, Checkbox } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import type { SelectOptionProps } from "@appsmith/ads"; +import { Callout, Checkbox } from "@appsmith/ads"; import { Button, Icon, @@ -38,28 +38,25 @@ import { Tooltip, toast, Link, -} from "design-system"; +} from "@appsmith/ads"; import { fetchRolesForWorkspace, fetchUsersForWorkspace, fetchWorkspace, -} from "@appsmith/actions/workspaceActions"; -import { - getRampLink, - showProductRamps, -} from "@appsmith/selectors/rampSelectors"; +} from "ee/actions/workspaceActions"; +import { getRampLink, showProductRamps } from "ee/selectors/rampSelectors"; import { RAMP_NAME, RampFeature, RampSection, } from "utils/ProductRamps/RampsControlList"; import BusinessTag from "components/BusinessTag"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; import store from "store"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; +import { isGACEnabled } from "ee/utils/planHelpers"; import type { DefaultOptionType } from "rc-select/lib/Select"; import log from "loglevel"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { AddScriptTo, ScriptStatus, useScript } from "utils/hooks/useScript"; const featureFlags = selectFeatureFlags(store.getState()); diff --git a/app/client/src/ce/pages/workspace/Members.tsx b/app/client/src/ce/pages/workspace/Members.tsx index 06905bc62920..a00c727d487a 100644 --- a/app/client/src/ce/pages/workspace/Members.tsx +++ b/app/client/src/ce/pages/workspace/Members.tsx @@ -4,46 +4,43 @@ import { getAllRoles, getWorkspaceLoadingStates, getFetchedWorkspaces, -} from "@appsmith/selectors/workspaceSelectors"; +} from "ee/selectors/workspaceSelectors"; import type { RouteComponentProps } from "react-router"; import { useHistory } from "react-router"; import { getCurrentUser } from "selectors/usersSelectors"; -import { HighlightText, Table } from "design-system-old"; +import { HighlightText, Table } from "@appsmith/ads-old"; import { fetchUsersForWorkspace, fetchRolesForWorkspace, fetchWorkspace, changeWorkspaceUserRole, deleteWorkspaceUser, -} from "@appsmith/actions/workspaceActions"; -import type { SelectOptionProps } from "design-system"; -import { Avatar, Button, Option, Select, Text } from "design-system"; +} from "ee/actions/workspaceActions"; +import type { SelectOptionProps } from "@appsmith/ads"; +import { Avatar, Button, Option, Select, Text } from "@appsmith/ads"; import styled from "styled-components"; import DeleteConfirmationModal from "pages/workspace/DeleteConfirmationModal"; import { useMediaQuery } from "react-responsive"; import { Card } from "@blueprintjs/core"; import { USER_PHOTO_ASSET_URL } from "constants/userConstants"; -import type { WorkspaceUser } from "@appsmith/constants/workspaceConstants"; +import type { WorkspaceUser } from "ee/constants/workspaceConstants"; import { createMessage, MEMBERS_TAB_TITLE, NO_SEARCH_DATA_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { APPLICATIONS_URL } from "constants/routes"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; import { getInitials } from "utils/AppsmithUtils"; -import { CustomRolesRamp } from "@appsmith/pages/workspace/InviteUsersForm"; -import { showProductRamps } from "@appsmith/selectors/rampSelectors"; +import { CustomRolesRamp } from "ee/pages/workspace/InviteUsersForm"; +import { showProductRamps } from "ee/selectors/rampSelectors"; import { RAMP_NAME } from "utils/ProductRamps/RampsControlList"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getAllUsersOfWorkspace, selectedWorkspaceLoadingStates, -} from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/selectors/selectedWorkspaceSelectors"; export type PageProps = RouteComponentProps<{ workspaceId: string; diff --git a/app/client/src/ce/pages/workspace/helpers.ts b/app/client/src/ce/pages/workspace/helpers.ts index c639a12856bf..88805ab4e28d 100644 --- a/app/client/src/ce/pages/workspace/helpers.ts +++ b/app/client/src/ce/pages/workspace/helpers.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { SubmissionError } from "redux-form"; import type { RouteChildrenProps, RouteComponentProps } from "react-router-dom"; import type { DefaultOptionType } from "rc-select/lib/Select"; diff --git a/app/client/src/ce/plugins/Linting/lib/entity/index.ts b/app/client/src/ce/plugins/Linting/lib/entity/index.ts index d6fd131e045e..43c7354ee7fd 100644 --- a/app/client/src/ce/plugins/Linting/lib/entity/index.ts +++ b/app/client/src/ce/plugins/Linting/lib/entity/index.ts @@ -7,13 +7,10 @@ import type { ActionEntity as TActionEntity, ActionEntityConfig as TActionEntityConfig, JSActionEntityConfig as TJSActionEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import type { EntityClassLoader } from "plugins/Linting/lib/entity/EntityTree"; -import { - ENTITY_TYPE, - type IEntity, -} from "@appsmith/plugins/Linting/lib/entity/types"; +import { ENTITY_TYPE, type IEntity } from "ee/plugins/Linting/lib/entity/types"; import { JSEntity } from "plugins/Linting/lib/entity/JSActionEntity"; import { ActionEntity } from "plugins/Linting/lib/entity/ActionEntity"; import { AppsmithEntity } from "plugins/Linting/lib/entity/AppsmithEntity"; @@ -22,7 +19,7 @@ import { isAction, isJSAction, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; export default class EntityFactory { static getEntity< diff --git a/app/client/src/ce/plugins/Linting/lib/entity/isDynamicEntity.ts b/app/client/src/ce/plugins/Linting/lib/entity/isDynamicEntity.ts index d4bb7955589f..13a090555eeb 100644 --- a/app/client/src/ce/plugins/Linting/lib/entity/isDynamicEntity.ts +++ b/app/client/src/ce/plugins/Linting/lib/entity/isDynamicEntity.ts @@ -1,10 +1,7 @@ import type { ActionEntity } from "plugins/Linting/lib/entity/ActionEntity"; import type { JSEntity } from "plugins/Linting/lib/entity/JSActionEntity"; import type { WidgetEntity } from "plugins/Linting/lib/entity/WidgetEntity"; -import { - ENTITY_TYPE, - type IEntity, -} from "@appsmith/plugins/Linting/lib/entity/types"; +import { ENTITY_TYPE, type IEntity } from "ee/plugins/Linting/lib/entity/types"; export type DynamicEntityType = JSEntity | WidgetEntity | ActionEntity; // only Widgets, jsActions and Actions have paths that can be dynamic diff --git a/app/client/src/ce/plugins/Linting/utils/getEntityDependencies.ts b/app/client/src/ce/plugins/Linting/utils/getEntityDependencies.ts index b298ff384991..36d71268d466 100644 --- a/app/client/src/ce/plugins/Linting/utils/getEntityDependencies.ts +++ b/app/client/src/ce/plugins/Linting/utils/getEntityDependencies.ts @@ -2,8 +2,8 @@ import { addWidgetPropertyDependencies, convertPathToString, getEntityNameAndPropertyPath, -} from "@appsmith/workers/Evaluation/evaluationUtils"; -import { ENTITY_TYPE } from "@appsmith/entities/DataTree/types"; +} from "ee/workers/Evaluation/evaluationUtils"; +import { ENTITY_TYPE } from "ee/entities/DataTree/types"; import type { DependencyMap as TDependencyMap } from "utils/DynamicBindingUtils"; import { getPropertyPath } from "utils/DynamicBindingUtils"; import { getDynamicBindings } from "utils/DynamicBindingUtils"; @@ -17,7 +17,7 @@ import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import type { ActionEntity } from "plugins/Linting/lib/entity/ActionEntity"; import type { JSEntity } from "plugins/Linting/lib/entity/JSActionEntity"; import type { WidgetEntity } from "plugins/Linting/lib/entity/WidgetEntity"; -import type { IEntity } from "@appsmith/plugins/Linting/lib/entity/types"; +import type { IEntity } from "ee/plugins/Linting/lib/entity/types"; export const getDependencies: Record< string, diff --git a/app/client/src/ce/plugins/Linting/utils/getEntityUniqueIdForLogs.ts b/app/client/src/ce/plugins/Linting/utils/getEntityUniqueIdForLogs.ts index 814da7957ff4..414cb362e702 100644 --- a/app/client/src/ce/plugins/Linting/utils/getEntityUniqueIdForLogs.ts +++ b/app/client/src/ce/plugins/Linting/utils/getEntityUniqueIdForLogs.ts @@ -1,4 +1,4 @@ -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; diff --git a/app/client/src/ce/plugins/Linting/utils/isLintErrorLoggingEnabledForEntity.ts b/app/client/src/ce/plugins/Linting/utils/isLintErrorLoggingEnabledForEntity.ts index 2ad2bbd2c429..c5bad4b96ffc 100644 --- a/app/client/src/ce/plugins/Linting/utils/isLintErrorLoggingEnabledForEntity.ts +++ b/app/client/src/ce/plugins/Linting/utils/isLintErrorLoggingEnabledForEntity.ts @@ -1,4 +1,4 @@ -import { isJSAction } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isJSAction } from "ee/workers/Evaluation/evaluationUtils"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; export default function isLintErrorLoggingEnabledForEntity( diff --git a/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx b/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx index bf3adf65ac29..c3d703edde81 100644 --- a/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx +++ b/app/client/src/ce/reducers/entityReducers/actionsReducer.tsx @@ -1,9 +1,9 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ActionResponse } from "api/ActionAPI"; import type { ExecuteErrorPayload } from "constants/AppsmithActionConstants/ActionConstants"; import _ from "lodash"; diff --git a/app/client/src/ce/reducers/entityReducers/index.ts b/app/client/src/ce/reducers/entityReducers/index.ts index 5b3f93773e58..94a5fed8ecbb 100644 --- a/app/client/src/ce/reducers/entityReducers/index.ts +++ b/app/client/src/ce/reducers/entityReducers/index.ts @@ -1,10 +1,10 @@ -import actionsReducer from "@appsmith/reducers/entityReducers/actionsReducer"; +import actionsReducer from "ee/reducers/entityReducers/actionsReducer"; import appReducer from "reducers/entityReducers/appReducer"; import canvasWidgetsReducer from "reducers/entityReducers/canvasWidgetsReducer"; import canvasWidgetsStructureReducer from "reducers/entityReducers/canvasWidgetsStructureReducer"; import metaWidgetsReducer from "reducers/entityReducers/metaWidgetsReducer"; import datasourceReducer from "reducers/entityReducers/datasourceReducer"; -import jsActionsReducer from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import jsActionsReducer from "ee/reducers/entityReducers/jsActionsReducer"; import jsExecutionsReducer from "reducers/entityReducers/jsExecutionsReducer"; import metaReducer from "reducers/entityReducers/metaReducer"; import pageListReducer from "reducers/entityReducers/pageListReducer"; @@ -15,7 +15,7 @@ import canvasLevelsReducer from "reducers/entityReducers/autoHeightReducers/canv /* Reducers which are integrated into the core system when registering a pluggable module or done so by a module that is designed to be eventually pluggable */ import layoutElementPositionsReducer from "layoutSystems/anvil/integrations/reducers/layoutElementPositionsReducer"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type { AppState } from ".."; export const entityReducerObject = { diff --git a/app/client/src/ce/reducers/entityReducers/jsActionsReducer.tsx b/app/client/src/ce/reducers/entityReducers/jsActionsReducer.tsx index 05733788e853..4b0522131093 100644 --- a/app/client/src/ce/reducers/entityReducers/jsActionsReducer.tsx +++ b/app/client/src/ce/reducers/entityReducers/jsActionsReducer.tsx @@ -1,10 +1,10 @@ import { createReducer } from "utils/ReducerUtils"; import type { JSAction, JSCollection } from "entities/JSCollection"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { set, keyBy, findIndex, unset } from "lodash"; import produce from "immer"; import { klona } from "klona"; diff --git a/app/client/src/ce/reducers/index.tsx b/app/client/src/ce/reducers/index.tsx index ab48bf04cc59..a371011e661f 100644 --- a/app/client/src/ce/reducers/index.tsx +++ b/app/client/src/ce/reducers/index.tsx @@ -1,31 +1,31 @@ -import entityReducer from "@appsmith/reducers/entityReducers"; -import uiReducer from "@appsmith/reducers/uiReducers"; +import entityReducer from "ee/reducers/entityReducers"; +import uiReducer from "ee/reducers/uiReducers"; import evaluationsReducer from "reducers/evaluationReducers"; import { reducer as formReducer } from "redux-form"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; -import type { EditorReduxState } from "@appsmith/reducers/uiReducers/editorReducer"; +import type { EditorReduxState } from "ee/reducers/uiReducers/editorReducer"; import type { ErrorReduxState } from "reducers/uiReducers/errorReducer"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; import type { PropertyPaneReduxState } from "reducers/uiReducers/propertyPaneReducer"; import type { TemplatesReduxState } from "reducers/uiReducers/templateReducer"; import type { DatasourceDataState } from "reducers/entityReducers/datasourceReducer"; import type { AppViewReduxState } from "reducers/uiReducers/appViewReducer"; import type { DatasourcePaneReduxState } from "reducers/uiReducers/datasourcePaneReducer"; -import type { ApplicationsReduxState } from "@appsmith/reducers/uiReducers/applicationsReducer"; +import type { ApplicationsReduxState } from "ee/reducers/uiReducers/applicationsReducer"; import type { PageListReduxState } from "reducers/entityReducers/pageListReducer"; -import type { ApiPaneReduxState } from "@appsmith/reducers/uiReducers/apiPaneReducer"; -import type { QueryPaneReduxState } from "@appsmith/reducers/uiReducers/queryPaneReducer"; +import type { ApiPaneReduxState } from "ee/reducers/uiReducers/apiPaneReducer"; +import type { QueryPaneReduxState } from "ee/reducers/uiReducers/queryPaneReducer"; import type { PluginDataState } from "reducers/entityReducers/pluginsReducer"; import type { AuthState } from "reducers/uiReducers/authReducer"; -import type { WorkspaceReduxState } from "@appsmith/reducers/uiReducers/workspaceReducer"; +import type { WorkspaceReduxState } from "ee/reducers/uiReducers/workspaceReducer"; import type { UsersReduxState } from "reducers/uiReducers/usersReducer"; import type { ThemeState } from "reducers/uiReducers/themeReducer"; import type { WidgetDragResizeState } from "reducers/uiReducers/dragResizeReducer"; import type { MetaState } from "reducers/entityReducers/metaReducer"; import type { ImportReduxState } from "reducers/uiReducers/importReducer"; import type { HelpReduxState } from "reducers/uiReducers/helpReducer"; -import type { ApiNameReduxState } from "@appsmith/reducers/uiReducers/apiNameReducer"; -import type { ExplorerReduxState } from "@appsmith/reducers/uiReducers/explorerReducer"; +import type { ApiNameReduxState } from "ee/reducers/uiReducers/apiNameReducer"; +import type { ExplorerReduxState } from "ee/reducers/uiReducers/explorerReducer"; import type { PageCanvasStructureReduxState } from "reducers/uiReducers/pageCanvasStructureReducer"; import type { ModalActionReduxState } from "reducers/uiReducers/modalActionReducer"; import type { AppDataState } from "reducers/entityReducers/appReducer"; @@ -43,7 +43,7 @@ import type { DebuggerReduxState } from "reducers/uiReducers/debuggerReducer"; import type { TourReducerState } from "reducers/uiReducers/tourReducer"; import type { TableFilterPaneReduxState } from "reducers/uiReducers/tableFilterPaneReducer"; import type { JsPaneReduxState } from "reducers/uiReducers/jsPaneReducer"; -import type { JSCollectionDataState } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionDataState } from "ee/reducers/entityReducers/jsActionsReducer"; import type { CanvasSelectionState } from "reducers/uiReducers/canvasSelectionReducer"; import type { JSObjectNameReduxState } from "reducers/uiReducers/jsObjectNameReducer"; import type { GitSyncReducerState } from "reducers/uiReducers/gitSyncReducer"; @@ -53,15 +53,15 @@ import type { FormEvaluationState } from "reducers/evaluationReducers/formEvalua import type { widgetReflow } from "reducers/uiReducers/reflowReducer"; import type { AppThemingState } from "reducers/uiReducers/appThemingReducer"; import type { MainCanvasReduxState } from "reducers/uiReducers/mainCanvasReducer"; -import type { SettingsReduxState } from "@appsmith/reducers/settingsReducer"; -import SettingsReducer from "@appsmith/reducers/settingsReducer"; +import type { SettingsReduxState } from "ee/reducers/settingsReducer"; +import SettingsReducer from "ee/reducers/settingsReducer"; import type { TriggerValuesEvaluationState } from "reducers/evaluationReducers/triggerReducer"; import type { CanvasWidgetStructure } from "WidgetProvider/constants"; import type { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer"; -import type { TenantReduxState } from "@appsmith/reducers/tenantReducer"; -import tenantReducer from "@appsmith/reducers/tenantReducer"; +import type { TenantReduxState } from "ee/reducers/tenantReducer"; +import tenantReducer from "ee/reducers/tenantReducer"; import type { FocusHistoryState } from "reducers/uiReducers/focusHistoryReducer"; -import type { EditorContextState } from "@appsmith/reducers/uiReducers/editorContextReducer"; +import type { EditorContextState } from "ee/reducers/uiReducers/editorContextReducer"; import type { LibraryState } from "reducers/uiReducers/libraryReducer"; import type { AutoHeightLayoutTreeReduxState } from "reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer"; import type { CanvasLevelsReduxState } from "reducers/entityReducers/autoHeightReducers/canvasLevelsReducer"; @@ -78,7 +78,7 @@ import type { IDEState } from "reducers/uiReducers/ideReducer"; or done so by a module that is designed to be eventually pluggable */ import type { LayoutElementPositionsReduxState } from "layoutSystems/anvil/integrations/reducers/layoutElementPositionsReducer"; import type { ActiveField } from "reducers/uiReducers/activeFieldEditorReducer"; -import type { SelectedWorkspaceReduxState } from "@appsmith/reducers/uiReducers/selectedWorkspaceReducer"; +import type { SelectedWorkspaceReduxState } from "ee/reducers/uiReducers/selectedWorkspaceReducer"; import type { ConsolidatedPageLoadState } from "reducers/uiReducers/consolidatedPageLoadReducer"; import type { BuildingBlocksReduxState } from "reducers/uiReducers/buildingBlockReducer"; diff --git a/app/client/src/ce/reducers/settingsReducer.ts b/app/client/src/ce/reducers/settingsReducer.ts index dcd0811c2158..00b7f774ba63 100644 --- a/app/client/src/ce/reducers/settingsReducer.ts +++ b/app/client/src/ce/reducers/settingsReducer.ts @@ -1,11 +1,11 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { createReducer } from "utils/ReducerUtils"; -import type { TenantReduxState } from "@appsmith/reducers/tenantReducer"; -import { tenantConfigConnection } from "@appsmith/constants/tenantConstants"; +import type { TenantReduxState } from "ee/reducers/tenantReducer"; +import { tenantConfigConnection } from "ee/constants/tenantConstants"; export const initialState: SettingsReduxState = { isLoading: true, diff --git a/app/client/src/ce/reducers/tenantReducer.ts b/app/client/src/ce/reducers/tenantReducer.ts index a5624c25f579..8cbd9e1a49b2 100644 --- a/app/client/src/ce/reducers/tenantReducer.ts +++ b/app/client/src/ce/reducers/tenantReducer.ts @@ -1,8 +1,8 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { APPSMITH_BRAND_FAVICON_URL, APPSMITH_BRAND_LOGO_URL, diff --git a/app/client/src/ce/reducers/uiReducers/apiNameReducer.ts b/app/client/src/ce/reducers/uiReducers/apiNameReducer.ts index 38d07221e662..3333809b0ad3 100644 --- a/app/client/src/ce/reducers/uiReducers/apiNameReducer.ts +++ b/app/client/src/ce/reducers/uiReducers/apiNameReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; export const initialState: ApiNameReduxState = { isSaving: {}, diff --git a/app/client/src/ce/reducers/uiReducers/apiPaneReducer.ts b/app/client/src/ce/reducers/uiReducers/apiPaneReducer.ts index 051ad80b454f..c05f642dc949 100644 --- a/app/client/src/ce/reducers/uiReducers/apiPaneReducer.ts +++ b/app/client/src/ce/reducers/uiReducers/apiPaneReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { Action } from "entities/Action"; import type { UpdateActionPropertyActionPayload } from "actions/pluginActionActions"; import { ActionExecutionResizerHeight } from "pages/Editor/APIEditor/constants"; diff --git a/app/client/src/ce/reducers/uiReducers/applicationsReducer.tsx b/app/client/src/ce/reducers/uiReducers/applicationsReducer.tsx index 86c785f6aa35..f94454f9e7ad 100644 --- a/app/client/src/ce/reducers/uiReducers/applicationsReducer.tsx +++ b/app/client/src/ce/reducers/uiReducers/applicationsReducer.tsx @@ -2,24 +2,24 @@ import { createReducer } from "utils/ReducerUtils"; import type { ReduxAction, ApplicationPayload, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { createMessage, ERROR_MESSAGE_CREATE_APPLICATION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { AppEmbedSetting, PageDefaultMeta, UpdateApplicationRequest, -} from "@appsmith/api/ApplicationApi"; +} from "ee/api/ApplicationApi"; import type { CreateApplicationFormValues } from "pages/Applications/helpers"; import type { AppLayoutConfig } from "reducers/entityReducers/pageListReducer"; import type { ConnectToGitResponse } from "actions/gitSyncActions"; -import type { IconNames } from "design-system"; +import type { IconNames } from "@appsmith/ads"; import type { NavigationSetting, ThemeSetting } from "constants/AppConstants"; import { defaultNavigationSetting, diff --git a/app/client/src/ce/reducers/uiReducers/editorContextReducer.ts b/app/client/src/ce/reducers/uiReducers/editorContextReducer.ts index c0b2ac38a25f..47a49e1a8e0f 100644 --- a/app/client/src/ce/reducers/uiReducers/editorContextReducer.ts +++ b/app/client/src/ce/reducers/uiReducers/editorContextReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export enum CursorPositionOrigin { Navigation = "Navigation", diff --git a/app/client/src/ce/reducers/uiReducers/editorReducer.tsx b/app/client/src/ce/reducers/uiReducers/editorReducer.tsx index 626def5e8344..4bd36aaf8afc 100644 --- a/app/client/src/ce/reducers/uiReducers/editorReducer.tsx +++ b/app/client/src/ce/reducers/uiReducers/editorReducer.tsx @@ -2,11 +2,11 @@ import { createReducer } from "utils/ReducerUtils"; import type { ReduxAction, UpdateCanvasPayload, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import moment from "moment"; import type { LayoutOnLoadActionErrors, diff --git a/app/client/src/ce/reducers/uiReducers/explorerReducer.ts b/app/client/src/ce/reducers/uiReducers/explorerReducer.ts index f572978630ff..f05d394cea4c 100644 --- a/app/client/src/ce/reducers/uiReducers/explorerReducer.ts +++ b/app/client/src/ce/reducers/uiReducers/explorerReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import get from "lodash/get"; import type { EntityTypeValue } from "entities/DataTree/dataTreeFactory"; import { DEFAULT_ENTITY_EXPLORER_WIDTH } from "constants/AppConstants"; diff --git a/app/client/src/ce/reducers/uiReducers/index.tsx b/app/client/src/ce/reducers/uiReducers/index.tsx index 5d5312798d24..0a746521b700 100644 --- a/app/client/src/ce/reducers/uiReducers/index.tsx +++ b/app/client/src/ce/reducers/uiReducers/index.tsx @@ -1,21 +1,21 @@ -import editorReducer from "@appsmith/reducers/uiReducers/editorReducer"; +import editorReducer from "ee/reducers/uiReducers/editorReducer"; import errorReducer from "reducers/uiReducers/errorReducer"; import propertyPaneReducer from "reducers/uiReducers/propertyPaneReducer"; import appViewReducer from "reducers/uiReducers/appViewReducer"; -import applicationsReducer from "@appsmith/reducers/uiReducers/applicationsReducer"; -import apiPaneReducer from "@appsmith/reducers/uiReducers/apiPaneReducer"; +import applicationsReducer from "ee/reducers/uiReducers/applicationsReducer"; +import apiPaneReducer from "ee/reducers/uiReducers/apiPaneReducer"; import datasourcePaneReducer from "reducers/uiReducers/datasourcePaneReducer"; import authReducer from "reducers/uiReducers/authReducer"; -import workspaceReducer from "@appsmith/reducers/uiReducers/workspaceReducer"; +import workspaceReducer from "ee/reducers/uiReducers/workspaceReducer"; import templateReducer from "reducers/uiReducers/templateReducer"; import buildingBlockReducer from "reducers/uiReducers/buildingBlockReducer"; import usersReducer from "reducers/uiReducers/usersReducer"; import { widgetDraggingReducer } from "reducers/uiReducers/dragResizeReducer"; import importReducer from "reducers/uiReducers/importReducer"; -import queryPaneReducer from "@appsmith/reducers/uiReducers/queryPaneReducer"; +import queryPaneReducer from "ee/reducers/uiReducers/queryPaneReducer"; import helpReducer from "reducers/uiReducers/helpReducer"; -import apiNameReducer from "@appsmith/reducers/uiReducers/apiNameReducer"; -import explorerReducer from "@appsmith/reducers/uiReducers/explorerReducer"; +import apiNameReducer from "ee/reducers/uiReducers/apiNameReducer"; +import explorerReducer from "ee/reducers/uiReducers/explorerReducer"; import modalActionReducer from "reducers/uiReducers/modalActionReducer"; import themeReducer from "reducers/uiReducers/themeReducer"; import datasourceNameReducer from "reducers/uiReducers/datasourceNameReducer"; @@ -39,7 +39,7 @@ import jsObjectNameReducer from "reducers/uiReducers/jsObjectNameReducer"; import appThemingReducer from "reducers/uiReducers/appThemingReducer"; import mainCanvasReducer from "reducers/uiReducers/mainCanvasReducer"; import focusHistoryReducer from "reducers/uiReducers/focusHistoryReducer"; -import { editorContextReducer } from "@appsmith/reducers/uiReducers/editorContextReducer"; +import { editorContextReducer } from "ee/reducers/uiReducers/editorContextReducer"; import libraryReducer from "reducers/uiReducers/libraryReducer"; import appSettingsPaneReducer from "reducers/uiReducers/appSettingsPaneReducer"; import autoHeightUIReducer from "reducers/uiReducers/autoHeightReducer"; @@ -47,7 +47,7 @@ import analyticsReducer from "reducers/uiReducers/analyticsReducer"; import layoutConversionReducer from "reducers/uiReducers/layoutConversionReducer"; import oneClickBindingReducer from "reducers/uiReducers/oneClickBindingReducer"; import activeFieldReducer from "reducers/uiReducers/activeFieldEditorReducer"; -import selectedWorkspaceReducer from "@appsmith/reducers/uiReducers/selectedWorkspaceReducer"; +import selectedWorkspaceReducer from "ee/reducers/uiReducers/selectedWorkspaceReducer"; import ideReducer from "../../../reducers/uiReducers/ideReducer"; import consolidatedPageLoadReducer from "reducers/uiReducers/consolidatedPageLoadReducer"; diff --git a/app/client/src/ce/reducers/uiReducers/queryPaneReducer.ts b/app/client/src/ce/reducers/uiReducers/queryPaneReducer.ts index 66a5806986e7..e14697350366 100644 --- a/app/client/src/ce/reducers/uiReducers/queryPaneReducer.ts +++ b/app/client/src/ce/reducers/uiReducers/queryPaneReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { omit } from "lodash"; import type { Action } from "entities/Action"; import type { ActionResponse } from "api/ActionAPI"; diff --git a/app/client/src/ce/reducers/uiReducers/selectedWorkspaceReducer.ts b/app/client/src/ce/reducers/uiReducers/selectedWorkspaceReducer.ts index f0beca260ab3..864bc7f0d939 100644 --- a/app/client/src/ce/reducers/uiReducers/selectedWorkspaceReducer.ts +++ b/app/client/src/ce/reducers/uiReducers/selectedWorkspaceReducer.ts @@ -2,18 +2,18 @@ import { createImmerReducer } from "utils/ReducerUtils"; import type { ApplicationPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { Workspace, WorkspaceUser, WorkspaceUserRoles, -} from "@appsmith/constants/workspaceConstants"; -import type { Package } from "@appsmith/constants/PackageConstants"; -import type { UpdateApplicationRequest } from "@appsmith/api/ApplicationApi"; +} from "ee/constants/workspaceConstants"; +import type { Package } from "ee/constants/PackageConstants"; +import type { UpdateApplicationRequest } from "ee/api/ApplicationApi"; export interface SelectedWorkspaceReduxState { workspace: Workspace; diff --git a/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts b/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts index fd7b218db8b5..4f46b1a7668d 100644 --- a/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts +++ b/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts @@ -1,13 +1,10 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import type { - WorkspaceRole, - Workspace, -} from "@appsmith/constants/workspaceConstants"; +} from "ee/constants/ReduxActionConstants"; +import type { WorkspaceRole, Workspace } from "ee/constants/workspaceConstants"; export interface WorkspaceReduxState { list: Workspace[]; diff --git a/app/client/src/ce/sagas/ActionExecution/ActionExecutionSagas.ts b/app/client/src/ce/sagas/ActionExecution/ActionExecutionSagas.ts index fa6495b9d569..daeaef716e48 100644 --- a/app/client/src/ce/sagas/ActionExecution/ActionExecutionSagas.ts +++ b/app/client/src/ce/sagas/ActionExecution/ActionExecutionSagas.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { EventType, ExecuteTriggerPayload, @@ -41,9 +41,9 @@ import { watchCurrentLocation, } from "sagas/ActionExecution/geolocationSaga"; import { postMessageSaga } from "sagas/ActionExecution/PostMessageSaga"; -import type { ActionDescription } from "@appsmith/workers/Evaluation/fns"; -import type { AppState } from "@appsmith/reducers"; -import { getAction } from "@appsmith/selectors/entitiesSelector"; +import type { ActionDescription } from "ee/workers/Evaluation/fns"; +import type { AppState } from "ee/reducers"; +import { getAction } from "ee/selectors/entitiesSelector"; export interface TriggerMeta { source?: TriggerSource; diff --git a/app/client/src/ce/sagas/ApiCallerSagas.ts b/app/client/src/ce/sagas/ApiCallerSagas.ts index 9790963fe472..0aee8bc75127 100644 --- a/app/client/src/ce/sagas/ApiCallerSagas.ts +++ b/app/client/src/ce/sagas/ApiCallerSagas.ts @@ -1,4 +1,4 @@ -import JSActionAPI from "@appsmith/api/JSActionAPI"; +import JSActionAPI from "ee/api/JSActionAPI"; import ActionAPI from "api/ActionAPI"; import type { ApiResponse } from "api/ApiResponses"; import type { Action } from "entities/Action"; diff --git a/app/client/src/ce/sagas/ApplicationSagas.tsx b/app/client/src/ce/sagas/ApplicationSagas.tsx index 7d6c11e0887b..e48e0f6e887a 100644 --- a/app/client/src/ce/sagas/ApplicationSagas.tsx +++ b/app/client/src/ce/sagas/ApplicationSagas.tsx @@ -2,11 +2,11 @@ import type { ApplicationPayload, Page, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ApplicationPagePayload, ApplicationResponsePayload, @@ -28,15 +28,15 @@ import type { UpdateApplicationRequest, UpdateApplicationResponse, UploadNavigationLogoRequest, -} from "@appsmith/api/ApplicationApi"; -import ApplicationApi from "@appsmith/api/ApplicationApi"; +} from "ee/api/ApplicationApi"; +import ApplicationApi from "ee/api/ApplicationApi"; import { all, call, put, select, take } from "redux-saga/effects"; import { validateResponse } from "sagas/ErrorSagas"; -import { getCurrentApplicationIdForCreateNewApp } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplicationIdForCreateNewApp } from "ee/selectors/applicationSelectors"; import type { ApiResponse } from "api/ApiResponses"; import history from "utils/history"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { ApplicationVersion, deleteApplicationNavigationLogoSuccessAction, @@ -56,15 +56,15 @@ import { updateCurrentApplicationForkingEnabled, updateApplicationThemeSettingAction, fetchAllApplicationsOfWorkspace, -} from "@appsmith/actions/applicationActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/actions/applicationActions"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { createMessage, ERROR_IMPORTING_APPLICATION_TO_WORKSPACE, IMPORT_APP_SUCCESSFUL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { APP_MODE } from "entities/App"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +import type { Workspace } from "ee/constants/workspaceConstants"; import type { AppColorCode } from "constants/DefaultTheme"; import { getCurrentApplicationId, @@ -81,7 +81,7 @@ import { reconnectAppLevelWebsocket, reconnectPageLevelWebsocket, } from "actions/websocketActions"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; import { fetchPluginFormConfigs, fetchPlugins } from "actions/pluginActions"; import { @@ -90,38 +90,35 @@ import { } from "actions/datasourceActions"; import { failFastApiCalls } from "sagas/InitSagas"; import type { Datasource } from "entities/Datasource"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; import { getDefaultPageId as selectDefaultPageId } from "sagas/selectors"; import PageApi from "api/PageApi"; import { isEmpty, merge } from "lodash"; import { checkAndGetPluginFormConfigsSaga } from "sagas/PluginSagas"; -import { - getPageList, - getPluginForm, -} from "@appsmith/selectors/entitiesSelector"; +import { getPageList, getPluginForm } from "ee/selectors/entitiesSelector"; import { getConfigInitialValues } from "components/formControls/utils"; import DatasourcesApi from "api/DatasourcesApi"; import type { SetDefaultPageActionPayload } from "actions/pageActions"; import { resetApplicationWidgets } from "actions/pageActions"; import { setCanvasCardsState } from "actions/editorActions"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { User } from "constants/userConstants"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; import { getCurrentUser } from "selectors/usersSelectors"; -import { ERROR_CODES } from "@appsmith/constants/ApiConstants"; +import { ERROR_CODES } from "ee/constants/ApiConstants"; import { safeCrashAppRequest } from "actions/errorActions"; -import type { IconNames } from "design-system"; +import type { IconNames } from "@appsmith/ads"; import { defaultNavigationSetting, keysOfNavigationSetting, } from "constants/AppConstants"; import { setAllEntityCollapsibleStates } from "actions/editorContextActions"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { LayoutSystemTypes } from "layoutSystems/types"; import { getApplicationsOfWorkspace, getCurrentWorkspaceId, -} from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/selectors/selectedWorkspaceSelectors"; import equal from "fast-deep-equal"; import { getFromServerWhenNoPrefetchedResult } from "sagas/helper"; import { getIsAnvilLayoutEnabled } from "layoutSystems/anvil/integrations/selectors"; diff --git a/app/client/src/ce/sagas/InferAffectedJSObjects.ts b/app/client/src/ce/sagas/InferAffectedJSObjects.ts index 4f91912ea994..86e804a2d6d2 100644 --- a/app/client/src/ce/sagas/InferAffectedJSObjects.ts +++ b/app/client/src/ce/sagas/InferAffectedJSObjects.ts @@ -1,12 +1,12 @@ import type { BufferedReduxAction, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import { JS_ACTIONS } from "@appsmith/actions/evaluationActionsList"; +} from "ee/constants/ReduxActionConstants"; +import { JS_ACTIONS } from "ee/actions/evaluationActionsList"; import type { AffectedJSObjects } from "sagas/EvaluationsSagaUtils"; import type { JSCollection } from "entities/JSCollection"; diff --git a/app/client/src/ce/sagas/JSActionSagas.ts b/app/client/src/ce/sagas/JSActionSagas.ts index 62580e526fe8..a152a8acd29c 100644 --- a/app/client/src/ce/sagas/JSActionSagas.ts +++ b/app/client/src/ce/sagas/JSActionSagas.ts @@ -1,11 +1,11 @@ import type { EvaluationReduxAction, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { put, select, call } from "redux-saga/effects"; import { updateActionData, @@ -29,14 +29,14 @@ import { getJSCollection, getNewEntityName, getPageNameByPageId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import history from "utils/history"; import { getCurrentBasePageId, getCurrentPageId, } from "selectors/editorSelectors"; -import type { JSCollectionCreateUpdateResponse } from "@appsmith/api/JSActionAPI"; -import JSActionAPI from "@appsmith/api/JSActionAPI"; +import type { JSCollectionCreateUpdateResponse } from "ee/api/JSActionAPI"; +import JSActionAPI from "ee/api/JSActionAPI"; import { createMessage, ERROR_JS_ACTION_COPY_FAIL, @@ -45,7 +45,7 @@ import { JS_ACTION_COPY_SUCCESS, JS_ACTION_DELETE_SUCCESS, JS_ACTION_MOVE_SUCCESS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { validateResponse } from "sagas/ErrorSagas"; import type { FetchPageRequest, @@ -53,30 +53,30 @@ import type { PageLayout, } from "api/PageApi"; import PageApi from "api/PageApi"; -import { updateCanvasWithDSL } from "@appsmith/sagas/PageSagas"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import { updateCanvasWithDSL } from "ee/sagas/PageSagas"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import type { ApiResponse } from "api/ApiResponses"; import AppsmithConsole from "utils/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; -import type { CreateJSCollectionRequest } from "@appsmith/api/JSActionAPI"; +import type { CreateJSCollectionRequest } from "ee/api/JSActionAPI"; import * as log from "loglevel"; -import { builderURL, jsCollectionIdURL } from "@appsmith/RouteBuilder"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { builderURL, jsCollectionIdURL } from "ee/RouteBuilder"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { checkAndLogErrorsIfCyclicDependency, getFromServerWhenNoPrefetchedResult, } from "sagas/helper"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { updateAndSaveLayout } from "actions/pageActions"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { getWidgets } from "sagas/selectors"; import FocusRetention from "sagas/FocusRetentionSaga"; import { handleJSEntityRedirect } from "sagas/IDESaga"; -import { getIDETypeByUrl } from "@appsmith/entities/IDE/utils"; -import { IDE_TYPE } from "@appsmith/entities/IDE/constants"; -import { CreateNewActionKey } from "@appsmith/entities/Engine/actionHelpers"; +import { getIDETypeByUrl } from "ee/entities/IDE/utils"; +import { IDE_TYPE } from "ee/entities/IDE/constants"; +import { CreateNewActionKey } from "ee/entities/Engine/actionHelpers"; import { getAllActionTestPayloads } from "utils/storage"; import { convertToBasePageIdSelector } from "selectors/pageListSelectors"; diff --git a/app/client/src/ce/sagas/NavigationSagas.ts b/app/client/src/ce/sagas/NavigationSagas.ts index 17b898fef88b..e0dfa23dbfc2 100644 --- a/app/client/src/ce/sagas/NavigationSagas.ts +++ b/app/client/src/ce/sagas/NavigationSagas.ts @@ -2,9 +2,9 @@ import { fork, put, select, call } from "redux-saga/effects"; import type { RouteChangeActionPayload } from "actions/focusHistoryActions"; import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity"; import log from "loglevel"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getRecentEntityIds } from "selectors/globalSearchSelectors"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { getCurrentThemeDetails } from "selectors/themeSelectors"; import type { BackgroundTheme } from "sagas/ThemeSaga"; import { changeAppBackground } from "sagas/ThemeSaga"; @@ -19,9 +19,9 @@ import { getSafeCrash } from "selectors/errorSelectors"; import { flushErrors } from "actions/errorActions"; import type { NavigationMethod } from "utils/history"; import UsagePulse from "usagePulse"; -import { getIDETypeByUrl } from "@appsmith/entities/IDE/utils"; -import type { EditorViewMode } from "@appsmith/entities/IDE/constants"; -import { IDE_TYPE } from "@appsmith/entities/IDE/constants"; +import { getIDETypeByUrl } from "ee/entities/IDE/utils"; +import type { EditorViewMode } from "ee/entities/IDE/constants"; +import { IDE_TYPE } from "ee/entities/IDE/constants"; import { updateIDETabsOnRouteChangeSaga } from "sagas/IDESaga"; import { getIDEViewMode } from "selectors/ideSelectors"; diff --git a/app/client/src/ce/sagas/PageSagas.tsx b/app/client/src/ce/sagas/PageSagas.tsx index 082077bb03a0..4605bd9dcd8b 100644 --- a/app/client/src/ce/sagas/PageSagas.tsx +++ b/app/client/src/ce/sagas/PageSagas.tsx @@ -1,13 +1,13 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Page, ReduxAction, UpdateCanvasPayload, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ClonePageActionPayload, CreatePageActionPayload, @@ -103,11 +103,11 @@ import PerformanceTracker, { import log from "loglevel"; import { migrateIncorrectDynamicBindingPathLists } from "utils/migrations/IncorrectDynamicBindingPathLists"; import * as Sentry from "@sentry/react"; -import { ERROR_CODES } from "@appsmith/constants/ApiConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { ERROR_CODES } from "ee/constants/ApiConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import DEFAULT_TEMPLATE from "templates/default"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { setCrudInfoModalData } from "actions/crudInfoModalActions"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import { @@ -117,7 +117,7 @@ import { } from "actions/jsActionActions"; import WidgetFactory from "WidgetProvider/factory"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { failFastApiCalls, waitForWidgetConfigBuild } from "sagas/InitSagas"; import { resizePublishedMainCanvasToLowestWidget } from "sagas/WidgetOperationUtils"; import { @@ -127,26 +127,26 @@ import { import { LOCAL_STORAGE_KEYS } from "utils/localStorage"; import { generateAutoHeightLayoutTreeAction } from "actions/autoHeightActions"; import { getUsedActionNames } from "selectors/actionSelectors"; -import { getPageList } from "@appsmith/selectors/entitiesSelector"; +import { getPageList } from "ee/selectors/entitiesSelector"; import { setPreviewModeAction } from "actions/editorActions"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { getCurrentGitBranch } from "selectors/gitSyncSelectors"; import type { MainCanvasReduxState } from "reducers/uiReducers/mainCanvasReducer"; import { UserCancelledActionExecutionError } from "sagas/ActionExecution/errorUtils"; -import { getInstanceId } from "@appsmith/selectors/tenantSelectors"; +import { getInstanceId } from "ee/selectors/tenantSelectors"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import type { WidgetProps } from "widgets/BaseWidget"; import { nestDSL, flattenDSL, LATEST_DSL_VERSION } from "@shared/dsl"; import { fetchSnapshotDetailsAction } from "actions/autoLayoutActions"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { isGACEnabled } from "ee/utils/planHelpers"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; import { getLayoutSystemDSLTransformer } from "layoutSystems/common/utils/LayoutSystemDSLTransformer"; import type { DSLWidget } from "WidgetProvider/constants"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { ActionExecutionContext } from "entities/Action"; import type { LayoutSystemTypes } from "layoutSystems/types"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; diff --git a/app/client/src/ce/sagas/SuperUserSagas.tsx b/app/client/src/ce/sagas/SuperUserSagas.tsx index 99000eda0dcc..0fbf0f60ac7f 100644 --- a/app/client/src/ce/sagas/SuperUserSagas.tsx +++ b/app/client/src/ce/sagas/SuperUserSagas.tsx @@ -1,16 +1,16 @@ -import type { SendTestEmailPayload } from "@appsmith/api/UserApi"; -import UserApi from "@appsmith/api/UserApi"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { SendTestEmailPayload } from "ee/api/UserApi"; +import UserApi from "ee/api/UserApi"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { APPLICATIONS_URL } from "constants/routes"; import type { User } from "constants/userConstants"; import { call, put, delay, select } from "redux-saga/effects"; import history from "utils/history"; import { validateResponse } from "sagas/ErrorSagas"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import type { ApiResponse } from "api/ApiResponses"; import { @@ -19,18 +19,18 @@ import { TEST_EMAIL_FAILURE, TEST_EMAIL_SUCCESS, TEST_EMAIL_SUCCESS_TROUBLESHOOT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getCurrentUser } from "selectors/usersSelectors"; import { EMAIL_SETUP_DOC } from "constants/ThirdPartyConstants"; -import { toast } from "design-system"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { toast } from "@appsmith/ads"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { MIGRATION_STATUS, RESTART_POLL_INTERVAL, RESTART_POLL_TIMEOUT, -} from "@appsmith/constants/tenantConstants"; -import type { FetchCurrentTenantConfigResponse } from "@appsmith/api/TenantApi"; -import TenantApi from "@appsmith/api/TenantApi"; +} from "ee/constants/tenantConstants"; +import type { FetchCurrentTenantConfigResponse } from "ee/api/TenantApi"; +import TenantApi from "ee/api/TenantApi"; export function* FetchAdminSettingsSaga() { const response: ApiResponse = yield call(UserApi.fetchAdminSettings); diff --git a/app/client/src/ce/sagas/WorkspaceSagas.ts b/app/client/src/ce/sagas/WorkspaceSagas.ts index 34d43c817ac1..a5ee61b37d3c 100644 --- a/app/client/src/ce/sagas/WorkspaceSagas.ts +++ b/app/client/src/ce/sagas/WorkspaceSagas.ts @@ -2,11 +2,11 @@ import { call, put, select } from "redux-saga/effects"; import type { ReduxAction, ReduxActionWithPromise, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { validateResponse, callAPI, @@ -25,12 +25,12 @@ import type { FetchAllRolesRequest, SaveWorkspaceLogo, FetchWorkspacesResponse, -} from "@appsmith/api/WorkspaceApi"; -import WorkspaceApi from "@appsmith/api/WorkspaceApi"; +} from "ee/api/WorkspaceApi"; +import WorkspaceApi from "ee/api/WorkspaceApi"; import type { ApiResponse } from "api/ApiResponses"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; import { getCurrentUser } from "selectors/usersSelectors"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +import type { Workspace } from "ee/constants/workspaceConstants"; import history from "utils/history"; import { APPLICATIONS_URL } from "constants/routes"; import log from "loglevel"; @@ -38,11 +38,11 @@ import type { User } from "constants/userConstants"; import { createMessage, DELETE_WORKSPACE_SUCCESSFUL, -} from "@appsmith/constants/messages"; -import { toast } from "design-system"; +} from "ee/constants/messages"; +import { toast } from "@appsmith/ads"; import { failFastApiCalls } from "sagas/InitSagas"; -import { getWorkspaceEntitiesActions } from "@appsmith/utils/workspaceHelpers"; -import type { SearchApiResponse } from "@appsmith/types/ApiResponseTypes"; +import { getWorkspaceEntitiesActions } from "ee/utils/workspaceHelpers"; +import type { SearchApiResponse } from "ee/types/ApiResponseTypes"; import SearchApi from "api/SearchApi"; export function* fetchAllWorkspacesSaga( diff --git a/app/client/src/ce/sagas/__tests__/PageSaga.test.ts b/app/client/src/ce/sagas/__tests__/PageSaga.test.ts index d9ff1829ca0d..96dc534cc274 100644 --- a/app/client/src/ce/sagas/__tests__/PageSaga.test.ts +++ b/app/client/src/ce/sagas/__tests__/PageSaga.test.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { testSaga } from "redux-saga-test-plan"; import { setupPageSaga, setupPublishedPageSaga } from "../PageSagas"; import mockResponse from "./mockConsolidatedApiResponse.json"; diff --git a/app/client/src/ce/sagas/analyticsSaga.ts b/app/client/src/ce/sagas/analyticsSaga.ts index 612e14eb2f4a..0659878ef43a 100644 --- a/app/client/src/ce/sagas/analyticsSaga.ts +++ b/app/client/src/ce/sagas/analyticsSaga.ts @@ -1,17 +1,17 @@ import { getCurrentUser } from "selectors/usersSelectors"; -import { getInstanceId } from "@appsmith/selectors/tenantSelectors"; +import { getInstanceId } from "ee/selectors/tenantSelectors"; import { call, select } from "redux-saga/effects"; import type { APP_MODE } from "entities/App"; import { getCurrentPageId } from "selectors/editorSelectors"; -import type { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; +import type { TriggerMeta } from "ee/sagas/ActionExecution/ActionExecutionSagas"; import { TriggerKind } from "constants/AppsmithActionConstants/ActionConstants"; import { isArray } from "lodash"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; -import type { AppState } from "@appsmith/reducers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getAppMode } from "ee/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; import { getWidget } from "sagas/selectors"; -import { getUserSource } from "@appsmith/utils/AnalyticsUtil"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getUserSource } from "ee/utils/AnalyticsUtil"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; export interface UserAndAppDetails { pageId: string; diff --git a/app/client/src/ce/sagas/helpers.ts b/app/client/src/ce/sagas/helpers.ts index ad8e1b0683cf..6a8e70d2c47f 100644 --- a/app/client/src/ce/sagas/helpers.ts +++ b/app/client/src/ce/sagas/helpers.ts @@ -1,5 +1,5 @@ -import type { CreateNewActionKeyInterface } from "@appsmith/entities/Engine/actionHelpers"; -import { CreateNewActionKey } from "@appsmith/entities/Engine/actionHelpers"; +import type { CreateNewActionKeyInterface } from "ee/entities/Engine/actionHelpers"; +import { CreateNewActionKey } from "ee/entities/Engine/actionHelpers"; import type { DeleteErrorLogPayload } from "actions/debuggerActions"; import type { Action } from "entities/Action"; import type { Log } from "entities/AppsmithConsole"; diff --git a/app/client/src/ce/sagas/index.tsx b/app/client/src/ce/sagas/index.tsx index c1cb60a4e060..d93601044c69 100644 --- a/app/client/src/ce/sagas/index.tsx +++ b/app/client/src/ce/sagas/index.tsx @@ -1,13 +1,13 @@ -import { watchActionExecutionSagas } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; -import NavigationSagas from "@appsmith/sagas/NavigationSagas"; -import SuperUserSagas from "@appsmith/sagas/SuperUserSagas"; -import tenantSagas from "@appsmith/sagas/tenantSagas"; -import userSagas from "@appsmith/sagas/userSagas"; -import workspaceSagas from "@appsmith/sagas/WorkspaceSagas"; +import { watchActionExecutionSagas } from "ee/sagas/ActionExecution/ActionExecutionSagas"; +import NavigationSagas from "ee/sagas/NavigationSagas"; +import SuperUserSagas from "ee/sagas/SuperUserSagas"; +import tenantSagas from "ee/sagas/tenantSagas"; +import userSagas from "ee/sagas/userSagas"; +import workspaceSagas from "ee/sagas/WorkspaceSagas"; import { watchPluginActionExecutionSagas } from "sagas/ActionExecution/PluginActionSaga"; import { watchActionSagas } from "sagas/ActionSagas"; import apiPaneSagas from "sagas/ApiPaneSagas"; -import applicationSagas from "@appsmith/sagas/ApplicationSagas"; +import applicationSagas from "ee/sagas/ApplicationSagas"; import appThemingSaga from "sagas/AppThemingSaga"; import AutoHeightSagas from "sagas/autoHeightSagas"; import autoLayoutUpdateSagas from "sagas/AutoLayoutUpdateSagas"; @@ -25,14 +25,14 @@ import formEvaluationChangeListener from "sagas/FormEvaluationSaga"; import gitSyncSagas from "sagas/GitSyncSagas"; import globalSearchSagas from "sagas/GlobalSearchSagas"; import initSagas from "sagas/InitSagas"; -import { watchJSActionSagas } from "@appsmith/sagas/JSActionSagas"; +import { watchJSActionSagas } from "ee/sagas/JSActionSagas"; import JSLibrarySaga from "sagas/JSLibrarySaga"; import jsPaneSagas from "sagas/JSPaneSagas"; import layoutConversionSagas from "sagas/layoutConversionSagas"; import LintingSaga from "sagas/LintingSagas"; import modalSagas from "sagas/ModalSagas"; import onboardingSagas from "sagas/OnboardingSagas"; -import pageSagas from "@appsmith/sagas/PageSagas"; +import pageSagas from "ee/sagas/PageSagas"; import PageVisibilitySaga from "sagas/PageVisibilitySagas"; import pluginSagas from "sagas/PluginSagas"; import queryPaneSagas from "sagas/QueryPaneSagas"; diff --git a/app/client/src/ce/sagas/tenantSagas.tsx b/app/client/src/ce/sagas/tenantSagas.tsx index 96662491fb97..48ea91bc2dc0 100644 --- a/app/client/src/ce/sagas/tenantSagas.tsx +++ b/app/client/src/ce/sagas/tenantSagas.tsx @@ -1,18 +1,18 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { call, put } from "redux-saga/effects"; import type { APIResponseError, ApiResponse } from "api/ApiResponses"; -import type { UpdateTenantConfigRequest } from "@appsmith/api/TenantApi"; -import { TenantApi } from "@appsmith/api/TenantApi"; +import type { UpdateTenantConfigRequest } from "ee/api/TenantApi"; +import { TenantApi } from "ee/api/TenantApi"; import { validateResponse } from "sagas/ErrorSagas"; import { safeCrashAppRequest } from "actions/errorActions"; -import { ERROR_CODES } from "@appsmith/constants/ApiConstants"; -import { defaultBrandingConfig as CE_defaultBrandingConfig } from "@appsmith/reducers/tenantReducer"; -import { toast } from "design-system"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { ERROR_CODES } from "ee/constants/ApiConstants"; +import { defaultBrandingConfig as CE_defaultBrandingConfig } from "ee/reducers/tenantReducer"; +import { toast } from "@appsmith/ads"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getFromServerWhenNoPrefetchedResult } from "sagas/helper"; // On CE we don't expose tenant config so this shouldn't make any API calls and should just return necessary permissions for the user diff --git a/app/client/src/ce/sagas/userSagas.tsx b/app/client/src/ce/sagas/userSagas.tsx index b5c445c13bbe..731ad0f4e74c 100644 --- a/app/client/src/ce/sagas/userSagas.tsx +++ b/app/client/src/ce/sagas/userSagas.tsx @@ -2,11 +2,11 @@ import { call, put, race, select, take } from "redux-saga/effects"; import type { ReduxAction, ReduxActionWithPromise, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { reset } from "redux-form"; import type { CreateUserRequest, @@ -16,8 +16,8 @@ import type { TokenPasswordUpdateRequest, UpdateUserRequest, LeaveWorkspaceRequest, -} from "@appsmith/api/UserApi"; -import UserApi from "@appsmith/api/UserApi"; +} from "ee/api/UserApi"; +import UserApi from "ee/api/UserApi"; import { AUTH_LOGIN_URL, SETUP } from "constants/routes"; import history from "utils/history"; import type { ApiResponse } from "api/ApiResponses"; @@ -40,8 +40,8 @@ import { fetchProductAlertFailure, fetchFeatureFlagsInit, } from "actions/userActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { INVITE_USERS_TO_WORKSPACE_FORM } from "@appsmith/constants/forms"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { INVITE_USERS_TO_WORKSPACE_FORM } from "ee/constants/forms"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; @@ -68,28 +68,28 @@ import { getFirstTimeUserOnboardingIntroModalVisibility, } from "utils/storage"; import { initializeAnalyticsAndTrackers } from "utils/AppsmithUtils"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { getSegmentState } from "selectors/analyticsSelectors"; import { segmentInitUncertain, segmentInitSuccess, } from "actions/analyticsActions"; import type { SegmentState } from "reducers/uiReducers/analyticsReducer"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import { DEFAULT_FEATURE_FLAG_VALUE } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import { DEFAULT_FEATURE_FLAG_VALUE } from "ee/entities/FeatureFlag"; import UsagePulse from "usagePulse"; -import { toast } from "design-system"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { toast } from "@appsmith/ads"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { USER_PROFILE_PICTURE_UPLOAD_FAILED, UPDATE_USER_DETAILS_FAILED, -} from "@appsmith/constants/messages"; -import { createMessage } from "design-system-old"; +} from "ee/constants/messages"; +import { createMessage } from "@appsmith/ads-old"; import type { ProductAlert, ProductAlertConfig, } from "reducers/uiReducers/usersReducer"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; import { getFromServerWhenNoPrefetchedResult } from "sagas/helper"; export function* createUserSaga( diff --git a/app/client/src/ce/selectors/appIDESelectors.test.ts b/app/client/src/ce/selectors/appIDESelectors.test.ts index 4c01ca5fabbf..d23727a0b72f 100644 --- a/app/client/src/ce/selectors/appIDESelectors.test.ts +++ b/app/client/src/ce/selectors/appIDESelectors.test.ts @@ -1,4 +1,4 @@ -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { groupAndSortEntitySegmentList } from "./appIDESelectors"; import { PluginType } from "entities/Action"; diff --git a/app/client/src/ce/selectors/appIDESelectors.ts b/app/client/src/ce/selectors/appIDESelectors.ts index af37fe267181..5a01b6baf417 100644 --- a/app/client/src/ce/selectors/appIDESelectors.ts +++ b/app/client/src/ce/selectors/appIDESelectors.ts @@ -1,12 +1,12 @@ import { groupBy, keyBy, sortBy } from "lodash"; import { createSelector } from "reselect"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { getJSSegmentItems, getQuerySegmentItems, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { getJSTabs, getQueryTabs } from "selectors/ideSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export type EditorSegmentList = Array<{ group: string | "NA"; diff --git a/app/client/src/ce/selectors/applicationSelectors.tsx b/app/client/src/ce/selectors/applicationSelectors.tsx index a89b2f8c18d5..26c0ca0eda3f 100644 --- a/app/client/src/ce/selectors/applicationSelectors.tsx +++ b/app/client/src/ce/selectors/applicationSelectors.tsx @@ -1,14 +1,14 @@ import { createSelector } from "reselect"; import { memoize } from "lodash"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { ApplicationsReduxState, creatingApplicationMap, -} from "@appsmith/reducers/uiReducers/applicationsReducer"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/reducers/uiReducers/applicationsReducer"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import Fuse from "fuse.js"; -import type { GitApplicationMetadata } from "@appsmith/api/ApplicationApi"; -import { getApplicationsOfWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import type { GitApplicationMetadata } from "ee/api/ApplicationApi"; +import { getApplicationsOfWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { NAVIGATION_SETTINGS, SIDEBAR_WIDTH, diff --git a/app/client/src/ce/selectors/engineSelectors.ts b/app/client/src/ce/selectors/engineSelectors.ts index 5728cf0424e1..62b8e4325f75 100644 --- a/app/client/src/ce/selectors/engineSelectors.ts +++ b/app/client/src/ce/selectors/engineSelectors.ts @@ -1,5 +1,5 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export interface DependentFeatureFlags {} diff --git a/app/client/src/ce/selectors/entitiesSelector.ts b/app/client/src/ce/selectors/entitiesSelector.ts index 325fc90d0572..c1bf3a135331 100644 --- a/app/client/src/ce/selectors/entitiesSelector.ts +++ b/app/client/src/ce/selectors/entitiesSelector.ts @@ -1,8 +1,8 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { ActionData, ActionDataState, -} from "@appsmith/reducers/entityReducers/actionsReducer"; +} from "ee/reducers/entityReducers/actionsReducer"; import type { ActionResponse } from "api/ActionAPI"; import { createSelector } from "reselect"; import type { @@ -28,7 +28,7 @@ import type { AppStoreState } from "reducers/entityReducers/appReducer"; import type { JSCollectionData, JSCollectionDataState, -} from "@appsmith/reducers/entityReducers/jsActionsReducer"; +} from "ee/reducers/entityReducers/jsActionsReducer"; import type { DefaultPlugin, GenerateCRUDEnabledPluginMap, @@ -36,7 +36,7 @@ import type { } from "api/PluginApi"; import type { JSAction, JSCollection } from "entities/JSCollection"; import { APP_MODE } from "entities/App"; -import type { ExplorerFileEntity } from "@appsmith/pages/Editor/Explorer/helpers"; +import type { ExplorerFileEntity } from "ee/pages/Editor/Explorer/helpers"; import type { ActionValidationConfigMap } from "constants/PropertyControlConstants"; import type { EvaluationError } from "utils/DynamicBindingUtils"; import { @@ -47,24 +47,24 @@ import { import { InstallState } from "reducers/uiReducers/libraryReducer"; import recommendedLibraries from "pages/Editor/Explorer/Libraries/recommendedLibraries"; import type { JSLibrary } from "workers/common/JSLibrary"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { getFormValues } from "redux-form"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; -import type { Module } from "@appsmith/constants/ModuleConstants"; +import type { Module } from "ee/constants/ModuleConstants"; import { getAnvilSpaceDistributionStatus } from "layoutSystems/anvil/integrations/selectors"; import { getCurrentWorkflowActions, getCurrentWorkflowJSActions, -} from "@appsmith/selectors/workflowSelectors"; +} from "ee/selectors/workflowSelectors"; import { MAX_DATASOURCE_SUGGESTIONS } from "constants/DatasourceEditorConstants"; -import type { CreateNewActionKeyInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { CreateNewActionKeyInterface } from "ee/entities/Engine/actionHelpers"; import { getNextEntityName } from "utils/AppsmithUtils"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { ActionUrlIcon, JsFileIconV2, } from "pages/Editor/Explorer/ExplorerIcons"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; export enum GROUP_TYPES { API = "APIs", diff --git a/app/client/src/ce/selectors/environmentSelectors.tsx b/app/client/src/ce/selectors/environmentSelectors.tsx index 1b2192d69852..07b16a30f7ce 100644 --- a/app/client/src/ce/selectors/environmentSelectors.tsx +++ b/app/client/src/ce/selectors/environmentSelectors.tsx @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -import type { AppState } from "@appsmith/reducers"; -import type { EnvironmentType } from "@appsmith/configs/types"; +import type { AppState } from "ee/reducers"; +import type { EnvironmentType } from "ee/configs/types"; import { UNUSED_ENV_ID } from "constants/EnvironmentContants"; export const areEnvironmentsFetched = (state: AppState, workspaceId: string) => diff --git a/app/client/src/ce/selectors/featureFlagsSelectors.ts b/app/client/src/ce/selectors/featureFlagsSelectors.ts index 80ef0ca73dc9..174528d09346 100644 --- a/app/client/src/ce/selectors/featureFlagsSelectors.ts +++ b/app/client/src/ce/selectors/featureFlagsSelectors.ts @@ -1,5 +1,5 @@ -import type { AppState } from "@appsmith/reducers"; -import type { FeatureFlag, FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { AppState } from "ee/reducers"; +import type { FeatureFlag, FeatureFlags } from "ee/entities/FeatureFlag"; import memoize from "micro-memoize"; import type { OverriddenFeatureFlags } from "utils/hooks/useFeatureFlagOverride"; diff --git a/app/client/src/ce/selectors/moduleInstanceSelectors.ts b/app/client/src/ce/selectors/moduleInstanceSelectors.ts index aaa245ca2a67..2c112c2ff921 100644 --- a/app/client/src/ce/selectors/moduleInstanceSelectors.ts +++ b/app/client/src/ce/selectors/moduleInstanceSelectors.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -import type { AppState } from "@appsmith/reducers"; -import type { ModuleInstance } from "@appsmith/constants/ModuleInstanceConstants"; +import type { AppState } from "ee/reducers"; +import type { ModuleInstance } from "ee/constants/ModuleInstanceConstants"; export const getModuleInstanceById = ( state: AppState, diff --git a/app/client/src/ce/selectors/modulesSelector.ts b/app/client/src/ce/selectors/modulesSelector.ts index 73b5cf699e20..b69f6769a829 100644 --- a/app/client/src/ce/selectors/modulesSelector.ts +++ b/app/client/src/ce/selectors/modulesSelector.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-unused-vars */ -import type { AppState } from "@appsmith/reducers"; -import type { Module } from "@appsmith/constants/ModuleConstants"; +import type { AppState } from "ee/reducers"; +import type { Module } from "ee/constants/ModuleConstants"; export const getAllModules = ( state: AppState, diff --git a/app/client/src/ce/selectors/packageSelectors.ts b/app/client/src/ce/selectors/packageSelectors.ts index e96c5f40f8c6..56b5a10e485e 100644 --- a/app/client/src/ce/selectors/packageSelectors.ts +++ b/app/client/src/ce/selectors/packageSelectors.ts @@ -1,5 +1,5 @@ -import type { PackageMetadata } from "@appsmith/constants/PackageConstants"; -import type { AppState } from "@appsmith/reducers"; +import type { PackageMetadata } from "ee/constants/PackageConstants"; +import type { AppState } from "ee/reducers"; const DEFAULT_PACKAGE_LIST: PackageMetadata[] = []; diff --git a/app/client/src/ce/selectors/rampSelectors.tsx b/app/client/src/ce/selectors/rampSelectors.tsx index ba755714ed76..136d9b22a302 100644 --- a/app/client/src/ce/selectors/rampSelectors.tsx +++ b/app/client/src/ce/selectors/rampSelectors.tsx @@ -1,6 +1,6 @@ import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import type { AppState } from "ee/reducers"; +import { getAppsmithConfigs } from "ee/configs"; import { CUSTOMER_PORTAL_URL_WITH_PARAMS, PRICING_PAGE_URL, @@ -10,10 +10,7 @@ import { RAMP_FOR_ROLES, } from "utils/ProductRamps/RampsControlList"; import type { EnvTypes } from "utils/ProductRamps/RampTypes"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; const { cloudHosting, customerPortalUrl, pricingUrl } = getAppsmithConfigs(); diff --git a/app/client/src/ce/selectors/selectedWorkspaceSelectors.ts b/app/client/src/ce/selectors/selectedWorkspaceSelectors.ts index 1bdf2a5fba10..9219eae1d7fb 100644 --- a/app/client/src/ce/selectors/selectedWorkspaceSelectors.ts +++ b/app/client/src/ce/selectors/selectedWorkspaceSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getIsFetchingApplications = (state: AppState): boolean => state.ui.selectedWorkspace.loadingStates.isFetchingApplications; diff --git a/app/client/src/ce/selectors/tenantSelectors.tsx b/app/client/src/ce/selectors/tenantSelectors.tsx index 10d102d97646..2ab76f7e4cff 100644 --- a/app/client/src/ce/selectors/tenantSelectors.tsx +++ b/app/client/src/ce/selectors/tenantSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; /** * selects the tenant permissions diff --git a/app/client/src/ce/selectors/workflowSelectors.ts b/app/client/src/ce/selectors/workflowSelectors.ts index 437c98bb1aeb..d2652438586a 100644 --- a/app/client/src/ce/selectors/workflowSelectors.ts +++ b/app/client/src/ce/selectors/workflowSelectors.ts @@ -1,7 +1,7 @@ -import type { AppState } from "@appsmith/reducers"; -import type { WorkflowMetadata } from "@appsmith/constants/WorkflowConstants"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { AppState } from "ee/reducers"; +import type { WorkflowMetadata } from "ee/constants/WorkflowConstants"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; const DEFAULT_WORKFLOW_LIST: WorkflowMetadata[] = []; diff --git a/app/client/src/ce/selectors/workspaceSelectors.tsx b/app/client/src/ce/selectors/workspaceSelectors.tsx index 967045b87321..48ebba8125fe 100644 --- a/app/client/src/ce/selectors/workspaceSelectors.tsx +++ b/app/client/src/ce/selectors/workspaceSelectors.tsx @@ -1,9 +1,6 @@ import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; -import type { - Workspace, - WorkspaceRole, -} from "@appsmith/constants/workspaceConstants"; +import type { AppState } from "ee/reducers"; +import type { Workspace, WorkspaceRole } from "ee/constants/workspaceConstants"; export const getRolesFromState = (state: AppState) => { return state.ui.workspaces.roles; diff --git a/app/client/src/ce/types/ApiResponseTypes.ts b/app/client/src/ce/types/ApiResponseTypes.ts index cc048efb2ac6..d932275410f0 100644 --- a/app/client/src/ce/types/ApiResponseTypes.ts +++ b/app/client/src/ce/types/ApiResponseTypes.ts @@ -1,6 +1,6 @@ import type { ApiResponse } from "api/ApiResponses"; -import type { FetchApplicationsResponse } from "@appsmith/api/ApplicationApi"; -import type { FetchWorkspacesResponse } from "@appsmith/api/WorkspaceApi"; +import type { FetchApplicationsResponse } from "ee/api/ApplicationApi"; +import type { FetchWorkspacesResponse } from "ee/api/WorkspaceApi"; export interface SearchApiResponse extends ApiResponse { data: { diff --git a/app/client/src/ce/utils/AnalyticsUtil.tsx b/app/client/src/ce/utils/AnalyticsUtil.tsx index 4c1e2089812d..0f80404c30f0 100644 --- a/app/client/src/ce/utils/AnalyticsUtil.tsx +++ b/app/client/src/ce/utils/AnalyticsUtil.tsx @@ -1,12 +1,12 @@ // Events import * as log from "loglevel"; import smartlookClient from "smartlook-client"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import * as Sentry from "@sentry/react"; import type { User } from "constants/userConstants"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; import { sha256 } from "js-sha256"; -import type { EventName } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventName } from "ee/utils/analyticsUtilTypes"; export function getUserSource() { const { cloudHosting, segment } = getAppsmithConfigs(); diff --git a/app/client/src/ce/utils/BusinessFeatures/adminSettingsHelpers.tsx b/app/client/src/ce/utils/BusinessFeatures/adminSettingsHelpers.tsx index 0e548c4caf2b..f2667562545d 100644 --- a/app/client/src/ce/utils/BusinessFeatures/adminSettingsHelpers.tsx +++ b/app/client/src/ce/utils/BusinessFeatures/adminSettingsHelpers.tsx @@ -1,11 +1,11 @@ import type { User } from "constants/userConstants"; // eslint-disable-next-line @typescript-eslint/no-restricted-imports import { showAdminSettings as showAdminSettings_CE } from "ce/utils/adminSettingsHelpers"; -import { showAdminSettings as showAdminSettings_EE } from "@appsmith/utils/adminSettingsHelpers"; +import { showAdminSettings as showAdminSettings_EE } from "ee/utils/adminSettingsHelpers"; // eslint-disable-next-line @typescript-eslint/no-restricted-imports import { getDefaultAdminSettingsPath as getDefaultAdminSettingsPath_CE } from "ce/utils/adminSettingsHelpers"; -import { getDefaultAdminSettingsPath as getDefaultAdminSettingsPath_EE } from "@appsmith/utils/adminSettingsHelpers"; +import { getDefaultAdminSettingsPath as getDefaultAdminSettingsPath_EE } from "ee/utils/adminSettingsHelpers"; export const getShowAdminSettings = ( isEnabled: boolean, diff --git a/app/client/src/ce/utils/BusinessFeatures/brandingPageHelpers.tsx b/app/client/src/ce/utils/BusinessFeatures/brandingPageHelpers.tsx index 0bfc906c87f7..d712c750991a 100644 --- a/app/client/src/ce/utils/BusinessFeatures/brandingPageHelpers.tsx +++ b/app/client/src/ce/utils/BusinessFeatures/brandingPageHelpers.tsx @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/no-restricted-imports */ import { default as UpgradeBanner_CE } from "ce/pages/AdminSettings/Branding/UpgradeBanner"; -import { default as UpgradeBanner_EE } from "@appsmith/pages/AdminSettings/Branding/UpgradeBanner"; +import { default as UpgradeBanner_EE } from "ee/pages/AdminSettings/Branding/UpgradeBanner"; import React from "react"; import { getHtmlPageTitle as getHtmlPageTitle_CE, @@ -9,7 +9,7 @@ import { import { getHtmlPageTitle as getHtmlPageTitle_EE, getPageTitle as getPageTitle_EE, -} from "@appsmith/utils"; +} from "ee/utils"; export const getUpgradeBanner = (isEnabled: boolean) => { if (isEnabled) { diff --git a/app/client/src/ce/utils/BusinessFeatures/permissionPageHelpers.tsx b/app/client/src/ce/utils/BusinessFeatures/permissionPageHelpers.tsx index 621a016ceb49..f3c86a2d9874 100644 --- a/app/client/src/ce/utils/BusinessFeatures/permissionPageHelpers.tsx +++ b/app/client/src/ce/utils/BusinessFeatures/permissionPageHelpers.tsx @@ -1,46 +1,46 @@ /* eslint-disable @typescript-eslint/no-restricted-imports */ import { hasCreateWorkspacePermission as hasCreateWorkspacePermission_CE } from "ce/utils/permissionHelpers"; -import { hasCreateWorkspacePermission as hasCreateWorkspacePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasCreateWorkspacePermission as hasCreateWorkspacePermission_EE } from "ee/utils/permissionHelpers"; import { hasCreateDatasourcePermission as hasCreateDatasourcePermission_CE } from "ce/utils/permissionHelpers"; -import { hasCreateDatasourcePermission as hasCreateDatasourcePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasCreateDatasourcePermission as hasCreateDatasourcePermission_EE } from "ee/utils/permissionHelpers"; import { hasManageDatasourcePermission as hasManageDatasourcePermission_CE } from "ce/utils/permissionHelpers"; -import { hasManageDatasourcePermission as hasManageDatasourcePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasManageDatasourcePermission as hasManageDatasourcePermission_EE } from "ee/utils/permissionHelpers"; import { hasManageWorkspaceDatasourcePermission as hasManageWorkspaceDatasourcePermission_CE } from "ce/utils/permissionHelpers"; -import { hasManageWorkspaceDatasourcePermission as hasManageWorkspaceDatasourcePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasManageWorkspaceDatasourcePermission as hasManageWorkspaceDatasourcePermission_EE } from "ee/utils/permissionHelpers"; import { hasDeleteDatasourcePermission as hasDeleteDatasourcePermission_CE } from "ce/utils/permissionHelpers"; -import { hasDeleteDatasourcePermission as hasDeleteDatasourcePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasDeleteDatasourcePermission as hasDeleteDatasourcePermission_EE } from "ee/utils/permissionHelpers"; import { hasCreateDatasourceActionPermission as hasCreateDatasourceActionPermission_CE } from "ce/utils/permissionHelpers"; -import { hasCreateDatasourceActionPermission as hasCreateDatasourceActionPermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasCreateDatasourceActionPermission as hasCreateDatasourceActionPermission_EE } from "ee/utils/permissionHelpers"; import { hasCreatePagePermission as hasCreatePagePermission_CE } from "ce/utils/permissionHelpers"; -import { hasCreatePagePermission as hasCreatePagePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasCreatePagePermission as hasCreatePagePermission_EE } from "ee/utils/permissionHelpers"; import { hasManagePagePermission as hasManagePagePermission_CE } from "ce/utils/permissionHelpers"; -import { hasManagePagePermission as hasManagePagePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasManagePagePermission as hasManagePagePermission_EE } from "ee/utils/permissionHelpers"; import { hasDeletePagePermission as hasDeletePagePermission_CE } from "ce/utils/permissionHelpers"; -import { hasDeletePagePermission as hasDeletePagePermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasDeletePagePermission as hasDeletePagePermission_EE } from "ee/utils/permissionHelpers"; import { hasCreateActionPermission as hasCreateActionPermission_CE } from "ce/utils/permissionHelpers"; -import { hasCreateActionPermission as hasCreateActionPermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasCreateActionPermission as hasCreateActionPermission_EE } from "ee/utils/permissionHelpers"; import { hasManageActionPermission as hasManageActionPermission_CE } from "ce/utils/permissionHelpers"; -import { hasManageActionPermission as hasManageActionPermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasManageActionPermission as hasManageActionPermission_EE } from "ee/utils/permissionHelpers"; import { hasDeleteActionPermission as hasDeleteActionPermission_CE } from "ce/utils/permissionHelpers"; -import { hasDeleteActionPermission as hasDeleteActionPermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasDeleteActionPermission as hasDeleteActionPermission_EE } from "ee/utils/permissionHelpers"; import { hasExecuteActionPermission as hasExecuteActionPermission_CE } from "ce/utils/permissionHelpers"; -import { hasExecuteActionPermission as hasExecuteActionPermission_EE } from "@appsmith/utils/permissionHelpers"; +import { hasExecuteActionPermission as hasExecuteActionPermission_EE } from "ee/utils/permissionHelpers"; import { hasAuditLogsReadPermission as hasAuditLogsReadPermission_CE } from "ce/utils/permissionHelpers"; -import { hasAuditLogsReadPermission as hasAuditLogsReadPermission_EE } from "@appsmith/utils/permissionHelpers"; -import { EditorNames } from "@appsmith/hooks"; +import { hasAuditLogsReadPermission as hasAuditLogsReadPermission_EE } from "ee/utils/permissionHelpers"; +import { EditorNames } from "ee/hooks"; export const getHasCreateWorkspacePermission = ( isEnabled: boolean, diff --git a/app/client/src/ce/utils/BusinessFeatures/privateEmbedHelpers.tsx b/app/client/src/ce/utils/BusinessFeatures/privateEmbedHelpers.tsx index e5debe063713..ad67d126a2f8 100644 --- a/app/client/src/ce/utils/BusinessFeatures/privateEmbedHelpers.tsx +++ b/app/client/src/ce/utils/BusinessFeatures/privateEmbedHelpers.tsx @@ -1,9 +1,9 @@ /* eslint-disable @typescript-eslint/no-restricted-imports */ import CE_EmbedSnippetTab from "ce/pages/Applications/EmbedSnippetTab"; -import EE_EmbedSnippetTab from "@appsmith/pages/Applications/EmbedSnippetTab"; +import EE_EmbedSnippetTab from "ee/pages/Applications/EmbedSnippetTab"; import CE_EmbedSnippetForm from "ce/pages/Applications/EmbedSnippetTab"; -import EE_EmbedSnippetForm from "@appsmith/pages/Applications/EmbedSnippetTab"; +import EE_EmbedSnippetForm from "ee/pages/Applications/EmbedSnippetTab"; import React from "react"; diff --git a/app/client/src/ce/utils/FilterInternalProperties/getEntityPeekData.ts b/app/client/src/ce/utils/FilterInternalProperties/getEntityPeekData.ts index 8d2f9c408fb3..4af423a59dae 100644 --- a/app/client/src/ce/utils/FilterInternalProperties/getEntityPeekData.ts +++ b/app/client/src/ce/utils/FilterInternalProperties/getEntityPeekData.ts @@ -1,8 +1,5 @@ import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; -import type { - ActionEntity, - WidgetEntity, -} from "@appsmith/entities/DataTree/types"; +import type { ActionEntity, WidgetEntity } from "ee/entities/DataTree/types"; import { getActionChildrenPeekData } from "utils/FilterInternalProperties/Action"; import { getAppsmithPeekData } from "utils/FilterInternalProperties/Appsmith"; import { getJsActionPeekData } from "utils/FilterInternalProperties/JsAction"; @@ -12,7 +9,7 @@ import type { DataTree, DataTreeEntity, } from "entities/DataTree/dataTreeTypes"; -import type { JSCollectionDataState } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionDataState } from "ee/reducers/entityReducers/jsActionsReducer"; export const getEntityPeekData: Record< string, diff --git a/app/client/src/ce/utils/actionExecutionUtils.test.ts b/app/client/src/ce/utils/actionExecutionUtils.test.ts index f1f1e7d8a904..0290cbfc09c7 100644 --- a/app/client/src/ce/utils/actionExecutionUtils.test.ts +++ b/app/client/src/ce/utils/actionExecutionUtils.test.ts @@ -1,5 +1,5 @@ import { getTestPayloadFromCollectionData } from "./actionExecutionUtils"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import { PluginType } from "entities/Action"; import configureStore from "redux-mock-store"; diff --git a/app/client/src/ce/utils/actionExecutionUtils.ts b/app/client/src/ce/utils/actionExecutionUtils.ts index 3558ea616bb3..7159403f4692 100644 --- a/app/client/src/ce/utils/actionExecutionUtils.ts +++ b/app/client/src/ce/utils/actionExecutionUtils.ts @@ -1,14 +1,14 @@ import type { Action } from "entities/Action"; import { ActionExecutionContext } from "entities/Action"; import type { JSAction, JSCollection } from "entities/JSCollection"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import store from "store"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; -import { getDatasource } from "@appsmith/selectors/entitiesSelector"; -import { getCurrentEnvironmentDetails } from "@appsmith/selectors/environmentSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; +import { getDatasource } from "ee/selectors/entitiesSelector"; +import { getCurrentEnvironmentDetails } from "ee/selectors/environmentSelectors"; import type { Plugin } from "api/PluginApi"; import { get, isNil } from "lodash"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; export function getPluginActionNameToDisplay(action: Action) { return action.name; diff --git a/app/client/src/ce/utils/adminSettingsHelpers.ts b/app/client/src/ce/utils/adminSettingsHelpers.ts index bf679e9d0ab1..4ca01d26c049 100644 --- a/app/client/src/ce/utils/adminSettingsHelpers.ts +++ b/app/client/src/ce/utils/adminSettingsHelpers.ts @@ -1,8 +1,8 @@ -import { tenantConfigConnection } from "@appsmith/constants/tenantConstants"; +import { tenantConfigConnection } from "ee/constants/tenantConstants"; import type { AdminConfigType, Category, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { ADMIN_SETTINGS_CATEGORY_DEFAULT_PATH } from "constants/routes"; import type { User } from "constants/userConstants"; diff --git a/app/client/src/ce/utils/autocomplete/EntityDefinitions.test.ts b/app/client/src/ce/utils/autocomplete/EntityDefinitions.test.ts index 1f83ca894763..4b18226ba0c2 100644 --- a/app/client/src/ce/utils/autocomplete/EntityDefinitions.test.ts +++ b/app/client/src/ce/utils/autocomplete/EntityDefinitions.test.ts @@ -1,7 +1,7 @@ import { PluginType } from "entities/Action"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; -import { getPropsForJSActionEntity } from "@appsmith/pages/Editor/Explorer/Entity/getEntityProperties"; -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; +import { getPropsForJSActionEntity } from "ee/pages/Editor/Explorer/Entity/getEntityProperties"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; const jsObject: JSCollectionData = { isLoading: false, diff --git a/app/client/src/ce/utils/autocomplete/EntityDefinitions.ts b/app/client/src/ce/utils/autocomplete/EntityDefinitions.ts index 9dc184e729ad..bd242ac4bfb5 100644 --- a/app/client/src/ce/utils/autocomplete/EntityDefinitions.ts +++ b/app/client/src/ce/utils/autocomplete/EntityDefinitions.ts @@ -1,9 +1,6 @@ import type { ExtraDef } from "utils/autocomplete/defCreatorUtils"; import { generateTypeDef } from "utils/autocomplete/defCreatorUtils"; -import { - ENTITY_TYPE, - type AppsmithEntity, -} from "@appsmith/entities/DataTree/types"; +import { ENTITY_TYPE, type AppsmithEntity } from "ee/entities/DataTree/types"; import _ from "lodash"; import { EVALUATION_PATH } from "utils/DynamicBindingUtils"; import type { Def } from "tern"; @@ -12,10 +9,10 @@ import type { ActionEntityConfig, DataTreeEntityConfig, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { FieldEntityInformation } from "components/editorComponents/CodeEditor/EditorConfig"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; -import { eeAppsmithAutocompleteDefs } from "@appsmith/utils/autocomplete/helpers"; +import { eeAppsmithAutocompleteDefs } from "ee/utils/autocomplete/helpers"; export const entityDefinitions = { APPSMITH: (entity: AppsmithEntity, extraDefsToDefine: ExtraDef) => { diff --git a/app/client/src/ce/utils/autocomplete/entityDefGeneratorMap.ts b/app/client/src/ce/utils/autocomplete/entityDefGeneratorMap.ts index 017535ccfa79..ece78931af79 100644 --- a/app/client/src/ce/utils/autocomplete/entityDefGeneratorMap.ts +++ b/app/client/src/ce/utils/autocomplete/entityDefGeneratorMap.ts @@ -6,13 +6,13 @@ import { type AppsmithEntity, type JSActionEntity, ENTITY_TYPE, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree, DataTreeEntity, } from "entities/DataTree/dataTreeTypes"; import { isFunction } from "lodash"; -import { entityDefinitions } from "@appsmith/utils/autocomplete/EntityDefinitions"; +import { entityDefinitions } from "ee/utils/autocomplete/EntityDefinitions"; import type { Def } from "tern"; import type { DataTreeDefEntityInformation } from "utils/autocomplete/CodemirrorTernService"; import WidgetFactory from "WidgetProvider/factory"; diff --git a/app/client/src/ce/utils/getEntityPayloadInfo.ts b/app/client/src/ce/utils/getEntityPayloadInfo.ts index 247cd2ce199f..ead30b5ba573 100644 --- a/app/client/src/ce/utils/getEntityPayloadInfo.ts +++ b/app/client/src/ce/utils/getEntityPayloadInfo.ts @@ -2,11 +2,11 @@ import type { ActionEntityConfig, EntityConfig, JSActionEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { type WidgetEntityConfig, ENTITY_TYPE, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { PluginType } from "entities/Action"; export const getEntityPayloadInfo: Record< diff --git a/app/client/src/ce/utils/moduleInstanceNavigationData.ts b/app/client/src/ce/utils/moduleInstanceNavigationData.ts index de543acd9089..9328a106baef 100644 --- a/app/client/src/ce/utils/moduleInstanceNavigationData.ts +++ b/app/client/src/ce/utils/moduleInstanceNavigationData.ts @@ -1,4 +1,4 @@ -import type { ModuleInstance } from "@appsmith/constants/ModuleInstanceConstants"; +import type { ModuleInstance } from "ee/constants/ModuleInstanceConstants"; import type { EntityNavigationData } from "selectors/navigationSelectors"; export const getModuleInstanceNavigationData = ( diff --git a/app/client/src/ce/utils/planHelpers.ts b/app/client/src/ce/utils/planHelpers.ts index 3883a3a3bfbe..0394afaac1c2 100644 --- a/app/client/src/ce/utils/planHelpers.ts +++ b/app/client/src/ce/utils/planHelpers.ts @@ -1,4 +1,4 @@ -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; //if feature flag is true then return feature is enabled export const isBrandingEnabled = (featureFlags: FeatureFlags) => { diff --git a/app/client/src/ce/utils/serviceWorkerUtils.ts b/app/client/src/ce/utils/serviceWorkerUtils.ts index f04645305c5c..ead20688b04b 100644 --- a/app/client/src/ce/utils/serviceWorkerUtils.ts +++ b/app/client/src/ce/utils/serviceWorkerUtils.ts @@ -9,7 +9,7 @@ import { VIEWER_CUSTOM_PATH, BUILDER_PATH_DEPRECATED, VIEWER_PATH_DEPRECATED, -} from "@appsmith/constants/routes/appRoutes"; +} from "ee/constants/routes/appRoutes"; interface TMatchResult { basePageId?: string; diff --git a/app/client/src/ce/utils/signupHelpers.ts b/app/client/src/ce/utils/signupHelpers.ts index f2c222fe8849..c5de00572712 100644 --- a/app/client/src/ce/utils/signupHelpers.ts +++ b/app/client/src/ce/utils/signupHelpers.ts @@ -17,8 +17,8 @@ import history from "utils/history"; import type { SocialLoginButtonProps, SocialLoginType, -} from "@appsmith/constants/SocialLogin"; -import { SocialLoginButtonPropsList } from "@appsmith/constants/SocialLogin"; +} from "ee/constants/SocialLogin"; +import { SocialLoginButtonPropsList } from "ee/constants/SocialLogin"; export const redirectUserAfterSignup = ( redirectUrl: string, diff --git a/app/client/src/ce/utils/workspaceHelpers.ts b/app/client/src/ce/utils/workspaceHelpers.ts index 15bb340812ad..b8696d19de5a 100644 --- a/app/client/src/ce/utils/workspaceHelpers.ts +++ b/app/client/src/ce/utils/workspaceHelpers.ts @@ -1,9 +1,9 @@ -import { fetchAllApplicationsOfWorkspace } from "@appsmith/actions/applicationActions"; -import { fetchUsersForWorkspace } from "@appsmith/actions/workspaceActions"; +import { fetchAllApplicationsOfWorkspace } from "ee/actions/applicationActions"; +import { fetchUsersForWorkspace } from "ee/actions/workspaceActions"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; export const getWorkspaceEntitiesActions = (workspaceId: string = "") => { const initActions = [ diff --git a/app/client/src/ce/workers/Evaluation/Actions.ts b/app/client/src/ce/workers/Evaluation/Actions.ts index d133b3bb71b3..55e60317ac56 100644 --- a/app/client/src/ce/workers/Evaluation/Actions.ts +++ b/app/client/src/ce/workers/Evaluation/Actions.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/ban-types */ import set from "lodash/set"; -import type { DataTreeEntityConfig } from "@appsmith/entities/DataTree/types"; +import type { DataTreeEntityConfig } from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree, @@ -13,7 +13,7 @@ import { addFn } from "workers/Evaluation/fns/utils/fnGuard"; import { getEntityFunctions, getPlatformFunctions, -} from "@appsmith/workers/Evaluation/fns"; +} from "ee/workers/Evaluation/fns"; import { getEntityForEvalContext } from "workers/Evaluation/getEntityForContext"; import { klona } from "klona/full"; import { isEmpty } from "lodash"; diff --git a/app/client/src/ce/workers/Evaluation/PlatformFunctions.ts b/app/client/src/ce/workers/Evaluation/PlatformFunctions.ts index 614df9e49f61..15c3ad102e3c 100644 --- a/app/client/src/ce/workers/Evaluation/PlatformFunctions.ts +++ b/app/client/src/ce/workers/Evaluation/PlatformFunctions.ts @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/ban-types */ -import type { ActionDescription } from "@appsmith/entities/DataTree/actionTriggers"; -import { ExecutionType } from "@appsmith/workers/Evaluation/Actions"; +import type { ActionDescription } from "ee/entities/DataTree/actionTriggers"; +import { ExecutionType } from "ee/workers/Evaluation/Actions"; import _ from "lodash"; import uniqueId from "lodash/uniqueId"; import type { NavigationTargetType_Dep } from "sagas/ActionExecution/NavigateActionSaga"; diff --git a/app/client/src/ce/workers/Evaluation/__tests__/dataTreeUtils.test.ts b/app/client/src/ce/workers/Evaluation/__tests__/dataTreeUtils.test.ts index 27c771f9c6a9..f27742bdda0e 100644 --- a/app/client/src/ce/workers/Evaluation/__tests__/dataTreeUtils.test.ts +++ b/app/client/src/ce/workers/Evaluation/__tests__/dataTreeUtils.test.ts @@ -1,5 +1,5 @@ import type { DataTree } from "entities/DataTree/dataTreeTypes"; -import { makeEntityConfigsAsObjProperties } from "@appsmith/workers/Evaluation/dataTreeUtils"; +import { makeEntityConfigsAsObjProperties } from "ee/workers/Evaluation/dataTreeUtils"; const unevalTreeFromMainThread = { Api2: { diff --git a/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts b/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts index 21b239127842..95f266a4cc0b 100644 --- a/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts +++ b/app/client/src/ce/workers/Evaluation/evaluationUtils.test.ts @@ -9,7 +9,7 @@ import type { WidgetEntityConfig, PrivateWidgets, JSActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { ENTITY_TYPE, EvaluationSubstitutionType, @@ -19,8 +19,8 @@ import type { DataTreeEntity, DataTree, } from "entities/DataTree/dataTreeTypes"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; -import { convertMicroDiffToDeepDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; +import { convertMicroDiffToDeepDiff } from "ee/workers/Evaluation/evaluationUtils"; import { addErrorToEntityProperty, convertJSFunctionsToString, @@ -31,15 +31,15 @@ import { isPrivateEntityPath, makeParentsDependOnChildren, translateDiffEventToDataTreeDiffEvent, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { warn as logWarn } from "loglevel"; import type { Diff } from "deep-diff"; import _, { flatten, set } from "lodash"; import { overrideWidgetProperties, findDatatype, -} from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +} from "ee/workers/Evaluation/evaluationUtils"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import { generateDataTreeWidget } from "entities/DataTree/dataTreeWidget"; import TableWidget from "widgets/TableWidget"; import InputWidget from "widgets/InputWidgetV2"; diff --git a/app/client/src/ce/workers/Evaluation/evaluationUtils.ts b/app/client/src/ce/workers/Evaluation/evaluationUtils.ts index 880011f0eed3..818abd071b38 100644 --- a/app/client/src/ce/workers/Evaluation/evaluationUtils.ts +++ b/app/client/src/ce/workers/Evaluation/evaluationUtils.ts @@ -13,13 +13,13 @@ import type { DataTree, ConfigTree, } from "entities/DataTree/dataTreeTypes"; -import { ENTITY_TYPE } from "@appsmith/entities/DataTree/types"; +import { ENTITY_TYPE } from "ee/entities/DataTree/types"; import _, { difference, find, get, has, isEmpty, isNil, set } from "lodash"; import type { WidgetTypeConfigMap } from "WidgetProvider/factory"; import { PluginType } from "entities/Action"; import { klona } from "klona/full"; import { warn as logWarn } from "loglevel"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import type { JSActionEntityConfig, PrivateWidgets, @@ -29,10 +29,10 @@ import type { WidgetEntity, DataTreeEntityConfig, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { EvalProps } from "workers/common/DataTreeEvaluator"; import { validateWidgetProperty } from "workers/common/DataTreeEvaluator/validationUtils"; -import { isWidgetActionOrJsObject } from "@appsmith/entities/DataTree/utils"; +import { isWidgetActionOrJsObject } from "ee/entities/DataTree/utils"; import type { Difference } from "microdiff"; // Dropdown1.options[1].value -> Dropdown1.options[1] diff --git a/app/client/src/ce/workers/Evaluation/fns/utils/isRunNClearFnQualifierEntity.ts b/app/client/src/ce/workers/Evaluation/fns/utils/isRunNClearFnQualifierEntity.ts index 0e3216a89964..70938a79b679 100644 --- a/app/client/src/ce/workers/Evaluation/fns/utils/isRunNClearFnQualifierEntity.ts +++ b/app/client/src/ce/workers/Evaluation/fns/utils/isRunNClearFnQualifierEntity.ts @@ -1,6 +1,6 @@ -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import type { ActionEntity } from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; -import { isAction } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isAction } from "ee/workers/Evaluation/evaluationUtils"; export function isRunNClearFnQualifierEntity( entity: DataTreeEntity, diff --git a/app/client/src/ce/workers/Evaluation/getEntityForEvalContextMap.ts b/app/client/src/ce/workers/Evaluation/getEntityForEvalContextMap.ts index 42b0158fc5b5..bd6da5ad8671 100644 --- a/app/client/src/ce/workers/Evaluation/getEntityForEvalContextMap.ts +++ b/app/client/src/ce/workers/Evaluation/getEntityForEvalContextMap.ts @@ -1,6 +1,6 @@ import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; -import { getJSActionForEvalContext } from "@appsmith/workers/Evaluation/getJSActionForEvalContext"; +import { getJSActionForEvalContext } from "ee/workers/Evaluation/getJSActionForEvalContext"; export const getEntityForEvalContextMap: Record< string, diff --git a/app/client/src/ce/workers/Evaluation/getJSActionForEvalContext.ts b/app/client/src/ce/workers/Evaluation/getJSActionForEvalContext.ts index aff1fff9abd0..b45b3b8c3190 100644 --- a/app/client/src/ce/workers/Evaluation/getJSActionForEvalContext.ts +++ b/app/client/src/ce/workers/Evaluation/getJSActionForEvalContext.ts @@ -1,4 +1,4 @@ -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import JSObjectCollection from "workers/Evaluation/JSObject/Collection"; import { jsObjectFunctionFactory } from "workers/Evaluation/fns/utils/jsObjectFnFactory"; diff --git a/app/client/src/ce/workers/common/DependencyMap/utils/getEntityDependenciesByType.ts b/app/client/src/ce/workers/common/DependencyMap/utils/getEntityDependenciesByType.ts index e4324c63addc..0db167613bf0 100644 --- a/app/client/src/ce/workers/common/DependencyMap/utils/getEntityDependenciesByType.ts +++ b/app/client/src/ce/workers/common/DependencyMap/utils/getEntityDependenciesByType.ts @@ -2,7 +2,7 @@ import { addWidgetPropertyDependencies, getEntityNameAndPropertyPath, isATriggerPath, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import type { ActionEntity, @@ -12,11 +12,11 @@ import type { DataTreeEntityConfig, WidgetEntity, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import { find, union } from "lodash"; import { getEntityDynamicBindingPathList } from "utils/DynamicBindingUtils"; -import type { DataTreeEntityObject } from "@appsmith/entities/DataTree/types"; +import type { DataTreeEntityObject } from "ee/entities/DataTree/types"; import { getDependencyFromEntityPath } from "workers/common/DependencyMap/utils/getEntityDependencies"; export const getDependencies = { diff --git a/app/client/src/components/BottomBar/ManualUpgrades.tsx b/app/client/src/components/BottomBar/ManualUpgrades.tsx index 90d04be59203..f268d5ff91ca 100644 --- a/app/client/src/components/BottomBar/ManualUpgrades.tsx +++ b/app/client/src/components/BottomBar/ManualUpgrades.tsx @@ -1,7 +1,7 @@ import { ApplicationVersion, updateApplication, -} from "@appsmith/actions/applicationActions"; +} from "ee/actions/applicationActions"; import { Button, Tooltip, @@ -11,8 +11,8 @@ import { ModalHeader, ModalFooter, Callout, -} from "design-system"; -import { Text, TextType } from "design-system-old"; +} from "@appsmith/ads"; +import { Text, TextType } from "@appsmith/ads-old"; import type { ReactNode } from "react"; import React, { useState } from "react"; import { useDispatch, useSelector } from "react-redux"; @@ -23,9 +23,9 @@ import { selectURLSlugs, } from "selectors/editorSelectors"; import styled from "styled-components"; -import { createMessage, CLEAN_URL_UPDATE } from "@appsmith/constants/messages"; +import { createMessage, CLEAN_URL_UPDATE } from "ee/constants/messages"; import { useLocation } from "react-router"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import classNames from "classnames"; const StyledList = styled.ul` diff --git a/app/client/src/components/BottomBar/index.tsx b/app/client/src/components/BottomBar/index.tsx index bad66c437dc7..1c358dc6ec87 100644 --- a/app/client/src/components/BottomBar/index.tsx +++ b/app/client/src/components/BottomBar/index.tsx @@ -3,14 +3,14 @@ import QuickGitActions from "pages/Editor/gitSync/QuickGitActions"; import { DebuggerTrigger } from "components/editorComponents/Debugger"; import HelpButton from "pages/Editor/HelpButton"; import ManualUpgrades from "./ManualUpgrades"; -import { Button } from "design-system"; -import SwitchEnvironment from "@appsmith/components/SwitchEnvironment"; +import { Button } from "@appsmith/ads"; +import SwitchEnvironment from "ee/components/SwitchEnvironment"; import { Container, Wrapper } from "./components"; import { useSelector } from "react-redux"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import { useDispatch } from "react-redux"; import { softRefreshActions } from "actions/pluginActionActions"; -import { START_SWITCH_ENVIRONMENT } from "@appsmith/constants/messages"; +import { START_SWITCH_ENVIRONMENT } from "ee/constants/messages"; import { getIsAnvilEnabledInCurrentApplication } from "layoutSystems/anvil/integrations/selectors"; export default function BottomBar({ viewMode }: { viewMode: boolean }) { diff --git a/app/client/src/components/BusinessTag.tsx b/app/client/src/components/BusinessTag.tsx index 854c1051c38c..7debeb40a116 100644 --- a/app/client/src/components/BusinessTag.tsx +++ b/app/client/src/components/BusinessTag.tsx @@ -1,7 +1,7 @@ import React from "react"; -import type { TagSizes } from "design-system"; -import { Tag } from "design-system"; -import { BUSINESS_TAG, createMessage } from "@appsmith/constants/messages"; +import type { TagSizes } from "@appsmith/ads"; +import { Tag } from "@appsmith/ads"; +import { BUSINESS_TAG, createMessage } from "ee/constants/messages"; const BusinessTag = ({ classes = "", diff --git a/app/client/src/components/EnterpriseTag.tsx b/app/client/src/components/EnterpriseTag.tsx index 34c19434e716..35841d53d8d2 100644 --- a/app/client/src/components/EnterpriseTag.tsx +++ b/app/client/src/components/EnterpriseTag.tsx @@ -1,7 +1,7 @@ import React from "react"; -import type { TagSizes } from "design-system"; -import { Tag } from "design-system"; -import { ENTERPRISE_TAG, createMessage } from "@appsmith/constants/messages"; +import type { TagSizes } from "@appsmith/ads"; +import { Tag } from "@appsmith/ads"; +import { ENTERPRISE_TAG, createMessage } from "ee/constants/messages"; const EnterpriseTag = ({ classes = "", diff --git a/app/client/src/components/TabItemBackgroundFill.tsx b/app/client/src/components/TabItemBackgroundFill.tsx index deb4e0822058..b3f68e1c4a6c 100644 --- a/app/client/src/components/TabItemBackgroundFill.tsx +++ b/app/client/src/components/TabItemBackgroundFill.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; -import type { TabProp } from "design-system-old"; -import { getTypographyByKey } from "design-system-old"; +import type { TabProp } from "@appsmith/ads-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import type { Theme } from "constants/DefaultTheme"; interface WrapperProps { diff --git a/app/client/src/components/common/BackToCanvas.tsx b/app/client/src/components/common/BackToCanvas.tsx index 43e2e4caae66..7c858df8747f 100644 --- a/app/client/src/components/common/BackToCanvas.tsx +++ b/app/client/src/components/common/BackToCanvas.tsx @@ -1,11 +1,11 @@ import React, { useCallback, useContext } from "react"; import styled from "styled-components"; -import { Link } from "design-system"; +import { Link } from "@appsmith/ads"; import history from "utils/history"; import WalkthroughContext from "components/featureWalkthrough/walkthroughContext"; -import { BACK_TO_CANVAS, createMessage } from "@appsmith/constants/messages"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { BACK_TO_CANVAS, createMessage } from "ee/constants/messages"; +import { builderURL } from "ee/RouteBuilder"; const BackToCanvasLink = styled(Link)` margin-left: ${(props) => props.theme.spaces[1] + 1}px; diff --git a/app/client/src/components/common/Card.tsx b/app/client/src/components/common/Card.tsx index 903c5028a60c..8d7b30336be2 100644 --- a/app/client/src/components/common/Card.tsx +++ b/app/client/src/components/common/Card.tsx @@ -2,10 +2,10 @@ import React from "react"; import styled from "styled-components"; import { Card as BlueprintCard, Classes } from "@blueprintjs/core"; import { omit } from "lodash"; -import { AppIcon, Size, TextType, Text } from "design-system-old"; +import { AppIcon, Size, TextType, Text } from "@appsmith/ads-old"; import type { PropsWithChildren } from "react"; import type { HTMLDivProps, ICardProps } from "@blueprintjs/core"; -import { Button, type MenuItemProps } from "design-system"; +import { Button, type MenuItemProps } from "@appsmith/ads"; import GitConnectedBadge from "./GitConnectedBadge"; diff --git a/app/client/src/components/common/Collapsible.tsx b/app/client/src/components/common/Collapsible.tsx index 0f522208b966..180cdd83998e 100644 --- a/app/client/src/components/common/Collapsible.tsx +++ b/app/client/src/components/common/Collapsible.tsx @@ -2,8 +2,8 @@ import type { ReactNode } from "react"; import React, { useEffect, useState } from "react"; import styled from "styled-components"; import { Collapse, Classes as BPClasses } from "@blueprintjs/core"; -import { Icon, Text, Tooltip } from "design-system"; -import { Classes, getTypographyByKey } from "design-system-old"; +import { Icon, Text, Tooltip } from "@appsmith/ads"; +import { Classes, getTypographyByKey } from "@appsmith/ads-old"; import type { Datasource } from "entities/Datasource"; const Label = styled.span` diff --git a/app/client/src/components/common/GitConnectedBadge.tsx b/app/client/src/components/common/GitConnectedBadge.tsx index 0e1d9996cbbd..37505bffab0e 100644 --- a/app/client/src/components/common/GitConnectedBadge.tsx +++ b/app/client/src/components/common/GitConnectedBadge.tsx @@ -1,8 +1,8 @@ import React from "react"; import styled from "styled-components"; -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; -import { CONNECTED_TO_GIT, createMessage } from "@appsmith/constants/messages"; +import { CONNECTED_TO_GIT, createMessage } from "ee/constants/messages"; const StyledGitConnectedBadge = styled.div` width: 24px; diff --git a/app/client/src/components/designSystems/appsmith/SignPostingBanner.tsx b/app/client/src/components/designSystems/appsmith/SignPostingBanner.tsx index 258a04a9d5ea..d5f185e8507a 100644 --- a/app/client/src/components/designSystems/appsmith/SignPostingBanner.tsx +++ b/app/client/src/components/designSystems/appsmith/SignPostingBanner.tsx @@ -1,7 +1,7 @@ import React from "react"; import type { ReactNode } from "react"; import styled from "styled-components"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; export interface SignPostingBannerProps { iconName: string; diff --git a/app/client/src/components/designSystems/appsmith/StepComponent.tsx b/app/client/src/components/designSystems/appsmith/StepComponent.tsx index f587dc8df8cf..8a54f9f1209b 100644 --- a/app/client/src/components/designSystems/appsmith/StepComponent.tsx +++ b/app/client/src/components/designSystems/appsmith/StepComponent.tsx @@ -1,4 +1,4 @@ -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx b/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx index 1c3696ad98ff..3257d962223b 100644 --- a/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx +++ b/app/client/src/components/designSystems/appsmith/header/DeployLinkButton.tsx @@ -1,17 +1,17 @@ import type { ReactNode } from "react"; import React from "react"; -import { Menu, MenuItem, MenuContent, MenuTrigger } from "design-system"; +import { Menu, MenuItem, MenuContent, MenuTrigger } from "@appsmith/ads"; import { useSelector, useDispatch } from "react-redux"; import { getIsGitConnected } from "selectors/gitSyncSelectors"; import { setIsGitSyncModalOpen } from "actions/gitSyncActions"; import { GitSyncModalTab } from "entities/GitSync"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { CONNECT_TO_GIT_OPTION, CURRENT_DEPLOY_PREVIEW_OPTION, -} from "@appsmith/constants/messages"; -import { Button } from "design-system"; -import { KBEditorMenuItem } from "@appsmith/pages/Editor/KnowledgeBase/KBEditorMenuItem"; +} from "ee/constants/messages"; +import { Button } from "@appsmith/ads"; +import { KBEditorMenuItem } from "ee/pages/Editor/KnowledgeBase/KBEditorMenuItem"; import { useHasConnectToGitPermission } from "pages/Editor/gitSync/hooks/gitPermissionHooks"; import { getIsAnvilEnabledInCurrentApplication } from "layoutSystems/anvil/integrations/selectors"; diff --git a/app/client/src/components/designSystems/blueprintjs/icon/Icon.tsx b/app/client/src/components/designSystems/blueprintjs/icon/Icon.tsx index 93e78cd47025..58d701c33f43 100644 --- a/app/client/src/components/designSystems/blueprintjs/icon/Icon.tsx +++ b/app/client/src/components/designSystems/blueprintjs/icon/Icon.tsx @@ -11,7 +11,7 @@ import { iconClass, intentClass, } from "@blueprintjs/core/lib/esm/common/classes"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; // This export must be named "IconSize" to match the exports of @blueprintjs/core/lib/esm/components/icon export enum IconSize { diff --git a/app/client/src/components/editorComponents/ActionCreator/Field/FieldConfig.ts b/app/client/src/components/editorComponents/ActionCreator/Field/FieldConfig.ts index f07b9fc64062..9f164c91559b 100644 --- a/app/client/src/components/editorComponents/ActionCreator/Field/FieldConfig.ts +++ b/app/client/src/components/editorComponents/ActionCreator/Field/FieldConfig.ts @@ -9,7 +9,7 @@ import { RESET_CHILDREN_OPTIONS, ViewTypes, } from "../constants"; -import { ALERT_STYLE_OPTIONS } from "@appsmith/constants/messages"; +import { ALERT_STYLE_OPTIONS } from "ee/constants/messages"; import type { ActionIntegrationType, ActionType, @@ -32,8 +32,8 @@ import { genericSetter, } from "../utils"; import store from "store"; -import { getPageList } from "@appsmith/selectors/entitiesSelector"; -import type { TreeDropdownOption } from "design-system-old"; +import { getPageList } from "ee/selectors/entitiesSelector"; +import type { TreeDropdownOption } from "@appsmith/ads-old"; import { FIELD_GROUP_CONFIG } from "../FieldGroup/FieldGroupConfig"; import { getFunctionName, checkIfArgumentExistAtPosition } from "@shared/ast"; diff --git a/app/client/src/components/editorComponents/ActionCreator/Field/index.tsx b/app/client/src/components/editorComponents/ActionCreator/Field/index.tsx index c6af8d6c701d..bb4d93d3a4f7 100644 --- a/app/client/src/components/editorComponents/ActionCreator/Field/index.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/Field/index.tsx @@ -4,7 +4,7 @@ import { ViewTypes, DEFAULT_SELECTOR_VIEW_TEXT, } from "../constants"; -import type { TreeDropdownOption } from "design-system-old"; +import type { TreeDropdownOption } from "@appsmith/ads-old"; import { getFunctionName } from "@shared/ast"; import type { FieldProps, diff --git a/app/client/src/components/editorComponents/ActionCreator/FieldGroup/FieldGroupConfig.ts b/app/client/src/components/editorComponents/ActionCreator/FieldGroup/FieldGroupConfig.ts index 477713add2ab..4344a0486266 100644 --- a/app/client/src/components/editorComponents/ActionCreator/FieldGroup/FieldGroupConfig.ts +++ b/app/client/src/components/editorComponents/ActionCreator/FieldGroup/FieldGroupConfig.ts @@ -20,7 +20,7 @@ import { STOP_WATCH_GEO_LOCATION, STORE_VALUE, WATCH_GEO_LOCATION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { FieldGroupConfig } from "../types"; export const FIELD_GROUP_CONFIG: FieldGroupConfig = { diff --git a/app/client/src/components/editorComponents/ActionCreator/constants.ts b/app/client/src/components/editorComponents/ActionCreator/constants.ts index af7a9203ce5a..93794f7297f6 100644 --- a/app/client/src/components/editorComponents/ActionCreator/constants.ts +++ b/app/client/src/components/editorComponents/ActionCreator/constants.ts @@ -1,4 +1,4 @@ -import { APPSMITH_NAMESPACED_FUNCTIONS as EE_APPSMITH_NAMESPACED_FUNCTIONS } from "@appsmith/entities/Engine/actionHelpers"; +import { APPSMITH_NAMESPACED_FUNCTIONS as EE_APPSMITH_NAMESPACED_FUNCTIONS } from "ee/entities/Engine/actionHelpers"; export enum APPSMITH_GLOBAL_FUNCTIONS { navigateTo = "navigateTo", diff --git a/app/client/src/components/editorComponents/ActionCreator/helpers.tsx b/app/client/src/components/editorComponents/ActionCreator/helpers.tsx index 59540da38e20..316b7b0628cc 100644 --- a/app/client/src/components/editorComponents/ActionCreator/helpers.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/helpers.tsx @@ -7,13 +7,13 @@ import { setCatchBlockInQuery, } from "@shared/ast"; import { createModalAction } from "actions/widgetActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getEntityNameAndPropertyPath, isEntityAction, -} from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { TreeDropdownOption } from "design-system-old"; -import { Icon } from "design-system"; +} from "ee/workers/Evaluation/evaluationUtils"; +import type { TreeDropdownOption } from "@appsmith/ads-old"; +import { Icon } from "@appsmith/ads"; import { PluginType } from "entities/Action"; import type { JSAction, Variable } from "entities/JSCollection"; import keyBy from "lodash/keyBy"; @@ -23,8 +23,8 @@ import { useDispatch, useSelector } from "react-redux"; import type { ActionData, ActionDataState, -} from "@appsmith/reducers/entityReducers/actionsReducer"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +} from "ee/reducers/entityReducers/actionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import { getCurrentPageId } from "selectors/editorSelectors"; import { getCurrentActions, @@ -32,7 +32,7 @@ import { getCurrentJSCollections, getQueryModuleInstances, getJSModuleInstancesData, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { getModalDropdownList, getNextModalName, @@ -60,13 +60,13 @@ import { getEvaluationVersion, } from "./utils"; import store from "store"; -import { selectEvaluationVersion } from "@appsmith/selectors/applicationSelectors"; -import { isJSAction } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { selectEvaluationVersion } from "ee/selectors/applicationSelectors"; +import { isJSAction } from "ee/workers/Evaluation/evaluationUtils"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; -import type { ModuleInstanceDataState } from "@appsmith/constants/ModuleInstanceConstants"; +import type { ModuleInstanceDataState } from "ee/constants/ModuleInstanceConstants"; import { getModuleIcon, getPluginImagesFromPlugins } from "pages/Editor/utils"; -import { getAllModules } from "@appsmith/selectors/modulesSelector"; -import type { Module } from "@appsmith/constants/ModuleConstants"; +import { getAllModules } from "ee/selectors/modulesSelector"; +import type { Module } from "ee/constants/ModuleConstants"; import type { Plugin } from "api/PluginApi"; import { createNewJSCollectionFromActionCreator, diff --git a/app/client/src/components/editorComponents/ActionCreator/index.tsx b/app/client/src/components/editorComponents/ActionCreator/index.tsx index 47e99790be5f..f3baf0db464e 100644 --- a/app/client/src/components/editorComponents/ActionCreator/index.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/index.tsx @@ -9,10 +9,10 @@ import { import { diff } from "deep-diff"; import Action from "./viewComponents/Action"; import { useSelector } from "react-redux"; -import { selectEvaluationVersion } from "@appsmith/selectors/applicationSelectors"; +import { selectEvaluationVersion } from "ee/selectors/applicationSelectors"; import { generateReactKey } from "../../../utils/generators"; import { useApisQueriesAndJsActionOptions } from "./helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getActionTypeLabel } from "./viewComponents/ActionBlockTree/utils"; import { AppsmithFunction } from "./constants"; diff --git a/app/client/src/components/editorComponents/ActionCreator/types.ts b/app/client/src/components/editorComponents/ActionCreator/types.ts index 24240abb9dbf..6ff13ef0695d 100644 --- a/app/client/src/components/editorComponents/ActionCreator/types.ts +++ b/app/client/src/components/editorComponents/ActionCreator/types.ts @@ -2,17 +2,14 @@ import type { SwitcherProps, TreeDropdownOption, IconName, -} from "design-system-old"; -import type { - EntityTypeValue, - MetaArgs, -} from "@appsmith/entities/DataTree/types"; +} from "@appsmith/ads-old"; +import type { EntityTypeValue, MetaArgs } from "ee/entities/DataTree/types"; import type React from "react"; import type { AdditionalDynamicDataTree } from "utils/autocomplete/customTreeTypeDefCreator"; import type { FieldType, ViewTypes, AppsmithFunction } from "./constants"; import type { APPSMITH_INTEGRATIONS } from "./constants"; import type { Variants } from "./constants"; -import type { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import type { MODULE_TYPE } from "ee/constants/ModuleConstants"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/components/editorComponents/ActionCreator/utils.test.ts b/app/client/src/components/editorComponents/ActionCreator/utils.test.ts index e22362f4fe5a..0c3ff349c4ee 100644 --- a/app/client/src/components/editorComponents/ActionCreator/utils.test.ts +++ b/app/client/src/components/editorComponents/ActionCreator/utils.test.ts @@ -20,7 +20,7 @@ import { objectSetter, sortSubMenuOptions, } from "./utils"; -import type { TreeDropdownOption } from "design-system-old"; +import type { TreeDropdownOption } from "@appsmith/ads-old"; describe("Test argStringToArray", () => { const cases = [ diff --git a/app/client/src/components/editorComponents/ActionCreator/utils.ts b/app/client/src/components/editorComponents/ActionCreator/utils.ts index c0d3f53d4bda..acca3564ffe5 100644 --- a/app/client/src/components/editorComponents/ActionCreator/utils.ts +++ b/app/client/src/components/editorComponents/ActionCreator/utils.ts @@ -20,12 +20,12 @@ import { checkIfCatchBlockExists, checkIfThenBlockExists, } from "@shared/ast"; -import type { TreeDropdownOption } from "design-system-old"; +import type { TreeDropdownOption } from "@appsmith/ads-old"; import type { TActionBlock } from "./types"; import { AppsmithFunction, DEFAULT_LABELS, FieldType } from "./constants"; import { FIELD_GROUP_CONFIG } from "./FieldGroup/FieldGroupConfig"; import store from "store"; -import { selectEvaluationVersion } from "@appsmith/selectors/applicationSelectors"; +import { selectEvaluationVersion } from "ee/selectors/applicationSelectors"; import { FIELD_CONFIG } from "./Field/FieldConfig"; import { setGenericArgAtPostition } from "@shared/ast/src/actionCreator"; diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionCard.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionCard.tsx index 43390754eb9f..d4fce8519ad1 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionCard.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionCard.tsx @@ -1,6 +1,6 @@ import React from "react"; import clsx from "classnames"; -import { Text, Tag } from "design-system"; +import { Text, Tag } from "@appsmith/ads"; import { ActionCreatorContext } from "../.."; import { AppsmithFunction } from "../../constants"; import type { TActionBlock, VariantType } from "../../types"; diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionSelector.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionSelector.tsx index 0a4a2c5ac57f..b0872af46c1b 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionSelector.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionSelector.tsx @@ -1,11 +1,11 @@ import { Popover2 } from "@blueprintjs/popover2"; import { isModalOpenSelector } from "components/editorComponents/GlobalSearch"; -import type { TreeDropdownOption } from "design-system-old"; -import { Text, Button } from "design-system"; +import type { TreeDropdownOption } from "@appsmith/ads-old"; +import { Text, Button } from "@appsmith/ads"; import React, { useCallback, useRef } from "react"; import { useSelector } from "react-redux"; import { getWidgetOptionsTree } from "sagas/selectors"; -import { getPageListAsOptions } from "@appsmith/selectors/entitiesSelector"; +import { getPageListAsOptions } from "ee/selectors/entitiesSelector"; import type { AdditionalDynamicDataTree } from "utils/autocomplete/customTreeTypeDefCreator"; import { ActionCreatorContext } from "../.."; import { AppsmithFunction } from "../../constants"; diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx index 9a8ed830be8d..f169877253a3 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/Action/ActionTree.tsx @@ -1,6 +1,6 @@ import styled from "styled-components"; import TreeStructure from "components/utils/TreeStructure"; -import { Text, Icon, Button, Tooltip } from "design-system"; +import { Text, Icon, Button, Tooltip } from "@appsmith/ads"; import { klona } from "klona/lite"; import React, { useCallback, useEffect } from "react"; import { ActionCreatorContext } from "../.."; @@ -9,7 +9,7 @@ import type { TActionBlock, VariantType } from "../../types"; import { chainableFns } from "../../utils"; import ActionCard from "./ActionCard"; import ActionSelector from "./ActionSelector"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getActionTypeLabel } from "../ActionBlockTree/utils"; import classNames from "classnames"; import type { AdditionalDynamicDataTree } from "utils/autocomplete/customTreeTypeDefCreator"; diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionBlockTree/utils.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionBlockTree/utils.tsx index 541fdd26daa0..801c029e8249 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionBlockTree/utils.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionBlockTree/utils.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import { AppsmithFunction, FieldType } from "../../constants"; import type { ActionTree } from "../../types"; import { FIELD_GROUP_CONFIG } from "../../FieldGroup/FieldGroupConfig"; @@ -7,7 +7,7 @@ import { getFunctionName, getFunctionArguments } from "@shared/ast"; import { FIELD_CONFIG } from "../../Field/FieldConfig"; import { getCodeFromMoustache, getEvaluationVersion } from "../../utils"; import { ApiMethodIcon } from "pages/Editor/Explorer/ExplorerIcons"; -import { getCurrentActions } from "@appsmith/selectors/entitiesSelector"; +import { getCurrentActions } from "ee/selectors/entitiesSelector"; import { useSelector } from "react-redux"; import type { HTTP_METHOD } from "constants/ApiEditorConstants/CommonApiConstants"; diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionSelectorView/index.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionSelectorView/index.tsx index bbfb769d05ee..1355e76a920d 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionSelectorView/index.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/ActionSelectorView/index.tsx @@ -1,7 +1,7 @@ import React, { useState, useMemo, useEffect } from "react"; -import type { TreeDropdownOption } from "design-system-old"; -import { TreeDropdown } from "design-system-old"; -import { Input } from "design-system"; +import type { TreeDropdownOption } from "@appsmith/ads-old"; +import { TreeDropdown } from "@appsmith/ads-old"; +import { Input } from "@appsmith/ads"; import { debounce } from "lodash"; import { FIELD_CONFIG } from "../../Field/FieldConfig"; import { AppsmithFunction, FieldType } from "../../constants"; diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/KeyValueView/index.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/KeyValueView/index.tsx index cd0a0ceab63c..720190b90596 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/KeyValueView/index.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/KeyValueView/index.tsx @@ -2,7 +2,7 @@ import React from "react"; import type { KeyValueViewProps } from "../../types"; import { ControlWrapper } from "components/propertyControls/StyledControls"; import { KeyValueComponent } from "components/propertyControls/KeyValueComponent"; -import type { SegmentedControlOption } from "design-system"; +import type { SegmentedControlOption } from "@appsmith/ads"; export function KeyValueView(props: KeyValueViewProps) { return ( diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/SelectorView/index.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/SelectorView/index.tsx index 18f6e6993ae1..3f19ea8f0ed0 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/SelectorView/index.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/SelectorView/index.tsx @@ -3,8 +3,8 @@ import { ControlWrapper, FieldWrapper, } from "components/propertyControls/StyledControls"; -import type { Setter } from "design-system-old"; -import { TreeDropdown } from "design-system-old"; +import type { Setter } from "@appsmith/ads-old"; +import { TreeDropdown } from "@appsmith/ads-old"; import { PopoverPosition } from "@blueprintjs/core"; import React from "react"; diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/TabView/index.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/TabView/index.tsx index 0fe6b27d419a..71e0e7dfaafc 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/TabView/index.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/TabView/index.tsx @@ -3,7 +3,7 @@ import { ControlWrapper, FieldWrapper, } from "components/propertyControls/StyledControls"; -import { SegmentedControl } from "design-system"; +import { SegmentedControl } from "@appsmith/ads"; import React from "react"; interface Option { diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx index b6b05f00b0a6..5eea97309236 100644 --- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx +++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx @@ -8,7 +8,7 @@ import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import React, { useEffect, useMemo, useState } from "react"; import { getCodeFromMoustache } from "../../utils"; import { useDispatch, useSelector } from "react-redux"; -import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; import { generateReactKey } from "utils/generators"; import { clearEvaluatedActionSelectorField, @@ -19,7 +19,7 @@ import { Collapsible, CollapsibleContent, CollapsibleHeader, -} from "design-system"; +} from "@appsmith/ads"; export function TextView(props: TextViewProps) { const id = useMemo(() => generateReactKey(), []); diff --git a/app/client/src/components/editorComponents/ActionExecutionInProgressView.tsx b/app/client/src/components/editorComponents/ActionExecutionInProgressView.tsx index 15205b893f75..64af215f18ad 100644 --- a/app/client/src/components/editorComponents/ActionExecutionInProgressView.tsx +++ b/app/client/src/components/editorComponents/ActionExecutionInProgressView.tsx @@ -3,9 +3,9 @@ import { ACTION_EXECUTION_CANCEL, ACTION_EXECUTION_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import ActionAPI from "api/ActionAPI"; -import { Button, Spinner, Text } from "design-system"; +import { Button, Spinner, Text } from "@appsmith/ads"; import styled from "styled-components"; import type { EditorTheme } from "./CodeEditor/EditorConfig"; import LoadingOverlayScreen from "./LoadingOverlayScreen"; diff --git a/app/client/src/components/editorComponents/ActionNameEditor.tsx b/app/client/src/components/editorComponents/ActionNameEditor.tsx index ffd8bcf3e089..8467855f479f 100644 --- a/app/client/src/components/editorComponents/ActionNameEditor.tsx +++ b/app/client/src/components/editorComponents/ActionNameEditor.tsx @@ -6,14 +6,11 @@ import EditableText, { EditInteractionKind, } from "components/editorComponents/EditableText"; import { removeSpecialChars } from "utils/helpers"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { saveActionName } from "actions/pluginActionActions"; -import { Flex } from "design-system"; -import { - getActionByBaseId, - getPlugin, -} from "@appsmith/selectors/entitiesSelector"; +import { Flex } from "@appsmith/ads"; +import { getActionByBaseId, getPlugin } from "ee/selectors/entitiesSelector"; import NameEditorComponent, { IconBox, IconWrapper, @@ -23,10 +20,10 @@ import { ACTION_ID_NOT_FOUND_IN_URL, ACTION_NAME_PLACEHOLDER, createMessage, -} from "@appsmith/constants/messages"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +} from "ee/constants/messages"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { getSavingStatusForActionName } from "selectors/actionSelectors"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; interface SaveActionNameParams { id: string; diff --git a/app/client/src/components/editorComponents/ActionRightPane/Connections.tsx b/app/client/src/components/editorComponents/ActionRightPane/Connections.tsx index 8dd80970f80e..713341cb1073 100644 --- a/app/client/src/components/editorComponents/ActionRightPane/Connections.tsx +++ b/app/client/src/components/editorComponents/ActionRightPane/Connections.tsx @@ -1,18 +1,18 @@ import React from "react"; -import { Text, TextType } from "design-system-old"; +import { Text, TextType } from "@appsmith/ads-old"; import styled from "styled-components"; import LongArrowSVG from "assets/images/long-arrow-bottom.svg"; import { useEntityLink } from "../Debugger/hooks/debuggerHooks"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { createMessage, INCOMING_ENTITIES, NO_INCOMING_ENTITIES, NO_OUTGOING_ENTITIES, OUTGOING_ENTITIES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Connection } from "../Debugger/EntityDependecies"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import Collapsible from "components/common/Collapsible"; const ConnectionType = styled.span` diff --git a/app/client/src/components/editorComponents/ActionRightPane/index.tsx b/app/client/src/components/editorComponents/ActionRightPane/index.tsx index 4850908e4307..4df897a9fa7a 100644 --- a/app/client/src/components/editorComponents/ActionRightPane/index.tsx +++ b/app/client/src/components/editorComponents/ActionRightPane/index.tsx @@ -1,8 +1,8 @@ import React, { useMemo } from "react"; import styled from "styled-components"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getDependenciesFromInverseDependencies } from "../Debugger/helpers"; import { CollapsibleGroup, diff --git a/app/client/src/components/editorComponents/ActionRightPane/useShowSchema.ts b/app/client/src/components/editorComponents/ActionRightPane/useShowSchema.ts index 69b70db68d32..10b3d4c9dffa 100644 --- a/app/client/src/components/editorComponents/ActionRightPane/useShowSchema.ts +++ b/app/client/src/components/editorComponents/ActionRightPane/useShowSchema.ts @@ -1,7 +1,7 @@ import { getPluginDatasourceComponentFromId, getPluginNameFromId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { DatasourceComponentTypes } from "api/PluginApi"; import { SCHEMALESS_PLUGINS } from "pages/Editor/DatasourceInfo/DatasourceStructureContainer"; import { useSelector } from "react-redux"; diff --git a/app/client/src/components/editorComponents/ApiResponseMeta.tsx b/app/client/src/components/editorComponents/ApiResponseMeta.tsx index b474d2f4ee69..2dbebb00e02a 100644 --- a/app/client/src/components/editorComponents/ApiResponseMeta.tsx +++ b/app/client/src/components/editorComponents/ApiResponseMeta.tsx @@ -1,7 +1,7 @@ import type { PropsWithChildren } from "react"; import React from "react"; -import { Flex } from "design-system"; -import { Text, TextType } from "design-system-old"; +import { Flex } from "@appsmith/ads"; +import { Text, TextType } from "@appsmith/ads-old"; import { formatBytes } from "../../utils/helpers"; import { isEmpty } from "lodash"; import BindDataButton from "pages/Editor/QueryEditor/BindDataButton"; diff --git a/app/client/src/components/editorComponents/ApiResponseView.test.tsx b/app/client/src/components/editorComponents/ApiResponseView.test.tsx index 38881571a4c3..2ef152fe1271 100644 --- a/app/client/src/components/editorComponents/ApiResponseView.test.tsx +++ b/app/client/src/components/editorComponents/ApiResponseView.test.tsx @@ -7,7 +7,7 @@ import { ThemeProvider } from "styled-components"; import { unitTestBaseMockStore } from "layoutSystems/common/dropTarget/unitTestUtils"; import { lightTheme } from "selectors/themeSelectors"; import { BrowserRouter as Router } from "react-router-dom"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import "@testing-library/jest-dom/extend-expect"; jest.mock("./EntityBottomTabs", () => ({ diff --git a/app/client/src/components/editorComponents/ApiResponseView.tsx b/app/client/src/components/editorComponents/ApiResponseView.tsx index f4ff5d0aee9e..0c552d2e265e 100644 --- a/app/client/src/components/editorComponents/ApiResponseView.tsx +++ b/app/client/src/components/editorComponents/ApiResponseView.tsx @@ -5,7 +5,7 @@ import styled from "styled-components"; import type { ActionResponse } from "api/ActionAPI"; import type { SourceEntity } from "entities/AppsmithConsole"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import ReadOnlyEditor from "components/editorComponents/ReadOnlyEditor"; import { isArray, isEmpty, isString } from "lodash"; import { @@ -16,14 +16,14 @@ import { DEBUGGER_RESPONSE, EMPTY_RESPONSE_FIRST_HALF, EMPTY_RESPONSE_LAST_HALF, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { EditorTheme } from "./CodeEditor/EditorConfig"; import NoResponseSVG from "assets/images/no-response.svg"; import DebuggerLogs from "./Debugger/DebuggerLogs"; import ErrorLogs from "./Debugger/Errors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Classes, Text, TextType } from "design-system-old"; -import { Button, Callout, Flex, SegmentedControl } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Classes, Text, TextType } from "@appsmith/ads-old"; +import { Button, Callout, Flex, SegmentedControl } from "@appsmith/ads"; import type { BottomTab } from "./EntityBottomTabs"; import EntityBottomTabs from "./EntityBottomTabs"; import { DEBUGGER_TAB_KEYS } from "./Debugger/helpers"; @@ -47,7 +47,7 @@ import { EMPTY_RESPONSE } from "./emptyResponse"; import { setApiPaneDebuggerState } from "actions/apiPaneActions"; import { getApiPaneDebuggerState } from "selectors/apiPaneSelectors"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import ApiResponseMeta from "./ApiResponseMeta"; import useDebuggerTriggerClick from "./Debugger/hooks/useDebuggerTriggerClick"; import { IDEBottomView, ViewHideBehaviour } from "IDE"; diff --git a/app/client/src/components/editorComponents/BetaCard.tsx b/app/client/src/components/editorComponents/BetaCard.tsx index d49018165f2e..e87d6fa7ae9c 100644 --- a/app/client/src/components/editorComponents/BetaCard.tsx +++ b/app/client/src/components/editorComponents/BetaCard.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Tag } from "design-system"; +import { Tag } from "@appsmith/ads"; function BetaCard() { return ( diff --git a/app/client/src/components/editorComponents/CloseEditor.tsx b/app/client/src/components/editorComponents/CloseEditor.tsx index c6cb33b1886f..e57f9083ff17 100644 --- a/app/client/src/components/editorComponents/CloseEditor.tsx +++ b/app/client/src/components/editorComponents/CloseEditor.tsx @@ -9,11 +9,11 @@ import { generateTemplateFormURL, integrationEditorURL, widgetListURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { useSelector } from "react-redux"; import { getCurrentBasePageId } from "selectors/editorSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Link } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Link } from "@appsmith/ads"; import styled from "styled-components"; import type { AppsmithLocationState } from "../../utils/history"; import { NavigationMethod } from "../../utils/history"; diff --git a/app/client/src/components/editorComponents/CodeEditor/EditorConfig.ts b/app/client/src/components/editorComponents/CodeEditor/EditorConfig.ts index 41da80589681..4bbe96454509 100644 --- a/app/client/src/components/editorComponents/CodeEditor/EditorConfig.ts +++ b/app/client/src/components/editorComponents/CodeEditor/EditorConfig.ts @@ -1,5 +1,5 @@ import type CodeMirror from "codemirror"; -import type { EntityTypeValue } from "@appsmith/entities/DataTree/types"; +import type { EntityTypeValue } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import type { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import type { EntityNavigationData } from "selectors/navigationSelectors"; diff --git a/app/client/src/components/editorComponents/CodeEditor/EvaluatedValuePopup.tsx b/app/client/src/components/editorComponents/CodeEditor/EvaluatedValuePopup.tsx index de50ea5c907d..7337b1ebd301 100644 --- a/app/client/src/components/editorComponents/CodeEditor/EvaluatedValuePopup.tsx +++ b/app/client/src/components/editorComponents/CodeEditor/EvaluatedValuePopup.tsx @@ -21,13 +21,13 @@ import type { Indices } from "constants/Layers"; import { Layers } from "constants/Layers"; import { useDispatch, useSelector } from "react-redux"; import { getEvaluatedPopupState } from "selectors/editorContextSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { setEvalPopupState } from "actions/editorContextActions"; import { setDebuggerSelectedTab, showDebugger } from "actions/debuggerActions"; import { modText } from "utils/helpers"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { getPathNavigationUrl } from "selectors/navigationSelectors"; -import { Button, Icon, Link, toast, Tooltip } from "design-system"; +import { Button, Icon, Link, toast, Tooltip } from "@appsmith/ads"; import type { EvaluationError } from "utils/DynamicBindingUtils"; import { DEBUGGER_TAB_KEYS } from "../Debugger/helpers"; diff --git a/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/Analytics.ts b/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/Analytics.ts index ca59286be386..e3234c245c8b 100644 --- a/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/Analytics.ts +++ b/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/Analytics.ts @@ -1,5 +1,5 @@ import type { MouseEventHandler } from "react"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; export const objectCollapseAnalytics: MouseEventHandler = (ev) => { /* diff --git a/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/PeekOverlayPopup.tsx b/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/PeekOverlayPopup.tsx index 9be67a9a112c..1885ab8aee69 100644 --- a/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/PeekOverlayPopup.tsx +++ b/app/client/src/components/editorComponents/CodeEditor/PeekOverlayPopup/PeekOverlayPopup.tsx @@ -7,11 +7,11 @@ import { componentWillAppendToBody } from "react-append-to-body"; import _, { debounce } from "lodash"; import { zIndexLayers } from "constants/CanvasEditorConstants"; import { objectCollapseAnalytics, textSelectAnalytics } from "./Analytics"; -import { Divider } from "design-system"; +import { Divider } from "@appsmith/ads"; import { useSelector } from "react-redux"; import { getConfigTree, getDataTree } from "selectors/dataTreeSelectors"; import { filterInternalProperties } from "utils/FilterInternalProperties"; -import { getJSCollections } from "@appsmith/selectors/entitiesSelector"; +import { getJSCollections } from "ee/selectors/entitiesSelector"; export interface PeekOverlayStateProps { objectName: string; diff --git a/app/client/src/components/editorComponents/CodeEditor/codeEditorUtils.ts b/app/client/src/components/editorComponents/CodeEditor/codeEditorUtils.ts index 8a0c699fdfb3..0e82d7fe88fe 100644 --- a/app/client/src/components/editorComponents/CodeEditor/codeEditorUtils.ts +++ b/app/client/src/components/editorComponents/CodeEditor/codeEditorUtils.ts @@ -1,15 +1,12 @@ import type CodeMirror from "codemirror"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; -import type { - WidgetEntity, - ActionEntity, -} from "@appsmith/entities/DataTree/types"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; +import type { WidgetEntity, ActionEntity } from "ee/entities/DataTree/types"; import { trim } from "lodash"; import { getDynamicStringSegments } from "utils/DynamicBindingUtils"; import { EditorSize } from "./EditorConfig"; -import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlagCheck } from "ee/selectors/featureFlagsSelectors"; import store from "store"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { SlashCommandMenuOnFocusWidgetProps } from "./constants"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/components/editorComponents/CodeEditor/commandsHelper.ts b/app/client/src/components/editorComponents/CodeEditor/commandsHelper.ts index 86d832e09362..bcb7c0ca8d2b 100644 --- a/app/client/src/components/editorComponents/CodeEditor/commandsHelper.ts +++ b/app/client/src/components/editorComponents/CodeEditor/commandsHelper.ts @@ -6,7 +6,7 @@ import type { import type { CommandsCompletion } from "utils/autocomplete/CodemirrorTernService"; import { generateQuickCommands } from "./generateQuickCommands"; import type { Datasource } from "entities/Datasource"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import log from "loglevel"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { @@ -14,12 +14,12 @@ import { shouldShowSlashCommandMenu, } from "components/editorComponents/CodeEditor/codeEditorUtils"; import type { SlashCommandPayload } from "entities/Action"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import type { EntityNavigationData, NavigationData, } from "selectors/navigationSelectors"; -import { getAIContext } from "@appsmith/components/editorComponents/GPT/trigger"; +import { getAIContext } from "ee/components/editorComponents/GPT/trigger"; import type { Plugin } from "api/PluginApi"; export const getShowHintOptions = ( diff --git a/app/client/src/components/editorComponents/CodeEditor/generateQuickCommands.tsx b/app/client/src/components/editorComponents/CodeEditor/generateQuickCommands.tsx index ef9743f7aedd..1903c4ac4ede 100644 --- a/app/client/src/components/editorComponents/CodeEditor/generateQuickCommands.tsx +++ b/app/client/src/components/editorComponents/CodeEditor/generateQuickCommands.tsx @@ -7,22 +7,22 @@ import type { SlashCommandPayload } from "entities/Action"; import { PluginType, SlashCommand } from "entities/Action"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { EntityIcon, JsFileIconV2 } from "pages/Editor/Explorer/ExplorerIcons"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import { Button, Icon } from "design-system"; -import { APPSMITH_AI } from "@appsmith/components/editorComponents/GPT/trigger"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import { Button, Icon } from "@appsmith/ads"; +import { APPSMITH_AI } from "ee/components/editorComponents/GPT/trigger"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import BetaCard from "../BetaCard"; import type { NavigationData } from "selectors/navigationSelectors"; -import type { AIEditorContext } from "@appsmith/components/editorComponents/GPT"; -import type { EntityTypeValue } from "@appsmith/entities/DataTree/types"; +import type { AIEditorContext } from "ee/components/editorComponents/GPT"; +import type { EntityTypeValue } from "ee/entities/DataTree/types"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; import history, { NavigationMethod } from "utils/history"; import type { Plugin } from "api/PluginApi"; -import { EDIT, createMessage } from "@appsmith/constants/messages"; +import { EDIT, createMessage } from "ee/constants/messages"; import { getShowHintOptions } from "./commandsHelper"; export enum Shortcuts { diff --git a/app/client/src/components/editorComponents/CodeEditor/hintHelpers.ts b/app/client/src/components/editorComponents/CodeEditor/hintHelpers.ts index b80d5ec00ccf..5bb94a2ef882 100644 --- a/app/client/src/components/editorComponents/CodeEditor/hintHelpers.ts +++ b/app/client/src/components/editorComponents/CodeEditor/hintHelpers.ts @@ -9,12 +9,12 @@ import { isCursorOnEmptyToken, } from "components/editorComponents/CodeEditor/codeEditorUtils"; import { isEmpty, isString } from "lodash"; -import type { getAllDatasourceTableKeys } from "@appsmith/selectors/entitiesSelector"; +import type { getAllDatasourceTableKeys } from "ee/selectors/entitiesSelector"; import { filterCompletions, getHintDetailsFromClassName, } from "./utils/sqlHint"; -import { isAISlashCommand } from "@appsmith/components/editorComponents/GPT/trigger"; +import { isAISlashCommand } from "ee/components/editorComponents/GPT/trigger"; export const bindingHintHelper: HintHelper = (editor: CodeMirror.Editor) => { editor.setOption("extraKeys", { diff --git a/app/client/src/components/editorComponents/CodeEditor/index.tsx b/app/client/src/components/editorComponents/CodeEditor/index.tsx index 212575c49c35..f191e7842a66 100644 --- a/app/client/src/components/editorComponents/CodeEditor/index.tsx +++ b/app/client/src/components/editorComponents/CodeEditor/index.tsx @@ -1,6 +1,6 @@ import React, { Component } from "react"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Annotation, EditorConfiguration, @@ -34,10 +34,10 @@ import _, { debounce, isEqual, isNumber } from "lodash"; import scrollIntoView from "scroll-into-view-if-needed"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; -import type { EvaluationSubstitutionType } from "@appsmith/entities/DataTree/types"; +import type { EvaluationSubstitutionType } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { Skin } from "constants/DefaultTheme"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import "components/editorComponents/CodeEditor/sql/customMimes"; import "components/editorComponents/CodeEditor/modes"; import type { @@ -73,7 +73,7 @@ import { } from "components/editorComponents/CodeEditor/hintHelpers"; import { showBindingPrompt } from "./BindingPromptHelper"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import "codemirror/addon/fold/brace-fold"; import "codemirror/addon/fold/foldgutter"; import "codemirror/addon/fold/foldgutter.css"; @@ -88,7 +88,7 @@ import { shouldShowSlashCommandMenu, } from "./codeEditorUtils"; import { slashCommandHintHelper } from "./commandsHelper"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { getPluginIdToPlugin } from "sagas/selectors"; import type { ExpectedValueExample } from "utils/validation/common"; import { getRecentEntityIds } from "selectors/globalSearchSelectors"; @@ -126,7 +126,7 @@ import { getCodeCommentKeyMap, handleCodeComment } from "./utils/codeComment"; import type { EntityNavigationData } from "selectors/navigationSelectors"; import { getEntitiesForNavigation } from "selectors/navigationSelectors"; import history, { NavigationMethod } from "utils/history"; -import { CursorPositionOrigin } from "@appsmith/reducers/uiReducers/editorContextReducer"; +import { CursorPositionOrigin } from "ee/reducers/uiReducers/editorContextReducer"; import type { PeekOverlayStateProps } from "./PeekOverlayPopup/PeekOverlayPopup"; import { PeekOverlayPopUp, @@ -137,22 +137,22 @@ import { getSaveAndAutoIndentKey, saveAndAutoIndentCode, } from "./utils/saveAndAutoIndent"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { AIWindow } from "@appsmith/components/editorComponents/GPT"; -import { AskAIButton } from "@appsmith/components/editorComponents/GPT/AskAIButton"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { AIWindow } from "ee/components/editorComponents/GPT"; +import { AskAIButton } from "ee/components/editorComponents/GPT/AskAIButton"; import classNames from "classnames"; -import { isAIEnabled } from "@appsmith/components/editorComponents/GPT/trigger"; +import { isAIEnabled } from "ee/components/editorComponents/GPT/trigger"; import { getAllDatasourceTableKeys, selectInstalledLibraries, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { debug } from "loglevel"; import { PeekOverlayExpressionIdentifier, SourceType } from "@shared/ast"; import type { MultiplexingModeConfig } from "components/editorComponents/CodeEditor/modes"; import { MULTIPLEXING_MODE_CONFIGS } from "components/editorComponents/CodeEditor/modes"; import { getDeleteLineShortcut } from "./utils/deleteLine"; -import { CodeEditorSignPosting } from "@appsmith/components/editorComponents/CodeEditorSignPosting"; +import { CodeEditorSignPosting } from "ee/components/editorComponents/CodeEditorSignPosting"; import { getFocusablePropertyPaneField } from "selectors/propertyPaneSelectors"; import resizeObserver from "utils/resizeObserver"; import { EMPTY_BINDING } from "../ActionCreator/constants"; @@ -161,7 +161,7 @@ import { setActiveEditorField, } from "actions/activeFieldActions"; import CodeMirrorTernService from "utils/autocomplete/CodemirrorTernService"; -import { getEachEntityInformation } from "@appsmith/utils/autocomplete/EntityDefinitions"; +import { getEachEntityInformation } from "ee/utils/autocomplete/EntityDefinitions"; import { getCurrentPageId } from "selectors/editorSelectors"; type ReduxStateProps = ReturnType; diff --git a/app/client/src/components/editorComponents/ContextDropdown.tsx b/app/client/src/components/editorComponents/ContextDropdown.tsx index 28e20d2b8f92..3adb1da87263 100644 --- a/app/client/src/components/editorComponents/ContextDropdown.tsx +++ b/app/client/src/components/editorComponents/ContextDropdown.tsx @@ -13,7 +13,7 @@ import { import { noop } from "utils/AppsmithUtils"; import type { Intent } from "constants/DefaultTheme"; import type { DropdownOption } from "components/constants"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; export type ContextDropdownOption = DropdownOption & { onSelect: (event: React.MouseEvent) => void; diff --git a/app/client/src/components/editorComponents/Debugger/ActionLink.tsx b/app/client/src/components/editorComponents/Debugger/ActionLink.tsx index b72838423f29..05404e153dfa 100644 --- a/app/client/src/components/editorComponents/Debugger/ActionLink.tsx +++ b/app/client/src/components/editorComponents/Debugger/ActionLink.tsx @@ -1,10 +1,10 @@ import { PluginType } from "entities/Action"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import React, { useCallback } from "react"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { getAction } from "@appsmith/selectors/entitiesSelector"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { AppState } from "ee/reducers"; +import { getAction } from "ee/selectors/entitiesSelector"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { navigateToEntity } from "actions/editorActions"; import { DebuggerEntityLink, type EntityLinkProps } from "./DebuggerEntityLink"; diff --git a/app/client/src/components/editorComponents/Debugger/ContextualMenu.tsx b/app/client/src/components/editorComponents/Debugger/ContextualMenu.tsx index 0973db9c1e89..d4f30bbc26bb 100644 --- a/app/client/src/components/editorComponents/Debugger/ContextualMenu.tsx +++ b/app/client/src/components/editorComponents/Debugger/ContextualMenu.tsx @@ -4,22 +4,22 @@ import type { Dispatch } from "redux"; import { useDispatch } from "react-redux"; import type { Message, SourceEntity } from "entities/AppsmithConsole"; import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getAppsmithConfigs } from "ee/configs"; import { createMessage, DEBUGGER_APPSMITH_SUPPORT, DEBUGGER_INTERCOM_TEXT, DEBUGGER_OPEN_DOCUMENTATION, TROUBLESHOOT_ISSUE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Menu, MenuContent, MenuItem, MenuTrigger, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; import type { FieldEntityInformation } from "../CodeEditor/EditorConfig"; import { DocsLink, openDoc } from "../../../constants/DocumentationLinks"; diff --git a/app/client/src/components/editorComponents/Debugger/DataSourceLink.tsx b/app/client/src/components/editorComponents/Debugger/DataSourceLink.tsx index fb11a12885ff..0b4b663fdcf7 100644 --- a/app/client/src/components/editorComponents/Debugger/DataSourceLink.tsx +++ b/app/client/src/components/editorComponents/Debugger/DataSourceLink.tsx @@ -1,13 +1,13 @@ import React from "react"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DebuggerEntityLink, type EntityLinkProps } from "./DebuggerEntityLink"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getCurrentBasePageId } from "selectors/editorSelectors"; -import { getDatasource } from "@appsmith/selectors/entitiesSelector"; +import { getDatasource } from "ee/selectors/entitiesSelector"; import history from "utils/history"; import { getQueryParams } from "utils/URLUtils"; -import { datasourcesEditorIdURL } from "@appsmith/RouteBuilder"; +import { datasourcesEditorIdURL } from "ee/RouteBuilder"; export default function DatasourceLink(props: EntityLinkProps) { const datasource = useSelector((state: AppState) => diff --git a/app/client/src/components/editorComponents/Debugger/DebugCTA.tsx b/app/client/src/components/editorComponents/Debugger/DebugCTA.tsx index 6018efdeea30..9aafa87a247f 100644 --- a/app/client/src/components/editorComponents/Debugger/DebugCTA.tsx +++ b/app/client/src/components/editorComponents/Debugger/DebugCTA.tsx @@ -2,14 +2,14 @@ import React from "react"; import styled from "styled-components"; import { setDebuggerSelectedTab, showDebugger } from "actions/debuggerActions"; import { useDispatch, useSelector } from "react-redux"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getTypographyByKey } from "design-system-old"; +import { getAppMode } from "ee/selectors/applicationSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getTypographyByKey } from "@appsmith/ads-old"; import type { Message } from "entities/AppsmithConsole"; import ContextualMenu from "./ContextualMenu"; import { DEBUGGER_TAB_KEYS } from "./helpers"; import type { FieldEntityInformation } from "../CodeEditor/EditorConfig"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; const EVDebugButton = styled(Button)` ${getTypographyByKey("btnSmall")}; diff --git a/app/client/src/components/editorComponents/Debugger/DebuggerEntityLink.tsx b/app/client/src/components/editorComponents/Debugger/DebuggerEntityLink.tsx index 2e99ba52b4f0..222f549ee5c1 100644 --- a/app/client/src/components/editorComponents/Debugger/DebuggerEntityLink.tsx +++ b/app/client/src/components/editorComponents/Debugger/DebuggerEntityLink.tsx @@ -2,8 +2,8 @@ import type { Message, SourceEntity } from "entities/AppsmithConsole"; import React, { useCallback } from "react"; import type LOG_TYPE from "entities/AppsmithConsole/logtype"; import type { Plugin } from "api/PluginApi"; -import { Link } from "design-system"; -import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { Link } from "@appsmith/ads"; +import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; export enum DebuggerLinkUI { ENTITY_TYPE, diff --git a/app/client/src/components/editorComponents/Debugger/DebuggerLogs.tsx b/app/client/src/components/editorComponents/Debugger/DebuggerLogs.tsx index e18a565cd7e4..94951acc2a77 100644 --- a/app/client/src/components/editorComponents/Debugger/DebuggerLogs.tsx +++ b/app/client/src/components/editorComponents/Debugger/DebuggerLogs.tsx @@ -14,14 +14,14 @@ import { LOGS_FILTER_OPTION_ERROR, LOGS_FILTER_OPTION_SYSTEM, NO_LOGS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentUser } from "selectors/usersSelectors"; import bootIntercom from "utils/bootIntercom"; import type { Theme } from "constants/DefaultTheme"; import { thinScrollbar } from "constants/DefaultTheme"; import type { IconName } from "@blueprintjs/core"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getDebuggerSelectedFilter } from "selectors/debuggerSelectors"; import { setDebuggerSelectedFilter } from "actions/debuggerActions"; diff --git a/app/client/src/components/editorComponents/Debugger/DebuggerMessage.tsx b/app/client/src/components/editorComponents/Debugger/DebuggerMessage.tsx index ed3480901da1..698542a2ca04 100644 --- a/app/client/src/components/editorComponents/Debugger/DebuggerMessage.tsx +++ b/app/client/src/components/editorComponents/Debugger/DebuggerMessage.tsx @@ -1,4 +1,4 @@ -import { CLICK_ON, createMessage } from "@appsmith/constants/messages"; +import { CLICK_ON, createMessage } from "ee/constants/messages"; import React from "react"; import styled from "styled-components"; import { DebugButton } from "./DebugCTA"; diff --git a/app/client/src/components/editorComponents/Debugger/DebuggerTabs.tsx b/app/client/src/components/editorComponents/Debugger/DebuggerTabs.tsx index 38ebc0a2c0a5..893c0d195bbf 100644 --- a/app/client/src/components/editorComponents/Debugger/DebuggerTabs.tsx +++ b/app/client/src/components/editorComponents/Debugger/DebuggerTabs.tsx @@ -11,7 +11,7 @@ import { getErrorCount, getResponsePaneHeight, } from "selectors/debuggerSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import Errors from "./Errors"; import EntityDeps from "./EntityDependecies"; import { @@ -19,7 +19,7 @@ import { DEBUGGER_ERRORS, DEBUGGER_LOGS, INSPECT_ENTITY, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { DEBUGGER_TAB_KEYS } from "./helpers"; import EntityBottomTabs from "../EntityBottomTabs"; import { ActionExecutionResizerHeight } from "pages/Editor/APIEditor/constants"; diff --git a/app/client/src/components/editorComponents/Debugger/EntityDependecies.tsx b/app/client/src/components/editorComponents/Debugger/EntityDependecies.tsx index 1ca08d53aa3c..bbe3e43bbe95 100644 --- a/app/client/src/components/editorComponents/Debugger/EntityDependecies.tsx +++ b/app/client/src/components/editorComponents/Debugger/EntityDependecies.tsx @@ -1,9 +1,9 @@ /* eslint-disable prefer-const */ import React, { useMemo } from "react"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import styled from "styled-components"; -import { Classes, getTypographyByKey, Text, TextType } from "design-system-old"; +import { Classes, getTypographyByKey, Text, TextType } from "@appsmith/ads-old"; import InspectElement from "assets/images/InspectElement.svg"; import { createMessage, @@ -12,15 +12,15 @@ import { NO_INCOMING_ENTITIES, NO_OUTGOING_ENTITIES, OUTGOING_ENTITIES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getDependenciesFromInverseDependencies } from "./helpers"; import { useSelectedEntity, useEntityLink } from "./hooks/debuggerHooks"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { thinScrollbar } from "constants/DefaultTheme"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { useGetEntityInfo } from "./hooks/useGetEntityInfo"; -import { Button, Icon, Tooltip } from "design-system"; -import { importSvg } from "design-system-old"; +import { Button, Icon, Tooltip } from "@appsmith/ads"; +import { importSvg } from "@appsmith/ads-old"; const LongArrowSVG = importSvg( async () => import("assets/images/long-arrow-right.svg"), diff --git a/app/client/src/components/editorComponents/Debugger/EntityLink.tsx b/app/client/src/components/editorComponents/Debugger/EntityLink.tsx index cee347d11450..4add71ad8ac0 100644 --- a/app/client/src/components/editorComponents/Debugger/EntityLink.tsx +++ b/app/client/src/components/editorComponents/Debugger/EntityLink.tsx @@ -1,4 +1,4 @@ -import { entityTypeLinkMap } from "@appsmith/components/editorComponents/Debugger/entityTypeLinkMap"; +import { entityTypeLinkMap } from "ee/components/editorComponents/Debugger/entityTypeLinkMap"; import React from "react"; import type { EntityLinkProps } from "./DebuggerEntityLink"; diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLog.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLog.tsx index a701e414a14d..3a0b8764fb4b 100644 --- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLog.tsx +++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLog.tsx @@ -4,7 +4,7 @@ import _debounce from "lodash/debounce"; import styled from "styled-components"; import ErrorLogItem, { getLogItemProps } from "./ErrorLogItem"; import { BlankState } from "../helpers"; -import { createMessage, NO_ERRORS } from "@appsmith/constants/messages"; +import { createMessage, NO_ERRORS } from "ee/constants/messages"; import { thinScrollbar } from "constants/DefaultTheme"; import type { Log } from "entities/AppsmithConsole"; import { setResponsePaneScrollPosition } from "actions/debuggerActions"; diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLogItem.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLogItem.tsx index cf42701e3921..0dabf9c8ff6b 100644 --- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLogItem.tsx +++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/ErrorLogItem.tsx @@ -3,7 +3,7 @@ import { useDispatch } from "react-redux"; import type { Log, Message, SourceEntity } from "entities/AppsmithConsole"; import { LOG_CATEGORY, Severity } from "entities/AppsmithConsole"; import styled from "styled-components"; -import { Classes, getTypographyByKey } from "design-system-old"; +import { Classes, getTypographyByKey } from "@appsmith/ads-old"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import type { PluginErrorDetails } from "api/ActionAPI"; import LogCollapseData from "./components/LogCollapseData"; @@ -11,11 +11,11 @@ import LogAdditionalInfo from "./components/LogAdditionalInfo"; import LogEntityLink from "./components/LogEntityLink"; import LogTimeStamp from "./components/LogTimeStamp"; import { getLogIcon } from "../helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import moment from "moment"; import LogHelper from "./components/LogHelper"; import { toggleExpandErrorLogItem } from "actions/debuggerActions"; -import { Button, Icon } from "design-system"; +import { Button, Icon } from "@appsmith/ads"; const InnerWrapper = styled.div` display: flex; diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogAdditionalInfo.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogAdditionalInfo.tsx index ba0459e106ea..7d334e5f1465 100644 --- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogAdditionalInfo.tsx +++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogAdditionalInfo.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; export const Wrapper = styled.div` ${getTypographyByKey("h6")} diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogCollapseData.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogCollapseData.tsx index e9ed171238d7..f8a064051d9d 100644 --- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogCollapseData.tsx +++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogCollapseData.tsx @@ -3,7 +3,7 @@ import React from "react"; import { Collapse } from "@blueprintjs/core"; import styled from "styled-components"; import { LOG_CATEGORY } from "entities/AppsmithConsole"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import ReactJson from "react-json-view"; import { Colors } from "constants/Colors"; import LogAdditionalInfo from "./LogAdditionalInfo"; diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx index 74d17d06307f..db14b22c49c9 100644 --- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx +++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogEntityLink.tsx @@ -4,10 +4,10 @@ import { useSelector } from "react-redux"; import { keyBy } from "lodash"; import type { LogItemProps } from "../ErrorLogItem"; import { Colors } from "constants/Colors"; -import { getPlugins } from "@appsmith/selectors/entitiesSelector"; +import { getPlugins } from "ee/selectors/entitiesSelector"; import EntityLink from "../../EntityLink"; import { DebuggerLinkUI } from "components/editorComponents/Debugger/DebuggerEntityLink"; -import { getIconForEntity } from "@appsmith/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity"; +import { getIconForEntity } from "ee/components/editorComponents/Debugger/ErrorLogs/getLogIconForEntity"; import { getPluginImagesFromPlugins } from "pages/Editor/utils"; const EntityLinkWrapper = styled.div` diff --git a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogHelper.tsx b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogHelper.tsx index 471213228b02..2d62643e8048 100644 --- a/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogHelper.tsx +++ b/app/client/src/components/editorComponents/Debugger/ErrorLogs/components/LogHelper.tsx @@ -1,10 +1,10 @@ import type { PluginErrorDetails } from "api/ActionAPI"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import type { SourceEntity } from "entities/AppsmithConsole"; import type LOG_TYPE from "entities/AppsmithConsole/logtype"; import React from "react"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import ContextualMenu from "../../ContextualMenu"; const ContextWrapper = styled.div` diff --git a/app/client/src/components/editorComponents/Debugger/FilterHeader.tsx b/app/client/src/components/editorComponents/Debugger/FilterHeader.tsx index 8d0d78f78358..f3223b983a3a 100644 --- a/app/client/src/components/editorComponents/Debugger/FilterHeader.tsx +++ b/app/client/src/components/editorComponents/Debugger/FilterHeader.tsx @@ -1,11 +1,11 @@ import type { MutableRefObject } from "react"; import React, { useRef } from "react"; -import type { DropdownOption } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; import styled from "styled-components"; import { useDispatch } from "react-redux"; import { clearLogs } from "actions/debuggerActions"; -import { CLEAR_LOG_TOOLTIP, createMessage } from "@appsmith/constants/messages"; +import { CLEAR_LOG_TOOLTIP, createMessage } from "ee/constants/messages"; import { Button, Icon, @@ -14,7 +14,7 @@ import { Select, Tooltip, Text, -} from "design-system"; +} from "@appsmith/ads"; const Wrapper = styled.div` flex-direction: row; diff --git a/app/client/src/components/editorComponents/Debugger/JSCollectionLink.tsx b/app/client/src/components/editorComponents/Debugger/JSCollectionLink.tsx index b7f4d1db448a..0ab0c5e8ab8c 100644 --- a/app/client/src/components/editorComponents/Debugger/JSCollectionLink.tsx +++ b/app/client/src/components/editorComponents/Debugger/JSCollectionLink.tsx @@ -2,8 +2,8 @@ import React, { useDispatch } from "react-redux"; import { DebuggerEntityLink, type EntityLinkProps } from "./DebuggerEntityLink"; import { useCallback } from "react"; import { navigateToEntity } from "actions/editorActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; export default function JSCollectionLink(props: EntityLinkProps) { const dispatch = useDispatch(); diff --git a/app/client/src/components/editorComponents/Debugger/LogItem.tsx b/app/client/src/components/editorComponents/Debugger/LogItem.tsx index ea46fd57bb63..90d76e7a955a 100644 --- a/app/client/src/components/editorComponents/Debugger/LogItem.tsx +++ b/app/client/src/components/editorComponents/Debugger/LogItem.tsx @@ -8,9 +8,9 @@ import ReactJson from "react-json-view"; import styled from "styled-components"; import EntityLink from "./EntityLink"; import { getLogIcon } from "./helpers"; -import { Classes, getTypographyByKey } from "design-system-old"; +import { Classes, getTypographyByKey } from "@appsmith/ads-old"; import ContextualMenu from "./ContextualMenu"; -import { Button, Icon } from "design-system"; +import { Button, Icon } from "@appsmith/ads"; import moment from "moment"; import classNames from "classnames"; import { DebuggerLinkUI } from "components/editorComponents/Debugger/DebuggerEntityLink"; diff --git a/app/client/src/components/editorComponents/Debugger/Schema.tsx b/app/client/src/components/editorComponents/Debugger/Schema.tsx index 47bee7d877d0..da77feca8114 100644 --- a/app/client/src/components/editorComponents/Debugger/Schema.tsx +++ b/app/client/src/components/editorComponents/Debugger/Schema.tsx @@ -1,4 +1,4 @@ -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import React, { useEffect, useState } from "react"; import type { DatasourceColumns, DatasourceKeys } from "entities/Datasource"; import { DatasourceStructureContext } from "entities/Datasource"; @@ -7,10 +7,10 @@ import { useSelector } from "react-redux"; import { getDatasourceStructureById, getIsFetchingDatasourceStructure, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import DatasourceField from "pages/Editor/DatasourceInfo/DatasourceField"; import { find } from "lodash"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import RenderInterimDataState from "pages/Editor/DatasourceInfo/RenderInterimDataState"; import { getQueryPaneDebuggerState } from "selectors/queryPaneSelectors"; diff --git a/app/client/src/components/editorComponents/Debugger/WidgetLink.tsx b/app/client/src/components/editorComponents/Debugger/WidgetLink.tsx index 696c2faa0d98..1c97bb6957db 100644 --- a/app/client/src/components/editorComponents/Debugger/WidgetLink.tsx +++ b/app/client/src/components/editorComponents/Debugger/WidgetLink.tsx @@ -1,7 +1,7 @@ -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import React, { useCallback } from "react"; import { useDispatch } from "react-redux"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { navigateToEntity } from "actions/editorActions"; import { DebuggerEntityLink, type EntityLinkProps } from "./DebuggerEntityLink"; diff --git a/app/client/src/components/editorComponents/Debugger/helpers.tsx b/app/client/src/components/editorComponents/Debugger/helpers.tsx index 1a271eb35de9..b22571c99205 100644 --- a/app/client/src/components/editorComponents/Debugger/helpers.tsx +++ b/app/client/src/components/editorComponents/Debugger/helpers.tsx @@ -2,12 +2,8 @@ import type { Log } from "entities/AppsmithConsole"; import { LOG_CATEGORY, Severity } from "entities/AppsmithConsole"; import React from "react"; import styled from "styled-components"; -import { getTypographyByKey } from "design-system-old"; -import { - createMessage, - OPEN_THE_DEBUGGER, - PRESS, -} from "@appsmith/constants/messages"; +import { getTypographyByKey } from "@appsmith/ads-old"; +import { createMessage, OPEN_THE_DEBUGGER, PRESS } from "ee/constants/messages"; import type { DependencyMap } from "utils/DynamicBindingUtils"; import { isChildPropertyPath } from "utils/DynamicBindingUtils"; import { @@ -15,7 +11,7 @@ import { matchApiPath, matchQueryPath, } from "constants/routes"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { modText } from "utils/helpers"; import { union } from "lodash"; diff --git a/app/client/src/components/editorComponents/Debugger/hooks/debuggerHooks.ts b/app/client/src/components/editorComponents/Debugger/hooks/debuggerHooks.ts index ee5951e6ce99..02851e67e1fe 100644 --- a/app/client/src/components/editorComponents/Debugger/hooks/debuggerHooks.ts +++ b/app/client/src/components/editorComponents/Debugger/hooks/debuggerHooks.ts @@ -2,8 +2,8 @@ import { useCallback, useEffect, useState } from "react"; import { useSelector } from "react-redux"; import { useParams } from "react-router"; import type { Log } from "entities/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; -import type { AppState } from "@appsmith/reducers"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; +import type { AppState } from "ee/reducers"; import { getWidget } from "sagas/selectors"; import { getCurrentApplicationId, @@ -13,7 +13,7 @@ import { getAction, getActionByBaseId, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { onApiEditor, onCanvas, onQueryEditor } from "../helpers"; import { getLastSelectedWidget } from "selectors/ui"; import { getConfigTree, getDataTree } from "selectors/dataTreeSelectors"; @@ -23,12 +23,12 @@ import { isAction, isJSAction, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import history, { NavigationMethod } from "utils/history"; -import { jsCollectionIdURL } from "@appsmith/RouteBuilder"; +import { jsCollectionIdURL } from "ee/RouteBuilder"; import store from "store"; import { PluginType } from "entities/Action"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/components/editorComponents/Debugger/hooks/useDebuggerTriggerClick.ts b/app/client/src/components/editorComponents/Debugger/hooks/useDebuggerTriggerClick.ts index 57fbeb9eab53..93862e1e8391 100644 --- a/app/client/src/components/editorComponents/Debugger/hooks/useDebuggerTriggerClick.ts +++ b/app/client/src/components/editorComponents/Debugger/hooks/useDebuggerTriggerClick.ts @@ -1,7 +1,7 @@ import { useLocation } from "react-router"; import { DEBUGGER_TAB_KEYS } from "../helpers"; import { setCanvasDebuggerState } from "actions/debuggerActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { FocusEntityInfo } from "navigation/FocusEntity"; import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity"; import { setJsPaneDebuggerState } from "actions/jsPaneActions"; @@ -13,10 +13,10 @@ import { getQueryPaneDebuggerState } from "selectors/queryPaneSelectors"; import { getCanvasDebuggerState } from "selectors/debuggerSelectors"; import { getIDEViewMode } from "selectors/ideSelectors"; import { useDispatch, useSelector } from "react-redux"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type { CanvasDebuggerState } from "reducers/uiReducers/debuggerReducer"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; interface Config { set: ( diff --git a/app/client/src/components/editorComponents/Debugger/hooks/useGetEntityInfo.tsx b/app/client/src/components/editorComponents/Debugger/hooks/useGetEntityInfo.tsx index 76f7dcfdb534..3059257ff03a 100644 --- a/app/client/src/components/editorComponents/Debugger/hooks/useGetEntityInfo.tsx +++ b/app/client/src/components/editorComponents/Debugger/hooks/useGetEntityInfo.tsx @@ -1,22 +1,22 @@ import { isStoredDatasource } from "entities/Action"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { keyBy } from "lodash"; import equal from "fast-deep-equal/es6"; import { getPluginIcon, jsIcon } from "pages/Editor/Explorer/ExplorerIcons"; import { useMemo, useCallback } from "react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getFilteredErrors } from "selectors/debuggerSelectors"; -import { getAction, getDatasource } from "@appsmith/selectors/entitiesSelector"; +import { getAction, getDatasource } from "ee/selectors/entitiesSelector"; import { useSelector } from "react-redux"; import { isAction, isJSAction, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { doesEntityHaveErrors } from "../helpers"; import React from "react"; import WidgetIcon from "pages/Editor/Explorer/Widgets/WidgetIcon"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; export const useGetEntityInfo = (name: string) => { const entity = useSelector((state: AppState) => state.evaluations.tree[name]); diff --git a/app/client/src/components/editorComponents/Debugger/index.tsx b/app/client/src/components/editorComponents/Debugger/index.tsx index 2cf4fa833c83..036a3d4a4ec2 100644 --- a/app/client/src/components/editorComponents/Debugger/index.tsx +++ b/app/client/src/components/editorComponents/Debugger/index.tsx @@ -3,7 +3,7 @@ import { useDispatch, useSelector } from "react-redux"; import DebuggerTabs from "./DebuggerTabs"; import { setErrorCount } from "actions/debuggerActions"; import { getMessageCount, showDebuggerFlag } from "selectors/debuggerSelectors"; -import { Button, Tooltip } from "design-system"; +import { Button, Tooltip } from "@appsmith/ads"; import useDebuggerTriggerClick from "./hooks/useDebuggerTriggerClick"; function Debugger() { diff --git a/app/client/src/components/editorComponents/EditableText.tsx b/app/client/src/components/editorComponents/EditableText.tsx index 9b39d3ed4c0f..7d60d9c39684 100644 --- a/app/client/src/components/editorComponents/EditableText.tsx +++ b/app/client/src/components/editorComponents/EditableText.tsx @@ -6,11 +6,8 @@ import { } from "@blueprintjs/core"; import styled from "styled-components"; import _ from "lodash"; -import { Button, Spinner, toast, Tooltip } from "design-system"; -import { - INVALID_NAME_ERROR, - createMessage, -} from "@appsmith/constants/messages"; +import { Button, Spinner, toast, Tooltip } from "@appsmith/ads"; +import { INVALID_NAME_ERROR, createMessage } from "ee/constants/messages"; export enum EditInteractionKind { SINGLE, diff --git a/app/client/src/components/editorComponents/EntityBottomTabs.tsx b/app/client/src/components/editorComponents/EntityBottomTabs.tsx index e31b3b802f33..df4a388112cd 100644 --- a/app/client/src/components/editorComponents/EntityBottomTabs.tsx +++ b/app/client/src/components/editorComponents/EntityBottomTabs.tsx @@ -1,8 +1,8 @@ import React from "react"; -import type { CollapsibleTabProps } from "design-system-old"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { CollapsibleTabProps } from "@appsmith/ads-old"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DEBUGGER_TAB_KEYS } from "./Debugger/helpers"; -import { Tab, TabPanel, Tabs, TabsList } from "design-system"; +import { Tab, TabPanel, Tabs, TabsList } from "@appsmith/ads"; import styled from "styled-components"; import { LIST_HEADER_HEIGHT, FOOTER_MARGIN } from "./Debugger/DebuggerLogs"; diff --git a/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx b/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx index b36633c695d7..915651e99c93 100644 --- a/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx +++ b/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx @@ -19,13 +19,13 @@ import { getExplorerWidth, } from "selectors/explorerSelector"; import { tailwindLayers } from "constants/Layers"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; import useHorizontalResize from "utils/hooks/useHorizontalResize"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { SIDEBAR_ID } from "constants/Explorer"; import styled from "styled-components"; import moment from "moment"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const StyledResizer = styled.div<{ resizing: boolean }>` ${(props) => diff --git a/app/client/src/components/editorComponents/EntityNameComponent.tsx b/app/client/src/components/editorComponents/EntityNameComponent.tsx index 33d843f8a044..2b3a1ce74e01 100644 --- a/app/client/src/components/editorComponents/EntityNameComponent.tsx +++ b/app/client/src/components/editorComponents/EntityNameComponent.tsx @@ -8,7 +8,7 @@ import { VALID_FUNCTION_NAME_ERROR, UNIQUE_NAME_ERROR, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const InputContainer = styled.div<{ focused: boolean; isValid: boolean }>` align-items: center; diff --git a/app/client/src/components/editorComponents/GlobalSearch/ActionLink.tsx b/app/client/src/components/editorComponents/GlobalSearch/ActionLink.tsx index 24b46bdb6ab3..0cbcbf4fd93a 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/ActionLink.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/ActionLink.tsx @@ -3,7 +3,7 @@ import { useContext } from "react"; import styled from "styled-components"; import SearchContext from "./GlobalSearchContext"; import type { SearchItem } from "./utils"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; export const StyledActionLink = styled.span<{ isActiveItem?: boolean }>` visibility: ${(props) => (props.isActiveItem ? "visible" : "hidden")}; diff --git a/app/client/src/components/editorComponents/GlobalSearch/Description.tsx b/app/client/src/components/editorComponents/GlobalSearch/Description.tsx index 1945b3976bc4..6b53d9f7e1b4 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/Description.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/Description.tsx @@ -3,7 +3,7 @@ import styled from "styled-components"; import ActionLink from "./ActionLink"; import Highlight from "./Highlight"; import { getItemTitle, SEARCH_ITEM_TYPES } from "./utils"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import type { SearchItem } from "./utils"; interface Props { diff --git a/app/client/src/components/editorComponents/GlobalSearch/GlobalSearchHooks.tsx b/app/client/src/components/editorComponents/GlobalSearch/GlobalSearchHooks.tsx index ff30d4aa3c3d..883bc58b866d 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/GlobalSearchHooks.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/GlobalSearchHooks.tsx @@ -1,7 +1,7 @@ import { INTEGRATION_TABS } from "constants/routes"; import type { Datasource } from "entities/Datasource"; import { keyBy } from "lodash"; -import { useAppWideAndOtherDatasource } from "@appsmith/pages/Editor/Explorer/hooks"; +import { useAppWideAndOtherDatasource } from "ee/pages/Editor/Explorer/hooks"; import { useMemo } from "react"; import { getPageList } from "selectors/editorSelectors"; import { @@ -10,9 +10,9 @@ import { getJSCollections, getPlugins, getRecentDatasourceIds, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { useSelector } from "react-redux"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import history from "utils/history"; import type { ActionOperation } from "./utils"; import { @@ -25,20 +25,20 @@ import { SEARCH_ITEM_TYPES, } from "./utils"; import { PluginType } from "entities/Action"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; -import type { AppState } from "@appsmith/reducers"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { integrationEditorURL } from "ee/RouteBuilder"; +import type { AppState } from "ee/reducers"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasCreateDatasourceActionPermission, getHasCreateDatasourcePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import type { Plugin } from "api/PluginApi"; -import { useModuleOptions } from "@appsmith/utils/moduleInstanceHelpers"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; -import { createNewQueryBasedOnParentEntity } from "@appsmith/actions/helpers"; -import { useWorkflowOptions } from "@appsmith/utils/workflowHelpers"; +import { useModuleOptions } from "ee/utils/moduleInstanceHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; +import { createNewQueryBasedOnParentEntity } from "ee/actions/helpers"; +import { useWorkflowOptions } from "ee/utils/workflowHelpers"; export interface FilterFileOperationsProps { canCreateActions: boolean; diff --git a/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx b/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx index 4afa5979f21d..e05c5bdb78d4 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/HelpBar.tsx @@ -1,15 +1,15 @@ import React from "react"; import styled from "styled-components"; import { connect, useSelector } from "react-redux"; -import { getTypographyByKey, Text, TextType } from "design-system-old"; -import { Icon } from "design-system"; +import { getTypographyByKey, Text, TextType } from "@appsmith/ads-old"; +import { Icon } from "@appsmith/ads"; import { setGlobalSearchCategory } from "actions/globalSearchActions"; -import { HELPBAR_PLACEHOLDER } from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { HELPBAR_PLACEHOLDER } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { modText } from "utils/helpers"; import { filterCategories, SEARCH_CATEGORY_ID } from "./utils"; import { protectedModeSelector } from "selectors/gitSyncSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getIsSideBySideEnabled } from "selectors/ideSelectors"; const StyledHelpBar = styled.button<{ isSideBySideFlagEnabled?: boolean }>` diff --git a/app/client/src/components/editorComponents/GlobalSearch/Highlight.tsx b/app/client/src/components/editorComponents/GlobalSearch/Highlight.tsx index 12afbe11255a..3848ef0e0ae7 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/Highlight.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/Highlight.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; function Highlight({ className, diff --git a/app/client/src/components/editorComponents/GlobalSearch/ResultsNotFound.tsx b/app/client/src/components/editorComponents/GlobalSearch/ResultsNotFound.tsx index 08916c0777f1..d5cc9033b659 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/ResultsNotFound.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/ResultsNotFound.tsx @@ -1,11 +1,11 @@ import React from "react"; import styled from "styled-components"; import NoSearchDataImage from "assets/images/no_search_data.png"; -import { NO_SEARCH_DATA_TEXT } from "@appsmith/constants/messages"; -import { getTypographyByKey } from "design-system-old"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; -import { importSvg } from "design-system-old"; +import { NO_SEARCH_DATA_TEXT } from "ee/constants/messages"; +import { getTypographyByKey } from "@appsmith/ads-old"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { isAirgapped } from "ee/utils/airgapHelpers"; +import { importSvg } from "@appsmith/ads-old"; import { DISCORD_URL } from "constants/ThirdPartyConstants"; const DiscordIcon = importSvg( diff --git a/app/client/src/components/editorComponents/GlobalSearch/SearchBox.tsx b/app/client/src/components/editorComponents/GlobalSearch/SearchBox.tsx index 7b52d8fe0a69..eb43225e1a41 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/SearchBox.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/SearchBox.tsx @@ -1,16 +1,16 @@ import React, { useCallback, useEffect, useState } from "react"; import { useSelector } from "react-redux"; import styled from "styled-components"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createMessage, CREATE_NEW_OMNIBAR_PLACEHOLDER, OMNIBAR_PLACEHOLDER, OMNIBAR_PLACEHOLDER_NAV, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { SearchCategory } from "./utils"; import { isMenu, SEARCH_CATEGORY_ID } from "./utils"; -import { Button, Icon } from "design-system"; +import { Button, Icon } from "@appsmith/ads"; const Container = styled.div` background: var(--ads-v2-color-bg); diff --git a/app/client/src/components/editorComponents/GlobalSearch/SearchModal.tsx b/app/client/src/components/editorComponents/GlobalSearch/SearchModal.tsx index a35460828f5e..56d5ece0134f 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/SearchModal.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/SearchModal.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { ModalBody, ModalContent, Modal } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { ModalBody, ModalContent, Modal } from "@appsmith/ads"; const StyledDocsSearchModal = styled(ModalContent)` text-rendering: auto; diff --git a/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx b/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx index b561276cf51e..e03d30d1200a 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/SearchResults.tsx @@ -2,7 +2,7 @@ import React, { useEffect, useRef, useContext, useMemo } from "react"; import { useSelector } from "react-redux"; import type { Hit as IHit } from "react-instantsearch-core"; import styled, { css } from "styled-components"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import Highlight from "./Highlight"; import ActionLink, { StyledActionLink } from "./ActionLink"; import scrollIntoView from "scroll-into-view-if-needed"; @@ -22,12 +22,12 @@ import { JsFileIconV2, } from "pages/Editor/Explorer/ExplorerIcons"; import { getActionConfig } from "pages/Editor/Explorer/Actions/helpers"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { keyBy, noop } from "lodash"; import { getPageList } from "selectors/editorSelectors"; import { PluginType } from "entities/Action"; import WidgetIcon from "pages/Editor/Explorer/Widgets/WidgetIcon"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; const overflowCSS = css` overflow: hidden; diff --git a/app/client/src/components/editorComponents/GlobalSearch/index.tsx b/app/client/src/components/editorComponents/GlobalSearch/index.tsx index 37cd205acc72..9e636b6d3205 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/index.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/index.tsx @@ -9,7 +9,7 @@ import { shallowEqual, useDispatch, useSelector } from "react-redux"; import styled, { ThemeProvider } from "styled-components"; import { useParams } from "react-router"; import history, { NavigationMethod } from "utils/history"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import SearchModal from "./SearchModal"; import SearchBox from "./SearchBox"; import SearchResults from "./SearchResults"; @@ -40,9 +40,9 @@ import { SEARCH_ITEM_TYPES, } from "./utils"; import { getActionConfig } from "pages/Editor/Explorer/Actions/helpers"; -import type { ExplorerURLParams } from "@appsmith/pages/Editor/Explorer/helpers"; +import type { ExplorerURLParams } from "ee/pages/Editor/Explorer/helpers"; import { getLastSelectedWidget } from "selectors/ui"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import useRecentEntities from "./useRecentEntities"; import { noop } from "lodash"; import { @@ -62,14 +62,14 @@ import { builderURL, datasourcesEditorIdURL, jsCollectionIdURL, -} from "@appsmith/RouteBuilder"; -import { getPlugins } from "@appsmith/selectors/entitiesSelector"; +} from "ee/RouteBuilder"; +import { getPlugins } from "ee/selectors/entitiesSelector"; import { DatasourceCreateEntryPoints, TEMP_DATASOURCE_ID, } from "constants/Datasource"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import { getBasePageIdToPageIdMap, diff --git a/app/client/src/components/editorComponents/GlobalSearch/useRecentEntities.tsx b/app/client/src/components/editorComponents/GlobalSearch/useRecentEntities.tsx index ecf2c142b1e0..11901679d6ba 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/useRecentEntities.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/useRecentEntities.tsx @@ -1,16 +1,16 @@ import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getPageList } from "selectors/editorSelectors"; import { getActions, getAllWidgetsMap, getJSCollections, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { SEARCH_ITEM_TYPES } from "./utils"; import { get } from "lodash"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import { FocusEntity } from "navigation/FocusEntity"; -import type { DataTreeEntityObject } from "@appsmith/entities/DataTree/types"; +import type { DataTreeEntityObject } from "ee/entities/DataTree/types"; import { useMemo } from "react"; const recentEntitiesSelector = (state: AppState) => diff --git a/app/client/src/components/editorComponents/GlobalSearch/utils.tsx b/app/client/src/components/editorComponents/GlobalSearch/utils.tsx index 13772fe98f5a..5c4f6aa06848 100644 --- a/app/client/src/components/editorComponents/GlobalSearch/utils.tsx +++ b/app/client/src/components/editorComponents/GlobalSearch/utils.tsx @@ -3,14 +3,14 @@ import { ACTION_OPERATION_DESCRIPTION, createMessage, NAV_DESCRIPTION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ValidationTypes } from "constants/WidgetValidation"; import type { Datasource } from "entities/Datasource"; import { PluginPackageName, PluginType } from "entities/Action"; import type { WidgetType } from "constants/WidgetConstants"; import type { EntityTypeValue } from "entities/DataTree/dataTreeFactory"; -import { getPluginByPackageName } from "@appsmith/selectors/entitiesSelector"; -import type { AppState } from "@appsmith/reducers"; +import { getPluginByPackageName } from "ee/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; import WidgetFactory from "WidgetProvider/factory"; import { CurlIconV2, @@ -18,16 +18,16 @@ import { GraphQLIconV2, JsFileIconV2, } from "pages/Editor/Explorer/ExplorerIcons"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import { isMacOrIOS, modText, shiftText } from "utils/helpers"; import { FocusEntity } from "navigation/FocusEntity"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Icon } from "design-system"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Icon } from "@appsmith/ads"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; import { createNewAPIBasedOnParentEntity, createNewJSCollectionBasedOnParentEntity, -} from "@appsmith/actions/helpers"; +} from "ee/actions/helpers"; import { openCurlImportModal } from "pages/Editor/CurlImport/helpers"; export type SelectEvent = diff --git a/app/client/src/components/editorComponents/JSResponseView.test.tsx b/app/client/src/components/editorComponents/JSResponseView.test.tsx index 2bd3d48d66d9..5d5121de9503 100644 --- a/app/client/src/components/editorComponents/JSResponseView.test.tsx +++ b/app/client/src/components/editorComponents/JSResponseView.test.tsx @@ -1,20 +1,20 @@ import React from "react"; import { queryByText, render } from "@testing-library/react"; import JSResponseView from "./JSResponseView"; -import * as actionExecutionUtils from "@appsmith/utils/actionExecutionUtils"; +import * as actionExecutionUtils from "ee/utils/actionExecutionUtils"; import configureStore from "redux-mock-store"; import { Provider } from "react-redux"; import { ThemeProvider } from "styled-components"; import { unitTestBaseMockStore } from "layoutSystems/common/dropTarget/unitTestUtils"; import { lightTheme } from "selectors/themeSelectors"; import { BrowserRouter as Router } from "react-router-dom"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import { EditorViewMode } from "ee/entities/IDE/constants"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import { PluginType } from "entities/Action"; import "@testing-library/jest-dom/extend-expect"; -import { EMPTY_RESPONSE_LAST_HALF } from "@appsmith/constants/messages"; +import { EMPTY_RESPONSE_LAST_HALF } from "ee/constants/messages"; -jest.mock("@appsmith/utils/actionExecutionUtils"); +jest.mock("ee/utils/actionExecutionUtils"); const mockStore = configureStore([]); diff --git a/app/client/src/components/editorComponents/JSResponseView.tsx b/app/client/src/components/editorComponents/JSResponseView.tsx index 2e7ce07c74bc..877e7a7c22b1 100644 --- a/app/client/src/components/editorComponents/JSResponseView.tsx +++ b/app/client/src/components/editorComponents/JSResponseView.tsx @@ -4,7 +4,7 @@ import type { RouteComponentProps } from "react-router"; import { withRouter } from "react-router"; import styled from "styled-components"; import { every, includes } from "lodash"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { JSEditorRouteParams } from "constants/routes"; import { createMessage, @@ -14,14 +14,14 @@ import { EXECUTING_FUNCTION, NO_JS_FUNCTION_RETURN_VALUE, UPDATING_JS_COLLECTION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { EditorTheme } from "./CodeEditor/EditorConfig"; import DebuggerLogs from "./Debugger/DebuggerLogs"; import type { JSAction } from "entities/JSCollection"; import ReadOnlyEditor from "components/editorComponents/ReadOnlyEditor"; -import { Flex, Text } from "design-system"; +import { Flex, Text } from "@appsmith/ads"; import LoadingOverlayScreen from "components/editorComponents/LoadingOverlayScreen"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import type { EvaluationError } from "utils/DynamicBindingUtils"; import { DEBUGGER_TAB_KEYS } from "./Debugger/helpers"; import type { BottomTab } from "./EntityBottomTabs"; @@ -37,14 +37,14 @@ import { import LogHelper from "./Debugger/ErrorLogs/components/LogHelper"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import type { Log, SourceEntity } from "entities/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { getJsPaneDebuggerState } from "selectors/jsPaneSelectors"; import { setJsPaneDebuggerState } from "actions/jsPaneActions"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import ErrorLogs from "./Debugger/Errors"; -import { isBrowserExecutionAllowed } from "@appsmith/utils/actionExecutionUtils"; -import JSRemoteExecutionView from "@appsmith/components/JSRemoteExecutionView"; +import { isBrowserExecutionAllowed } from "ee/utils/actionExecutionUtils"; +import JSRemoteExecutionView from "ee/components/JSRemoteExecutionView"; import { IDEBottomView, ViewHideBehaviour } from "../../IDE"; const ResponseTabWrapper = styled.div` diff --git a/app/client/src/components/editorComponents/LazyCodeEditor/CodeEditorFallback.tsx b/app/client/src/components/editorComponents/LazyCodeEditor/CodeEditorFallback.tsx index a329bfca37b7..0ca7cc2a5f8b 100644 --- a/app/client/src/components/editorComponents/LazyCodeEditor/CodeEditorFallback.tsx +++ b/app/client/src/components/editorComponents/LazyCodeEditor/CodeEditorFallback.tsx @@ -11,7 +11,7 @@ import type { EditorProps, EditorStyleProps, } from "components/editorComponents/CodeEditor"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; import { JS_OBJECT_START_STATEMENT } from "plugins/Linting/constants"; export default function CodeEditorFallback({ diff --git a/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx b/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx index 7beb3edaacc6..f3e182490eb8 100644 --- a/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx +++ b/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx @@ -7,10 +7,10 @@ import type { } from "components/editorComponents/CodeEditor"; import type CodeEditor from "components/editorComponents/CodeEditor"; import CodeEditorFallback from "./CodeEditorFallback"; -import { CODE_EDITOR_LOADING_ERROR } from "@appsmith/constants/messages"; +import { CODE_EDITOR_LOADING_ERROR } from "ee/constants/messages"; import assertNever from "assert-never/index"; import log from "loglevel"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; let CachedCodeEditor: typeof CodeEditor | undefined; diff --git a/app/client/src/components/editorComponents/LightningMenu/LightningMenuTrigger.tsx b/app/client/src/components/editorComponents/LightningMenu/LightningMenuTrigger.tsx index a9b65db4e5d6..d1ac5e2974c7 100644 --- a/app/client/src/components/editorComponents/LightningMenu/LightningMenuTrigger.tsx +++ b/app/client/src/components/editorComponents/LightningMenu/LightningMenuTrigger.tsx @@ -3,11 +3,11 @@ import type { IconProps } from "constants/IconConstants"; import { createMessage, LIGHTNING_MENU_DATA_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Theme } from "constants/DefaultTheme"; import { Skin } from "constants/DefaultTheme"; import styled from "styled-components"; -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; const LightningIconWrapper = styled.span<{ background: string; diff --git a/app/client/src/components/editorComponents/LightningMenu/helpers.tsx b/app/client/src/components/editorComponents/LightningMenu/helpers.tsx index 5c8821b6f0dd..fe5024a3c9ec 100644 --- a/app/client/src/components/editorComponents/LightningMenu/helpers.tsx +++ b/app/client/src/components/editorComponents/LightningMenu/helpers.tsx @@ -19,9 +19,9 @@ import { LIGHTNING_MENU_QUERY_CREATE_NEW, LIGHTNING_MENU_API_CREATE_NEW, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Skin } from "constants/DefaultTheme"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; export const getApiOptions = ( skin: Skin, diff --git a/app/client/src/components/editorComponents/LightningMenu/hooks.ts b/app/client/src/components/editorComponents/LightningMenu/hooks.ts index 65460a869caf..e9998fa011d3 100644 --- a/app/client/src/components/editorComponents/LightningMenu/hooks.ts +++ b/app/client/src/components/editorComponents/LightningMenu/hooks.ts @@ -1,5 +1,5 @@ import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { WidgetProps } from "widgets/BaseWidget"; import type { Action } from "entities/Action"; import { PluginType } from "entities/Action"; diff --git a/app/client/src/components/editorComponents/NavBarItem.tsx b/app/client/src/components/editorComponents/NavBarItem.tsx index 677fc50c35f0..9fef1bba1d8d 100644 --- a/app/client/src/components/editorComponents/NavBarItem.tsx +++ b/app/client/src/components/editorComponents/NavBarItem.tsx @@ -3,7 +3,7 @@ import React from "react"; import styled from "styled-components"; import { NavLink } from "react-router-dom"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { Colors } from "constants/Colors"; interface MenuBarItemProps { diff --git a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/EntityCheckboxSelector.tsx b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/EntityCheckboxSelector.tsx index 5b4baac28c53..f1802cac2722 100644 --- a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/EntityCheckboxSelector.tsx +++ b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/EntityCheckboxSelector.tsx @@ -1,4 +1,4 @@ -import { Checkbox } from "design-system"; +import { Checkbox } from "@appsmith/ads"; import React from "react"; import { CheckBoxGrid, CheckboxWrapper } from "./StyledSheet"; diff --git a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/JSObjectsNQueriesExport.tsx b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/JSObjectsNQueriesExport.tsx index 9d5be484f5fe..7444546c735e 100644 --- a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/JSObjectsNQueriesExport.tsx +++ b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/JSObjectsNQueriesExport.tsx @@ -1,10 +1,10 @@ -import { getPlugins } from "@appsmith/selectors/entitiesSelector"; +import { getPlugins } from "ee/selectors/entitiesSelector"; import { Collapsible, CollapsibleContent, CollapsibleHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; import type { Datasource } from "entities/Datasource"; import { keyBy } from "lodash"; import { getPluginIcon } from "pages/Editor/Explorer/ExplorerIcons"; diff --git a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/PartialExportModal.test.tsx b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/PartialExportModal.test.tsx index 6543ae02c61f..ee6c42159d82 100644 --- a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/PartialExportModal.test.tsx +++ b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/PartialExportModal.test.tsx @@ -7,11 +7,8 @@ import { ThemeProvider } from "styled-components"; import configureStore from "redux-mock-store"; import { Provider } from "react-redux"; import { defaultAppState } from "./unitTestUtils"; -import { - PARTIAL_IMPORT_EXPORT, - createMessage, -} from "@appsmith/constants/messages"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { PARTIAL_IMPORT_EXPORT, createMessage } from "ee/constants/messages"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; interface TestEntityResetProps { entityTitle: string; diff --git a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/WidgetsExport.tsx b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/WidgetsExport.tsx index fb8a48bf9bc6..bd89159badb8 100644 --- a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/WidgetsExport.tsx +++ b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/WidgetsExport.tsx @@ -1,4 +1,4 @@ -import { Checkbox, Text } from "design-system"; +import { Checkbox, Text } from "@appsmith/ads"; import WidgetIcon from "pages/Editor/Explorer/Widgets/WidgetIcon"; import React from "react"; import type { CanvasStructure } from "reducers/uiReducers/pageCanvasStructureReducer"; diff --git a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/index.tsx b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/index.tsx index 086155b8df11..3883995f9c8f 100644 --- a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/index.tsx +++ b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/index.tsx @@ -1,14 +1,11 @@ -import { - PARTIAL_IMPORT_EXPORT, - createMessage, -} from "@appsmith/constants/messages"; -import { getPartialImportExportLoadingState } from "@appsmith/selectors/applicationSelectors"; +import { PARTIAL_IMPORT_EXPORT, createMessage } from "ee/constants/messages"; +import { getPartialImportExportLoadingState } from "ee/selectors/applicationSelectors"; // eslint-disable-next-line @typescript-eslint/no-restricted-imports import { selectFilesForExplorer } from "ce/selectors/entitiesSelector"; import { selectLibrariesForExplorer, selectWidgetsForCurrentPage, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { openPartialExportModal, partialExportWidgets, @@ -24,10 +21,10 @@ import { ModalFooter, ModalHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; import { ControlIcons } from "icons/ControlIcons"; import { MenuIcons } from "icons/MenuIcons"; -import { useAppWideAndOtherDatasource } from "@appsmith/pages/Editor/Explorer/hooks"; +import { useAppWideAndOtherDatasource } from "ee/pages/Editor/Explorer/hooks"; import React, { useEffect, useMemo, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import type { CanvasStructure } from "reducers/uiReducers/pageCanvasStructureReducer"; diff --git a/app/client/src/components/editorComponents/PartialImportExport/PartialImportModal/index.tsx b/app/client/src/components/editorComponents/PartialImportExport/PartialImportModal/index.tsx index 5f3493e46fae..526eeff28572 100644 --- a/app/client/src/components/editorComponents/PartialImportExport/PartialImportModal/index.tsx +++ b/app/client/src/components/editorComponents/PartialImportExport/PartialImportModal/index.tsx @@ -1,7 +1,7 @@ import { importPartialApplication, openPartialImportModal, -} from "@appsmith/actions/applicationActions"; +} from "ee/actions/applicationActions"; import { IMPORT_APP_FROM_FILE_MESSAGE, IMPORT_APP_FROM_FILE_TITLE, @@ -9,14 +9,14 @@ import { UPLOADING_APPLICATION, UPLOADING_JSON, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getIsImportingPartialApplication, getPartialImportExportLoadingState, -} from "@appsmith/selectors/applicationSelectors"; -import { Icon, Modal, ModalContent, ModalHeader, Text } from "design-system"; -import type { SetProgress } from "design-system-old"; -import { FilePickerV2, FileType } from "design-system-old"; +} from "ee/selectors/applicationSelectors"; +import { Icon, Modal, ModalContent, ModalHeader, Text } from "@appsmith/ads"; +import type { SetProgress } from "@appsmith/ads-old"; +import { FilePickerV2, FileType } from "@appsmith/ads-old"; import Statusbar from "pages/Editor/gitSync/components/Statusbar"; import React, { useCallback, useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; diff --git a/app/client/src/components/editorComponents/ProductAlertBanner.tsx b/app/client/src/components/editorComponents/ProductAlertBanner.tsx index d643602a97d7..2ccfff8a7d30 100644 --- a/app/client/src/components/editorComponents/ProductAlertBanner.tsx +++ b/app/client/src/components/editorComponents/ProductAlertBanner.tsx @@ -1,19 +1,15 @@ import React, { useCallback, useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import styled from "styled-components"; -import { Callout, Text } from "design-system"; +import { Callout, Text } from "@appsmith/ads"; import type { ProductAlertConfig, ProductAlertState, } from "reducers/uiReducers/usersReducer"; -import { setMessageConfig } from "@appsmith/sagas/userSagas"; -import type { CalloutLinkProps } from "design-system"; +import { setMessageConfig } from "ee/sagas/userSagas"; +import type { CalloutLinkProps } from "@appsmith/ads"; import moment from "moment/moment"; -import { - createMessage, - I_UNDERSTAND, - LEARN_MORE, -} from "@appsmith/constants/messages"; +import { createMessage, I_UNDERSTAND, LEARN_MORE } from "ee/constants/messages"; import { getIsFirstTimeUserOnboardingEnabled } from "selectors/onboardingSelectors"; import { updateProductAlertConfig } from "actions/userActions"; import { getIsUserLoggedIn } from "selectors/usersSelectors"; diff --git a/app/client/src/components/editorComponents/RadioButtonGroup.tsx b/app/client/src/components/editorComponents/RadioButtonGroup.tsx index cc39f22b7165..cb7aa028b534 100644 --- a/app/client/src/components/editorComponents/RadioButtonGroup.tsx +++ b/app/client/src/components/editorComponents/RadioButtonGroup.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState, useRef } from "react"; import styled from "styled-components"; -import { Text, Button } from "design-system"; +import { Text, Button } from "@appsmith/ads"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; interface RadioButtonGroupProps { diff --git a/app/client/src/components/editorComponents/StoreAsDatasource.tsx b/app/client/src/components/editorComponents/StoreAsDatasource.tsx index 30671e55e5ea..84c2f5111afb 100644 --- a/app/client/src/components/editorComponents/StoreAsDatasource.tsx +++ b/app/client/src/components/editorComponents/StoreAsDatasource.tsx @@ -5,15 +5,15 @@ import { } from "actions/datasourceActions"; import { connect, useDispatch, useSelector } from "react-redux"; import history from "utils/history"; -import { datasourcesEditorIdURL } from "@appsmith/RouteBuilder"; +import { datasourcesEditorIdURL } from "ee/RouteBuilder"; import { getQueryParams } from "utils/URLUtils"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import { createMessage, EDIT_DATASOURCE, SAVE_DATASOURCE, -} from "@appsmith/constants/messages"; -import { Button } from "design-system"; +} from "ee/constants/messages"; +import { Button } from "@appsmith/ads"; interface storeDataSourceProps { datasourceId?: string; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/EditFieldsTable.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/EditFieldsTable.tsx index 4536da37277b..e5f28460fcca 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/EditFieldsTable.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/EditFieldsTable.tsx @@ -1,7 +1,7 @@ import { useTable, useSortBy, useExpanded } from "react-table"; import React from "react"; import styled from "styled-components"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; const Styles = styled.div` table { diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/index.tsx index 8a17f8735548..0e337521fa9e 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/ColumnSelectorModal/index.tsx @@ -9,7 +9,7 @@ import { ModalHeader, Text, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; import { EditFieldsButton } from "../../styles"; import styled from "styled-components"; import { useColumns } from "../../WidgetSpecificControls/ColumnDropdown/useColumns"; @@ -23,7 +23,7 @@ import { FIELDS_CONFIGURATION, SAVE_CHANGES, SAVE_CHANGES_DISABLED_TOOLTIP_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import EditFieldsTable from "./EditFieldsTable"; import { WidgetQueryGeneratorFormContext } from "../../index"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/DropdownOption.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/DropdownOption.tsx index 9732bd31e91b..740af870f62a 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/DropdownOption.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/DropdownOption.tsx @@ -1,4 +1,4 @@ -import { Icon, MenuItem } from "design-system"; +import { Icon, MenuItem } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; import { DEFAULT_QUERY_OPTIONS_COUNTS_TO_SHOW } from "../../constants"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/index.tsx index d5677e9382b1..5d4e95b9a30d 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/index.tsx @@ -10,7 +10,7 @@ import { MenuTrigger, SearchInput, Text, -} from "design-system"; +} from "@appsmith/ads"; import { DropdownOption, LoadMoreOptions } from "./DropdownOption"; import styled from "styled-components"; import type { DropdownOptionType } from "../../types"; @@ -18,7 +18,7 @@ import { DEFAULT_QUERY_OPTIONS_COUNTS_TO_SHOW } from "../../constants"; import { createMessage, DATASOURCE_DROPDOWN_OPTIONS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import useSource from "./useSource"; const StyledDropdownTrigger = styled.div<{ diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/index.tsx index 6f949c5823fe..dbd07ea8316c 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/index.tsx @@ -1,14 +1,14 @@ import React, { useContext, useEffect, useMemo } from "react"; import { useSelector } from "react-redux"; -import { getPluginImages } from "@appsmith/selectors/entitiesSelector"; +import { getPluginImages } from "ee/selectors/entitiesSelector"; import { getisOneClickBindingConnectingForWidget } from "selectors/oneClickBindingSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getWidget } from "sagas/selectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createMessage, DATASOURCE_DROPDOWN_OPTIONS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { DropdownOptionType } from "../../../types"; import useDatasourceOptions from "./useDatasourceOptions"; import useConnectToOptions from "./useConnectToOptions"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useConnectToOptions.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useConnectToOptions.tsx index 9a4c2e1826e7..d63ebc1918ab 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useConnectToOptions.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useConnectToOptions.tsx @@ -5,11 +5,11 @@ import { getCurrentPageWidgets, getPluginIdPackageNamesMap, getQueryModuleInstances, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import WidgetFactory from "WidgetProvider/factory"; import { DatasourceImage, ImageWrapper } from "../../../styles"; import { getDatatype } from "utils/AppsmithUtils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { DropdownOptionType } from "../../../types"; import type { WidgetProps } from "widgets/BaseWidget"; import { WidgetQueryGeneratorFormContext } from "components/editorComponents/WidgetQueryGeneratorForm"; @@ -17,16 +17,16 @@ import { PluginPackageName } from "entities/Action"; import type { ActionData, ActionDataState, -} from "@appsmith/reducers/entityReducers/actionsReducer"; +} from "ee/reducers/entityReducers/actionsReducer"; import type { ModuleInstanceData, ModuleInstanceDataState, -} from "@appsmith/constants/ModuleInstanceConstants"; -import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import type { AppState } from "@appsmith/reducers"; -import type { Module } from "@appsmith/constants/ModuleConstants"; -import { getAllModules } from "@appsmith/selectors/modulesSelector"; +} from "ee/constants/ModuleInstanceConstants"; +import { selectFeatureFlagCheck } from "ee/selectors/featureFlagsSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import type { AppState } from "ee/reducers"; +import type { Module } from "ee/constants/ModuleConstants"; +import { getAllModules } from "ee/selectors/modulesSelector"; import { getModuleIcon } from "pages/Editor/utils"; enum SortingWeights { diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useDatasourceOptions.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useDatasourceOptions.tsx index 1c6efda1c7b0..671c5851030a 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useDatasourceOptions.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useDatasourceOptions.tsx @@ -4,8 +4,8 @@ import type { DropdownOptionType } from "../../../types"; import { getEnvironmentConfiguration, isEnvironmentValid, -} from "@appsmith/utils/Environments"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +} from "ee/utils/Environments"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { DatasourceImage, ImageWrapper } from "../../../styles"; import { type Datasource, @@ -18,7 +18,7 @@ import { fetchDatasourceStructure, fetchGheetSpreadsheets, } from "actions/datasourceActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { invert } from "lodash"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; import { useDispatch, useSelector } from "react-redux"; @@ -28,11 +28,11 @@ import { getMockDatasources, getPluginIdPackageNamesMap, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/selectors/entitiesSelector"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import type { WidgetProps } from "widgets/BaseWidget"; import { WidgetQueryGeneratorFormContext } from "components/editorComponents/WidgetQueryGeneratorForm/index"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { getDatasourceConnectionMode } from "components/editorComponents/WidgetQueryGeneratorForm/utils"; interface DatasourceOptionsProps { diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useOtherOptions.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useOtherOptions.tsx index 6fccf75359bb..928c51029c7b 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useOtherOptions.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useSource/useOtherOptions.tsx @@ -1,17 +1,17 @@ import React, { useContext, useMemo } from "react"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import history from "utils/history"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; +import { integrationEditorURL } from "ee/RouteBuilder"; import { INTEGRATION_TABS } from "constants/routes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; import { useParams } from "react-router"; -import type { ExplorerURLParams } from "@appsmith/pages/Editor/Explorer/helpers"; +import type { ExplorerURLParams } from "ee/pages/Editor/Explorer/helpers"; import type { WidgetProps } from "widgets/BaseWidget"; import { createMessage, DATASOURCE_DROPDOWN_OPTIONS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { DROPDOWN_VARIANT } from "components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/types"; import { WidgetQueryGeneratorFormContext } from "components/editorComponents/WidgetQueryGeneratorForm/index"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/index.tsx index 91581a272c32..ad169cdb28c7 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/index.tsx @@ -1,7 +1,7 @@ import React, { memo, useContext } from "react"; import { ErrorMessage, Label, LabelWrapper, SelectWrapper } from "../../styles"; import { useTableOrSpreadsheet } from "./useTableOrSpreadsheet"; -import { Select, Option, Tooltip } from "design-system"; +import { Select, Option, Tooltip } from "@appsmith/ads"; import { DropdownOption } from "../DatasourceDropdown/DropdownOption"; import type { DefaultOptionType } from "rc-select/lib/Select"; import { ColumnSelectorModal } from "../ColumnSelectorModal"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/useTableOrSpreadsheet.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/useTableOrSpreadsheet.tsx index 67ea4e2e686d..f563c1a97426 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/useTableOrSpreadsheet.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/TableOrSpreadsheetDropdown/useTableOrSpreadsheet.tsx @@ -8,7 +8,7 @@ import { getDatasourceStructureById, getIsFetchingDatasourceStructure, getPluginPackageFromDatasourceId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { WidgetQueryGeneratorFormContext } from "../.."; import { Bold, Label } from "../../styles"; import { PluginFormInputFieldMap } from "../../constants"; @@ -17,11 +17,11 @@ import { getIsFetchingGsheetSpreadsheets, } from "selectors/datasourceSelectors"; import { isGoogleSheetPluginDS } from "utils/editorContextUtils"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { DropdownOption as Option } from "../DatasourceDropdown/DropdownOption"; import type { DropdownOptionType } from "../../types"; import { getisOneClickBindingConnectingForWidget } from "selectors/oneClickBindingSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getWidget } from "sagas/selectors"; import type { DatasourceStructure } from "entities/Datasource"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/ConnectData/useConnectData.ts b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/ConnectData/useConnectData.ts index 171779b7f0be..a366e6e03c6f 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/ConnectData/useConnectData.ts +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/ConnectData/useConnectData.ts @@ -1,9 +1,9 @@ import { useDispatch, useSelector } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getWidget } from "sagas/selectors"; -import { getPluginPackageFromDatasourceId } from "@appsmith/selectors/entitiesSelector"; +import { getPluginPackageFromDatasourceId } from "ee/selectors/entitiesSelector"; import { getisOneClickBindingConnectingForWidget } from "selectors/oneClickBindingSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { isValidGsheetConfig } from "../utils"; import { useContext, useMemo } from "react"; import { WidgetQueryGeneratorFormContext } from "../index"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/index.tsx index d4990d055229..d1e3396a77e5 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/index.tsx @@ -3,7 +3,7 @@ import { Label, SelectWrapper, } from "components/editorComponents/WidgetQueryGeneratorForm/styles"; -import { Tooltip, Select } from "design-system"; +import { Tooltip, Select } from "@appsmith/ads"; import React, { memo } from "react"; import { useSheets } from "./useSheets"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/useSheets.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/useSheets.tsx index 628da670781f..19730f31ac36 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/useSheets.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/SheetsDropdown/useSheets.tsx @@ -10,9 +10,9 @@ import { getGsheetsSheets, getisFetchingGsheetsSheets, } from "selectors/datasourceSelectors"; -import { getDatasource } from "@appsmith/selectors/entitiesSelector"; -import type { AppState } from "@appsmith/reducers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getDatasource } from "ee/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getWidget } from "sagas/selectors"; export function useSheets() { diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/index.tsx index e8c5353e11d2..cb17e30845c0 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/index.tsx @@ -2,15 +2,15 @@ import { createMessage, GEN_CRUD_TABLE_HEADER_LABEL, GEN_CRUD_TABLE_HEADER_TOOLTIP_DESC, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Colors } from "constants/Colors"; -import { Icon } from "design-system"; -import { Tooltip } from "design-system"; +import { Icon } from "@appsmith/ads"; +import { Tooltip } from "@appsmith/ads"; import React, { memo } from "react"; import { Label, Row, RowHeading, SelectWrapper } from "../../../styles"; import styled from "styled-components"; import { useTableHeaderIndex } from "./useTableHeader"; -import { Input } from "design-system"; +import { Input } from "@appsmith/ads"; const RoundBg = styled.div` width: 16px; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/useTableHeader.ts b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/useTableHeader.ts index 284bcad72ede..0105863bda55 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/useTableHeader.ts +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/GoogleSheetControls/TableHeaderIndex/useTableHeader.ts @@ -1,10 +1,10 @@ import { fetchGheetColumns } from "actions/datasourceActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { WidgetQueryGeneratorFormContext } from "components/editorComponents/WidgetQueryGeneratorForm"; import { isNumber } from "lodash"; import { useCallback, useContext } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { getDatasource } from "@appsmith/selectors/entitiesSelector"; +import { getDatasource } from "ee/selectors/entitiesSelector"; import { isValidGsheetConfig } from "components/editorComponents/WidgetQueryGeneratorForm/utils"; export function useTableHeaderIndex() { diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/index.tsx index d4ffc9b2c6cd..ce26440bdf5e 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/DatasourceSpecificControls/index.tsx @@ -1,8 +1,8 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { PluginPackageName } from "entities/Action"; import React, { useContext } from "react"; import { useSelector } from "react-redux"; -import { getPluginPackageFromDatasourceId } from "@appsmith/selectors/entitiesSelector"; +import { getPluginPackageFromDatasourceId } from "ee/selectors/entitiesSelector"; import { WidgetQueryGeneratorFormContext } from ".."; import { Section } from "../styles"; import { GoogleSheetControls } from "./GoogleSheetControls"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/index.tsx index e2e51a09fa88..51b4b7f85336 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/index.tsx @@ -1,4 +1,4 @@ -import { Option, Select } from "design-system"; +import { Option, Select } from "@appsmith/ads"; import type { DefaultOptionType } from "rc-select/lib/Select"; import React, { memo } from "react"; import { DropdownOption } from "../../CommonControls/DatasourceDropdown/DropdownOption"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumnDropdown.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumnDropdown.tsx index 80b1ed58bf39..40bbe2b8efa9 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumnDropdown.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumnDropdown.tsx @@ -2,7 +2,7 @@ import React, { useCallback, useMemo } from "react"; import { PluginPackageName } from "entities/Action"; import { get, isArray } from "lodash"; import { ALLOWED_SEARCH_DATATYPE } from "pages/Editor/GeneratePage/components/constants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DropdownOption as Option } from "../../CommonControls/DatasourceDropdown/DropdownOption"; import type { DropdownOptionType } from "../../types"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumns.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumns.tsx index a57aa89e5eb1..615b9b7b6a09 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumns.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/ColumnDropdown/useColumns.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { PluginPackageName } from "entities/Action"; import { isArray } from "lodash"; import { useContext, useMemo } from "react"; @@ -11,7 +11,7 @@ import { getDatasourceTableColumns, getDatasourceTablePrimaryColumn, getPluginPackageFromDatasourceId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { WidgetQueryGeneratorFormContext } from "../.."; import { getisOneClickBindingConnectingForWidget } from "selectors/oneClickBindingSelectors"; import { getWidget } from "sagas/selectors"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/Dropdown.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/Dropdown.tsx index 3e99e34770d2..5679d6b03d20 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/Dropdown.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/Dropdown.tsx @@ -5,7 +5,7 @@ import { Label, SelectWrapper, } from "../../../../styles"; -import { Select } from "design-system"; +import { Select } from "@appsmith/ads"; import type { DefaultOptionType } from "rc-select/lib/Select"; import type { OtherField } from "../../../../types"; import { useDropdown } from "./useDropdown"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/useDropdown.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/useDropdown.tsx index 61b207a4e6ff..200165e8770d 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/useDropdown.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/useDropdown.tsx @@ -5,14 +5,14 @@ import React, { useMemo, useState, } from "react"; -import { Option } from "design-system"; +import { Option } from "@appsmith/ads"; import { DropdownOption } from "../../../../CommonControls/DatasourceDropdown/DropdownOption"; import { WidgetQueryGeneratorFormContext } from "../../../../index"; import { useColumns } from "../../../ColumnDropdown/useColumns"; import type { DefaultOptionType } from "rc-select/lib/Select"; import { get } from "lodash"; import { useSelector } from "react-redux"; -import { getCurrentPageWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getCurrentPageWidgets } from "ee/selectors/entitiesSelector"; import { StyledImage } from "./styles"; import { FieldOptionsType } from "./types"; import type { DropdownOptionType } from "../../../../types"; @@ -21,10 +21,10 @@ import WidgetFactory from "WidgetProvider/factory"; import { createMessage, NO_CONNECTABLE_WIDGET_FOUND, -} from "@appsmith/constants/messages"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/constants/messages"; +import type { AppState } from "ee/reducers"; import { getWidget } from "sagas/selectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; export interface OneClickDropdownFieldProps { label: string; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/index.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/index.tsx index 24702c7a1946..bc1a394bb363 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/index.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/index.tsx @@ -15,10 +15,7 @@ import { } from "selectors/oneClickBindingSelectors"; import { updateOneClickBindingOptionsVisibility } from "actions/oneClickBindingActions"; import type { AlertMessage, Alias, OtherField } from "./types"; -import { - CONNECT_BUTTON_TEXT, - createMessage, -} from "@appsmith/constants/messages"; +import { CONNECT_BUTTON_TEXT, createMessage } from "ee/constants/messages"; import { DROPDOWN_VARIANT } from "./CommonControls/DatasourceDropdown/types"; diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/styles.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/styles.tsx index 0a8c51c772ed..211f0b170c49 100644 --- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/styles.tsx +++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/styles.tsx @@ -1,4 +1,4 @@ -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import styled from "styled-components"; import { DROPDOWN_TRIGGER_DIMENSION } from "./constants"; diff --git a/app/client/src/components/editorComponents/form/CredentialsTooltip.tsx b/app/client/src/components/editorComponents/form/CredentialsTooltip.tsx index a79f3c82922b..222f94cb2a48 100644 --- a/app/client/src/components/editorComponents/form/CredentialsTooltip.tsx +++ b/app/client/src/components/editorComponents/form/CredentialsTooltip.tsx @@ -2,7 +2,7 @@ import React from "react"; import { Popover, PopoverInteractionKind } from "@blueprintjs/core"; import styled, { createGlobalStyle } from "styled-components"; import { Colors } from "constants/Colors"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const CredentialTooltipWrapper = styled.div` .credentialTooltipContainer { diff --git a/app/client/src/components/editorComponents/form/FormDialogComponent.tsx b/app/client/src/components/editorComponents/form/FormDialogComponent.tsx index 4abe020eb40f..22616310dbc5 100644 --- a/app/client/src/components/editorComponents/form/FormDialogComponent.tsx +++ b/app/client/src/components/editorComponents/form/FormDialogComponent.tsx @@ -5,7 +5,7 @@ import { ModalBody, ModalContent, ModalHeader, -} from "design-system"; +} from "@appsmith/ads"; interface FormDialogComponentProps { isOpen?: boolean; diff --git a/app/client/src/components/editorComponents/form/ToggleComponentToJson.tsx b/app/client/src/components/editorComponents/form/ToggleComponentToJson.tsx index 82caa85fe151..def220df07af 100644 --- a/app/client/src/components/editorComponents/form/ToggleComponentToJson.tsx +++ b/app/client/src/components/editorComponents/form/ToggleComponentToJson.tsx @@ -5,7 +5,7 @@ import { switchViewType, ViewTypes, } from "components/formControls/utils"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Action } from "entities/Action"; import type { ControlProps } from "components/formControls/BaseControl"; import { connect, useSelector } from "react-redux"; @@ -14,8 +14,8 @@ import type { AnyAction, Dispatch } from "redux"; import { bindActionCreators } from "redux"; import { change } from "redux-form"; import { get } from "lodash"; -import { JS_TOGGLE_DISABLED_MESSAGE } from "@appsmith/constants/messages"; -import { ToggleButton, Tooltip } from "design-system"; +import { JS_TOGGLE_DISABLED_MESSAGE } from "ee/constants/messages"; +import { ToggleButton, Tooltip } from "@appsmith/ads"; import styled from "styled-components"; interface Props { diff --git a/app/client/src/components/editorComponents/form/fields/CheckboxField.tsx b/app/client/src/components/editorComponents/form/fields/CheckboxField.tsx index 0ee330abb0fc..7613efc994f4 100644 --- a/app/client/src/components/editorComponents/form/fields/CheckboxField.tsx +++ b/app/client/src/components/editorComponents/form/fields/CheckboxField.tsx @@ -1,5 +1,5 @@ -import type { CheckboxProps } from "design-system-old"; -import { Checkbox } from "design-system-old"; +import type { CheckboxProps } from "@appsmith/ads-old"; +import { Checkbox } from "@appsmith/ads-old"; import React from "react"; import type { BaseFieldProps } from "redux-form"; import { Field } from "redux-form"; diff --git a/app/client/src/components/editorComponents/form/fields/DropdownField.tsx b/app/client/src/components/editorComponents/form/fields/DropdownField.tsx index 1bd6d9f7c422..85c3413368a4 100644 --- a/app/client/src/components/editorComponents/form/fields/DropdownField.tsx +++ b/app/client/src/components/editorComponents/form/fields/DropdownField.tsx @@ -3,10 +3,10 @@ import _ from "lodash"; import type { BaseFieldProps, WrappedFieldProps } from "redux-form"; import { Field } from "redux-form"; import { replayHighlightClass } from "globalStyles/portals"; -import type { SelectOptionProps, SelectProps } from "design-system"; -import { Select, Option } from "design-system"; +import type { SelectOptionProps, SelectProps } from "@appsmith/ads"; +import { Select, Option } from "@appsmith/ads"; import styled from "styled-components"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; const Container = styled.div` display: flex; diff --git a/app/client/src/components/editorComponents/form/fields/DropdownFieldWrapper.tsx b/app/client/src/components/editorComponents/form/fields/DropdownFieldWrapper.tsx index e534b36470fd..7dc1ea75e4a0 100644 --- a/app/client/src/components/editorComponents/form/fields/DropdownFieldWrapper.tsx +++ b/app/client/src/components/editorComponents/form/fields/DropdownFieldWrapper.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useState } from "react"; -import type { SelectOptionProps } from "design-system"; -import { Select, Option } from "design-system"; +import type { SelectOptionProps } from "@appsmith/ads"; +import { Select, Option } from "@appsmith/ads"; type DropdownFieldWrapperProps = SelectOptionProps & { placeholder?: string }; diff --git a/app/client/src/components/editorComponents/form/fields/DropdownWrapper.tsx b/app/client/src/components/editorComponents/form/fields/DropdownWrapper.tsx index 4aa138a9ebe2..d79fe9d8f69d 100644 --- a/app/client/src/components/editorComponents/form/fields/DropdownWrapper.tsx +++ b/app/client/src/components/editorComponents/form/fields/DropdownWrapper.tsx @@ -1,5 +1,5 @@ -import type { SelectOptionProps } from "design-system"; -import { Text, Option, Select } from "design-system"; +import type { SelectOptionProps } from "@appsmith/ads"; +import { Text, Option, Select } from "@appsmith/ads"; import React, { useEffect, useState } from "react"; import type { DropdownOnSelect } from "./SelectField"; diff --git a/app/client/src/components/editorComponents/form/fields/DynamicDropdownField.tsx b/app/client/src/components/editorComponents/form/fields/DynamicDropdownField.tsx index 36a47c3990fc..0e742f58e5e9 100644 --- a/app/client/src/components/editorComponents/form/fields/DynamicDropdownField.tsx +++ b/app/client/src/components/editorComponents/form/fields/DynamicDropdownField.tsx @@ -1,8 +1,8 @@ import React from "react"; import type { BaseFieldProps } from "redux-form"; import { Field } from "redux-form"; -import type { SelectProps } from "design-system"; -import { Select } from "design-system"; +import type { SelectProps } from "@appsmith/ads"; +import { Select } from "@appsmith/ads"; type DynamicDropdownFieldProps = BaseFieldProps & SelectProps; class DynamicDropdownField extends React.Component { diff --git a/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx b/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx index d8b1dd6034d4..88be21131542 100644 --- a/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx +++ b/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx @@ -5,7 +5,7 @@ import type { BaseFieldProps, WrappedFieldInputProps } from "redux-form"; import { change, Field, formValueSelector } from "redux-form"; import type { EditorProps } from "components/editorComponents/CodeEditor"; import { CodeEditorBorder } from "components/editorComponents/CodeEditor/EditorConfig"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { connect } from "react-redux"; import { get, merge } from "lodash"; import type { EmbeddedRestDatasource, Datasource } from "entities/Datasource"; @@ -42,24 +42,24 @@ import equal from "fast-deep-equal/es6"; import { getDatasource, getDatasourcesByPluginId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { extractApiUrlPath } from "transformers/RestActionTransformer"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { Text } from "design-system"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import { Text } from "@appsmith/ads"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import LazyCodeEditor from "components/editorComponents/LazyCodeEditor"; import { getCodeMirrorNamespaceFromEditor } from "utils/getCodeMirrorNamespace"; import { isDynamicValue } from "utils/DynamicBindingUtils"; -import { isEnvironmentValid } from "@appsmith/utils/Environments"; +import { isEnvironmentValid } from "ee/utils/Environments"; import { DEFAULT_DATASOURCE_NAME } from "constants/ApiEditorConstants/ApiEditorConstants"; import { isString } from "lodash"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { getHasCreateDatasourcePermission, getHasManageDatasourcePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { isGACEnabled } from "ee/utils/planHelpers"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; interface ReduxStateProps { workspaceId: string; diff --git a/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx b/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx index ef500fc414b6..b62e2bc28493 100644 --- a/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx +++ b/app/client/src/components/editorComponents/form/fields/KeyValueFieldArray.tsx @@ -12,13 +12,13 @@ import { CodeEditorBorder, EditorSize, } from "components/editorComponents/CodeEditor/EditorConfig"; -import { Classes } from "design-system-old"; +import { Classes } from "@appsmith/ads-old"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import { DEFAULT_MULTI_PART_DROPDOWN_PLACEHOLDER, MULTI_PART_DROPDOWN_OPTIONS, } from "constants/ApiEditorConstants/CommonApiConstants"; -import { Button, Text } from "design-system"; +import { Button, Text } from "@appsmith/ads"; import RequestDropdownField from "./RequestDropdownField"; interface CustomStack { diff --git a/app/client/src/components/editorComponents/form/fields/NumberField.tsx b/app/client/src/components/editorComponents/form/fields/NumberField.tsx index a1a3a0707aba..9e7c1550371b 100644 --- a/app/client/src/components/editorComponents/form/fields/NumberField.tsx +++ b/app/client/src/components/editorComponents/form/fields/NumberField.tsx @@ -1,8 +1,8 @@ import React from "react"; import type { BaseFieldProps } from "redux-form"; import { Field } from "redux-form"; -import type { TextInputProps } from "design-system-old"; -import { TextInput } from "design-system-old"; +import type { TextInputProps } from "@appsmith/ads-old"; +import { TextInput } from "@appsmith/ads-old"; type RenderComponentProps = TextInputProps & { input?: { diff --git a/app/client/src/components/editorComponents/form/fields/RadioGroupWrapper.tsx b/app/client/src/components/editorComponents/form/fields/RadioGroupWrapper.tsx index 34a34dc08734..545885a559ad 100644 --- a/app/client/src/components/editorComponents/form/fields/RadioGroupWrapper.tsx +++ b/app/client/src/components/editorComponents/form/fields/RadioGroupWrapper.tsx @@ -1,4 +1,4 @@ -import { Radio, RadioGroup } from "design-system"; +import { Radio, RadioGroup } from "@appsmith/ads"; import React, { useEffect, useState } from "react"; import type { WrappedFieldInputProps } from "redux-form"; import styled from "styled-components"; diff --git a/app/client/src/components/editorComponents/form/fields/RequestDropdownField.tsx b/app/client/src/components/editorComponents/form/fields/RequestDropdownField.tsx index 85c17e664f8d..23d2d36aa456 100644 --- a/app/client/src/components/editorComponents/form/fields/RequestDropdownField.tsx +++ b/app/client/src/components/editorComponents/form/fields/RequestDropdownField.tsx @@ -3,7 +3,7 @@ import _ from "lodash"; import type { WrappedFieldProps } from "redux-form"; import { Field } from "redux-form"; import DropdownFieldWrapper from "components/editorComponents/form/fields/DropdownFieldWrapper"; -import type { SelectOptionProps } from "design-system"; +import type { SelectOptionProps } from "@appsmith/ads"; const renderComponent = ( componentProps: WrappedFieldProps & SelectOptionProps, diff --git a/app/client/src/components/editorComponents/form/fields/SelectField.tsx b/app/client/src/components/editorComponents/form/fields/SelectField.tsx index 323b76ebc4fc..34cce6d4d362 100644 --- a/app/client/src/components/editorComponents/form/fields/SelectField.tsx +++ b/app/client/src/components/editorComponents/form/fields/SelectField.tsx @@ -2,7 +2,7 @@ import React from "react"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import { Field } from "redux-form"; import DropdownWrapper from "./DropdownWrapper"; -import type { SelectOptionProps } from "design-system"; +import type { SelectOptionProps } from "@appsmith/ads"; const renderComponent = ( componentProps: SelectFieldProps & { diff --git a/app/client/src/components/editorComponents/form/fields/TagListField.tsx b/app/client/src/components/editorComponents/form/fields/TagListField.tsx index 1146863fbb4b..9738c8712dd5 100644 --- a/app/client/src/components/editorComponents/form/fields/TagListField.tsx +++ b/app/client/src/components/editorComponents/form/fields/TagListField.tsx @@ -2,7 +2,7 @@ import type { ReactElement } from "react"; import React from "react"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import { Field } from "redux-form"; -import { TagInput } from "design-system-old"; +import { TagInput } from "@appsmith/ads-old"; import type { Intent } from "constants/DefaultTheme"; const renderComponent = ( diff --git a/app/client/src/components/editorComponents/form/fields/TextField.tsx b/app/client/src/components/editorComponents/form/fields/TextField.tsx index 39819d280d23..778cd70d9f1d 100644 --- a/app/client/src/components/editorComponents/form/fields/TextField.tsx +++ b/app/client/src/components/editorComponents/form/fields/TextField.tsx @@ -1,8 +1,8 @@ import React from "react"; import type { BaseFieldProps } from "redux-form"; import { Field } from "redux-form"; -import type { InputProps } from "design-system"; -import { Input } from "design-system"; +import type { InputProps } from "@appsmith/ads"; +import { Input } from "@appsmith/ads"; interface FieldProps { type?: string; diff --git a/app/client/src/components/featureWalkthrough/index.tsx b/app/client/src/components/featureWalkthrough/index.tsx index abee3111d4f1..aa9f770cba2c 100644 --- a/app/client/src/components/featureWalkthrough/index.tsx +++ b/app/client/src/components/featureWalkthrough/index.tsx @@ -5,13 +5,13 @@ import WalkthroughContext from "./walkthroughContext"; import { createPortal } from "react-dom"; import { retryPromise } from "utils/AppsmithUtils"; import { useLocation } from "react-router-dom"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { isElementVisible } from "./utils"; import { hideIndicator } from "components/utils/Indicator"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { selectFeatureFlagCheck } from "ee/selectors/featureFlagsSelectors"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; const WalkthroughRenderer = lazy(async () => { return retryPromise( diff --git a/app/client/src/components/featureWalkthrough/walkthroughRenderer.tsx b/app/client/src/components/featureWalkthrough/walkthroughRenderer.tsx index c2151d5f94bf..975c6f9fc972 100644 --- a/app/client/src/components/featureWalkthrough/walkthroughRenderer.tsx +++ b/app/client/src/components/featureWalkthrough/walkthroughRenderer.tsx @@ -1,4 +1,4 @@ -import { Icon, Text, Button, Divider } from "design-system"; +import { Icon, Text, Button, Divider } from "@appsmith/ads"; import React, { useContext, useEffect, useState } from "react"; import styled from "styled-components"; import { PADDING_HIGHLIGHT, getPosition } from "./utils"; @@ -10,7 +10,7 @@ import type { import WalkthroughContext, { isFeatureFooterDetails, } from "./walkthroughContext"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { showIndicator } from "components/utils/Indicator"; const CLIPID = "clip__feature"; @@ -232,25 +232,23 @@ const WalkthroughRenderer = ({ { const boundingRect = boundingRects[id]; if (boundingRect) { - acc = `${acc} ${boundingRect.tx} ${boundingRect.bh}, - ${boundingRect.tx} ${boundingRect.ty}, + acc = `${acc} ${boundingRect.tx} ${boundingRect.bh}, + ${boundingRect.tx} ${boundingRect.ty}, ${boundingRect.tx + boundingRect.tw} ${boundingRect.ty}, ${boundingRect.tx + boundingRect.tw} ${ boundingRect.ty + boundingRect.th - }, - ${boundingRect.tx} ${ - boundingRect.ty + boundingRect.th - }, + }, + ${boundingRect.tx} ${boundingRect.ty + boundingRect.th}, ${boundingRect.tx} ${boundingRect.bh},`; } return acc; }, "")} - ${targetBounds.bw} ${targetBounds.bh}, + ${targetBounds.bw} ${targetBounds.bh}, ${targetBounds.bw} 0 `} /> diff --git a/app/client/src/components/formControls/BaseControl.tsx b/app/client/src/components/formControls/BaseControl.tsx index 922343c4f5d7..400dff4a6490 100644 --- a/app/client/src/components/formControls/BaseControl.tsx +++ b/app/client/src/components/formControls/BaseControl.tsx @@ -2,9 +2,9 @@ import { Component } from "react"; import type { ControlType } from "constants/PropertyControlConstants"; import type { InputType } from "components/constants"; import type { ConditonalObject } from "reducers/evaluationReducers/formEvaluationReducer"; -import type { DropdownOption } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; import type { ViewTypes } from "./utils"; -import type { FeatureFlag } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlag } from "ee/entities/FeatureFlag"; // eslint-disable-next-line @typescript-eslint/ban-types abstract class BaseControl

extends Component< P, diff --git a/app/client/src/components/formControls/CheckboxControl.tsx b/app/client/src/components/formControls/CheckboxControl.tsx index c30dadc8370d..ece166491271 100644 --- a/app/client/src/components/formControls/CheckboxControl.tsx +++ b/app/client/src/components/formControls/CheckboxControl.tsx @@ -1,6 +1,6 @@ import React from "react"; -import type { CheckboxProps } from "design-system"; -import { Checkbox } from "design-system"; +import type { CheckboxProps } from "@appsmith/ads"; +import { Checkbox } from "@appsmith/ads"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; diff --git a/app/client/src/components/formControls/DropDownControl.tsx b/app/client/src/components/formControls/DropDownControl.tsx index 0e28e70eae1b..18e02ebc21cf 100644 --- a/app/client/src/components/formControls/DropDownControl.tsx +++ b/app/client/src/components/formControls/DropDownControl.tsx @@ -7,7 +7,7 @@ import { get, isEmpty, isNil } from "lodash"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import { Field } from "redux-form"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getDynamicFetchedValues } from "selectors/formSelectors"; import { change, getFormValues } from "redux-form"; import { @@ -16,8 +16,8 @@ import { MATCH_ACTION_CONFIG_PROPERTY, } from "workers/Evaluation/formEval"; import type { Action } from "entities/Action"; -import type { SelectOptionProps } from "design-system"; -import { Icon, Option, Select } from "design-system"; +import type { SelectOptionProps } from "@appsmith/ads"; +import { Icon, Option, Select } from "@appsmith/ads"; const DropdownSelect = styled.div<{ width: string; diff --git a/app/client/src/components/formControls/DynamicInputTextControl.tsx b/app/client/src/components/formControls/DynamicInputTextControl.tsx index b2ccd0a9c4c1..874a8c9e9e32 100644 --- a/app/client/src/components/formControls/DynamicInputTextControl.tsx +++ b/app/client/src/components/formControls/DynamicInputTextControl.tsx @@ -3,9 +3,9 @@ import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; import DynamicTextField from "components/editorComponents/form/fields/DynamicTextField"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { formValueSelector } from "redux-form"; -import { QUERY_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { QUERY_EDITOR_FORM_NAME } from "ee/constants/forms"; import { connect } from "react-redux"; import { actionPathFromName } from "components/formControls/utils"; import { diff --git a/app/client/src/components/formControls/DynamicTextFieldControl.tsx b/app/client/src/components/formControls/DynamicTextFieldControl.tsx index 7b02b992d0ba..f4bbbf696ff5 100644 --- a/app/client/src/components/formControls/DynamicTextFieldControl.tsx +++ b/app/client/src/components/formControls/DynamicTextFieldControl.tsx @@ -10,17 +10,17 @@ import { EditorModes, TabBehaviour, } from "components/editorComponents/CodeEditor/EditorConfig"; -import { QUERY_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; -import type { AppState } from "@appsmith/reducers"; +import { QUERY_EDITOR_FORM_NAME } from "ee/constants/forms"; +import type { AppState } from "ee/reducers"; import styled from "styled-components"; import { getPluginResponseTypes, getPluginNameFromId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { actionPathFromName } from "components/formControls/utils"; import type { EvaluationSubstitutionType } from "entities/DataTree/dataTreeFactory"; import { getSqlEditorModeFromPluginName } from "components/editorComponents/CodeEditor/sql/config"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; const Wrapper = styled.div<{ fullWidth: boolean }>` min-width: 380px; diff --git a/app/client/src/components/formControls/FieldArrayControl.tsx b/app/client/src/components/formControls/FieldArrayControl.tsx index 622711ae5b42..14a62f9f3e18 100644 --- a/app/client/src/components/formControls/FieldArrayControl.tsx +++ b/app/client/src/components/formControls/FieldArrayControl.tsx @@ -3,7 +3,7 @@ import FormControl from "pages/Editor/FormControl"; import styled from "styled-components"; import { FieldArray } from "redux-form"; import type { ControlProps } from "./BaseControl"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; const CenteredIconButton = styled(Button)<{ alignSelf?: string; diff --git a/app/client/src/components/formControls/FilePickerControl.tsx b/app/client/src/components/formControls/FilePickerControl.tsx index b1aa2ce25fa0..f37ac80ce1b9 100644 --- a/app/client/src/components/formControls/FilePickerControl.tsx +++ b/app/client/src/components/formControls/FilePickerControl.tsx @@ -4,13 +4,13 @@ import styled from "styled-components"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; -import type { SetProgress } from "design-system-old"; -import { FilePickerV2, FileType } from "design-system-old"; +import type { SetProgress } from "@appsmith/ads-old"; +import { FilePickerV2, FileType } from "@appsmith/ads-old"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import { Field } from "redux-form"; import { useEffect, useCallback } from "react"; import { replayHighlightClass } from "globalStyles/portals"; -import { Button, Modal, ModalBody, ModalContent } from "design-system"; +import { Button, Modal, ModalBody, ModalContent } from "@appsmith/ads"; const StyledDiv = styled.div` flex: 1; diff --git a/app/client/src/components/formControls/FormTemplateControl.tsx b/app/client/src/components/formControls/FormTemplateControl.tsx index d870c121013b..1c8540c08c7a 100644 --- a/app/client/src/components/formControls/FormTemplateControl.tsx +++ b/app/client/src/components/formControls/FormTemplateControl.tsx @@ -3,12 +3,12 @@ import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; import styled from "styled-components"; -import { Button, Flex } from "design-system"; -import type { ButtonProps } from "design-system"; +import { Button, Flex } from "@appsmith/ads"; +import type { ButtonProps } from "@appsmith/ads"; import { change, getFormValues } from "redux-form"; import { connect } from "react-redux"; import { get, omit } from "lodash"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Action } from "entities/Action"; const StyledButton = styled((props: ButtonProps & { isActive: boolean }) => ( diff --git a/app/client/src/components/formControls/InputNumberControl.tsx b/app/client/src/components/formControls/InputNumberControl.tsx index ef8e403fef9d..e77b2c9167fb 100644 --- a/app/client/src/components/formControls/InputNumberControl.tsx +++ b/app/client/src/components/formControls/InputNumberControl.tsx @@ -3,7 +3,7 @@ import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; import NumberField from "components/editorComponents/form/fields/NumberField"; -import { Classes, Text, TextType } from "design-system-old"; +import { Classes, Text, TextType } from "@appsmith/ads-old"; import styled from "styled-components"; const FormGroup = styled.div` diff --git a/app/client/src/components/formControls/InputTextControl.tsx b/app/client/src/components/formControls/InputTextControl.tsx index 3077f24f9d37..9443cd4a397d 100644 --- a/app/client/src/components/formControls/InputTextControl.tsx +++ b/app/client/src/components/formControls/InputTextControl.tsx @@ -2,14 +2,14 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import styled from "styled-components"; import type { InputType } from "components/constants"; -import type { InputTypes as DSInputType } from "design-system"; +import type { InputTypes as DSInputType } from "@appsmith/ads"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import { Field, formValueSelector } from "redux-form"; import { connect } from "react-redux"; -import { Input } from "design-system"; +import { Input } from "@appsmith/ads"; export const StyledInfo = styled.span` font-weight: normal; diff --git a/app/client/src/components/formControls/KeyValueArrayControl.tsx b/app/client/src/components/formControls/KeyValueArrayControl.tsx index f03fb7b50367..3d0969572ebd 100644 --- a/app/client/src/components/formControls/KeyValueArrayControl.tsx +++ b/app/client/src/components/formControls/KeyValueArrayControl.tsx @@ -10,10 +10,10 @@ import type { ControlProps, ControlData } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; import DynamicTextField from "components/editorComponents/form/fields/DynamicTextField"; -import type { InputProps } from "design-system"; +import type { InputProps } from "@appsmith/ads"; import { setDefaultKeyValPairFlag } from "actions/datasourceActions"; import { useDispatch } from "react-redux"; -import { Button, Icon, Input, Text, Tooltip } from "design-system"; +import { Button, Icon, Input, Text, Tooltip } from "@appsmith/ads"; export interface KeyValueArrayControlProps extends ControlProps { name: string; label: string; diff --git a/app/client/src/components/formControls/MultiFilePickerControl.tsx b/app/client/src/components/formControls/MultiFilePickerControl.tsx index b9982d2d4e91..ef3ea1ae09d9 100644 --- a/app/client/src/components/formControls/MultiFilePickerControl.tsx +++ b/app/client/src/components/formControls/MultiFilePickerControl.tsx @@ -6,8 +6,8 @@ import BaseControl from "./BaseControl"; import type { ControlType } from "constants/PropertyControlConstants"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import { Field, getFormValues } from "redux-form"; -import { Button, Tag, Text, toast } from "design-system"; -import type { AppState } from "@appsmith/reducers"; +import { Button, Tag, Text, toast } from "@appsmith/ads"; +import type { AppState } from "ee/reducers"; import type { Datasource } from "entities/Datasource"; import type { Action } from "entities/Action"; import { connect } from "react-redux"; @@ -15,9 +15,9 @@ import PluginsApi from "api/PluginApi"; import type { Plugin } from "api/PluginApi"; import { get, isArray } from "lodash"; import { formatFileSize } from "./utils"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { getPlugin } from "@appsmith/selectors/entitiesSelector"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; +import { getPlugin } from "ee/selectors/entitiesSelector"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const HiddenFileInput = styled.input` visibility: hidden; diff --git a/app/client/src/components/formControls/SegmentedControl.tsx b/app/client/src/components/formControls/SegmentedControl.tsx index d92c8f443772..e9c711a32faf 100644 --- a/app/client/src/components/formControls/SegmentedControl.tsx +++ b/app/client/src/components/formControls/SegmentedControl.tsx @@ -7,12 +7,12 @@ import { isNil } from "lodash"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import { Field } from "redux-form"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getDynamicFetchedValues } from "selectors/formSelectors"; import { change, getFormValues } from "redux-form"; import type { Action } from "entities/Action"; -import type { SelectOptionProps } from "design-system"; -import { SegmentedControl } from "design-system"; +import type { SelectOptionProps } from "@appsmith/ads"; +import { SegmentedControl } from "@appsmith/ads"; const SegmentedControlWrapper = styled.div<{ width: string; diff --git a/app/client/src/components/formControls/SortingControl.tsx b/app/client/src/components/formControls/SortingControl.tsx index 32e13cb46467..5f92252b9056 100644 --- a/app/client/src/components/formControls/SortingControl.tsx +++ b/app/client/src/components/formControls/SortingControl.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useRef } from "react"; import { useSelector } from "react-redux"; import FormControl from "pages/Editor/FormControl"; -import { Classes } from "design-system-old"; +import { Classes } from "@appsmith/ads-old"; import styled from "styled-components"; import { FieldArray, getFormValues } from "redux-form"; import type { ControlProps } from "./BaseControl"; @@ -9,7 +9,7 @@ import { getBindingOrConfigPathsForSortingControl } from "entities/Action/action import { SortingSubComponent } from "./utils"; import { get, isArray } from "lodash"; import useResponsiveBreakpoints from "utils/hooks/useResponsiveBreakpoints"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; // sorting's order dropdown values enum OrderDropDownValues { diff --git a/app/client/src/components/formControls/SwitchControl.tsx b/app/client/src/components/formControls/SwitchControl.tsx index c2eb8562bd44..c7e5c6f38b9a 100644 --- a/app/client/src/components/formControls/SwitchControl.tsx +++ b/app/client/src/components/formControls/SwitchControl.tsx @@ -1,7 +1,7 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { Switch } from "design-system"; +import { Switch } from "@appsmith/ads"; import type { ControlType } from "constants/PropertyControlConstants"; import type { WrappedFieldProps } from "redux-form"; import { Field } from "redux-form"; diff --git a/app/client/src/components/formControls/WhereClauseControl.tsx b/app/client/src/components/formControls/WhereClauseControl.tsx index 2abc877af169..cb5396499237 100644 --- a/app/client/src/components/formControls/WhereClauseControl.tsx +++ b/app/client/src/components/formControls/WhereClauseControl.tsx @@ -8,7 +8,7 @@ import { useSelector } from "react-redux"; import { getBindingOrConfigPathsForWhereClauseControl } from "entities/Action/actionProperties"; import { WhereClauseSubComponent } from "./utils"; import useResponsiveBreakpoints from "utils/hooks/useResponsiveBreakpoints"; -import { Button, Tooltip } from "design-system"; +import { Button, Tooltip } from "@appsmith/ads"; //Dropdwidth and Icon have fixed widths const DropdownWidth = 82; //pixel value diff --git a/app/client/src/components/formControls/utils.test.ts b/app/client/src/components/formControls/utils.test.ts index 2ede9d37875d..9fab21a8c922 100644 --- a/app/client/src/components/formControls/utils.test.ts +++ b/app/client/src/components/formControls/utils.test.ts @@ -15,7 +15,7 @@ import { import type { HiddenType } from "./BaseControl"; import { set } from "lodash"; import { isValidFormConfig } from "reducers/evaluationReducers/formEvaluationReducer"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; describe("isHidden test", () => { it("Test for isHidden true", () => { diff --git a/app/client/src/components/formControls/utils.ts b/app/client/src/components/formControls/utils.ts index 18cd047aec97..465337ec03ff 100644 --- a/app/client/src/components/formControls/utils.ts +++ b/app/client/src/components/formControls/utils.ts @@ -11,14 +11,11 @@ import { diff } from "deep-diff"; import { MongoDefaultActionConfig } from "constants/DatasourceEditorConstants"; import type { Action } from "@sentry/react/dist/types"; import { klona } from "klona/full"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import _ from "lodash"; import { getType, Types } from "utils/TypeHelpers"; -import { - FIELD_REQUIRED_ERROR, - createMessage, -} from "@appsmith/constants/messages"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FIELD_REQUIRED_ERROR, createMessage } from "ee/constants/messages"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { InputTypes } from "components/constants"; // This function checks if the form is dirty diff --git a/app/client/src/components/propertyControls/ActionSelectorControl.tsx b/app/client/src/components/propertyControls/ActionSelectorControl.tsx index 4010a0c834e0..4fe8ab6b17ce 100644 --- a/app/client/src/components/propertyControls/ActionSelectorControl.tsx +++ b/app/client/src/components/propertyControls/ActionSelectorControl.tsx @@ -20,18 +20,18 @@ import { getJSModuleInstancesData, getModuleInstances, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import store from "store"; import { getCurrentPageId } from "selectors/editorSelectors"; import { getApiQueriesAndJSActionOptionsWithChildren } from "components/editorComponents/ActionCreator/helpers"; -import { selectEvaluationVersion } from "@appsmith/selectors/applicationSelectors"; +import { selectEvaluationVersion } from "ee/selectors/applicationSelectors"; import type { ModuleInstance, ModuleInstanceDataState, -} from "@appsmith/constants/ModuleInstanceConstants"; -import { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +} from "ee/constants/ModuleInstanceConstants"; +import { MODULE_TYPE } from "ee/constants/ModuleConstants"; import type { JSAction } from "entities/JSCollection"; -import { getAllModules } from "@appsmith/selectors/modulesSelector"; +import { getAllModules } from "ee/selectors/modulesSelector"; class ActionSelectorControl extends BaseControl { componentRef = React.createRef(); diff --git a/app/client/src/components/propertyControls/BorderRadiusOptionsControl.tsx b/app/client/src/components/propertyControls/BorderRadiusOptionsControl.tsx index 244922d69fc3..b9bf7c493605 100644 --- a/app/client/src/components/propertyControls/BorderRadiusOptionsControl.tsx +++ b/app/client/src/components/propertyControls/BorderRadiusOptionsControl.tsx @@ -4,7 +4,7 @@ import type { ControlData, ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import { borderRadiusOptions } from "constants/ThemeConstants"; import type { DSEventDetail } from "utils/AppsmithUtils"; -import { SegmentedControl, Tooltip } from "design-system"; +import { SegmentedControl, Tooltip } from "@appsmith/ads"; import { DSEventTypes, DS_EVENT, diff --git a/app/client/src/components/propertyControls/BoxShadowOptionsControl.tsx b/app/client/src/components/propertyControls/BoxShadowOptionsControl.tsx index 2416620e981e..bc1df83a6595 100644 --- a/app/client/src/components/propertyControls/BoxShadowOptionsControl.tsx +++ b/app/client/src/components/propertyControls/BoxShadowOptionsControl.tsx @@ -2,7 +2,7 @@ import * as React from "react"; import type { ControlData, ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { Icon, SegmentedControl } from "design-system"; +import { Icon, SegmentedControl } from "@appsmith/ads"; import { boxShadowOptions, sizeMappings } from "constants/ThemeConstants"; import type { DSEventDetail } from "utils/AppsmithUtils"; import { diff --git a/app/client/src/components/propertyControls/ButtonBorderRadiusControl.tsx b/app/client/src/components/propertyControls/ButtonBorderRadiusControl.tsx index 96a3e3869f8e..179b943423b0 100644 --- a/app/client/src/components/propertyControls/ButtonBorderRadiusControl.tsx +++ b/app/client/src/components/propertyControls/ButtonBorderRadiusControl.tsx @@ -6,7 +6,7 @@ import { Button, ButtonGroup } from "@blueprintjs/core"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ThemeProp } from "WidgetProvider/constants"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; export enum ButtonBorderRadiusTypes { SHARP = "SHARP", diff --git a/app/client/src/components/propertyControls/ButtonControl.tsx b/app/client/src/components/propertyControls/ButtonControl.tsx index 87aac805250e..83957b52001f 100644 --- a/app/client/src/components/propertyControls/ButtonControl.tsx +++ b/app/client/src/components/propertyControls/ButtonControl.tsx @@ -2,7 +2,7 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import type { WidgetProps } from "widgets/BaseWidget"; export interface OnButtonClickProps { diff --git a/app/client/src/components/propertyControls/ButtonListControl.tsx b/app/client/src/components/propertyControls/ButtonListControl.tsx index 149d21d02179..da14e7901667 100644 --- a/app/client/src/components/propertyControls/ButtonListControl.tsx +++ b/app/client/src/components/propertyControls/ButtonListControl.tsx @@ -5,14 +5,14 @@ import { generateReactKey } from "utils/generators"; import orderBy from "lodash/orderBy"; import isString from "lodash/isString"; import isUndefined from "lodash/isUndefined"; -import { Button, Flex } from "design-system"; +import { Button, Flex } from "@appsmith/ads"; import { ButtonPlacementTypes } from "components/constants"; import { DraggableListControl } from "pages/Editor/PropertyPane/DraggableListControl"; import { DraggableListCard } from "components/propertyControls/DraggableListCard"; import { createMessage, BUTTON_WIDGET_DEFAULT_LABEL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface State { focusedIndex: number | null; diff --git a/app/client/src/components/propertyControls/ButtonTabControl.tsx b/app/client/src/components/propertyControls/ButtonTabControl.tsx index be248515dcc3..7206d8b20ea4 100644 --- a/app/client/src/components/propertyControls/ButtonTabControl.tsx +++ b/app/client/src/components/propertyControls/ButtonTabControl.tsx @@ -1,8 +1,8 @@ import React from "react"; import type { ControlData, ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import type { ToggleGroupOption } from "design-system"; -import { ToggleButtonGroup } from "design-system"; +import type { ToggleGroupOption } from "@appsmith/ads"; +import { ToggleButtonGroup } from "@appsmith/ads"; import produce from "immer"; import type { DSEventDetail } from "utils/AppsmithUtils"; import { diff --git a/app/client/src/components/propertyControls/ChartDataControl.tsx b/app/client/src/components/propertyControls/ChartDataControl.tsx index e143f66dfefc..8c1efe92c468 100644 --- a/app/client/src/components/propertyControls/ChartDataControl.tsx +++ b/app/client/src/components/propertyControls/ChartDataControl.tsx @@ -11,7 +11,7 @@ import { EditorSize, TabBehaviour, } from "components/editorComponents/CodeEditor/EditorConfig"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import type { AllChartData, ChartData } from "widgets/ChartWidget/constants"; import { generateReactKey } from "utils/generators"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; diff --git a/app/client/src/components/propertyControls/ColorPickerComponentV2.tsx b/app/client/src/components/propertyControls/ColorPickerComponentV2.tsx index 4ffc062af12b..0c6ee7626076 100644 --- a/app/client/src/components/propertyControls/ColorPickerComponentV2.tsx +++ b/app/client/src/components/propertyControls/ColorPickerComponentV2.tsx @@ -6,7 +6,7 @@ import React, { useCallback, } from "react"; import styled from "styled-components"; -import { Switch } from "design-system"; +import { Switch } from "@appsmith/ads"; import { Popover, InputGroup, @@ -29,12 +29,9 @@ import { import { TAILWIND_COLORS } from "constants/ThemeConstants"; import useDSEvent from "utils/hooks/useDSEvent"; import { DSEventTypes } from "utils/AppsmithUtils"; -import { getBrandColors } from "@appsmith/selectors/tenantSelectors"; +import { getBrandColors } from "ee/selectors/tenantSelectors"; import FocusTrap from "focus-trap-react"; -import { - createMessage, - FULL_COLOR_PICKER_LABEL, -} from "@appsmith/constants/messages"; +import { createMessage, FULL_COLOR_PICKER_LABEL } from "ee/constants/messages"; const MAX_COLS = 10; diff --git a/app/client/src/components/propertyControls/ColumnActionSelectorControl.tsx b/app/client/src/components/propertyControls/ColumnActionSelectorControl.tsx index c202dcafdbcf..9d3639ca9629 100644 --- a/app/client/src/components/propertyControls/ColumnActionSelectorControl.tsx +++ b/app/client/src/components/propertyControls/ColumnActionSelectorControl.tsx @@ -6,7 +6,7 @@ import BaseControl from "./BaseControl"; import { generateReactKey } from "utils/generators"; import { InputText } from "components/propertyControls/InputTextControl"; import ActionCreator from "components/editorComponents/ActionCreator"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; export interface ColumnAction { label?: string; diff --git a/app/client/src/components/propertyControls/CustomWidgetAddEventButtonControl.tsx b/app/client/src/components/propertyControls/CustomWidgetAddEventButtonControl.tsx index 6541e68c8df9..c2e7b79bef7b 100644 --- a/app/client/src/components/propertyControls/CustomWidgetAddEventButtonControl.tsx +++ b/app/client/src/components/propertyControls/CustomWidgetAddEventButtonControl.tsx @@ -2,14 +2,11 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { Button, Input, Icon } from "design-system"; +import { Button, Input, Icon } from "@appsmith/ads"; import type { WidgetProps } from "widgets/BaseWidget"; import styled from "styled-components"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; interface ButtonControlState { showInput: boolean; diff --git a/app/client/src/components/propertyControls/CustomWidgetEditSourceButtonControl.tsx b/app/client/src/components/propertyControls/CustomWidgetEditSourceButtonControl.tsx index f58328590e04..eefcd0522205 100644 --- a/app/client/src/components/propertyControls/CustomWidgetEditSourceButtonControl.tsx +++ b/app/client/src/components/propertyControls/CustomWidgetEditSourceButtonControl.tsx @@ -2,15 +2,12 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { Button, Icon } from "design-system"; +import { Button, Icon } from "@appsmith/ads"; import { CUSTOM_WIDGET_BUILDER_EVENTS } from "pages/Editor/CustomWidgetBuilder/constants"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import CustomWidgetBuilderService from "utils/CustomWidgetBuilderService"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { xor } from "lodash"; interface ButtonControlState { diff --git a/app/client/src/components/propertyControls/DatePickerControl.tsx b/app/client/src/components/propertyControls/DatePickerControl.tsx index 5470746641d5..101d5a78e7de 100644 --- a/app/client/src/components/propertyControls/DatePickerControl.tsx +++ b/app/client/src/components/propertyControls/DatePickerControl.tsx @@ -5,7 +5,7 @@ import moment from "moment"; import { TimePrecision } from "@blueprintjs/datetime"; import type { WidgetProps } from "widgets/BaseWidget"; import { ISO_DATE_FORMAT } from "constants/WidgetValidation"; -import { DatePicker } from "design-system"; +import { DatePicker } from "@appsmith/ads"; import { isDynamicValue } from "utils/DynamicBindingUtils"; class DatePickerControl extends BaseControl< diff --git a/app/client/src/components/propertyControls/DraggableListCard.tsx b/app/client/src/components/propertyControls/DraggableListCard.tsx index ae25fd30b714..9a7877777ff1 100644 --- a/app/client/src/components/propertyControls/DraggableListCard.tsx +++ b/app/client/src/components/propertyControls/DraggableListCard.tsx @@ -6,7 +6,7 @@ import { StyledActionContainer, InputGroup, } from "components/propertyControls/StyledControls"; -import { Button, Checkbox } from "design-system"; +import { Button, Checkbox } from "@appsmith/ads"; const ItemWrapper = styled.div` display: flex; diff --git a/app/client/src/components/propertyControls/DraggableListComponent.tsx b/app/client/src/components/propertyControls/DraggableListComponent.tsx index 4dfc0f401ad6..fcbb828569ab 100644 --- a/app/client/src/components/propertyControls/DraggableListComponent.tsx +++ b/app/client/src/components/propertyControls/DraggableListComponent.tsx @@ -1,6 +1,6 @@ import equal from "fast-deep-equal/es6"; import React from "react"; -import { DraggableList } from "design-system-old"; +import { DraggableList } from "@appsmith/ads-old"; export interface BaseItemProps { id: string; diff --git a/app/client/src/components/propertyControls/DropDownControl.tsx b/app/client/src/components/propertyControls/DropDownControl.tsx index 618871badedf..d18a57939763 100644 --- a/app/client/src/components/propertyControls/DropDownControl.tsx +++ b/app/client/src/components/propertyControls/DropDownControl.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { Option, Select, Text, Icon } from "design-system"; +import { Option, Select, Text, Icon } from "@appsmith/ads"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import { isNil } from "lodash"; diff --git a/app/client/src/components/propertyControls/FieldConfigurationControl.tsx b/app/client/src/components/propertyControls/FieldConfigurationControl.tsx index 6c25adc7baaf..89791db0fc5d 100644 --- a/app/client/src/components/propertyControls/FieldConfigurationControl.tsx +++ b/app/client/src/components/propertyControls/FieldConfigurationControl.tsx @@ -10,7 +10,7 @@ import SchemaParser, { } from "widgets/JSONFormWidget/schemaParser"; import type { Schema } from "widgets/JSONFormWidget/constants"; import { ARRAY_ITEM_KEY } from "widgets/JSONFormWidget/constants"; -import { Button, Text } from "design-system"; +import { Button, Text } from "@appsmith/ads"; import type { BaseItemProps } from "./DraggableListComponent"; import { DraggableListCard } from "components/propertyControls/DraggableListCard"; import { getNextEntityName } from "utils/AppsmithUtils"; @@ -18,7 +18,7 @@ import { InputText } from "./InputTextControl"; import type { JSONFormWidgetProps } from "widgets/JSONFormWidget/widget"; import { DraggableListControl } from "pages/Editor/PropertyPane/DraggableListControl"; import styled from "styled-components"; -import { NO_FIELDS_ADDED, createMessage } from "@appsmith/constants/messages"; +import { NO_FIELDS_ADDED, createMessage } from "ee/constants/messages"; import { itemHeight, diff --git a/app/client/src/components/propertyControls/HTMLDocumentBuilderControl.tsx b/app/client/src/components/propertyControls/HTMLDocumentBuilderControl.tsx index 1aed661df9fc..cd80cb62935d 100644 --- a/app/client/src/components/propertyControls/HTMLDocumentBuilderControl.tsx +++ b/app/client/src/components/propertyControls/HTMLDocumentBuilderControl.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; diff --git a/app/client/src/components/propertyControls/IconSelectControl.tsx b/app/client/src/components/propertyControls/IconSelectControl.tsx index d24c0c59f3aa..c4014d849565 100644 --- a/app/client/src/components/propertyControls/IconSelectControl.tsx +++ b/app/client/src/components/propertyControls/IconSelectControl.tsx @@ -14,7 +14,7 @@ import { replayHighlightClass } from "globalStyles/portals"; import _ from "lodash"; import { generateReactKey } from "utils/generators"; import { emitInteractionAnalyticsEvent } from "utils/AppsmithUtils"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; const IconSelectContainerStyles = createGlobalStyle<{ targetWidth: number | undefined; diff --git a/app/client/src/components/propertyControls/IconSelectControlV2.tsx b/app/client/src/components/propertyControls/IconSelectControlV2.tsx index 17ac78579b53..2ad63d4ac5c1 100644 --- a/app/client/src/components/propertyControls/IconSelectControlV2.tsx +++ b/app/client/src/components/propertyControls/IconSelectControlV2.tsx @@ -12,7 +12,7 @@ import { replayHighlightClass } from "globalStyles/portals"; import _ from "lodash"; import { generateReactKey } from "utils/generators"; import { emitInteractionAnalyticsEvent } from "utils/AppsmithUtils"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; import { ICONS, Icon } from "@design-system/widgets"; import type { IconProps } from "@design-system/widgets"; diff --git a/app/client/src/components/propertyControls/IconTabControl.tsx b/app/client/src/components/propertyControls/IconTabControl.tsx index e699c4f550bc..12cda5a3216e 100644 --- a/app/client/src/components/propertyControls/IconTabControl.tsx +++ b/app/client/src/components/propertyControls/IconTabControl.tsx @@ -2,8 +2,8 @@ import React from "react"; import styled from "styled-components"; import type { ControlData, ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import type { SegmentedControlOption } from "design-system"; -import { SegmentedControl } from "design-system"; +import type { SegmentedControlOption } from "@appsmith/ads"; +import { SegmentedControl } from "@appsmith/ads"; import type { DSEventDetail } from "utils/AppsmithUtils"; import { DSEventTypes, diff --git a/app/client/src/components/propertyControls/KeyValueComponent.tsx b/app/client/src/components/propertyControls/KeyValueComponent.tsx index 934f2d17558f..0ec815db0ece 100644 --- a/app/client/src/components/propertyControls/KeyValueComponent.tsx +++ b/app/client/src/components/propertyControls/KeyValueComponent.tsx @@ -1,8 +1,8 @@ import React, { useState, useEffect, useCallback } from "react"; import styled from "styled-components"; import { ControlWrapper, InputGroup } from "./StyledControls"; -import type { SegmentedControlOption } from "design-system"; -import { Button } from "design-system"; +import type { SegmentedControlOption } from "@appsmith/ads"; +import { Button } from "@appsmith/ads"; import { generateReactKey } from "utils/generators"; import { debounce } from "lodash"; import { getNextEntityName } from "utils/AppsmithUtils"; diff --git a/app/client/src/components/propertyControls/LabelAlignmentOptionsControl.tsx b/app/client/src/components/propertyControls/LabelAlignmentOptionsControl.tsx index 11fa1e5cfd10..d807ce2f80e7 100644 --- a/app/client/src/components/propertyControls/LabelAlignmentOptionsControl.tsx +++ b/app/client/src/components/propertyControls/LabelAlignmentOptionsControl.tsx @@ -1,7 +1,7 @@ import React from "react"; import { Alignment } from "@blueprintjs/core"; -import type { SegmentedControlOption } from "design-system"; -import { SegmentedControl } from "design-system"; +import type { SegmentedControlOption } from "@appsmith/ads"; +import { SegmentedControl } from "@appsmith/ads"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { DSEventDetail } from "utils/AppsmithUtils"; diff --git a/app/client/src/components/propertyControls/MenuItemsControl.tsx b/app/client/src/components/propertyControls/MenuItemsControl.tsx index 7525e02c5333..c323b5499706 100644 --- a/app/client/src/components/propertyControls/MenuItemsControl.tsx +++ b/app/client/src/components/propertyControls/MenuItemsControl.tsx @@ -7,7 +7,7 @@ import isString from "lodash/isString"; import isUndefined from "lodash/isUndefined"; import { DraggableListControl } from "pages/Editor/PropertyPane/DraggableListControl"; import { DraggableListCard } from "components/propertyControls/DraggableListCard"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; interface State { focusedIndex: number | null; diff --git a/app/client/src/components/propertyControls/NumericInputControl.tsx b/app/client/src/components/propertyControls/NumericInputControl.tsx index c44984594189..f9387a26fede 100644 --- a/app/client/src/components/propertyControls/NumericInputControl.tsx +++ b/app/client/src/components/propertyControls/NumericInputControl.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { NumberInput } from "design-system"; +import { NumberInput } from "@appsmith/ads"; import type { ControlData, ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; diff --git a/app/client/src/components/propertyControls/OpenConfigPanelControl.tsx b/app/client/src/components/propertyControls/OpenConfigPanelControl.tsx index 8adec62cd881..eccefbb5147c 100644 --- a/app/client/src/components/propertyControls/OpenConfigPanelControl.tsx +++ b/app/client/src/components/propertyControls/OpenConfigPanelControl.tsx @@ -1,7 +1,7 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; class OpenConfigPanelControl extends BaseControl { constructor(props: OpenConfigPanelControlProps) { diff --git a/app/client/src/components/propertyControls/OptionControl.tsx b/app/client/src/components/propertyControls/OptionControl.tsx index a1618852f2d7..e49dc3880133 100644 --- a/app/client/src/components/propertyControls/OptionControl.tsx +++ b/app/client/src/components/propertyControls/OptionControl.tsx @@ -4,7 +4,7 @@ import BaseControl from "./BaseControl"; import type { DropdownOption } from "components/constants"; import { KeyValueComponent } from "./KeyValueComponent"; import { isDynamicValue } from "utils/DynamicBindingUtils"; -import type { SegmentedControlOption } from "design-system"; +import type { SegmentedControlOption } from "@appsmith/ads"; class OptionControl extends BaseControl { render() { diff --git a/app/client/src/components/propertyControls/PrimaryColumnDropdownControl.tsx b/app/client/src/components/propertyControls/PrimaryColumnDropdownControl.tsx index 5ad4714548db..07bfe52a730d 100644 --- a/app/client/src/components/propertyControls/PrimaryColumnDropdownControl.tsx +++ b/app/client/src/components/propertyControls/PrimaryColumnDropdownControl.tsx @@ -2,8 +2,8 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; import type { ColumnProperties } from "widgets/TableWidget/component/Constants"; -import type { SegmentedControlOption } from "design-system"; -import { Select, Option } from "design-system"; +import type { SegmentedControlOption } from "@appsmith/ads"; +import { Select, Option } from "@appsmith/ads"; import type { DSEventDetail } from "utils/AppsmithUtils"; import { DSEventTypes, diff --git a/app/client/src/components/propertyControls/PrimaryColumnsControl.tsx b/app/client/src/components/propertyControls/PrimaryColumnsControl.tsx index ad98a59d2b57..fa5a267414b4 100644 --- a/app/client/src/components/propertyControls/PrimaryColumnsControl.tsx +++ b/app/client/src/components/propertyControls/PrimaryColumnsControl.tsx @@ -1,5 +1,5 @@ import React, { Component } from "react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { connect } from "react-redux"; import type { Placement } from "popper.js"; import * as Sentry from "@sentry/react"; @@ -24,7 +24,7 @@ import { getEvalErrorPath } from "utils/DynamicBindingUtils"; import { getNextEntityName } from "utils/AppsmithUtils"; import { DraggableListControl } from "pages/Editor/PropertyPane/DraggableListControl"; import { DraggableListCard } from "components/propertyControls/DraggableListCard"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; interface ReduxStateProps { dynamicData: DataTree; diff --git a/app/client/src/components/propertyControls/PrimaryColumnsControlV2.tsx b/app/client/src/components/propertyControls/PrimaryColumnsControlV2.tsx index b8c5e9ea49f5..f6c061a0f8f2 100644 --- a/app/client/src/components/propertyControls/PrimaryColumnsControlV2.tsx +++ b/app/client/src/components/propertyControls/PrimaryColumnsControlV2.tsx @@ -1,11 +1,11 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import * as Sentry from "@sentry/react"; import type { CodeEditorExpected } from "components/editorComponents/CodeEditor"; import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import EvaluatedValuePopup from "components/editorComponents/CodeEditor/EvaluatedValuePopup"; import { DraggableListCard } from "components/propertyControls/DraggableListCard"; import type { Indices } from "constants/Layers"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import _, { toString as lodashToString } from "lodash"; import { DraggableListControl } from "pages/Editor/PropertyPane/DraggableListControl"; diff --git a/app/client/src/components/propertyControls/PrimaryColumnsControlWDS.tsx b/app/client/src/components/propertyControls/PrimaryColumnsControlWDS.tsx index 0a44c81dba52..d6a6988b8ca2 100644 --- a/app/client/src/components/propertyControls/PrimaryColumnsControlWDS.tsx +++ b/app/client/src/components/propertyControls/PrimaryColumnsControlWDS.tsx @@ -1,5 +1,5 @@ import React, { Component } from "react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { connect } from "react-redux"; import type { Placement } from "popper.js"; import * as Sentry from "@sentry/react"; diff --git a/app/client/src/components/propertyControls/StepControl.tsx b/app/client/src/components/propertyControls/StepControl.tsx index 83e74136cbd0..64377023fab9 100644 --- a/app/client/src/components/propertyControls/StepControl.tsx +++ b/app/client/src/components/propertyControls/StepControl.tsx @@ -1,7 +1,7 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { NumberInput } from "design-system"; +import { NumberInput } from "@appsmith/ads"; import type { DSEventDetail } from "utils/AppsmithUtils"; import { DSEventTypes, diff --git a/app/client/src/components/propertyControls/StyledControls.tsx b/app/client/src/components/propertyControls/StyledControls.tsx index 7a13720d114c..2c242443938d 100644 --- a/app/client/src/components/propertyControls/StyledControls.tsx +++ b/app/client/src/components/propertyControls/StyledControls.tsx @@ -1,8 +1,8 @@ import * as React from "react"; import styled from "styled-components"; -import type { TextInputProps } from "design-system-old"; +import type { TextInputProps } from "@appsmith/ads-old"; import type { ContainerOrientation } from "constants/WidgetConstants"; -import { Input, Icon } from "design-system"; +import { Input, Icon } from "@appsmith/ads"; import useInteractionAnalyticsEvent from "utils/hooks/useInteractionAnalyticsEvent"; interface ControlWrapperProps { diff --git a/app/client/src/components/propertyControls/SwitchControl.tsx b/app/client/src/components/propertyControls/SwitchControl.tsx index 51942b9b826e..50d661e9b581 100644 --- a/app/client/src/components/propertyControls/SwitchControl.tsx +++ b/app/client/src/components/propertyControls/SwitchControl.tsx @@ -2,7 +2,7 @@ import React from "react"; import styled from "styled-components"; import type { ControlData, ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { Switch } from "design-system"; +import { Switch } from "@appsmith/ads"; import type { DSEventDetail } from "utils/AppsmithUtils"; import { DSEventTypes, diff --git a/app/client/src/components/propertyControls/TabControl.tsx b/app/client/src/components/propertyControls/TabControl.tsx index 352cb1ff51e6..397bfbc94df0 100644 --- a/app/client/src/components/propertyControls/TabControl.tsx +++ b/app/client/src/components/propertyControls/TabControl.tsx @@ -12,10 +12,10 @@ import includes from "lodash/includes"; import map from "lodash/map"; import * as Sentry from "@sentry/react"; import { useDispatch } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { DraggableListControl } from "pages/Editor/PropertyPane/DraggableListControl"; import { DraggableListCard } from "components/propertyControls/DraggableListCard"; -import { Button, Tag } from "design-system"; +import { Button, Tag } from "@appsmith/ads"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/components/propertyControls/TableInlineEditValidPropertyControl.tsx b/app/client/src/components/propertyControls/TableInlineEditValidPropertyControl.tsx index daeab159cd13..ea38a3c6fddd 100644 --- a/app/client/src/components/propertyControls/TableInlineEditValidPropertyControl.tsx +++ b/app/client/src/components/propertyControls/TableInlineEditValidPropertyControl.tsx @@ -16,7 +16,7 @@ import { JSToString, stringToJS } from "./utils"; import { createMessage, TABLE_WIDGET_VALIDATION_ASSIST_PROMPT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const bindingPrefix = `{{ ( diff --git a/app/client/src/components/propertyControls/TableInlineEditValidationControl.tsx b/app/client/src/components/propertyControls/TableInlineEditValidationControl.tsx index 799b57d97fcc..0205b0070c85 100644 --- a/app/client/src/components/propertyControls/TableInlineEditValidationControl.tsx +++ b/app/client/src/components/propertyControls/TableInlineEditValidationControl.tsx @@ -23,7 +23,7 @@ import { import { createMessage, TABLE_WIDGET_VALIDATION_ASSIST_PROMPT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { bindingHintHelper } from "components/editorComponents/CodeEditor/hintHelpers"; import { slashCommandHintHelper } from "components/editorComponents/CodeEditor/commandsHelper"; diff --git a/app/client/src/components/propertyControls/ToolbarButtonListControl.tsx b/app/client/src/components/propertyControls/ToolbarButtonListControl.tsx index 57205c587f90..33d2c229ad73 100644 --- a/app/client/src/components/propertyControls/ToolbarButtonListControl.tsx +++ b/app/client/src/components/propertyControls/ToolbarButtonListControl.tsx @@ -3,7 +3,7 @@ import { generateReactKey } from "utils/generators"; import { createMessage, BUTTON_WIDGET_DEFAULT_LABEL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import ButtonListControl from "./ButtonListControl"; class ToolbarButtonListControl extends ButtonListControl { diff --git a/app/client/src/components/propertyControls/ZoneStepperControl.tsx b/app/client/src/components/propertyControls/ZoneStepperControl.tsx index 31cdc7990d39..af5dd2ac3f3a 100644 --- a/app/client/src/components/propertyControls/ZoneStepperControl.tsx +++ b/app/client/src/components/propertyControls/ZoneStepperControl.tsx @@ -1,7 +1,7 @@ import React from "react"; import type { ControlProps } from "./BaseControl"; import BaseControl from "./BaseControl"; -import { NumberInput } from "design-system"; +import { NumberInput } from "@appsmith/ads"; import type { DSEventDetail } from "utils/AppsmithUtils"; import { DSEventTypes, @@ -14,7 +14,7 @@ import { MAX_ZONE_COUNT, MIN_ZONE_COUNT, } from "layoutSystems/anvil/utils/constants"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; const ZoneNumInput = React.forwardRef( ( diff --git a/app/client/src/components/utils/CollapseComponent.tsx b/app/client/src/components/utils/CollapseComponent.tsx index 6bfcf4465bc2..36a40d0e6e3e 100644 --- a/app/client/src/components/utils/CollapseComponent.tsx +++ b/app/client/src/components/utils/CollapseComponent.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import { Collapse } from "@blueprintjs/core"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const CollapseWrapper = styled.div` position: relative; diff --git a/app/client/src/components/utils/NameEditorComponent.tsx b/app/client/src/components/utils/NameEditorComponent.tsx index a5cf90cc297b..bfbcdaec1a47 100644 --- a/app/client/src/components/utils/NameEditorComponent.tsx +++ b/app/client/src/components/utils/NameEditorComponent.tsx @@ -1,14 +1,14 @@ import { useEffect, useState, useCallback, memo } from "react"; import { useSelector, useDispatch, shallowEqual } from "react-redux"; import { isNameValid } from "utils/helpers"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import log from "loglevel"; import { getUsedActionNames } from "selectors/actionSelectors"; import { ACTION_INVALID_NAME_ERROR, ACTION_NAME_CONFLICT_ERROR, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled from "styled-components"; import { Classes } from "@blueprintjs/core"; diff --git a/app/client/src/components/utils/ReduxFormTextField.tsx b/app/client/src/components/utils/ReduxFormTextField.tsx index f8b47b391b45..e62af752574b 100644 --- a/app/client/src/components/utils/ReduxFormTextField.tsx +++ b/app/client/src/components/utils/ReduxFormTextField.tsx @@ -1,11 +1,11 @@ import React from "react"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import { Field } from "redux-form"; -import type { InputType } from "design-system-old"; -import { Input, NumberInput } from "design-system"; +import type { InputType } from "@appsmith/ads-old"; +import { Input, NumberInput } from "@appsmith/ads"; import type { Intent } from "constants/DefaultTheme"; -import { SettingSubtype } from "@appsmith/pages/AdminSettings/config/types"; +import { SettingSubtype } from "ee/pages/AdminSettings/config/types"; import { omit } from "lodash"; const renderComponent = ( diff --git a/app/client/src/components/utils/formComponents.tsx b/app/client/src/components/utils/formComponents.tsx index 5e5b114e72fd..1cd96e7797af 100644 --- a/app/client/src/components/utils/formComponents.tsx +++ b/app/client/src/components/utils/formComponents.tsx @@ -1,4 +1,4 @@ -import { Menu } from "design-system"; +import { Menu } from "@appsmith/ads"; import styled from "styled-components"; export const MenuWrapper = styled.div` diff --git a/app/client/src/components/utils/helperComponents.tsx b/app/client/src/components/utils/helperComponents.tsx index 9376d9c5e33a..95a49683dc49 100644 --- a/app/client/src/components/utils/helperComponents.tsx +++ b/app/client/src/components/utils/helperComponents.tsx @@ -2,7 +2,7 @@ import React from "react"; import styled, { createGlobalStyle } from "styled-components"; import { useHistory } from "react-router-dom"; import { truncateTextUsingEllipsis } from "constants/DefaultTheme"; -import { Link, Text } from "design-system"; +import { Link, Text } from "@appsmith/ads"; export const HelpPopoverStyle = createGlobalStyle` .bp3-portal { diff --git a/app/client/src/config.d.ts b/app/client/src/config.d.ts index 10dae9d9bf7f..066da11c0d1a 100644 --- a/app/client/src/config.d.ts +++ b/app/client/src/config.d.ts @@ -1,5 +1,5 @@ import "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; declare module "react-redux" { // We want the DefaultRootState interface to be the AppState interface diff --git a/app/client/src/constants/ApiEditorConstants/ApiEditorConstants.ts b/app/client/src/constants/ApiEditorConstants/ApiEditorConstants.ts index d31fda438f94..f1b1f7399464 100644 --- a/app/client/src/constants/ApiEditorConstants/ApiEditorConstants.ts +++ b/app/client/src/constants/ApiEditorConstants/ApiEditorConstants.ts @@ -1,5 +1,5 @@ import type { ApiActionConfig } from "entities/Action"; -import { DEFAULT_ACTION_TIMEOUT } from "@appsmith/constants/ApiConstants"; +import { DEFAULT_ACTION_TIMEOUT } from "ee/constants/ApiConstants"; import { HTTP_METHOD, EMPTY_KEY_VALUE_PAIRS, diff --git a/app/client/src/constants/ApiEditorConstants/AppsmithAIEditorConstants.ts b/app/client/src/constants/ApiEditorConstants/AppsmithAIEditorConstants.ts index 18ff9bd65aba..1ca485de69ee 100644 --- a/app/client/src/constants/ApiEditorConstants/AppsmithAIEditorConstants.ts +++ b/app/client/src/constants/ApiEditorConstants/AppsmithAIEditorConstants.ts @@ -1,4 +1,4 @@ -import { DEFAULT_APPSMITH_AI_QUERY_TIMEOUT_MS } from "@appsmith/constants/ApiConstants"; +import { DEFAULT_APPSMITH_AI_QUERY_TIMEOUT_MS } from "ee/constants/ApiConstants"; import type { ActionConfig } from "entities/Action"; // Appsmith AI Default Config diff --git a/app/client/src/constants/ApiEditorConstants/GraphQLEditorConstants.ts b/app/client/src/constants/ApiEditorConstants/GraphQLEditorConstants.ts index 33c0a696e232..41f65014a05a 100644 --- a/app/client/src/constants/ApiEditorConstants/GraphQLEditorConstants.ts +++ b/app/client/src/constants/ApiEditorConstants/GraphQLEditorConstants.ts @@ -1,5 +1,5 @@ import type { ApiActionConfig } from "entities/Action"; -import { DEFAULT_ACTION_TIMEOUT } from "@appsmith/constants/ApiConstants"; +import { DEFAULT_ACTION_TIMEOUT } from "ee/constants/ApiConstants"; import { CONTENT_TYPE_HEADER_KEY, EMPTY_KEY_VALUE_PAIRS, diff --git a/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx b/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx index 76f01cb9b8b5..912eaa8aabbb 100644 --- a/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx +++ b/app/client/src/constants/AppsmithActionConstants/ActionConstants.tsx @@ -7,7 +7,7 @@ import apiActionEditorConfig from "constants/AppsmithActionConstants/formConfig/ import saasActionSettingsConfig from "constants/AppsmithActionConstants/formConfig/GoogleSheetsSettingsConfig"; import apiActionDependencyConfig from "constants/AppsmithActionConstants/formConfig/ApiDependencyConfigs"; import apiActionDatasourceFormButtonConfig from "constants/AppsmithActionConstants/formConfig/ApiDatasourceFormsButtonConfig"; -import type { EntityTypeValue } from "@appsmith/entities/DataTree/types"; +import type { EntityTypeValue } from "ee/entities/DataTree/types"; export interface ExecuteActionPayloadEvent { type: EventType; diff --git a/app/client/src/constants/AppsmithActionConstants/formConfig/ApiSettingsConfig.ts b/app/client/src/constants/AppsmithActionConstants/formConfig/ApiSettingsConfig.ts index ae6228f29af4..927e5fdc9211 100644 --- a/app/client/src/constants/AppsmithActionConstants/formConfig/ApiSettingsConfig.ts +++ b/app/client/src/constants/AppsmithActionConstants/formConfig/ApiSettingsConfig.ts @@ -1,7 +1,7 @@ import { HTTP_PROTOCOL_INPUT_PLACEHOLDER, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { HTTP_PROTOCOL, HTTP_PROTOCOL_VERSIONS, diff --git a/app/client/src/constants/DefaultTheme.tsx b/app/client/src/constants/DefaultTheme.tsx index f8245f2ff38a..bbfbbf7e02c1 100644 --- a/app/client/src/constants/DefaultTheme.tsx +++ b/app/client/src/constants/DefaultTheme.tsx @@ -12,7 +12,7 @@ import { TABLE_SCROLLBAR_HEIGHT, TABLE_SCROLLBAR_WIDTH, } from "widgets/TableWidgetV2/component/Constants"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import React from "react"; export type FontFamily = (typeof FontFamilies)[keyof typeof FontFamilies]; diff --git a/app/client/src/constants/DocumentationLinks.ts b/app/client/src/constants/DocumentationLinks.ts index 2f243dba14cb..4f9aaa644c6a 100644 --- a/app/client/src/constants/DocumentationLinks.ts +++ b/app/client/src/constants/DocumentationLinks.ts @@ -1,4 +1,4 @@ -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; export enum DocsLink { CAPTURE_DATA = "CAPTURE_DATA", diff --git a/app/client/src/constants/ImagesURL.ts b/app/client/src/constants/ImagesURL.ts index 7eec9419d6b6..6fc6e9ba806d 100644 --- a/app/client/src/constants/ImagesURL.ts +++ b/app/client/src/constants/ImagesURL.ts @@ -1,5 +1,5 @@ import { ASSETS_CDN_URL } from "./ThirdPartyConstants"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; export const getInfoThumbnail = () => getAssetUrl(`${ASSETS_CDN_URL}/crud/crud_info_thumbnail.png`); diff --git a/app/client/src/constants/PropertyControlConstants.tsx b/app/client/src/constants/PropertyControlConstants.tsx index 6075b023503e..d6955b7754c8 100644 --- a/app/client/src/constants/PropertyControlConstants.tsx +++ b/app/client/src/constants/PropertyControlConstants.tsx @@ -8,7 +8,7 @@ import type { CodeEditorExpected } from "components/editorComponents/CodeEditor" import type { UpdateWidgetPropertyPayload } from "actions/controlActions"; import type { AdditionalDynamicDataTree } from "utils/autocomplete/customTreeTypeDefCreator"; import type { Stylesheet } from "entities/AppTheming"; -import type { ReduxActionType } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxActionType } from "ee/constants/ReduxActionConstants"; import type { PropertyUpdates } from "WidgetProvider/constants"; import type { WidgetProps } from "widgets/BaseWidget"; diff --git a/app/client/src/constants/routes.test.ts b/app/client/src/constants/routes.test.ts index 08e16266ddf0..be968c41ff68 100644 --- a/app/client/src/constants/routes.test.ts +++ b/app/client/src/constants/routes.test.ts @@ -1,5 +1,5 @@ -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; describe("builderURL", () => { let location: typeof window.location; diff --git a/app/client/src/constants/routes/index.ts b/app/client/src/constants/routes/index.ts index bd7bef50303d..53e82b720937 100644 --- a/app/client/src/constants/routes/index.ts +++ b/app/client/src/constants/routes/index.ts @@ -1,2 +1,2 @@ export * from "./baseRoutes"; -export * from "@appsmith/constants/routes/appRoutes"; +export * from "ee/constants/routes/appRoutes"; diff --git a/app/client/src/ee/sagas/ApplicationSagas.tsx b/app/client/src/ee/sagas/ApplicationSagas.tsx index 92a47483d23b..adc40a74c684 100644 --- a/app/client/src/ee/sagas/ApplicationSagas.tsx +++ b/app/client/src/ee/sagas/ApplicationSagas.tsx @@ -18,7 +18,7 @@ import { deleteNavigationLogoSaga, fetchAllApplicationsOfWorkspaceSaga, } from "ce/sagas/ApplicationSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { all, takeLatest } from "redux-saga/effects"; export default function* applicationSagas() { diff --git a/app/client/src/ee/sagas/JSActionSagas.ts b/app/client/src/ee/sagas/JSActionSagas.ts index 25a8e38acde0..e024e9c297e8 100644 --- a/app/client/src/ee/sagas/JSActionSagas.ts +++ b/app/client/src/ee/sagas/JSActionSagas.ts @@ -2,7 +2,7 @@ export * from "ce/sagas/JSActionSagas"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { fetchJSCollectionsSaga, createJSCollectionSaga, diff --git a/app/client/src/ee/sagas/PageSagas.tsx b/app/client/src/ee/sagas/PageSagas.tsx index 6a4ba27df100..2f52077ca52a 100644 --- a/app/client/src/ee/sagas/PageSagas.tsx +++ b/app/client/src/ee/sagas/PageSagas.tsx @@ -1,5 +1,5 @@ export * from "ce/sagas/PageSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { fetchPageSaga, fetchPublishedPageSaga, diff --git a/app/client/src/ee/sagas/SuperUserSagas.tsx b/app/client/src/ee/sagas/SuperUserSagas.tsx index 3f9184157c2b..3598a0754c38 100644 --- a/app/client/src/ee/sagas/SuperUserSagas.tsx +++ b/app/client/src/ee/sagas/SuperUserSagas.tsx @@ -7,14 +7,14 @@ import { RestryRestartServerPoll, SendTestEmail, } from "ce/sagas/SuperUserSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { User } from "constants/userConstants"; import { takeLatest, all, select } from "redux-saga/effects"; import { getCurrentUser } from "selectors/usersSelectors"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; -import { getShowAdminSettings } from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { isGACEnabled } from "ee/utils/planHelpers"; +import { getShowAdminSettings } from "ee/utils/BusinessFeatures/adminSettingsHelpers"; export function* InitSuperUserSaga() { const user: User = yield select(getCurrentUser); diff --git a/app/client/src/ee/sagas/WorkspaceSagas.ts b/app/client/src/ee/sagas/WorkspaceSagas.ts index fd321e5d3458..b8fa0dc5aaf5 100644 --- a/app/client/src/ee/sagas/WorkspaceSagas.ts +++ b/app/client/src/ee/sagas/WorkspaceSagas.ts @@ -14,7 +14,7 @@ import { searchWorkspaceEntitiesSaga, fetchEntitiesOfWorkspaceSaga, } from "ce/sagas/WorkspaceSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { all, takeLatest } from "redux-saga/effects"; export default function* workspaceSagas() { diff --git a/app/client/src/ee/sagas/index.tsx b/app/client/src/ee/sagas/index.tsx index 8ae5d346e989..c67390ee0b3b 100644 --- a/app/client/src/ee/sagas/index.tsx +++ b/app/client/src/ee/sagas/index.tsx @@ -1,6 +1,6 @@ export * from "ce/sagas"; import { sagas as CE_Sagas } from "ce/sagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { call, all, spawn, race, take } from "redux-saga/effects"; import log from "loglevel"; import * as sentry from "@sentry/react"; diff --git a/app/client/src/ee/sagas/tenantSagas.tsx b/app/client/src/ee/sagas/tenantSagas.tsx index 2fd732ab8bec..53ca8398e7e7 100644 --- a/app/client/src/ee/sagas/tenantSagas.tsx +++ b/app/client/src/ee/sagas/tenantSagas.tsx @@ -1,5 +1,5 @@ export * from "ce/sagas/tenantSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { fetchCurrentTenantConfigSaga, updateTenantConfigSaga, diff --git a/app/client/src/ee/sagas/userSagas.tsx b/app/client/src/ee/sagas/userSagas.tsx index 6c0b074aaebb..8682e062475d 100644 --- a/app/client/src/ee/sagas/userSagas.tsx +++ b/app/client/src/ee/sagas/userSagas.tsx @@ -18,7 +18,7 @@ import { updateFirstTimeUserOnboardingSage, fetchProductAlertSaga, } from "ce/sagas/userSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { takeLatest, all } from "redux-saga/effects"; export default function* userSagas() { diff --git a/app/client/src/enterprise/README.md b/app/client/src/enterprise/README.md index e50b3ddac32c..ca406778d9b3 100644 --- a/app/client/src/enterprise/README.md +++ b/app/client/src/enterprise/README.md @@ -1,12 +1,12 @@ ## Appsmith EE -We use the `@appsmith` alias to switch files between CE and EE to avoid conflicts +We use the `ee` alias to switch files between CE and EE to avoid conflicts during regular merging. Steps to change something for the EE version of app - For the functionality you want to change the import statement in its consumers - to include the `@appsmith` import in the _CE repo_. For eg if you want to update the ApplicationCard + to include the `ee` import in the _CE repo_. For eg if you want to update the ApplicationCard component will update this file of ApplicationList component. _FROM_ @@ -26,7 +26,7 @@ Steps to change something for the EE version of app ```typescript // ApplicationList.tsx - import ApplicationCard from "@appsmith/pages/Applications/ApplicationCard"; + import ApplicationCard from "ee/pages/Applications/ApplicationCard"; ``` - Create a new file inside the _EE repo_ called ApplicationCard with the same path @@ -42,4 +42,4 @@ update will be crucial. You should keep the following points in mind: - All the consumers of the file will need it's expected exports. - You can import from the CE file and reexport from your EE if no changes are expected. - The types of component props if different will cause problems in the component declaration and use. - You can export that out these props into the `@appsmith` space to avoid this problem by reimplementing them in EE. + You can export that out these props into the `ee` space to avoid this problem by reimplementing them in EE. diff --git a/app/client/src/entities/Action/index.ts b/app/client/src/entities/Action/index.ts index 96616d4d1d3e..6174e6c33a75 100644 --- a/app/client/src/entities/Action/index.ts +++ b/app/client/src/entities/Action/index.ts @@ -4,8 +4,8 @@ import _ from "lodash"; import type { LayoutOnLoadActionErrors } from "constants/AppsmithActionConstants/ActionConstants"; import type { Plugin } from "api/PluginApi"; import type { AutoGeneratedHeader } from "pages/Editor/APIEditor/helpers"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; export enum PluginType { API = "API", diff --git a/app/client/src/entities/AppsmithConsole/index.ts b/app/client/src/entities/AppsmithConsole/index.ts index 559fad086c3a..0692a902d974 100644 --- a/app/client/src/entities/AppsmithConsole/index.ts +++ b/app/client/src/entities/AppsmithConsole/index.ts @@ -1,4 +1,4 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type LOG_TYPE from "./logtype"; import type { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; import type { PluginType } from "entities/Action"; @@ -6,7 +6,7 @@ import type { HTTP_METHOD } from "constants/ApiEditorConstants/CommonApiConstant import type { ENTITY_TYPE, PLATFORM_ERROR, -} from "@appsmith/entities/AppsmithConsole/utils"; +} from "ee/entities/AppsmithConsole/utils"; export type Methods = | "log" diff --git a/app/client/src/entities/DataTree/dataTreeFactory.ts b/app/client/src/entities/DataTree/dataTreeFactory.ts index 92773fd152df..8aab3f64ad61 100644 --- a/app/client/src/entities/DataTree/dataTreeFactory.ts +++ b/app/client/src/entities/DataTree/dataTreeFactory.ts @@ -1,24 +1,24 @@ -import { generateDataTreeAction } from "@appsmith/entities/DataTree/dataTreeAction"; -import { generateDataTreeJSAction } from "@appsmith/entities/DataTree/dataTreeJSAction"; +import { generateDataTreeAction } from "ee/entities/DataTree/dataTreeAction"; +import { generateDataTreeJSAction } from "ee/entities/DataTree/dataTreeJSAction"; import { generateDataTreeWidget } from "entities/DataTree/dataTreeWidget"; import log from "loglevel"; import { ENTITY_TYPE, EvaluationSubstitutionType, -} from "@appsmith/entities/DataTree/types"; -import { generateDataTreeModuleInputs } from "@appsmith/entities/DataTree/utils"; +} from "ee/entities/DataTree/types"; +import { generateDataTreeModuleInputs } from "ee/entities/DataTree/utils"; import type { DataTreeSeed, AppsmithEntity, EntityTypeValue, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { unEvalAndConfigTree, ConfigTree, UnEvalTree, } from "entities/DataTree/dataTreeTypes"; import { isEmpty } from "lodash"; -import { generateModuleInstance } from "@appsmith/entities/DataTree/dataTreeModuleInstance"; +import { generateModuleInstance } from "ee/entities/DataTree/dataTreeModuleInstance"; import { endSpan, startNestedSpan, diff --git a/app/client/src/entities/DataTree/dataTreeTypes.ts b/app/client/src/entities/DataTree/dataTreeTypes.ts index 47566d3729b5..8758e18bb1d5 100644 --- a/app/client/src/entities/DataTree/dataTreeTypes.ts +++ b/app/client/src/entities/DataTree/dataTreeTypes.ts @@ -3,7 +3,7 @@ import type { DataTreeEntityObject, UnEvalTreeEntityObject, AppsmithEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; export interface unEvalAndConfigTree { unEvalTree: UnEvalTree; diff --git a/app/client/src/entities/DataTree/dataTreeWidget.ts b/app/client/src/entities/DataTree/dataTreeWidget.ts index a0a867dd1eff..e5592f6ce1b1 100644 --- a/app/client/src/entities/DataTree/dataTreeWidget.ts +++ b/app/client/src/entities/DataTree/dataTreeWidget.ts @@ -7,15 +7,15 @@ import { getEntityDynamicBindingPathList } from "utils/DynamicBindingUtils"; import type { WidgetEntityConfig, WidgetEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { ENTITY_TYPE } from "./dataTreeFactory"; import type { OverridingPropertyPaths, PropertyOverrideDependency, -} from "@appsmith/entities/DataTree/types"; -import { OverridingPropertyType } from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; +import { OverridingPropertyType } from "ee/entities/DataTree/types"; -import { setOverridingProperty } from "@appsmith/entities/DataTree/utils"; +import { setOverridingProperty } from "ee/entities/DataTree/utils"; import { error } from "loglevel"; import WidgetFactory from "WidgetProvider/factory"; import { getComponentDimensions } from "layoutSystems/common/utils/ComponentSizeUtils"; diff --git a/app/client/src/entities/DependencyMap/DependencyMapUtils.ts b/app/client/src/entities/DependencyMap/DependencyMapUtils.ts index dff8e1b964b5..648814575d54 100644 --- a/app/client/src/entities/DependencyMap/DependencyMapUtils.ts +++ b/app/client/src/entities/DependencyMap/DependencyMapUtils.ts @@ -1,6 +1,6 @@ import toposort from "toposort"; import type DependencyMap from "."; -import { IMMEDIATE_PARENT_REGEX } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { IMMEDIATE_PARENT_REGEX } from "ee/workers/Evaluation/evaluationUtils"; type SortDependencies = | { diff --git a/app/client/src/entities/Engine/AppEditorEngine.ts b/app/client/src/entities/Engine/AppEditorEngine.ts index 07b12c0cd472..b4b7c6c68f56 100644 --- a/app/client/src/entities/Engine/AppEditorEngine.ts +++ b/app/client/src/entities/Engine/AppEditorEngine.ts @@ -19,11 +19,11 @@ import { fetchActions, } from "actions/pluginActionActions"; import { fetchPluginFormConfigs } from "actions/pluginActions"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { addBranchParam } from "constants/routes"; import type { APP_MODE } from "entities/App"; import { call, fork, put, select, spawn } from "redux-saga/effects"; @@ -34,7 +34,7 @@ import { waitForWidgetConfigBuild, } from "sagas/InitSagas"; import { getCurrentGitBranch } from "selectors/gitSyncSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import history from "utils/history"; import PerformanceTracker, { PerformanceTransactionName, @@ -50,25 +50,25 @@ import CodemirrorTernService from "utils/autocomplete/CodemirrorTernService"; import { waitForSegmentInit, waitForFetchUserSuccess, -} from "@appsmith/sagas/userSagas"; +} from "ee/sagas/userSagas"; import { getFirstTimeUserOnboardingComplete } from "selectors/onboardingSelectors"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { getAIPromptTriggered } from "utils/storage"; import { trackOpenEditorTabs } from "../../utils/editor/browserTabsTracking"; import { EditorModes } from "components/editorComponents/CodeEditor/EditorConfig"; -import { waitForFetchEnvironments } from "@appsmith/sagas/EnvironmentSagas"; -import { getPageDependencyActions } from "@appsmith/entities/Engine/actionHelpers"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { waitForFetchEnvironments } from "ee/sagas/EnvironmentSagas"; +import { getPageDependencyActions } from "ee/entities/Engine/actionHelpers"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getFeatureFlagsForEngine, type DependentFeatureFlags, -} from "@appsmith/selectors/engineSelectors"; +} from "ee/selectors/engineSelectors"; import { fetchJSCollections } from "actions/jsActionActions"; import { fetchAppThemesAction, fetchSelectedAppThemeAction, } from "actions/appThemingActions"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import type { Span } from "@opentelemetry/api"; import { endSpan, startNestedSpan } from "UITelemetry/generateTraces"; diff --git a/app/client/src/entities/Engine/AppViewerEngine.ts b/app/client/src/entities/Engine/AppViewerEngine.ts index 63f9cd23a18c..4214c4bb1d07 100644 --- a/app/client/src/entities/Engine/AppViewerEngine.ts +++ b/app/client/src/entities/Engine/AppViewerEngine.ts @@ -9,7 +9,7 @@ import { import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { APP_MODE } from "entities/App"; import { call, put, spawn } from "redux-saga/effects"; import type { DeployConsolidatedApi } from "sagas/InitSagas"; @@ -27,8 +27,8 @@ import { fetchJSLibraries } from "actions/JSLibraryActions"; import { waitForSegmentInit, waitForFetchUserSuccess, -} from "@appsmith/sagas/userSagas"; -import { waitForFetchEnvironments } from "@appsmith/sagas/EnvironmentSagas"; +} from "ee/sagas/userSagas"; +import { waitForFetchEnvironments } from "ee/sagas/EnvironmentSagas"; import { fetchJSCollectionsForView } from "actions/jsActionActions"; import { fetchAppThemesAction, diff --git a/app/client/src/entities/Engine/index.ts b/app/client/src/entities/Engine/index.ts index 9900b1d6f161..33c5e1ed19c1 100644 --- a/app/client/src/entities/Engine/index.ts +++ b/app/client/src/entities/Engine/index.ts @@ -1,10 +1,10 @@ -import { fetchApplication } from "@appsmith/actions/applicationActions"; +import { fetchApplication } from "ee/actions/applicationActions"; import { setAppMode, updateAppStore } from "actions/pageActions"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { getPersistentAppStore } from "constants/AppConstants"; import type { APP_MODE } from "entities/App"; import log from "loglevel"; @@ -12,7 +12,7 @@ import { call, put, select } from "redux-saga/effects"; import type { InitConsolidatedApi } from "sagas/InitSagas"; import { failFastApiCalls } from "sagas/InitSagas"; import { getDefaultBasePageId, getDefaultPageId } from "sagas/selectors"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import history from "utils/history"; import type URLRedirect from "entities/URLRedirect/index"; import URLGeneratorFactory from "entities/URLRedirect/factory"; diff --git a/app/client/src/entities/JSCollection/index.ts b/app/client/src/entities/JSCollection/index.ts index e37d26dae185..a01ea37852e7 100644 --- a/app/client/src/entities/JSCollection/index.ts +++ b/app/client/src/entities/JSCollection/index.ts @@ -1,7 +1,7 @@ import type { BaseAction } from "../Action"; import type { PluginType } from "entities/Action"; import type { LayoutOnLoadActionErrors } from "constants/AppsmithActionConstants/ActionConstants"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; export interface Variable { name: string; diff --git a/app/client/src/entities/Replay/ReplayEntity/ReplayCanvas.ts b/app/client/src/entities/Replay/ReplayEntity/ReplayCanvas.ts index ea7c9d7d5a06..9a19faf5abdd 100644 --- a/app/client/src/entities/Replay/ReplayEntity/ReplayCanvas.ts +++ b/app/client/src/entities/Replay/ReplayEntity/ReplayCanvas.ts @@ -11,7 +11,7 @@ import { WIDGETS, } from "../replayUtils"; import type { AppTheme } from "entities/AppTheming"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; export interface Canvas { widgets: CanvasWidgetsReduxState; diff --git a/app/client/src/entities/Replay/ReplayEntity/ReplayEditor.ts b/app/client/src/entities/Replay/ReplayEntity/ReplayEditor.ts index c184162c4a27..334c0eb6e170 100644 --- a/app/client/src/entities/Replay/ReplayEntity/ReplayEditor.ts +++ b/app/client/src/entities/Replay/ReplayEntity/ReplayEditor.ts @@ -4,7 +4,7 @@ import ReplayEntity from ".."; import { pathArrayToString } from "../replayUtils"; import type { JSActionConfig } from "entities/JSCollection"; import type { Datasource } from "entities/Datasource"; -import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import isEmpty from "lodash/isEmpty"; import type { Canvas } from "./ReplayCanvas"; diff --git a/app/client/src/entities/Replay/index.ts b/app/client/src/entities/Replay/index.ts index b424a8385d9f..fbf202c4a182 100644 --- a/app/client/src/entities/Replay/index.ts +++ b/app/client/src/entities/Replay/index.ts @@ -4,7 +4,7 @@ import type { Diff } from "deep-diff"; import { diff as deepDiff, applyChange, revertChange } from "deep-diff"; import { getPathsFromDiff } from "./replayUtils"; -import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; const _DIFF_ = "diff"; type ReplayType = "UNDO" | "REDO"; diff --git a/app/client/src/entities/URLRedirect/DefaultURLRedirect.ts b/app/client/src/entities/URLRedirect/DefaultURLRedirect.ts index 836f93000b68..41b0cfa64c5a 100644 --- a/app/client/src/entities/URLRedirect/DefaultURLRedirect.ts +++ b/app/client/src/entities/URLRedirect/DefaultURLRedirect.ts @@ -1,9 +1,9 @@ -import { ApplicationVersion } from "@appsmith/actions/applicationActions"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import { ApplicationVersion } from "ee/actions/applicationActions"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { APP_MODE } from "entities/App"; import { select } from "redux-saga/effects"; -import { builderURL } from "@appsmith/RouteBuilder"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { builderURL } from "ee/RouteBuilder"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import { isURLDeprecated } from "utils/helpers"; import URLRedirect from "."; diff --git a/app/client/src/entities/URLRedirect/SlugURLRedirect.ts b/app/client/src/entities/URLRedirect/SlugURLRedirect.ts index 329d4b8ef12c..19b3baa42291 100644 --- a/app/client/src/entities/URLRedirect/SlugURLRedirect.ts +++ b/app/client/src/entities/URLRedirect/SlugURLRedirect.ts @@ -1,11 +1,11 @@ import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { APP_MODE } from "entities/App"; import { select } from "redux-saga/effects"; -import { fillPathname, viewerURL } from "@appsmith/RouteBuilder"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { fillPathname, viewerURL } from "ee/RouteBuilder"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import { getPageByBaseId } from "selectors/editorSelectors"; import { getUpdatedRoute, isURLDeprecated } from "utils/helpers"; import URLRedirect from "."; diff --git a/app/client/src/entities/URLRedirect/factory.ts b/app/client/src/entities/URLRedirect/factory.ts index dacab56d1031..ba4077687901 100644 --- a/app/client/src/entities/URLRedirect/factory.ts +++ b/app/client/src/entities/URLRedirect/factory.ts @@ -1,4 +1,4 @@ -import { ApplicationVersion } from "@appsmith/actions/applicationActions"; +import { ApplicationVersion } from "ee/actions/applicationActions"; import type { APP_MODE } from "entities/App"; import DefaultURLRedirect from "./DefaultURLRedirect"; import { SlugURLRedirect } from "./SlugURLRedirect"; diff --git a/app/client/src/icons/AlertIcons.tsx b/app/client/src/icons/AlertIcons.tsx index ded896b80283..a68d72a44ed3 100644 --- a/app/client/src/icons/AlertIcons.tsx +++ b/app/client/src/icons/AlertIcons.tsx @@ -2,7 +2,7 @@ import type { JSXElementConstructor } from "react"; import React from "react"; import type { IconProps } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const InfoIcon = importSvg(async () => import("assets/icons/alert/info.svg")); const SuccessIcon = importSvg( diff --git a/app/client/src/icons/ControlIcons.tsx b/app/client/src/icons/ControlIcons.tsx index 9c33bb6e73f3..8e1fdf332343 100644 --- a/app/client/src/icons/ControlIcons.tsx +++ b/app/client/src/icons/ControlIcons.tsx @@ -2,7 +2,7 @@ import type { JSXElementConstructor } from "react"; import React from "react"; -import { importRemixIcon, importSvg } from "design-system-old"; +import { importRemixIcon, importSvg } from "@appsmith/ads-old"; import type { IconProps } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants"; import PlayIcon from "assets/icons/control/play-icon.png"; diff --git a/app/client/src/icons/FormIcons.tsx b/app/client/src/icons/FormIcons.tsx index ff1c8d77324c..40488b996b22 100644 --- a/app/client/src/icons/FormIcons.tsx +++ b/app/client/src/icons/FormIcons.tsx @@ -4,7 +4,7 @@ import { Icon } from "@blueprintjs/core"; import { IconNames } from "@blueprintjs/icons"; import type { IconProps } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants"; -import { importRemixIcon, importSvg } from "design-system-old"; +import { importRemixIcon, importSvg } from "@appsmith/ads-old"; const InfoIcon = importSvg( async () => import("assets/icons/form/info-outline.svg"), diff --git a/app/client/src/icons/HeaderIcons.tsx b/app/client/src/icons/HeaderIcons.tsx index 6eaba2615381..5b724edc8d41 100644 --- a/app/client/src/icons/HeaderIcons.tsx +++ b/app/client/src/icons/HeaderIcons.tsx @@ -2,7 +2,7 @@ import type { JSXElementConstructor } from "react"; import React from "react"; import type { IconProps } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants"; -import { importRemixIcon } from "design-system-old"; +import { importRemixIcon } from "@appsmith/ads-old"; const ShareIcon = importRemixIcon( async () => import("remixicon-react/ShareBoxFillIcon"), diff --git a/app/client/src/icons/HelpIcons.tsx b/app/client/src/icons/HelpIcons.tsx index 4ecbdcfea3a5..6d9163b08992 100644 --- a/app/client/src/icons/HelpIcons.tsx +++ b/app/client/src/icons/HelpIcons.tsx @@ -3,7 +3,7 @@ import React from "react"; import type { IconProps } from "constants/IconConstants"; import { IconWrapper } from "constants/IconConstants"; import { Icon } from "@blueprintjs/core"; -import { importRemixIcon, importSvg } from "design-system-old"; +import { importRemixIcon, importSvg } from "@appsmith/ads-old"; const UpdatesIcon = importSvg( async () => import("assets/icons/help/updates.svg"), diff --git a/app/client/src/icons/MenuIcons.tsx b/app/client/src/icons/MenuIcons.tsx index 5571840c6d77..56c1e2fe5f84 100644 --- a/app/client/src/icons/MenuIcons.tsx +++ b/app/client/src/icons/MenuIcons.tsx @@ -4,8 +4,8 @@ import { IconWrapper } from "constants/IconConstants"; import { Icon } from "@blueprintjs/core"; import styled from "styled-components"; import { Colors } from "constants/Colors"; -import { Icon as DSIcon } from "design-system"; -import { importRemixIcon, importSvg } from "design-system-old"; +import { Icon as DSIcon } from "@appsmith/ads"; +import { importRemixIcon, importSvg } from "@appsmith/ads-old"; const ApisIcon = importSvg(async () => import("assets/icons/menu/api.svg")); const WorkspaceIcon = importSvg( diff --git a/app/client/src/index.css b/app/client/src/index.css index 31433c7583c3..9758abf54e07 100755 --- a/app/client/src/index.css +++ b/app/client/src/index.css @@ -5,7 +5,6 @@ @import "theme/defaultTheme.css"; @import "theme/wds.css"; @import "assets/fonts/custom/index.css"; -@import "assets/fonts/google/index.css"; :root { /* TODO: This needs to be fixed! This override is to maintain branding changes. */ diff --git a/app/client/src/index.tsx b/app/client/src/index.tsx index 26f66664cde1..2a950f2c8d5d 100755 --- a/app/client/src/index.tsx +++ b/app/client/src/index.tsx @@ -6,18 +6,18 @@ import "./wdyr"; import ReactDOM from "react-dom"; import { Provider } from "react-redux"; import "./index.css"; -import "design-system-old/src/themes/default/index.css"; -import "design-system/src/__theme__/default/index.css"; +import "@appsmith/ads-old/src/themes/default/index.css"; +import "@appsmith/ads/src/__theme__/default/index.css"; import { ThemeProvider } from "styled-components"; import { appInitializer } from "utils/AppUtils"; import store, { runSagaMiddleware } from "./store"; import { LayersContext, Layers } from "constants/Layers"; -import AppRouter from "@appsmith/AppRouter"; +import AppRouter from "ee/AppRouter"; import * as Sentry from "@sentry/react"; import { getCurrentThemeDetails } from "selectors/themeSelectors"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { Toast } from "design-system"; +import type { AppState } from "ee/reducers"; +import { Toast } from "@appsmith/ads"; import "./assets/styles/index.css"; import "./polyfills"; import GlobalStyles from "globalStyles"; @@ -25,7 +25,7 @@ import GlobalStyles from "globalStyles"; import { setAutoFreeze } from "immer"; import AppErrorBoundary from "./AppErrorBoundry"; import log from "loglevel"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { PageViewTiming } from "@newrelic/browser-agent/features/page_view_timing"; import { PageViewEvent } from "@newrelic/browser-agent/features/page_view_event"; import { Agent } from "@newrelic/browser-agent/loaders/agent"; diff --git a/app/client/src/layoutSystems/CanvasFactory.tsx b/app/client/src/layoutSystems/CanvasFactory.tsx index 1a922551f442..892172445dd7 100644 --- a/app/client/src/layoutSystems/CanvasFactory.tsx +++ b/app/client/src/layoutSystems/CanvasFactory.tsx @@ -5,7 +5,7 @@ import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; import type { WidgetProps } from "widgets/BaseWidget"; import withWidgetProps from "widgets/withWidgetProps"; import { getLayoutSystem } from "./withLayoutSystemWidgetHOC"; -import { getAppThemeSettings } from "@appsmith/selectors/applicationSelectors"; +import { getAppThemeSettings } from "ee/selectors/applicationSelectors"; // ToDo(#27615): destructure withWidgetProps to withCanvasProps by picking only necessary props of a canvas. diff --git a/app/client/src/layoutSystems/anvil/common/hooks/detachedWidgetHooks.ts b/app/client/src/layoutSystems/anvil/common/hooks/detachedWidgetHooks.ts index fac7995c94a5..da6d21167926 100644 --- a/app/client/src/layoutSystems/anvil/common/hooks/detachedWidgetHooks.ts +++ b/app/client/src/layoutSystems/anvil/common/hooks/detachedWidgetHooks.ts @@ -7,7 +7,7 @@ import log from "loglevel"; import { useEffect, useMemo } from "react"; import { getAnvilWidgetDOMId } from "layoutSystems/common/utils/LayoutElementPositionsObserver/utils"; import { getCurrentlyOpenAnvilDetachedWidgets } from "layoutSystems/anvil/integrations/modalSelectors"; -import { getCanvasWidgetsStructure } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgetsStructure } from "ee/selectors/entitiesSelector"; import type { CanvasWidgetStructure } from "WidgetProvider/constants"; /** * This hook is used to select and focus on a detached widget diff --git a/app/client/src/layoutSystems/anvil/common/hooks/useWidgetBorderStyles.ts b/app/client/src/layoutSystems/anvil/common/hooks/useWidgetBorderStyles.ts index bc771ffd677b..f0801abcc65c 100644 --- a/app/client/src/layoutSystems/anvil/common/hooks/useWidgetBorderStyles.ts +++ b/app/client/src/layoutSystems/anvil/common/hooks/useWidgetBorderStyles.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import WidgetFactory from "WidgetProvider/factory"; import { getWidgetErrorCount } from "layoutSystems/anvil/editor/AnvilWidgetName/selectors"; import { diff --git a/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/AnvilWidgetNameComponent.tsx b/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/AnvilWidgetNameComponent.tsx index c33e3ea1eeb5..85433c0d3975 100644 --- a/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/AnvilWidgetNameComponent.tsx +++ b/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/AnvilWidgetNameComponent.tsx @@ -7,7 +7,7 @@ import { ANVIL_WIDGET_NAME_DEBUG_CLICK, ANVIL_WIDGET_NAME_TOGGLE_PARENT, } from "layoutSystems/anvil/common/messages"; -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; import { debugWidget } from "layoutSystems/anvil/integrations/actions"; import { useDispatch } from "react-redux"; import { NavigationMethod } from "utils/history"; diff --git a/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/selectors.ts b/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/selectors.ts index 84cc170b2103..013500361c9f 100644 --- a/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/selectors.ts +++ b/app/client/src/layoutSystems/anvil/editor/AnvilWidgetName/selectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { NameComponentStates } from "./types"; import { EVAL_ERROR_PATH } from "utils/DynamicBindingUtils"; import get from "lodash/get"; diff --git a/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilGlobalDnDStates.ts b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilGlobalDnDStates.ts index fa606273c585..2d12f1ee513e 100644 --- a/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilGlobalDnDStates.ts +++ b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useAnvilGlobalDnDStates.ts @@ -1,5 +1,5 @@ import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getDragDetails, getWidgets } from "sagas/selectors"; import { useSelector } from "react-redux"; import type { DragDetails } from "reducers/uiReducers/dragResizeReducer"; diff --git a/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useClickToClearSelections.ts b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useClickToClearSelections.ts index f58ce7c63e7f..4a4dce2a2a71 100644 --- a/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useClickToClearSelections.ts +++ b/app/client/src/layoutSystems/anvil/editor/canvas/hooks/useClickToClearSelections.ts @@ -1,5 +1,5 @@ import type { MouseEvent } from "react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { useSelector } from "react-redux"; import { useShowPropertyPane } from "utils/hooks/dragResizeHooks"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; diff --git a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDragPreview/AnvilDragPreviewComponent.tsx b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDragPreview/AnvilDragPreviewComponent.tsx index 74e2ca442c19..dce20b4e6807 100644 --- a/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDragPreview/AnvilDragPreviewComponent.tsx +++ b/app/client/src/layoutSystems/anvil/editor/canvasArenas/AnvilDragPreview/AnvilDragPreviewComponent.tsx @@ -1,7 +1,7 @@ import React, { useCallback, useEffect, useRef } from "react"; import styled from "styled-components"; import { Wrapper } from "pages/Editor/widgetSidebar/WidgetCard"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; const StyledWidgetCardPreviewWrapper = styled.div` position: absolute; diff --git a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts index 98b892438847..abdb88561f68 100644 --- a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts +++ b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetHover.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getAnvilSpaceDistributionStatus } from "layoutSystems/anvil/integrations/selectors"; import { useCallback, useEffect } from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts index daa77db58493..a76e124fd53c 100644 --- a/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts +++ b/app/client/src/layoutSystems/anvil/editor/hooks/useAnvilWidgetStyles.ts @@ -2,7 +2,7 @@ import { useEffect, useMemo } from "react"; import { isWidgetSelected } from "selectors/widgetSelectors"; import { useSelector } from "react-redux"; import { useWidgetBorderStyles } from "layoutSystems/anvil/common/hooks/useWidgetBorderStyles"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getIsNewWidgetBeingDragged } from "sagas/selectors"; import { AnvilDataAttributes } from "widgets/anvil/constants"; diff --git a/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts b/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts index 49801fe82734..c6685fe98124 100644 --- a/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts +++ b/app/client/src/layoutSystems/anvil/integrations/modalSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import memoize from "micro-memoize"; import { getAllDetachedWidgetIds, getWidgetsMeta } from "sagas/selectors"; diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts index 013a67270304..6ba9840b05ff 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts @@ -5,11 +5,11 @@ import { extractWidgetIdFromAnvilWidgetDOMId } from "layoutSystems/common/utils/ import { CANVAS_ART_BOARD } from "constants/componentClassNameConstants"; import { positionObserver } from "layoutSystems/common/utils/LayoutElementPositionsObserver"; import log from "loglevel"; -import type { AppState } from "@appsmith/reducers"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { APP_MODE } from "entities/App"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import type { RefObject } from "react"; import { getAnvilSpaceDistributionStatus } from "../selectors"; /** diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilDraggingSagas/index.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilDraggingSagas/index.ts index 4b011417219e..51e3e0c1308c 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilDraggingSagas/index.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilDraggingSagas/index.ts @@ -1,7 +1,7 @@ import { type ReduxAction, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import log from "loglevel"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { all, call, put, select, takeLatest } from "redux-saga/effects"; diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilSpaceDistributionSagas.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilSpaceDistributionSagas.ts index 846a495c07d4..9a66d2065c47 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilSpaceDistributionSagas.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilSpaceDistributionSagas.ts @@ -1,6 +1,6 @@ import { all, put, select, takeLatest } from "redux-saga/effects"; import { AnvilReduxActionTypes } from "../actions/actionTypes"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { getWidgets } from "sagas/selectors"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { updateAndSaveLayout } from "actions/pageActions"; diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/helpers.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/helpers.ts index dcb686daf11a..12cbe8e3ab74 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/helpers.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/helpers.ts @@ -10,8 +10,8 @@ import { executeWidgetBlueprintOperations } from "sagas/WidgetBlueprintSagas"; import { call, put, select } from "redux-saga/effects"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import AppsmithConsole from "utils/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; -import { WidgetReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; +import { WidgetReduxActionTypes } from "ee/constants/ReduxActionConstants"; /** * In Anvil, we maintain some properties set by users on widgets. diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/index.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/index.ts index ee43487e60fd..c4a1662b2c4a 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/index.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetAdditionSagas/index.ts @@ -9,7 +9,7 @@ import type { import { ReduxActionErrorTypes, type ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { WidgetProps } from "widgets/BaseWidget"; import { WDS_V2_WIDGET_MAP } from "widgets/wds/constants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetSelectionSaga.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetSelectionSaga.ts index 62b232892364..0c709dd720c1 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetSelectionSaga.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/anvilWidgetSelectionSaga.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { DSLWidget } from "WidgetProvider/constants"; import { focusWidget } from "actions/widgetActions"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; @@ -20,7 +20,7 @@ import { AnvilReduxActionTypes } from "../actions/actionTypes"; import { setActiveEditorField } from "actions/activeFieldActions"; import { setFocusablePropertyPaneField } from "actions/propertyPaneActions"; import { setEvalPopupState } from "actions/editorContextActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; /** * This saga selects widgets in the Anvil Layout system diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/index.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/index.ts index 2d7bdf13ff8f..99c347e049ed 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/index.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/index.ts @@ -4,13 +4,13 @@ import { all, call, put, select, takeLeading } from "redux-saga/effects"; import { getSelectedWidgetWhenPasting } from "sagas/WidgetOperationUtils"; import { getWidgets } from "sagas/selectors"; import { updateAndSaveAnvilLayout } from "../../../utils/anvilChecksUtils"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import { type ReduxAction, ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; import history from "utils/history"; diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/pasteSagas.test.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/pasteSagas.test.ts index 52fb10e148dd..58cdfe1ae000 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/pasteSagas.test.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/pasteSagas/pasteSagas.test.ts @@ -1,7 +1,7 @@ import { select } from "redux-saga/effects"; import { expectSaga } from "redux-saga-test-plan"; import { pasteWidgetSagas } from "."; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getCopiedWidgets } from "utils/storage"; import { getNextWidgetName, diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/sectionSagas.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/sectionSagas.ts index 171480448f60..34de766cebfe 100644 --- a/app/client/src/layoutSystems/anvil/integrations/sagas/sectionSagas.ts +++ b/app/client/src/layoutSystems/anvil/integrations/sagas/sectionSagas.ts @@ -1,7 +1,7 @@ import { ReduxActionErrorTypes, type ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { updateAndSaveLayout } from "actions/pageActions"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { all, call, put, select, takeLatest } from "redux-saga/effects"; diff --git a/app/client/src/layoutSystems/anvil/integrations/selectors.ts b/app/client/src/layoutSystems/anvil/integrations/selectors.ts index f3bbdfb514de..73d6275e5c7a 100644 --- a/app/client/src/layoutSystems/anvil/integrations/selectors.ts +++ b/app/client/src/layoutSystems/anvil/integrations/selectors.ts @@ -1,7 +1,7 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { LayoutComponentTypes, type LayoutProps } from "../utils/anvilTypes"; -import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { selectFeatureFlagCheck } from "ee/selectors/featureFlagsSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { LayoutSystemTypes } from "layoutSystems/types"; import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; import { createSelector } from "reselect"; diff --git a/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/propertyPane/PropertyPaneSectionSpaceDistributor.tsx b/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/propertyPane/PropertyPaneSectionSpaceDistributor.tsx index c8484ad1bd3e..dbc101e846c0 100644 --- a/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/propertyPane/PropertyPaneSectionSpaceDistributor.tsx +++ b/app/client/src/layoutSystems/anvil/sectionSpaceDistributor/propertyPane/PropertyPaneSectionSpaceDistributor.tsx @@ -9,7 +9,7 @@ import { import { useSelector } from "react-redux"; import { getWidgetByID } from "sagas/selectors"; import { getParentWidget } from "selectors/widgetSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { WidgetLayoutProps } from "layoutSystems/anvil/utils/anvilTypes"; import { PropertyPaneSpaceDistributionHandle } from "./PropertyPaneSpaceDistributionHandle"; diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/update/sectionUtils.ts b/app/client/src/layoutSystems/anvil/utils/layouts/update/sectionUtils.ts index 0a94f1981c24..54fd4b7fe702 100644 --- a/app/client/src/layoutSystems/anvil/utils/layouts/update/sectionUtils.ts +++ b/app/client/src/layoutSystems/anvil/utils/layouts/update/sectionUtils.ts @@ -25,9 +25,7 @@ export function* createSectionAndAddWidget( /** * Step 1: Create Section widget. */ - const widgetId: string = generateReactKey({ - prefix: "section-", - }); + const widgetId: string = generateReactKey(); const updatedWidgets: CanvasWidgetsReduxState = yield addNewAnvilWidgetToDSL( allWidgets, { diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/update/zoneUtils.ts b/app/client/src/layoutSystems/anvil/utils/layouts/update/zoneUtils.ts index 760265e2a45a..96ece0e14b2c 100644 --- a/app/client/src/layoutSystems/anvil/utils/layouts/update/zoneUtils.ts +++ b/app/client/src/layoutSystems/anvil/utils/layouts/update/zoneUtils.ts @@ -34,7 +34,7 @@ export function* createZoneAndAddWidgets( /** * Create Zone widget. */ - const widgetId: string = generateReactKey({ prefix: "zone-" }); + const widgetId: string = generateReactKey(); const updatedWidgets: CanvasWidgetsReduxState = yield addNewAnvilWidgetToDSL( allWidgets, { diff --git a/app/client/src/layoutSystems/anvil/utils/paste/utils.ts b/app/client/src/layoutSystems/anvil/utils/paste/utils.ts index dfeaa4278e13..6a6b3bed6bfb 100644 --- a/app/client/src/layoutSystems/anvil/utils/paste/utils.ts +++ b/app/client/src/layoutSystems/anvil/utils/paste/utils.ts @@ -5,7 +5,7 @@ import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidg import { select } from "redux-saga/effects"; import { getNextWidgetName } from "sagas/WidgetOperationUtils"; import { getDataTree } from "selectors/dataTreeSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { generateReactKey } from "utils/generators"; import type { CopiedWidgetData } from "./types"; import type { LayoutProps, WidgetLayoutProps } from "../anvilTypes"; diff --git a/app/client/src/layoutSystems/anvil/utils/sectionOperationUtils.ts b/app/client/src/layoutSystems/anvil/utils/sectionOperationUtils.ts index d4ad1440f3d0..8a1c83732efa 100644 --- a/app/client/src/layoutSystems/anvil/utils/sectionOperationUtils.ts +++ b/app/client/src/layoutSystems/anvil/utils/sectionOperationUtils.ts @@ -169,7 +169,7 @@ export function* addNewZonesToSection( // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any const newWidget: any = { - newWidgetId: generateReactKey({ prefix: "zone-" }), + newWidgetId: generateReactKey(), parentId: sectionWidget.widgetId, type: anvilWidgets.ZONE_WIDGET, }; diff --git a/app/client/src/layoutSystems/anvil/utils/widgetAdditionUtils.ts b/app/client/src/layoutSystems/anvil/utils/widgetAdditionUtils.ts index 347bccddeb32..fd0b10c24b7f 100644 --- a/app/client/src/layoutSystems/anvil/utils/widgetAdditionUtils.ts +++ b/app/client/src/layoutSystems/anvil/utils/widgetAdditionUtils.ts @@ -1,7 +1,7 @@ import type { FlattenedWidgetProps } from "WidgetProvider/constants"; import type { WidgetAddChild } from "actions/pageActions"; -import { WidgetReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { WidgetReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { call, put } from "redux-saga/effects"; import { diff --git a/app/client/src/layoutSystems/autolayout/common/flexCanvas/FlexBoxComponent.tsx b/app/client/src/layoutSystems/autolayout/common/flexCanvas/FlexBoxComponent.tsx index fcecfc161747..928fcbb9ab2d 100644 --- a/app/client/src/layoutSystems/autolayout/common/flexCanvas/FlexBoxComponent.tsx +++ b/app/client/src/layoutSystems/autolayout/common/flexCanvas/FlexBoxComponent.tsx @@ -10,7 +10,7 @@ import { } from "layoutSystems/common/utils/constants"; import { APP_MODE } from "entities/App"; import { useSelector } from "react-redux"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import AutoLayoutLayer from "./AutoLayoutLayer"; import { FLEXBOX_PADDING, GridDefaults } from "constants/WidgetConstants"; import type { diff --git a/app/client/src/layoutSystems/autolayout/common/resizer/AutoLayoutResizable.tsx b/app/client/src/layoutSystems/autolayout/common/resizer/AutoLayoutResizable.tsx index 806b2d337cb0..ad29e9cced04 100644 --- a/app/client/src/layoutSystems/autolayout/common/resizer/AutoLayoutResizable.tsx +++ b/app/client/src/layoutSystems/autolayout/common/resizer/AutoLayoutResizable.tsx @@ -46,7 +46,7 @@ import PerformanceTracker, { import WidgetFactory from "WidgetProvider/factory"; import { isDropZoneOccupied } from "utils/WidgetPropsUtils"; import { isFunction } from "lodash"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; /** * AutoLayoutResizable diff --git a/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/AutoCanvasDraggingArena.tsx b/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/AutoCanvasDraggingArena.tsx index 22fedb385712..7003e48aa160 100644 --- a/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/AutoCanvasDraggingArena.tsx +++ b/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/AutoCanvasDraggingArena.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import React, { useMemo } from "react"; import { useSelector } from "react-redux"; import { getNearestParentCanvas } from "utils/generators"; diff --git a/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts b/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts index fce66a100c62..837ad3d0e0cc 100644 --- a/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts +++ b/app/client/src/layoutSystems/autolayout/editor/AutoLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts @@ -2,7 +2,7 @@ import { CONTAINER_GRID_PADDING, MAIN_CONTAINER_WIDGET_ID, } from "constants/WidgetConstants"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getSelectedWidgets } from "selectors/ui"; import { getOccupiedSpacesWhileMoving } from "selectors/editorSelectors"; import type { WidgetSpace } from "constants/CanvasEditorConstants"; @@ -11,7 +11,7 @@ import { widgetOperationParams } from "utils/WidgetPropsUtils"; import { DropTargetContext } from "layoutSystems/common/dropTarget/DropTargetComponent"; import equal from "fast-deep-equal/es6"; import { useDispatch, useSelector } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; import type { DragDetails } from "reducers/uiReducers/dragResizeReducer"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; diff --git a/app/client/src/layoutSystems/common/draggable/DraggableComponent.tsx b/app/client/src/layoutSystems/common/draggable/DraggableComponent.tsx index d79a9cb154ab..1072f0ef9363 100644 --- a/app/client/src/layoutSystems/common/draggable/DraggableComponent.tsx +++ b/app/client/src/layoutSystems/common/draggable/DraggableComponent.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getColorWithOpacity } from "constants/DefaultTheme"; import { WIDGET_PADDING } from "constants/WidgetConstants"; import type { CSSProperties, DragEventHandler, ReactNode } from "react"; diff --git a/app/client/src/layoutSystems/common/dropTarget/DropTargetComponent.tsx b/app/client/src/layoutSystems/common/dropTarget/DropTargetComponent.tsx index 5e49c2faa8a7..02ace841b1f3 100644 --- a/app/client/src/layoutSystems/common/dropTarget/DropTargetComponent.tsx +++ b/app/client/src/layoutSystems/common/dropTarget/DropTargetComponent.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { GridDefaults, MAIN_CONTAINER_WIDGET_ID, diff --git a/app/client/src/layoutSystems/common/dropTarget/DropTargetComponentWrapper.tsx b/app/client/src/layoutSystems/common/dropTarget/DropTargetComponentWrapper.tsx index ecc048b180dc..19b350225280 100644 --- a/app/client/src/layoutSystems/common/dropTarget/DropTargetComponentWrapper.tsx +++ b/app/client/src/layoutSystems/common/dropTarget/DropTargetComponentWrapper.tsx @@ -5,7 +5,7 @@ import { memo } from "react"; import React from "react"; import { useSelector } from "react-redux"; import { getWidget } from "sagas/selectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; interface DropTargetComponentWrapperProps { diff --git a/app/client/src/layoutSystems/common/dropTarget/OnBoarding/OnBoarding.test.tsx b/app/client/src/layoutSystems/common/dropTarget/OnBoarding/OnBoarding.test.tsx index 8920db9ec788..dceaa1201657 100644 --- a/app/client/src/layoutSystems/common/dropTarget/OnBoarding/OnBoarding.test.tsx +++ b/app/client/src/layoutSystems/common/dropTarget/OnBoarding/OnBoarding.test.tsx @@ -1,8 +1,5 @@ -import { - EMPTY_CANVAS_HINTS, - createMessage, -} from "@appsmith/constants/messages"; -import { EditorEntityTab, EditorState } from "@appsmith/entities/IDE/constants"; +import { EMPTY_CANVAS_HINTS, createMessage } from "ee/constants/messages"; +import { EditorEntityTab, EditorState } from "ee/entities/IDE/constants"; import "@testing-library/jest-dom"; import { render, screen } from "@testing-library/react"; import "jest-styled-components"; @@ -28,13 +25,13 @@ const mockUseCurrentEditorStatePerTestCase = (segment: EditorEntityTab) => { })); }; -jest.mock("@appsmith/utils/airgapHelpers", () => ({ +jest.mock("ee/utils/airgapHelpers", () => ({ isAirgapped: jest.fn(), })); const mockIsAirGapped = (val: boolean) => { /* eslint-disable @typescript-eslint/no-var-requires */ - const { isAirgapped } = require("@appsmith/utils/airgapHelpers"); + const { isAirgapped } = require("ee/utils/airgapHelpers"); isAirgapped.mockImplementation(() => val); }; diff --git a/app/client/src/layoutSystems/common/dropTarget/OnBoarding/index.tsx b/app/client/src/layoutSystems/common/dropTarget/OnBoarding/index.tsx index 571676212d0f..116779927c1b 100644 --- a/app/client/src/layoutSystems/common/dropTarget/OnBoarding/index.tsx +++ b/app/client/src/layoutSystems/common/dropTarget/OnBoarding/index.tsx @@ -1,7 +1,4 @@ -import { - EMPTY_CANVAS_HINTS, - createMessage, -} from "@appsmith/constants/messages"; +import { EMPTY_CANVAS_HINTS, createMessage } from "ee/constants/messages"; import React from "react"; function Onboarding() { diff --git a/app/client/src/layoutSystems/common/dropTarget/buildingBlockExplorerDropTarget/index.tsx b/app/client/src/layoutSystems/common/dropTarget/buildingBlockExplorerDropTarget/index.tsx index 2ca2a36945be..cbff4fa87a37 100644 --- a/app/client/src/layoutSystems/common/dropTarget/buildingBlockExplorerDropTarget/index.tsx +++ b/app/client/src/layoutSystems/common/dropTarget/buildingBlockExplorerDropTarget/index.tsx @@ -1,9 +1,6 @@ import { importSvg } from "@design-system/widgets-old/src/utils/icon-loadables"; -import { - EMPTY_CANVAS_HINTS, - createMessage, -} from "@appsmith/constants/messages"; -import { Text } from "design-system"; +import { EMPTY_CANVAS_HINTS, createMessage } from "ee/constants/messages"; +import { Text } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/layoutSystems/common/mainContainerResizer/MainContainerResizer.tsx b/app/client/src/layoutSystems/common/mainContainerResizer/MainContainerResizer.tsx index 1ca14f2ec89e..78bde1723894 100644 --- a/app/client/src/layoutSystems/common/mainContainerResizer/MainContainerResizer.tsx +++ b/app/client/src/layoutSystems/common/mainContainerResizer/MainContainerResizer.tsx @@ -4,7 +4,7 @@ import { useDispatch, useSelector } from "react-redux"; import { getCurrentApplicationLayout } from "selectors/editorSelectors"; import { setAutoCanvasResizing } from "actions/autoLayoutActions"; import styled from "styled-components"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; import { CANVAS_VIEWPORT } from "constants/componentClassNameConstants"; import { AUTOLAYOUT_RESIZER_WIDTH_BUFFER } from "./constants"; diff --git a/app/client/src/layoutSystems/common/modalOverlay/ModalOverlayLayer.tsx b/app/client/src/layoutSystems/common/modalOverlay/ModalOverlayLayer.tsx index 9286d38dbbf3..8e46be528b3f 100644 --- a/app/client/src/layoutSystems/common/modalOverlay/ModalOverlayLayer.tsx +++ b/app/client/src/layoutSystems/common/modalOverlay/ModalOverlayLayer.tsx @@ -7,7 +7,7 @@ import { Layers } from "constants/Layers"; import { theme } from "constants/DefaultTheme"; import { useDispatch, useSelector } from "react-redux"; import { getAppViewHeaderHeight } from "selectors/appViewSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { useMaxModalWidth } from "widgets/ModalWidget/component/useModalWidth"; import { useAppViewerSidebarProperties } from "utils/hooks/useAppViewerSidebarProperties"; const Container = styled.div<{ diff --git a/app/client/src/layoutSystems/common/resizer/ModalResizableLayer.tsx b/app/client/src/layoutSystems/common/resizer/ModalResizableLayer.tsx index 70826d2c760a..47a5835e9c77 100644 --- a/app/client/src/layoutSystems/common/resizer/ModalResizableLayer.tsx +++ b/app/client/src/layoutSystems/common/resizer/ModalResizableLayer.tsx @@ -2,10 +2,10 @@ import React, { useContext, useMemo } from "react"; import type { ReactNode } from "react"; import { get, omit } from "lodash"; import type { BaseWidgetProps } from "widgets/BaseWidgetHOC/withBaseWidgetHOC"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useWidgetDragResize } from "utils/hooks/dragResizeHooks"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { Classes } from "@blueprintjs/core"; import { ModalResizable } from "layoutSystems/common/resizer/ModalResizable"; import { isAutoHeightEnabledForWidget } from "widgets/WidgetUtils"; diff --git a/app/client/src/layoutSystems/common/resizer/ResizableComponent.tsx b/app/client/src/layoutSystems/common/resizer/ResizableComponent.tsx index f99314fc8174..bdd79ec9c7e6 100644 --- a/app/client/src/layoutSystems/common/resizer/ResizableComponent.tsx +++ b/app/client/src/layoutSystems/common/resizer/ResizableComponent.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { batchUpdateMultipleWidgetProperties } from "actions/controlActions"; import { focusWidget } from "actions/widgetActions"; import { EditorContext } from "components/editorComponents/EditorContextProvider"; @@ -28,7 +28,7 @@ import { isMultiSelectedWidget, isWidgetSelected, } from "selectors/widgetSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { ResponsiveBehavior } from "layoutSystems/common/utils/constants"; import { getWidgetHeight, @@ -59,7 +59,7 @@ import { TopRightHandleStyles, VisibilityContainer, } from "layoutSystems/common/resizer/ResizeStyledComponents"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { UIElementSize } from "layoutSystems/common/resizer/ResizableUtils"; import { computeFinalRowCols, diff --git a/app/client/src/layoutSystems/common/selectors.ts b/app/client/src/layoutSystems/common/selectors.ts index cc39ff93b407..78736ffeb3e1 100644 --- a/app/client/src/layoutSystems/common/selectors.ts +++ b/app/client/src/layoutSystems/common/selectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; export const getLayoutElementPositions = (state: AppState) => diff --git a/app/client/src/layoutSystems/common/snipeable/SnipeableComponent.tsx b/app/client/src/layoutSystems/common/snipeable/SnipeableComponent.tsx index 85a4b6bd67ed..c408d004bad3 100644 --- a/app/client/src/layoutSystems/common/snipeable/SnipeableComponent.tsx +++ b/app/client/src/layoutSystems/common/snipeable/SnipeableComponent.tsx @@ -4,7 +4,7 @@ import type { ReactNode } from "react"; import styled from "styled-components"; import { WIDGET_PADDING } from "constants/WidgetConstants"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getColorWithOpacity } from "constants/DefaultTheme"; import { snipingModeSelector } from "selectors/editorSelectors"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; diff --git a/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts b/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts index 96e86972d94f..fd2fbb3ad318 100644 --- a/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts +++ b/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts @@ -4,7 +4,7 @@ import { positionObserver } from "."; import { APP_MODE } from "entities/App"; import { useSelector } from "react-redux"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import { getAnvilLayoutDOMId, getAnvilWidgetDOMId } from "./utils"; import { LayoutComponentTypes } from "layoutSystems/anvil/utils/anvilTypes"; export type ObservableElementType = "widget" | "layout"; diff --git a/app/client/src/layoutSystems/common/widgetName/DeleteControl.tsx b/app/client/src/layoutSystems/common/widgetName/DeleteControl.tsx index 30d300d9fd3a..4a7a1653af9f 100644 --- a/app/client/src/layoutSystems/common/widgetName/DeleteControl.tsx +++ b/app/client/src/layoutSystems/common/widgetName/DeleteControl.tsx @@ -2,7 +2,7 @@ import React from "react"; import { Tooltip } from "@blueprintjs/core"; import styled from "styled-components"; import { Colors } from "constants/Colors"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const StyledDeleteIcon = styled.div` justify-self: flex-start; diff --git a/app/client/src/layoutSystems/common/widgetName/HelpControl.tsx b/app/client/src/layoutSystems/common/widgetName/HelpControl.tsx index 5e21c4e78f5d..7e305c0a5363 100644 --- a/app/client/src/layoutSystems/common/widgetName/HelpControl.tsx +++ b/app/client/src/layoutSystems/common/widgetName/HelpControl.tsx @@ -9,7 +9,7 @@ import { setHelpModalVisibility, } from "actions/helpActions"; import type { WidgetType } from "constants/WidgetConstants"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const StyledHelpIcon = styled.div` justify-self: flex-start; diff --git a/app/client/src/layoutSystems/common/widgetName/SettingsControl.tsx b/app/client/src/layoutSystems/common/widgetName/SettingsControl.tsx index ff017a4a3dc0..6fd1e8944efc 100644 --- a/app/client/src/layoutSystems/common/widgetName/SettingsControl.tsx +++ b/app/client/src/layoutSystems/common/widgetName/SettingsControl.tsx @@ -4,7 +4,7 @@ import React from "react"; import { useSelector } from "react-redux"; import { snipingModeSelector } from "selectors/editorSelectors"; import styled from "styled-components"; -import { Icon, Text, Tooltip } from "design-system"; +import { Icon, Text, Tooltip } from "@appsmith/ads"; // I honestly can't think of a better name for this enum export enum Activities { diff --git a/app/client/src/layoutSystems/common/widgetName/index.tsx b/app/client/src/layoutSystems/common/widgetName/index.tsx index 52189ca77b7d..1b98b032eb8b 100644 --- a/app/client/src/layoutSystems/common/widgetName/index.tsx +++ b/app/client/src/layoutSystems/common/widgetName/index.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { bindDataToWidget } from "actions/propertyPaneActions"; import type { WidgetType } from "constants/WidgetConstants"; import React, { useMemo } from "react"; @@ -14,7 +14,7 @@ import { } from "selectors/editorSelectors"; import { getIsTableFilterPaneVisible } from "selectors/tableFilterSelectors"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; diff --git a/app/client/src/layoutSystems/fixedlayout/common/autoHeight/AutoHeightOverlayLayer.tsx b/app/client/src/layoutSystems/fixedlayout/common/autoHeight/AutoHeightOverlayLayer.tsx index d923f934fd1a..210cb10a9856 100644 --- a/app/client/src/layoutSystems/fixedlayout/common/autoHeight/AutoHeightOverlayLayer.tsx +++ b/app/client/src/layoutSystems/fixedlayout/common/autoHeight/AutoHeightOverlayLayer.tsx @@ -1,9 +1,9 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import AutoHeightOverlayContainer from "layoutSystems/fixedlayout/common/autoHeightOverlay"; import { EditorContext } from "components/editorComponents/EditorContextProvider"; import { GridDefaults } from "constants/WidgetConstants"; import React, { useContext } from "react"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { BaseWidgetProps } from "widgets/BaseWidgetHOC/withBaseWidgetHOC"; import { getWidgetMaxAutoHeight, diff --git a/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/hooks.ts b/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/hooks.ts index 002239fbe5f9..31207cbf82c1 100644 --- a/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/hooks.ts +++ b/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/hooks.ts @@ -11,7 +11,7 @@ import DynamicHeightCallbackHandler from "utils/CallbackHandler/DynamicHeightCal import { useAutoHeightLimitsDispatch, useAutoHeightLimitsState } from "./store"; import type { onMouseHoverCallbacksProps } from "./types"; import { getSnappedValues } from "./utils"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; import { useSelector } from "react-redux"; import { diff --git a/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/index.tsx b/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/index.tsx index f5c072fcefb3..89519283f7cb 100644 --- a/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/index.tsx +++ b/app/client/src/layoutSystems/fixedlayout/common/autoHeightOverlay/index.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { CSSProperties } from "react"; import React, { memo } from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/layoutSystems/fixedlayout/common/widgetGrouping/WidgetsMultiSelectBox.tsx b/app/client/src/layoutSystems/fixedlayout/common/widgetGrouping/WidgetsMultiSelectBox.tsx index 58057d4d0974..87254d2a1e14 100644 --- a/app/client/src/layoutSystems/fixedlayout/common/widgetGrouping/WidgetsMultiSelectBox.tsx +++ b/app/client/src/layoutSystems/fixedlayout/common/widgetGrouping/WidgetsMultiSelectBox.tsx @@ -11,19 +11,19 @@ import { } from "actions/widgetActions"; import { modText } from "utils/helpers"; import { Layers } from "constants/Layers"; -import { TooltipComponent as Tooltip } from "design-system-old"; +import { TooltipComponent as Tooltip } from "@appsmith/ads-old"; import { getSelectedWidgets } from "selectors/ui"; import { stopEventPropagation } from "utils/AppsmithUtils"; -import { getCanvasWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgets } from "ee/selectors/entitiesSelector"; import type { IPopoverSharedProps } from "@blueprintjs/core"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; import WidgetFactory from "WidgetProvider/factory"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { useWidgetDragResize } from "utils/hooks/dragResizeHooks"; import { getBoundariesFromSelectedWidgets } from "sagas/WidgetOperationUtils"; import { CONTAINER_GRID_PADDING } from "constants/WidgetConstants"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const POPUP_HEIGHT = 122; const POPUP_WIDTH = 38; diff --git a/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/CanvasSelectionArena.tsx b/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/CanvasSelectionArena.tsx index 9bc91403e4db..c1f09e85ec70 100644 --- a/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/CanvasSelectionArena.tsx +++ b/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/CanvasSelectionArena.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { selectAllWidgetsInAreaAction, setCanvasSelectionStateAction, @@ -14,7 +14,7 @@ import { throttle } from "lodash"; import React, { useCallback, useEffect, useMemo, useRef } from "react"; import { useDispatch, useSelector } from "react-redux"; import { getWidget } from "sagas/selectors"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors"; import { getIsAutoLayout, diff --git a/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/FixedCanvasDraggingArena.tsx b/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/FixedCanvasDraggingArena.tsx index aa3407dd31bf..26bf185872d3 100644 --- a/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/FixedCanvasDraggingArena.tsx +++ b/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/FixedCanvasDraggingArena.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { theme } from "constants/DefaultTheme"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { StickyCanvasArena } from "layoutSystems/common/canvasArenas/StickyCanvasArena"; diff --git a/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts b/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts index 3ff1def5230b..2dfbe0ac7267 100644 --- a/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts +++ b/app/client/src/layoutSystems/fixedlayout/editor/FixedLayoutCanvasArenas/hooks/useBlocksToBeDraggedOnCanvas.ts @@ -2,7 +2,7 @@ import { CONTAINER_GRID_PADDING, MAIN_CONTAINER_WIDGET_ID, } from "constants/WidgetConstants"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getSelectedWidgets } from "selectors/ui"; import { getOccupiedSpacesWhileMoving } from "selectors/editorSelectors"; import { getTableFilterState } from "selectors/tableFilterSelectors"; @@ -16,10 +16,10 @@ import { DropTargetContext } from "layoutSystems/common/dropTarget/DropTargetCom import equal from "fast-deep-equal/es6"; import type { FixedCanvasDraggingArenaProps } from "../FixedCanvasDraggingArena"; import { useDispatch, useSelector } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { EditorContext } from "components/editorComponents/EditorContextProvider"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { snapToGrid } from "utils/helpers"; import { stopReflowAction } from "actions/reflowActions"; import type { DragDetails } from "reducers/uiReducers/dragResizeReducer"; diff --git a/app/client/src/mocks/browser.ts b/app/client/src/mocks/browser.ts index feb0e98374f0..506a92903631 100644 --- a/app/client/src/mocks/browser.ts +++ b/app/client/src/mocks/browser.ts @@ -1,4 +1,4 @@ import { setupWorker } from "msw"; -import { handlers } from "@appsmith/mocks/handlers"; +import { handlers } from "ee/mocks/handlers"; export const worker = setupWorker(...handlers); diff --git a/app/client/src/navigation/FocusElements.ts b/app/client/src/navigation/FocusElements.ts index c2a9107a0be5..94b5c071d2d2 100644 --- a/app/client/src/navigation/FocusElements.ts +++ b/app/client/src/navigation/FocusElements.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import type { AppState } from "@appsmith/reducers"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; export enum FocusElement { ApiPaneConfigTabs = "ApiPaneConfigTabs", diff --git a/app/client/src/navigation/FocusEntity.test.ts b/app/client/src/navigation/FocusEntity.test.ts index 6d2dcd5a6c60..0e70925c0205 100644 --- a/app/client/src/navigation/FocusEntity.test.ts +++ b/app/client/src/navigation/FocusEntity.test.ts @@ -1,6 +1,6 @@ import type { FocusEntityInfo } from "navigation/FocusEntity"; import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; interface TestCase { path: string; diff --git a/app/client/src/navigation/FocusEntity.ts b/app/client/src/navigation/FocusEntity.ts index 936ac687c80b..d07b8009da74 100644 --- a/app/client/src/navigation/FocusEntity.ts +++ b/app/client/src/navigation/FocusEntity.ts @@ -2,14 +2,11 @@ import type { match } from "react-router"; import { matchPath } from "react-router"; import { ADD_PATH } from "constants/routes"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; -import type { IDEType } from "@appsmith/entities/IDE/constants"; -import { EditorState, EntityPaths } from "@appsmith/entities/IDE/constants"; -import { - getBaseUrlsForIDEType, - getIDETypeByUrl, -} from "@appsmith/entities/IDE/utils"; +import type { IDEType } from "ee/entities/IDE/constants"; +import { EditorState, EntityPaths } from "ee/entities/IDE/constants"; +import { getBaseUrlsForIDEType, getIDETypeByUrl } from "ee/entities/IDE/utils"; import { memoize } from "lodash"; -import { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import { MODULE_TYPE } from "ee/constants/ModuleConstants"; export enum FocusEntity { API = "API", diff --git a/app/client/src/pages/AdminSettings/Authentication/AuthPage.tsx b/app/client/src/pages/AdminSettings/Authentication/AuthPage.tsx index 337b2f33f8fb..a31d1692ad53 100644 --- a/app/client/src/pages/AdminSettings/Authentication/AuthPage.tsx +++ b/app/client/src/pages/AdminSettings/Authentication/AuthPage.tsx @@ -1,6 +1,6 @@ import React from "react"; import { useHistory } from "react-router-dom"; -import { SettingCategories } from "@appsmith/pages/AdminSettings/config/types"; +import { SettingCategories } from "ee/pages/AdminSettings/config/types"; import styled from "styled-components"; import { ENABLE, @@ -10,10 +10,10 @@ import { EDIT, UPGRADE, AUTHENTICATION_METHOD_ENABLED, -} from "@appsmith/constants/messages"; -import { Button, Callout, Divider, Icon, Text, Tooltip } from "design-system"; -import { adminSettingsCategoryUrl } from "@appsmith/RouteBuilder"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import { Button, Callout, Divider, Icon, Text, Tooltip } from "@appsmith/ads"; +import { adminSettingsCategoryUrl } from "ee/RouteBuilder"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import useOnUpgrade from "utils/hooks/useOnUpgrade"; import { RampFeature, RampSection } from "utils/ProductRamps/RampsControlList"; import EnterpriseTag from "components/EnterpriseTag"; diff --git a/app/client/src/pages/AdminSettings/Branding/BrandingPage.tsx b/app/client/src/pages/AdminSettings/Branding/BrandingPage.tsx index 5632c4317b2e..834077106eb7 100644 --- a/app/client/src/pages/AdminSettings/Branding/BrandingPage.tsx +++ b/app/client/src/pages/AdminSettings/Branding/BrandingPage.tsx @@ -4,12 +4,12 @@ import { useForm } from "react-hook-form"; import Previews from "./previews"; import SettingsForm from "./SettingsForm"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; import { Wrapper } from "pages/AdminSettings/Authentication/AuthPage"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; -import { getUpgradeBanner } from "@appsmith/utils/BusinessFeatures/brandingPageHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; +import { getUpgradeBanner } from "ee/utils/BusinessFeatures/brandingPageHelpers"; export type brandColorsKeys = | "primary" diff --git a/app/client/src/pages/AdminSettings/Branding/SettingsForm.tsx b/app/client/src/pages/AdminSettings/Branding/SettingsForm.tsx index 33394c6c7722..4208d3877658 100644 --- a/app/client/src/pages/AdminSettings/Branding/SettingsForm.tsx +++ b/app/client/src/pages/AdminSettings/Branding/SettingsForm.tsx @@ -8,7 +8,7 @@ import type { UseFormResetField, } from "react-hook-form"; import { Controller } from "react-hook-form"; -import { Button, Icon, Text, Tooltip } from "design-system"; +import { Button, Icon, Text, Tooltip } from "@appsmith/ads"; import type { Inputs } from "./BrandingPage"; import { @@ -21,12 +21,12 @@ import { ADMIN_BRANDING_COLOR_TOOLTIP_DISABLED, ADMIN_BRANDING_COLOR_TOOLTIP, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { ColorInput } from "pages/AdminSettings/FormGroup/ColorInput"; import { ImageInput } from "pages/AdminSettings/FormGroup/ImageInput"; import { logoImageValidator, faivconImageValidator } from "utils/BrandingUtils"; -import { useBrandingForm } from "@appsmith/pages/AdminSettings/Branding/useBrandingForm"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { useBrandingForm } from "ee/pages/AdminSettings/Branding/useBrandingForm"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import styled from "styled-components"; import { HelperText } from "pages/AdminSettings/components"; diff --git a/app/client/src/pages/AdminSettings/Branding/previews/AppPreview.tsx b/app/client/src/pages/AdminSettings/Branding/previews/AppPreview.tsx index cdb143d21b50..bca91db9d410 100644 --- a/app/client/src/pages/AdminSettings/Branding/previews/AppPreview.tsx +++ b/app/client/src/pages/AdminSettings/Branding/previews/AppPreview.tsx @@ -3,7 +3,7 @@ import React from "react"; import type { PreviewsProps } from "."; import PreviewBox from "./PreviewBox"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const AppPreview = (props: PreviewsProps) => { const { logo, shades } = props; diff --git a/app/client/src/pages/AdminSettings/Branding/previews/DashboardThumbnail.tsx b/app/client/src/pages/AdminSettings/Branding/previews/DashboardThumbnail.tsx index de4ca2ed419e..bf3b05b1831f 100644 --- a/app/client/src/pages/AdminSettings/Branding/previews/DashboardThumbnail.tsx +++ b/app/client/src/pages/AdminSettings/Branding/previews/DashboardThumbnail.tsx @@ -1,9 +1,9 @@ import React from "react"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import PreviewBox from "./PreviewBox"; import type { PreviewsProps } from "."; import { ContentBox } from "pages/AdminSettings/components"; -import { importRemixIcon } from "design-system-old"; +import { importRemixIcon } from "@appsmith/ads-old"; const DashboardThumbnail = (props: PreviewsProps) => { const { shades } = props; diff --git a/app/client/src/pages/AdminSettings/Branding/previews/EmailPreview.tsx b/app/client/src/pages/AdminSettings/Branding/previews/EmailPreview.tsx index 7ab156fd1b8f..195d80ef9670 100644 --- a/app/client/src/pages/AdminSettings/Branding/previews/EmailPreview.tsx +++ b/app/client/src/pages/AdminSettings/Branding/previews/EmailPreview.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import type { PreviewsProps } from "."; import PreviewBox from "./PreviewBox"; import { ContentBox } from "pages/AdminSettings/components"; diff --git a/app/client/src/pages/AdminSettings/Branding/previews/FaviconPreview.tsx b/app/client/src/pages/AdminSettings/Branding/previews/FaviconPreview.tsx index c7e3bcf5a842..fd4ded527b92 100644 --- a/app/client/src/pages/AdminSettings/Branding/previews/FaviconPreview.tsx +++ b/app/client/src/pages/AdminSettings/Branding/previews/FaviconPreview.tsx @@ -1,6 +1,6 @@ import React from "react"; import PreviewBox from "./PreviewBox"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; import type { PreviewsProps } from "."; import { ContentBox } from "pages/AdminSettings/components"; diff --git a/app/client/src/pages/AdminSettings/Branding/previews/LinkPreview.tsx b/app/client/src/pages/AdminSettings/Branding/previews/LinkPreview.tsx index 832952c2b147..98a258d23f99 100644 --- a/app/client/src/pages/AdminSettings/Branding/previews/LinkPreview.tsx +++ b/app/client/src/pages/AdminSettings/Branding/previews/LinkPreview.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import type { PreviewsProps } from "."; import PreviewBox from "./PreviewBox"; import { ContentBox } from "pages/AdminSettings/components"; diff --git a/app/client/src/pages/AdminSettings/Branding/previews/NotFoundPreview.tsx b/app/client/src/pages/AdminSettings/Branding/previews/NotFoundPreview.tsx index a265911a143b..a9db5b28f2fb 100644 --- a/app/client/src/pages/AdminSettings/Branding/previews/NotFoundPreview.tsx +++ b/app/client/src/pages/AdminSettings/Branding/previews/NotFoundPreview.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import PreviewBox from "./PreviewBox"; import type { PreviewsProps } from "."; import { ContentBox } from "pages/AdminSettings/components"; diff --git a/app/client/src/pages/AdminSettings/Branding/previews/PreviewBox.tsx b/app/client/src/pages/AdminSettings/Branding/previews/PreviewBox.tsx index da7ca7333268..40f10e09c816 100644 --- a/app/client/src/pages/AdminSettings/Branding/previews/PreviewBox.tsx +++ b/app/client/src/pages/AdminSettings/Branding/previews/PreviewBox.tsx @@ -1,6 +1,6 @@ import React from "react"; import { ContentBox } from "pages/AdminSettings/components"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; interface PreviewBoxProps { title?: string; diff --git a/app/client/src/pages/AdminSettings/DisconnectService.test.tsx b/app/client/src/pages/AdminSettings/DisconnectService.test.tsx index 9b91d5db64eb..c1dcf9dd69a9 100644 --- a/app/client/src/pages/AdminSettings/DisconnectService.test.tsx +++ b/app/client/src/pages/AdminSettings/DisconnectService.test.tsx @@ -5,7 +5,7 @@ import { createMessage, DISCONNECT_AUTH_METHOD, DISCONNECT_CONFIRMATION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/pages/AdminSettings/DisconnectService.tsx b/app/client/src/pages/AdminSettings/DisconnectService.tsx index 67e939ffdcca..4a713c7f275a 100644 --- a/app/client/src/pages/AdminSettings/DisconnectService.tsx +++ b/app/client/src/pages/AdminSettings/DisconnectService.tsx @@ -1,12 +1,12 @@ import React, { useState } from "react"; import styled from "styled-components"; -import { Button, Callout, Text } from "design-system"; +import { Button, Callout, Text } from "@appsmith/ads"; import { createMessage, DANGER_ZONE, DISCONNECT_AUTH_METHOD, DISCONNECT_CONFIRMATION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; export const Container = styled.div` width: 100%; diff --git a/app/client/src/pages/AdminSettings/FormGroup/Accordion.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/Accordion.test.tsx index 23f66da630ba..99a0d14bd997 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Accordion.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Accordion.test.tsx @@ -1,12 +1,12 @@ import { render, screen } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; import { SettingTypes, SettingSubtype, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import Accordion from "./Accordion"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { reduxForm } from "redux-form"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/Accordion.tsx b/app/client/src/pages/AdminSettings/FormGroup/Accordion.tsx index 62492b50934b..a5c2a9a152d4 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Accordion.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Accordion.tsx @@ -1,9 +1,9 @@ import React, { useState } from "react"; import styled from "styled-components"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; import Group from "./group"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; const AccordionWrapper = styled.div` margin-top: 40px; diff --git a/app/client/src/pages/AdminSettings/FormGroup/Button.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/Button.test.tsx index c7a05b1e2f87..e83ace4f3fd3 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Button.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Button.test.tsx @@ -1,7 +1,7 @@ import { render, screen } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import ButtonComponent from "./Button"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/Button.tsx b/app/client/src/pages/AdminSettings/FormGroup/Button.tsx index c1bef4609f98..3d6dcb2ee297 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Button.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Button.tsx @@ -1,6 +1,6 @@ -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import React from "react"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { getFormValues } from "redux-form"; import styled from "styled-components"; diff --git a/app/client/src/pages/AdminSettings/FormGroup/Checkbox.tsx b/app/client/src/pages/AdminSettings/FormGroup/Checkbox.tsx index 411b7ee92878..f6aa9c5db3ca 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Checkbox.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Checkbox.tsx @@ -4,10 +4,10 @@ import { Field, getFormValues } from "redux-form"; import styled from "styled-components"; import { FormGroup, type SettingComponentProps } from "./Common"; import type { FormTextFieldProps } from "components/utils/ReduxFormTextField"; -import { Checkbox } from "design-system"; +import { Checkbox } from "@appsmith/ads"; import { useSelector } from "react-redux"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; -import { isTenantConfig } from "@appsmith/utils/adminSettingsHelpers"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; +import { isTenantConfig } from "ee/utils/adminSettingsHelpers"; const CheckboxWrapper = styled.div` display: grid; diff --git a/app/client/src/pages/AdminSettings/FormGroup/ColorInput.tsx b/app/client/src/pages/AdminSettings/FormGroup/ColorInput.tsx index 1d9074402370..d1d506b8edbd 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/ColorInput.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/ColorInput.tsx @@ -4,7 +4,7 @@ import { Field } from "redux-form"; import { startCase } from "lodash"; import tinycolor from "tinycolor2"; import styled from "styled-components"; -import { Icon, Text, Tooltip } from "design-system"; +import { Icon, Text, Tooltip } from "@appsmith/ads"; import { InputGroup, Classes } from "@blueprintjs/core"; import Color from "colorjs.io"; diff --git a/app/client/src/pages/AdminSettings/FormGroup/Common.tsx b/app/client/src/pages/AdminSettings/FormGroup/Common.tsx index a923dae07f9a..2bfd31645696 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Common.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Common.tsx @@ -1,8 +1,8 @@ -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; import React from "react"; import styled from "styled-components"; -import { Icon, Tooltip, Text } from "design-system"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; +import { Icon, Tooltip, Text } from "@appsmith/ads"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; import EnterpriseTag from "components/EnterpriseTag"; import BusinessTag from "components/BusinessTag"; diff --git a/app/client/src/pages/AdminSettings/FormGroup/CopyUrlForm.tsx b/app/client/src/pages/AdminSettings/FormGroup/CopyUrlForm.tsx index c46210d4b261..54cfff3095af 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/CopyUrlForm.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/CopyUrlForm.tsx @@ -1,8 +1,8 @@ import React, { useMemo } from "react"; import styled from "styled-components"; import copy from "copy-to-clipboard"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Icon, Input, Text, toast, Tooltip } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Icon, Input, Text, toast, Tooltip } from "@appsmith/ads"; export const BodyContainer = styled.div` width: 100%; diff --git a/app/client/src/pages/AdminSettings/FormGroup/Dropdown.tsx b/app/client/src/pages/AdminSettings/FormGroup/Dropdown.tsx index 8931404c65da..6fe71e8f23d4 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Dropdown.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Dropdown.tsx @@ -2,7 +2,7 @@ import React from "react"; import type { SettingComponentProps } from "./Common"; import { FormGroup } from "./Common"; import SelectField from "components/editorComponents/form/fields/SelectField"; -import type { SelectOptionProps } from "design-system"; +import type { SelectOptionProps } from "@appsmith/ads"; export default function DropDown( props: { diff --git a/app/client/src/pages/AdminSettings/FormGroup/Group.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/Group.test.tsx index bb5f7076eaa6..9879f387b597 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Group.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Group.test.tsx @@ -1,9 +1,9 @@ import { render, screen } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import Group from "./group"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { reduxForm } from "redux-form"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/ImageInput.tsx b/app/client/src/pages/AdminSettings/FormGroup/ImageInput.tsx index f628516ca7dd..e71cf9deb4ab 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/ImageInput.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/ImageInput.tsx @@ -1,6 +1,6 @@ import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import { Field } from "redux-form"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import React, { memo, useRef, useState, useEffect } from "react"; import type { FormTextFieldProps } from "components/utils/ReduxFormTextField"; @@ -8,7 +8,7 @@ import type { FormTextFieldProps } from "components/utils/ReduxFormTextField"; import type { SettingComponentProps } from "./Common"; import { FormGroup } from "./Common"; import { ContentBox } from "../components"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; interface ImageInputProps { // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/Link.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/Link.test.tsx index 588c35248313..ab7c9083e691 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Link.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Link.test.tsx @@ -1,7 +1,7 @@ import { render, screen } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import Link from "./Link"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/Link.tsx b/app/client/src/pages/AdminSettings/FormGroup/Link.tsx index 38a64f762735..76c9137c7cda 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Link.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Link.tsx @@ -1,6 +1,6 @@ import { Icon } from "@blueprintjs/core"; -import { Text } from "design-system"; -import { createMessage, LEARN_MORE } from "@appsmith/constants/messages"; +import { Text } from "@appsmith/ads"; +import { createMessage, LEARN_MORE } from "ee/constants/messages"; import React from "react"; import { useDispatch } from "react-redux"; import styled from "styled-components"; diff --git a/app/client/src/pages/AdminSettings/FormGroup/Radio.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/Radio.test.tsx index abdb46200dee..78ed4adfb054 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Radio.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Radio.test.tsx @@ -1,9 +1,9 @@ import { render } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import Radio from "./Radio"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { reduxForm } from "redux-form"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/Radio.tsx b/app/client/src/pages/AdminSettings/FormGroup/Radio.tsx index 3a01ac45bb95..0c8e8bad49d2 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Radio.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Radio.tsx @@ -1,14 +1,14 @@ import React, { useEffect, useState } from "react"; import type { ReactElement } from "react"; -import { FieldError } from "design-system-old"; +import { FieldError } from "@appsmith/ads-old"; import { Popover2 } from "@blueprintjs/popover2"; import { FormGroup, type SettingComponentProps } from "./Common"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import { Field } from "redux-form"; import styled, { createGlobalStyle } from "styled-components"; import { Position } from "@blueprintjs/core"; -import type { RadioProps } from "design-system"; -import { Icon, Link, Radio, RadioGroup, Tag, Text } from "design-system"; +import type { RadioProps } from "@appsmith/ads"; +import { Icon, Link, Radio, RadioGroup, Tag, Text } from "@appsmith/ads"; type RadioOption = { node?: ReactElement; diff --git a/app/client/src/pages/AdminSettings/FormGroup/TagInputField.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/TagInputField.test.tsx index b33486f098a9..8f8f10c8ee8c 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/TagInputField.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/TagInputField.test.tsx @@ -1,9 +1,9 @@ import { render, screen } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import TagInputField from "./TagInputField"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { reduxForm } from "redux-form"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/TagInputField.tsx b/app/client/src/pages/AdminSettings/FormGroup/TagInputField.tsx index 38476ec35906..7b9762217f6c 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/TagInputField.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/TagInputField.tsx @@ -1,10 +1,10 @@ import React from "react"; import type { WrappedFieldMetaProps, WrappedFieldInputProps } from "redux-form"; import { Field } from "redux-form"; -import { TagInput } from "design-system-old"; +import { TagInput } from "@appsmith/ads-old"; import { FormGroup } from "./Common"; import type { Intent } from "constants/DefaultTheme"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; const renderComponent = ( componentProps: TagListFieldProps & { diff --git a/app/client/src/pages/AdminSettings/FormGroup/Text.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/Text.test.tsx index 3c2d87f703f5..5f28aa3a98ca 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Text.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Text.test.tsx @@ -1,7 +1,7 @@ import { render, screen } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import TextComponent from "./Text"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/Text.tsx b/app/client/src/pages/AdminSettings/FormGroup/Text.tsx index 121c191bd8e3..f6c57a11763c 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Text.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Text.tsx @@ -1,4 +1,4 @@ -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import React from "react"; import { getSettings } from "selectors/settingsSelectors"; import { useSelector } from "react-redux"; diff --git a/app/client/src/pages/AdminSettings/FormGroup/TextAreaField.tsx b/app/client/src/pages/AdminSettings/FormGroup/TextAreaField.tsx index b778e2bd5df7..1704204f43fb 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/TextAreaField.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/TextAreaField.tsx @@ -2,9 +2,9 @@ import React from "react"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import { Field } from "redux-form"; import type { Intent } from "constants/DefaultTheme"; -import { FieldError } from "design-system-old"; -import { Input } from "design-system"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; +import { FieldError } from "@appsmith/ads-old"; +import { Input } from "@appsmith/ads"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; const renderComponent = ( componentProps: FormTextAreaFieldProps & { diff --git a/app/client/src/pages/AdminSettings/FormGroup/TextInput.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/TextInput.test.tsx index 6aaa129bdd74..1e12fafce22d 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/TextInput.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/TextInput.test.tsx @@ -1,12 +1,12 @@ import { render } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; import { SettingTypes, SettingSubtype, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import TextInput from "./TextInput"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { reduxForm } from "redux-form"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/TextInput.tsx b/app/client/src/pages/AdminSettings/FormGroup/TextInput.tsx index 0d66cc0dfb14..7051a41e3fe1 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/TextInput.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/TextInput.tsx @@ -1,5 +1,5 @@ import FormTextField from "components/utils/ReduxFormTextField"; -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; import React from "react"; import { FormGroup, type SettingComponentProps } from "./Common"; diff --git a/app/client/src/pages/AdminSettings/FormGroup/Toggle.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/Toggle.test.tsx index f1b3ebd1de4e..75f18e8ce7c7 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Toggle.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Toggle.test.tsx @@ -1,9 +1,9 @@ import { render } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import Toggle from "./Toggle"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { reduxForm } from "redux-form"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/Toggle.tsx b/app/client/src/pages/AdminSettings/FormGroup/Toggle.tsx index bc66e5077eee..f2a999b07d12 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/Toggle.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/Toggle.tsx @@ -4,9 +4,9 @@ import { Field, getFormValues } from "redux-form"; import styled from "styled-components"; import type { SettingComponentProps } from "./Common"; import type { FormTextFieldProps } from "components/utils/ReduxFormTextField"; -import { createMessage } from "@appsmith/constants/messages"; -import { Switch, Text } from "design-system"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { createMessage } from "ee/constants/messages"; +import { Switch, Text } from "@appsmith/ads"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { useSelector } from "react-redux"; const ToggleWrapper = styled.div` diff --git a/app/client/src/pages/AdminSettings/FormGroup/common.test.tsx b/app/client/src/pages/AdminSettings/FormGroup/common.test.tsx index d0016bdced37..a15536a733b5 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/common.test.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/common.test.tsx @@ -1,7 +1,7 @@ import { render, screen } from "test/testUtils"; import React from "react"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import { FormGroup } from "./Common"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/FormGroup/group.tsx b/app/client/src/pages/AdminSettings/FormGroup/group.tsx index 7583e1ef86ea..285d9bc7a953 100644 --- a/app/client/src/pages/AdminSettings/FormGroup/group.tsx +++ b/app/client/src/pages/AdminSettings/FormGroup/group.tsx @@ -1,16 +1,16 @@ import React from "react"; import styled from "styled-components"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import TextInput from "./TextInput"; import Toggle from "./Toggle"; import TextComponent from "./Text"; import Button from "./Button"; import { getFormValues } from "redux-form"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; import { useDispatch, useSelector } from "react-redux"; -import { createMessage, LEARN_MORE } from "@appsmith/constants/messages"; -import { Callout, Text } from "design-system"; +import { createMessage, LEARN_MORE } from "ee/constants/messages"; +import { Callout, Text } from "@appsmith/ads"; import CopyUrlForm from "./CopyUrlForm"; import Accordion from "./Accordion"; import TagInputField from "./TagInputField"; diff --git a/app/client/src/pages/AdminSettings/LeftPane.tsx b/app/client/src/pages/AdminSettings/LeftPane.tsx index 76abaa645ee1..5635724b36da 100644 --- a/app/client/src/pages/AdminSettings/LeftPane.tsx +++ b/app/client/src/pages/AdminSettings/LeftPane.tsx @@ -1,28 +1,28 @@ import React from "react"; import styled from "styled-components"; -import AdminConfig from "@appsmith/pages/AdminSettings/config"; +import AdminConfig from "ee/pages/AdminSettings/config"; import { CategoryType, type Category, -} from "@appsmith/pages/AdminSettings/config/types"; -import { adminSettingsCategoryUrl } from "@appsmith/RouteBuilder"; +} from "ee/pages/AdminSettings/config/types"; +import { adminSettingsCategoryUrl } from "ee/RouteBuilder"; import { useParams } from "react-router"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Link, Text } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Link, Text } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getCurrentUser } from "selectors/usersSelectors"; import BusinessTag from "components/BusinessTag"; import EnterpriseTag from "components/EnterpriseTag"; -import { getTenantPermissions } from "@appsmith/selectors/tenantSelectors"; +import { getTenantPermissions } from "ee/selectors/tenantSelectors"; import { getFilteredAclCategories, getFilteredGeneralCategories, getFilteredOtherCategories, -} from "@appsmith/utils/adminSettingsHelpers"; +} from "ee/utils/adminSettingsHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasAuditLogsReadPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasAuditLogsReadPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; export const Wrapper = styled.div` flex-basis: ${(props) => props.theme.sidebarWidth}; diff --git a/app/client/src/pages/AdminSettings/Main.tsx b/app/client/src/pages/AdminSettings/Main.tsx index 6d8ba818b403..4c3afaeca00a 100644 --- a/app/client/src/pages/AdminSettings/Main.tsx +++ b/app/client/src/pages/AdminSettings/Main.tsx @@ -1,15 +1,15 @@ import React from "react"; -import AdminConfig from "@appsmith/pages/AdminSettings/config"; +import AdminConfig from "ee/pages/AdminSettings/config"; import { Redirect, useParams } from "react-router"; -import { SettingCategories } from "@appsmith/pages/AdminSettings/config/types"; +import { SettingCategories } from "ee/pages/AdminSettings/config/types"; import SettingsForm from "pages/AdminSettings/SettingsForm"; -import { getWrapperCategory } from "@appsmith/utils/adminSettingsHelpers"; +import { getWrapperCategory } from "ee/utils/adminSettingsHelpers"; import { useSelector } from "react-redux"; import { getCurrentUser } from "selectors/usersSelectors"; -import { getTenantPermissions } from "@appsmith/selectors/tenantSelectors"; +import { getTenantPermissions } from "ee/selectors/tenantSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getAdminSettingsPath } from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getAdminSettingsPath } from "ee/utils/BusinessFeatures/adminSettingsHelpers"; const Main = () => { // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/AdminSettings/RestartBanner.tsx b/app/client/src/pages/AdminSettings/RestartBanner.tsx index 2c10a22e7dd3..f0ee12f614c3 100644 --- a/app/client/src/pages/AdminSettings/RestartBanner.tsx +++ b/app/client/src/pages/AdminSettings/RestartBanner.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { hexToRgba } from "design-system-old"; -import { Button, Icon, Spinner, Text } from "design-system"; +import { hexToRgba } from "@appsmith/ads-old"; +import { Button, Icon, Spinner, Text } from "@appsmith/ads"; import { getIsRestartFailed, getRestartingState, @@ -14,9 +14,9 @@ import { RESTART_BANNER_HEADER, RESTART_ERROR_BODY, RESTART_ERROR_HEADER, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Colors } from "constants/Colors"; -import { retryServerRestart } from "@appsmith/actions/settingsAction"; +import { retryServerRestart } from "ee/actions/settingsAction"; import { useDispatch } from "react-redux"; const RestartBannerWrapper = styled.div` diff --git a/app/client/src/pages/AdminSettings/SaveSettings.tsx b/app/client/src/pages/AdminSettings/SaveSettings.tsx index 74ceda927efd..980088e87486 100644 --- a/app/client/src/pages/AdminSettings/SaveSettings.tsx +++ b/app/client/src/pages/AdminSettings/SaveSettings.tsx @@ -5,8 +5,8 @@ import { SAVE_AND_RESTART_BUTTON, SAVE_BUTTON, createMessage, -} from "@appsmith/constants/messages"; -import { Button } from "design-system"; +} from "ee/constants/messages"; +import { Button } from "@appsmith/ads"; import styled from "styled-components"; const SettingsButtonWrapper = styled.div` diff --git a/app/client/src/pages/AdminSettings/SettingsBreadcrumbs.tsx b/app/client/src/pages/AdminSettings/SettingsBreadcrumbs.tsx index 47a66c458b66..ebc84a865823 100644 --- a/app/client/src/pages/AdminSettings/SettingsBreadcrumbs.tsx +++ b/app/client/src/pages/AdminSettings/SettingsBreadcrumbs.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { Breadcrumbs } from "design-system-old"; -import { BreadcrumbCategories } from "@appsmith/pages/AdminSettings/BreadcrumbCategories"; +import { Breadcrumbs } from "@appsmith/ads-old"; +import { BreadcrumbCategories } from "ee/pages/AdminSettings/BreadcrumbCategories"; export const getBreadcrumbList = (category: string, subCategory?: string) => { const breadcrumbList = [ diff --git a/app/client/src/pages/AdminSettings/SettingsForm.tsx b/app/client/src/pages/AdminSettings/SettingsForm.tsx index 0b6fc76069af..574da3492a7a 100644 --- a/app/client/src/pages/AdminSettings/SettingsForm.tsx +++ b/app/client/src/pages/AdminSettings/SettingsForm.tsx @@ -1,13 +1,13 @@ import React, { useCallback, useEffect, useMemo } from "react"; -import { saveSettings } from "@appsmith/actions/settingsAction"; -import { SETTINGS_FORM_NAME } from "@appsmith/constants/forms"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { saveSettings } from "ee/actions/settingsAction"; +import { SETTINGS_FORM_NAME } from "ee/constants/forms"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import _ from "lodash"; import ProductUpdatesModal from "pages/Applications/ProductUpdatesModal"; import { connect, useDispatch, useSelector } from "react-redux"; import type { RouteComponentProps } from "react-router"; import { useParams, withRouter } from "react-router"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { InjectedFormProps } from "redux-form"; import { formValueSelector, reduxForm } from "redux-form"; import { @@ -19,21 +19,18 @@ import Group from "./FormGroup/group"; import RestartBanner from "./RestartBanner"; import SaveAdminSettings from "./SaveSettings"; import { DisconnectService } from "./DisconnectService"; -import AdminConfig from "@appsmith/pages/AdminSettings/config"; -import type { Setting } from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +import AdminConfig from "ee/pages/AdminSettings/config"; +import type { Setting } from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; import { createMessage, DISCONNECT_AUTH_ERROR, DISCONNECT_SERVICE_SUBHEADER, DISCONNECT_SERVICE_WARNING, MANDATORY_FIELDS_ERROR, -} from "@appsmith/constants/messages"; -import { - isTenantConfig, - saveAllowed, -} from "@appsmith/utils/adminSettingsHelpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import { isTenantConfig, saveAllowed } from "ee/utils/adminSettingsHelpers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { Wrapper, BottomSpace, @@ -43,13 +40,13 @@ import { SettingsFormWrapper, } from "./components"; import { BackButton } from "components/utils/helperComponents"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { getIsFormLoginEnabled, getThirdPartyAuths, -} from "@appsmith/selectors/tenantSelectors"; -import { updateTenantConfig } from "@appsmith/actions/tenantActions"; -import { tenantConfigConnection } from "@appsmith/constants/tenantConstants"; +} from "ee/selectors/tenantSelectors"; +import { updateTenantConfig } from "ee/actions/tenantActions"; +import { tenantConfigConnection } from "ee/constants/tenantConstants"; interface FormProps { settings: Record; diff --git a/app/client/src/pages/AdminSettings/components.tsx b/app/client/src/pages/AdminSettings/components.tsx index 78a6f2b79633..db9385eb434b 100644 --- a/app/client/src/pages/AdminSettings/components.tsx +++ b/app/client/src/pages/AdminSettings/components.tsx @@ -1,6 +1,6 @@ import styled from "styled-components"; import { Classes } from "@blueprintjs/core"; -import { Link, Text } from "design-system"; +import { Link, Text } from "@appsmith/ads"; export const Wrapper = styled.div` flex-basis: calc(100% - ${(props) => props.theme.homePage.leftPane.width}px); diff --git a/app/client/src/pages/AdminSettings/config/ConfigFactory.ts b/app/client/src/pages/AdminSettings/config/ConfigFactory.ts index f37674e239b9..f2df6c31e180 100644 --- a/app/client/src/pages/AdminSettings/config/ConfigFactory.ts +++ b/app/client/src/pages/AdminSettings/config/ConfigFactory.ts @@ -2,8 +2,8 @@ import type { AdminConfigType, Category, Setting, -} from "@appsmith/pages/AdminSettings/config/types"; -import { SettingTypes } from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; +import { SettingTypes } from "ee/pages/AdminSettings/config/types"; export class ConfigFactory { static settingsMap: Record = {}; static settings: Setting[] = []; diff --git a/app/client/src/pages/AdminSettings/config/advanced.ts b/app/client/src/pages/AdminSettings/config/advanced.ts index 72d610e26f21..b13b0bf26967 100644 --- a/app/client/src/pages/AdminSettings/config/advanced.ts +++ b/app/client/src/pages/AdminSettings/config/advanced.ts @@ -1,10 +1,10 @@ -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingSubtype, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; export const config: AdminConfigType = { icon: "settings-line", @@ -19,9 +19,9 @@ export const config: AdminConfigType = { category: SettingCategories.ADVANCED, controlType: SettingTypes.TEXTINPUT, controlSubType: SettingSubtype.TEXT, - label: "MongoDB URI", + label: "Appsmith DB URL", subText: - "* Appsmith internally uses MongoDB. Change to an external MongoDB for clustering", + "* Persistence database URL for Appsmith instance. Change this to an external database for clustering", }, { id: "APPSMITH_REDIS_URL", diff --git a/app/client/src/pages/AdminSettings/config/email.ts b/app/client/src/pages/AdminSettings/config/email.ts index 9ba4bbbf69d5..9e5020c5d5bf 100644 --- a/app/client/src/pages/AdminSettings/config/email.ts +++ b/app/client/src/pages/AdminSettings/config/email.ts @@ -1,20 +1,20 @@ import { EMAIL_SETUP_DOC } from "constants/ThirdPartyConstants"; import { isEmail } from "utils/formhelpers"; import type { Dispatch } from "react"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { isNil, omitBy } from "lodash"; -import type { AdminConfigType } from "@appsmith/pages/AdminSettings/config/types"; +import type { AdminConfigType } from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingSubtype, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { ADMIN_SETTINGS_EMAIL_WARNING, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; export const config: AdminConfigType = { icon: "mail-line", diff --git a/app/client/src/pages/AdminSettings/config/version.ts b/app/client/src/pages/AdminSettings/config/version.ts index e26ffd814665..020bd52fbe2b 100644 --- a/app/client/src/pages/AdminSettings/config/version.ts +++ b/app/client/src/pages/AdminSettings/config/version.ts @@ -1,16 +1,16 @@ import type { Dispatch } from "react"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { AdminConfigType, Setting, -} from "@appsmith/pages/AdminSettings/config/types"; +} from "ee/pages/AdminSettings/config/types"; import { CategoryType, SettingCategories, SettingTypes, -} from "@appsmith/pages/AdminSettings/config/types"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +} from "ee/pages/AdminSettings/config/types"; +import { isAirgapped } from "ee/utils/airgapHelpers"; const isAirgappedInstance = isAirgapped(); diff --git a/app/client/src/pages/AdminSettings/index.tsx b/app/client/src/pages/AdminSettings/index.tsx index 8709f67e5be5..36828beb4628 100644 --- a/app/client/src/pages/AdminSettings/index.tsx +++ b/app/client/src/pages/AdminSettings/index.tsx @@ -1,18 +1,18 @@ import React, { useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import PageWrapper from "pages/common/PageWrapper"; import { getSettingsLoadingState } from "selectors/settingsSelectors"; import styled from "styled-components"; import LeftPane from "pages/AdminSettings/LeftPane"; import Main from "pages/AdminSettings/Main"; -import WithSuperUserHOC from "@appsmith/pages/AdminSettings/WithSuperUserHoc"; +import WithSuperUserHOC from "ee/pages/AdminSettings/WithSuperUserHoc"; import { getCurrentUser } from "selectors/usersSelectors"; import bootIntercom from "utils/bootIntercom"; import { LoaderContainer } from "pages/AdminSettings/components"; import { useParams } from "react-router"; -import AdminConfig from "@appsmith/pages/AdminSettings/config"; -import { Spinner } from "design-system"; +import AdminConfig from "ee/pages/AdminSettings/config"; +import { Spinner } from "@appsmith/ads"; const FlexContainer = styled.div` display: flex; diff --git a/app/client/src/pages/AppViewer/AppPage/AppPage.tsx b/app/client/src/pages/AppViewer/AppPage/AppPage.tsx index d3418bd79b62..0c24edd103c4 100644 --- a/app/client/src/pages/AppViewer/AppPage/AppPage.tsx +++ b/app/client/src/pages/AppViewer/AppPage/AppPage.tsx @@ -1,8 +1,8 @@ import React, { useEffect, useMemo, useRef } from "react"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { CanvasWidgetStructure } from "WidgetProvider/constants"; import { useSelector } from "react-redux"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; import { renderAppsmithCanvas } from "layoutSystems/CanvasFactory"; import type { WidgetProps } from "widgets/BaseWidget"; diff --git a/app/client/src/pages/AppViewer/AppViewerButton.tsx b/app/client/src/pages/AppViewer/AppViewerButton.tsx index 7a6fb7cf8239..42c2af78eaa9 100644 --- a/app/client/src/pages/AppViewer/AppViewerButton.tsx +++ b/app/client/src/pages/AppViewer/AppViewerButton.tsx @@ -9,7 +9,7 @@ import { getMenuItemTextColor, getSignInButtonStyles, } from "./utils"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; const StyledButton = styled(Button)<{ primaryColor: string; @@ -78,7 +78,7 @@ const StyledButton = styled(Button)<{ gap: 10px; width: 100%; justify-content: ${isMinimal ? "center" : "flex-start"}; - + .bp3-button-text { ${getTypographyByKey("h5")} font-weight: 400; @@ -102,7 +102,7 @@ const StyledButton = styled(Button)<{ } &:hover, - &:active, + &:active, &:focus { background-color: ${styles.backgroundOnHover} !important; diff --git a/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx b/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx index a06ba0d2412b..be263b91b37a 100644 --- a/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx +++ b/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx @@ -11,13 +11,10 @@ import Centered from "components/designSystems/appsmith/CenteredWrapper"; import AppPage from "./AppPage"; import { getCanvasWidth, getCurrentPageName } from "selectors/editorSelectors"; import RequestConfirmationModal from "pages/Editor/RequestConfirmationModal"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; -import { builderURL } from "@appsmith/RouteBuilder"; -import { getCanvasWidgetsStructure } from "@appsmith/selectors/entitiesSelector"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; +import { builderURL } from "ee/RouteBuilder"; +import { getCanvasWidgetsStructure } from "ee/selectors/entitiesSelector"; import equal from "fast-deep-equal/es6"; const Section = styled.section` diff --git a/app/client/src/pages/AppViewer/BrandingBadge.tsx b/app/client/src/pages/AppViewer/BrandingBadge.tsx index 3710c15a6a08..9f14ebeddd9e 100644 --- a/app/client/src/pages/AppViewer/BrandingBadge.tsx +++ b/app/client/src/pages/AppViewer/BrandingBadge.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; import styled from "styled-components"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; const AppsmithLogo = importSvg( async () => import("assets/svg/appsmith-logo-no-pad.svg"), ); diff --git a/app/client/src/pages/AppViewer/BrandingBadgeMobile.tsx b/app/client/src/pages/AppViewer/BrandingBadgeMobile.tsx index a790e64a630b..9de2e9481889 100644 --- a/app/client/src/pages/AppViewer/BrandingBadgeMobile.tsx +++ b/app/client/src/pages/AppViewer/BrandingBadgeMobile.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const AppsmithLogo = importSvg( async () => import("assets/svg/appsmith-logo-no-pad.svg"), diff --git a/app/client/src/pages/AppViewer/Navigation/Sidebar.tsx b/app/client/src/pages/AppViewer/Navigation/Sidebar.tsx index 3610a64cd925..1d2ef4322d95 100644 --- a/app/client/src/pages/AppViewer/Navigation/Sidebar.tsx +++ b/app/client/src/pages/AppViewer/Navigation/Sidebar.tsx @@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react"; import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { NAVIGATION_SETTINGS, SIDEBAR_WIDTH } from "constants/AppConstants"; import { get } from "lodash"; import { useDispatch, useSelector } from "react-redux"; @@ -13,7 +13,7 @@ import MenuItem from "./components/MenuItem"; import ShareButton from "./components/ShareButton"; import PrimaryCTA from "../PrimaryCTA"; import { useHref } from "pages/Editor/utils"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { combinedPreviewModeSelector, getCurrentBasePageId, @@ -23,8 +23,8 @@ import SidebarProfileComponent from "./components/SidebarProfileComponent"; import CollapseButton from "./components/CollapseButton"; import classNames from "classnames"; import { useMouse } from "@mantine/hooks"; -import { getAppSidebarPinned } from "@appsmith/selectors/applicationSelectors"; -import { setIsAppSidebarPinned } from "@appsmith/actions/applicationActions"; +import { getAppSidebarPinned } from "ee/selectors/applicationSelectors"; +import { setIsAppSidebarPinned } from "ee/actions/applicationActions"; import { StyledCtaContainer, StyledFooter, @@ -34,7 +34,7 @@ import { } from "./Sidebar.styled"; import { getCurrentThemeDetails } from "selectors/themeSelectors"; import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors"; -import NavigationLogo from "@appsmith/pages/AppViewer/NavigationLogo"; +import NavigationLogo from "ee/pages/AppViewer/NavigationLogo"; import MenuItemContainer from "./components/MenuItemContainer"; import BackToAppsButton from "./components/BackToAppsButton"; diff --git a/app/client/src/pages/AppViewer/Navigation/TopInline.tsx b/app/client/src/pages/AppViewer/Navigation/TopInline.tsx index 699058d6c278..c8b2c9fb1c53 100644 --- a/app/client/src/pages/AppViewer/Navigation/TopInline.tsx +++ b/app/client/src/pages/AppViewer/Navigation/TopInline.tsx @@ -5,7 +5,7 @@ import React, { useEffect, useLayoutEffect, useRef, useState } from "react"; import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; // import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { useWindowSizeHooks } from "utils/hooks/dragResizeHooks"; // import { getSelectedAppTheme } from "selectors/appThemingSelectors"; diff --git a/app/client/src/pages/AppViewer/Navigation/TopStacked.styled.tsx b/app/client/src/pages/AppViewer/Navigation/TopStacked.styled.tsx index 39906fe0b90d..c13eac286e90 100644 --- a/app/client/src/pages/AppViewer/Navigation/TopStacked.styled.tsx +++ b/app/client/src/pages/AppViewer/Navigation/TopStacked.styled.tsx @@ -1,6 +1,6 @@ import type { NavigationSetting } from "constants/AppConstants"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import styled from "styled-components"; import { getMenuContainerBackgroundColor, diff --git a/app/client/src/pages/AppViewer/Navigation/TopStacked.tsx b/app/client/src/pages/AppViewer/Navigation/TopStacked.tsx index 9a2386774c73..e688af41adc4 100644 --- a/app/client/src/pages/AppViewer/Navigation/TopStacked.tsx +++ b/app/client/src/pages/AppViewer/Navigation/TopStacked.tsx @@ -5,7 +5,7 @@ import MenuItem from "./components/MenuItem"; import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import useThrottledRAF from "utils/hooks/useThrottledRAF"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { get } from "lodash"; diff --git a/app/client/src/pages/AppViewer/Navigation/components/ApplicationName.tsx b/app/client/src/pages/AppViewer/Navigation/components/ApplicationName.tsx index 80fb5a93e5d1..e8f2f8514f70 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/ApplicationName.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/ApplicationName.tsx @@ -2,7 +2,7 @@ import React, { useEffect, useRef, useState } from "react"; import type { NavigationSetting } from "constants/AppConstants"; import { StyledApplicationName } from "./ApplicationName.styled"; import { isEllipsisActive } from "utils/helpers"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; interface ApplicationNameProps { diff --git a/app/client/src/pages/AppViewer/Navigation/components/BackToAppsButton.tsx b/app/client/src/pages/AppViewer/Navigation/components/BackToAppsButton.tsx index 534edc4c8fc9..1610cda872d7 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/BackToAppsButton.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/BackToAppsButton.tsx @@ -1,19 +1,19 @@ import React from "react"; import Button from "../../AppViewerButton"; import { useSelector } from "react-redux"; -import { ALL_APPS, createMessage } from "@appsmith/constants/messages"; +import { ALL_APPS, createMessage } from "ee/constants/messages"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { getMenuItemTextColor } from "pages/AppViewer/utils"; import type { NavigationSetting } from "constants/AppConstants"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { get } from "lodash"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { useHistory } from "react-router"; import styled from "styled-components"; import { getCurrentUser } from "selectors/usersSelectors"; import type { User } from "constants/userConstants"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; interface BackToAppsButtonProps { currentApplicationDetails?: ApplicationPayload; diff --git a/app/client/src/pages/AppViewer/Navigation/components/CollapseButton.tsx b/app/client/src/pages/AppViewer/Navigation/components/CollapseButton.tsx index 18be8d1b26a1..56c7e91c6f6d 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/CollapseButton.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/CollapseButton.tsx @@ -2,9 +2,9 @@ import { CLOSE_SIDEBAR_MESSAGE, createMessage, LOCK_SIDEBAR_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import classNames from "classnames"; -import { TooltipComponent } from "design-system-old"; +import { TooltipComponent } from "@appsmith/ads-old"; import React from "react"; import type { NavigationSetting } from "constants/AppConstants"; import { @@ -12,7 +12,7 @@ import { StyledIconContainer, TooltipStyles, } from "./CollapseButton.styled"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const UnpinIcon = importSvg( async () => import("assets/icons/ads/double-arrow-right.svg"), diff --git a/app/client/src/pages/AppViewer/Navigation/components/MenuItem.tsx b/app/client/src/pages/AppViewer/Navigation/components/MenuItem.tsx index b29f90854584..69a55ee65e91 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/MenuItem.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/MenuItem.tsx @@ -1,16 +1,16 @@ import React from "react"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; import type { NavigationSetting } from "constants/AppConstants"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { APP_MODE } from "entities/App"; import { get } from "lodash"; import { useHref } from "pages/Editor/utils"; import { useSelector } from "react-redux"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { trimQueryString } from "utils/helpers"; -import { Icon } from "design-system-old"; +import { Icon } from "@appsmith/ads-old"; import MenuText from "./MenuText"; import classNames from "classnames"; import { StyledMenuItem } from "./MenuItem.styled"; diff --git a/app/client/src/pages/AppViewer/Navigation/components/MenuText.styled.tsx b/app/client/src/pages/AppViewer/Navigation/components/MenuText.styled.tsx index a4dfc2739b97..0a5b7d8b7749 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/MenuText.styled.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/MenuText.styled.tsx @@ -1,5 +1,5 @@ import type { NavigationSetting } from "constants/AppConstants"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import styled from "styled-components"; export const StyledMenuItemText = styled.div<{ diff --git a/app/client/src/pages/AppViewer/Navigation/components/MenuText.tsx b/app/client/src/pages/AppViewer/Navigation/components/MenuText.tsx index 3016d52f10cb..7ae886523a10 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/MenuText.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/MenuText.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useRef, useState } from "react"; import type { NavigationSetting } from "constants/AppConstants"; -import { TooltipComponent } from "design-system-old"; +import { TooltipComponent } from "@appsmith/ads-old"; import { isEllipsisActive } from "utils/helpers"; import { StyledMenuItemText } from "./MenuText.styled"; diff --git a/app/client/src/pages/AppViewer/Navigation/components/MobileNavToggle.tsx b/app/client/src/pages/AppViewer/Navigation/components/MobileNavToggle.tsx index fb2b17c46293..966643178629 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/MobileNavToggle.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/MobileNavToggle.tsx @@ -1,7 +1,7 @@ import React from "react"; import { getMenuItemTextColor } from "pages/AppViewer/utils"; import type { NavigationSetting } from "constants/AppConstants"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; interface MobileNavToggleProps { isMenuOpen: boolean; diff --git a/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.styled.tsx b/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.styled.tsx index 6e34334c2d32..6a1c49e1b49c 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.styled.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.styled.tsx @@ -8,7 +8,7 @@ import { import styled from "styled-components"; import Button from "pages/AppViewer/AppViewerButton"; import { NavLink } from "react-router-dom"; -import { Menu } from "design-system-old"; +import { Menu } from "@appsmith/ads-old"; export const StyleMoreDropdownButton = styled(Button)<{ borderRadius: string; diff --git a/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.tsx b/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.tsx index c658f83580d4..9ef093650efe 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/MoreDropdownButton.tsx @@ -4,7 +4,7 @@ import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { get } from "lodash"; import { useSelector } from "react-redux"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import MenuText from "./MenuText"; import classNames from "classnames"; import { @@ -12,10 +12,10 @@ import { StyledMenuItemInDropdown, StyleMoreDropdownButton, } from "./MoreDropdownButton.styled"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; import { trimQueryString } from "utils/helpers"; import { NavigationMethod } from "utils/history"; diff --git a/app/client/src/pages/AppViewer/Navigation/components/ShareButton.tsx b/app/client/src/pages/AppViewer/Navigation/components/ShareButton.tsx index 7f6720374703..8dc30737a5a2 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/ShareButton.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/ShareButton.tsx @@ -1,22 +1,22 @@ import React, { useState } from "react"; import Button from "../../AppViewerButton"; -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; import AppInviteUsersForm from "pages/workspace/AppInviteUsersForm"; import { useSelector } from "react-redux"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { getApplicationNameTextColor } from "pages/AppViewer/utils"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { get } from "lodash"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { APPLICATION_INVITE, createMessage, SHARE_APP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import FormDialogComponent from "components/editorComponents/form/FormDialogComponent"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; interface ShareButtonProps { currentApplicationDetails?: ApplicationPayload; diff --git a/app/client/src/pages/AppViewer/Navigation/components/TopHeader.tsx b/app/client/src/pages/AppViewer/Navigation/components/TopHeader.tsx index 57307d3d57ad..9e73c9b5ea03 100644 --- a/app/client/src/pages/AppViewer/Navigation/components/TopHeader.tsx +++ b/app/client/src/pages/AppViewer/Navigation/components/TopHeader.tsx @@ -1,13 +1,13 @@ import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { get } from "lodash"; import { useHref } from "pages/Editor/utils"; import React from "react"; import { useSelector } from "react-redux"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import MobileNavToggle from "./MobileNavToggle"; @@ -21,7 +21,7 @@ import ProfileDropdown from "pages/common/ProfileDropdown"; import TopStacked from "../TopStacked"; import { HeaderRow, StyledNav } from "./TopHeader.styled"; import TopInline from "../TopInline"; -import NavigationLogo from "@appsmith/pages/AppViewer/NavigationLogo"; +import NavigationLogo from "ee/pages/AppViewer/NavigationLogo"; import BackToAppsButton from "./BackToAppsButton"; interface TopHeaderProps { diff --git a/app/client/src/pages/AppViewer/Navigation/constants.ts b/app/client/src/pages/AppViewer/Navigation/constants.ts index 90c426353e3c..7d0d59f1baa6 100644 --- a/app/client/src/pages/AppViewer/Navigation/constants.ts +++ b/app/client/src/pages/AppViewer/Navigation/constants.ts @@ -1,7 +1,7 @@ import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; export interface NavigationProps { pages: Page[]; diff --git a/app/client/src/pages/AppViewer/Navigation/index.tsx b/app/client/src/pages/AppViewer/Navigation/index.tsx index 84a3005c7382..4296450d71eb 100644 --- a/app/client/src/pages/AppViewer/Navigation/index.tsx +++ b/app/client/src/pages/AppViewer/Navigation/index.tsx @@ -1,14 +1,14 @@ import React, { useEffect, useRef, useState } from "react"; import { useLocation } from "react-router-dom"; import { ThemeProvider } from "styled-components"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getCurrentBasePageId, getViewModePageList, } from "selectors/editorSelectors"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getCurrentUser } from "selectors/usersSelectors"; import type { User } from "constants/userConstants"; import type { Theme } from "constants/DefaultTheme"; @@ -17,13 +17,13 @@ import HtmlTitle from "../AppViewerHtmlTitle"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import PageMenu from "pages/AppViewer/PageMenu"; import { useHref } from "pages/Editor/utils"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import TopHeader from "./components/TopHeader"; import Sidebar from "./Sidebar"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import { setAppViewHeaderHeight } from "actions/appViewActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; export function Navigation() { const { search } = useLocation(); diff --git a/app/client/src/pages/AppViewer/PageMenu.tsx b/app/client/src/pages/AppViewer/PageMenu.tsx index e9e388eb6d51..fb44c5f3473e 100644 --- a/app/client/src/pages/AppViewer/PageMenu.tsx +++ b/app/client/src/pages/AppViewer/PageMenu.tsx @@ -2,19 +2,19 @@ import React, { useState, useEffect, useRef } from "react"; import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +} from "ee/constants/ReduxActionConstants"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { useSelector } from "react-redux"; import classNames from "classnames"; import PrimaryCTA from "./PrimaryCTA"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import BrandingBadge from "./BrandingBadgeMobile"; import { getAppViewHeaderHeight } from "selectors/appViewSelectors"; import { useOnClickOutside } from "utils/hooks/useOnClickOutside"; import { useHref } from "pages/Editor/utils"; import { APP_MODE } from "entities/App"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; import { trimQueryString } from "utils/helpers"; import type { NavigationSetting } from "constants/AppConstants"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; @@ -23,7 +23,7 @@ import { PageMenuContainer, StyledNavLink } from "./PageMenu.styled"; import { StyledCtaContainer } from "./Navigation/Sidebar.styled"; import ShareButton from "./Navigation/components/ShareButton"; import BackToAppsButton from "./Navigation/components/BackToAppsButton"; -import { getHideWatermark } from "@appsmith/selectors/tenantSelectors"; +import { getHideWatermark } from "ee/selectors/tenantSelectors"; interface NavigationProps { isOpen?: boolean; diff --git a/app/client/src/pages/AppViewer/PageTabs.tsx b/app/client/src/pages/AppViewer/PageTabs.tsx index 16c36aee2e14..535719219698 100644 --- a/app/client/src/pages/AppViewer/PageTabs.tsx +++ b/app/client/src/pages/AppViewer/PageTabs.tsx @@ -5,15 +5,15 @@ import { get } from "lodash"; import type { ApplicationPayload, Page, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { isEllipsisActive, trimQueryString } from "utils/helpers"; -import { getTypographyByKey, TooltipComponent } from "design-system-old"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getTypographyByKey, TooltipComponent } from "@appsmith/ads-old"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { useSelector } from "react-redux"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { useHref } from "pages/Editor/utils"; import { APP_MODE } from "entities/App"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; import { getMenuItemBackgroundColorWhenActive, getMenuItemBackgroundColorOnHover, diff --git a/app/client/src/pages/AppViewer/PrimaryCTA.tsx b/app/client/src/pages/AppViewer/PrimaryCTA.tsx index e106accd3e79..2f97cc01c550 100644 --- a/app/client/src/pages/AppViewer/PrimaryCTA.tsx +++ b/app/client/src/pages/AppViewer/PrimaryCTA.tsx @@ -2,10 +2,7 @@ import React, { useEffect, useMemo, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import Button from "./AppViewerButton"; import { AUTH_LOGIN_URL } from "constants/routes"; -import { - PERMISSION_TYPE, - isPermitted, -} from "@appsmith/utils/permissionHelpers"; +import { PERMISSION_TYPE, isPermitted } from "ee/utils/permissionHelpers"; import { getCurrentBasePageId, previewModeSelector, @@ -16,20 +13,20 @@ import { EDIT_APP, FORK_APP, SIGN_IN, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getCurrentUser } from "selectors/usersSelectors"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; import ForkApplicationModal from "pages/Applications/ForkApplicationModal"; -import { viewerURL } from "@appsmith/RouteBuilder"; +import { viewerURL } from "ee/RouteBuilder"; import { useHistory, useLocation } from "react-router"; import { useHref } from "pages/Editor/utils"; import type { NavigationSetting } from "constants/AppConstants"; -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; import { getApplicationNameTextColor } from "./utils"; import { ButtonVariantTypes } from "components/constants"; import { setPreviewModeInitAction } from "actions/editorActions"; import { protectedModeSelector } from "selectors/gitSyncSelectors"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; /** * --------------------------------------------------------------------------------------------------- diff --git a/app/client/src/pages/AppViewer/SideNavItem.tsx b/app/client/src/pages/AppViewer/SideNavItem.tsx index 9f18de08624a..535e9b81bba9 100644 --- a/app/client/src/pages/AppViewer/SideNavItem.tsx +++ b/app/client/src/pages/AppViewer/SideNavItem.tsx @@ -3,7 +3,7 @@ import React from "react"; import styled from "styled-components"; import { NavLink, useRouteMatch } from "react-router-dom"; import { MenuItem, Classes } from "@blueprintjs/core"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const Content = styled.div<{ collapsed: boolean }>` display: flex; diff --git a/app/client/src/pages/AppViewer/index.tsx b/app/client/src/pages/AppViewer/index.tsx index 030d7a0397bf..87470d351f4c 100644 --- a/app/client/src/pages/AppViewer/index.tsx +++ b/app/client/src/pages/AppViewer/index.tsx @@ -3,7 +3,7 @@ import styled, { ThemeProvider } from "styled-components"; import { useDispatch } from "react-redux"; import type { RouteComponentProps } from "react-router"; import { withRouter } from "react-router"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { AppViewerRouteParams, BuilderRouteParams, @@ -36,11 +36,11 @@ import { initAppViewerAction } from "actions/initActions"; import { WidgetGlobaStyles } from "globalStyles/WidgetGlobalStyles"; import useWidgetFocus from "utils/hooks/useWidgetFocus/useWidgetFocus"; import HtmlTitle from "./AppViewerHtmlTitle"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { getAppThemeSettings, getCurrentApplication, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { editorInitializer } from "../../utils/editor/EditorUtils"; import { widgetInitialisationSuccess } from "../../actions/widgetActions"; import type { FontFamily } from "@design-system/theming"; @@ -48,9 +48,9 @@ import { ThemeProvider as WDSThemeProvider, useTheme, } from "@design-system/theming"; -import { KBViewerFloatingButton } from "@appsmith/pages/AppViewer/KnowledgeBase/KBViewerFloatingButton"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import { getHideWatermark } from "@appsmith/selectors/tenantSelectors"; +import { KBViewerFloatingButton } from "ee/pages/AppViewer/KnowledgeBase/KBViewerFloatingButton"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import { getHideWatermark } from "ee/selectors/tenantSelectors"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; const AppViewerBody = styled.section<{ diff --git a/app/client/src/pages/AppViewer/loader.tsx b/app/client/src/pages/AppViewer/loader.tsx index 63af226011f8..d9d9b751679b 100644 --- a/app/client/src/pages/AppViewer/loader.tsx +++ b/app/client/src/pages/AppViewer/loader.tsx @@ -8,7 +8,7 @@ import { APP_MODE } from "entities/App"; import { connect } from "react-redux"; import { getSearchQuery } from "utils/helpers"; import { GIT_BRANCH_QUERY_KEY } from "constants/routes"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; type Props = { initAppViewer: (payload: InitAppViewerPayload) => void; diff --git a/app/client/src/pages/Applications/ApplicationCard.tsx b/app/client/src/pages/Applications/ApplicationCard.tsx index 07b59444a19c..87dbf30e3c51 100644 --- a/app/client/src/pages/Applications/ApplicationCard.tsx +++ b/app/client/src/pages/Applications/ApplicationCard.tsx @@ -6,26 +6,26 @@ import React, { useMemo, } from "react"; import styled, { ThemeContext } from "styled-components"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { hasDeleteApplicationPermission, isPermitted, PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +} from "ee/utils/permissionHelpers"; import { getInitialsAndColorCode, getApplicationIcon, getRandomPaletteColor, } from "utils/AppsmithUtils"; -import type { AppIconName } from "design-system-old"; +import type { AppIconName } from "@appsmith/ads-old"; import { ColorSelector, EditableText, EditInteractionKind, IconSelector, SavingState, -} from "design-system-old"; -import type { MenuItemProps } from "design-system"; +} from "@appsmith/ads-old"; +import type { MenuItemProps } from "@appsmith/ads"; import { Button, Menu, @@ -33,22 +33,22 @@ import { MenuContent, MenuItem, MenuTrigger, -} from "design-system"; +} from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import type { ApplicationPagePayload, UpdateApplicationPayload, -} from "@appsmith/api/ApplicationApi"; +} from "ee/api/ApplicationApi"; import { getIsSavingAppName, getIsErroredSavingAppName, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import ForkApplicationModal from "./ForkApplicationModal"; -import { getExportAppAPIRoute } from "@appsmith/constants/ApiConstants"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import { getExportAppAPIRoute } from "ee/constants/ApiConstants"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; import history from "utils/history"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import { toast } from "design-system"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import { toast } from "@appsmith/ads"; import { getCurrentUser } from "actions/authActions"; import Card, { ContextMenuTrigger } from "components/common/Card"; import { generateEditedByText } from "./helpers"; diff --git a/app/client/src/pages/Applications/CommonElements.tsx b/app/client/src/pages/Applications/CommonElements.tsx index f675df2a93f9..bff3ec9d1cf6 100644 --- a/app/client/src/pages/Applications/CommonElements.tsx +++ b/app/client/src/pages/Applications/CommonElements.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { Classes as BlueprintClasses } from "@blueprintjs/core"; type ResourceHeadingProps = React.PropsWithChildren<{ diff --git a/app/client/src/pages/Applications/CreateApplicationForm.tsx b/app/client/src/pages/Applications/CreateApplicationForm.tsx index 20517756ca00..b4e281681b26 100644 --- a/app/client/src/pages/Applications/CreateApplicationForm.tsx +++ b/app/client/src/pages/Applications/CreateApplicationForm.tsx @@ -2,13 +2,13 @@ import React from "react"; import { connect } from "react-redux"; import type { InjectedFormProps } from "redux-form"; import { Form, reduxForm, Field } from "redux-form"; -import { CREATE_APPLICATION_FORM_NAME } from "@appsmith/constants/forms"; +import { CREATE_APPLICATION_FORM_NAME } from "ee/constants/forms"; import { createMessage, ERROR_MESSAGE_NAME_EMPTY, NAME_SPACE_ERROR, -} from "@appsmith/constants/messages"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/constants/messages"; +import type { AppState } from "ee/reducers"; import type { CreateApplicationFormValues } from "./helpers"; import { createApplicationFormSubmitHandler, diff --git a/app/client/src/pages/Applications/EmbedSnippet/DimensionsInput.tsx b/app/client/src/pages/Applications/EmbedSnippet/DimensionsInput.tsx index 2f96cb941066..2b3ad0fa1b03 100644 --- a/app/client/src/pages/Applications/EmbedSnippet/DimensionsInput.tsx +++ b/app/client/src/pages/Applications/EmbedSnippet/DimensionsInput.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { Input } from "design-system"; +import { Input } from "@appsmith/ads"; const StyledInput = styled(Input)` > .ads-v2-input__input-section > div { diff --git a/app/client/src/pages/Applications/EmbedSnippet/PrivateEmbeddingContent.tsx b/app/client/src/pages/Applications/EmbedSnippet/PrivateEmbeddingContent.tsx index 9ea34adcc6a3..d75bea78d678 100644 --- a/app/client/src/pages/Applications/EmbedSnippet/PrivateEmbeddingContent.tsx +++ b/app/client/src/pages/Applications/EmbedSnippet/PrivateEmbeddingContent.tsx @@ -1,24 +1,15 @@ import React from "react"; -import { Text, Link, Button, Icon } from "design-system"; -import { - createMessage, - IN_APP_EMBED_SETTING, -} from "@appsmith/constants/messages"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +import { Text, Link, Button, Icon } from "@appsmith/ads"; +import { createMessage, IN_APP_EMBED_SETTING } from "ee/constants/messages"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; import { RAMP_NAME, RampFeature, RampSection, } from "utils/ProductRamps/RampsControlList"; import { useSelector } from "react-redux"; -import { - getRampLink, - showProductRamps, -} from "@appsmith/selectors/rampSelectors"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { getRampLink, showProductRamps } from "ee/selectors/rampSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import EnterpriseTag from "components/EnterpriseTag"; diff --git a/app/client/src/pages/Applications/EmbedSnippet/Snippet.tsx b/app/client/src/pages/Applications/EmbedSnippet/Snippet.tsx index 36d1a950fe3c..55cae45f77ff 100644 --- a/app/client/src/pages/Applications/EmbedSnippet/Snippet.tsx +++ b/app/client/src/pages/Applications/EmbedSnippet/Snippet.tsx @@ -1,11 +1,8 @@ import React from "react"; import copy from "copy-to-clipboard"; -import { - createMessage, - IN_APP_EMBED_SETTING, -} from "@appsmith/constants/messages"; +import { createMessage, IN_APP_EMBED_SETTING } from "ee/constants/messages"; import styled from "styled-components"; -import { Icon, Text, toast } from "design-system"; +import { Icon, Text, toast } from "@appsmith/ads"; const StyledText = styled(Text)``; diff --git a/app/client/src/pages/Applications/EmbedSnippet/useUpdateEmbedSnippet.tsx b/app/client/src/pages/Applications/EmbedSnippet/useUpdateEmbedSnippet.tsx index 98bfa0d03451..dc7afa320393 100644 --- a/app/client/src/pages/Applications/EmbedSnippet/useUpdateEmbedSnippet.tsx +++ b/app/client/src/pages/Applications/EmbedSnippet/useUpdateEmbedSnippet.tsx @@ -3,16 +3,13 @@ import { useDispatch, useSelector } from "react-redux"; import { getDefaultBasePageId } from "sagas/selectors"; import { getSettings } from "selectors/settingsSelectors"; import { getCurrentUser } from "selectors/usersSelectors"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import debounce from "lodash/debounce"; -import { updateApplication } from "@appsmith/actions/applicationActions"; -import { viewerURL } from "@appsmith/RouteBuilder"; -import { - createMessage, - IN_APP_EMBED_SETTING, -} from "@appsmith/constants/messages"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { updateApplication } from "ee/actions/applicationActions"; +import { viewerURL } from "ee/RouteBuilder"; +import { createMessage, IN_APP_EMBED_SETTING } from "ee/constants/messages"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; import { AppsmithFrameAncestorsSetting } from "./Constants/constants"; import { formatEmbedSettings } from "./Utils/utils"; diff --git a/app/client/src/pages/Applications/ForkApplicationModal.tsx b/app/client/src/pages/Applications/ForkApplicationModal.tsx index 9483795e3733..fa4327ef475a 100644 --- a/app/client/src/pages/Applications/ForkApplicationModal.tsx +++ b/app/client/src/pages/Applications/ForkApplicationModal.tsx @@ -1,8 +1,8 @@ import React, { useState, useMemo, useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { hasCreateNewAppPermission } from "@appsmith/utils/permissionHelpers"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { AppState } from "@appsmith/reducers"; +import { hasCreateNewAppPermission } from "ee/utils/permissionHelpers"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; import { Button, Modal, @@ -11,7 +11,7 @@ import { Spinner, Select, Option, -} from "design-system"; +} from "@appsmith/ads"; import { ButtonWrapper, SpinnerWrapper } from "./ForkModalStyles"; import { CANCEL, @@ -20,10 +20,10 @@ import { FORK_APP_MODAL_EMPTY_TITLE, FORK_APP_MODAL_LOADING_TITLE, FORK_APP_MODAL_SUCCESS_TITLE, -} from "@appsmith/constants/messages"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { fetchAllWorkspaces } from "@appsmith/actions/workspaceActions"; +} from "ee/constants/messages"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; +import { fetchAllWorkspaces } from "ee/actions/workspaceActions"; interface ForkApplicationModalProps { applicationId: string; diff --git a/app/client/src/pages/Applications/ProductUpdatesModal/ReleaseComponent.tsx b/app/client/src/pages/Applications/ProductUpdatesModal/ReleaseComponent.tsx index 2b04dba363a4..5c570a0e5eea 100644 --- a/app/client/src/pages/Applications/ProductUpdatesModal/ReleaseComponent.tsx +++ b/app/client/src/pages/Applications/ProductUpdatesModal/ReleaseComponent.tsx @@ -2,7 +2,7 @@ import React, { useState, useRef, useEffect, useCallback } from "react"; import styled from "styled-components"; import moment from "moment"; import "@github/g-emoji-element"; -import { Divider, Text, Button, Tag } from "design-system"; +import { Divider, Text, Button, Tag } from "@appsmith/ads"; const StyledContainer = styled.div` color: ${(props) => props.theme.colors.text.normal}; diff --git a/app/client/src/pages/Applications/ProductUpdatesModal/UpdatesButton.tsx b/app/client/src/pages/Applications/ProductUpdatesModal/UpdatesButton.tsx index 8abfcb873ce4..d5dbd43ffcf0 100644 --- a/app/client/src/pages/Applications/ProductUpdatesModal/UpdatesButton.tsx +++ b/app/client/src/pages/Applications/ProductUpdatesModal/UpdatesButton.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import { Colors } from "constants/Colors"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const StyledUpdatesButton = styled.div` position: absolute; diff --git a/app/client/src/pages/Applications/ProductUpdatesModal/index.tsx b/app/client/src/pages/Applications/ProductUpdatesModal/index.tsx index 29bab4f1d9b8..6671e7fcc2fe 100644 --- a/app/client/src/pages/Applications/ProductUpdatesModal/index.tsx +++ b/app/client/src/pages/Applications/ProductUpdatesModal/index.tsx @@ -2,14 +2,14 @@ import React, { useState, useEffect } from "react"; import { useSelector, useDispatch } from "react-redux"; import styled from "styled-components"; import "@github/g-emoji-element"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import ReleasesAPI from "api/ReleasesAPI"; import { resetReleasesCount } from "actions/releasesActions"; import type { Release } from "./ReleaseComponent"; import ReleaseComponent from "./ReleaseComponent"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { Modal, ModalBody, ModalContent, ModalHeader } from "design-system"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { Modal, ModalBody, ModalContent, ModalHeader } from "@appsmith/ads"; +import { isAirgapped } from "ee/utils/airgapHelpers"; const Container = styled.div` position: relative; diff --git a/app/client/src/pages/Applications/helpers.ts b/app/client/src/pages/Applications/helpers.ts index 4efd18b8d47e..cd6c14b9b78a 100644 --- a/app/client/src/pages/Applications/helpers.ts +++ b/app/client/src/pages/Applications/helpers.ts @@ -1,6 +1,6 @@ -import type { AppIconName } from "design-system-old"; +import type { AppIconName } from "@appsmith/ads-old"; import type { AppColorCode } from "constants/DefaultTheme"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { SubmissionError } from "redux-form"; import { truncateString, howMuchTimeBeforeText } from "utils/helpers"; diff --git a/app/client/src/pages/Applications/loader.tsx b/app/client/src/pages/Applications/loader.tsx index 1e15c21cb7f7..067880167319 100644 --- a/app/client/src/pages/Applications/loader.tsx +++ b/app/client/src/pages/Applications/loader.tsx @@ -4,7 +4,7 @@ import { retryPromise } from "utils/AppsmithUtils"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { connect } from "react-redux"; import { showDebugger } from "actions/debuggerActions"; @@ -30,7 +30,7 @@ class ApplicationListLoader extends React.PureComponent { retryPromise( async () => import( - /* webpackChunkName: "applications" */ "@appsmith/pages/Applications/index" + /* webpackChunkName: "applications" */ "ee/pages/Applications/index" ), ).then((module) => { this.setState({ Page: module.default }); diff --git a/app/client/src/pages/Editor/APIEditor/ApiAuthentication.tsx b/app/client/src/pages/Editor/APIEditor/ApiAuthentication.tsx index 007fa47e19b0..f59b6a202916 100644 --- a/app/client/src/pages/Editor/APIEditor/ApiAuthentication.tsx +++ b/app/client/src/pages/Editor/APIEditor/ApiAuthentication.tsx @@ -5,24 +5,24 @@ import styled from "styled-components"; import { connect, useSelector } from "react-redux"; import { AuthType } from "entities/Datasource/RestAPIForm"; import { formValueSelector } from "redux-form"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { EDIT_DATASOURCE_MESSAGE, OAUTH_2_0, OAUTH_ERROR, SAVE_DATASOURCE_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import StoreAsDatasource from "components/editorComponents/StoreAsDatasource"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { Icon, Text } from "design-system"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import { Icon, Text } from "@appsmith/ads"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasCreateDatasourcePermission, getHasManageDatasourcePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; interface ReduxStateProps { datasource: EmbeddedRestDatasource; } diff --git a/app/client/src/pages/Editor/APIEditor/ApiEditorContext.tsx b/app/client/src/pages/Editor/APIEditor/ApiEditorContext.tsx index cc26c2eb1596..a5d3aa5e235f 100644 --- a/app/client/src/pages/Editor/APIEditor/ApiEditorContext.tsx +++ b/app/client/src/pages/Editor/APIEditor/ApiEditorContext.tsx @@ -1,4 +1,4 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type { PaginationField } from "api/ActionAPI"; import React, { createContext, useMemo } from "react"; diff --git a/app/client/src/pages/Editor/APIEditor/ApiRightPane.tsx b/app/client/src/pages/Editor/APIEditor/ApiRightPane.tsx index 0fc6b3855cb3..0bd2e93cff0d 100644 --- a/app/client/src/pages/Editor/APIEditor/ApiRightPane.tsx +++ b/app/client/src/pages/Editor/APIEditor/ApiRightPane.tsx @@ -1,20 +1,20 @@ import React, { useMemo, useCallback, useEffect } from "react"; import styled from "styled-components"; -import { Classes, FontWeight, Text, TextType } from "design-system-old"; +import { Classes, FontWeight, Text, TextType } from "@appsmith/ads-old"; import history from "utils/history"; import { TabbedViewContainer } from "./CommonEditorForm"; import get from "lodash/get"; import { getQueryParams } from "utils/URLUtils"; import ActionRightPane from "components/editorComponents/ActionRightPane"; import { sortedDatasourcesHandler } from "./helpers"; -import { datasourcesEditorIdURL } from "@appsmith/RouteBuilder"; +import { datasourcesEditorIdURL } from "ee/RouteBuilder"; import { setApiRightPaneSelectedTab } from "actions/apiPaneActions"; import { useDispatch, useSelector } from "react-redux"; import { getApiRightPaneSelectedTab } from "selectors/apiPaneSelectors"; import isUndefined from "lodash/isUndefined"; -import { Button, Tab, TabPanel, Tabs, TabsList, Tag } from "design-system"; +import { Button, Tab, TabPanel, Tabs, TabsList, Tag } from "@appsmith/ads"; import type { Datasource } from "entities/Datasource"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import type { SuggestedWidget } from "api/ActionAPI"; interface ApiRightPaneProps { diff --git a/app/client/src/pages/Editor/APIEditor/CommonEditorForm.tsx b/app/client/src/pages/Editor/APIEditor/CommonEditorForm.tsx index 7bda77a4c285..0f4ec5387bfb 100644 --- a/app/client/src/pages/Editor/APIEditor/CommonEditorForm.tsx +++ b/app/client/src/pages/Editor/APIEditor/CommonEditorForm.tsx @@ -18,12 +18,12 @@ import { isGraphqlPlugin } from "entities/Action"; import KeyValueFieldArray from "components/editorComponents/form/fields/KeyValueFieldArray"; import ApiResponseView from "components/editorComponents/ApiResponseView"; import EmbeddedDatasourcePathField from "components/editorComponents/form/fields/EmbeddedDatasourcePathField"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import ActionNameEditor from "components/editorComponents/ActionNameEditor"; import ActionSettings from "pages/Editor/ActionSettings"; import RequestDropdownField from "components/editorComponents/form/fields/RequestDropdownField"; import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; -import { Classes } from "design-system-old"; +import { Classes } from "@appsmith/ads-old"; import { Button, Callout, @@ -34,34 +34,34 @@ import { TabPanel, Tooltip, Text, -} from "design-system"; +} from "@appsmith/ads"; import { API_EDITOR_TAB_TITLES, API_PANE_AUTO_GENERATED_HEADER, API_PANE_DUPLICATE_HEADER, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useParams } from "react-router"; import type { Datasource } from "entities/Datasource"; import equal from "fast-deep-equal/es6"; import ApiAuthentication from "./ApiAuthentication"; import { replayHighlightClass } from "globalStyles/portals"; -import { getPlugin } from "@appsmith/selectors/entitiesSelector"; +import { getPlugin } from "ee/selectors/entitiesSelector"; import { setApiPaneConfigSelectedTabIndex } from "actions/apiPaneActions"; import type { AutoGeneratedHeader } from "./helpers"; import { getApiPaneConfigSelectedTabIndex } from "selectors/apiPaneSelectors"; import { noop } from "lodash"; import { DEFAULT_DATASOURCE_NAME } from "constants/ApiEditorConstants/ApiEditorConstants"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasExecuteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { ApiEditorContext } from "./ApiEditorContext"; import ActionRightPane from "components/editorComponents/ActionRightPane"; -import RunHistory from "@appsmith/components/RunHistory"; +import RunHistory from "ee/components/RunHistory"; const Form = styled.form` position: relative; diff --git a/app/client/src/pages/Editor/APIEditor/Editor.tsx b/app/client/src/pages/Editor/APIEditor/Editor.tsx index 3e9367052a7a..efd808ef7777 100644 --- a/app/client/src/pages/Editor/APIEditor/Editor.tsx +++ b/app/client/src/pages/Editor/APIEditor/Editor.tsx @@ -2,14 +2,14 @@ import React from "react"; import { connect } from "react-redux"; import { submit } from "redux-form"; import RestApiEditorForm from "./RestAPIForm"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { RouteComponentProps } from "react-router"; import type { ActionData, ActionDataState, -} from "@appsmith/reducers/entityReducers/actionsReducer"; +} from "ee/reducers/entityReducers/actionsReducer"; import _ from "lodash"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import { getCurrentApplicationId, getCurrentPageName, @@ -27,14 +27,14 @@ import PerformanceTracker, { } from "utils/PerformanceTracker"; import * as Sentry from "@sentry/react"; import EntityNotFoundPane from "pages/Editor/EntityNotFoundPane"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { getActionByBaseId, getPageList, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import history from "utils/history"; -import { saasEditorApiIdURL } from "@appsmith/RouteBuilder"; +import { saasEditorApiIdURL } from "ee/RouteBuilder"; import GraphQLEditorForm from "./GraphQL/GraphQLEditorForm"; import type { APIEditorRouteParams } from "constants/routes"; import { ApiEditorContext } from "./ApiEditorContext"; diff --git a/app/client/src/pages/Editor/APIEditor/GraphQL/GraphQLEditorForm.tsx b/app/client/src/pages/Editor/APIEditor/GraphQL/GraphQLEditorForm.tsx index 56ad0cb243e8..61c1611319e4 100644 --- a/app/client/src/pages/Editor/APIEditor/GraphQL/GraphQLEditorForm.tsx +++ b/app/client/src/pages/Editor/APIEditor/GraphQL/GraphQLEditorForm.tsx @@ -4,9 +4,9 @@ import type { InjectedFormProps } from "redux-form"; import { change, formValueSelector, reduxForm } from "redux-form"; import classNames from "classnames"; import styled from "styled-components"; -import { API_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { API_EDITOR_FORM_NAME } from "ee/constants/forms"; import type { Action } from "entities/Action"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import useHorizontalResize from "utils/hooks/useHorizontalResize"; import get from "lodash/get"; @@ -14,7 +14,7 @@ import type { Datasource } from "entities/Datasource"; import { getActionByBaseId, getActionData, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { isEmpty } from "lodash"; import type { CommonFormProps } from "../CommonEditorForm"; import CommonEditorForm from "../CommonEditorForm"; diff --git a/app/client/src/pages/Editor/APIEditor/GraphQL/Pagination.tsx b/app/client/src/pages/Editor/APIEditor/GraphQL/Pagination.tsx index a2013684647b..992c3d24d5f1 100644 --- a/app/client/src/pages/Editor/APIEditor/GraphQL/Pagination.tsx +++ b/app/client/src/pages/Editor/APIEditor/GraphQL/Pagination.tsx @@ -4,12 +4,12 @@ import { change, formValueSelector } from "redux-form"; import FormRow from "components/editorComponents/FormRow"; import { PaginationType } from "entities/Action"; import RadioFieldGroup from "components/editorComponents/form/fields/RadioGroupField"; -import type { DropdownOption } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import type { AnyAction, Dispatch } from "redux"; import { bindActionCreators } from "redux"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { FormLabel } from "components/editorComponents/form/fields/StyledFormComponents"; import DynamicTextField from "components/editorComponents/form/fields/DynamicTextField"; import type { GRAPHQL_PAGINATION_TYPE } from "constants/ApiEditorConstants/GraphQLEditorConstants"; @@ -21,7 +21,7 @@ import { } from "utils/editor/EditorBindingPaths"; import { log } from "loglevel"; import { PaginationSubComponent } from "components/formControls/utils"; -import { Select, Option, Checkbox, Text, Tooltip, Link } from "design-system"; +import { Select, Option, Checkbox, Text, Tooltip, Link } from "@appsmith/ads"; const PAGINATION_PREFIX = "actionConfiguration.pluginSpecifiedTemplates[2].value"; diff --git a/app/client/src/pages/Editor/APIEditor/GraphQL/QueryEditor.tsx b/app/client/src/pages/Editor/APIEditor/GraphQL/QueryEditor.tsx index 37c95055650c..442d1669b085 100644 --- a/app/client/src/pages/Editor/APIEditor/GraphQL/QueryEditor.tsx +++ b/app/client/src/pages/Editor/APIEditor/GraphQL/QueryEditor.tsx @@ -15,7 +15,7 @@ import { TabBehaviour, } from "components/editorComponents/CodeEditor/EditorConfig"; import styled from "styled-components"; -import { Text, TextType } from "design-system-old"; +import { Text, TextType } from "@appsmith/ads-old"; import LazyCodeEditor from "components/editorComponents/LazyCodeEditor"; const QueryHeader = styled.div` diff --git a/app/client/src/pages/Editor/APIEditor/GraphQL/VariableEditor.tsx b/app/client/src/pages/Editor/APIEditor/GraphQL/VariableEditor.tsx index e5ea15ef1fc4..157978191e93 100644 --- a/app/client/src/pages/Editor/APIEditor/GraphQL/VariableEditor.tsx +++ b/app/client/src/pages/Editor/APIEditor/GraphQL/VariableEditor.tsx @@ -7,7 +7,7 @@ import { TabBehaviour, } from "components/editorComponents/CodeEditor/EditorConfig"; import styled from "styled-components"; -import { Text, TextType } from "design-system-old"; +import { Text, TextType } from "@appsmith/ads-old"; import DynamicTextField from "components/editorComponents/form/fields/DynamicTextField"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; diff --git a/app/client/src/pages/Editor/APIEditor/Pagination.tsx b/app/client/src/pages/Editor/APIEditor/Pagination.tsx index b5c48e95ba7b..d188cd0aa580 100644 --- a/app/client/src/pages/Editor/APIEditor/Pagination.tsx +++ b/app/client/src/pages/Editor/APIEditor/Pagination.tsx @@ -5,11 +5,11 @@ import DynamicTextField from "components/editorComponents/form/fields/DynamicTex import FormRow from "components/editorComponents/FormRow"; import { PaginationType } from "entities/Action"; import RadioFieldGroup from "components/editorComponents/form/fields/RadioGroupField"; -import { Classes, Text, TextType } from "design-system-old"; -import { Button } from "design-system"; +import { Classes, Text, TextType } from "@appsmith/ads-old"; +import { Button } from "@appsmith/ads"; import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import { CodeEditorBorder } from "components/editorComponents/CodeEditor/EditorConfig"; -import { GifPlayer } from "design-system-old"; +import { GifPlayer } from "@appsmith/ads-old"; import thumbnail from "assets/icons/gifs/thumbnail.png"; import configPagination from "assets/icons/gifs/config_pagination.gif"; diff --git a/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx b/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx index 2dae775d6607..a874d99c8a62 100644 --- a/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx +++ b/app/client/src/pages/Editor/APIEditor/PostBodyData.tsx @@ -6,10 +6,10 @@ import { POST_BODY_FORMAT_OPTIONS, POST_BODY_FORMAT_TITLES, } from "constants/ApiEditorConstants/CommonApiConstants"; -import { API_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { API_EDITOR_FORM_NAME } from "ee/constants/forms"; import KeyValueFieldArray from "components/editorComponents/form/fields/KeyValueFieldArray"; import DynamicTextField from "components/editorComponents/form/fields/DynamicTextField"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import FIELD_VALUES from "constants/FieldExpectedValue"; import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import { @@ -18,12 +18,12 @@ import { EditorSize, TabBehaviour, } from "components/editorComponents/CodeEditor/EditorConfig"; -import { Classes } from "design-system-old"; +import { Classes } from "@appsmith/ads-old"; import { updateBodyContentType } from "actions/apiPaneActions"; import type { CodeEditorExpected } from "components/editorComponents/CodeEditor"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; -import { createMessage, API_PANE_NO_BODY } from "@appsmith/constants/messages"; -import { Select, Option } from "design-system"; +import { createMessage, API_PANE_NO_BODY } from "ee/constants/messages"; +import { Select, Option } from "@appsmith/ads"; const PostBodyContainer = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/APIEditor/RestAPIForm.tsx b/app/client/src/pages/Editor/APIEditor/RestAPIForm.tsx index cfcccc79e883..588efc48b72c 100644 --- a/app/client/src/pages/Editor/APIEditor/RestAPIForm.tsx +++ b/app/client/src/pages/Editor/APIEditor/RestAPIForm.tsx @@ -3,26 +3,26 @@ import { connect } from "react-redux"; import type { InjectedFormProps } from "redux-form"; import { change, formValueSelector, reduxForm } from "redux-form"; import styled from "styled-components"; -import { API_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { API_EDITOR_FORM_NAME } from "ee/constants/forms"; import type { Action } from "entities/Action"; import PostBodyData from "./PostBodyData"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getApiName } from "selectors/formSelectors"; import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; -import { Classes, Text, TextType } from "design-system-old"; -import { createMessage, API_PANE_NO_BODY } from "@appsmith/constants/messages"; +import { Classes, Text, TextType } from "@appsmith/ads-old"; +import { createMessage, API_PANE_NO_BODY } from "ee/constants/messages"; import get from "lodash/get"; import type { Datasource } from "entities/Datasource"; import { getAction, getActionData, getActionResponses, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { isEmpty } from "lodash"; import type { CommonFormProps } from "./CommonEditorForm"; import CommonEditorForm from "./CommonEditorForm"; import Pagination from "./Pagination"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { ApiEditorContext } from "./ApiEditorContext"; import { actionResponseDisplayDataFormats } from "../utils"; diff --git a/app/client/src/pages/Editor/APIEditor/index.tsx b/app/client/src/pages/Editor/APIEditor/index.tsx index b3eb704a41f7..9288eef2ef8b 100644 --- a/app/client/src/pages/Editor/APIEditor/index.tsx +++ b/app/client/src/pages/Editor/APIEditor/index.tsx @@ -7,9 +7,9 @@ import { getPageList, getPluginSettingConfigs, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { deleteAction, runAction } from "actions/pluginActionActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import Editor from "./Editor"; import BackToCanvas from "components/common/BackToCanvas"; import MoreActionsMenu from "../Explorer/Actions/MoreActionsMenu"; @@ -17,14 +17,14 @@ import { getIsEditorInitialized, getPagePermissions, } from "selectors/editorSelectors"; -import { getActionByBaseId } from "@appsmith/selectors/entitiesSelector"; +import { getActionByBaseId } from "ee/selectors/entitiesSelector"; import type { APIEditorRouteParams } from "constants/routes"; import { getHasCreateActionPermission, getHasDeleteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import { ApiEditorContextProvider } from "./ApiEditorContext"; import type { PaginationField } from "api/ActionAPI"; @@ -32,15 +32,15 @@ import { get, keyBy } from "lodash"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import ConvertToModuleInstanceCTA from "@appsmith/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA"; -import { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import ConvertToModuleInstanceCTA from "ee/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA"; +import { MODULE_TYPE } from "ee/constants/ModuleConstants"; import Disabler from "pages/common/Disabler"; -import ConvertEntityNotification from "@appsmith/pages/common/ConvertEntityNotification"; -import { Icon } from "design-system"; +import ConvertEntityNotification from "ee/pages/common/ConvertEntityNotification"; +import { Icon } from "@appsmith/ads"; import { resolveIcon } from "../utils"; import { ENTITY_ICON_SIZE, EntityIcon } from "../Explorer/ExplorerIcons"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; type ApiEditorWrapperProps = RouteComponentProps; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/DraggablePageList.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/DraggablePageList.tsx index 4b1849bcbaab..459ffb8e9bb9 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/DraggablePageList.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/DraggablePageList.tsx @@ -1,13 +1,13 @@ import { setPageOrder } from "actions/pageActions"; import styled from "styled-components"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; // import classNames from "classnames"; -import { DraggableList } from "design-system-old"; +import { DraggableList } from "@appsmith/ads-old"; import { MenuIcons } from "icons/MenuIcons"; import React, { useRef } from "react"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import { Flex, Icon } from "design-system"; +import { Flex, Icon } from "@appsmith/ads"; const DefaultPageIcon = MenuIcons.DEFAULT_HOMEPAGE_ICON; const PageIcon = MenuIcons.PAGE_ICON; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/MakeApplicationForkable.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/MakeApplicationForkable.tsx index 2a0d7a3fed9e..e4c2d7b1afa5 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/MakeApplicationForkable.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/MakeApplicationForkable.tsx @@ -8,16 +8,13 @@ import { Text, Button, Switch, -} from "design-system"; -import { - createMessage, - IN_APP_EMBED_SETTING, -} from "@appsmith/constants/messages"; +} from "@appsmith/ads"; +import { createMessage, IN_APP_EMBED_SETTING } from "ee/constants/messages"; import PropertyHelpLabel from "pages/Editor/PropertyPane/PropertyHelpLabel"; import { useDispatch, useSelector } from "react-redux"; -import { updateApplication } from "@appsmith/actions/applicationActions"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { updateApplication } from "ee/actions/applicationActions"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; interface ConfirmEnableForkingModalProps { isOpen: boolean; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/index.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/index.tsx index a3a73e7f85e6..681266da5fef 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/index.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/EmbedSettings/index.tsx @@ -1,11 +1,11 @@ -import { changeAppViewAccessInit } from "@appsmith/actions/applicationActions"; -import { Switch, Divider } from "design-system"; +import { changeAppViewAccessInit } from "ee/actions/applicationActions"; +import { Switch, Divider } from "@appsmith/ads"; import React from "react"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentApplication, getIsChangingViewAccess, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import PropertyHelpLabel from "pages/Editor/PropertyPane/PropertyHelpLabel"; import styled from "styled-components"; import { @@ -13,17 +13,14 @@ import { IN_APP_EMBED_SETTING, MAKE_APPLICATION_PUBLIC_TOOLTIP, MAKE_APPLICATION_PUBLIC, -} from "@appsmith/constants/messages"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +} from "ee/constants/messages"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; import MakeApplicationForkable from "./MakeApplicationForkable"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getEmbedSnippetTab } from "@appsmith/utils/BusinessFeatures/privateEmbedHelpers"; -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getEmbedSnippetTab } from "ee/utils/BusinessFeatures/privateEmbedHelpers"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; const StyledPropertyHelpLabel = styled(PropertyHelpLabel)` .bp3-popover-content > div { diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/GeneralSettings.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/GeneralSettings.tsx index 5204f89d6916..fb7021edf7a2 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/GeneralSettings.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/GeneralSettings.tsx @@ -1,14 +1,14 @@ -import { updateApplication } from "@appsmith/actions/applicationActions"; -import type { UpdateApplicationPayload } from "@appsmith/api/ApplicationApi"; +import { updateApplication } from "ee/actions/applicationActions"; +import type { UpdateApplicationPayload } from "ee/api/ApplicationApi"; import { GENERAL_SETTINGS_APP_ICON_LABEL, GENERAL_SETTINGS_APP_NAME_LABEL, GENERAL_SETTINGS_NAME_EMPTY_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import classNames from "classnames"; -import type { AppIconName } from "design-system-old"; -import { Input, Text } from "design-system"; -import { IconSelector } from "design-system-old"; +import type { AppIconName } from "@appsmith/ads-old"; +import { Input, Text } from "@appsmith/ads"; +import { IconSelector } from "@appsmith/ads-old"; import { debounce } from "lodash"; import React, { useCallback, useState } from "react"; import { useEffect } from "react"; @@ -16,7 +16,7 @@ import { useDispatch, useSelector } from "react-redux"; import { getCurrentApplication, getIsSavingAppName, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import styled from "styled-components"; import TextLoaderIcon from "../Components/TextLoaderIcon"; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/ImportAppSettings.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/ImportAppSettings.tsx index 300f1ff639d1..1f8e9450bcfa 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/ImportAppSettings.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/ImportAppSettings.tsx @@ -1,9 +1,9 @@ import { UPDATE_VIA_IMPORT_SETTING, createMessage, -} from "@appsmith/constants/messages"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { Text, Button } from "design-system"; +} from "ee/constants/messages"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import { Text, Button } from "@appsmith/ads"; import ImportModal from "pages/common/ImportModal"; import React from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ButtonGroupSetting.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ButtonGroupSetting.tsx index dcdd550ebf9a..609af9894b29 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ButtonGroupSetting.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ButtonGroupSetting.tsx @@ -1,8 +1,8 @@ import React from "react"; import styled from "styled-components"; -import { TextType, Text } from "design-system-old"; -import type { SegmentedControlOption } from "design-system"; -import { SegmentedControl } from "design-system"; +import { TextType, Text } from "@appsmith/ads-old"; +import type { SegmentedControlOption } from "@appsmith/ads"; +import { SegmentedControl } from "@appsmith/ads"; import type { NavigationSetting, StringsFromNavigationSetting, diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ImageInput.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ImageInput.tsx index 919f652c0a38..2ee241f46554 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ImageInput.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ImageInput.tsx @@ -2,12 +2,12 @@ import React, { useEffect, useRef, useState } from "react"; import { useSelector } from "react-redux"; import styled from "styled-components"; import classNames from "classnames"; -import { Button, Spinner } from "design-system"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { Button, Spinner } from "@appsmith/ads"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { getIsDeletingNavigationLogo, getIsUploadingNavigationLogo, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { ContentBox } from "pages/AdminSettings/components"; interface ImageInputProps { diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSetting.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSetting.tsx index 3033d9c13308..17dc69dab95e 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSetting.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSetting.tsx @@ -4,7 +4,7 @@ import type { StringsFromNavigationSetting, } from "constants/AppConstants"; import StyledPropertyHelpLabel from "./StyledPropertyHelpLabel"; -import { Switch } from "design-system"; +import { Switch } from "@appsmith/ads"; import type { UpdateSetting } from "."; import kebabCase from "lodash/kebabCase"; import { logEvent } from "./utils"; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSettingForLogoConfiguration.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSettingForLogoConfiguration.tsx index 648d08c0689f..9e294c9c407a 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSettingForLogoConfiguration.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/SwitchSettingForLogoConfiguration.tsx @@ -1,6 +1,6 @@ import React from "react"; import type { Dispatch, SetStateAction } from "react"; -import { Switch } from "design-system"; +import { Switch } from "@appsmith/ads"; import type { LogoConfigurationSwitches } from "."; import kebabCase from "lodash/kebabCase"; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/index.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/index.tsx index a8fd0451a1db..e5204e386cd0 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/index.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/index.tsx @@ -1,10 +1,7 @@ import React, { useCallback, useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import { - APP_NAVIGATION_SETTING, - createMessage, -} from "@appsmith/constants/messages"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import { APP_NAVIGATION_SETTING, createMessage } from "ee/constants/messages"; // import { ReactComponent as NavOrientationTopIcon } from "assets/icons/settings/nav-orientation-top.svg"; // import { ReactComponent as NavOrientationSideIcon } from "assets/icons/settings/nav-orientation-side.svg"; // import { ReactComponent as NavStyleInlineIcon } from "assets/icons/settings/nav-style-inline.svg"; @@ -16,14 +13,14 @@ import _, { debounce, isEmpty, isPlainObject } from "lodash"; import ButtonGroupSetting from "./ButtonGroupSetting"; import ColorStyleIcon from "./ColorStyleIcon"; import SwitchSetting from "./SwitchSetting"; -import type { UpdateApplicationPayload } from "@appsmith/api/ApplicationApi"; +import type { UpdateApplicationPayload } from "ee/api/ApplicationApi"; import equal from "fast-deep-equal"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import { updateApplication } from "@appsmith/actions/applicationActions"; -import { Spinner } from "design-system"; +import { updateApplication } from "ee/actions/applicationActions"; +import { Spinner } from "@appsmith/ads"; import LogoInput from "pages/Editor/NavigationSettings/LogoInput"; import SwitchSettingForLogoConfiguration from "./SwitchSettingForLogoConfiguration"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; /** * TODO - @Dhruvik - ImprovedAppNav diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/utils.ts b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/utils.ts index f49800737cc5..bb527a07db49 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/utils.ts +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/utils.ts @@ -3,12 +3,9 @@ import type { StringsFromNavigationSetting, } from "constants/AppConstants"; import { keysOfNavigationSetting } from "constants/AppConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { - APP_NAVIGATION_SETTING, - createMessage, -} from "@appsmith/constants/messages"; -import { toast } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { APP_NAVIGATION_SETTING, createMessage } from "ee/constants/messages"; +import { toast } from "@appsmith/ads"; export const logEvent = ( keyName: keyof StringsFromNavigationSetting, diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/PageSettings.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/PageSettings.tsx index dd6c501eb8f3..13ee62cc1883 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/PageSettings.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/PageSettings.tsx @@ -1,4 +1,4 @@ -import { ApplicationVersion } from "@appsmith/actions/applicationActions"; +import { ApplicationVersion } from "ee/actions/applicationActions"; import type { UpdatePageActionPayload } from "actions/pageActions"; import { setPageAsDefault, updatePageAction } from "actions/pageActions"; import { @@ -14,10 +14,10 @@ import { PAGE_SETTINGS_SHOW_PAGE_NAV_TOOLTIP, PAGE_SETTINGS_SET_AS_HOMEPAGE_TOOLTIP_NON_HOME_PAGE, PAGE_SETTINGS_ACTION_NAME_CONFLICT_ERROR, -} from "@appsmith/constants/messages"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/messages"; +import type { Page } from "ee/constants/ReduxActionConstants"; import classNames from "classnames"; -import { Input, Switch } from "design-system"; +import { Input, Switch } from "@appsmith/ads"; import ManualUpgrades from "components/BottomBar/ManualUpgrades"; import PropertyHelpLabel from "pages/Editor/PropertyPane/PropertyHelpLabel"; import React, { useCallback, useEffect, useState } from "react"; @@ -31,12 +31,12 @@ import { getPageLoadingState } from "selectors/pageListSelectors"; import styled from "styled-components"; import TextLoaderIcon from "../Components/TextLoaderIcon"; import { filterAccentedAndSpecialCharacters, getUrlPreview } from "../Utils"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getUsedActionNames } from "selectors/actionSelectors"; import { isNameValid, toValidPageName } from "utils/helpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; const UrlPreviewWrapper = styled.div` height: 52px; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/SectionHeader.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/SectionHeader.tsx index 25caba7e6f4a..c48ad80ee14b 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/SectionHeader.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/SectionHeader.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; export interface SectionHeaderProps { id: string; diff --git a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx index 6b389bda79e3..c44a37488954 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/AppSettings/index.tsx @@ -1,9 +1,9 @@ -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; import { ThemePropertyPane } from "pages/Editor/ThemePropertyPane"; import { WDSThemePropertyPane } from "pages/Editor/WDSThemePropertyPane"; import React, { useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { selectAllPages } from "@appsmith/selectors/entitiesSelector"; +import { selectAllPages } from "ee/selectors/entitiesSelector"; import styled from "styled-components"; import GeneralSettings from "./GeneralSettings"; import type { SectionHeaderProps } from "./SectionHeader"; @@ -23,13 +23,13 @@ import { THEME_SETTINGS_SECTION_HEADER, THEME_SETTINGS_SECTION_HEADER_DESC, UPDATE_VIA_IMPORT_SETTING, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Colors } from "constants/Colors"; import EmbedSettings from "./EmbedSettings"; import NavigationSettings from "./NavigationSettings"; import { updateAppSettingsPaneSelectedTabAction } from "actions/appSettingsPaneActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Divider } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Divider } from "@appsmith/ads"; import { ImportAppSettings } from "./ImportAppSettings"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; diff --git a/app/client/src/pages/Editor/AppSettingsPane/Components/TextLoaderIcon.tsx b/app/client/src/pages/Editor/AppSettingsPane/Components/TextLoaderIcon.tsx index 693e21b90379..208a2149e5a3 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/Components/TextLoaderIcon.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/Components/TextLoaderIcon.tsx @@ -1,6 +1,6 @@ import styled from "styled-components"; import React from "react"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const Wrapper = styled.div` position: absolute; diff --git a/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx b/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx index 9018fe871b9a..016a5eba290d 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx +++ b/app/client/src/pages/Editor/AppSettingsPane/PaneHeader.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { APP_SETTINGS_PANE_HEADER } from "@appsmith/constants/messages"; +import { APP_SETTINGS_PANE_HEADER } from "ee/constants/messages"; const StyledHeader = styled.div` height: 48px; diff --git a/app/client/src/pages/Editor/AppSettingsPane/Utils.ts b/app/client/src/pages/Editor/AppSettingsPane/Utils.ts index a9f653727670..da6758c380b6 100644 --- a/app/client/src/pages/Editor/AppSettingsPane/Utils.ts +++ b/app/client/src/pages/Editor/AppSettingsPane/Utils.ts @@ -1,5 +1,5 @@ import { APP_MODE } from "entities/App"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import { splitPathPreview } from "utils/helpers"; export const getUrlPreview = ( diff --git a/app/client/src/pages/Editor/AppsmithLink.tsx b/app/client/src/pages/Editor/AppsmithLink.tsx index 124e4e294cb7..7d458ebbfdcf 100644 --- a/app/client/src/pages/Editor/AppsmithLink.tsx +++ b/app/client/src/pages/Editor/AppsmithLink.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { Link, Tooltip } from "design-system"; +import { Link, Tooltip } from "@appsmith/ads"; import styled from "styled-components"; -import { LOGO_TOOLTIP, createMessage } from "@appsmith/constants/messages"; +import { LOGO_TOOLTIP, createMessage } from "ee/constants/messages"; import { APPLICATIONS_URL } from "constants/routes"; import AppsmithLogo from "assets/images/appsmith_logo_square.png"; diff --git a/app/client/src/pages/Editor/Canvas.tsx b/app/client/src/pages/Editor/Canvas.tsx index 8ecadb837faf..5a834912d8e8 100644 --- a/app/client/src/pages/Editor/Canvas.tsx +++ b/app/client/src/pages/Editor/Canvas.tsx @@ -16,7 +16,7 @@ import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettings import { CANVAS_ART_BOARD } from "constants/componentClassNameConstants"; import { renderAppsmithCanvas } from "layoutSystems/CanvasFactory"; import type { WidgetProps } from "widgets/BaseWidget"; -import { getAppThemeSettings } from "@appsmith/selectors/applicationSelectors"; +import { getAppThemeSettings } from "ee/selectors/applicationSelectors"; import CodeModeTooltip from "pages/Editor/WidgetsEditor/components/CodeModeTooltip"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; import { focusWidget } from "actions/widgetActions"; diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx index 19cbbee6d19b..46f3fb9282d1 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx @@ -6,7 +6,7 @@ import { ModalContent, ModalHeader, ModalBody, -} from "design-system"; +} from "@appsmith/ads"; import { ConversionForm } from "./ConversionForm"; import { useDispatch, useSelector } from "react-redux"; import { getIsAutoLayout } from "selectors/canvasSelectors"; @@ -16,7 +16,7 @@ import { CONVERT_TO_FIXED_BUTTON, CONVERT_TO_FIXED_TITLE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import BetaCard from "components/editorComponents/BetaCard"; import store from "store"; import { @@ -25,9 +25,9 @@ import { } from "actions/autoLayoutActions"; import { CONVERSION_STATES } from "reducers/uiReducers/layoutConversionReducer"; import { useConversionForm } from "./hooks/useConversionForm"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; function ConversionButton() { const [showModal, setShowModal] = React.useState(false); diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionCompleteLayout.tsx b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionCompleteLayout.tsx index aef3493263dd..cc83948d5357 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionCompleteLayout.tsx +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionCompleteLayout.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; -import { Callout, Icon, Text } from "design-system"; +import { Callout, Icon, Text } from "@appsmith/ads"; import { AlertType } from "reducers/uiReducers/layoutConversionReducer"; const AlertIcons = { diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionForm.tsx b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionForm.tsx index 69be2ecf10b9..4122d3b61947 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionForm.tsx +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionForm.tsx @@ -2,7 +2,7 @@ import React from "react"; import styled from "styled-components"; import type { InfoBlockProps } from "./InfoBlock"; import { InfoBlock } from "./InfoBlock"; -import type { CalloutKind, SegmentedControlOption } from "design-system"; +import type { CalloutKind, SegmentedControlOption } from "@appsmith/ads"; import { Button, SegmentedControl, @@ -10,7 +10,7 @@ import { Callout, Icon, Text, -} from "design-system"; +} from "@appsmith/ads"; import type { ConversionCompleteLayoutProps } from "./ConversionCompleteLayout"; import { ConversionCompleteLayout } from "./ConversionCompleteLayout"; diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/InfoBlock.tsx b/app/client/src/pages/Editor/CanvasLayoutConversion/InfoBlock.tsx index a67ebf5a2681..b24bc38fc5ad 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/InfoBlock.tsx +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/InfoBlock.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; export interface InfoBlockProps { icon: string; diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/SnapShotBannerCTA.tsx b/app/client/src/pages/Editor/CanvasLayoutConversion/SnapShotBannerCTA.tsx index 9d6b5e046e3b..0b2b598f0caf 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/SnapShotBannerCTA.tsx +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/SnapShotBannerCTA.tsx @@ -1,7 +1,7 @@ import * as Sentry from "@sentry/react"; import React, { useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { CONVERSION_STATES } from "reducers/uiReducers/layoutConversionReducer"; import { useSnapShotForm } from "./hooks/useSnapShotForm"; import { ConversionForm } from "./ConversionForm"; @@ -13,7 +13,7 @@ import { USE_SNAPSHOT_HEADER, SNAPSHOT_BANNER_MESSAGE, SNAPSHOT_TIME_TILL_EXPIRATION_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { setConversionStart, setConversionStop, @@ -25,7 +25,7 @@ import { ModalBody, Callout, Text, -} from "design-system"; +} from "@appsmith/ads"; import { getReadableSnapShotDetails } from "../../../layoutSystems/autolayout/utils/AutoLayoutUtils"; import { getSnapshotUpdatedTime } from "selectors/autoLayoutSelectors"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/CommonConversionFlows.ts b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/CommonConversionFlows.ts index a7b92f6f61e6..bbfc6dc23bbf 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/CommonConversionFlows.ts +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/CommonConversionFlows.ts @@ -12,7 +12,7 @@ import { MORE_DETAILS, REFRESH_THE_APP, SEND_REPORT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ConversionProps } from "../ConversionForm"; import type { Dispatch } from "redux"; @@ -20,7 +20,7 @@ import { AlertType, CONVERSION_STATES, } from "reducers/uiReducers/layoutConversionReducer"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; //returns props for common conversion flows based on which the Conversion Form can be rendered export const commonConversionFlows = ( diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useAutoToFixedLayoutFlow.ts b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useAutoToFixedLayoutFlow.ts index 57fe4836ad93..09de57ce65e1 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useAutoToFixedLayoutFlow.ts +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useAutoToFixedLayoutFlow.ts @@ -15,7 +15,7 @@ import { SNAPSHOT_TIME_FROM_MESSAGE, SNAPSHOT_WARNING_MESSAGE, USE_SNAPSHOT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ConversionProps } from "../ConversionForm"; import type { Dispatch } from "redux"; @@ -24,7 +24,7 @@ import { CONVERSION_STATES } from "reducers/uiReducers/layoutConversionReducer"; import { setLayoutConversionStateAction } from "actions/autoLayoutActions"; import { useSelector } from "react-redux"; import { getSnapshotUpdatedTime } from "selectors/autoLayoutSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { snapShotFlow } from "./useSnapShotForm"; import { commonConversionFlows } from "./CommonConversionFlows"; import { getReadableSnapShotDetails } from "layoutSystems/autolayout/utils/AutoLayoutUtils"; diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useConversionForm.ts b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useConversionForm.ts index 86d492c10e0c..0b3daa9a6592 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useConversionForm.ts +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useConversionForm.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { useDispatch, useSelector } from "react-redux"; import { useAutoToFixedLayoutFlow } from "./useAutoToFixedLayoutFlow"; import { useFixedToAutoLayoutFlow } from "./useFixedToAutoLayoutFlow"; diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useFixedToAutoLayoutFlow.ts b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useFixedToAutoLayoutFlow.ts index 8a2b3942d235..3339d1c229c1 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useFixedToAutoLayoutFlow.ts +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useFixedToAutoLayoutFlow.ts @@ -8,13 +8,13 @@ import { CREATE_SNAPSHOT, SAVE_SNAPSHOT, SAVE_SNAPSHOT_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ConversionProps } from "../ConversionForm"; import type { Dispatch } from "redux"; import { CONVERSION_STATES } from "reducers/uiReducers/layoutConversionReducer"; import { setLayoutConversionStateAction } from "actions/autoLayoutActions"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { commonConversionFlows } from "./CommonConversionFlows"; //returns props for Fixed to auto-layout conversion flows based on which the Conversion Form can be rendered diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useShowSnapShotBanner.ts b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useShowSnapShotBanner.ts index fc988182d677..cdb44271be1c 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useShowSnapShotBanner.ts +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useShowSnapShotBanner.ts @@ -1,5 +1,5 @@ -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { EditorState } from "ee/entities/IDE/constants"; import { getReadableSnapShotDetails } from "layoutSystems/autolayout/utils/AutoLayoutUtils"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; import { useSelector } from "react-redux"; diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useSnapShotForm.ts b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useSnapShotForm.ts index d2ea824c254e..cb93646f18bd 100644 --- a/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useSnapShotForm.ts +++ b/app/client/src/pages/Editor/CanvasLayoutConversion/hooks/useSnapShotForm.ts @@ -9,7 +9,7 @@ import { SNAPSHOT_TIME_FROM_MESSAGE, USE_SNAPSHOT, USE_SNAPSHOT_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ConversionProps } from "../ConversionForm"; import type { Dispatch } from "redux"; @@ -18,11 +18,11 @@ import { setConversionStop, setLayoutConversionStateAction, } from "actions/autoLayoutActions"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getSnapshotUpdatedTime } from "selectors/autoLayoutSelectors"; import { commonConversionFlows } from "./CommonConversionFlows"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { ReadableSnapShotDetails } from "layoutSystems/autolayout/utils/AutoLayoutUtils"; import { getReadableSnapShotDetails } from "layoutSystems/autolayout/utils/AutoLayoutUtils"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatePublishInfo.test.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatePublishInfo.test.tsx index 4f9b918692a8..36256720bac1 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatePublishInfo.test.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatePublishInfo.test.tsx @@ -4,10 +4,7 @@ import "@testing-library/jest-dom/extend-expect"; import { Provider } from "react-redux"; import configureStore from "redux-mock-store"; import CommunityTemplatesPublishInfo from "./CommunityTemplatesPublishInfo"; -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; const mockStore = configureStore(); diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatesPublishInfo.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatesPublishInfo.tsx index f860c27a446a..2c5220ca5ac9 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatesPublishInfo.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/CommunityTemplatesPublishInfo.tsx @@ -2,10 +2,10 @@ import { COMMUNITY_TEMPLATES, LEARN_MORE, createMessage, -} from "@appsmith/constants/messages"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { Button, Icon, Text } from "design-system"; +} from "ee/constants/messages"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { Button, Icon, Text } from "@appsmith/ads"; import React, { useCallback, useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx index 729d4e314e7f..857824400fc6 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/CommunityTemplateForm.tsx @@ -1,14 +1,11 @@ -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; import { publishCommunityTemplate } from "actions/communityTemplateActions"; -import { Button, Checkbox } from "design-system"; +import { Button, Checkbox } from "@appsmith/ads"; import React, { useEffect, useMemo, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import { getCurrentUser } from "selectors/usersSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { PublishPageAppSettingContainer, PublishPageBodyContainer, @@ -19,8 +16,8 @@ import ApplicationSettings from "./components/ApplicationSettings"; import AuthorDetailsInput from "./components/AuthorDetailsInput"; import PublishedInfo from "./components/PublishedInfo"; import TemplateInfoForm from "./components/TemplateInfoForm"; -import { viewerURL } from "@appsmith/RouteBuilder"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { viewerURL } from "ee/RouteBuilder"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; interface Props { onPublishSuccess: () => void; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.test.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.test.tsx index 21ea6afbc3f5..e988e4eff85b 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.test.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.test.tsx @@ -1,10 +1,7 @@ import React from "react"; import { render, screen } from "@testing-library/react"; import "@testing-library/jest-dom/extend-expect"; -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; import ApplicationSettings from "./ApplicationSettings"; describe("", () => { diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx index 2f03bceda12a..1cbd8e008fa0 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/ApplicationSettings.tsx @@ -1,8 +1,5 @@ -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; -import { Switch, Text } from "design-system"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; +import { Switch, Text } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.test.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.test.tsx index c1cea35dee3a..fca1470ca572 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.test.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.test.tsx @@ -2,10 +2,7 @@ import React from "react"; import { render, screen, fireEvent } from "@testing-library/react"; import "@testing-library/jest-dom/extend-expect"; import AuthorDetailsInput from "./AuthorDetailsInput"; -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; describe("", () => { const mockProps = { diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.tsx index 7bb318603530..307627c785a1 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/AuthorDetailsInput.tsx @@ -2,9 +2,9 @@ import { COMMUNITY_TEMPLATES, FORM_VALIDATION_INVALID_EMAIL, createMessage, -} from "@appsmith/constants/messages"; -import { Input, Text } from "design-system"; -import { emailValidator } from "design-system-old"; +} from "ee/constants/messages"; +import { Input, Text } from "@appsmith/ads"; +import { emailValidator } from "@appsmith/ads-old"; import React, { useMemo } from "react"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/PublishedInfo.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/PublishedInfo.tsx index 9a473360a39d..0243a5b0bd06 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/PublishedInfo.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/PublishedInfo.tsx @@ -1,8 +1,5 @@ -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; -import { Icon, Text } from "design-system"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; +import { Icon, Text } from "@appsmith/ads"; import React, { useCallback } from "react"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateCardPreview.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateCardPreview.tsx index 2b1322c88d5f..6ec500a1f06b 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateCardPreview.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateCardPreview.tsx @@ -1,8 +1,5 @@ -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; -import { Text } from "design-system"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; +import { Text } from "@appsmith/ads"; import ProfileImage from "pages/common/ProfileImage"; import React from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.test.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.test.tsx index fe11581486e0..7e5319d1c2f9 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.test.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.test.tsx @@ -6,10 +6,7 @@ import configureStore from "redux-mock-store"; import TemplateInfoForm from "./TemplateInfoForm"; import { ThemeProvider } from "styled-components"; import { lightTheme } from "selectors/themeSelectors"; -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; const TEMPLATE_NAME = "View Data"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx index f9fc04cefd3c..e379332eaa18 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/components/TemplateInfoForm.tsx @@ -4,11 +4,8 @@ import { TemplateInfoFormFieldWrapper, TemplateInfoFormWrapper, } from "../StyledComponents"; -import { Input, Select, Option } from "design-system"; -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; +import { Input, Select, Option } from "@appsmith/ads"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; import { useSelector } from "react-redux"; import { allTemplatesFiltersSelector } from "selectors/templatesSelectors"; diff --git a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/index.tsx b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/index.tsx index d861380105f3..4dff0bc7ac27 100644 --- a/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/index.tsx +++ b/app/client/src/pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate/index.tsx @@ -1,14 +1,11 @@ -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; import { Modal, ModalBody, ModalContent, ModalHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; import React from "react"; import CommunityTemplateForm from "./CommunityTemplateForm"; import { PublishPageHeaderContainer } from "./StyledComponents"; diff --git a/app/client/src/pages/Editor/CurlImport/CurlImportForm.tsx b/app/client/src/pages/Editor/CurlImport/CurlImportForm.tsx index 8406ae2b3bb9..70776d90403a 100644 --- a/app/client/src/pages/Editor/CurlImport/CurlImportForm.tsx +++ b/app/client/src/pages/Editor/CurlImport/CurlImportForm.tsx @@ -2,7 +2,7 @@ import React from "react"; import type { InjectedFormProps } from "redux-form"; import { reduxForm, Form, Field } from "redux-form"; import styled from "styled-components"; -import { CURL_IMPORT_FORM } from "@appsmith/constants/forms"; +import { CURL_IMPORT_FORM } from "ee/constants/forms"; import { type CurlImportFormValues, curlImportSubmitHandler } from "./helpers"; const StyledForm = styled(Form)` diff --git a/app/client/src/pages/Editor/CurlImport/ModalControls.tsx b/app/client/src/pages/Editor/CurlImport/ModalControls.tsx index 2d43497ee40e..df0e15ed55b3 100644 --- a/app/client/src/pages/Editor/CurlImport/ModalControls.tsx +++ b/app/client/src/pages/Editor/CurlImport/ModalControls.tsx @@ -5,10 +5,10 @@ import { getIsImportingCurl, } from "selectors/curlImportSelectors"; import { submit } from "redux-form"; -import { CURL_IMPORT_FORM } from "@appsmith/constants/forms"; +import { CURL_IMPORT_FORM } from "ee/constants/forms"; import { closeCurlImportModal, openCurlImportModal } from "./helpers"; import CurlLogo from "assets/images/Curl-logo.svg"; -import { createMessage, IMPORT_BTN_LABEL } from "@appsmith/constants/messages"; +import { createMessage, IMPORT_BTN_LABEL } from "ee/constants/messages"; import { Button, Flex, @@ -17,7 +17,7 @@ import { ModalContent, ModalFooter, ModalHeader, -} from "design-system"; +} from "@appsmith/ads"; import styled from "styled-components"; const ActionButtons = styled.div` diff --git a/app/client/src/pages/Editor/CurlImport/helpers.ts b/app/client/src/pages/Editor/CurlImport/helpers.ts index f8d863d4dd65..70d08206ecec 100644 --- a/app/client/src/pages/Editor/CurlImport/helpers.ts +++ b/app/client/src/pages/Editor/CurlImport/helpers.ts @@ -1,6 +1,6 @@ import { submitCurlImportForm } from "../../../actions/importActions"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export interface CurlImportFormValues { curl: string; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/HTMLEditor.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/HTMLEditor.tsx index 92c35866076a..f3c185643baf 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/HTMLEditor.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/HTMLEditor.tsx @@ -11,11 +11,8 @@ import { import { CustomWidgetBuilderContext } from "../.."; import LazyCodeEditor from "components/editorComponents/LazyCodeEditor"; import styles from "./styles.module.css"; -import { Spinner } from "design-system"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { Spinner } from "@appsmith/ads"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; export default function HTMLEditor(props: ContentProps) { const [loading, setLoading] = useState(true); diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/JSEditor.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/JSEditor.tsx index 5f770176ac08..d5c78aa82103 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/JSEditor.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/JSEditor.tsx @@ -15,11 +15,8 @@ import { getAppsmithScriptSchema } from "widgets/CustomWidget/component/constant // import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; // import { Severity } from "entities/AppsmithConsole"; import CodemirrorTernService from "utils/autocomplete/CodemirrorTernService"; -import { Spinner } from "design-system"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { Spinner } from "@appsmith/ads"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import { DebuggerLogType } from "../../types"; import type { LintError } from "utils/DynamicBindingUtils"; import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/StyleEditor.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/StyleEditor.tsx index 0f8572519cd8..2d404979eb8d 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/StyleEditor.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/CodeEditors/StyleEditor.tsx @@ -9,12 +9,9 @@ import { } from "components/editorComponents/CodeEditor/EditorConfig"; import { CustomWidgetBuilderContext } from "../.."; import LazyCodeEditor from "components/editorComponents/LazyCodeEditor"; -import { Icon, Tooltip, Spinner } from "design-system"; +import { Icon, Tooltip, Spinner } from "@appsmith/ads"; import styles from "./styles.module.css"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import styled from "styled-components"; const StyledWrapper = styled.div` diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/react.ts b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/react.ts index 251c42d16685..1723d862a378 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/react.ts +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/react.ts @@ -1,7 +1,4 @@ -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import { CUSTOM_WIDGET_ONREADY_DOC_URL } from "pages/Editor/CustomWidgetBuilder/constants"; export default { @@ -39,7 +36,7 @@ export default { } .button-container { - text-align: right; + text-align: right; } .button-container button { diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vanillaJs.ts b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vanillaJs.ts index e86786d4c6b9..0a6d1805d9aa 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vanillaJs.ts +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vanillaJs.ts @@ -1,7 +1,4 @@ -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import { CUSTOM_WIDGET_ONREADY_DOC_URL } from "pages/Editor/CustomWidgetBuilder/constants"; export default { @@ -56,7 +53,7 @@ export default { } .button-container { - text-align: right; + text-align: right; padding-top: 4px; } @@ -96,18 +93,18 @@ export default { const reset = document.getElementById("reset"); let currentIndex = 0; - + const updateDom = () => { tip.innerHTML = appsmith.model.tips[currentIndex]; index.innerHTML = (currentIndex + 1) + " / " + appsmith.model.tips.length; reset.disabled = currentIndex === 0; }; - + next.addEventListener("click", () => { currentIndex = (currentIndex + 1) % appsmith.model.tips.length; updateDom(); }); - + reset.addEventListener("click", () => { currentIndex = 0; updateDom(); diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vue.ts b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vue.ts index 440e54d3a5b7..7334d9193996 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vue.ts +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/Templates/vue.ts @@ -1,7 +1,4 @@ -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import { CUSTOM_WIDGET_ONREADY_DOC_URL } from "pages/Editor/CustomWidgetBuilder/constants"; export default { @@ -57,7 +54,7 @@ export default { } .button-container { - text-align: right; + text-align: right; padding-top: 4px; } diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/index.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/index.tsx index d5ae0f46da82..0fda263bf298 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/index.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/CodeTemplates/index.tsx @@ -11,18 +11,15 @@ import { ModalBody, ModalFooter, Text, -} from "design-system"; +} from "@appsmith/ads"; import React, { useContext, useState } from "react"; import codeTemplates from "./Templates"; import { CustomWidgetBuilderContext } from "pages/Editor/CustomWidgetBuilder"; import styles from "../styles.module.css"; import type { SrcDoc } from "pages/Editor/CustomWidgetBuilder/types"; import styled from "styled-components"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const StyledButton = styled(Button)` height: 32px !important; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/layoutControls.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/layoutControls.tsx index 96ba040b8e15..1b748d6c58ec 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/layoutControls.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/layoutControls.tsx @@ -1,13 +1,10 @@ -import { SegmentedControl } from "design-system"; +import { SegmentedControl } from "@appsmith/ads"; import React, { useContext } from "react"; import { CustomWidgetBuilderContext } from "../.."; import styles from "./styles.module.css"; import styled from "styled-components"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const StyledSegmentedControl = styled(SegmentedControl)` & .ads-v2-icon { diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/referenceTrigger.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/referenceTrigger.tsx index 7bf196094b3f..5db61407c1c7 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/referenceTrigger.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Header/referenceTrigger.tsx @@ -1,12 +1,9 @@ -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; import React, { useContext } from "react"; import { CustomWidgetBuilderContext } from "../.."; import styles from "./styles.module.css"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; export default function ReferenceTrigger() { const { isReferenceOpen, toggleReference, widgetId } = useContext( diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/SplitLayout/index.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/SplitLayout/index.tsx index 804fc8ce898a..9f0b9d6f2f34 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/SplitLayout/index.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/SplitLayout/index.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useMemo, useRef, useState } from "react"; import styles from "./styles.module.css"; import type { ContentProps } from "../../CodeEditors/types"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import { set } from "lodash"; import classNames from "classnames"; import { useLocalStorage } from "utils/hooks/localstorage"; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/TabsLayout/index.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/TabsLayout/index.tsx index 329f861f59b8..42bab0b4974a 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/TabsLayout/index.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/Layouts/TabsLayout/index.tsx @@ -1,6 +1,6 @@ import React, { useEffect, useRef, useState } from "react"; import styles from "./styles.module.css"; -import { Tab, TabPanel, Tabs, TabsList } from "design-system"; +import { Tab, TabPanel, Tabs, TabsList } from "@appsmith/ads"; import type { ContentProps } from "../../CodeEditors/types"; import useLocalStorageState from "utils/hooks/useLocalStorageState"; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/collapsible.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/collapsible.tsx index c89a8920b413..a42bba322bfc 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/collapsible.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/collapsible.tsx @@ -1,6 +1,6 @@ import React, { useState } from "react"; import styles from "./styles.module.css"; -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; interface Props { label: string; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/events.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/events.tsx index 0dd95f6999ce..1b433b76fb28 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/events.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/events.tsx @@ -1,6 +1,6 @@ import React, { useCallback, useContext, useState } from "react"; import styles from "./styles.module.css"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; import { EditorModes, EditorSize, @@ -10,11 +10,8 @@ import { import { CustomWidgetBuilderContext } from "../.."; import LazyCodeEditor from "components/editorComponents/LazyCodeEditor"; import styled from "styled-components"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const StyledLazyCodeEditorWrapper = styled.div` .CodeMirror-line.CodeMirror-line { diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/help.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/help.tsx index c9d4ebc54426..12fc623036c4 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/help.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/help.tsx @@ -1,10 +1,7 @@ -import { Button, Text } from "design-system"; +import { Button, Text } from "@appsmith/ads"; import styles from "./styles.module.css"; import React from "react"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import { CUSTOM_WIDGET_DOC_URL } from "../../constants"; export default function Help() { diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/index.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/index.tsx index 55988225c5ed..f3df815304c8 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/index.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Editor/References/index.tsx @@ -4,10 +4,7 @@ import Collapsible from "./collapsible"; import Help from "./help"; import LiveModel from "./liveModel"; import Events from "./events"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; export default function References() { return ( diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/counter.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/counter.tsx index cba4a5f0820e..060332ed4fb6 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/counter.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/counter.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import styles from "./styles.module.css"; export default function Counter(props: { diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/debuggerItem.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/debuggerItem.tsx index e2656bcdf3c8..bd21c156f492 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/debuggerItem.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/debuggerItem.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import styles from "./styles.module.css"; import HelpDropdown from "./helpDropdown"; import { DebuggerLogType, type DebuggerLog } from "../../types"; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/helpDropdown.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/helpDropdown.tsx index 92a565c7f8b4..e050643192e8 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/helpDropdown.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/helpDropdown.tsx @@ -6,13 +6,10 @@ import { PopoverTrigger, PopoverContent, List, -} from "design-system"; +} from "@appsmith/ads"; import styles from "./styles.module.css"; import type { DebuggerLog } from "../../types"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import { CUSTOM_WIDGET_DOC_URL } from "../../constants"; export default function HelpDropdown(props: DebuggerLog) { diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/index.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/index.tsx index 9df1c99b24e5..decb0d9569d5 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/index.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/Debugger/index.tsx @@ -1,5 +1,5 @@ import React, { useCallback, useContext, useEffect } from "react"; -import { Tabs, TabsList, Tab, TabPanel, Icon, Tooltip } from "design-system"; +import { Tabs, TabsList, Tab, TabPanel, Icon, Tooltip } from "@appsmith/ads"; import DebuggerItem from "./debuggerItem"; import styles from "./styles.module.css"; import Counter from "./counter"; @@ -7,11 +7,8 @@ import useLocalStorageState from "utils/hooks/useLocalStorageState"; import { CustomWidgetBuilderContext } from "../.."; import { DebuggerLogType } from "../../types"; import BugIcon from "../Debugger/icon.svg"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const LOCAL_STORAGE_KEYS_IS_DEBUGGER_OPEN = "custom-widget-builder-context-state-is-debugger-open"; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/index.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/index.tsx index 442a394a66e8..6a120df32aac 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/index.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/Preview/index.tsx @@ -1,12 +1,9 @@ import React, { useContext, useEffect, useRef, useState } from "react"; import CustomComponent from "widgets/CustomWidget/component"; import { CustomWidgetBuilderContext } from "../index"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import Debugger from "./Debugger"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import type { AppThemeProperties } from "entities/AppTheming"; import { DynamicHeight } from "utils/WidgetFeatures"; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/header.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/header.tsx index 611f0a889294..08256ec20458 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/header.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/header.tsx @@ -7,13 +7,10 @@ import { } from "../commons/EditorHeaderComponents"; import { AppsmithLink } from "../AppsmithLink"; import styles from "./styles.module.css"; -import { Button, Icon, Text } from "design-system"; +import { Button, Icon, Text } from "@appsmith/ads"; import clsx from "clsx"; import { CustomWidgetBuilderContext } from "."; -import { - createMessage, - CUSTOM_WIDGET_FEATURE, -} from "@appsmith/constants/messages"; +import { createMessage, CUSTOM_WIDGET_FEATURE } from "ee/constants/messages"; const theme = getTheme(ThemeMode.LIGHT); diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/index.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/index.tsx index be66f0c99b1c..cb3b72a46188 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/index.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/index.tsx @@ -2,7 +2,7 @@ import React, { useCallback, useEffect, useRef } from "react"; import Header from "./header"; import styles from "./styles.module.css"; import Preview from "./Preview"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; import Editor from "./Editor"; import type { CustomWidgetBuilderContextType } from "./types"; import ConnectionLost from "./connectionLost"; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/useCustomBuilder.tsx b/app/client/src/pages/Editor/CustomWidgetBuilder/useCustomBuilder.tsx index 6cc7346fe344..583fb787239c 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/useCustomBuilder.tsx +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/useCustomBuilder.tsx @@ -16,7 +16,7 @@ import { type CustomWidgetBuilderContextType, } from "./types"; import { compileSrcDoc } from "./utility"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; let connectionTimeout: number; diff --git a/app/client/src/pages/Editor/CustomWidgetBuilder/utility.ts b/app/client/src/pages/Editor/CustomWidgetBuilder/utility.ts index 1b50cb774751..4d09cfb22d3d 100644 --- a/app/client/src/pages/Editor/CustomWidgetBuilder/utility.ts +++ b/app/client/src/pages/Editor/CustomWidgetBuilder/utility.ts @@ -1,9 +1,6 @@ import { transform } from "@babel/standalone/"; import type { DebuggerLogItem, SrcDoc } from "./types"; -import { - CUSTOM_WIDGET_FEATURE, - createMessage, -} from "@appsmith/constants/messages"; +import { CUSTOM_WIDGET_FEATURE, createMessage } from "ee/constants/messages"; import { CUSTOM_WIDGET_ONREADY_DOC_URL } from "./constants"; import { compileString } from "sass"; diff --git a/app/client/src/pages/Editor/DataSourceEditor/BackButton.tsx b/app/client/src/pages/Editor/DataSourceEditor/BackButton.tsx index 529e3c7dc14e..37aa986b674f 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/BackButton.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/BackButton.tsx @@ -1,11 +1,11 @@ import React from "react"; import styled from "styled-components"; import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil"; -import { builderURL, generateTemplateFormURL } from "@appsmith/RouteBuilder"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { builderURL, generateTemplateFormURL } from "ee/RouteBuilder"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useSelector } from "react-redux"; import { getCurrentBasePageId } from "selectors/editorSelectors"; -import { Link } from "design-system"; +import { Link } from "@appsmith/ads"; import type { AppsmithLocationState } from "utils/history"; import { NavigationMethod } from "utils/history"; import { useHistory } from "react-router-dom"; diff --git a/app/client/src/pages/Editor/DataSourceEditor/Collapsible.tsx b/app/client/src/pages/Editor/DataSourceEditor/Collapsible.tsx index b7a7cf08d346..a35c0b9646f9 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/Collapsible.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/Collapsible.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const SectionLabel = styled.div` font-weight: 500; diff --git a/app/client/src/pages/Editor/DataSourceEditor/DBForm.tsx b/app/client/src/pages/Editor/DataSourceEditor/DBForm.tsx index b397adfcae76..e6670a12e378 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/DBForm.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/DBForm.tsx @@ -2,20 +2,20 @@ import React from "react"; import { connect } from "react-redux"; import styled from "styled-components"; import _ from "lodash"; -import { DATASOURCE_DB_FORM } from "@appsmith/constants/forms"; +import { DATASOURCE_DB_FORM } from "ee/constants/forms"; import type { Datasource } from "entities/Datasource"; import type { InjectedFormProps } from "redux-form"; import { reduxForm } from "redux-form"; import { APPSMITH_IP_ADDRESSES } from "constants/DatasourceEditorConstants"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { convertArrayToSentence } from "utils/helpers"; import { PluginType } from "entities/Action"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { JSONtoFormProps } from "./JSONtoForm"; import { JSONtoForm } from "./JSONtoForm"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import { DocsLink, openDoc } from "../../../constants/DocumentationLinks"; -import { Callout } from "design-system"; +import { Callout } from "@appsmith/ads"; import store from "store"; const { cloudHosting } = getAppsmithConfigs(); diff --git a/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx b/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx index dd6a8c7bca9c..2c263cdaaaaf 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx @@ -1,7 +1,7 @@ /* DO NOT INTRODUCE PAGE AND APPLICATION DEPENDENCIES IN THIS COMPONENT */ import React, { useState } from "react"; import FormTitle from "./FormTitle"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import type { Datasource } from "entities/Datasource"; import { CONFIRM_CONTEXT_DELETING, @@ -9,25 +9,25 @@ import { CONTEXT_DELETE, EDIT, createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useDispatch, useSelector } from "react-redux"; import { deleteDatasource } from "actions/datasourceActions"; import { debounce } from "lodash"; import type { ApiDatasourceForm } from "entities/Datasource/RestAPIForm"; import { MenuWrapper, StyledMenu } from "components/utils/formComponents"; import styled from "styled-components"; -import { Button, MenuContent, MenuItem, MenuTrigger } from "design-system"; +import { Button, MenuContent, MenuItem, MenuTrigger } from "@appsmith/ads"; import { DatasourceEditEntryPoints } from "constants/Datasource"; import { DB_NOT_SUPPORTED, isEnvironmentConfigured, -} from "@appsmith/utils/Environments"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +} from "ee/utils/Environments"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import type { PluginType } from "entities/Action"; -import { useEditorType } from "@appsmith/hooks"; +import { useEditorType } from "ee/hooks"; import { useHistory } from "react-router"; -import { useHeaderActions } from "@appsmith/hooks/datasourceEditorHooks"; +import { useHeaderActions } from "ee/hooks/datasourceEditorHooks"; export const ActionWrapper = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/DataSourceEditor/DatasourceBlankState.tsx b/app/client/src/pages/Editor/DataSourceEditor/DatasourceBlankState.tsx index b917d4010abd..069fb071eac6 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/DatasourceBlankState.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/DatasourceBlankState.tsx @@ -1,11 +1,11 @@ import React from "react"; import styled from "styled-components"; -import { importSvg } from "design-system-old"; -import { Text } from "design-system"; +import { importSvg } from "@appsmith/ads-old"; +import { Text } from "@appsmith/ads"; import { createMessage, DATASOURCE_BLANK_STATE_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const Container = styled.div` height: 100%; diff --git a/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx b/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx index 16ad6e3a2720..e09cacd3a597 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/DatasourceSection.tsx @@ -9,18 +9,18 @@ import { } from "components/formControls/utils"; import log from "loglevel"; import { ComparisonOperationsEnum } from "components/formControls/BaseControl"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { connect } from "react-redux"; -import { getPlugin } from "@appsmith/selectors/entitiesSelector"; -import { DB_NOT_SUPPORTED } from "@appsmith/utils/Environments"; +import { getPlugin } from "ee/selectors/entitiesSelector"; +import { DB_NOT_SUPPORTED } from "ee/utils/Environments"; import type { PluginType } from "entities/Action"; -import { getDefaultEnvId } from "@appsmith/api/ApiUtils"; -import { EnvConfigSection } from "@appsmith/components/EnvConfigSection"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; -import { isMultipleEnvEnabled } from "@appsmith/utils/planHelpers"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { Text } from "design-system"; -import { Table } from "design-system-old"; +import { getDefaultEnvId } from "ee/api/ApiUtils"; +import { EnvConfigSection } from "ee/components/EnvConfigSection"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; +import { isMultipleEnvEnabled } from "ee/utils/planHelpers"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { Text } from "@appsmith/ads"; +import { Table } from "@appsmith/ads-old"; const Key = styled.div` color: var(--ads-v2-color-fg-muted); diff --git a/app/client/src/pages/Editor/DataSourceEditor/Debugger.test.tsx b/app/client/src/pages/Editor/DataSourceEditor/Debugger.test.tsx index 8806e0b5043e..4a39ac05904d 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/Debugger.test.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/Debugger.test.tsx @@ -6,7 +6,7 @@ import { ThemeProvider } from "styled-components"; import { unitTestBaseMockStore } from "layoutSystems/common/dropTarget/unitTestUtils"; import { lightTheme } from "selectors/themeSelectors"; import { BrowserRouter as Router } from "react-router-dom"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import "@testing-library/jest-dom/extend-expect"; import Debugger from "./Debugger"; diff --git a/app/client/src/pages/Editor/DataSourceEditor/Debugger.tsx b/app/client/src/pages/Editor/DataSourceEditor/Debugger.tsx index ff04caa1e4af..01d2634f678e 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/Debugger.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/Debugger.tsx @@ -6,7 +6,7 @@ import { DEBUGGER_ERRORS, DEBUGGER_LOGS, INSPECT_ENTITY, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { setDebuggerSelectedTab, setResponsePaneHeight, diff --git a/app/client/src/pages/Editor/DataSourceEditor/FormTitle.tsx b/app/client/src/pages/Editor/DataSourceEditor/FormTitle.tsx index 8e6e06a107ce..d42c474cc7fa 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/FormTitle.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/FormTitle.tsx @@ -3,11 +3,8 @@ import React, { useCallback, useEffect, useState } from "react"; import EditableText, { EditInteractionKind, } from "components/editorComponents/EditableText"; -import type { AppState } from "@appsmith/reducers"; -import { - getDatasource, - getDatasources, -} from "@appsmith/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; +import { getDatasource, getDatasources } from "ee/selectors/entitiesSelector"; import { useSelector, useDispatch } from "react-redux"; import type { Datasource } from "entities/Datasource"; import { isNameValid } from "utils/helpers"; diff --git a/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx b/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx index d3c5a0ef0d16..5acada00fd04 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/JSONtoForm.tsx @@ -7,7 +7,7 @@ import type { ControlProps } from "components/formControls/BaseControl"; import type { Datasource } from "entities/Datasource"; import { isHidden, isKVArray } from "components/formControls/utils"; import log from "loglevel"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; export const FormContainer = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx b/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx index d415069a50bf..474f503b30a7 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/NewActionButton.tsx @@ -10,21 +10,21 @@ import { Text, MenuSeparator, Tag, -} from "design-system"; +} from "@appsmith/ads"; import { createMessage, ERROR_ADD_API_INVALID_URL, NEW_AI_BUTTON_TEXT, NEW_API_BUTTON_TEXT, NEW_QUERY_BUTTON_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { createNewQueryAction } from "actions/apiPaneActions"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentPageId, getPageList } from "selectors/editorSelectors"; import type { Datasource } from "entities/Datasource"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; -import { getSelectedTableName } from "@appsmith/selectors/entitiesSelector"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; +import { getSelectedTableName } from "ee/selectors/entitiesSelector"; interface NewActionButtonProps { datasource?: Datasource; diff --git a/app/client/src/pages/Editor/DataSourceEditor/RestAPIDatasourceForm.tsx b/app/client/src/pages/Editor/DataSourceEditor/RestAPIDatasourceForm.tsx index 377fb46db073..d58092f5aee2 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/RestAPIDatasourceForm.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/RestAPIDatasourceForm.tsx @@ -1,21 +1,21 @@ import React from "react"; import styled from "styled-components"; -import { DATASOURCE_REST_API_FORM } from "@appsmith/constants/forms"; +import { DATASOURCE_REST_API_FORM } from "ee/constants/forms"; import type { Datasource } from "entities/Datasource"; import type { InjectedFormProps } from "redux-form"; import { getFormMeta, reduxForm } from "redux-form"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import FormControl from "pages/Editor/FormControl"; import { StyledInfo } from "components/formControls/InputTextControl"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { Callout } from "design-system"; +import type { AppState } from "ee/reducers"; +import { Callout } from "@appsmith/ads"; import { createDatasourceFromForm, toggleSaveActionFlag, updateDatasource, } from "actions/datasourceActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { datasourceToFormValues, formValuesToDatasource, @@ -30,18 +30,18 @@ import { AuthType, GrantType, } from "entities/Datasource/RestAPIForm"; -import { createMessage, INVALID_URL } from "@appsmith/constants/messages"; +import { createMessage, INVALID_URL } from "ee/constants/messages"; import Collapsible from "./Collapsible"; import _ from "lodash"; import FormLabel from "components/editorComponents/FormLabel"; import CopyToClipBoard from "components/designSystems/appsmith/CopyToClipBoard"; import { updateReplayEntity } from "actions/pageActions"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import { Form } from "./DBForm"; -import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors"; -import { getHasManageDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { selectFeatureFlagCheck } from "ee/selectors/featureFlagsSelectors"; +import { getHasManageDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; interface DatasourceRestApiEditorProps { // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/Editor/DataSourceEditor/SaveOrDiscardDatasourceModal.tsx b/app/client/src/pages/Editor/DataSourceEditor/SaveOrDiscardDatasourceModal.tsx index c73efadc770c..e5d296e78c0c 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/SaveOrDiscardDatasourceModal.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/SaveOrDiscardDatasourceModal.tsx @@ -4,7 +4,7 @@ import { DELETE_CONFIRMATION_MODAL_TITLE, DISCARD_POPUP_DONT_SAVE_BUTTON_TEXT, SAVE_OR_DISCARD_DATASOURCE_WARNING, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Button, Modal, @@ -13,11 +13,11 @@ import { ModalFooter, ModalHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { getHasManageDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { getHasManageDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; interface SaveOrDiscardModalProps { isOpen: boolean; diff --git a/app/client/src/pages/Editor/DataSourceEditor/hooks.ts b/app/client/src/pages/Editor/DataSourceEditor/hooks.ts index efbd2b6828d6..2acdd71f5e7a 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/hooks.ts +++ b/app/client/src/pages/Editor/DataSourceEditor/hooks.ts @@ -1,7 +1,7 @@ import { executeDatasourceQuery } from "actions/datasourceActions"; import type { Datasource, QueryTemplate } from "entities/Datasource"; import { useCallback, useState } from "react"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useDispatch, useSelector } from "react-redux"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import { PluginName } from "entities/Action"; @@ -9,20 +9,20 @@ import { isGoogleSheetPluginDS } from "utils/editorContextUtils"; import { getHasCreatePagePermission, hasCreateDSActionPermissionInApp, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import type { GenerateCRUDEnabledPluginMap } from "api/PluginApi"; import { DATASOURCES_ALLOWED_FOR_PREVIEW_MODE } from "constants/QueryEditorConstants"; import { getGenerateCRUDEnabledPluginMap, getPlugin, -} from "@appsmith/selectors/entitiesSelector"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/selectors/entitiesSelector"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import type { AppState } from "ee/reducers"; import { getPagePermissions } from "selectors/editorSelectors"; import { get } from "lodash"; -import { useEditorType } from "@appsmith/hooks"; +import { useEditorType } from "ee/hooks"; import history from "utils/history"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; interface FetchPreviewData { datasourceId: string; diff --git a/app/client/src/pages/Editor/DataSourceEditor/index.tsx b/app/client/src/pages/Editor/DataSourceEditor/index.tsx index 7139d61ecb22..ea66049160e8 100644 --- a/app/client/src/pages/Editor/DataSourceEditor/index.tsx +++ b/app/client/src/pages/Editor/DataSourceEditor/index.tsx @@ -7,14 +7,14 @@ import { isDirty, reset, } from "redux-form"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { get, isEmpty, isEqual, isNil, memoize, merge } from "lodash"; import { getPluginImages, getDatasource, getPlugin, getDatasourceFormButtonConfig, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { switchDatasource, setDatasourceViewMode, @@ -31,7 +31,7 @@ import { import { DATASOURCE_DB_FORM, DATASOURCE_REST_API_FORM, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import DataSourceEditorForm from "./DBForm"; import RestAPIDatasourceForm from "./RestAPIDatasourceForm"; import type { Datasource, DatasourceStorage } from "entities/Datasource"; @@ -44,7 +44,7 @@ import { getCurrentApplicationId, selectURLSlugs, } from "selectors/editorSelectors"; -import { saasEditorDatasourceIdURL } from "@appsmith/RouteBuilder"; +import { saasEditorDatasourceIdURL } from "ee/RouteBuilder"; import { createMessage, REST_API_AUTHORIZATION_APPSMITH_ERROR, @@ -53,13 +53,13 @@ import { SAVE_BUTTON_TEXT, TEST_DATASOURCE_ERROR, TEST_DATASOURCE_SUCCESS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { isDatasourceInViewMode } from "selectors/ui"; import { getQueryParams } from "utils/URLUtils"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import SaveOrDiscardDatasourceModal from "./SaveOrDiscardDatasourceModal"; -import { toast, Callout } from "design-system"; +import { toast, Callout } from "@appsmith/ads"; import styled from "styled-components"; import { isDatasourceAuthorizedForQueryCreation, @@ -85,25 +85,25 @@ import { formValuesToDatasource } from "transformers/RestAPIDatasourceFormTransf import { DSFormHeader } from "./DSFormHeader"; import type { PluginType } from "entities/Action"; import { PluginPackageName } from "entities/Action"; -import DSDataFilter from "@appsmith/components/DSDataFilter"; -import { DEFAULT_ENV_ID } from "@appsmith/api/ApiUtils"; -import { isStorageEnvironmentCreated } from "@appsmith/utils/Environments"; -import type { CalloutKind } from "design-system"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; - -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { setCurrentEditingEnvironmentID } from "@appsmith/actions/environmentAction"; -import { getCurrentEnvironmentDetails } from "@appsmith/selectors/environmentSelectors"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; +import DSDataFilter from "ee/components/DSDataFilter"; +import { DEFAULT_ENV_ID } from "ee/api/ApiUtils"; +import { isStorageEnvironmentCreated } from "ee/utils/Environments"; +import type { CalloutKind } from "@appsmith/ads"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; + +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { setCurrentEditingEnvironmentID } from "ee/actions/environmentAction"; +import { getCurrentEnvironmentDetails } from "ee/selectors/environmentSelectors"; +import { isGACEnabled } from "ee/utils/planHelpers"; import { getHasDeleteDatasourcePermission, getHasManageDatasourcePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import DatasourceTabs from "../DatasourceInfo/DatasorceTabs"; import DatasourceInformation, { ViewModeWrapper } from "./DatasourceSection"; import { convertToPageIdSelector } from "selectors/pageListSelectors"; -import { getApplicationByIdFromWorkspaces } from "@appsmith/selectors/applicationSelectors"; +import { getApplicationByIdFromWorkspaces } from "ee/selectors/applicationSelectors"; interface ReduxStateProps { canDeleteDatasource: boolean; diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasorceTabs.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasorceTabs.tsx index 887757e64cdb..5771adb85dad 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasorceTabs.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasorceTabs.tsx @@ -1,23 +1,23 @@ import React from "react"; import { VIEW_MODE_TABS } from "constants/DatasourceEditorConstants"; -import { Tabs, Tab, TabsList, TabPanel } from "design-system"; +import { Tabs, Tab, TabsList, TabPanel } from "@appsmith/ads"; import styled from "styled-components"; import { DATASOURCE_CONFIGURATIONS_TAB, DATASOURCE_VIEW_DATA_TAB, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useDispatch, useSelector } from "react-redux"; import { setDatasourceViewModeFlag } from "actions/datasourceActions"; import DatasourceViewModeSchema from "./DatasourceViewModeSchema"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; -import { isEnvironmentValid } from "@appsmith/utils/Environments"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; +import { isEnvironmentValid } from "ee/utils/Environments"; import type { Datasource } from "entities/Datasource"; import { isDatasourceAuthorizedForQueryCreation, isGoogleSheetPluginDS, } from "utils/editorContextUtils"; -import { getPlugin } from "@appsmith/selectors/entitiesSelector"; +import { getPlugin } from "ee/selectors/entitiesSelector"; import GoogleSheetSchema from "./GoogleSheetSchema"; const TabsContainer = styled(Tabs)` diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceEntity.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceEntity.tsx index f96ce1eb442b..0b093e6b8950 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceEntity.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceEntity.tsx @@ -3,19 +3,19 @@ import type { Datasource } from "entities/Datasource"; import type { Plugin } from "api/PluginApi"; import DataSourceContextMenu from "../Explorer/Datasources/DataSourceContextMenu"; import { getPluginIcon } from "../Explorer/ExplorerIcons"; -import { getQueryIdFromURL } from "@appsmith/pages/Editor/Explorer/helpers"; +import { getQueryIdFromURL } from "ee/pages/Editor/Explorer/helpers"; import Entity, { EntityClassNames } from "../Explorer/Entity"; import history, { NavigationMethod } from "utils/history"; import { updateDatasourceName } from "actions/datasourceActions"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { isStoredDatasource, PluginType } from "entities/Action"; -import { getAction } from "@appsmith/selectors/entitiesSelector"; +import { getAction } from "ee/selectors/entitiesSelector"; import { datasourcesEditorIdURL, saasEditorDatasourceIdURL, -} from "@appsmith/RouteBuilder"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/RouteBuilder"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useLocation } from "react-router"; import omit from "lodash/omit"; import { getQueryParams } from "utils/URLUtils"; diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceField.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceField.tsx index 0ccf2546e9ae..ec9fd5e23d0e 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceField.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceField.tsx @@ -5,7 +5,7 @@ import { } from "../Explorer/ExplorerIcons"; import styled from "styled-components"; import type { DatasourceColumns, DatasourceKeys } from "entities/Datasource"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; import { isEllipsisActive } from "utils/helpers"; const Wrapper = styled.div<{ step: number }>` diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructure.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructure.tsx index b8e8ec763a61..e5ffc892e23c 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructure.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructure.tsx @@ -4,23 +4,23 @@ import { datasourceTableIcon } from "../Explorer/ExplorerIcons"; import QueryTemplates from "./QueryTemplates"; import type { DatasourceTable } from "entities/Datasource"; import type { DatasourceStructureContext } from "entities/Datasource"; -import { useCloseMenuOnScroll } from "@appsmith/pages/Editor/Explorer/hooks"; +import { useCloseMenuOnScroll } from "ee/pages/Editor/Explorer/hooks"; import { SIDEBAR_ID } from "constants/Explorer"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { getDatasource, getPlugin } from "@appsmith/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; +import { getDatasource, getPlugin } from "ee/selectors/entitiesSelector"; import { getPagePermissions } from "selectors/editorSelectors"; -import { Menu, MenuTrigger, Button, Tooltip, MenuContent } from "design-system"; -import { SHOW_TEMPLATES, createMessage } from "@appsmith/constants/messages"; +import { Menu, MenuTrigger, Button, Tooltip, MenuContent } from "@appsmith/ads"; +import { SHOW_TEMPLATES, createMessage } from "ee/constants/messages"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { Plugin } from "api/PluginApi"; import { omit } from "lodash"; import { Virtuoso } from "react-virtuoso"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { hasCreateDSActionPermissionInApp } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { useEditorType } from "@appsmith/hooks"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { hasCreateDSActionPermissionInApp } from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { useEditorType } from "ee/hooks"; import history from "utils/history"; interface DatasourceStructureItemProps { diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureContainer.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureContainer.tsx index 3d861d857709..7d69704b5f19 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureContainer.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureContainer.tsx @@ -3,19 +3,19 @@ import { DATASOURCE_STRUCTURE_INPUT_PLACEHOLDER_TEXT, SCHEMA_NOT_AVAILABLE, TABLE_NOT_FOUND, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { DatasourceStructure as DatasourceStructureType } from "entities/Datasource"; import { DatasourceStructureContext } from "entities/Datasource"; import type { ReactElement } from "react"; import React, { memo, useCallback, useEffect, useState } from "react"; import DatasourceStructure from "./DatasourceStructure"; -import { Button, Flex, SearchInput, Text } from "design-system"; -import { getIsFetchingDatasourceStructure } from "@appsmith/selectors/entitiesSelector"; +import { Button, Flex, SearchInput, Text } from "@appsmith/ads"; +import { getIsFetchingDatasourceStructure } from "ee/selectors/entitiesSelector"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import ItemLoadingIndicator from "./ItemLoadingIndicator"; import DatasourceStructureNotFound from "./DatasourceStructureNotFound"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { PluginName } from "entities/Action"; import { DatasourceStructureSearchContainer } from "./SchemaViewModeCSS"; import { refreshDatasourceStructure } from "actions/datasourceActions"; diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureHeader.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureHeader.tsx index 6b355fe3582d..463b9787666c 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureHeader.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureHeader.tsx @@ -1,16 +1,16 @@ import React, { useCallback } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { Button, Text } from "design-system"; +import { Button, Text } from "@appsmith/ads"; import styled from "styled-components"; import { refreshDatasourceStructure } from "actions/datasourceActions"; import { GSHEET_SPREADSHEET_LABEL, SCHEMA_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Datasource } from "entities/Datasource"; import { DatasourceStructureContext } from "entities/Datasource"; -import { getPluginPackageNameFromId } from "@appsmith/selectors/entitiesSelector"; +import { getPluginPackageNameFromId } from "ee/selectors/entitiesSelector"; import { isGoogleSheetPluginDS } from "utils/editorContextUtils"; interface Props { diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureNotFound.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureNotFound.tsx index 41cd71f7de70..80e51e02c8c1 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureNotFound.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceStructureNotFound.tsx @@ -1,14 +1,14 @@ import React from "react"; import { useSelector } from "react-redux"; import styled from "styled-components"; -import { Text, Button } from "design-system"; +import { Text, Button } from "@appsmith/ads"; import type { APIResponseError } from "api/ApiResponses"; -import { EDIT_DATASOURCE, createMessage } from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { EDIT_DATASOURCE, createMessage } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DatasourceEditEntryPoints } from "constants/Datasource"; import history from "utils/history"; import { getQueryParams } from "utils/URLUtils"; -import { datasourcesEditorIdURL } from "@appsmith/RouteBuilder"; +import { datasourcesEditorIdURL } from "ee/RouteBuilder"; import { omit } from "lodash"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import { DatasourceStructureContext } from "entities/Datasource"; diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx index cb914426f628..f7bb63c49aa2 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx @@ -6,13 +6,13 @@ import { getIsFetchingDatasourceStructure, getNumberOfEntitiesInCurrentPage, getSelectedTableName, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import DatasourceStructureHeader from "./DatasourceStructureHeader"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { DATASOURCE_GENERATE_PAGE_BUTTON, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import Table from "pages/Editor/QueryEditor/Table"; import { generateTemplateToUpdatePage } from "actions/pageActions"; import { @@ -28,15 +28,15 @@ import type { QueryTemplate, } from "entities/Datasource"; import { DatasourceStructureContext } from "entities/Datasource"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import type { AppState } from "@appsmith/reducers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import type { AppState } from "ee/reducers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasCreatePagePermission, hasCreateDSActionPermissionInApp, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import RenderInterimDataState from "./RenderInterimDataState"; import { ButtonContainer, @@ -47,7 +47,7 @@ import { TableWrapper, ViewModeSchemaContainer, } from "./SchemaViewModeCSS"; -import { useEditorType } from "@appsmith/hooks"; +import { useEditorType } from "ee/hooks"; import history from "utils/history"; import { getIsGeneratingTemplatePage } from "selectors/pageListSelectors"; import { setDatasourcePreviewSelectedTableName } from "actions/datasourceActions"; diff --git a/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx b/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx index f27a36709099..8eb2e5b0198c 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect, useRef } from "react"; import { useDispatch, useSelector } from "react-redux"; -import type { DropdownOption } from "design-system-old"; -import { Button, SearchInput } from "design-system"; +import type { DropdownOption } from "@appsmith/ads-old"; +import { Button, SearchInput } from "@appsmith/ads"; import { useSheetData, useSheetsList, @@ -20,17 +20,17 @@ import { createMessage, DATASOURCE_GENERATE_PAGE_BUTTON, GSHEET_SEARCH_PLACEHOLDER, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import type { AppState } from "@appsmith/reducers"; -import { getDatasource } from "@appsmith/selectors/entitiesSelector"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import type { AppState } from "ee/reducers"; +import { getDatasource } from "ee/selectors/entitiesSelector"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasCreatePagePermission, hasCreateDSActionPermissionInApp, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import RenderInterimDataState from "./RenderInterimDataState"; import { ButtonContainer, @@ -48,7 +48,7 @@ import Entity from "../Explorer/Entity"; import DatasourceField from "./DatasourceField"; import { setEntityCollapsibleState } from "actions/editorContextActions"; import ItemLoadingIndicator from "./ItemLoadingIndicator"; -import { useEditorType } from "@appsmith/hooks"; +import { useEditorType } from "ee/hooks"; import history from "utils/history"; import { getIsGeneratingTemplatePage } from "selectors/pageListSelectors"; import { getIsAnvilEnabledInCurrentApplication } from "layoutSystems/anvil/integrations/selectors"; diff --git a/app/client/src/pages/Editor/DatasourceInfo/HideGeneratePageButton.test.tsx b/app/client/src/pages/Editor/DatasourceInfo/HideGeneratePageButton.test.tsx index b921bc3c58eb..0970f123ca4c 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/HideGeneratePageButton.test.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/HideGeneratePageButton.test.tsx @@ -4,8 +4,8 @@ import { NEW_API_BUTTON_TEXT, NEW_QUERY_BUTTON_TEXT, createMessage, -} from "@appsmith/constants/messages"; -import { getNumberOfEntitiesInCurrentPage } from "@appsmith/selectors/entitiesSelector"; +} from "ee/constants/messages"; +import { getNumberOfEntitiesInCurrentPage } from "ee/selectors/entitiesSelector"; import "@testing-library/jest-dom"; import { render, screen } from "@testing-library/react"; import { PluginType } from "entities/Action"; diff --git a/app/client/src/pages/Editor/DatasourceInfo/ItemLoadingIndicator.tsx b/app/client/src/pages/Editor/DatasourceInfo/ItemLoadingIndicator.tsx index 30793343c3c6..4827e6bf81a1 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/ItemLoadingIndicator.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/ItemLoadingIndicator.tsx @@ -5,8 +5,8 @@ import { GSHEET_SHEET_LOADING, GSHEET_SPREADSHEET_LOADING, LOADING_SCHEMA, -} from "@appsmith/constants/messages"; -import { Spinner, Text } from "design-system"; +} from "ee/constants/messages"; +import { Spinner, Text } from "@appsmith/ads"; import { MessageWrapper } from "./SchemaViewModeCSS"; type LoadingItemType = "SPREADSHEET" | "SHEET" | "DATA" | "SCHEMA"; diff --git a/app/client/src/pages/Editor/DatasourceInfo/QueryTemplates.tsx b/app/client/src/pages/Editor/DatasourceInfo/QueryTemplates.tsx index 11fcd49e3417..15e2c13a9a59 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/QueryTemplates.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/QueryTemplates.tsx @@ -1,7 +1,7 @@ import React, { useCallback, useContext } from "react"; import { useDispatch, useSelector } from "react-redux"; import { createActionRequest } from "actions/pluginActionActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getCurrentApplicationId, getCurrentBasePageId, @@ -16,21 +16,21 @@ import { getAction, getDatasource, getPlugin, -} from "@appsmith/selectors/entitiesSelector"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; -import { MenuItem, Tag } from "design-system"; +} from "ee/selectors/entitiesSelector"; +import { integrationEditorURL } from "ee/RouteBuilder"; +import { MenuItem, Tag } from "@appsmith/ads"; import type { Plugin } from "api/PluginApi"; import WalkthroughContext from "components/featureWalkthrough/walkthroughContext"; import { setFeatureWalkthroughShown } from "utils/storage"; import styled from "styled-components"; import { change, getFormValues } from "redux-form"; -import { QUERY_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { QUERY_EDITOR_FORM_NAME } from "ee/constants/forms"; import { diff } from "deep-diff"; import { UndoRedoToastContext, showUndoRedoToast } from "utils/replayHelpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { FEATURE_WALKTHROUGH_KEYS } from "constants/WalkthroughConstants"; -import { SUGGESTED_TAG, createMessage } from "@appsmith/constants/messages"; +import { SUGGESTED_TAG, createMessage } from "ee/constants/messages"; import { transformTextToSentenceCase } from "pages/Editor/utils"; interface QueryTemplatesProps { diff --git a/app/client/src/pages/Editor/DatasourceInfo/RenderInterimDataState.tsx b/app/client/src/pages/Editor/DatasourceInfo/RenderInterimDataState.tsx index 4bae3930f652..27a65c385edd 100644 --- a/app/client/src/pages/Editor/DatasourceInfo/RenderInterimDataState.tsx +++ b/app/client/src/pages/Editor/DatasourceInfo/RenderInterimDataState.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Spinner, Text } from "design-system"; +import { Spinner, Text } from "@appsmith/ads"; import { EMPTY_TABLE_TITLE_TEXT, EMPTY_TABLE_MESSAGE_TEXT, @@ -9,9 +9,9 @@ import { FAILED_RECORDS_MESSAGE_TEXT, FAILED_RECORDS_TITLE_TEXT, NO_COLUMNS_MESSAGE_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { MessageWrapper, SchemaStateMessageWrapper } from "./SchemaViewModeCSS"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; type InterimState = "LOADING" | "NODATA" | "FAILED" | "NOCOLUMNS"; diff --git a/app/client/src/pages/Editor/EditorHeader.tsx b/app/client/src/pages/Editor/EditorHeader.tsx index 4a5516bcea59..e378d7e0e513 100644 --- a/app/client/src/pages/Editor/EditorHeader.tsx +++ b/app/client/src/pages/Editor/EditorHeader.tsx @@ -1,7 +1,7 @@ import React, { useCallback, useEffect, useState } from "react"; import { ThemeProvider } from "styled-components"; import AppInviteUsersForm from "pages/workspace/AppInviteUsersForm"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getCurrentApplicationId, getCurrentBasePageId, @@ -12,21 +12,21 @@ import { import { getCurrentWorkspaceId, getCurrentAppWorkspace, -} from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/selectors/selectedWorkspaceSelectors"; import { useDispatch, useSelector } from "react-redux"; import DeployLinkButtonDialog from "components/designSystems/appsmith/header/DeployLinkButton"; import { publishApplication, updateApplication, -} from "@appsmith/actions/applicationActions"; +} from "ee/actions/applicationActions"; import { getApplicationList, getIsSavingAppName, getIsErroredSavingAppName, getCurrentApplication, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import EditorName from "./EditorName"; -import { EditInteractionKind, SavingState } from "design-system-old"; +import { EditInteractionKind, SavingState } from "@appsmith/ads-old"; import { Button, Tooltip, @@ -38,14 +38,14 @@ import { TabsList, Tab, TabPanel, -} from "design-system"; +} from "@appsmith/ads"; import { getTheme, ThemeMode } from "selectors/themeSelectors"; import ToggleModeButton from "pages/Editor/ToggleModeButton"; import { showConnectGitModal } from "actions/gitSyncActions"; import RealtimeAppEditors from "./RealtimeAppEditors"; import { EditorSaveIndicator } from "./EditorSaveIndicator"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { fetchUsersForWorkspace } from "@appsmith/actions/workspaceActions"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { fetchUsersForWorkspace } from "ee/actions/workspaceActions"; import { useNavigationMenuData } from "./EditorName/useNavigationMenuData"; import { @@ -61,16 +61,16 @@ import { RENAME_APPLICATION_TOOLTIP, COMMUNITY_TEMPLATES, APPLICATION_INVITE, -} from "@appsmith/constants/messages"; -import { viewerURL } from "@appsmith/RouteBuilder"; +} from "ee/constants/messages"; +import { viewerURL } from "ee/RouteBuilder"; import { useHref } from "./utils"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import type { NavigationSetting } from "constants/AppConstants"; import CommunityTemplatesPublishInfo from "./CommunityTemplates/Modals/CommunityTemplatesPublishInfo"; import PublishCommunityTemplateModal from "./CommunityTemplates/Modals/PublishCommunityTemplate"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getEmbedSnippetForm } from "@appsmith/utils/BusinessFeatures/privateEmbedHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getEmbedSnippetForm } from "ee/utils/BusinessFeatures/privateEmbedHelpers"; import { HeaderSection, HeaderWrapper } from "./commons/EditorHeaderComponents"; import { Omnibar } from "./commons/Omnibar"; import { EditorShareButton } from "./EditorShareButton"; diff --git a/app/client/src/pages/Editor/EditorName/EditableName.tsx b/app/client/src/pages/Editor/EditorName/EditableName.tsx index ff555578a493..7c039b45fb4b 100644 --- a/app/client/src/pages/Editor/EditorName/EditableName.tsx +++ b/app/client/src/pages/Editor/EditorName/EditableName.tsx @@ -6,12 +6,12 @@ import type { noop } from "lodash"; import type { CommonComponentProps, EditInteractionKind, -} from "design-system-old"; +} from "@appsmith/ads-old"; import { EditableTextSubComponent, SavingState, UNFILLED_WIDTH, -} from "design-system-old"; +} from "@appsmith/ads-old"; export type EditableAppNameProps = CommonComponentProps & { defaultValue: string; diff --git a/app/client/src/pages/Editor/EditorName/NavigationMenu.tsx b/app/client/src/pages/Editor/EditorName/NavigationMenu.tsx index 880f7d942f6a..f30f69b801da 100644 --- a/app/client/src/pages/Editor/EditorName/NavigationMenu.tsx +++ b/app/client/src/pages/Editor/EditorName/NavigationMenu.tsx @@ -3,7 +3,7 @@ import React from "react"; import type { noop } from "lodash"; import type { MenuItemData } from "./NavigationMenuItem"; -import { MenuContent } from "design-system"; +import { MenuContent } from "@appsmith/ads"; import { NavigationMenuItem } from "./NavigationMenuItem"; interface NavigationMenuProps { diff --git a/app/client/src/pages/Editor/EditorName/NavigationMenuItem.tsx b/app/client/src/pages/Editor/EditorName/NavigationMenuItem.tsx index 1a39c654b8ca..d0d0caf2e6cb 100644 --- a/app/client/src/pages/Editor/EditorName/NavigationMenuItem.tsx +++ b/app/client/src/pages/Editor/EditorName/NavigationMenuItem.tsx @@ -7,11 +7,11 @@ import { MenuSubTrigger, MenuSubContent, MenuSeparator, -} from "design-system"; +} from "@appsmith/ads"; import type { noop } from "lodash"; -import type { CommonComponentProps } from "design-system-old"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { CommonComponentProps } from "@appsmith/ads-old"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { MenuTypes } from "./types"; export interface MenuItemData { diff --git a/app/client/src/pages/Editor/EditorName/components.ts b/app/client/src/pages/Editor/EditorName/components.ts index 13505aa1afc3..8152ecf304d0 100644 --- a/app/client/src/pages/Editor/EditorName/components.ts +++ b/app/client/src/pages/Editor/EditorName/components.ts @@ -1,7 +1,7 @@ import styled from "styled-components"; import { Classes } from "@blueprintjs/core"; -import { getTypographyByKey } from "design-system-old"; -import { Icon } from "design-system"; +import { getTypographyByKey } from "@appsmith/ads-old"; +import { Icon } from "@appsmith/ads"; export const Container = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/EditorName/index.tsx b/app/client/src/pages/Editor/EditorName/index.tsx index 9fb68ae5f24f..abb3fd5743de 100644 --- a/app/client/src/pages/Editor/EditorName/index.tsx +++ b/app/client/src/pages/Editor/EditorName/index.tsx @@ -4,11 +4,11 @@ import type { noop } from "lodash"; import type { CommonComponentProps, EditInteractionKind, -} from "design-system-old"; -import { SavingState } from "design-system-old"; +} from "@appsmith/ads-old"; +import { SavingState } from "@appsmith/ads-old"; import EditableName from "./EditableName"; import { NavigationMenu } from "./NavigationMenu"; -import { Menu, toast, MenuTrigger } from "design-system"; +import { Menu, toast, MenuTrigger } from "@appsmith/ads"; import type { Theme } from "constants/DefaultTheme"; import ForkApplicationModal from "pages/Applications/ForkApplicationModal"; import { Container, StyledIcon } from "./components"; diff --git a/app/client/src/pages/Editor/EditorName/useNavigationMenuData.ts b/app/client/src/pages/Editor/EditorName/useNavigationMenuData.ts index cb0485f8245e..c1001c550147 100644 --- a/app/client/src/pages/Editor/EditorName/useNavigationMenuData.ts +++ b/app/client/src/pages/Editor/EditorName/useNavigationMenuData.ts @@ -4,25 +4,25 @@ import { useDispatch, useSelector } from "react-redux"; import { useHistory } from "react-router-dom"; import type { noop } from "lodash"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { APPLICATIONS_URL } from "constants/routes"; import type { MenuItemData } from "./NavigationMenuItem"; import { MenuTypes } from "./types"; -import { getExportAppAPIRoute } from "@appsmith/constants/ApiConstants"; +import { getExportAppAPIRoute } from "ee/constants/ApiConstants"; import { hasDeleteApplicationPermission, isPermitted, PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +} from "ee/utils/permissionHelpers"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import { Colors } from "constants/Colors"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import type { ThemeProp } from "WidgetProvider/constants"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { DOCS_BASE_URL } from "constants/ThirdPartyConstants"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { getCurrentUser } from "selectors/usersSelectors"; const { cloudHosting, intercomAppID } = getAppsmithConfigs(); diff --git a/app/client/src/pages/Editor/EditorSaveIndicator.tsx b/app/client/src/pages/Editor/EditorSaveIndicator.tsx index 52e1229ed8c7..f4423695459e 100644 --- a/app/client/src/pages/Editor/EditorSaveIndicator.tsx +++ b/app/client/src/pages/Editor/EditorSaveIndicator.tsx @@ -1,9 +1,9 @@ import React from "react"; import styled from "styled-components"; -import { TextType, Text } from "design-system-old"; +import { TextType, Text } from "@appsmith/ads-old"; import { Colors } from "constants/Colors"; -import { createMessage, EDITOR_HEADER } from "@appsmith/constants/messages"; -import { Icon, Spinner } from "design-system"; +import { createMessage, EDITOR_HEADER } from "ee/constants/messages"; +import { Icon, Spinner } from "@appsmith/ads"; const SaveStatusContainer = styled.div` align-items: center; diff --git a/app/client/src/pages/Editor/EditorShareButton.tsx b/app/client/src/pages/Editor/EditorShareButton.tsx index 6ce70046c182..f0b38106ec91 100644 --- a/app/client/src/pages/Editor/EditorShareButton.tsx +++ b/app/client/src/pages/Editor/EditorShareButton.tsx @@ -1,14 +1,14 @@ import React from "react"; -import { Button, Tooltip } from "design-system"; +import { Button, Tooltip } from "@appsmith/ads"; import { EDITOR_HEADER, SHARE_BUTTON_TOOLTIP, SHARE_BUTTON_TOOLTIP_WITH_USER, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getCurrentUser } from "selectors/usersSelectors"; import { useSelector } from "react-redux"; -import { getAllUsersOfWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getAllUsersOfWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; export const EditorShareButton = ({ setShowModal, diff --git a/app/client/src/pages/Editor/EntityNavigation/ActionPane/ActionPaneNavigation.ts b/app/client/src/pages/Editor/EntityNavigation/ActionPane/ActionPaneNavigation.ts index 67e507671e0d..45eaf21e9441 100644 --- a/app/client/src/pages/Editor/EntityNavigation/ActionPane/ActionPaneNavigation.ts +++ b/app/client/src/pages/Editor/EntityNavigation/ActionPane/ActionPaneNavigation.ts @@ -4,7 +4,7 @@ import { getAction, getPlugin, getSettingConfig, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { call, delay, put, select } from "redux-saga/effects"; import PaneNavigation from "../PaneNavigation"; import type { Plugin } from "api/PluginApi"; diff --git a/app/client/src/pages/Editor/EntityNavigation/ActionPane/QueryPaneNavigation.ts b/app/client/src/pages/Editor/EntityNavigation/ActionPane/QueryPaneNavigation.ts index 760a3f3ffba9..adeaade60939 100644 --- a/app/client/src/pages/Editor/EntityNavigation/ActionPane/QueryPaneNavigation.ts +++ b/app/client/src/pages/Editor/EntityNavigation/ActionPane/QueryPaneNavigation.ts @@ -7,8 +7,8 @@ import { EDITOR_TABS } from "constants/QueryEditorConstants"; import { getFormEvaluationState } from "selectors/formSelectors"; import type { FormEvaluationState } from "reducers/evaluationReducers/formEvaluationReducer"; import { isEmpty } from "lodash"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { isActionSaving } from "@appsmith/selectors/entitiesSelector"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { isActionSaving } from "ee/selectors/entitiesSelector"; export default class QueryPaneNavigation extends ActionPaneNavigation { constructor(entityInfo: EntityInfo) { diff --git a/app/client/src/pages/Editor/EntityNavigation/ActionPane/index.ts b/app/client/src/pages/Editor/EntityNavigation/ActionPane/index.ts index cf02444c6f04..220be9a44ae6 100644 --- a/app/client/src/pages/Editor/EntityNavigation/ActionPane/index.ts +++ b/app/client/src/pages/Editor/EntityNavigation/ActionPane/index.ts @@ -1,6 +1,6 @@ import { PluginType, type Action } from "entities/Action"; import type { EntityInfo } from "../types"; -import { getAction } from "@appsmith/selectors/entitiesSelector"; +import { getAction } from "ee/selectors/entitiesSelector"; import { select } from "redux-saga/effects"; import { ActionPaneNavigation, diff --git a/app/client/src/pages/Editor/EntityNavigation/JSObjectsPane/index.ts b/app/client/src/pages/Editor/EntityNavigation/JSObjectsPane/index.ts index 0c317c8f9827..e689bc793f45 100644 --- a/app/client/src/pages/Editor/EntityNavigation/JSObjectsPane/index.ts +++ b/app/client/src/pages/Editor/EntityNavigation/JSObjectsPane/index.ts @@ -3,7 +3,7 @@ import PaneNavigation from "../PaneNavigation"; import type { JSCollection } from "entities/JSCollection"; import { call, delay, put, select } from "redux-saga/effects"; import history from "utils/history"; -import { jsCollectionIdURL } from "@appsmith/RouteBuilder"; +import { jsCollectionIdURL } from "ee/RouteBuilder"; import type { EntityInfo, IJSPaneNavigationConfig } from "../types"; import { setJsPaneConfigSelectedTab } from "actions/jsPaneActions"; import { JSEditorTab } from "reducers/uiReducers/jsPaneReducer"; @@ -12,8 +12,8 @@ import { setCodeEditorCursorAction, setFocusableInputField, } from "actions/editorContextActions"; -import { CursorPositionOrigin } from "@appsmith/reducers/uiReducers/editorContextReducer"; -import { getJSCollection } from "@appsmith/selectors/entitiesSelector"; +import { CursorPositionOrigin } from "ee/reducers/uiReducers/editorContextReducer"; +import { getJSCollection } from "ee/selectors/entitiesSelector"; export default class JSObjectsPaneNavigation extends PaneNavigation { jsCollection!: JSCollection; diff --git a/app/client/src/pages/Editor/EntityNavigation/factory.ts b/app/client/src/pages/Editor/EntityNavigation/factory.ts index 216c01096b87..66cfdde6d841 100644 --- a/app/client/src/pages/Editor/EntityNavigation/factory.ts +++ b/app/client/src/pages/Editor/EntityNavigation/factory.ts @@ -2,7 +2,7 @@ import PropertyPaneNavigation from "./PropertyPane"; import ActionPaneNavigation from "./ActionPane"; import type { EntityInfo } from "./types"; import { call } from "redux-saga/effects"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type PaneNavigation from "./PaneNavigation"; import JSObjectsPaneNavigation from "./JSObjectsPane"; diff --git a/app/client/src/pages/Editor/EntityNavigation/types.ts b/app/client/src/pages/Editor/EntityNavigation/types.ts index 7be2289c5952..5d6a173e57d0 100644 --- a/app/client/src/pages/Editor/EntityNavigation/types.ts +++ b/app/client/src/pages/Editor/EntityNavigation/types.ts @@ -1,5 +1,5 @@ import type { PropertyPaneConfig } from "constants/PropertyControlConstants"; -import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { JSEditorTab } from "reducers/uiReducers/jsPaneReducer"; export interface EntityInfo { diff --git a/app/client/src/pages/Editor/EntityNotFoundPane.tsx b/app/client/src/pages/Editor/EntityNotFoundPane.tsx index f008c8de4c50..0884ed068cef 100644 --- a/app/client/src/pages/Editor/EntityNotFoundPane.tsx +++ b/app/client/src/pages/Editor/EntityNotFoundPane.tsx @@ -1,12 +1,12 @@ import React from "react"; import styled from "styled-components"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import PageUnavailableImage from "assets/images/invalid-page.png"; import { PAGE_NOT_FOUND_ERROR, INVALID_URL_ERROR, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useHistory } from "react-router-dom"; const Wrapper = styled.div` diff --git a/app/client/src/pages/Editor/Explorer/Actions/ActionEntity.tsx b/app/client/src/pages/Editor/Explorer/Actions/ActionEntity.tsx index d3f1e5e2d76d..8387eb879a71 100644 --- a/app/client/src/pages/Editor/Explorer/Actions/ActionEntity.tsx +++ b/app/client/src/pages/Editor/Explorer/Actions/ActionEntity.tsx @@ -10,22 +10,22 @@ import { getActionByBaseId, getDatasource, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Action, StoredDatasource } from "entities/Action"; import { PluginType } from "entities/Action"; import { keyBy } from "lodash"; import { getActionConfig } from "./helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useLocation } from "react-router"; import type { Datasource } from "entities/Datasource"; import { getHasDeleteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { saveActionNameBasedOnParentEntity } from "@appsmith/actions/helpers"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { saveActionNameBasedOnParentEntity } from "ee/actions/helpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; import { convertToBaseParentEntityIdSelector } from "selectors/pageListSelectors"; const getUpdateActionNameReduxAction = ( diff --git a/app/client/src/pages/Editor/Explorer/Actions/ActionEntityContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Actions/ActionEntityContextMenu.tsx index 63e408ac9f42..e17e37c3c3fd 100644 --- a/app/client/src/pages/Editor/Explorer/Actions/ActionEntityContextMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/Actions/ActionEntityContextMenu.tsx @@ -7,9 +7,9 @@ import { initExplorerEntityNameEdit } from "actions/explorerActions"; import { noop } from "lodash"; import React, { useCallback, useContext, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { getPageListAsOptions } from "@appsmith/selectors/entitiesSelector"; +import { getPageListAsOptions } from "ee/selectors/entitiesSelector"; import history from "utils/history"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { CONTEXT_COPY, @@ -20,8 +20,8 @@ import { CONTEXT_NO_PAGE, CONTEXT_SHOW_BINDING, createMessage, -} from "@appsmith/constants/messages"; -import { builderURL } from "@appsmith/RouteBuilder"; +} from "ee/constants/messages"; +import { builderURL } from "ee/RouteBuilder"; import ContextMenu from "pages/Editor/Explorer/ContextMenu"; import type { TreeDropdownOption } from "pages/Editor/Explorer/ContextMenu"; @@ -29,8 +29,8 @@ import { ActionEntityContextMenuItemsEnum, FilesContext, } from "../Files/FilesContextProvider"; -import { useConvertToModuleOptions } from "@appsmith/pages/Editor/Explorer/hooks"; -import { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import { useConvertToModuleOptions } from "ee/pages/Editor/Explorer/hooks"; +import { MODULE_TYPE } from "ee/constants/ModuleConstants"; import { PluginType } from "entities/Action"; import { convertToBaseParentEntityIdSelector } from "selectors/pageListSelectors"; diff --git a/app/client/src/pages/Editor/Explorer/Actions/MoreActionsMenu.tsx b/app/client/src/pages/Editor/Explorer/Actions/MoreActionsMenu.tsx index 7ade42b8efa4..4311feaf459b 100644 --- a/app/client/src/pages/Editor/Explorer/Actions/MoreActionsMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/Actions/MoreActionsMenu.tsx @@ -1,7 +1,7 @@ import React, { useCallback, useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { moveActionRequest, @@ -15,7 +15,7 @@ import { CONFIRM_CONTEXT_DELETE, CONTEXT_MOVE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Button, Menu, @@ -25,7 +25,7 @@ import { MenuSubContent, MenuSubTrigger, MenuTrigger, -} from "design-system"; +} from "@appsmith/ads"; import { useToggle } from "@mantine/hooks"; import { convertToPageIdSelector } from "selectors/pageListSelectors"; diff --git a/app/client/src/pages/Editor/Explorer/Actions/helpers.tsx b/app/client/src/pages/Editor/Explorer/Actions/helpers.tsx index 41341cc21fb8..b2955d3b2a09 100644 --- a/app/client/src/pages/Editor/Explorer/Actions/helpers.tsx +++ b/app/client/src/pages/Editor/Explorer/Actions/helpers.tsx @@ -18,8 +18,8 @@ import { apiEditorIdURL, queryEditorIdURL, saasEditorApiIdURL, -} from "@appsmith/RouteBuilder"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +} from "ee/RouteBuilder"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; // TODO [new_urls] update would break for existing paths // using a common todo, this needs to be fixed diff --git a/app/client/src/pages/Editor/Explorer/ContextMenu.tsx b/app/client/src/pages/Editor/Explorer/ContextMenu.tsx index ad6343428058..39523f475cc2 100644 --- a/app/client/src/pages/Editor/Explorer/ContextMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/ContextMenu.tsx @@ -10,11 +10,11 @@ import { MenuSubContent, Tooltip, MenuSeparator, -} from "design-system"; +} from "@appsmith/ads"; import { createMessage, ENTITY_MORE_ACTIONS_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { AddButtonWrapper, EntityClassNames } from "./Entity"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/Explorer/Datasources.tsx b/app/client/src/pages/Editor/Explorer/Datasources.tsx index ac10d62d9613..8c8c96228272 100644 --- a/app/client/src/pages/Editor/Explorer/Datasources.tsx +++ b/app/client/src/pages/Editor/Explorer/Datasources.tsx @@ -7,27 +7,27 @@ import { CREATE_DATASOURCE_TOOLTIP, EMPTY_DATASOURCE_BUTTON_TEXT, EMPTY_DATASOURCE_MAIN_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled from "styled-components"; -import { Icon, Button } from "design-system"; +import { Icon, Button } from "@appsmith/ads"; import { AddEntity, EmptyComponent } from "./common"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import { getHasCreateDatasourcePermission, getHasManageDatasourcePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { useAppWideAndOtherDatasource, useDatasourceSuggestions, -} from "@appsmith/pages/Editor/Explorer/hooks"; -import { getPlugins } from "@appsmith/selectors/entitiesSelector"; +} from "ee/pages/Editor/Explorer/hooks"; +import { getPlugins } from "ee/selectors/entitiesSelector"; import { keyBy } from "lodash"; -import { useDatasourceIdFromURL } from "@appsmith/pages/Editor/Explorer/helpers"; +import { useDatasourceIdFromURL } from "ee/pages/Editor/Explorer/helpers"; import type { Datasource } from "entities/Datasource"; import ExplorerDatasourceEntity from "../DatasourceInfo/DatasourceEntity"; diff --git a/app/client/src/pages/Editor/Explorer/Datasources/DataSourceContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Datasources/DataSourceContextMenu.tsx index 8dcb6354596e..583a7dbb22f9 100644 --- a/app/client/src/pages/Editor/Explorer/Datasources/DataSourceContextMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/Datasources/DataSourceContextMenu.tsx @@ -7,18 +7,18 @@ import { CONTEXT_DELETE, CONFIRM_CONTEXT_DELETE, createMessage, -} from "@appsmith/constants/messages"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/constants/messages"; +import type { AppState } from "ee/reducers"; -import { getDatasource } from "@appsmith/selectors/entitiesSelector"; +import { getDatasource } from "ee/selectors/entitiesSelector"; import type { TreeDropdownOption } from "pages/Editor/Explorer/ContextMenu"; import ContextMenu from "pages/Editor/Explorer/ContextMenu"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasDeleteDatasourcePermission, getHasManageDatasourcePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; export function DataSourceContextMenu(props: { datasourceId: string; diff --git a/app/client/src/pages/Editor/Explorer/Entity/AddButton.tsx b/app/client/src/pages/Editor/Explorer/Entity/AddButton.tsx index cde6adb75261..6240403d2953 100644 --- a/app/client/src/pages/Editor/Explorer/Entity/AddButton.tsx +++ b/app/client/src/pages/Editor/Explorer/Entity/AddButton.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; -import type { ButtonSizes } from "design-system"; -import { Button } from "design-system"; +import type { ButtonSizes } from "@appsmith/ads"; +import { Button } from "@appsmith/ads"; const Wrapper = styled.div<{ isSizePassed?: boolean }>` ${({ isSizePassed }) => diff --git a/app/client/src/pages/Editor/Explorer/Entity/CollapseToggle.tsx b/app/client/src/pages/Editor/Explorer/Entity/CollapseToggle.tsx index ae8a0a1f73ea..652b161c11df 100644 --- a/app/client/src/pages/Editor/Explorer/Entity/CollapseToggle.tsx +++ b/app/client/src/pages/Editor/Explorer/Entity/CollapseToggle.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; export function CollapseToggle(props: { isOpen: boolean; diff --git a/app/client/src/pages/Editor/Explorer/Entity/EntityProperties.tsx b/app/client/src/pages/Editor/Explorer/Entity/EntityProperties.tsx index be97ef96b3f3..fc780df1a270 100644 --- a/app/client/src/pages/Editor/Explorer/Entity/EntityProperties.tsx +++ b/app/client/src/pages/Editor/Explorer/Entity/EntityProperties.tsx @@ -6,14 +6,14 @@ import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; import * as Sentry from "@sentry/react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import classNames from "classnames"; import styled from "styled-components"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { EntityClassNames } from "."; -import { Button } from "design-system"; -import { getEntityProperties } from "@appsmith/pages/Editor/Explorer/Entity/getEntityProperties"; +import { Button } from "@appsmith/ads"; +import { getEntityProperties } from "ee/pages/Editor/Explorer/Entity/getEntityProperties"; import store from "store"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; diff --git a/app/client/src/pages/Editor/Explorer/Entity/EntityProperty.tsx b/app/client/src/pages/Editor/Explorer/Entity/EntityProperty.tsx index cec5a80246fc..860d34dcbbc2 100644 --- a/app/client/src/pages/Editor/Explorer/Entity/EntityProperty.tsx +++ b/app/client/src/pages/Editor/Explorer/Entity/EntityProperty.tsx @@ -10,11 +10,11 @@ import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig import useClipboard from "utils/hooks/useClipboard"; import { Skin } from "constants/DefaultTheme"; import { EntityClassNames } from "."; -import { Tooltip, Icon } from "design-system"; -import { COPY_ELEMENT, createMessage } from "@appsmith/constants/messages"; +import { Tooltip, Icon } from "@appsmith/ads"; +import { COPY_ELEMENT, createMessage } from "ee/constants/messages"; import CollapseToggle from "./CollapseToggle"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import type { EntityProperty as EntityPropertyType } from "@appsmith/pages/Editor/Explorer/Entity/getEntityProperties"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import type { EntityProperty as EntityPropertyType } from "ee/pages/Editor/Explorer/Entity/getEntityProperties"; const Wrapper = styled.div` &&&& { diff --git a/app/client/src/pages/Editor/Explorer/Entity/Name.tsx b/app/client/src/pages/Editor/Explorer/Entity/Name.tsx index 26c159ff2eff..80d53a990c71 100644 --- a/app/client/src/pages/Editor/Explorer/Entity/Name.tsx +++ b/app/client/src/pages/Editor/Explorer/Entity/Name.tsx @@ -12,8 +12,8 @@ import NameEditorComponent from "components/utils/NameEditorComponent"; import { ACTION_ID_NOT_FOUND_IN_URL, ENTITY_EXPLORER_ACTION_NAME_CONFLICT_ERROR, -} from "@appsmith/constants/messages"; -import { Tooltip } from "design-system"; +} from "ee/constants/messages"; +import { Tooltip } from "@appsmith/ads"; import { useSelector } from "react-redux"; import { getSavingStatusForActionName } from "selectors/actionSelectors"; diff --git a/app/client/src/pages/Editor/Explorer/Entity/index.tsx b/app/client/src/pages/Editor/Explorer/Entity/index.tsx index 0f28e72083e5..673854b9fa47 100644 --- a/app/client/src/pages/Editor/Explorer/Entity/index.tsx +++ b/app/client/src/pages/Editor/Explorer/Entity/index.tsx @@ -15,20 +15,17 @@ import Collapse from "./Collapse"; import { useEntityUpdateState, useEntityEditState, -} from "@appsmith/pages/Editor/Explorer/hooks"; +} from "ee/pages/Editor/Explorer/hooks"; import { Classes } from "@blueprintjs/core"; import { noop } from "lodash"; import { useDispatch, useSelector } from "react-redux"; import useClick from "utils/hooks/useClick"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getEntityCollapsibleState } from "selectors/editorContextSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { setEntityCollapsibleState } from "actions/editorContextActions"; -import { Tooltip, Tag, Spinner } from "design-system"; -import { - createMessage, - EXPLORER_BETA_ENTITY, -} from "@appsmith/constants/messages"; +import { Tooltip, Tag, Spinner } from "@appsmith/ads"; +import { createMessage, EXPLORER_BETA_ENTITY } from "ee/constants/messages"; import classNames from "classnames"; export enum EntityClassNames { diff --git a/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx b/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx index eef8e037a012..4fa6867b7456 100644 --- a/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx +++ b/app/client/src/pages/Editor/Explorer/EntityExplorer.test.tsx @@ -7,7 +7,7 @@ import React from "react"; import { MockPageDSL } from "test/testCommon"; import { DEFAULT_ENTITY_EXPLORER_WIDTH } from "constants/AppConstants"; import { runSagaMiddleware } from "store"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import * as explorerSelector from "selectors/explorerSelector"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import * as widgetSelectionsActions from "actions/widgetSelectionActions"; @@ -24,23 +24,21 @@ pushState.mockImplementation((state: any, title: any, url: any) => { window.location.pathname = url; }); -jest.mock("@appsmith/utils/permissionHelpers", () => { +jest.mock("ee/utils/permissionHelpers", () => { return { __esModule: true, - ...jest.requireActual("@appsmith/utils/permissionHelpers"), + ...jest.requireActual("ee/utils/permissionHelpers"), }; }); -jest.mock("@appsmith/pages/Editor/Explorer/helpers", () => ({ +jest.mock("ee/pages/Editor/Explorer/helpers", () => ({ __esModule: true, - ...jest.requireActual("@appsmith/pages/Editor/Explorer/helpers"), + ...jest.requireActual("ee/pages/Editor/Explorer/helpers"), })); -jest.mock("@appsmith/utils/BusinessFeatures/permissionPageHelpers", () => ({ +jest.mock("ee/utils/BusinessFeatures/permissionPageHelpers", () => ({ __esModule: true, - ...jest.requireActual( - "@appsmith/utils/BusinessFeatures/permissionPageHelpers", - ), + ...jest.requireActual("ee/utils/BusinessFeatures/permissionPageHelpers"), })); jest.mock("selectors/explorerSelector", () => ({ diff --git a/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx b/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx index b4bb5aef0d97..ce187fcdc448 100644 --- a/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx +++ b/app/client/src/pages/Editor/Explorer/EntityExplorer.tsx @@ -14,25 +14,25 @@ import { toggleInOnboardingWidgetSelection } from "actions/onboardingActions"; import { forceOpenWidgetPanel } from "actions/widgetSidebarActions"; import Files from "./Files"; import ExplorerWidgetGroup from "./Widgets/WidgetGroup"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import history from "utils/history"; import { getCurrentBasePageId, getCurrentPageId, getPagePermissions, } from "selectors/editorSelectors"; -import { fetchWorkspace } from "@appsmith/actions/workspaceActions"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { importSvg } from "design-system-old"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { fetchWorkspace } from "ee/actions/workspaceActions"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; +import { importSvg } from "@appsmith/ads-old"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { EntityExplorerWrapper } from "./Common/EntityExplorerWrapper"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import { FilesContextProvider } from "./Files/FilesContextProvider"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { ActionParentEntityType } from "@appsmith/entities/Engine/actionHelpers"; -import { getShowWorkflowFeature } from "@appsmith/selectors/workflowSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { ActionParentEntityType } from "ee/entities/Engine/actionHelpers"; +import { getShowWorkflowFeature } from "ee/selectors/workflowSelectors"; const NoEntityFoundSvg = importSvg( async () => import("assets/svg/no_entities_found.svg"), diff --git a/app/client/src/pages/Editor/Explorer/ExplorerIcons.tsx b/app/client/src/pages/Editor/Explorer/ExplorerIcons.tsx index 7fd10420ba34..e9bbb6d5275c 100644 --- a/app/client/src/pages/Editor/Explorer/ExplorerIcons.tsx +++ b/app/client/src/pages/Editor/Explorer/ExplorerIcons.tsx @@ -7,9 +7,9 @@ import styled from "styled-components"; import type { HTTP_METHOD } from "constants/ApiEditorConstants/CommonApiConstants"; import { HTTP_METHODS_COLOR } from "constants/ApiEditorConstants/CommonApiConstants"; import { PRIMARY_KEY, FOREIGN_KEY } from "constants/DatasourceEditorConstants"; -import { Icon } from "design-system"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import { importSvg } from "design-system-old"; +import { Icon } from "@appsmith/ads"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import { importSvg } from "@appsmith/ads-old"; const ApiIcon = importSvg( async () => import("assets/icons/menu/api-colored.svg"), diff --git a/app/client/src/pages/Editor/Explorer/Files/FilesContextProvider.tsx b/app/client/src/pages/Editor/Explorer/Files/FilesContextProvider.tsx index 8899885e654a..48985dd7cea0 100644 --- a/app/client/src/pages/Editor/Explorer/Files/FilesContextProvider.tsx +++ b/app/client/src/pages/Editor/Explorer/Files/FilesContextProvider.tsx @@ -1,5 +1,5 @@ import React, { createContext, useMemo } from "react"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; export enum ActionEntityContextMenuItemsEnum { RENAME = "Rename", diff --git a/app/client/src/pages/Editor/Explorer/Files/Submenu.tsx b/app/client/src/pages/Editor/Explorer/Files/Submenu.tsx index edc57719bb56..5eef3792795d 100644 --- a/app/client/src/pages/Editor/Explorer/Files/Submenu.tsx +++ b/app/client/src/pages/Editor/Explorer/Files/Submenu.tsx @@ -9,10 +9,10 @@ import { import { useSelector } from "react-redux"; import EntityAddButton from "../Entity/AddButton"; import keyBy from "lodash/keyBy"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { EntityIcon, getPluginIcon } from "../ExplorerIcons"; import { AddButtonWrapper, EntityClassNames } from "../Entity"; -import { useCloseMenuOnScroll } from "@appsmith/pages/Editor/Explorer/hooks"; +import { useCloseMenuOnScroll } from "ee/pages/Editor/Explorer/hooks"; import { SIDEBAR_ID } from "constants/Explorer"; import { Menu, @@ -22,7 +22,7 @@ import { Tooltip, SearchInput, Text, -} from "design-system"; +} from "@appsmith/ads"; const SubMenuContainer = styled.div` width: 250px; diff --git a/app/client/src/pages/Editor/Explorer/Files/index.tsx b/app/client/src/pages/Editor/Explorer/Files/index.tsx index 2a65dfd67846..60c8d524b1c9 100644 --- a/app/client/src/pages/Editor/Explorer/Files/index.tsx +++ b/app/client/src/pages/Editor/Explorer/Files/index.tsx @@ -5,7 +5,7 @@ import React, { useMemo, useState, } from "react"; -import { useActiveActionBaseId } from "@appsmith/pages/Editor/Explorer/hooks"; +import { useActiveActionBaseId } from "ee/pages/Editor/Explorer/hooks"; import { Entity, EntityClassNames } from "../Entity/index"; import { createMessage, @@ -13,24 +13,24 @@ import { EMPTY_QUERY_JS_BUTTON_TEXT, EMPTY_QUERY_JS_MAIN_TEXT, ADD_QUERY_JS_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useDispatch, useSelector } from "react-redux"; import { ExplorerActionEntity } from "../Actions/ActionEntity"; import ExplorerJSCollectionEntity from "../JSActions/JSActionEntity"; import { getExplorerStatus, saveExplorerStatus, -} from "@appsmith/pages/Editor/Explorer/helpers"; +} from "ee/pages/Editor/Explorer/helpers"; import { AddEntity, EmptyComponent } from "../common"; import ExplorerSubMenu from "./Submenu"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; import styled from "styled-components"; import { useFilteredFileOperations } from "components/editorComponents/GlobalSearch/GlobalSearchHooks"; import { SEARCH_ITEM_TYPES } from "components/editorComponents/GlobalSearch/utils"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; -import { ExplorerModuleInstanceEntity } from "@appsmith/pages/Editor/Explorer/ModuleInstanceEntity"; +import { ExplorerModuleInstanceEntity } from "ee/pages/Editor/Explorer/ModuleInstanceEntity"; import { FilesContext } from "./FilesContextProvider"; -import { selectFilesForExplorer as default_selectFilesForExplorer } from "@appsmith/selectors/entitiesSelector"; +import { selectFilesForExplorer as default_selectFilesForExplorer } from "ee/selectors/entitiesSelector"; const StyledText = styled(Text)` color: var(--ads-v2-color-fg-emphasis); diff --git a/app/client/src/pages/Editor/Explorer/JSActions/JSActionContextMenu.tsx b/app/client/src/pages/Editor/Explorer/JSActions/JSActionContextMenu.tsx index 2e248bf7c685..8d918e79792d 100644 --- a/app/client/src/pages/Editor/Explorer/JSActions/JSActionContextMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/JSActions/JSActionContextMenu.tsx @@ -7,7 +7,7 @@ import { } from "actions/jsActionActions"; import noop from "lodash/noop"; import { initExplorerEntityNameEdit } from "actions/explorerActions"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { CONTEXT_COPY, @@ -18,8 +18,8 @@ import { CONTEXT_NO_PAGE, CONTEXT_SHOW_BINDING, createMessage, -} from "@appsmith/constants/messages"; -import { getPageListAsOptions } from "@appsmith/selectors/entitiesSelector"; +} from "ee/constants/messages"; +import { getPageListAsOptions } from "ee/selectors/entitiesSelector"; import ContextMenu from "pages/Editor/Explorer/ContextMenu"; import type { TreeDropdownOption } from "pages/Editor/Explorer/ContextMenu"; diff --git a/app/client/src/pages/Editor/Explorer/JSActions/JSActionEntity.tsx b/app/client/src/pages/Editor/Explorer/JSActions/JSActionEntity.tsx index 2a05c3d6a995..eb949fc2fcd4 100644 --- a/app/client/src/pages/Editor/Explorer/JSActions/JSActionEntity.tsx +++ b/app/client/src/pages/Editor/Explorer/JSActions/JSActionEntity.tsx @@ -3,22 +3,22 @@ import Entity, { EntityClassNames } from "../Entity"; import history, { NavigationMethod } from "utils/history"; import JSCollectionEntityContextMenu from "./JSActionContextMenu"; import { useSelector } from "react-redux"; -import { getJsCollectionByBaseId } from "@appsmith/selectors/entitiesSelector"; -import type { AppState } from "@appsmith/reducers"; +import { getJsCollectionByBaseId } from "ee/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; import type { JSCollection } from "entities/JSCollection"; import { JsFileIconV2 } from "../ExplorerIcons"; import type { PluginType } from "entities/Action"; -import { jsCollectionIdURL } from "@appsmith/RouteBuilder"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { jsCollectionIdURL } from "ee/RouteBuilder"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useLocation } from "react-router"; import { getHasDeleteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { saveJSObjectNameBasedOnParentEntity } from "@appsmith/actions/helpers"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { saveJSObjectNameBasedOnParentEntity } from "ee/actions/helpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; import { convertToBaseParentEntityIdSelector } from "selectors/pageListSelectors"; interface ExplorerJSCollectionEntityProps { diff --git a/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx b/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx index b91788a704a3..b390c1ca1c3c 100644 --- a/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx +++ b/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx @@ -18,11 +18,8 @@ import { Avatar, Callout, Tooltip, -} from "design-system"; -import { - createMessage, - customJSLibraryMessages, -} from "@appsmith/constants/messages"; +} from "@appsmith/ads"; +import { createMessage, customJSLibraryMessages } from "ee/constants/messages"; import { useDispatch, useSelector } from "react-redux"; import { selectInstallationStatus, @@ -30,14 +27,14 @@ import { selectIsLibraryInstalled, selectQueuedLibraries, selectStatusForURL, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { InstallState } from "reducers/uiReducers/libraryReducer"; import recommendedLibraries from "pages/Editor/Explorer/Libraries/recommendedLibraries"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { installLibraryInit } from "actions/JSLibraryActions"; import classNames from "classnames"; import type { JSLibrary } from "workers/common/JSLibrary"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { EntityClassNames } from "pages/Editor/Explorer/Entity"; const Wrapper = styled.div` diff --git a/app/client/src/pages/Editor/Explorer/Libraries/__tests__/Installer.test.tsx b/app/client/src/pages/Editor/Explorer/Libraries/__tests__/Installer.test.tsx index fb53ebfa3c6f..977fc2355fcc 100644 --- a/app/client/src/pages/Editor/Explorer/Libraries/__tests__/Installer.test.tsx +++ b/app/client/src/pages/Editor/Explorer/Libraries/__tests__/Installer.test.tsx @@ -5,7 +5,7 @@ import { Provider } from "react-redux"; import store from "store"; import { ThemeProvider } from "styled-components"; import { lightTheme } from "selectors/themeSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { Installer } from "pages/Editor/Explorer/Libraries/Installer"; import { BrowserRouter } from "react-router-dom"; diff --git a/app/client/src/pages/Editor/Explorer/Libraries/index.tsx b/app/client/src/pages/Editor/Explorer/Libraries/index.tsx index 44dcb27be218..4159a910277a 100644 --- a/app/client/src/pages/Editor/Explorer/Libraries/index.tsx +++ b/app/client/src/pages/Editor/Explorer/Libraries/index.tsx @@ -12,18 +12,15 @@ import { Spinner, toast, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; import Entity, { AddButtonWrapper, EntityClassNames } from "../Entity"; -import { - createMessage, - customJSLibraryMessages, -} from "@appsmith/constants/messages"; +import { createMessage, customJSLibraryMessages } from "ee/constants/messages"; import { useDispatch, useSelector } from "react-redux"; import { selectInstallationStatus, selectIsInstallerOpen, selectLibrariesForExplorer, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { InstallState } from "reducers/uiReducers/libraryReducer"; import { Collapse } from "@blueprintjs/core"; import useClipboard from "utils/hooks/useClipboard"; @@ -40,11 +37,11 @@ import { } from "selectors/editorSelectors"; import recommendedLibraries from "./recommendedLibraries"; import { useTransition, animated } from "react-spring"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { Installer } from "./Installer"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; const docsURLMap = recommendedLibraries.reduce( (acc, lib) => { diff --git a/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx index 2b497a347585..ab8ab3a0eece 100644 --- a/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx @@ -3,10 +3,10 @@ import { AddButtonWrapper, EntityClassNames } from "../Entity"; import EntityAddButton from "../Entity/AddButton"; import styled from "styled-components"; import history from "utils/history"; -import { generateTemplateFormURL } from "@appsmith/RouteBuilder"; +import { generateTemplateFormURL } from "ee/RouteBuilder"; import { useParams } from "react-router"; import { useDispatch } from "react-redux"; -import type { ExplorerURLParams } from "@appsmith/pages/Editor/Explorer/helpers"; +import type { ExplorerURLParams } from "ee/pages/Editor/Explorer/helpers"; import { showTemplatesModal } from "actions/templateActions"; import { ADD_PAGE_FROM_TEMPLATE, @@ -15,9 +15,9 @@ import { createMessage, CREATE_PAGE, GENERATE_PAGE_ACTION_TITLE, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import type { ButtonSizes } from "design-system"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import type { ButtonSizes } from "@appsmith/ads"; import { Menu, MenuContent, @@ -25,8 +25,8 @@ import { MenuItem, Tooltip, Text, -} from "design-system"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +} from "@appsmith/ads"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { TOOLTIP_HOVER_ON_DELAY_IN_S } from "constants/AppConstants"; import { LayoutSystemFeatures, diff --git a/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx index 31faee5c8b32..e1c787492e2e 100644 --- a/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/Pages/PageContextMenu.tsx @@ -1,7 +1,7 @@ import type { ReactNode } from "react"; import React, { useCallback, useMemo, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { initExplorerEntityNameEdit } from "actions/explorerActions"; import { clonePageInit, @@ -10,7 +10,7 @@ import { updatePageAction, } from "actions/pageActions"; import styled from "styled-components"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import { CONTEXT_RENAME, CONTEXT_CLONE, @@ -20,21 +20,21 @@ import { createMessage, CONTEXT_PARTIAL_EXPORT, CONTEXT_PARTIAL_IMPORT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getPageById } from "selectors/editorSelectors"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import type { AppState } from "@appsmith/reducers"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import type { AppState } from "ee/reducers"; import ContextMenu from "pages/Editor/Explorer/ContextMenu"; import type { TreeDropdownOption } from "pages/Editor/Explorer/ContextMenu"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasCreatePagePermission, getHasDeletePagePermission, getHasManagePagePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { openPartialExportModal } from "actions/widgetActions"; -import { openPartialImportModal } from "@appsmith/actions/applicationActions"; +import { openPartialImportModal } from "ee/actions/applicationActions"; const CustomLabel = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/Explorer/Pages/index.tsx b/app/client/src/pages/Editor/Explorer/Pages/index.tsx index 531171d5876c..06f6da923f07 100644 --- a/app/client/src/pages/Editor/Explorer/Pages/index.tsx +++ b/app/client/src/pages/Editor/Explorer/Pages/index.tsx @@ -12,24 +12,24 @@ import { } from "selectors/editorSelectors"; import { EntityClassNames } from "../Entity"; import { createNewPageFromEntities } from "actions/pageActions"; -import { ADD_PAGE_TOOLTIP, createMessage } from "@appsmith/constants/messages"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import { ADD_PAGE_TOOLTIP, createMessage } from "ee/constants/messages"; +import type { Page } from "ee/constants/ReduxActionConstants"; import { getNextEntityName } from "utils/AppsmithUtils"; import { getExplorerPinned } from "selectors/explorerSelector"; import { setExplorerPinnedAction } from "actions/explorerActions"; -import { selectAllPages } from "@appsmith/selectors/entitiesSelector"; +import { selectAllPages } from "ee/selectors/entitiesSelector"; import { getExplorerStatus, saveExplorerStatus, -} from "@appsmith/pages/Editor/Explorer/helpers"; +} from "ee/pages/Editor/Explorer/helpers"; import AddPageContextMenu from "./AddPageContextMenu"; import { useLocation } from "react-router"; -import type { AppState } from "@appsmith/reducers"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { getInstanceId } from "@appsmith//selectors/tenantSelectors"; +import type { AppState } from "ee/reducers"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; +import { getInstanceId } from "ee//selectors/tenantSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasCreatePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasCreatePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { ENTITY_HEIGHT, RelativeContainer, @@ -37,7 +37,7 @@ import { } from "../Common/components"; import { EntityExplorerResizeHandler } from "../Common/EntityExplorerResizeHandler"; import { PageElement } from "pages/Editor/IDE/EditorPane/components/PageElement"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; function Pages() { const applicationId = useSelector(getCurrentApplicationId); diff --git a/app/client/src/pages/Editor/Explorer/TreeDropdown.tsx b/app/client/src/pages/Editor/Explorer/TreeDropdown.tsx index 5b2e115ff2ce..76bc05a12eb9 100644 --- a/app/client/src/pages/Editor/Explorer/TreeDropdown.tsx +++ b/app/client/src/pages/Editor/Explorer/TreeDropdown.tsx @@ -2,7 +2,7 @@ import React, { useState } from "react"; import styled from "styled-components"; import { find, noop } from "lodash"; import type { DropdownOption } from "components/constants"; -import { StyledMenu } from "design-system-old"; +import { StyledMenu } from "@appsmith/ads-old"; import type { IPopoverSharedProps, Position } from "@blueprintjs/core"; import { Button as BlueprintButton, @@ -18,7 +18,7 @@ import { EntityClassNames, entityTooltipCSS, } from "pages/Editor/Explorer/Entity"; -import { useCloseMenuOnScroll } from "@appsmith/pages/Editor/Explorer/hooks"; +import { useCloseMenuOnScroll } from "ee/pages/Editor/Explorer/hooks"; import { SIDEBAR_ID } from "constants/Explorer"; export type TreeDropdownOption = DropdownOption & { diff --git a/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx index cb72602ff9a6..3d35fbd79383 100644 --- a/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx +++ b/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx @@ -1,11 +1,11 @@ import React, { useCallback } from "react"; import { useDispatch, useSelector } from "react-redux"; import { initExplorerEntityNameEdit } from "actions/explorerActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import WidgetFactory from "WidgetProvider/factory"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import type { TreeDropdownOption } from "pages/Editor/Explorer/ContextMenu"; diff --git a/app/client/src/pages/Editor/Explorer/Widgets/WidgetEntity.tsx b/app/client/src/pages/Editor/Explorer/Widgets/WidgetEntity.tsx index 11affbd47c8b..ce407fb8c237 100644 --- a/app/client/src/pages/Editor/Explorer/Widgets/WidgetEntity.tsx +++ b/app/client/src/pages/Editor/Explorer/Widgets/WidgetEntity.tsx @@ -10,15 +10,15 @@ import type { CanvasStructure } from "reducers/uiReducers/pageCanvasStructureRed import { getLastSelectedWidget, getSelectedWidgets } from "selectors/ui"; import { useNavigateToWidget } from "./useNavigateToWidget"; import WidgetIcon from "./WidgetIcon"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { builderURL } from "@appsmith/RouteBuilder"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { builderURL } from "ee/RouteBuilder"; import { useLocation } from "react-router"; import { getPagePermissions } from "selectors/editorSelectors"; import { NavigationMethod } from "utils/history"; import { getEntityExplorerWidgetsToExpand } from "selectors/widgetSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { convertToPageIdSelector } from "selectors/pageListSelectors"; export type WidgetTree = WidgetProps & { children?: WidgetTree[] }; diff --git a/app/client/src/pages/Editor/Explorer/Widgets/WidgetGroup.tsx b/app/client/src/pages/Editor/Explorer/Widgets/WidgetGroup.tsx index eae65648f541..b7d4e542ed85 100644 --- a/app/client/src/pages/Editor/Explorer/Widgets/WidgetGroup.tsx +++ b/app/client/src/pages/Editor/Explorer/Widgets/WidgetGroup.tsx @@ -13,18 +13,18 @@ import { createMessage, EMPTY_WIDGET_BUTTON_TEXT, EMPTY_WIDGET_MAIN_TEXT, -} from "@appsmith/constants/messages"; -import { selectWidgetsForCurrentPage } from "@appsmith/selectors/entitiesSelector"; +} from "ee/constants/messages"; +import { selectWidgetsForCurrentPage } from "ee/selectors/entitiesSelector"; import { getExplorerStatus, saveExplorerStatus, -} from "@appsmith/pages/Editor/Explorer/helpers"; +} from "ee/pages/Editor/Explorer/helpers"; import { AddEntity, EmptyComponent } from "../common"; import { noop } from "lodash"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; interface ExplorerWidgetGroupProps { step: number; diff --git a/app/client/src/pages/Editor/Explorer/Widgets/useNavigateToWidget.ts b/app/client/src/pages/Editor/Explorer/Widgets/useNavigateToWidget.ts index 76e148f96217..81b502ce6c2e 100644 --- a/app/client/src/pages/Editor/Explorer/Widgets/useNavigateToWidget.ts +++ b/app/client/src/pages/Editor/Explorer/Widgets/useNavigateToWidget.ts @@ -1,10 +1,10 @@ import { useCallback } from "react"; import type { WidgetType } from "constants/WidgetConstants"; import { useParams } from "react-router"; -import type { ExplorerURLParams } from "@appsmith/pages/Editor/Explorer/helpers"; +import type { ExplorerURLParams } from "ee/pages/Editor/Explorer/helpers"; import { useDispatch } from "react-redux"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; -import { getCurrentPageWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getCurrentPageWidgets } from "ee/selectors/entitiesSelector"; import store from "store"; import type { NavigationMethod } from "utils/history"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; diff --git a/app/client/src/pages/Editor/Explorer/common.tsx b/app/client/src/pages/Editor/Explorer/common.tsx index ea0e567b4adf..58f33592f2d2 100644 --- a/app/client/src/pages/Editor/Explorer/common.tsx +++ b/app/client/src/pages/Editor/Explorer/common.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import Entity from "./Entity"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; const ECContainer = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/Explorer/index.tsx b/app/client/src/pages/Editor/Explorer/index.tsx index 31a61a1c4919..97d8f21424f8 100644 --- a/app/client/src/pages/Editor/Explorer/index.tsx +++ b/app/client/src/pages/Editor/Explorer/index.tsx @@ -1,14 +1,14 @@ import React, { useEffect } from "react"; import { toggleInOnboardingWidgetSelection } from "actions/onboardingActions"; import { forceOpenWidgetPanel } from "actions/widgetSidebarActions"; -import { SegmentedControl } from "design-system"; +import { SegmentedControl } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { useLocation } from "react-router"; -import type { AppState } from "@appsmith/reducers"; -import { builderURL } from "@appsmith/RouteBuilder"; +import type { AppState } from "ee/reducers"; +import { builderURL } from "ee/RouteBuilder"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import { getIsFirstTimeUserOnboardingEnabled } from "selectors/onboardingSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { trimQueryString } from "utils/helpers"; import history from "utils/history"; import EntityExplorer from "./EntityExplorer"; diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/AnonymousDataPopup.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/AnonymousDataPopup.tsx index a02cb9b02289..f3522aef191b 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/AnonymousDataPopup.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/AnonymousDataPopup.tsx @@ -1,11 +1,11 @@ import React, { useEffect } from "react"; -import { Callout } from "design-system"; +import { Callout } from "@appsmith/ads"; import { ADMIN_SETTINGS, LEARN_MORE, ONBOARDING_TELEMETRY_POPUP, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { ADMIN_SETTINGS_CATEGORY_DEFAULT_PATH } from "constants/routes"; import { ANONYMOUS_DATA_POPOP_TIMEOUT, @@ -22,11 +22,11 @@ import { getFirstTimeUserOnboardingTelemetryCalloutIsAlreadyShown, setFirstTimeUserOnboardingTelemetryCalloutVisibility, } from "utils/storage"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { deleteCanvasCardsState } from "actions/editorActions"; import styled from "styled-components"; import { showAnonymousDataPopup } from "actions/onboardingActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const Wrapper = styled.div` margin: ${(props) => diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.test.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.test.tsx index 693cebf96df9..6edcffad3663 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.test.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.test.tsx @@ -2,15 +2,15 @@ const history = jest.fn(); const dispatch = jest.fn(); import { bindDataOnCanvas } from "actions/pluginActionActions"; -import { builderURL, integrationEditorURL } from "@appsmith/RouteBuilder"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { builderURL, integrationEditorURL } from "ee/RouteBuilder"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { INTEGRATION_TABS } from "constants/routes"; import React from "react"; import { Provider } from "react-redux"; import { fireEvent, render, screen } from "test/testUtils"; import OnboardingChecklist from "./Checklist"; import { getStore, initialState } from "./testUtils"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import "@testing-library/jest-dom"; import * as onboardingSelectors from "selectors/onboardingSelectors"; diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.tsx index 47ffbdbecea7..012dc75bfbf8 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Checklist.tsx @@ -1,12 +1,12 @@ import React, { useEffect, useRef } from "react"; -import { Button, Divider, Text, Tooltip } from "design-system"; +import { Button, Divider, Text, Tooltip } from "@appsmith/ads"; import styled from "styled-components"; import { useDispatch, useSelector } from "react-redux"; import { getCanvasWidgets, getPageActions, getSavedDatasources, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { INTEGRATION_TABS } from "constants/routes"; import { getApplicationLastDeployedAt, @@ -22,13 +22,13 @@ import { signpostingMarkAllRead, toggleInOnboardingWidgetSelection, } from "actions/onboardingActions"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getFirstTimeUserOnboardingComplete, getSignpostingStepStateByStep, isWidgetActionConnectionPresent, } from "selectors/onboardingSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { forceOpenWidgetPanel } from "actions/widgetSidebarActions"; import { bindDataOnCanvas } from "actions/pluginActionActions"; import { @@ -43,17 +43,17 @@ import { SIGNPOSTING_POPUP_SUBTITLE, SIGNPOSTING_SUCCESS_POPUP, SIGNPOSTING_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Datasource } from "entities/Datasource"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { SIGNPOSTING_STEP } from "./Utils"; -import { builderURL, integrationEditorURL } from "@appsmith/RouteBuilder"; +import { builderURL, integrationEditorURL } from "ee/RouteBuilder"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; import classNames from "classnames"; import lazyLottie from "utils/lazyLottie"; import tickMarkAnimationURL from "assets/lottie/guided-tour-tick-mark.json.txt"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { DOCS_BASE_URL } from "constants/ThirdPartyConstants"; const { intercomAppID } = getAppsmithConfigs(); diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/HelpMenu.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/HelpMenu.tsx index 0d253b4cfbca..6411b2343587 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/HelpMenu.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/HelpMenu.tsx @@ -1,10 +1,7 @@ import React from "react"; -import { Text, Button } from "design-system"; -import { getAppsmithConfigs } from "@appsmith/configs"; -import { - APPSMITH_DISPLAY_VERSION, - createMessage, -} from "@appsmith/constants/messages"; +import { Text, Button } from "@appsmith/ads"; +import { getAppsmithConfigs } from "ee/configs"; +import { APPSMITH_DISPLAY_VERSION, createMessage } from "ee/constants/messages"; import moment from "moment"; import styled from "styled-components"; import { useSelector } from "react-redux"; diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Modal.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Modal.tsx index 0ec285860307..a0a70f11d605 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Modal.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Modal.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { MenuContent } from "design-system"; +import { MenuContent } from "@appsmith/ads"; import styled from "styled-components"; import Checklist from "./Checklist"; import HelpMenu from "./HelpMenu"; diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.test.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.test.tsx index 41247cb6788c..cd57d3f27009 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.test.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.test.tsx @@ -5,7 +5,7 @@ import { Provider } from "react-redux"; import { render } from "test/testUtils"; import OnboardingStatusbar from "./Statusbar"; import { getStore } from "./testUtils"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { SIGNPOSTING_STEP } from "./Utils"; import { signpostingStepUpdateInit } from "actions/onboardingActions"; import * as onboardingSelectors from "selectors/onboardingSelectors"; diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.tsx index 7a8465459a01..c073e8973b27 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/Statusbar.tsx @@ -8,13 +8,13 @@ import { getCanvasWidgets, getPageActions, getSavedDatasources, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { SIGNPOSTING_STEP } from "./Utils"; import { getFirstTimeUserOnboardingComplete, isWidgetActionConnectionPresent, } from "selectors/onboardingSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { signpostingStepUpdateInit } from "actions/onboardingActions"; const useStatusListener = () => { diff --git a/app/client/src/pages/Editor/FirstTimeUserOnboarding/TooltipContent.tsx b/app/client/src/pages/Editor/FirstTimeUserOnboarding/TooltipContent.tsx index 9c6c53de21a5..889968eed910 100644 --- a/app/client/src/pages/Editor/FirstTimeUserOnboarding/TooltipContent.tsx +++ b/app/client/src/pages/Editor/FirstTimeUserOnboarding/TooltipContent.tsx @@ -4,7 +4,7 @@ import { SIGNPOSTING_TOOLTIP, SIGNPOSTING_LAST_STEP_TOOLTIP, SIGNPOSTING_SUCCESS_POPUP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import React, { useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; import { @@ -15,7 +15,7 @@ import { getPageActions, getCanvasWidgets, getSavedDatasources, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { showSignpostingTooltip } from "actions/onboardingActions"; import { SIGNPOSTING_STEP } from "./Utils"; import { isWidgetActionConnectionPresent } from "selectors/onboardingSelectors"; diff --git a/app/client/src/pages/Editor/FormConfig.tsx b/app/client/src/pages/Editor/FormConfig.tsx index d58819d454ba..a4529dbaff1b 100644 --- a/app/client/src/pages/Editor/FormConfig.tsx +++ b/app/client/src/pages/Editor/FormConfig.tsx @@ -16,14 +16,14 @@ import { ToggleComponentToJsonHandler } from "components/editorComponents/form/T import styled from "styled-components"; import { useDispatch, useSelector } from "react-redux"; import { identifyEntityFromPath } from "navigation/FocusEntity"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getPropertyControlFocusElement, shouldFocusOnPropertyControl, } from "utils/editorContextUtils"; import { getIsInputFieldFocused } from "selectors/editorContextSelectors"; import { setFocusableInputField } from "actions/editorContextActions"; -import { Icon, Tooltip } from "design-system"; +import { Icon, Tooltip } from "@appsmith/ads"; const FlexWrapper = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/FormControl.tsx b/app/client/src/pages/Editor/FormControl.tsx index 3eda7b986fe2..9d5501818459 100644 --- a/app/client/src/pages/Editor/FormControl.tsx +++ b/app/client/src/pages/Editor/FormControl.tsx @@ -9,7 +9,7 @@ import { useSelector, shallowEqual, useDispatch } from "react-redux"; import { getFormValues, change } from "redux-form"; import FormControlFactory from "utils/formControl/FormControlFactory"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Action } from "entities/Action"; import type { EvaluationError } from "utils/DynamicBindingUtils"; import { getConfigErrors } from "selectors/formSelectors"; @@ -17,20 +17,20 @@ import ToggleComponentToJson from "components/editorComponents/form/ToggleCompon import FormConfig from "./FormConfig"; import { QUERY_BODY_FIELDS } from "constants/QueryEditorConstants"; import { convertObjectToQueryParams, getQueryParams } from "utils/URLUtils"; -import { QUERY_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { QUERY_EDITOR_FORM_NAME } from "ee/constants/forms"; import history from "utils/history"; import { getAction, getDatasourceStructureById, getPluginNameFromId, getPluginTemplates, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { get } from "lodash"; import { SQL_PLUGINS_DEFAULT_TEMPLATE_TYPE } from "constants/Datasource"; import TemplateMenu from "./QueryEditor/TemplateMenu"; import { SQL_DATASOURCES } from "../../constants/QueryEditorConstants"; import type { Datasource, DatasourceStructure } from "entities/Datasource"; -import { getCurrentEditingEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEditingEnvironmentId } from "ee/selectors/environmentSelectors"; export interface FormControlProps { config: ControlProps; diff --git a/app/client/src/pages/Editor/GeneratePage/components/CrudInfoModal.tsx b/app/client/src/pages/Editor/GeneratePage/components/CrudInfoModal.tsx index 83b8a8149da5..cb261e438bae 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/CrudInfoModal.tsx +++ b/app/client/src/pages/Editor/GeneratePage/components/CrudInfoModal.tsx @@ -1,8 +1,8 @@ import React, { useState, useEffect } from "react"; import styled from "styled-components"; import { connect, useDispatch } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { AppState } from "ee/reducers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { Button, Text, @@ -10,7 +10,7 @@ import { ModalContent, ModalBody, ModalFooter, -} from "design-system"; +} from "@appsmith/ads"; import { getCrudInfoModalData } from "selectors/crudInfoModalSelectors"; import { setCrudInfoModalData } from "actions/crudInfoModalActions"; @@ -19,14 +19,14 @@ import { GEN_CRUD_INFO_DIALOG_SUBTITLE, GEN_CRUD_SUCCESS_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getInfoImage, getInfoThumbnail } from "constants/ImagesURL"; import { ProgressiveImage, Container as ProgressiveImageContainer, -} from "design-system-old"; +} from "@appsmith/ads-old"; import SuccessTick from "pages/common/SuccessTick"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; interface Props { crudInfoModalOpen: boolean; diff --git a/app/client/src/pages/Editor/GeneratePage/components/DataSourceOption.tsx b/app/client/src/pages/Editor/GeneratePage/components/DataSourceOption.tsx index b104a0614310..cb9d31b92214 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/DataSourceOption.tsx +++ b/app/client/src/pages/Editor/GeneratePage/components/DataSourceOption.tsx @@ -1,15 +1,15 @@ import React from "react"; import styled from "styled-components"; import { useSelector } from "react-redux"; -import { getPluginImages } from "@appsmith/selectors/entitiesSelector"; +import { getPluginImages } from "ee/selectors/entitiesSelector"; import type { DropdownOption, RenderDropdownOptionType, -} from "design-system-old"; -import { Classes, Text, TextType } from "design-system-old"; +} from "@appsmith/ads-old"; +import { Classes, Text, TextType } from "@appsmith/ads-old"; import _ from "lodash"; -import { Tooltip, Icon } from "design-system"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { Tooltip, Icon } from "@appsmith/ads"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; // ---------- Helpers and constants ---------- diff --git a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx index 60c02973afb2..63b98174e732 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx +++ b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GeneratePageForm.tsx @@ -8,7 +8,7 @@ import { getIsFetchingSinglePluginForm, getDatasourcesStructure, getNumberOfEntitiesInCurrentPage, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Datasource } from "entities/Datasource"; import { fetchDatasourceStructure } from "actions/datasourceActions"; @@ -22,15 +22,15 @@ import DataSourceOption, { CONNECT_NEW_DATASOURCE_OPTION_ID, DatasourceImage, } from "../DataSourceOption"; -import { getQueryStringfromObject } from "@appsmith/entities/URLRedirect/URLAssembly"; -import type { DropdownOption } from "design-system-old"; -import { Button, Icon, Text, Select, Option, Tooltip } from "design-system"; +import { getQueryStringfromObject } from "ee/entities/URLRedirect/URLAssembly"; +import type { DropdownOption } from "@appsmith/ads-old"; +import { Button, Icon, Text, Select, Option, Tooltip } from "@appsmith/ads"; import GoogleSheetForm from "./GoogleSheetForm"; import { GENERATE_PAGE_FORM_TITLE, createMessage, GEN_CRUD_DATASOURCE_DROPDOWN_LABEL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { GenerateCRUDEnabledPluginMap } from "api/PluginApi"; import { useDatasourceOptions, @@ -39,8 +39,8 @@ import { useSheetColumnHeaders, useS3BucketList, } from "./hooks"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import type { AppState } from "@appsmith/reducers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import type { AppState } from "ee/reducers"; import type { DropdownOptions, DatasourceTableDropdownOption, @@ -59,20 +59,17 @@ import { getCurrentPageId, } from "selectors/editorSelectors"; -import { - datasourcesEditorIdURL, - integrationEditorURL, -} from "@appsmith/RouteBuilder"; +import { datasourcesEditorIdURL, integrationEditorURL } from "ee/RouteBuilder"; import { PluginPackageName } from "entities/Action"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { getPluginImages } from "@appsmith/selectors/entitiesSelector"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import { getPluginImages } from "ee/selectors/entitiesSelector"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; import { isGoogleSheetPluginDS } from "utils/editorContextUtils"; import equal from "fast-deep-equal"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasCreateDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasCreateDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; // ---------- Styles ---------- diff --git a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GoogleSheetForm.tsx b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GoogleSheetForm.tsx index 9f8394d0db00..42481152c942 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GoogleSheetForm.tsx +++ b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/GoogleSheetForm.tsx @@ -1,8 +1,8 @@ import type { ReactElement } from "react"; import React, { useState, useEffect, useCallback } from "react"; import { useSelector, useDispatch } from "react-redux"; -import { getEditorConfig } from "@appsmith/selectors/entitiesSelector"; -import type { AppState } from "@appsmith/reducers"; +import { getEditorConfig } from "ee/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; import { fetchPluginFormConfig } from "actions/pluginActions"; import { DROPDOWN_DIMENSION, DEFAULT_DROPDOWN_OPTION } from "../constants"; import { SelectWrapper, Label, Bold } from "./styles"; @@ -13,8 +13,8 @@ import type { UseSpreadSheetsReturn, UseSheetColumnHeadersReturn, } from "./hooks"; -import type { DropdownOption } from "design-system-old"; -import { getTypographyByKey, Text, TextType } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; +import { getTypographyByKey, Text, TextType } from "@appsmith/ads-old"; import { debounce } from "lodash"; import { createMessage, @@ -22,8 +22,8 @@ import { GEN_CRUD_COLUMN_HEADER_TITLE, GEN_CRUD_NO_COLUMNS, GEN_CRUD_TABLE_HEADER_TOOLTIP_DESC, -} from "@appsmith/constants/messages"; -import { Icon, Option, Select, Input, Tooltip } from "design-system"; +} from "ee/constants/messages"; +import { Icon, Option, Select, Input, Tooltip } from "@appsmith/ads"; interface Props { googleSheetPluginId: string; diff --git a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/hooks.ts b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/hooks.ts index db7928716b77..b42ec2bf205d 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/hooks.ts +++ b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/hooks.ts @@ -5,11 +5,11 @@ import type { GenerateCRUDEnabledPluginMap } from "api/PluginApi"; import { CONNECT_NEW_DATASOURCE_OPTION_ID } from "../DataSourceOption"; import type { executeDatasourceQuerySuccessPayload } from "actions/datasourceActions"; import { executeDatasourceQuery } from "actions/datasourceActions"; -import type { DropdownOption } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; import { useDispatch, useSelector } from "react-redux"; import { PluginPackageName } from "entities/Action"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; export const FAKE_DATASOURCE_OPTION = { CONNECT_NEW_DATASOURCE_OPTION: { diff --git a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/styles.ts b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/styles.ts index 7a9d38d6351a..2115a5ab44bd 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/styles.ts +++ b/app/client/src/pages/Editor/GeneratePage/components/GeneratePageForm/styles.ts @@ -1,5 +1,5 @@ import styled from "styled-components"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; export const SelectWrapper = styled.div<{ width: string }>` display: inline-block; diff --git a/app/client/src/pages/Editor/GeneratePage/components/constants.ts b/app/client/src/pages/Editor/GeneratePage/components/constants.ts index da49abd1a4e2..94092f4d71f1 100644 --- a/app/client/src/pages/Editor/GeneratePage/components/constants.ts +++ b/app/client/src/pages/Editor/GeneratePage/components/constants.ts @@ -1,4 +1,4 @@ -import type { DropdownOption } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; import type { DatasourceTable } from "entities/Datasource"; import { PluginPackageName } from "entities/Action"; diff --git a/app/client/src/pages/Editor/GeneratePage/index.tsx b/app/client/src/pages/Editor/GeneratePage/index.tsx index 2dc50710f71f..92f7245ed6ee 100644 --- a/app/client/src/pages/Editor/GeneratePage/index.tsx +++ b/app/client/src/pages/Editor/GeneratePage/index.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import PageContent from "./components/PageContent"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { BackButton } from "components/utils/helperComponents"; const Container = styled.div` diff --git a/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.test.tsx b/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.test.tsx index 9487d92ddf5b..7aa486cdec1b 100644 --- a/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.test.tsx +++ b/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.test.tsx @@ -3,10 +3,10 @@ import React from "react"; import { createMessage, SAVE_HOTKEY_TOASTER_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { all } from "@redux-saga/core/effects"; import { redoAction, undoAction } from "actions/pageActions"; -import { Toast } from "design-system"; +import { Toast } from "@appsmith/ads"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { MemoryRouter } from "react-router-dom"; import * as utilities from "selectors/editorSelectors"; @@ -74,8 +74,8 @@ describe("Canvas Hot Keys", () => { ...jest.requireActual("sagas/EvaluationsSaga"), default: mockGenerator, })); - jest.mock("@appsmith/sagas/PageSagas", () => ({ - ...jest.requireActual("@appsmith/sagas/PageSagas"), + jest.mock("ee/sagas/PageSagas", () => ({ + ...jest.requireActual("ee/sagas/PageSagas"), default: mockGenerator, })); }); diff --git a/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.tsx b/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.tsx index 4363ab6cce11..9f8f193342a4 100644 --- a/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.tsx +++ b/app/client/src/pages/Editor/GlobalHotKeys/GlobalHotKeys.tsx @@ -1,6 +1,6 @@ import React from "react"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { Hotkey, Hotkeys, HotkeysTarget } from "@blueprintjs/core"; import { closePropertyPane, @@ -16,7 +16,7 @@ import { setGlobalSearchCategory } from "actions/globalSearchActions"; import { getSelectedText, isMacOrIOS } from "utils/helpers"; import { getLastSelectedWidget, getSelectedWidgets } from "selectors/ui"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { WIDGETS_SEARCH_ID } from "constants/Explorer"; import { resetSnipingMode as resetSnipingModeAction } from "actions/propertyPaneActions"; @@ -28,20 +28,20 @@ import { } from "components/editorComponents/GlobalSearch/utils"; import { redoAction, undoAction } from "actions/pageActions"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import type { APP_MODE } from "entities/App"; import { createMessage, SAVE_HOTKEY_TOASTER_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { previewModeSelector } from "selectors/editorSelectors"; import { setIsGitSyncModalOpen } from "actions/gitSyncActions"; import { GitSyncModalTab } from "entities/GitSync"; import { matchBuilderPath } from "constants/routes"; import { toggleInstaller } from "actions/JSLibraryActions"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { showDebuggerFlag } from "selectors/debuggerSelectors"; import { getIsFirstTimeUserOnboardingEnabled } from "selectors/onboardingSelectors"; import WalkthroughContext from "components/featureWalkthrough/walkthroughContext"; diff --git a/app/client/src/pages/Editor/HelpButton.tsx b/app/client/src/pages/Editor/HelpButton.tsx index f0cdce061343..82063bd8f293 100644 --- a/app/client/src/pages/Editor/HelpButton.tsx +++ b/app/client/src/pages/Editor/HelpButton.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from "react"; import { HELP_MODAL_WIDTH } from "constants/HelpConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getCurrentUser } from "selectors/usersSelectors"; import { useDispatch, useSelector } from "react-redux"; import bootIntercom, { updateIntercomProperties } from "utils/bootIntercom"; @@ -11,7 +11,7 @@ import { createMessage, HELP_RESOURCE_TOOLTIP, INTERCOM_CONSENT_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Button, Menu, @@ -21,8 +21,8 @@ import { Tooltip, MenuSeparator, Text, -} from "design-system"; -import { getAppsmithConfigs } from "@appsmith/configs"; +} from "@appsmith/ads"; +import { getAppsmithConfigs } from "ee/configs"; import moment from "moment/moment"; import styled from "styled-components"; import { @@ -35,7 +35,7 @@ import { import SignpostingPopup from "pages/Editor/FirstTimeUserOnboarding/Modal"; import { showSignpostingModal } from "actions/onboardingActions"; import TooltipContent from "./FirstTimeUserOnboarding/TooltipContent"; -import { getInstanceId } from "@appsmith/selectors/tenantSelectors"; +import { getInstanceId } from "ee/selectors/tenantSelectors"; import { updateIntercomConsent, updateUserDetails } from "actions/userActions"; const { appVersion, cloudHosting, intercomAppID } = getAppsmithConfigs(); diff --git a/app/client/src/pages/Editor/IDE/AppsmithIDE.test.tsx b/app/client/src/pages/Editor/IDE/AppsmithIDE.test.tsx index c8d507f25747..2d920bb909c5 100644 --- a/app/client/src/pages/Editor/IDE/AppsmithIDE.test.tsx +++ b/app/client/src/pages/Editor/IDE/AppsmithIDE.test.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { all } from "@redux-saga/core/effects"; import lodash from "lodash"; import React from "react"; @@ -146,8 +146,8 @@ describe("Drag and Drop widgets into Main container", () => { ...jest.requireActual("sagas/EvaluationsSaga"), default: mockGenerator, })); - jest.mock("@appsmith/sagas/PageSagas", () => ({ - ...jest.requireActual("@appsmith/sagas/PageSagas"), + jest.mock("ee/sagas/PageSagas", () => ({ + ...jest.requireActual("ee/sagas/PageSagas"), default: mockGenerator, })); }); @@ -863,8 +863,8 @@ describe("Drag in a nested container", () => { ...jest.requireActual("sagas/EvaluationsSaga"), default: mockGenerator, })); - jest.mock("@appsmith/sagas/PageSagas", () => ({ - ...jest.requireActual("@appsmith/sagas/PageSagas"), + jest.mock("ee/sagas/PageSagas", () => ({ + ...jest.requireActual("ee/sagas/PageSagas"), default: mockGenerator, })); }); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Editor.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Editor.tsx index 62b8ed82866d..e3390b6a1ad5 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Editor.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Editor.tsx @@ -1,16 +1,16 @@ import React from "react"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { Switch, useRouteMatch } from "react-router"; -import { SentryRoute } from "@appsmith/AppRouter"; +import { SentryRoute } from "ee/AppRouter"; import { jsSegmentRoutes, querySegmentRoutes, -} from "@appsmith/pages/Editor/IDE/EditorPane/constants"; +} from "ee/pages/Editor/IDE/EditorPane/constants"; import { JSEditorPane } from "./JS"; import { QueryEditor } from "./Query"; import EditorTabs from "../EditorTabs"; import { useCurrentEditorState } from "../hooks"; -import { EditorEntityTab } from "@appsmith/entities/IDE/constants"; +import { EditorEntityTab } from "ee/entities/IDE/constants"; const Editor = () => { const { path } = useRouteMatch(); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Explorer.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Explorer.tsx index 84c744225729..39f1216aaa7d 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Explorer.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Explorer.tsx @@ -1,12 +1,12 @@ import React from "react"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { Switch, useRouteMatch } from "react-router"; -import { SentryRoute } from "@appsmith/AppRouter"; +import { SentryRoute } from "ee/AppRouter"; import { jsSegmentRoutes, querySegmentRoutes, widgetSegmentRoutes, -} from "@appsmith/pages/Editor/IDE/EditorPane/constants"; +} from "ee/pages/Editor/IDE/EditorPane/constants"; import { JSExplorer } from "./JS"; import { QueryExplorer } from "./Query"; import WidgetsSegment from "./UI"; @@ -14,12 +14,12 @@ import { BUILDER_CUSTOM_PATH, BUILDER_PATH, BUILDER_PATH_DEPRECATED, -} from "@appsmith/constants/routes/appRoutes"; +} from "ee/constants/routes/appRoutes"; import EntityProperties from "pages/Editor/Explorer/Entity/EntityProperties"; import SegmentedHeader from "./components/SegmentedHeader"; import { useSelector } from "react-redux"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import { DEFAULT_EXPLORER_PANE_WIDTH } from "constants/AppConstants"; const EditorPaneExplorer = () => { @@ -34,7 +34,6 @@ const EditorPaneExplorer = () => { } className="relative ide-editor-left-pane__content" flexDirection="column" - overflow="hidden" width={ ideViewMode === EditorViewMode.FullScreen ? DEFAULT_EXPLORER_PANE_WIDTH diff --git a/app/client/src/pages/Editor/IDE/EditorPane/GlobalAdd.tsx b/app/client/src/pages/Editor/IDE/EditorPane/GlobalAdd.tsx index 67d3fca72f26..60bf74e78151 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/GlobalAdd.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/GlobalAdd.tsx @@ -1,11 +1,11 @@ import UIEntitySidebar from "pages/Editor/widgetSidebar/UIEntitySidebar"; import React, { useCallback } from "react"; import styled from "styled-components"; -import { Button, Flex, Icon, Text } from "design-system"; +import { Button, Flex, Icon, Text } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import history from "utils/history"; -import { queryAddURL } from "@appsmith/RouteBuilder"; +import { queryAddURL } from "ee/RouteBuilder"; import { createNewJSCollection } from "actions/jsPaneActions"; import PaneHeader from "../LeftPane/PaneHeader"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/JS/Add.tsx b/app/client/src/pages/Editor/IDE/EditorPane/JS/Add.tsx index 62084e653ff1..33db8864bb52 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/JS/Add.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/JS/Add.tsx @@ -1,23 +1,23 @@ import React, { useCallback, useState } from "react"; import SegmentAddHeader from "../components/SegmentAddHeader"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; -import type { ListItemProps } from "design-system"; -import { Flex, SearchInput } from "design-system"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; +import type { ListItemProps } from "@appsmith/ads"; +import { Flex, SearchInput } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentPageId } from "selectors/editorSelectors"; import GroupedList from "../components/GroupedList"; import { useGroupedAddJsOperations, useJSAdd, -} from "@appsmith/pages/Editor/IDE/EditorPane/JS/hooks"; +} from "ee/pages/Editor/IDE/EditorPane/JS/hooks"; import type { ActionOperation } from "components/editorComponents/GlobalSearch/utils"; import { createAddClassName, fuzzySearchInObjectItems } from "../utils"; import { FocusEntity } from "navigation/FocusEntity"; import type { GroupedListProps } from "../components/types"; import { EmptySearchResult } from "../components/EmptySearchResult"; import { getIDEViewMode } from "selectors/ideSelectors"; -import type { FlexProps } from "design-system"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import type { FlexProps } from "@appsmith/ads"; +import { EditorViewMode } from "ee/entities/IDE/constants"; const AddJS = () => { const dispatch = useDispatch(); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/JS/BlankState.tsx b/app/client/src/pages/Editor/IDE/EditorPane/JS/BlankState.tsx index 65c39f62eef2..f1858a8f66dc 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/JS/BlankState.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/JS/BlankState.tsx @@ -1,12 +1,12 @@ import React from "react"; import { useSelector } from "react-redux"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; import { getPagePermissions } from "selectors/editorSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { useJSAdd } from "@appsmith/pages/Editor/IDE/EditorPane/JS/hooks"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { useJSAdd } from "ee/pages/Editor/IDE/EditorPane/JS/hooks"; import { EmptyState } from "../components/EmptyState"; const BlankState: React.FC = () => { diff --git a/app/client/src/pages/Editor/IDE/EditorPane/JS/Editor.tsx b/app/client/src/pages/Editor/IDE/EditorPane/JS/Editor.tsx index 11981cca38d6..a8dca21c0b54 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/JS/Editor.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/JS/Editor.tsx @@ -1,7 +1,7 @@ import React from "react"; import { Switch, useRouteMatch } from "react-router"; -import { useJSEditorRoutes } from "@appsmith/pages/Editor/IDE/EditorPane/JS/hooks"; -import { SentryRoute } from "@appsmith/AppRouter"; +import { useJSEditorRoutes } from "ee/pages/Editor/IDE/EditorPane/JS/hooks"; +import { SentryRoute } from "ee/AppRouter"; const JSEditorPane = () => { const { path } = useRouteMatch(); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/JS/Explorer.tsx b/app/client/src/pages/Editor/IDE/EditorPane/JS/Explorer.tsx index 35fb15a2b8ca..cdce0738f628 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/JS/Explorer.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/JS/Explorer.tsx @@ -2,7 +2,7 @@ import React from "react"; import List from "./List"; import { useSelector } from "react-redux"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; const JSExplorer = () => { const ideViewMode = useSelector(getIDEViewMode); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/JS/JSRender.test.tsx b/app/client/src/pages/Editor/IDE/EditorPane/JS/JSRender.test.tsx index 5f4ac0f6c569..e91660b4ecf4 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/JS/JSRender.test.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/JS/JSRender.test.tsx @@ -1,15 +1,12 @@ import localStorage from "utils/localStorage"; import { render } from "test/testUtils"; import { Route } from "react-router-dom"; -import { BUILDER_PATH } from "@appsmith/constants/routes/appRoutes"; +import { BUILDER_PATH } from "ee/constants/routes/appRoutes"; import IDE from "pages/Editor/IDE/index"; import React from "react"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; import { getIDETestState } from "test/factories/AppIDEFactoryUtils"; -import { - EditorEntityTab, - EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +import { EditorEntityTab, EditorViewMode } from "ee/entities/IDE/constants"; import { PageFactory } from "test/factories/PageFactory"; import { JSObjectFactory } from "test/factories/Actions/JSObject"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx b/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx index f052c9691ada..ed048d4446fc 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/JS/List.tsx @@ -1,28 +1,28 @@ import React, { useState } from "react"; import { useSelector } from "react-redux"; -import { Flex, Text } from "design-system"; +import { Flex, Text } from "@appsmith/ads"; import styled from "styled-components"; -import type { EditorSegmentList } from "@appsmith/selectors/appIDESelectors"; -import { selectJSSegmentEditorList } from "@appsmith/selectors/appIDESelectors"; -import { useActiveActionBaseId } from "@appsmith/pages/Editor/Explorer/hooks"; +import type { EditorSegmentList } from "ee/selectors/appIDESelectors"; +import { selectJSSegmentEditorList } from "ee/selectors/appIDESelectors"; +import { useActiveActionBaseId } from "ee/pages/Editor/Explorer/hooks"; import { getCurrentApplicationId, getCurrentPageId, getPagePermissions, } from "selectors/editorSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { ActionParentEntityType } from "@appsmith/entities/Engine/actionHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { ActionParentEntityType } from "ee/entities/Engine/actionHelpers"; import { FilesContextProvider } from "pages/Editor/Explorer/Files/FilesContextProvider"; -import { useJSAdd } from "@appsmith/pages/Editor/IDE/EditorPane/JS/hooks"; -import { JSListItem } from "@appsmith/pages/Editor/IDE/EditorPane/JS/ListItem"; +import { useJSAdd } from "ee/pages/Editor/IDE/EditorPane/JS/hooks"; +import { JSListItem } from "ee/pages/Editor/IDE/EditorPane/JS/ListItem"; import { BlankState } from "./BlankState"; import { AddAndSearchbar } from "../components/AddAndSearchbar"; import { fuzzySearchInObjectItems } from "../utils"; import { EmptySearchResult } from "../components/EmptySearchResult"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; const JSContainer = styled(Flex)` & .t--entity-item { diff --git a/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx b/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx index 117381cd764d..9af6c1c5730f 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx @@ -1,25 +1,25 @@ import React, { useCallback, useMemo, useState } from "react"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { useLocation } from "react-router"; -import { selectAllPages } from "@appsmith/selectors/entitiesSelector"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import { getHasCreatePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { selectAllPages } from "ee/selectors/entitiesSelector"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import { getHasCreatePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import { EntityClassNames } from "pages/Editor/Explorer/Entity"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import type { AppState } from "@appsmith/reducers"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import type { AppState } from "ee/reducers"; import { createNewPageFromEntities } from "actions/pageActions"; import AddPageContextMenu from "pages/Editor/Explorer/Pages/AddPageContextMenu"; import { getNextEntityName } from "utils/AppsmithUtils"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { getInstanceId } from "@appsmith/selectors/tenantSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; +import { getInstanceId } from "ee/selectors/tenantSelectors"; import { PageElement } from "pages/Editor/IDE/EditorPane/components/PageElement"; import { IDEHeaderDropdown } from "IDE"; -import { PAGE_ENTITY_NAME } from "@appsmith/constants/messages"; +import { PAGE_ENTITY_NAME } from "ee/constants/messages"; const PagesSection = ({ onItemSelected }: { onItemSelected: () => void }) => { const dispatch = useDispatch(); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Query/Add.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Query/Add.tsx index ecd29cb2210b..60d2051c526f 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Query/Add.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Query/Add.tsx @@ -1,21 +1,21 @@ import React, { useState } from "react"; -import { Flex, SearchInput } from "design-system"; +import { Flex, SearchInput } from "@appsmith/ads"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; import SegmentAddHeader from "../components/SegmentAddHeader"; import GroupedList from "../components/GroupedList"; import { useAddQueryListItems, useGroupedAddQueryOperations, useQueryAdd, -} from "@appsmith/pages/Editor/IDE/EditorPane/Query/hooks"; +} from "ee/pages/Editor/IDE/EditorPane/Query/hooks"; import { fuzzySearchInObjectItems } from "../utils"; import type { GroupedListProps } from "../components/types"; import { EmptySearchResult } from "../components/EmptySearchResult"; import { useSelector } from "react-redux"; import { getIDEViewMode } from "selectors/ideSelectors"; -import type { FlexProps } from "design-system"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import type { FlexProps } from "@appsmith/ads"; +import { EditorViewMode } from "ee/entities/IDE/constants"; const AddQuery = () => { const [searchTerm, setSearchTerm] = useState(""); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Query/BlankState.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Query/BlankState.tsx index 6ec37d505762..06fff7e028a5 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Query/BlankState.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Query/BlankState.tsx @@ -1,13 +1,13 @@ import React from "react"; import { useSelector } from "react-redux"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { getPagePermissions } from "selectors/editorSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { EmptyState } from "../components/EmptyState"; -import { useQueryAdd } from "@appsmith/pages/Editor/IDE/EditorPane/Query/hooks"; +import { useQueryAdd } from "ee/pages/Editor/IDE/EditorPane/Query/hooks"; const BlankState: React.FC = () => { const pagePermissions = useSelector(getPagePermissions); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Query/Editor.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Query/Editor.tsx index 2616c75e89e8..8ae12e7f3661 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Query/Editor.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Query/Editor.tsx @@ -1,8 +1,8 @@ import React from "react"; import { useRouteMatch } from "react-router"; import { Switch } from "react-router-dom"; -import { useQueryEditorRoutes } from "@appsmith/pages/Editor/IDE/EditorPane/Query/hooks"; -import { SentryRoute } from "@appsmith/AppRouter"; +import { useQueryEditorRoutes } from "ee/pages/Editor/IDE/EditorPane/Query/hooks"; +import { SentryRoute } from "ee/AppRouter"; const QueryEditor = () => { const { path } = useRouteMatch(); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Query/Explorer.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Query/Explorer.tsx index f49e8f696a19..72b03a12bcac 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Query/Explorer.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Query/Explorer.tsx @@ -1,10 +1,10 @@ import React from "react"; import List from "./List"; import styled from "styled-components"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { useSelector } from "react-redux"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; const QueriesContainer = styled(Flex)` & .t--entity-item { diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx index e6d5a5c8af92..edbbcbd71cbd 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Query/List.tsx @@ -1,28 +1,28 @@ import React, { useState } from "react"; -import { Flex, Text } from "design-system"; +import { Flex, Text } from "@appsmith/ads"; import { useSelector } from "react-redux"; -import { getHasCreateActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { useActiveActionBaseId } from "@appsmith/pages/Editor/Explorer/hooks"; +import { getHasCreateActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { useActiveActionBaseId } from "ee/pages/Editor/Explorer/hooks"; import { getCurrentApplicationId, getCurrentPageId, getPagePermissions, } from "selectors/editorSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import type { EditorSegmentList } from "@appsmith/selectors/appIDESelectors"; -import { selectQuerySegmentEditorList } from "@appsmith/selectors/appIDESelectors"; -import { ActionParentEntityType } from "@appsmith/entities/Engine/actionHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import type { EditorSegmentList } from "ee/selectors/appIDESelectors"; +import { selectQuerySegmentEditorList } from "ee/selectors/appIDESelectors"; +import { ActionParentEntityType } from "ee/entities/Engine/actionHelpers"; import { FilesContextProvider } from "pages/Editor/Explorer/Files/FilesContextProvider"; -import { useQueryAdd } from "@appsmith/pages/Editor/IDE/EditorPane/Query/hooks"; -import { QueryListItem } from "@appsmith/pages/Editor/IDE/EditorPane/Query/ListItem"; -import { getShowWorkflowFeature } from "@appsmith/selectors/workflowSelectors"; +import { useQueryAdd } from "ee/pages/Editor/IDE/EditorPane/Query/hooks"; +import { QueryListItem } from "ee/pages/Editor/IDE/EditorPane/Query/ListItem"; +import { getShowWorkflowFeature } from "ee/selectors/workflowSelectors"; import { BlankState } from "./BlankState"; import { AddAndSearchbar } from "../components/AddAndSearchbar"; import { fuzzySearchInObjectItems } from "../utils"; import { EmptySearchResult } from "../components/EmptySearchResult"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; const ListQuery = () => { const [searchTerm, setSearchTerm] = useState(""); diff --git a/app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx b/app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx index 4cd5472d36b1..6b3252f5c62d 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/Query/QueryRender.test.tsx @@ -2,12 +2,9 @@ import React from "react"; import { Route } from "react-router-dom"; import { render } from "test/testUtils"; import IDE from "pages/Editor/IDE/index"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; -import { BUILDER_PATH } from "@appsmith/constants/routes/appRoutes"; -import { - EditorEntityTab, - EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; +import { BUILDER_PATH } from "ee/constants/routes/appRoutes"; +import { EditorEntityTab, EditorViewMode } from "ee/entities/IDE/constants"; import { APIFactory } from "test/factories/Actions/API"; import localStorage from "utils/localStorage"; import { PostgresFactory } from "test/factories/Actions/Postgres"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/UI/Add.tsx b/app/client/src/pages/Editor/IDE/EditorPane/UI/Add.tsx index 24cfe3e43870..6b37d8c40638 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/UI/Add.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/UI/Add.tsx @@ -1,12 +1,12 @@ import React, { useCallback } from "react"; -import { Button, Flex, Text } from "design-system"; +import { Button, Flex, Text } from "@appsmith/ads"; import { useSelector } from "react-redux"; import styled from "styled-components"; import history from "utils/history"; import UIEntitySidebar from "pages/Editor/widgetSidebar/UIEntitySidebar"; -import { widgetListURL } from "@appsmith/RouteBuilder"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { widgetListURL } from "ee/RouteBuilder"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; import { getCurrentBasePageId } from "selectors/editorSelectors"; const Container = styled(Flex)` diff --git a/app/client/src/pages/Editor/IDE/EditorPane/UI/List.tsx b/app/client/src/pages/Editor/IDE/EditorPane/UI/List.tsx index 07e0fd87b383..c54f15a40169 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/UI/List.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/UI/List.tsx @@ -1,20 +1,20 @@ import React, { useCallback, useEffect, useMemo } from "react"; -import { Button, Flex } from "design-system"; +import { Button, Flex } from "@appsmith/ads"; import WidgetEntity from "pages/Editor/Explorer/Widgets/WidgetEntity"; import { useSelector } from "react-redux"; -import { selectWidgetsForCurrentPage } from "@appsmith/selectors/entitiesSelector"; +import { selectWidgetsForCurrentPage } from "ee/selectors/entitiesSelector"; import { getCurrentBasePageId, getPagePermissions, } from "selectors/editorSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; import { EmptyState } from "../components/EmptyState"; import history from "utils/history"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import styled from "styled-components"; const ListContainer = styled(Flex)` diff --git a/app/client/src/pages/Editor/IDE/EditorPane/UI/UIRender.test.tsx b/app/client/src/pages/Editor/IDE/EditorPane/UI/UIRender.test.tsx index f581a2904d1c..5c6543627372 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/UI/UIRender.test.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/UI/UIRender.test.tsx @@ -2,16 +2,16 @@ import React from "react"; import { Route } from "react-router-dom"; import { render } from "test/testUtils"; import IDE from "pages/Editor/IDE/index"; -import { BUILDER_PATH } from "@appsmith/constants/routes/appRoutes"; +import { BUILDER_PATH } from "ee/constants/routes/appRoutes"; import { getIDETestState } from "test/factories/AppIDEFactoryUtils"; import { PageFactory } from "test/factories/PageFactory"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; import { UpdatedEditor } from "test/testMockedWidgets"; import { buildChildren, widgetCanvasFactory, } from "test/factories/WidgetFactoryUtils"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; const FeatureFlags = { rollout_side_by_side_enabled: true, diff --git a/app/client/src/pages/Editor/IDE/EditorPane/UI/index.tsx b/app/client/src/pages/Editor/IDE/EditorPane/UI/index.tsx index dc864002d9d6..32ac9bc52407 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/UI/index.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/UI/index.tsx @@ -1,8 +1,8 @@ import React from "react"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { Switch, useRouteMatch } from "react-router"; -import { SentryRoute } from "@appsmith/AppRouter"; +import { SentryRoute } from "ee/AppRouter"; import { ADD_PATH, BUILDER_CUSTOM_PATH, @@ -16,8 +16,8 @@ import AddWidgets from "./Add"; import { useSelector } from "react-redux"; import { getPagePermissions } from "selectors/editorSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { DEFAULT_EXPLORER_PANE_WIDTH } from "constants/AppConstants"; const UISegment = () => { diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/ActionEditor.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/ActionEditor.tsx index 4c87893b475b..e8335837bbae 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/ActionEditor.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/ActionEditor.tsx @@ -1,4 +1,4 @@ -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import React, { useCallback, useState } from "react"; import ActionToolbar from "./ActionToolbar"; import ActionDrawer from "./ActionDrawer"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/ActionToolbar.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/ActionToolbar.tsx index 02fdad03aefa..3d2be46ca6b7 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/ActionToolbar.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/ActionToolbar.tsx @@ -1,12 +1,9 @@ -import { Button, Flex, Tooltip } from "design-system"; +import { Button, Flex, Tooltip } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { - createMessage, - DOCUMENTATION_TOOLTIP, -} from "@appsmith/constants/messages"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { createMessage, DOCUMENTATION_TOOLTIP } from "ee/constants/messages"; const MutedText = styled.span` opacity: 70%; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/AddAndSearchbar.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/AddAndSearchbar.tsx index 4e1bb222823f..690c60808859 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/AddAndSearchbar.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/AddAndSearchbar.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Flex, Button, SearchInput } from "design-system"; +import { Flex, Button, SearchInput } from "@appsmith/ads"; interface Props { onAddClick: () => void; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/Announcement.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/Announcement.tsx index 2abed2cf9eea..354a70a481a0 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/Announcement.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/Announcement.tsx @@ -1,11 +1,8 @@ import React, { useState } from "react"; -import { AnnouncementModal, Button } from "design-system"; +import { AnnouncementModal, Button } from "@appsmith/ads"; import localStorage, { LOCAL_STORAGE_KEYS } from "utils/localStorage"; -import { - SPLITPANE_ANNOUNCEMENT, - createMessage, -} from "@appsmith/constants/messages"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { SPLITPANE_ANNOUNCEMENT, createMessage } from "ee/constants/messages"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; const Announcement = () => { diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/EmptySearchResult.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/EmptySearchResult.tsx index 6407ea6e30b0..007aee2e1444 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/EmptySearchResult.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/EmptySearchResult.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { Text } from "design-system"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { Text } from "@appsmith/ads"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; const EmptySearchResult = ({ type }: { type: string }) => { return ( diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/EmptyState.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/EmptyState.tsx index 778eaf321759..8347215b9383 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/EmptyState.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/EmptyState.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Button, Flex, Text, Icon } from "design-system"; +import { Button, Flex, Text, Icon } from "@appsmith/ads"; interface EmptyStateProps { icon: string; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/Group.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/Group.tsx index 571e5b447f7f..b308b279554c 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/Group.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/Group.tsx @@ -1,7 +1,7 @@ import React, { useMemo, useState } from "react"; import type { GroupedListProps } from "./types"; import { DEFAULT_GROUP_LIST_SIZE } from "./constants"; -import { Flex, List, Text } from "design-system"; +import { Flex, List, Text } from "@appsmith/ads"; import styled from "styled-components"; interface GroupProps { diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/GroupedList.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/GroupedList.tsx index 960b2459613c..1436f378d547 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/GroupedList.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/GroupedList.tsx @@ -1,6 +1,6 @@ import React from "react"; -import type { FlexProps } from "design-system"; -import { Flex } from "design-system"; +import type { FlexProps } from "@appsmith/ads"; +import { Flex } from "@appsmith/ads"; import styled from "styled-components"; import type { GroupedListProps } from "./types"; import { Group } from "./Group"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/MinimalTab.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/MinimalTab.tsx index 99daf4303592..897508925f2d 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/MinimalTab.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/MinimalTab.tsx @@ -1,6 +1,6 @@ import React from "react"; -import type { FlexProps } from "design-system"; -import { Flex } from "design-system"; +import type { FlexProps } from "@appsmith/ads"; +import { Flex } from "@appsmith/ads"; const MinimalTab = ({ children, ...rest }: FlexProps) => { return ( diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/PageElement.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/PageElement.tsx index 622983d945d6..3d7caec86858 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/PageElement.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/PageElement.tsx @@ -2,28 +2,25 @@ import React, { useCallback, useEffect, useRef } from "react"; import { useDispatch, useSelector } from "react-redux"; import { useLocation } from "react-router"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; import { defaultPageIcon, pageIcon } from "pages/Editor/Explorer/ExplorerIcons"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import PageContextMenu from "pages/Editor/Explorer/Pages/PageContextMenu"; import { getCurrentApplicationId, getCurrentPageId, } from "selectors/editorSelectors"; import { EntityClassNames } from "pages/Editor/Explorer/Entity"; -import { - PERMISSION_TYPE, - isPermitted, -} from "@appsmith/utils/permissionHelpers"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import type { AppState } from "@appsmith/reducers"; +import { PERMISSION_TYPE, isPermitted } from "ee/utils/permissionHelpers"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import type { AppState } from "ee/reducers"; import { StyledEntity } from "pages/Editor/Explorer/Common/components"; import { toValidPageName } from "utils/helpers"; import { updatePageAction } from "actions/pageActions"; import { useGetPageFocusUrl } from "pages/Editor/IDE/hooks"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { toggleInOnboardingWidgetSelection } from "actions/onboardingActions"; import history, { NavigationMethod } from "utils/history"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentAddHeader.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentAddHeader.tsx index c33dfe8bdaef..42d42848d4c4 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentAddHeader.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentAddHeader.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { Button, Flex, Text } from "design-system"; -import { createMessage } from "@appsmith/constants/messages"; +import { Button, Flex, Text } from "@appsmith/ads"; +import { createMessage } from "ee/constants/messages"; import { useSelector } from "react-redux"; import { getIsSideBySideEnabled } from "selectors/ideSelectors"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentedHeader.tsx b/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentedHeader.tsx index d513cb264a32..0d0154a11930 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentedHeader.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/SegmentedHeader.tsx @@ -1,14 +1,14 @@ import React from "react"; -import { Button, Flex, SegmentedControl } from "design-system"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; -import { EditorEntityTab } from "@appsmith/entities/IDE/constants"; +import { Button, Flex, SegmentedControl } from "@appsmith/ads"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; +import { EditorEntityTab } from "ee/entities/IDE/constants"; import history from "utils/history"; -import { globalAddURL } from "@appsmith/RouteBuilder"; +import { globalAddURL } from "ee/RouteBuilder"; import { useSelector } from "react-redux"; import { useCurrentEditorState, useSegmentNavigation } from "../../hooks"; import styled from "styled-components"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getCurrentBasePageId } from "selectors/editorSelectors"; const Container = styled(Flex)` diff --git a/app/client/src/pages/Editor/IDE/EditorPane/components/types.ts b/app/client/src/pages/Editor/IDE/EditorPane/components/types.ts index 2ad6e33c0993..f31eb1151b97 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/components/types.ts +++ b/app/client/src/pages/Editor/IDE/EditorPane/components/types.ts @@ -1,4 +1,4 @@ -import type { ListItemProps } from "design-system"; +import type { ListItemProps } from "@appsmith/ads"; export interface GroupedListProps { groupTitle?: string; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/fuzzySearchInFiles.test.ts b/app/client/src/pages/Editor/IDE/EditorPane/fuzzySearchInFiles.test.ts index 458e9e188ace..eabcb545118d 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/fuzzySearchInFiles.test.ts +++ b/app/client/src/pages/Editor/IDE/EditorPane/fuzzySearchInFiles.test.ts @@ -1,4 +1,4 @@ -import type { EditorSegmentList } from "@appsmith/selectors/appIDESelectors"; +import type { EditorSegmentList } from "ee/selectors/appIDESelectors"; import { fuzzySearchInObjectItems } from "./utils"; import { PluginType } from "entities/Action"; diff --git a/app/client/src/pages/Editor/IDE/EditorPane/index.tsx b/app/client/src/pages/Editor/IDE/EditorPane/index.tsx index 5be6cae2b43f..7f6abf5b100d 100644 --- a/app/client/src/pages/Editor/IDE/EditorPane/index.tsx +++ b/app/client/src/pages/Editor/IDE/EditorPane/index.tsx @@ -1,11 +1,11 @@ import React from "react"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { useEditorPaneWidth } from "../hooks"; import EditorPaneExplorer from "./Explorer"; import Editor from "./Editor"; import { useSelector } from "react-redux"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; const EditorPane = () => { const width = useEditorPaneWidth(); @@ -25,7 +25,6 @@ const EditorPane = () => { // @ts-expect-error Fix this the next time the file is edited gap="spacing-2" height="100%" - overflow="hidden" width={width} > diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/AddButton.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/AddButton.tsx index b79340e5d6d7..ad12ea776e02 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/AddButton.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/AddButton.tsx @@ -1,8 +1,8 @@ import React from "react"; -import { Flex, Spinner, Button } from "design-system"; +import { Flex, Spinner, Button } from "@appsmith/ads"; import { useCurrentEditorState, useIDETabClickHandlers } from "../hooks"; -import { useIsJSAddLoading } from "@appsmith/pages/Editor/IDE/EditorPane/JS/hooks"; -import { EditorEntityTabState } from "@appsmith/entities/IDE/constants"; +import { useIsJSAddLoading } from "ee/pages/Editor/IDE/EditorPane/JS/hooks"; +import { EditorEntityTabState } from "ee/entities/IDE/constants"; const AddButton = () => { const { addClickHandler } = useIDETabClickHandlers(); diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/AddTab.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/AddTab.tsx index f5d3564a88bb..bd961e01fd12 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/AddTab.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/AddTab.tsx @@ -5,7 +5,7 @@ import { useCurrentEditorState } from "../hooks"; import { EditorEntityTab, EditorEntityTabState, -} from "@appsmith/entities/IDE/constants"; +} from "ee/entities/IDE/constants"; const AddTab = ({ isListActive, diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx index c02710d2e085..eaeaffa32e51 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx @@ -1,6 +1,6 @@ import type { ReactNode } from "react"; import React from "react"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { EDITOR_TABS_HEIGHT } from "../EditorPane/constants"; const Container = (props: { children: ReactNode }) => { diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/Editortabs.test.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/Editortabs.test.tsx index 2982a4748978..e95d7dc0c378 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/Editortabs.test.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/Editortabs.test.tsx @@ -2,16 +2,13 @@ import React from "react"; import { fireEvent, render } from "test/testUtils"; import EditorTabs from "."; import { getIDETestState } from "test/factories/AppIDEFactoryUtils"; -import { - EditorEntityTab, - EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +import { EditorEntityTab, EditorViewMode } from "ee/entities/IDE/constants"; import { Route } from "react-router-dom"; -import { BUILDER_PATH } from "@appsmith/constants/routes/appRoutes"; +import { BUILDER_PATH } from "ee/constants/routes/appRoutes"; import "@testing-library/jest-dom"; import { PageFactory } from "test/factories/PageFactory"; import { APIFactory } from "test/factories/Actions/API"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; const FeatureFlags = { rollout_side_by_side_enabled: true, diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.test.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.test.tsx index be5f41c683ac..36e8969b2097 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.test.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.test.tsx @@ -1,7 +1,7 @@ import React from "react"; import { fireEvent, render } from "test/testUtils"; import FileTabs from "./FileTabs"; -import { EditorState, type EntityItem } from "@appsmith/entities/IDE/constants"; +import { EditorState, type EntityItem } from "ee/entities/IDE/constants"; import { PluginType } from "entities/Action"; import { FocusEntity } from "navigation/FocusEntity"; import { sanitizeString } from "utils/URLUtils"; diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx index 215ccca50c17..3d46bfba35df 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx @@ -3,7 +3,7 @@ import React from "react"; import { EditorEntityTabState, type EntityItem, -} from "@appsmith/entities/IDE/constants"; +} from "ee/entities/IDE/constants"; import { useCurrentEditorState } from "../hooks"; import { FileTab } from "IDE/Components/FileTab"; import type { FocusEntityInfo } from "navigation/FocusEntity"; diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/List.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/List.tsx index 21ab32804f14..0884b47f778b 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/List.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/List.tsx @@ -1,9 +1,9 @@ import React from "react"; import styled from "styled-components"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { useCurrentEditorState } from "../hooks"; -import { EditorEntityTab } from "@appsmith/entities/IDE/constants"; +import { EditorEntityTab } from "ee/entities/IDE/constants"; import ListQuery from "../EditorPane/Query/List"; import ListJSObjects from "../EditorPane/JS/List"; diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/ListButton.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/ListButton.tsx index 1f6abf2f6a68..35c648dbc570 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/ListButton.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/ListButton.tsx @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { Button, Flex, @@ -8,7 +8,7 @@ import { MenuItem, MenuTrigger, Text, -} from "design-system"; +} from "@appsmith/ads"; import { ListIconContainer, ListTitle } from "./StyledComponents"; interface Props { diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/ScreenModeToggle.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/ScreenModeToggle.tsx index 2178306ec52b..7d89cc652fba 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/ScreenModeToggle.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/ScreenModeToggle.tsx @@ -1,15 +1,15 @@ import React, { useCallback } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { Button, Tooltip } from "design-system"; +import { Button, Tooltip } from "@appsmith/ads"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { EditorViewMode } from "ee/entities/IDE/constants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { MAXIMIZE_BUTTON_TOOLTIP, MINIMIZE_BUTTON_TOOLTIP, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { setIdeEditorViewMode } from "actions/ideActions"; export const ScreenModeToggle = () => { diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/constants.ts b/app/client/src/pages/Editor/IDE/EditorTabs/constants.ts index 266ad0fdcf79..69720db02512 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/constants.ts +++ b/app/client/src/pages/Editor/IDE/EditorTabs/constants.ts @@ -1,16 +1,16 @@ -import type { EntityItem } from "@appsmith/entities/IDE/constants"; -import { EditorEntityTab } from "@appsmith/entities/IDE/constants"; -import type { AppState } from "@appsmith/reducers"; +import type { EntityItem } from "ee/entities/IDE/constants"; +import { EditorEntityTab } from "ee/entities/IDE/constants"; +import type { AppState } from "ee/reducers"; import { selectJSSegmentEditorTabs, selectQuerySegmentEditorTabs, -} from "@appsmith/selectors/appIDESelectors"; +} from "ee/selectors/appIDESelectors"; import { getJSSegmentItems, getQuerySegmentItems, -} from "@appsmith/selectors/entitiesSelector"; -import { getJSEntityItemUrl } from "@appsmith/pages/Editor/IDE/EditorPane/JS/utils"; -import { getQueryEntityItemUrl } from "@appsmith/pages/Editor/IDE/EditorPane/Query/utils"; +} from "ee/selectors/entitiesSelector"; +import { getJSEntityItemUrl } from "ee/pages/Editor/IDE/EditorPane/JS/utils"; +import { getQueryEntityItemUrl } from "ee/pages/Editor/IDE/EditorPane/Query/utils"; export const TabSelectors: Record< EditorEntityTab, diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/index.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/index.tsx index b8f91f10ae2e..9024d599a40c 100644 --- a/app/client/src/pages/Editor/IDE/EditorTabs/index.tsx +++ b/app/client/src/pages/Editor/IDE/EditorTabs/index.tsx @@ -1,13 +1,13 @@ import React, { useEffect, useState } from "react"; import { shallowEqual, useSelector } from "react-redux"; -import { Flex, ScrollArea, ToggleButton } from "design-system"; +import { Flex, ScrollArea, ToggleButton } from "@appsmith/ads"; import { getIDEViewMode, getIsSideBySideEnabled } from "selectors/ideSelectors"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { EditorEntityTab, EditorEntityTabState, EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +} from "ee/entities/IDE/constants"; import FileTabs from "./FileTabs"; import Container from "./Container"; import { useCurrentEditorState, useIDETabClickHandlers } from "../hooks"; diff --git a/app/client/src/pages/Editor/IDE/Header/EditorTitle.tsx b/app/client/src/pages/Editor/IDE/Header/EditorTitle.tsx index 9ab9ea6a5cbd..47ef1030766c 100644 --- a/app/client/src/pages/Editor/IDE/Header/EditorTitle.tsx +++ b/app/client/src/pages/Editor/IDE/Header/EditorTitle.tsx @@ -1,7 +1,7 @@ import React, { useState } from "react"; -import { Popover, PopoverTrigger, PopoverContent } from "design-system"; +import { Popover, PopoverTrigger, PopoverContent } from "@appsmith/ads"; -import { createMessage, HEADER_TITLES } from "@appsmith/constants/messages"; +import { createMessage, HEADER_TITLES } from "ee/constants/messages"; import { PagesSection } from "../EditorPane/PagesSection"; import { IDEHeaderEditorSwitcher } from "IDE"; diff --git a/app/client/src/pages/Editor/IDE/Header/index.tsx b/app/client/src/pages/Editor/IDE/Header/index.tsx index 35d22d641423..f05e8fcc40cd 100644 --- a/app/client/src/pages/Editor/IDE/Header/index.tsx +++ b/app/client/src/pages/Editor/IDE/Header/index.tsx @@ -13,9 +13,9 @@ import { TabPanel, Button, Link, -} from "design-system"; +} from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; -import { EditInteractionKind, SavingState } from "design-system-old"; +import { EditInteractionKind, SavingState } from "@appsmith/ads-old"; import styled from "styled-components"; import { @@ -27,7 +27,7 @@ import { IN_APP_EMBED_SETTING, INVITE_TAB, HEADER_TITLES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import EditorName from "pages/Editor/EditorName"; import { getCurrentApplicationId, @@ -42,38 +42,38 @@ import { getCurrentApplication, getIsErroredSavingAppName, getIsSavingAppName, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { publishApplication, updateApplication, -} from "@appsmith/actions/applicationActions"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/actions/applicationActions"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { Omnibar } from "pages/Editor/commons/Omnibar"; import ToggleModeButton from "pages/Editor/ToggleModeButton"; import { EditorShareButton } from "pages/Editor/EditorShareButton"; import AppInviteUsersForm from "pages/workspace/AppInviteUsersForm"; -import { getEmbedSnippetForm } from "@appsmith/utils/BusinessFeatures/privateEmbedHelpers"; +import { getEmbedSnippetForm } from "ee/utils/BusinessFeatures/privateEmbedHelpers"; import CommunityTemplatesPublishInfo from "pages/Editor/CommunityTemplates/Modals/CommunityTemplatesPublishInfo"; import PublishCommunityTemplateModal from "pages/Editor/CommunityTemplates/Modals/PublishCommunityTemplate"; import DeployLinkButtonDialog from "components/designSystems/appsmith/header/DeployLinkButton"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getAppsmithConfigs } from "ee/configs"; import { getIsGitConnected, protectedModeSelector, } from "selectors/gitSyncSelectors"; import { showConnectGitModal } from "actions/gitSyncActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { NavigationSetting } from "constants/AppConstants"; import { useHref } from "pages/Editor/utils"; -import { viewerURL } from "@appsmith/RouteBuilder"; +import { viewerURL } from "ee/RouteBuilder"; import HelpBar from "components/editorComponents/GlobalSearch/HelpBar"; import { EditorTitle } from "./EditorTitle"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; import { EditorSaveIndicator } from "pages/Editor/EditorSaveIndicator"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; import { IDEHeader, IDEHeaderTitle } from "IDE"; import { APPLICATIONS_URL } from "constants/routes"; import { useNavigationMenuData } from "../../EditorName/useNavigationMenuData"; diff --git a/app/client/src/pages/Editor/IDE/LeftPane/AddLibraryPopover.tsx b/app/client/src/pages/Editor/IDE/LeftPane/AddLibraryPopover.tsx index 29757d3f373c..078db43ce320 100644 --- a/app/client/src/pages/Editor/IDE/LeftPane/AddLibraryPopover.tsx +++ b/app/client/src/pages/Editor/IDE/LeftPane/AddLibraryPopover.tsx @@ -5,12 +5,9 @@ import { PopoverContent, PopoverHeader, PopoverTrigger, -} from "design-system"; +} from "@appsmith/ads"; import React, { useCallback, useState } from "react"; -import { - createMessage, - customJSLibraryMessages, -} from "@appsmith/constants/messages"; +import { createMessage, customJSLibraryMessages } from "ee/constants/messages"; import { Installer } from "../../Explorer/Libraries/Installer"; import { clearInstalls } from "actions/JSLibraryActions"; import { useDispatch } from "react-redux"; diff --git a/app/client/src/pages/Editor/IDE/LeftPane/CreateDatasourcePopover.tsx b/app/client/src/pages/Editor/IDE/LeftPane/CreateDatasourcePopover.tsx index f43de2ffd9cb..00ccf0289eae 100644 --- a/app/client/src/pages/Editor/IDE/LeftPane/CreateDatasourcePopover.tsx +++ b/app/client/src/pages/Editor/IDE/LeftPane/CreateDatasourcePopover.tsx @@ -1,13 +1,13 @@ -import { Button, Popover, PopoverTrigger } from "design-system"; +import { Button, Popover, PopoverTrigger } from "@appsmith/ads"; import React from "react"; import history from "utils/history"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import type { AppState } from "ee/reducers"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasCreateDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasCreateDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; const CreateDatasourcePopover = () => { const userWorkspacePermissions = useSelector( diff --git a/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.test.tsx b/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.test.tsx index 9b687fa2bd06..c13e1d60e0b4 100644 --- a/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.test.tsx +++ b/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.test.tsx @@ -5,7 +5,7 @@ import DataSidePane from "./DataSidePane"; import { datasourceFactory } from "test/factories/DatasourceFactory"; import { getIDETestState } from "test/factories/AppIDEFactoryUtils"; import { PostgresFactory } from "test/factories/Actions/Postgres"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { render } from "test/testUtils"; const productsDS = datasourceFactory().build({ diff --git a/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.tsx b/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.tsx index d5d4d796aadb..5dfef259d90a 100644 --- a/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.tsx +++ b/app/client/src/pages/Editor/IDE/LeftPane/DataSidePane.tsx @@ -1,19 +1,16 @@ import React, { useCallback, useEffect, useState } from "react"; import styled from "styled-components"; -import { Flex, List, Text } from "design-system"; +import { Flex, List, Text } from "@appsmith/ads"; import { useSelector } from "react-redux"; import { getDatasourceUsageCountForApp, getDatasources, getDatasourcesGroupedByPluginCategory, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import history from "utils/history"; -import { - datasourcesEditorIdURL, - integrationEditorURL, -} from "@appsmith/RouteBuilder"; -import { getSelectedDatasourceId } from "@appsmith/navigation/FocusSelectors"; +import { datasourcesEditorIdURL, integrationEditorURL } from "ee/RouteBuilder"; +import { getSelectedDatasourceId } from "ee/navigation/FocusSelectors"; import { get, keyBy } from "lodash"; import CreateDatasourcePopover from "./CreateDatasourcePopover"; import { useLocation } from "react-router"; @@ -21,17 +18,17 @@ import { createMessage, DATA_PANE_TITLE, DATASOURCE_LIST_BLANK_DESCRIPTION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import PaneHeader from "./PaneHeader"; -import { useEditorType } from "@appsmith/hooks"; +import { useEditorType } from "ee/hooks"; import { INTEGRATION_TABS } from "../../../../constants/routes"; -import type { AppState } from "@appsmith/reducers"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import type { AppState } from "ee/reducers"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasCreateDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasCreateDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { EmptyState } from "../EditorPane/components/EmptyState"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { getCurrentBasePageId } from "selectors/editorSelectors"; const PaneBody = styled.div` diff --git a/app/client/src/pages/Editor/IDE/LeftPane/LibrarySidePane.tsx b/app/client/src/pages/Editor/IDE/LeftPane/LibrarySidePane.tsx index e42d8980b9cb..55724e8700cf 100644 --- a/app/client/src/pages/Editor/IDE/LeftPane/LibrarySidePane.tsx +++ b/app/client/src/pages/Editor/IDE/LeftPane/LibrarySidePane.tsx @@ -2,10 +2,10 @@ import React from "react"; import AddLibraryPopover from "./AddLibraryPopover"; import PaneHeader from "./PaneHeader"; import { useSelector } from "react-redux"; -import { selectLibrariesForExplorer } from "@appsmith/selectors/entitiesSelector"; +import { selectLibrariesForExplorer } from "ee/selectors/entitiesSelector"; import { animated, useTransition } from "react-spring"; import { LibraryEntity } from "pages/Editor/Explorer/Libraries"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import { DEFAULT_EXPLORER_PANE_WIDTH } from "constants/AppConstants"; const LibrarySidePane = () => { diff --git a/app/client/src/pages/Editor/IDE/LeftPane/PaneHeader.tsx b/app/client/src/pages/Editor/IDE/LeftPane/PaneHeader.tsx index 34a84f59f1a5..78f27e3fb038 100644 --- a/app/client/src/pages/Editor/IDE/LeftPane/PaneHeader.tsx +++ b/app/client/src/pages/Editor/IDE/LeftPane/PaneHeader.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; interface Props { title: string; diff --git a/app/client/src/pages/Editor/IDE/LeftPane/index.tsx b/app/client/src/pages/Editor/IDE/LeftPane/index.tsx index 308441322c21..1883cfb69d79 100644 --- a/app/client/src/pages/Editor/IDE/LeftPane/index.tsx +++ b/app/client/src/pages/Editor/IDE/LeftPane/index.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import { Switch, useRouteMatch } from "react-router"; -import { SentryRoute } from "@appsmith/AppRouter"; +import { SentryRoute } from "ee/AppRouter"; import { APP_LIBRARIES_EDITOR_PATH, APP_SETTINGS_EDITOR_PATH, diff --git a/app/client/src/pages/Editor/IDE/MainPane/index.tsx b/app/client/src/pages/Editor/IDE/MainPane/index.tsx index 44e761a7e0eb..0576ff10f556 100644 --- a/app/client/src/pages/Editor/IDE/MainPane/index.tsx +++ b/app/client/src/pages/Editor/IDE/MainPane/index.tsx @@ -1,7 +1,7 @@ import React from "react"; import { Route, Switch, useRouteMatch } from "react-router"; import * as Sentry from "@sentry/react"; -import useRoutes from "@appsmith/pages/Editor/IDE/MainPane/useRoutes"; +import useRoutes from "ee/pages/Editor/IDE/MainPane/useRoutes"; import { useWidgetSelectionBlockListener } from "pages/Editor/IDE/hooks"; const SentryRoute = Sentry.withSentryRouting(Route); diff --git a/app/client/src/pages/Editor/IDE/ProtectedCallout.test.tsx b/app/client/src/pages/Editor/IDE/ProtectedCallout.test.tsx index 703742af8a55..5dcc2ddb8a20 100644 --- a/app/client/src/pages/Editor/IDE/ProtectedCallout.test.tsx +++ b/app/client/src/pages/Editor/IDE/ProtectedCallout.test.tsx @@ -6,7 +6,7 @@ import configureStore from "redux-mock-store"; import IDE from "."; import { BrowserRouter } from "react-router-dom"; import "@testing-library/jest-dom"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/app/client/src/pages/Editor/IDE/ProtectedCallout.tsx b/app/client/src/pages/Editor/IDE/ProtectedCallout.tsx index 0b62be854a0b..b890e22ba5cd 100644 --- a/app/client/src/pages/Editor/IDE/ProtectedCallout.tsx +++ b/app/client/src/pages/Editor/IDE/ProtectedCallout.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Callout } from "design-system"; +import { Callout } from "@appsmith/ads"; import styled from "styled-components"; import { useDispatch, useSelector } from "react-redux"; import { @@ -17,7 +17,7 @@ import { BRANCH_PROTECTION_CALLOUT_UNPROTECT, BRANCH_PROTECTION_CALLOUT_UNPROTECT_LOADING, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const StyledCallout = styled(Callout)` height: 70px; diff --git a/app/client/src/pages/Editor/IDE/RightPane/components/CreateNewQueryModal.tsx b/app/client/src/pages/Editor/IDE/RightPane/components/CreateNewQueryModal.tsx index a4f273b7dcd6..08b7b5cc1379 100644 --- a/app/client/src/pages/Editor/IDE/RightPane/components/CreateNewQueryModal.tsx +++ b/app/client/src/pages/Editor/IDE/RightPane/components/CreateNewQueryModal.tsx @@ -1,13 +1,13 @@ import React, { useEffect } from "react"; -import { Modal, ModalContent, ModalHeader, ModalBody } from "design-system"; +import { Modal, ModalContent, ModalHeader, ModalBody } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; -import { CREATE_A_NEW_ITEM, createMessage } from "@appsmith/constants/messages"; +import { CREATE_A_NEW_ITEM, createMessage } from "ee/constants/messages"; import GroupedList from "pages/Editor/IDE/EditorPane/components/GroupedList"; import { useAddQueryListItems, useGroupedAddQueryOperations, -} from "@appsmith/pages/Editor/IDE/EditorPane/Query/hooks"; +} from "ee/pages/Editor/IDE/EditorPane/Query/hooks"; import { getShowCreateNewModal } from "selectors/ideSelectors"; import { setShowQueryCreateNewModal } from "actions/ideActions"; diff --git a/app/client/src/pages/Editor/IDE/RightPane/index.tsx b/app/client/src/pages/Editor/IDE/RightPane/index.tsx index 437fdf8743ad..2e262b10affb 100644 --- a/app/client/src/pages/Editor/IDE/RightPane/index.tsx +++ b/app/client/src/pages/Editor/IDE/RightPane/index.tsx @@ -9,7 +9,7 @@ import { WIDGETS_EDITOR_ID_PATH, } from "constants/routes"; import { useRouteMatch } from "react-router"; -import { SentryRoute } from "@appsmith/AppRouter"; +import { SentryRoute } from "ee/AppRouter"; const RightPane = () => { const { path } = useRouteMatch(); diff --git a/app/client/src/pages/Editor/IDE/Sidebar.tsx b/app/client/src/pages/Editor/IDE/Sidebar.tsx index 9036abd59b02..bef3163e5b92 100644 --- a/app/client/src/pages/Editor/IDE/Sidebar.tsx +++ b/app/client/src/pages/Editor/IDE/Sidebar.tsx @@ -1,22 +1,22 @@ import React, { useCallback, useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import history, { NavigationMethod } from "utils/history"; import { useCurrentAppState } from "./hooks"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { fetchWorkspace } from "@appsmith/actions/workspaceActions"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; +import { fetchWorkspace } from "ee/actions/workspaceActions"; import { IDESidebar, Condition } from "IDE"; import { BottomButtons, EditorState, TopButtons, -} from "@appsmith/entities/IDE/constants"; -import { getDatasources } from "@appsmith/selectors/entitiesSelector"; +} from "ee/entities/IDE/constants"; +import { getDatasources } from "ee/selectors/entitiesSelector"; import { createMessage, EMPTY_DATASOURCE_TOOLTIP_SIDEBUTTON, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; function Sidebar() { const dispatch = useDispatch(); diff --git a/app/client/src/pages/Editor/IDE/hooks.ts b/app/client/src/pages/Editor/IDE/hooks.ts index 0f2e5528e35d..c451965f3441 100644 --- a/app/client/src/pages/Editor/IDE/hooks.ts +++ b/app/client/src/pages/Editor/IDE/hooks.ts @@ -1,11 +1,11 @@ import { useCallback, useEffect, useState } from "react"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; +import type { EntityItem } from "ee/entities/IDE/constants"; import { EditorEntityTab, EditorEntityTabState, EditorState, EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +} from "ee/entities/IDE/constants"; import { useLocation } from "react-router"; import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity"; import { useDispatch, useSelector } from "react-redux"; @@ -17,7 +17,7 @@ import { jsCollectionListURL, queryListURL, widgetListURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { getCurrentFocusInfo } from "selectors/focusHistorySelectors"; import { getCurrentGitBranch } from "selectors/gitSyncSelectors"; import { @@ -27,10 +27,10 @@ import { } from "constants/AppConstants"; import { getIsAltFocusWidget, getWidgetSelectionBlock } from "selectors/ui"; import { altFocusWidget, setWidgetSelectionBlock } from "actions/widgetActions"; -import { useJSAdd } from "@appsmith/pages/Editor/IDE/EditorPane/JS/hooks"; -import { useQueryAdd } from "@appsmith/pages/Editor/IDE/EditorPane/Query/hooks"; +import { useJSAdd } from "ee/pages/Editor/IDE/EditorPane/JS/hooks"; +import { useQueryAdd } from "ee/pages/Editor/IDE/EditorPane/Query/hooks"; import { TabSelectors } from "./EditorTabs/constants"; -import { createEditorFocusInfoKey } from "@appsmith/navigation/FocusStrategy/AppIDEFocusStrategy"; +import { createEditorFocusInfoKey } from "ee/navigation/FocusStrategy/AppIDEFocusStrategy"; import { FocusElement } from "navigation/FocusElements"; import { closeJSActionTab } from "actions/jsActionActions"; import { closeQueryActionTab } from "actions/pluginActionActions"; diff --git a/app/client/src/pages/Editor/IntegrationEditor/AIDataSources.tsx b/app/client/src/pages/Editor/IntegrationEditor/AIDataSources.tsx index 6a9a26f7c338..47216ee02fa6 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/AIDataSources.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/AIDataSources.tsx @@ -2,11 +2,11 @@ import React from "react"; import { connect } from "react-redux"; import styled from "styled-components"; import { createTempDatasourceFromForm } from "actions/datasourceActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Plugin } from "api/PluginApi"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { PluginType } from "entities/Action"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; export const StyledContainer = styled.div` flex: 1; diff --git a/app/client/src/pages/Editor/IntegrationEditor/ActiveDataSources.tsx b/app/client/src/pages/Editor/IntegrationEditor/ActiveDataSources.tsx index f9776c9478f1..298161f74184 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/ActiveDataSources.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/ActiveDataSources.tsx @@ -1,21 +1,21 @@ import React, { useMemo } from "react"; import styled from "styled-components"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Datasource } from "entities/Datasource"; import DatasourceCard from "./DatasourceCard"; -import { Text, TextType } from "design-system-old"; -import { Button } from "design-system"; +import { Text, TextType } from "@appsmith/ads-old"; +import { Button } from "@appsmith/ads"; import { thinScrollbar } from "constants/DefaultTheme"; import { keyBy } from "lodash"; import { createMessage, EMPTY_ACTIVE_DATA_SOURCES, -} from "@appsmith/constants/messages"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/constants/messages"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasCreateDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasCreateDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; const QueryHomePage = styled.div` ${thinScrollbar}; diff --git a/app/client/src/pages/Editor/IntegrationEditor/AddDatasourceSecurely.tsx b/app/client/src/pages/Editor/IntegrationEditor/AddDatasourceSecurely.tsx index d7332f9b4e26..243e22077a2e 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/AddDatasourceSecurely.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/AddDatasourceSecurely.tsx @@ -1,12 +1,12 @@ import React from "react"; import styled from "styled-components"; -import { Flex, Text } from "design-system"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { Flex, Text } from "@appsmith/ads"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import { createMessage, DATASOURCE_SECURELY_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const Wrapper = styled(Flex)` background: var(--ads-v2-color-blue-100); diff --git a/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx b/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx index 99e748e95ee5..4d89c885ada7 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx @@ -2,15 +2,15 @@ import AddDatasourceSecurely from "./AddDatasourceSecurely"; import React, { useEffect, useRef } from "react"; import styled from "styled-components"; import { thinScrollbar } from "constants/DefaultTheme"; -import type { AppState } from "@appsmith/reducers"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; -import { getHasCreateDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import type { AppState } from "ee/reducers"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { isGACEnabled } from "ee/utils/planHelpers"; +import { getHasCreateDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { getDatasources, getMockDatasources, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { getCurrentApplicationId, getCurrentPageId, @@ -18,25 +18,25 @@ import { import { connect } from "react-redux"; import type { Datasource, MockDatasource } from "entities/Datasource"; import scrollIntoView from "scroll-into-view-if-needed"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import MockDataSources from "./MockDataSources"; import NewApiScreen from "./NewApi"; import NewQueryScreen from "./NewQuery"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { showDebuggerFlag } from "selectors/debuggerSelectors"; import { createMessage, CREATE_NEW_DATASOURCE_DATABASE_HEADER, CREATE_NEW_DATASOURCE_MOST_POPULAR_HEADER, SAMPLE_DATASOURCES, -} from "@appsmith/constants/messages"; -import { Divider } from "design-system"; +} from "ee/constants/messages"; +import { Divider } from "@appsmith/ads"; import { getApplicationByIdFromWorkspaces, getCurrentApplicationIdForCreateNewApp, -} from "@appsmith/selectors/applicationSelectors"; -import { useEditorType } from "@appsmith/hooks"; -import { useParentEntityInfo } from "@appsmith/hooks/datasourceEditorHooks"; +} from "ee/selectors/applicationSelectors"; +import { useEditorType } from "ee/hooks"; +import { useParentEntityInfo } from "ee/hooks/datasourceEditorHooks"; import AIDataSources from "./AIDataSources"; import Debugger from "../DataSourceEditor/Debugger"; diff --git a/app/client/src/pages/Editor/IntegrationEditor/DatasourceCard.tsx b/app/client/src/pages/Editor/IntegrationEditor/DatasourceCard.tsx index 23533fdf3473..3d9c527de110 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/DatasourceCard.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/DatasourceCard.tsx @@ -7,23 +7,23 @@ import CollapseComponent from "components/utils/CollapseComponent"; import { getPluginImages, getCurrentActions, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import styled from "styled-components"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import history from "utils/history"; import RenderDatasourceInformation from "pages/Editor/DataSourceEditor/DatasourceSection"; import { getQueryParams } from "utils/URLUtils"; -import { Button, MenuContent, MenuItem, MenuTrigger } from "design-system"; +import { Button, MenuContent, MenuItem, MenuTrigger } from "@appsmith/ads"; import { deleteDatasource } from "actions/datasourceActions"; -import { getGenerateCRUDEnabledPluginMap } from "@appsmith/selectors/entitiesSelector"; +import { getGenerateCRUDEnabledPluginMap } from "ee/selectors/entitiesSelector"; import type { GenerateCRUDEnabledPluginMap, Plugin } from "api/PluginApi"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import NewActionButton from "../DataSourceEditor/NewActionButton"; import { datasourcesEditorIdURL, generateTemplateFormURL, saasEditorDatasourceIdURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { CONTEXT_DELETE, CONFIRM_CONTEXT_DELETE, @@ -31,31 +31,31 @@ import { CONFIRM_CONTEXT_DELETING, GENERATE_NEW_PAGE_BUTTON_TEXT, RECONNECT_BUTTON_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { isDatasourceAuthorizedForQueryCreation } from "utils/editorContextUtils"; import { getCurrentBasePageId, getPagePermissions, } from "selectors/editorSelectors"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { MenuWrapper, StyledMenu } from "components/utils/formComponents"; import { DatasourceEditEntryPoints } from "constants/Datasource"; import { isEnvironmentConfigured, doesAnyDsConfigExist, DB_NOT_SUPPORTED, -} from "@appsmith/utils/Environments"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +} from "ee/utils/Environments"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasCreatePagePermission, getHasDeleteDatasourcePermission, getHasManageDatasourcePermission, hasCreateDSActionPermissionInApp, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { useEditorType } from "@appsmith/hooks"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { useEditorType } from "ee/hooks"; import { getIsAnvilEnabledInCurrentApplication } from "layoutSystems/anvil/integrations/selectors"; const Wrapper = styled.div` diff --git a/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx b/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx index 34d9cc83d51a..fb606ad2c211 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx @@ -6,32 +6,32 @@ import { getDBPlugins, getPluginImages, getMostPopularPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Plugin } from "api/PluginApi"; -import { DATASOURCE_DB_FORM } from "@appsmith/constants/forms"; +import { DATASOURCE_DB_FORM } from "ee/constants/forms"; import { createDatasourceFromForm, createTempDatasourceFromForm, } from "actions/datasourceActions"; -import type { AppState } from "@appsmith/reducers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { getQueryParams } from "utils/URLUtils"; -import { getGenerateCRUDEnabledPluginMap } from "@appsmith/selectors/entitiesSelector"; +import { getGenerateCRUDEnabledPluginMap } from "ee/selectors/entitiesSelector"; import type { GenerateCRUDEnabledPluginMap } from "api/PluginApi"; import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ApiCard, API_ACTION, CardContentWrapper } from "./NewApi"; import { PluginPackageName, PluginType } from "entities/Action"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; import PlusLogo from "assets/images/Plus-logo.svg"; import { createMessage, CREATE_NEW_DATASOURCE_REST_API, -} from "@appsmith/constants/messages"; -import { createNewApiActionBasedOnEditorType } from "@appsmith/actions/helpers"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +} from "ee/constants/messages"; +import { createNewApiActionBasedOnEditorType } from "ee/actions/helpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; import history from "utils/history"; // This function remove the given key from queryParams and return string diff --git a/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx b/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx index 495cc8434e68..442aa8f3c60d 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx @@ -3,36 +3,36 @@ import { connect } from "react-redux"; import type { InjectedFormProps } from "redux-form"; import { reduxForm } from "redux-form"; import styled from "styled-components"; -import type { AppState } from "@appsmith/reducers"; -import { API_HOME_SCREEN_FORM } from "@appsmith/constants/forms"; +import type { AppState } from "ee/reducers"; +import { API_HOME_SCREEN_FORM } from "ee/constants/forms"; import ActiveDataSources from "./ActiveDataSources"; import { getDatasources, getMockDatasources, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Datasource, MockDatasource } from "entities/Datasource"; -import type { TabProp } from "design-system-old"; -import { IconSize } from "design-system-old"; +import type { TabProp } from "@appsmith/ads-old"; +import { IconSize } from "@appsmith/ads-old"; import { INTEGRATION_TABS, INTEGRATION_EDITOR_MODES } from "constants/routes"; import BackButton from "../DataSourceEditor/BackButton"; import UnsupportedPluginDialog from "./UnsupportedPluginDialog"; import { getQueryParams } from "utils/URLUtils"; import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { integrationEditorURL } from "ee/RouteBuilder"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; -import { Tab, TabPanel, Tabs, TabsList } from "design-system"; +import { Tab, TabPanel, Tabs, TabsList } from "@appsmith/ads"; import Debugger, { ResizerContentContainer, ResizerMainContainer, } from "../DataSourceEditor/Debugger"; import { showDebuggerFlag } from "selectors/debuggerSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; -import { getHasCreateDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { isGACEnabled } from "ee/utils/planHelpers"; +import { getHasCreateDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import CreateNewDatasourceTab from "./CreateNewDatasourceTab"; const HeaderFlex = styled.div` diff --git a/app/client/src/pages/Editor/IntegrationEditor/MockDataSources.tsx b/app/client/src/pages/Editor/IntegrationEditor/MockDataSources.tsx index 472a6d00cb21..8c802ebc58f6 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/MockDataSources.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/MockDataSources.tsx @@ -2,13 +2,13 @@ import React from "react"; import styled from "styled-components"; import { useDispatch, useSelector } from "react-redux"; import type { MockDatasource } from "entities/Datasource"; -import { getPluginImages } from "@appsmith/selectors/entitiesSelector"; +import { getPluginImages } from "ee/selectors/entitiesSelector"; import { addMockDatasourceToWorkspace } from "actions/datasourceActions"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getQueryParams } from "utils/URLUtils"; -import type { AppState } from "@appsmith/reducers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import type { AppState } from "ee/reducers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; const MockDataSourceWrapper = styled.div` diff --git a/app/client/src/pages/Editor/IntegrationEditor/NewApi.tsx b/app/client/src/pages/Editor/IntegrationEditor/NewApi.tsx index fc29788b008e..2404da0264f2 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/NewApi.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/NewApi.tsx @@ -5,21 +5,21 @@ import { createDatasourceFromForm, createTempDatasourceFromForm, } from "actions/datasourceActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import PlusLogo from "assets/images/Plus-logo.svg"; import GraphQLLogo from "assets/images/Graphql-logo.svg"; import type { GenerateCRUDEnabledPluginMap, Plugin } from "api/PluginApi"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { PluginPackageName, PluginType } from "entities/Action"; import { getQueryParams } from "utils/URLUtils"; -import { getGenerateCRUDEnabledPluginMap } from "@appsmith/selectors/entitiesSelector"; +import { getGenerateCRUDEnabledPluginMap } from "ee/selectors/entitiesSelector"; import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import { Spinner } from "design-system"; -import { useEditorType } from "@appsmith/hooks"; -import { useParentEntityInfo } from "@appsmith/hooks/datasourceEditorHooks"; -import { createNewApiActionBasedOnEditorType } from "@appsmith/actions/helpers"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import { Spinner } from "@appsmith/ads"; +import { useEditorType } from "ee/hooks"; +import { useParentEntityInfo } from "ee/hooks/datasourceEditorHooks"; +import { createNewApiActionBasedOnEditorType } from "ee/actions/helpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; export const StyledContainer = styled.div` flex: 1; diff --git a/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx b/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx index e9390586677f..15ea740854db 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import DataSourceHome from "./DatasourceHome"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; const QueryHomePage = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx b/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx index c085a3e4c964..ef7b267e2296 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/UnsupportedPluginDialog.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Text, TextType } from "design-system-old"; +import { Text, TextType } from "@appsmith/ads-old"; import { Button, Modal, @@ -7,13 +7,13 @@ import { ModalContent, ModalHeader, ModalFooter, -} from "design-system"; -import { UNSUPPORTED_PLUGIN_DIALOG_MAIN_HEADING } from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "@appsmith/ads"; +import { UNSUPPORTED_PLUGIN_DIALOG_MAIN_HEADING } from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { UNSUPPORTED_PLUGIN_DIALOG_TITLE, UNSUPPORTED_PLUGIN_DIALOG_SUBTITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface Props { isModalOpen: boolean; diff --git a/app/client/src/pages/Editor/IntegrationEditor/__tests__/datasourceCard.test.tsx b/app/client/src/pages/Editor/IntegrationEditor/__tests__/datasourceCard.test.tsx index 214897847107..97697786d03d 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/__tests__/datasourceCard.test.tsx +++ b/app/client/src/pages/Editor/IntegrationEditor/__tests__/datasourceCard.test.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import store from "store"; import { render } from "test/testUtils"; import DatasourceCard from "../DatasourceCard"; diff --git a/app/client/src/pages/Editor/IntegrationEditor/mockData/index.ts b/app/client/src/pages/Editor/IntegrationEditor/mockData/index.ts index 6fd5e76b9cae..1b3b1231ba86 100644 --- a/app/client/src/pages/Editor/IntegrationEditor/mockData/index.ts +++ b/app/client/src/pages/Editor/IntegrationEditor/mockData/index.ts @@ -1,5 +1,5 @@ -import { getDefaultEnvId } from "@appsmith/api/ApiUtils"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getDefaultEnvId } from "ee/api/ApiUtils"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import { PluginPackageName } from "entities/Action"; diff --git a/app/client/src/pages/Editor/JSEditor/AppJSEditorContextMenu.tsx b/app/client/src/pages/Editor/JSEditor/AppJSEditorContextMenu.tsx index 5e8a669c491c..8a2ed837afc3 100644 --- a/app/client/src/pages/Editor/JSEditor/AppJSEditorContextMenu.tsx +++ b/app/client/src/pages/Editor/JSEditor/AppJSEditorContextMenu.tsx @@ -12,13 +12,13 @@ import { CONFIRM_CONTEXT_DELETE, CONTEXT_MOVE, createMessage, -} from "@appsmith/constants/messages"; -import { getPageListAsOptions } from "@appsmith/selectors/entitiesSelector"; +} from "ee/constants/messages"; +import { getPageListAsOptions } from "ee/selectors/entitiesSelector"; import { autoIndentCode, getAutoIndentShortcutKeyText, } from "components/editorComponents/CodeEditor/utils/autoIndentUtils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { updateJSCollectionBody } from "actions/jsPaneActions"; import type { IconName } from "@blueprintjs/icons"; @@ -28,9 +28,9 @@ import equal from "fast-deep-equal/es6"; import { getHasDeleteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import type { JSCollection } from "entities/JSCollection"; interface AppJSEditorContextMenuProps { diff --git a/app/client/src/pages/Editor/JSEditor/Form.tsx b/app/client/src/pages/Editor/JSEditor/Form.tsx index ab507109b810..cd9ae8951315 100644 --- a/app/client/src/pages/Editor/JSEditor/Form.tsx +++ b/app/client/src/pages/Editor/JSEditor/Form.tsx @@ -1,7 +1,7 @@ import type { ChangeEvent } from "react"; import React, { useCallback, useEffect, useMemo, useState } from "react"; import type { JSAction } from "entities/JSCollection"; -import type { DropdownOnSelect } from "design-system-old"; +import type { DropdownOnSelect } from "@appsmith/ads-old"; import { CodeEditorBorder, EditorModes, @@ -24,13 +24,13 @@ import JSResponseView from "components/editorComponents/JSResponseView"; import { isEmpty } from "lodash"; import equal from "fast-deep-equal/es6"; import { JSFunctionRun } from "./JSFunctionRun"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getActiveJSActionId, getIsExecutingJSAction, getJSActions, getJSCollectionParseErrors, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { JSActionDropdownOption } from "./utils"; import { convertJSActionsToDropdownOptions, @@ -52,26 +52,26 @@ import { TabbedViewContainer, } from "./styledComponents"; import { getJSPaneConfigSelectedTab } from "selectors/jsPaneSelectors"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import { setCodeEditorCursorAction, setFocusableInputField, } from "actions/editorContextActions"; import history from "utils/history"; -import { CursorPositionOrigin } from "@appsmith/reducers/uiReducers/editorContextReducer"; +import { CursorPositionOrigin } from "ee/reducers/uiReducers/editorContextReducer"; import LazyCodeEditor from "components/editorComponents/LazyCodeEditor"; import styled from "styled-components"; -import { Tab, TabPanel, Tabs, TabsList } from "design-system"; +import { Tab, TabPanel, Tabs, TabsList } from "@appsmith/ads"; import { JSEditorTab } from "reducers/uiReducers/jsPaneReducer"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasExecuteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; import { DEBUGGER_TAB_KEYS } from "../../../components/editorComponents/Debugger/helpers"; -import RunHistory from "@appsmith/components/RunHistory"; +import RunHistory from "ee/components/RunHistory"; interface JSFormProps { jsCollectionData: JSCollectionData; contextMenu: React.ReactNode; @@ -91,6 +91,7 @@ const Wrapper = styled.div` flex-direction: row; height: 100%; width: 100%; + overflow: hidden; `; const SecondaryWrapper = styled.div` diff --git a/app/client/src/pages/Editor/JSEditor/JSBlankState.tsx b/app/client/src/pages/Editor/JSEditor/JSBlankState.tsx index def7f476244d..acf141ca0bec 100644 --- a/app/client/src/pages/Editor/JSEditor/JSBlankState.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSBlankState.tsx @@ -1,8 +1,8 @@ import React from "react"; -import { Flex, Text } from "design-system"; -import { importSvg } from "design-system-old"; +import { Flex, Text } from "@appsmith/ads"; +import { importSvg } from "@appsmith/ads-old"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; const JSBlankState = () => { const BlankStateIllustration = importSvg( diff --git a/app/client/src/pages/Editor/JSEditor/JSEditorContextMenu.tsx b/app/client/src/pages/Editor/JSEditor/JSEditorContextMenu.tsx index f7f1f3a2bae2..534f805cc88b 100644 --- a/app/client/src/pages/Editor/JSEditor/JSEditorContextMenu.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSEditorContextMenu.tsx @@ -11,7 +11,7 @@ import { MenuSubTrigger, MenuTrigger, Text, -} from "design-system"; +} from "@appsmith/ads"; export interface ContextMenuOption { id?: string; diff --git a/app/client/src/pages/Editor/JSEditor/JSFunctionRun.tsx b/app/client/src/pages/Editor/JSEditor/JSFunctionRun.tsx index 2374ba2696c3..43083bc612a6 100644 --- a/app/client/src/pages/Editor/JSEditor/JSFunctionRun.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSFunctionRun.tsx @@ -1,12 +1,9 @@ import React from "react"; import styled from "styled-components"; import type { JSCollection } from "entities/JSCollection"; -import type { SelectProps } from "design-system"; -import { Button, Option, Select, Tooltip, Text } from "design-system"; -import { - createMessage, - NO_JS_FUNCTION_TO_RUN, -} from "@appsmith/constants/messages"; +import type { SelectProps } from "@appsmith/ads"; +import { Button, Option, Select, Tooltip, Text } from "@appsmith/ads"; +import { createMessage, NO_JS_FUNCTION_TO_RUN } from "ee/constants/messages"; import type { JSActionDropdownOption } from "./utils"; import { RUN_BUTTON_DEFAULTS, testLocators } from "./constants"; diff --git a/app/client/src/pages/Editor/JSEditor/JSFunctionSettings.tsx b/app/client/src/pages/Editor/JSEditor/JSFunctionSettings.tsx index f2f9d5338537..3e44fe7bf745 100644 --- a/app/client/src/pages/Editor/JSEditor/JSFunctionSettings.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSFunctionSettings.tsx @@ -2,13 +2,13 @@ import { FUNCTION_SETTINGS_HEADING, NO_JS_FUNCTIONS, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { JSAction } from "entities/JSCollection"; import React, { useCallback, useState } from "react"; import styled from "styled-components"; import { CONFIRM_BEFORE_CALLING_HEADING, SETTINGS_HEADINGS } from "./constants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Icon, Tooltip, Switch } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Icon, Tooltip, Switch } from "@appsmith/ads"; import RemoveConfirmationModal from "./RemoveConfirmBeforeCallingDialog"; interface SettingsHeadingProps { diff --git a/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx b/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx index 0f4bb9e16d2e..f82860f134b1 100644 --- a/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx +++ b/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx @@ -3,28 +3,28 @@ import { useSelector } from "react-redux"; import { useParams } from "react-router-dom"; import { removeSpecialChars } from "utils/helpers"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getJsCollectionByBaseId, getPlugin, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { ACTION_NAME_PLACEHOLDER, JSOBJECT_ID_NOT_FOUND_IN_URL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import EditableText, { EditInteractionKind, } from "components/editorComponents/EditableText"; -import { Flex } from "design-system"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { Flex } from "@appsmith/ads"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import NameEditorComponent, { IconBox, IconWrapper, NameWrapper, } from "components/utils/NameEditorComponent"; import { getSavingStatusForJSObjectName } from "selectors/actionSelectors"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; export interface SaveActionNameParams { id: string; diff --git a/app/client/src/pages/Editor/JSEditor/RemoveConfirmBeforeCallingDialog.tsx b/app/client/src/pages/Editor/JSEditor/RemoveConfirmBeforeCallingDialog.tsx index 43f1397df54d..f9466d2a1c30 100644 --- a/app/client/src/pages/Editor/JSEditor/RemoveConfirmBeforeCallingDialog.tsx +++ b/app/client/src/pages/Editor/JSEditor/RemoveConfirmBeforeCallingDialog.tsx @@ -7,11 +7,11 @@ import { ModalHeader, ModalFooter, Text, -} from "design-system"; +} from "@appsmith/ads"; import { REMOVE_CONFIRM_BEFORE_CALLING_HEADING, REMOVE_CONFIRM_BEFORE_CALLING_DESCRIPTION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface RemoveConfirmationProps { isOpen: boolean; diff --git a/app/client/src/pages/Editor/JSEditor/utils.ts b/app/client/src/pages/Editor/JSEditor/utils.ts index 112b6cfbf188..9ea34f347b81 100644 --- a/app/client/src/pages/Editor/JSEditor/utils.ts +++ b/app/client/src/pages/Editor/JSEditor/utils.ts @@ -8,7 +8,7 @@ import { RUN_GUTTER_ID, NO_FUNCTION_DROPDOWN_OPTION, } from "./constants"; -import type { DropdownOption } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; import { find, memoize } from "lodash"; import type { PropertyNode } from "@shared/ast"; import { @@ -18,7 +18,7 @@ import { NodeTypes, SourceType, } from "@shared/ast"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; import log from "loglevel"; import type CodeMirror from "codemirror"; diff --git a/app/client/src/pages/Editor/MainContainerWidthToggles.tsx b/app/client/src/pages/Editor/MainContainerWidthToggles.tsx index 1a9a91710dd5..65621e923b24 100644 --- a/app/client/src/pages/Editor/MainContainerWidthToggles.tsx +++ b/app/client/src/pages/Editor/MainContainerWidthToggles.tsx @@ -2,7 +2,7 @@ import React, { useCallback } from "react"; import styled from "styled-components"; import { useDispatch, useSelector } from "react-redux"; -import { updateApplicationLayout } from "@appsmith/actions/applicationActions"; +import { updateApplicationLayout } from "ee/actions/applicationActions"; import type { AppLayoutConfig, SupportedLayouts, @@ -11,7 +11,7 @@ import { getCurrentApplicationId, getCurrentApplicationLayout, } from "selectors/editorSelectors"; -import { Icon, SegmentedControl, Tooltip } from "design-system"; +import { Icon, SegmentedControl, Tooltip } from "@appsmith/ads"; const StyledSegmentedControl = styled(SegmentedControl)` > .ads-v2-segmented-control__segments-container { diff --git a/app/client/src/pages/Editor/MultiSelectPropertyPane/index.tsx b/app/client/src/pages/Editor/MultiSelectPropertyPane/index.tsx index c3365654277d..1da57618fd18 100644 --- a/app/client/src/pages/Editor/MultiSelectPropertyPane/index.tsx +++ b/app/client/src/pages/Editor/MultiSelectPropertyPane/index.tsx @@ -4,10 +4,10 @@ import { createMessage, MULTI_SELECT_PROPERTY_PANE_MESSAGE, WIDGET_MULTI_SELECT, -} from "@appsmith/constants/messages"; -import { Text, Button } from "design-system"; +} from "ee/constants/messages"; +import { Text, Button } from "@appsmith/ads"; import { useSelector } from "react-redux"; -import { getCanvasWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgets } from "ee/selectors/entitiesSelector"; import { getSelectedWidgets } from "selectors/ui"; import { useWidgetSelection } from "utils/hooks/useWidgetSelection"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; diff --git a/app/client/src/pages/Editor/NavigationSettings/LogoInput.tsx b/app/client/src/pages/Editor/NavigationSettings/LogoInput.tsx index 3bd42699c526..ff28941fa5a1 100644 --- a/app/client/src/pages/Editor/NavigationSettings/LogoInput.tsx +++ b/app/client/src/pages/Editor/NavigationSettings/LogoInput.tsx @@ -1,23 +1,20 @@ import React, { useEffect, useState } from "react"; import { ImageInput } from "pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/ImageInput"; -import { Text } from "design-system"; -import { - createMessage, - APP_NAVIGATION_SETTING, -} from "@appsmith/constants/messages"; +import { Text } from "@appsmith/ads"; +import { createMessage, APP_NAVIGATION_SETTING } from "ee/constants/messages"; import type { UpdateSetting } from "pages/Editor/AppSettingsPane/AppSettings/NavigationSettings"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { NavigationSetting } from "constants/AppConstants"; import { logoImageValidation } from "pages/Editor/AppSettingsPane/AppSettings/NavigationSettings/utils"; import { getIsDeletingNavigationLogo, getIsUploadingNavigationLogo, -} from "@appsmith/selectors/applicationSelectors"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; -import { getAppsmithConfigs } from "@appsmith/configs"; -import { DeleteLogoButton } from "@appsmith/pages/Editor/NavigationSettings/DeleteLogoButton"; +} from "ee/selectors/applicationSelectors"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; +import { getAppsmithConfigs } from "ee/configs"; +import { DeleteLogoButton } from "ee/pages/Editor/NavigationSettings/DeleteLogoButton"; export interface ButtonGroupSettingProps { updateSetting: UpdateSetting; diff --git a/app/client/src/pages/Editor/Popper.tsx b/app/client/src/pages/Editor/Popper.tsx index 009c726e0e53..90f634a80151 100644 --- a/app/client/src/pages/Editor/Popper.tsx +++ b/app/client/src/pages/Editor/Popper.tsx @@ -1,5 +1,5 @@ -import type { AppState } from "@appsmith/reducers"; -import { Icon } from "design-system"; +import type { AppState } from "ee/reducers"; +import { Icon } from "@appsmith/ads"; import type { Placement, PopperOptions } from "popper.js"; import PopperJS from "popper.js"; import React, { useEffect, useMemo, useRef } from "react"; diff --git a/app/client/src/pages/Editor/PropertyPane/ConnectDataCTA.tsx b/app/client/src/pages/Editor/PropertyPane/ConnectDataCTA.tsx index 6324cbf035c8..3fb10a1f46a2 100644 --- a/app/client/src/pages/Editor/PropertyPane/ConnectDataCTA.tsx +++ b/app/client/src/pages/Editor/PropertyPane/ConnectDataCTA.tsx @@ -1,13 +1,13 @@ import React from "react"; -import { Button, Text } from "design-system"; -import type { AppState } from "@appsmith/reducers"; +import { Button, Text } from "@appsmith/ads"; +import type { AppState } from "ee/reducers"; import styled from "styled-components"; import { useSelector } from "react-redux"; import { INTEGRATION_EDITOR_MODES, INTEGRATION_TABS } from "constants/routes"; import history from "utils/history"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { WidgetType } from "constants/WidgetConstants"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; +import { integrationEditorURL } from "ee/RouteBuilder"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import { DocsLink, openDoc } from "../../../constants/DocumentationLinks"; import { DatasourceCreateEntryPoints } from "constants/Datasource"; diff --git a/app/client/src/pages/Editor/PropertyPane/DraggableListControl.tsx b/app/client/src/pages/Editor/PropertyPane/DraggableListControl.tsx index 497f8c60048a..f4d397381371 100644 --- a/app/client/src/pages/Editor/PropertyPane/DraggableListControl.tsx +++ b/app/client/src/pages/Editor/PropertyPane/DraggableListControl.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { BaseItemProps, DroppableComponentProps, diff --git a/app/client/src/pages/Editor/PropertyPane/EmptySearchResult.tsx b/app/client/src/pages/Editor/PropertyPane/EmptySearchResult.tsx index 11886aa84c50..5d0a1c49cb0b 100644 --- a/app/client/src/pages/Editor/PropertyPane/EmptySearchResult.tsx +++ b/app/client/src/pages/Editor/PropertyPane/EmptySearchResult.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { PROPERTY_PANE_EMPTY_SEARCH_RESULT_MESSAGE } from "@appsmith/constants/messages"; -import { Icon } from "design-system"; +import { PROPERTY_PANE_EMPTY_SEARCH_RESULT_MESSAGE } from "ee/constants/messages"; +import { Icon } from "@appsmith/ads"; export function EmptySearchResult() { return ( diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx index 5c10b5530fd4..16904c1043a2 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx @@ -4,11 +4,11 @@ import equal from "fast-deep-equal/es6"; import * as log from "loglevel"; import { ControlWrapper } from "components/propertyControls/StyledControls"; -import { ToggleButton, Tooltip, Button } from "design-system"; +import { ToggleButton, Tooltip, Button } from "@appsmith/ads"; import PropertyControlFactory from "utils/PropertyControlFactory"; import PropertyHelpLabel from "pages/Editor/PropertyPane/PropertyHelpLabel"; import { useDispatch, useSelector } from "react-redux"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { UpdateWidgetPropertyPayload } from "actions/controlActions"; import { batchUpdateMultipleWidgetProperties, @@ -33,16 +33,16 @@ import { import type { EnhancementFns } from "selectors/widgetEnhancementSelectors"; import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import AppsmithConsole from "utils/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import { getExpectedValue } from "utils/validation/common"; import type { ControlData } from "components/propertyControls/BaseControl"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import { JS_TOGGLE_DISABLED_MESSAGE, JS_TOGGLE_SWITCH_JS_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getPropertyControlFocusElement, shouldFocusOnPropertyControl, @@ -56,12 +56,12 @@ import WidgetFactory from "WidgetProvider/factory"; import type { AdditionalDynamicDataTree } from "utils/autocomplete/customTreeTypeDefCreator"; import clsx from "clsx"; import styled from "styled-components"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; import classNames from "classnames"; import type { PropertyUpdates } from "WidgetProvider/constants"; import { getIsOneClickBindingOptionsVisibility } from "selectors/oneClickBindingSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { savePropertyInSessionStorageIfRequired } from "./helpers"; import { getParentWidget } from "selectors/widgetSelectors"; diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx index b88b9ba907c4..13260cf4bcb3 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyControlsGenerator.tsx @@ -17,7 +17,7 @@ import { evaluateHiddenProperty } from "./helpers"; import type { EnhancementFns } from "selectors/widgetEnhancementSelectors"; import { getWidgetEnhancementSelector } from "selectors/widgetEnhancementSelectors"; import equal from "fast-deep-equal/es6"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; export interface PropertyControlsGeneratorProps { diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyHelpLabel.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyHelpLabel.tsx index 94d7691cc658..86d0ea5b5cbd 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyHelpLabel.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyHelpLabel.tsx @@ -1,7 +1,7 @@ import type { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; import React from "react"; import styled from "styled-components"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; const Label = styled.label` color: var(--ads-v2-color-fg); diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyPaneConnections.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyPaneConnections.tsx index 27a21b07b82b..06b87bcb1dd3 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyPaneConnections.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyPaneConnections.tsx @@ -1,12 +1,9 @@ import React, { memo, useMemo, useCallback, useEffect, useRef } from "react"; import styled from "styled-components"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { useDispatch, useSelector } from "react-redux"; import { getDataTree } from "selectors/dataTreeSelectors"; -import { - isAction, - isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isAction, isWidget } from "ee/workers/Evaluation/evaluationUtils"; import { useEntityLink } from "components/editorComponents/Debugger/hooks/debuggerHooks"; import { useGetEntityInfo } from "components/editorComponents/Debugger/hooks/useGetEntityInfo"; import { @@ -15,10 +12,10 @@ import { } from "components/editorComponents/Debugger/helpers"; import { getFilteredErrors } from "selectors/debuggerSelectors"; import type { Log } from "entities/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { DebugButton } from "components/editorComponents/Debugger/DebugCTA"; import { showDebugger } from "actions/debuggerActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { InteractionAnalyticsEventDetail } from "utils/AppsmithUtils"; import { interactionAnalyticsEvent, @@ -27,7 +24,7 @@ import { import equal from "fast-deep-equal"; import { mapValues, pick } from "lodash"; import { createSelector } from "reselect"; -import type { TooltipPlacement } from "design-system"; +import type { TooltipPlacement } from "@appsmith/ads"; import { Button, Menu, @@ -37,7 +34,7 @@ import { MenuSeparator, Text, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; interface DropdownOption { label?: string; diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyPaneHelperText.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyPaneHelperText.tsx index ff9bbe3c09d8..e5c53d3644f0 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyPaneHelperText.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyPaneHelperText.tsx @@ -1,4 +1,4 @@ -import { Text, TextType } from "design-system-old"; +import { Text, TextType } from "@appsmith/ads-old"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyPaneSearchInput.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyPaneSearchInput.tsx index e656bf7d5026..d764f7c8d730 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyPaneSearchInput.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyPaneSearchInput.tsx @@ -1,13 +1,13 @@ import React, { useEffect, useRef, useCallback } from "react"; import styled from "styled-components"; -import { SearchInput } from "design-system"; +import { SearchInput } from "@appsmith/ads"; import { useSelector } from "react-redux"; import { getShouldFocusPanelPropertySearch, getShouldFocusPropertySearch, } from "selectors/propertyPaneSelectors"; import { isCurrentFocusOnInput } from "utils/editorContextUtils"; -import { PROPERTY_SEARCH_INPUT_PLACEHOLDER } from "@appsmith/constants/messages"; +import { PROPERTY_SEARCH_INPUT_PLACEHOLDER } from "ee/constants/messages"; const Container = styled.div` position: sticky; diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyPaneTab.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyPaneTab.tsx index a603d8845c01..1548bac17ec3 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyPaneTab.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyPaneTab.tsx @@ -2,10 +2,10 @@ import React, { useCallback } from "react"; import styled from "styled-components"; import { useDispatch, useSelector } from "react-redux"; -import { Tabs, TabsList, Tab, TabPanel } from "design-system"; +import { Tabs, TabsList, Tab, TabPanel } from "@appsmith/ads"; import { getSelectedPropertyTabIndex } from "selectors/editorContextSelectors"; import { setSelectedPropertyTabIndex } from "actions/editorContextActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; interface PropertyPaneTabProps { styleComponent: JSX.Element | null; diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyPaneTitle.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyPaneTitle.tsx index b8b4da1c908f..ef599656e27c 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyPaneTitle.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyPaneTitle.tsx @@ -7,18 +7,18 @@ import { EditableText, EditInteractionKind, SavingState, -} from "design-system-old"; -import type { TooltipPlacement } from "design-system"; -import { Tooltip, Button } from "design-system"; +} from "@appsmith/ads-old"; +import type { TooltipPlacement } from "@appsmith/ads"; +import { Tooltip, Button } from "@appsmith/ads"; import { updateWidgetName } from "actions/propertyPaneActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getExistingWidgetNames } from "sagas/selectors"; import { removeSpecialChars } from "utils/helpers"; import { useToggleEditWidgetName } from "utils/hooks/dragResizeHooks"; import useInteractionAnalyticsEvent from "utils/hooks/useInteractionAnalyticsEvent"; import type { WidgetType } from "constants/WidgetConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getIsCurrentWidgetRecentlyAdded } from "selectors/propertyPaneSelectors"; interface PropertyPaneTitleProps { diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx index 3d3af93c5edb..1d2a66af3002 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertyPaneView.tsx @@ -15,9 +15,9 @@ import { BINDING_WIDGET_WALKTHROUGH_DESC, BINDING_WIDGET_WALKTHROUGH_TITLE, createMessage, -} from "@appsmith/constants/messages"; -import { AB_TESTING_EVENT_KEYS } from "@appsmith/entities/FeatureFlag"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import { AB_TESTING_EVENT_KEYS } from "ee/entities/FeatureFlag"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import WidgetFactory from "WidgetProvider/factory"; import { copyWidget, deleteSelectedWidget } from "actions/widgetActions"; import { EditorTheme } from "components/editorComponents/CodeEditor/EditorConfig"; @@ -26,7 +26,7 @@ import WalkthroughContext from "components/featureWalkthrough/walkthroughContext import { FEATURE_WALKTHROUGH_KEYS } from "constants/WalkthroughConstants"; import type { WidgetType } from "constants/WidgetConstants"; import { WIDGET_ID_SHOW_WALKTHROUGH } from "constants/WidgetConstants"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; import { getWidgets } from "sagas/selectors"; import { getCurrentUser } from "selectors/usersSelectors"; diff --git a/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx b/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx index 046b30a696bf..6329c2ee075c 100644 --- a/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx +++ b/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx @@ -10,8 +10,8 @@ import React, { import { Collapse } from "@blueprintjs/core"; import styled from "styled-components"; import { Colors } from "constants/Colors"; -import { Icon, Tag } from "design-system"; -import type { AppState } from "@appsmith/reducers"; +import { Icon, Tag } from "@appsmith/ads"; +import type { AppState } from "ee/reducers"; import { useDispatch, useSelector } from "react-redux"; import { getPropertySectionState } from "selectors/editorContextSelectors"; import { getCurrentWidgetId } from "selectors/propertyPaneSelectors"; diff --git a/app/client/src/pages/Editor/PropertyPane/helpers.tsx b/app/client/src/pages/Editor/PropertyPane/helpers.tsx index e510d5752346..8307db5b8a85 100644 --- a/app/client/src/pages/Editor/PropertyPane/helpers.tsx +++ b/app/client/src/pages/Editor/PropertyPane/helpers.tsx @@ -5,7 +5,7 @@ import type { PropertyPaneControlConfig, PropertyPaneSectionConfig, } from "constants/PropertyControlConstants"; -import { Callout } from "design-system"; +import { Callout } from "@appsmith/ads"; import { debounce } from "lodash"; import React, { useCallback, useState } from "react"; import { layoutSystemBasedPropertyFilter } from "sagas/WidgetEnhancementHelpers"; diff --git a/app/client/src/pages/Editor/PropertyPane/propertyPaneSearch.ts b/app/client/src/pages/Editor/PropertyPane/propertyPaneSearch.ts index 9d72945aeab8..8be3d27a7f14 100644 --- a/app/client/src/pages/Editor/PropertyPane/propertyPaneSearch.ts +++ b/app/client/src/pages/Editor/PropertyPane/propertyPaneSearch.ts @@ -4,7 +4,7 @@ import type { PropertyPaneSectionConfig, } from "constants/PropertyControlConstants"; import { debounce } from "lodash"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; interface SearchResultType { section: { diff --git a/app/client/src/pages/Editor/PropertyPaneHelpButton.tsx b/app/client/src/pages/Editor/PropertyPaneHelpButton.tsx index 69cdd04853cc..ded7f93f3e91 100644 --- a/app/client/src/pages/Editor/PropertyPaneHelpButton.tsx +++ b/app/client/src/pages/Editor/PropertyPaneHelpButton.tsx @@ -5,10 +5,10 @@ import { setGlobalSearchQuery, toggleShowGlobalSearchModal, } from "actions/globalSearchActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import WidgetFactory from "WidgetProvider/factory"; import { getSelectedWidget } from "sagas/selectors"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; function PropertyPaneHelpButton() { const selectedWidget = useSelector(getSelectedWidget); diff --git a/app/client/src/pages/Editor/QueryEditor/BindDataButton.tsx b/app/client/src/pages/Editor/QueryEditor/BindDataButton.tsx index 6dfcd9b25568..e7b83e79c750 100644 --- a/app/client/src/pages/Editor/QueryEditor/BindDataButton.tsx +++ b/app/client/src/pages/Editor/QueryEditor/BindDataButton.tsx @@ -8,12 +8,12 @@ import { Text, MenuSeparator, Flex, -} from "design-system"; +} from "@appsmith/ads"; import { ADD_NEW_WIDGET, CONNECT_EXISTING_WIDGET_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentApplicationId, @@ -22,13 +22,13 @@ import { } from "selectors/editorSelectors"; import type { SuggestedWidget } from "api/ActionAPI"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasManagePagePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasManagePagePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { getWidgets } from "sagas/selectors"; import type { FlattenedWidgetProps } from "reducers/entityReducers/canvasWidgetsStructureReducer"; import { WDS_V2_WIDGET_MAP } from "widgets/wds/constants"; import { getNextWidgetName } from "sagas/WidgetOperationUtils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { addSuggestedWidget } from "actions/widgetActions"; import { getDataTree } from "selectors/dataTreeSelectors"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; diff --git a/app/client/src/pages/Editor/QueryEditor/DatasourceSelector.tsx b/app/client/src/pages/Editor/QueryEditor/DatasourceSelector.tsx index 696c2529cff9..dabd69a8217a 100644 --- a/app/client/src/pages/Editor/QueryEditor/DatasourceSelector.tsx +++ b/app/client/src/pages/Editor/QueryEditor/DatasourceSelector.tsx @@ -1,25 +1,22 @@ import React from "react"; import { useSelector } from "react-redux"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import DropdownField from "components/editorComponents/form/fields/DropdownField"; -import { - CREATE_NEW_DATASOURCE, - createMessage, -} from "@appsmith/constants/messages"; +import { CREATE_NEW_DATASOURCE, createMessage } from "ee/constants/messages"; import styled from "styled-components"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasCreateDatasourcePermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import type { Action } from "entities/Action"; -import { doesPluginRequireDatasource } from "@appsmith/entities/Engine/actionHelpers"; -import { getPluginImages } from "@appsmith/selectors/entitiesSelector"; +import { doesPluginRequireDatasource } from "ee/entities/Engine/actionHelpers"; +import { getPluginImages } from "ee/selectors/entitiesSelector"; import type { Datasource } from "entities/Datasource"; import type { Plugin } from "api/PluginApi"; -import type { AppState } from "@appsmith/reducers"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import type { AppState } from "ee/reducers"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; const DropdownSelect = styled.div` font-size: 14px; diff --git a/app/client/src/pages/Editor/QueryEditor/Editor.tsx b/app/client/src/pages/Editor/QueryEditor/Editor.tsx index 0692b9baaac0..8670184f3492 100644 --- a/app/client/src/pages/Editor/QueryEditor/Editor.tsx +++ b/app/client/src/pages/Editor/QueryEditor/Editor.tsx @@ -12,9 +12,9 @@ import { setActionResponseDisplayFormat, setActionProperty, } from "actions/pluginActionActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import { QUERY_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { QUERY_EDITOR_FORM_NAME } from "ee/constants/forms"; import type { Plugin } from "api/PluginApi"; import { UIComponentTypes } from "api/PluginApi"; import type { Datasource } from "entities/Datasource"; @@ -25,7 +25,7 @@ import { getActionResponses, getDatasourceByPluginId, getDBAndRemoteDatasources, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { PLUGIN_PACKAGE_DBS } from "constants/QueryEditorConstants"; import type { QueryAction, SaaSAction } from "entities/Action"; import Spinner from "components/editorComponents/Spinner"; @@ -33,7 +33,7 @@ import CenteredWrapper from "components/designSystems/appsmith/CenteredWrapper"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { initFormEvaluations } from "actions/evaluationActions"; import { getUIComponent } from "./helpers"; import type { Diff } from "deep-diff"; @@ -42,7 +42,7 @@ import EntityNotFoundPane from "pages/Editor/EntityNotFoundPane"; import { getConfigInitialValues } from "components/formControls/utils"; import { merge } from "lodash"; import { getPathAndValueFromActionDiffObject } from "../../../utils/getPathAndValueFromActionDiffObject"; -import { getCurrentEnvironmentDetails } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEnvironmentDetails } from "ee/selectors/environmentSelectors"; import { QueryEditorContext } from "./QueryEditorContext"; const EmptyStateContainer = styled.div` diff --git a/app/client/src/pages/Editor/QueryEditor/EditorJSONtoForm.tsx b/app/client/src/pages/Editor/QueryEditor/EditorJSONtoForm.tsx index e031d41c413a..a3c97d624f12 100644 --- a/app/client/src/pages/Editor/QueryEditor/EditorJSONtoForm.tsx +++ b/app/client/src/pages/Editor/QueryEditor/EditorJSONtoForm.tsx @@ -6,7 +6,7 @@ import type { Datasource } from "entities/Datasource"; import type { Action, QueryAction, SaaSAction } from "entities/Action"; import { useDispatch, useSelector } from "react-redux"; import ActionSettings from "pages/Editor/ActionSettings"; -import { Button, Tab, TabPanel, Tabs, TabsList, Tooltip } from "design-system"; +import { Button, Tab, TabPanel, Tabs, TabsList, Tooltip } from "@appsmith/ads"; import styled from "styled-components"; import FormRow from "components/editorComponents/FormRow"; import { @@ -14,9 +14,9 @@ import { DEBUGGER_RESPONSE, DOCUMENTATION, DOCUMENTATION_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useParams } from "react-router"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { thinScrollbar } from "constants/DefaultTheme"; import ActionRightPane from "components/editorComponents/ActionRightPane"; import type { ActionResponse } from "api/ActionAPI"; @@ -27,20 +27,20 @@ import type { FormEvalOutput } from "reducers/evaluationReducers/formEvaluationR import { getQueryPaneConfigSelectedTabIndex } from "selectors/queryPaneSelectors"; import { setQueryPaneConfigSelectedTabIndex } from "actions/queryPaneActions"; import type { SourceEntity } from "entities/AppsmithConsole"; -import { ENTITY_TYPE as SOURCE_ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE as SOURCE_ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { DocsLink, openDoc } from "../../../constants/DocumentationLinks"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { QueryEditorContext } from "./QueryEditorContext"; import QueryDebuggerTabs from "./QueryDebuggerTabs"; import useShowSchema from "components/editorComponents/ActionRightPane/useShowSchema"; -import { doesPluginRequireDatasource } from "@appsmith/entities/Engine/actionHelpers"; +import { doesPluginRequireDatasource } from "ee/entities/Engine/actionHelpers"; import FormRender from "./FormRender"; import QueryEditorHeader from "./QueryEditorHeader"; import ActionEditor from "../IDE/EditorPane/components/ActionEditor"; import QueryResponseTab from "./QueryResponseTab"; import DatasourceSelector from "./DatasourceSelector"; -import RunHistory from "@appsmith/components/RunHistory"; +import RunHistory from "ee/components/RunHistory"; const QueryFormContainer = styled.form` flex: 1; diff --git a/app/client/src/pages/Editor/QueryEditor/Form.tsx b/app/client/src/pages/Editor/QueryEditor/Form.tsx index 7d8e0b466d32..9691896d34d0 100644 --- a/app/client/src/pages/Editor/QueryEditor/Form.tsx +++ b/app/client/src/pages/Editor/QueryEditor/Form.tsx @@ -1,14 +1,14 @@ import { formValueSelector, reduxForm } from "redux-form"; -import { QUERY_EDITOR_FORM_NAME } from "@appsmith/constants/forms"; +import { QUERY_EDITOR_FORM_NAME } from "ee/constants/forms"; import type { Action } from "entities/Action"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getPluginResponseTypes, getPluginDocumentationLinks, getPlugin, getActionData, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { EditorJSONtoFormProps } from "./EditorJSONtoForm"; import { EditorJSONtoForm } from "./EditorJSONtoForm"; import { getFormEvaluationState } from "selectors/formSelectors"; diff --git a/app/client/src/pages/Editor/QueryEditor/FormRender.tsx b/app/client/src/pages/Editor/QueryEditor/FormRender.tsx index c46ef5e844cc..f45e305da3e7 100644 --- a/app/client/src/pages/Editor/QueryEditor/FormRender.tsx +++ b/app/client/src/pages/Editor/QueryEditor/FormRender.tsx @@ -4,7 +4,7 @@ import { createMessage, INVALID_FORM_CONFIGURATION, UNEXPECTED_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Tag } from "@blueprintjs/core"; import styled from "styled-components"; import { UIComponentTypes } from "api/PluginApi"; @@ -22,7 +22,7 @@ import { import { isValidFormConfig } from "reducers/evaluationReducers/formEvaluationReducer"; import FormControl from "../FormControl"; import type { ControlProps } from "components/formControls/BaseControl"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; import type { QueryAction, SaaSAction } from "entities/Action"; interface Props { diff --git a/app/client/src/pages/Editor/QueryEditor/QueriesBlankState.tsx b/app/client/src/pages/Editor/QueryEditor/QueriesBlankState.tsx index 4c9b62a4bce1..2b6aae11ce00 100644 --- a/app/client/src/pages/Editor/QueryEditor/QueriesBlankState.tsx +++ b/app/client/src/pages/Editor/QueryEditor/QueriesBlankState.tsx @@ -1,8 +1,8 @@ import React from "react"; -import { Flex, Text } from "design-system"; -import { importSvg } from "design-system-old"; +import { Flex, Text } from "@appsmith/ads"; +import { importSvg } from "@appsmith/ads-old"; -import { createMessage, EDITOR_PANE_TEXTS } from "@appsmith/constants/messages"; +import { createMessage, EDITOR_PANE_TEXTS } from "ee/constants/messages"; const QueriesBlankState = () => { const BlankStateIllustration = importSvg( diff --git a/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.test.tsx b/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.test.tsx index 3ee58ee28a21..6d31b9f64f03 100644 --- a/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.test.tsx +++ b/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.test.tsx @@ -6,10 +6,10 @@ import { ThemeProvider } from "styled-components"; import { unitTestBaseMockStore } from "layoutSystems/common/dropTarget/unitTestUtils"; import { lightTheme } from "selectors/themeSelectors"; import { BrowserRouter as Router } from "react-router-dom"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import "@testing-library/jest-dom/extend-expect"; import QueryDebuggerTabs from "./QueryDebuggerTabs"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; const mockStore = configureStore([]); diff --git a/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.tsx b/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.tsx index b3f7578d0c6f..160ce631ac03 100644 --- a/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.tsx +++ b/app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.tsx @@ -4,14 +4,14 @@ import React, { useCallback, useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import styled from "styled-components"; import { getErrorCount } from "selectors/debuggerSelectors"; -import { Text, TextType } from "design-system-old"; +import { Text, TextType } from "@appsmith/ads-old"; import { DEBUGGER_TAB_KEYS } from "components/editorComponents/Debugger/helpers"; import { DEBUGGER_ERRORS, DEBUGGER_LOGS, DEBUGGER_RESPONSE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import DebuggerLogs from "components/editorComponents/Debugger/DebuggerLogs"; import ErrorLogs from "components/editorComponents/Debugger/Errors"; import Schema from "components/editorComponents/Debugger/Schema"; @@ -23,7 +23,7 @@ import QueryResponseTab from "./QueryResponseTab"; import { getDatasourceStructureById, getPluginDatasourceComponentFromId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { DatasourceComponentTypes } from "api/PluginApi"; import { fetchDatasourceStructure } from "actions/datasourceActions"; import { DatasourceStructureContext } from "entities/Datasource"; @@ -31,7 +31,7 @@ import { getQueryPaneDebuggerState } from "selectors/queryPaneSelectors"; import { setQueryPaneDebuggerState } from "actions/queryPaneActions"; import { actionResponseDisplayDataFormats } from "../utils"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import { IDEBottomView, ViewHideBehaviour } from "../../../IDE"; const ResultsCount = styled.div` diff --git a/app/client/src/pages/Editor/QueryEditor/QueryEditorContext.tsx b/app/client/src/pages/Editor/QueryEditor/QueryEditorContext.tsx index b49f1282442e..03c46a99d0db 100644 --- a/app/client/src/pages/Editor/QueryEditor/QueryEditorContext.tsx +++ b/app/client/src/pages/Editor/QueryEditor/QueryEditorContext.tsx @@ -1,4 +1,4 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import React, { createContext, useMemo } from "react"; interface SaveActionNameParams { diff --git a/app/client/src/pages/Editor/QueryEditor/QueryEditorHeader.tsx b/app/client/src/pages/Editor/QueryEditor/QueryEditorHeader.tsx index 4499f36550b6..2918c9df8744 100644 --- a/app/client/src/pages/Editor/QueryEditor/QueryEditorHeader.tsx +++ b/app/client/src/pages/Editor/QueryEditor/QueryEditorHeader.tsx @@ -1,24 +1,24 @@ import React, { useContext } from "react"; import ActionNameEditor from "components/editorComponents/ActionNameEditor"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { StyledFormRow } from "./EditorJSONtoForm"; import styled from "styled-components"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getHasExecuteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { useActiveActionBaseId } from "@appsmith/pages/Editor/Explorer/hooks"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { useActiveActionBaseId } from "ee/pages/Editor/Explorer/hooks"; import { useSelector } from "react-redux"; import { getActionByBaseId, getPluginNameFromId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { QueryEditorContext } from "./QueryEditorContext"; import type { Plugin } from "api/PluginApi"; import type { Datasource } from "entities/Datasource"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { SQL_DATASOURCES } from "constants/QueryEditorConstants"; import DatasourceSelector from "./DatasourceSelector"; diff --git a/app/client/src/pages/Editor/QueryEditor/QueryResponseTab.tsx b/app/client/src/pages/Editor/QueryEditor/QueryResponseTab.tsx index 75a99db60b13..cb0e18711a11 100644 --- a/app/client/src/pages/Editor/QueryEditor/QueryResponseTab.tsx +++ b/app/client/src/pages/Editor/QueryEditor/QueryResponseTab.tsx @@ -13,19 +13,19 @@ import LogAdditionalInfo from "components/editorComponents/Debugger/ErrorLogs/co import LogHelper from "components/editorComponents/Debugger/ErrorLogs/components/LogHelper"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import { JsonWrapper } from "components/editorComponents/Debugger/ErrorLogs/components/LogCollapseData"; -import { Callout, Flex, SegmentedControl } from "design-system"; +import { Callout, Flex, SegmentedControl } from "@appsmith/ads"; import styled from "styled-components"; import { DEBUGGER_TAB_KEYS } from "components/editorComponents/Debugger/helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { setActionResponseDisplayFormat } from "actions/pluginActionActions"; import { getUpdateTimestamp } from "components/editorComponents/Debugger/ErrorLogs/ErrorLogItem"; import type { SourceEntity } from "entities/AppsmithConsole"; import type { Action } from "entities/Action"; -import { getActionData } from "@appsmith/selectors/entitiesSelector"; +import { getActionData } from "ee/selectors/entitiesSelector"; import { actionResponseDisplayDataFormats } from "../utils"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasExecuteActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasExecuteActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { getErrorAsString } from "sagas/ActionExecution/errorUtils"; import { isString } from "lodash"; import ActionExecutionInProgressView from "components/editorComponents/ActionExecutionInProgressView"; diff --git a/app/client/src/pages/Editor/QueryEditor/TemplateMenu.tsx b/app/client/src/pages/Editor/QueryEditor/TemplateMenu.tsx index 17e195cf640e..90d172e878f6 100644 --- a/app/client/src/pages/Editor/QueryEditor/TemplateMenu.tsx +++ b/app/client/src/pages/Editor/QueryEditor/TemplateMenu.tsx @@ -1,9 +1,9 @@ import React from "react"; import styled from "styled-components"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { getPluginTemplates } from "@appsmith/selectors/entitiesSelector"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { AppState } from "ee/reducers"; +import { getPluginTemplates } from "ee/selectors/entitiesSelector"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const Container = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/QueryEditor/index.tsx b/app/client/src/pages/Editor/QueryEditor/index.tsx index 0279d9cd872a..c6135365eca6 100644 --- a/app/client/src/pages/Editor/QueryEditor/index.tsx +++ b/app/client/src/pages/Editor/QueryEditor/index.tsx @@ -2,7 +2,7 @@ import React, { useCallback, useMemo } from "react"; import { useDispatch, useSelector } from "react-redux"; import type { RouteComponentProps } from "react-router"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import Editor from "./Editor"; import history from "utils/history"; import MoreActionsMenu from "../Explorer/Actions/MoreActionsMenu"; @@ -20,27 +20,27 @@ import { getIsActionConverting, getPluginImages, getPluginSettingConfigs, -} from "@appsmith/selectors/entitiesSelector"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; +} from "ee/selectors/entitiesSelector"; +import { integrationEditorURL } from "ee/RouteBuilder"; import { QueryEditorContextProvider } from "./QueryEditorContext"; import type { QueryEditorRouteParams } from "constants/routes"; import { getHasCreateActionPermission, getHasDeleteActionPermission, getHasManageActionPermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import Disabler from "pages/common/Disabler"; -import ConvertToModuleInstanceCTA from "@appsmith/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA"; -import { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; -import ConvertEntityNotification from "@appsmith/pages/common/ConvertEntityNotification"; +import ConvertToModuleInstanceCTA from "ee/pages/Editor/EntityEditor/ConvertToModuleInstanceCTA"; +import { MODULE_TYPE } from "ee/constants/ModuleConstants"; +import ConvertEntityNotification from "ee/pages/common/ConvertEntityNotification"; import { PluginType } from "entities/Action"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import { resolveIcon } from "../utils"; import { ENTITY_ICON_SIZE, EntityIcon } from "../Explorer/ExplorerIcons"; import { getIDEViewMode } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; type QueryEditorProps = RouteComponentProps; diff --git a/app/client/src/pages/Editor/RealtimeAppEditors.tsx b/app/client/src/pages/Editor/RealtimeAppEditors.tsx index 4cbed5aef46a..e19964923a10 100644 --- a/app/client/src/pages/Editor/RealtimeAppEditors.tsx +++ b/app/client/src/pages/Editor/RealtimeAppEditors.tsx @@ -1,9 +1,9 @@ import React, { useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; import { getRealtimeAppEditors } from "selectors/appCollabSelectors"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import ProfileImage from "pages/common/ProfileImage"; -import UserApi from "@appsmith/api/UserApi"; +import UserApi from "ee/api/UserApi"; import styled from "styled-components"; import { collabStartEditingAppEvent, @@ -12,7 +12,7 @@ import { } from "actions/appCollabActions"; import { getCurrentPageId } from "selectors/editorSelectors"; import { getIsAppLevelSocketConnected } from "selectors/websocketSelectors"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; const UserImageContainer = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/RequestConfirmationModal.tsx b/app/client/src/pages/Editor/RequestConfirmationModal.tsx index 032a073721e8..f50310b9a6ab 100644 --- a/app/client/src/pages/Editor/RequestConfirmationModal.tsx +++ b/app/client/src/pages/Editor/RequestConfirmationModal.tsx @@ -1,6 +1,6 @@ import React from "react"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { Keys } from "@blueprintjs/core"; import { showActionConfirmationModal, @@ -14,11 +14,11 @@ import { ModalContent, ModalFooter, ModalHeader, -} from "design-system"; +} from "@appsmith/ads"; import { createMessage, QUERY_CONFIRMATION_MODAL_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ModalInfo } from "reducers/uiReducers/modalActionReducer"; interface Props { diff --git a/app/client/src/pages/Editor/SaaSEditor/DatasourceCard.tsx b/app/client/src/pages/Editor/SaaSEditor/DatasourceCard.tsx index 1456aac3cf79..d309a9f135d2 100644 --- a/app/client/src/pages/Editor/SaaSEditor/DatasourceCard.tsx +++ b/app/client/src/pages/Editor/SaaSEditor/DatasourceCard.tsx @@ -9,16 +9,16 @@ import { useParams } from "react-router"; import { getCurrentActions, getPluginImages, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import styled from "styled-components"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import history from "utils/history"; import RenderDatasourceInformation from "pages/Editor/DataSourceEditor/DatasourceSection"; import { BaseButton } from "components/designSystems/appsmith/BaseButton"; -import { saasEditorDatasourceIdURL } from "@appsmith/RouteBuilder"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import { Button } from "design-system"; +import { saasEditorDatasourceIdURL } from "ee/RouteBuilder"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import { Button } from "@appsmith/ads"; const Wrapper = styled.div` border: 2px solid #d6d6d6; diff --git a/app/client/src/pages/Editor/SaaSEditor/DatasourceForm.tsx b/app/client/src/pages/Editor/SaaSEditor/DatasourceForm.tsx index 755b62a99ccb..3acf9dc69452 100644 --- a/app/client/src/pages/Editor/SaaSEditor/DatasourceForm.tsx +++ b/app/client/src/pages/Editor/SaaSEditor/DatasourceForm.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import { get, isEqual, isNil, map, memoize, omit } from "lodash"; -import { DATASOURCE_SAAS_FORM } from "@appsmith/constants/forms"; +import { DATASOURCE_SAAS_FORM } from "ee/constants/forms"; import type { Datasource } from "entities/Datasource"; import { AuthenticationStatus } from "entities/Datasource"; import { ActionType } from "entities/Datasource"; @@ -16,7 +16,7 @@ import { } from "redux-form"; import type { RouteComponentProps } from "react-router"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getDatasource, getPluginImages, @@ -24,8 +24,8 @@ import { getPlugin, getPluginDocumentationLinks, getDatasourceScopeValue, -} from "@appsmith/selectors/entitiesSelector"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; +} from "ee/selectors/entitiesSelector"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; import type { JSONtoFormProps } from "../DataSourceEditor/JSONtoForm"; import { JSONtoForm } from "../DataSourceEditor/JSONtoForm"; import { normalizeValues, validate } from "components/formControls/utils"; @@ -62,7 +62,7 @@ import { GOOGLE_SHEETS_INFO_BANNER_MESSAGE, GSHEET_AUTHORIZATION_ERROR, SAVE_AND_AUTHORIZE_BUTTON_TEXT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getDatasourceErrorMessage } from "./errorUtils"; import GoogleSheetFilePicker from "./GoogleSheetFilePicker"; import DatasourceInformation, { @@ -76,24 +76,24 @@ import Debugger, { } from "../DataSourceEditor/Debugger"; import { showDebuggerFlag } from "selectors/debuggerSelectors"; import { Form } from "../DataSourceEditor/DBForm"; -import DSDataFilter from "@appsmith/components/DSDataFilter"; +import DSDataFilter from "ee/components/DSDataFilter"; import { DSEditorWrapper } from "../DataSourceEditor"; import type { DatasourceFilterState } from "../DataSourceEditor"; import { getQueryParams } from "utils/URLUtils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getDefaultEnvironmentId } from "@appsmith/selectors/environmentSelectors"; -import { DEFAULT_ENV_ID } from "@appsmith/api/ApiUtils"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getDefaultEnvironmentId } from "ee/selectors/environmentSelectors"; +import { DEFAULT_ENV_ID } from "ee/api/ApiUtils"; import { getHasDeleteDatasourcePermission, getHasManageDatasourcePermission, -} from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +} from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { selectFeatureFlagCheck, selectFeatureFlags, -} from "@appsmith/selectors/featureFlagsSelectors"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +} from "ee/selectors/featureFlagsSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import DatasourceTabs from "../DatasourceInfo/DatasorceTabs"; -import { getCurrentApplicationIdForCreateNewApp } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplicationIdForCreateNewApp } from "ee/selectors/applicationSelectors"; import { convertToPageIdSelector } from "selectors/pageListSelectors"; const ViewModeContainer = styled.div` diff --git a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx index 5cdfc2f8b2ae..4f2e5dde7208 100644 --- a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx +++ b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx @@ -4,11 +4,11 @@ import { FilePickerActionStatus } from "entities/Datasource"; import { useDispatch } from "react-redux"; import { filePickerCallbackAction } from "actions/datasourceActions"; import { GOOGLE_SHEET_FILE_PICKER_OVERLAY_CLASS } from "constants/Datasource"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { createMessage, GOOGLE_SHEETS_FILE_PICKER_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface Props { datasourceId: string; diff --git a/app/client/src/pages/Editor/SaaSEditor/ListView.tsx b/app/client/src/pages/Editor/SaaSEditor/ListView.tsx index ffdcfc665fbe..6801ccc06b0e 100644 --- a/app/client/src/pages/Editor/SaaSEditor/ListView.tsx +++ b/app/client/src/pages/Editor/SaaSEditor/ListView.tsx @@ -5,14 +5,14 @@ import type { Plugin } from "api/PluginApi"; import { getDatasourcesByPluginId, getPluginByPackageName, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import NotFound from "pages/common/NotFound"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createDatasourceFromForm } from "actions/datasourceActions"; import type { SaaSAction } from "entities/Action"; import { createActionRequest } from "actions/pluginActionActions"; import type { Datasource } from "entities/Datasource"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; // Design import CenteredWrapper from "components/designSystems/appsmith/CenteredWrapper"; @@ -25,7 +25,7 @@ import { selectURLSlugs, } from "selectors/editorSelectors"; import { INTEGRATION_TABS } from "constants/routes"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; +import { integrationEditorURL } from "ee/RouteBuilder"; const IntegrationHomePage = styled.div` padding: 20px; diff --git a/app/client/src/pages/Editor/SaaSEditor/__tests__/ActionForm.test.js b/app/client/src/pages/Editor/SaaSEditor/__tests__/ActionForm.test.js index dac98e306681..dde0d8f72ae6 100644 --- a/app/client/src/pages/Editor/SaaSEditor/__tests__/ActionForm.test.js +++ b/app/client/src/pages/Editor/SaaSEditor/__tests__/ActionForm.test.js @@ -1,7 +1,7 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { diff } from "deep-diff"; import { merge } from "lodash"; -import { getAction } from "@appsmith/selectors/entitiesSelector"; +import { getAction } from "ee/selectors/entitiesSelector"; import { getConfigInitialValues } from "components/formControls/utils"; import { getPathAndValueFromActionDiffObject } from "utils/getPathAndValueFromActionDiffObject"; import configureStore from "redux-mock-store"; diff --git a/app/client/src/pages/Editor/SaaSEditor/errorUtils.ts b/app/client/src/pages/Editor/SaaSEditor/errorUtils.ts index 59727d6e339d..88c7d0f77654 100644 --- a/app/client/src/pages/Editor/SaaSEditor/errorUtils.ts +++ b/app/client/src/pages/Editor/SaaSEditor/errorUtils.ts @@ -6,7 +6,7 @@ import { GSHEET_AUTHORISED_FILE_IDS_KEY, GSHEET_AUTHORIZATION_ERROR, GSHEET_FILES_NOT_SELECTED, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getDatasourcePropertyValue } from "utils/editorContextUtils"; import { GOOGLE_SHEET_SPECIFIC_SHEETS_SCOPE } from "constants/Datasource"; import { PluginPackageName } from "entities/Action"; diff --git a/app/client/src/pages/Editor/ShareApplicationForm.tsx b/app/client/src/pages/Editor/ShareApplicationForm.tsx index 83b84f741c1c..4a157746f844 100644 --- a/app/client/src/pages/Editor/ShareApplicationForm.tsx +++ b/app/client/src/pages/Editor/ShareApplicationForm.tsx @@ -2,10 +2,10 @@ import React from "react"; import styled from "styled-components"; import { withRouter } from "react-router"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { Switch } from "design-system-old"; +import type { AppState } from "ee/reducers"; +import { Switch } from "@appsmith/ads-old"; import Spinner from "components/editorComponents/Spinner"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getCurrentApplicationId } from "selectors/editorSelectors"; const ShareWithPublicOption = styled.div` diff --git a/app/client/src/pages/Editor/ThemePropertyPane/DeleteThemeModal.tsx b/app/client/src/pages/Editor/ThemePropertyPane/DeleteThemeModal.tsx index c1e7fe4c1a7b..a3dc7484ff8f 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/DeleteThemeModal.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/DeleteThemeModal.tsx @@ -4,7 +4,7 @@ import { createMessage, DELETE_APP_THEME_WARNING, DELETE_CONFIRMATION_MODAL_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Button, Modal, @@ -13,7 +13,7 @@ import { ModalFooter, Text, ModalBody, -} from "design-system"; +} from "@appsmith/ads"; interface DeleteThemeModalProps { isOpen: boolean; diff --git a/app/client/src/pages/Editor/ThemePropertyPane/SettingSection.tsx b/app/client/src/pages/Editor/ThemePropertyPane/SettingSection.tsx index 758f0e637780..8496125b85c2 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/SettingSection.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/SettingSection.tsx @@ -3,7 +3,7 @@ import type { ComponentPropsWithoutRef } from "react"; import React, { useState } from "react"; import { Collapse } from "@blueprintjs/core"; import styled from "styled-components"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const SettingsWrapper = styled.div` color: var(--ads-v2-color-fg); diff --git a/app/client/src/pages/Editor/ThemePropertyPane/ThemeBetaCard.tsx b/app/client/src/pages/Editor/ThemePropertyPane/ThemeBetaCard.tsx index 2581d931e066..e318055ddb08 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/ThemeBetaCard.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/ThemeBetaCard.tsx @@ -6,8 +6,8 @@ import { createMessage, APP_THEME_BETA_CARD_HEADING, APP_THEME_BETA_CARD_CONTENT, -} from "@appsmith/constants/messages"; -import { Button } from "design-system"; +} from "ee/constants/messages"; +import { Button } from "@appsmith/ads"; export function ThemeBetaCard() { const dispatch = useDispatch(); diff --git a/app/client/src/pages/Editor/ThemePropertyPane/ThemeCard.tsx b/app/client/src/pages/Editor/ThemePropertyPane/ThemeCard.tsx index 09c007f9bd03..223ca194663d 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/ThemeCard.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/ThemeCard.tsx @@ -14,12 +14,12 @@ import { getAppThemingStack, } from "selectors/appThemingSelectors"; import type { AppTheme } from "entities/AppTheming"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import DeleteThemeModal from "./DeleteThemeModal"; import { getComplementaryGrayscaleColor } from "widgets/WidgetUtils"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import { Colors } from "constants/Colors"; -import { importRemixIcon } from "design-system-old"; +import { importRemixIcon } from "@appsmith/ads-old"; const DeleteIcon = importRemixIcon( async () => import("remixicon-react/DeleteBinLineIcon"), diff --git a/app/client/src/pages/Editor/ThemePropertyPane/ThemeEditor.tsx b/app/client/src/pages/Editor/ThemePropertyPane/ThemeEditor.tsx index 4909c1d55cdf..1e63890a7302 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/ThemeEditor.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/ThemeEditor.tsx @@ -16,17 +16,17 @@ import { } from "actions/appThemingActions"; import SettingSection from "./SettingSection"; import type { AppTheme } from "entities/AppTheming"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import ThemeFontControl from "./controls/ThemeFontControl"; import ThemeColorControl from "./controls/ThemeColorControl"; -import { Classes as CsClasses } from "design-system-old"; +import { Classes as CsClasses } from "@appsmith/ads-old"; import { Button, Menu, MenuContent, MenuTrigger, MenuItem, -} from "design-system"; +} from "@appsmith/ads"; import ThemeBoxShadowControl from "./controls/ThemeShadowControl"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import ThemeBorderRadiusControl from "./controls/ThemeBorderRadiusControl"; diff --git a/app/client/src/pages/Editor/ThemePropertyPane/ThemeSelector.tsx b/app/client/src/pages/Editor/ThemePropertyPane/ThemeSelector.tsx index a98d120afd50..d192ffef1881 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/ThemeSelector.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/ThemeSelector.tsx @@ -10,7 +10,7 @@ import { ThemeCard } from "./ThemeCard"; import { SettingSection } from "./SettingSection"; import { setAppThemingModeStackAction } from "actions/appThemingActions"; import styled from "styled-components"; -import { Link } from "design-system"; +import { Link } from "@appsmith/ads"; const Title = styled.h3` color: var(--ads-v2-color-fg-emphasis); diff --git a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeBorderRadiusControl.tsx b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeBorderRadiusControl.tsx index 798da1a67cd2..782caea6476c 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeBorderRadiusControl.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeBorderRadiusControl.tsx @@ -6,7 +6,7 @@ import { SegmentedControl, type SegmentedControlOption, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; interface ThemeBorderRadiusControlProps { options: { diff --git a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeColorControl.tsx b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeColorControl.tsx index 5099c9cac90b..c8814af64ba8 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeColorControl.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeColorControl.tsx @@ -3,7 +3,7 @@ import React, { useState } from "react"; import styled from "styled-components"; import type { AppTheme } from "entities/AppTheming"; -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; import ColorPickerComponent from "components/propertyControls/ColorPickerComponentV2"; import { capitalizeFirstLetter } from "utils/helpers"; diff --git a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeFontControl.tsx b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeFontControl.tsx index a7315ba17c0c..3f6025150519 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeFontControl.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeFontControl.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Select, Option } from "design-system"; +import { Select, Option } from "@appsmith/ads"; import type { AppTheme } from "entities/AppTheming"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeShadowControl.tsx b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeShadowControl.tsx index 498976e7bfd1..ba36a533ac05 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeShadowControl.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/controls/ThemeShadowControl.tsx @@ -1,11 +1,11 @@ import React, { useCallback } from "react"; import type { AppTheme } from "entities/AppTheming"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import { invertedBoxShadowOptions, sizeMappings, } from "constants/ThemeConstants"; -import { SegmentedControl } from "design-system"; +import { SegmentedControl } from "@appsmith/ads"; interface ThemeBoxShadowControlProps { options: { diff --git a/app/client/src/pages/Editor/ThemePropertyPane/index.tsx b/app/client/src/pages/Editor/ThemePropertyPane/index.tsx index 8d016f60030f..0745a8fa4be1 100644 --- a/app/client/src/pages/Editor/ThemePropertyPane/index.tsx +++ b/app/client/src/pages/Editor/ThemePropertyPane/index.tsx @@ -11,7 +11,7 @@ import { import { useSelector } from "react-redux"; import BetaCard from "components/editorComponents/BetaCard"; import { SectionTitle } from "../AppSettingsPane/AppSettings"; -import { THEME_SETTINGS_SECTION_CONTENT_HEADER } from "@appsmith/constants/messages"; +import { THEME_SETTINGS_SECTION_CONTENT_HEADER } from "ee/constants/messages"; export function ThemePropertyPane() { const themingStack = useSelector(getAppThemingStack); diff --git a/app/client/src/pages/Editor/ToggleModeButton.tsx b/app/client/src/pages/Editor/ToggleModeButton.tsx index ee882fa4db30..570c0f29b0ec 100644 --- a/app/client/src/pages/Editor/ToggleModeButton.tsx +++ b/app/client/src/pages/Editor/ToggleModeButton.tsx @@ -1,15 +1,15 @@ import React, { useCallback } from "react"; import { useDispatch, useSelector } from "react-redux"; -import { Tooltip, ToggleButton } from "design-system"; +import { Tooltip, ToggleButton } from "@appsmith/ads"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { APP_MODE } from "entities/App"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { setPreviewModeInitAction } from "actions/editorActions"; import { previewModeSelector } from "selectors/editorSelectors"; -import { createMessage, EDITOR_HEADER } from "@appsmith/constants/messages"; +import { createMessage, EDITOR_HEADER } from "ee/constants/messages"; import { altText } from "../../utils/helpers"; function ToggleModeButton() { diff --git a/app/client/src/pages/Editor/WDSThemePropertyPane/components/AppMaxWidthSelect.tsx b/app/client/src/pages/Editor/WDSThemePropertyPane/components/AppMaxWidthSelect.tsx index e62b6aaf716b..7c50e894ce3b 100644 --- a/app/client/src/pages/Editor/WDSThemePropertyPane/components/AppMaxWidthSelect.tsx +++ b/app/client/src/pages/Editor/WDSThemePropertyPane/components/AppMaxWidthSelect.tsx @@ -1,5 +1,5 @@ import { APP_MAX_WIDTH } from "@design-system/theming"; -import { Option, Select } from "design-system"; +import { Option, Select } from "@appsmith/ads"; import React from "react"; interface AppMaxWidthSelectProps { diff --git a/app/client/src/pages/Editor/WDSThemePropertyPane/index.tsx b/app/client/src/pages/Editor/WDSThemePropertyPane/index.tsx index f2eff3723c0d..a5323a37a981 100644 --- a/app/client/src/pages/Editor/WDSThemePropertyPane/index.tsx +++ b/app/client/src/pages/Editor/WDSThemePropertyPane/index.tsx @@ -6,14 +6,14 @@ import { useDispatch, useSelector } from "react-redux"; import React, { useCallback, useRef, useState } from "react"; import type { ThemeSetting } from "constants/AppConstants"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import { updateApplication } from "@appsmith/actions/applicationActions"; -import type { UpdateApplicationPayload } from "@appsmith/api/ApplicationApi"; -import { getAppThemeSettings } from "@appsmith/selectors/applicationSelectors"; +import { updateApplication } from "ee/actions/applicationActions"; +import type { UpdateApplicationPayload } from "ee/api/ApplicationApi"; +import { getAppThemeSettings } from "ee/selectors/applicationSelectors"; import { LeftIcon, StyledInputGroup, } from "components/propertyControls/ColorPickerComponentV2"; -import { SegmentedControl, Tooltip, Select, Option, Icon } from "design-system"; +import { SegmentedControl, Tooltip, Select, Option, Icon } from "@appsmith/ads"; import styles from "./styles.module.css"; diff --git a/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorContainer.tsx b/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorContainer.tsx index 6a98ba834d74..d3c7ec608190 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorContainer.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorContainer.tsx @@ -5,7 +5,7 @@ import classNames from "classnames"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; import { useSelector } from "react-redux"; import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; import { RenderModes } from "constants/WidgetConstants"; /** diff --git a/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorHeader.tsx b/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorHeader.tsx index 122f29fa4f8a..b8273a8fa51c 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorHeader.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/WidgetEditorHeader.tsx @@ -1,4 +1,4 @@ -import useMissingModuleNotification from "@appsmith/pages/Editor/IDE/MainPane/useMissingModuleNotification"; +import useMissingModuleNotification from "ee/pages/Editor/IDE/MainPane/useMissingModuleNotification"; import AnonymousDataPopup from "pages/Editor/FirstTimeUserOnboarding/AnonymousDataPopup"; import React from "react"; diff --git a/app/client/src/pages/Editor/WidgetsEditor/components/CodeModeTooltip.tsx b/app/client/src/pages/Editor/WidgetsEditor/components/CodeModeTooltip.tsx index 936515c6b8a8..78a9daf0bdf1 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/components/CodeModeTooltip.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/components/CodeModeTooltip.tsx @@ -1,15 +1,12 @@ -import { Tooltip } from "design-system"; +import { Tooltip } from "@appsmith/ads"; import React, { useEffect, useState } from "react"; import { modText } from "utils/helpers"; import { useSelector } from "react-redux"; import { getWidgetSelectionBlock } from "selectors/ui"; import { retrieveCodeWidgetNavigationUsed } from "utils/storage"; -import { - CANVAS_VIEW_MODE_TOOLTIP, - createMessage, -} from "@appsmith/constants/messages"; +import { CANVAS_VIEW_MODE_TOOLTIP, createMessage } from "ee/constants/messages"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; /** * CodeModeTooltip diff --git a/app/client/src/pages/Editor/WidgetsEditor/components/MainContainerWrapper.tsx b/app/client/src/pages/Editor/WidgetsEditor/components/MainContainerWrapper.tsx index 617a0f324a98..8c61bfd651ed 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/components/MainContainerWrapper.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/components/MainContainerWrapper.tsx @@ -13,7 +13,7 @@ import { getCanvasClassName } from "utils/generators"; import { forceOpenWidgetPanel } from "actions/widgetSidebarActions"; import classNames from "classnames"; import Centered from "components/designSystems/appsmith/CenteredWrapper"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; import equal from "fast-deep-equal/es6"; import { WidgetGlobaStyles } from "globalStyles/WidgetGlobalStyles"; import { useDispatch } from "react-redux"; @@ -21,9 +21,9 @@ import { getAppThemeIsChanging, getSelectedAppTheme, } from "selectors/appThemingSelectors"; -import { getCanvasWidgetsStructure } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgetsStructure } from "ee/selectors/entitiesSelector"; import Canvas from "pages/Editor/Canvas"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getIsAnonymousDataPopupVisible } from "selectors/onboardingSelectors"; import { MainContainerResizer } from "layoutSystems/common/mainContainerResizer/MainContainerResizer"; import { useMainContainerResizer } from "layoutSystems/common/mainContainerResizer/useMainContainerResizer"; diff --git a/app/client/src/pages/Editor/WidgetsEditor/components/NavigationAdjustedPageViewer.tsx b/app/client/src/pages/Editor/WidgetsEditor/components/NavigationAdjustedPageViewer.tsx index 08746e9773a9..4659fda5eadb 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/components/NavigationAdjustedPageViewer.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/components/NavigationAdjustedPageViewer.tsx @@ -1,6 +1,6 @@ import type { ReactNode } from "react"; import React from "react"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors"; import { useSelector } from "react-redux"; @@ -8,12 +8,12 @@ import { combinedPreviewModeSelector } from "selectors/editorSelectors"; import { PageViewWrapper } from "pages/AppViewer/AppPage"; import classNames from "classnames"; import { APP_MODE } from "entities/App"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import { getAppSidebarPinned, getCurrentApplication, getSidebarWidth, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import { CANVAS_VIEWPORT } from "constants/componentClassNameConstants"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; diff --git a/app/client/src/pages/Editor/WidgetsEditor/components/NavigationPreview.tsx b/app/client/src/pages/Editor/WidgetsEditor/components/NavigationPreview.tsx index 50a3186bac2c..7c942ec00098 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/components/NavigationPreview.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/components/NavigationPreview.tsx @@ -5,7 +5,7 @@ import { useSelector } from "react-redux"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; import { Navigation } from "pages/AppViewer/Navigation"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; import { getIsAppSettingsPaneWithNavigationTabOpen } from "selectors/appSettingsPaneSelectors"; /** diff --git a/app/client/src/pages/Editor/WidgetsEditor/components/WidgetEditorNavigation.tsx b/app/client/src/pages/Editor/WidgetsEditor/components/WidgetEditorNavigation.tsx index 9d71dc73c047..a80b90eaaeb7 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/components/WidgetEditorNavigation.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/components/WidgetEditorNavigation.tsx @@ -1,6 +1,6 @@ import React, { forwardRef, useEffect, useRef, useState } from "react"; import NavigationPreview from "./NavigationPreview"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; import { getAppSettingsPaneContext, @@ -8,7 +8,7 @@ import { } from "selectors/appSettingsPaneSelectors"; import { useSelector } from "react-redux"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; /** * useNavigationPreviewHeight diff --git a/app/client/src/pages/Editor/WidgetsEditor/index.tsx b/app/client/src/pages/Editor/WidgetsEditor/index.tsx index 52c57285586c..fc425ae79a8c 100644 --- a/app/client/src/pages/Editor/WidgetsEditor/index.tsx +++ b/app/client/src/pages/Editor/WidgetsEditor/index.tsx @@ -5,11 +5,11 @@ import { getCurrentPageId, getCurrentPageName, } from "selectors/editorSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import { WidgetEditorContainer } from "./WidgetEditorContainer"; import { WidgetEditorHeader } from "./WidgetEditorHeader"; import { WidgetEditorContent } from "./WidgetEditorContent"; diff --git a/app/client/src/pages/Editor/__tests__/AuthenticatedAPIErrorValidation.test.tsx b/app/client/src/pages/Editor/__tests__/AuthenticatedAPIErrorValidation.test.tsx index 9cece9d5a15c..6c1e7a0f3408 100644 --- a/app/client/src/pages/Editor/__tests__/AuthenticatedAPIErrorValidation.test.tsx +++ b/app/client/src/pages/Editor/__tests__/AuthenticatedAPIErrorValidation.test.tsx @@ -3,7 +3,7 @@ import "@testing-library/jest-dom"; import { render, screen } from "test/testUtils"; import userEvent from "@testing-library/user-event"; import FormControl from "../FormControl"; -import { createMessage, INVALID_URL } from "@appsmith/constants/messages"; +import { createMessage, INVALID_URL } from "ee/constants/messages"; import FormControlRegistry from "utils/formControl/FormControlRegistry"; import { reduxForm } from "redux-form"; diff --git a/app/client/src/pages/Editor/commons/EditorHeaderComponents.tsx b/app/client/src/pages/Editor/commons/EditorHeaderComponents.tsx index d37d9089fc64..ba8f67913cd8 100644 --- a/app/client/src/pages/Editor/commons/EditorHeaderComponents.tsx +++ b/app/client/src/pages/Editor/commons/EditorHeaderComponents.tsx @@ -1,6 +1,6 @@ import styled from "styled-components"; import { Profile } from "pages/common/ProfileImage"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; export const HeaderWrapper = styled.div` width: 100%; diff --git a/app/client/src/pages/Editor/commons/LockEntityExplorer.tsx b/app/client/src/pages/Editor/commons/LockEntityExplorer.tsx index c1c8d1d418ff..214c3a1b48e3 100644 --- a/app/client/src/pages/Editor/commons/LockEntityExplorer.tsx +++ b/app/client/src/pages/Editor/commons/LockEntityExplorer.tsx @@ -1,10 +1,10 @@ import React, { useCallback } from "react"; -import { Button, Icon, Tooltip } from "design-system"; +import { Button, Icon, Tooltip } from "@appsmith/ads"; import { CLOSE_ENTITY_EXPLORER_MESSAGE, LOCK_ENTITY_EXPLORER_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { modText } from "utils/helpers"; import classNames from "classnames"; import { diff --git a/app/client/src/pages/Editor/gitSync/DisableAutocommitModal.tsx b/app/client/src/pages/Editor/gitSync/DisableAutocommitModal.tsx index d5c3f3713fb6..ac54f35b09be 100644 --- a/app/client/src/pages/Editor/gitSync/DisableAutocommitModal.tsx +++ b/app/client/src/pages/Editor/gitSync/DisableAutocommitModal.tsx @@ -6,7 +6,7 @@ import { AUTOCOMMIT_CONFIRM_DISABLE_MESSAGE, AUTOCOMMIT_DISABLE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Button, Callout, @@ -16,14 +16,14 @@ import { ModalFooter, ModalHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; import React from "react"; import { useSelector, useDispatch } from "react-redux"; import { getIsAutocommitModalOpen, getIsAutocommitToggling, } from "selectors/gitSyncSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; function DisableAutocommitModal() { const isAutocommitModalOpen = useSelector(getIsAutocommitModalOpen); diff --git a/app/client/src/pages/Editor/gitSync/DisconnectGitModal.tsx b/app/client/src/pages/Editor/gitSync/DisconnectGitModal.tsx index 02cc758b1ebe..b48dc633117a 100644 --- a/app/client/src/pages/Editor/gitSync/DisconnectGitModal.tsx +++ b/app/client/src/pages/Editor/gitSync/DisconnectGitModal.tsx @@ -21,7 +21,7 @@ import { ModalFooter, ModalHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; import { APPLICATION_NAME, createMessage, @@ -30,8 +30,8 @@ import { GO_BACK, NONE_REVERSIBLE_MESSAGE, REVOKE, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { Space } from "./components/StyledComponents"; import { GitSettingsTab } from "reducers/uiReducers/gitSyncReducer"; diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitDefaultBranch.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitDefaultBranch.tsx index e2347acced82..0155690815d3 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitDefaultBranch.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitDefaultBranch.tsx @@ -4,17 +4,17 @@ import { DEFAULT_BRANCH_DESC, UPDATE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { updateGitDefaultBranch } from "actions/gitSyncActions"; -import { Button, Link, Option, Select, Text } from "design-system"; +import { Button, Link, Option, Select, Text } from "@appsmith/ads"; import React, { useEffect, useMemo, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { getGitBranches } from "selectors/gitSyncSelectors"; import styled from "styled-components"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useAppsmithEnterpriseLink } from "./hooks"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const Container = styled.div` padding-top: 8px; diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitProtectedBranches.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitProtectedBranches.tsx index aee7db606966..096d8b4cda5d 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitProtectedBranches.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/GitProtectedBranches.tsx @@ -5,9 +5,9 @@ import { LEARN_MORE, UPDATE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { updateGitProtectedBranchesInit } from "actions/gitSyncActions"; -import { Button, Link, Option, Select, Text } from "design-system"; +import { Button, Link, Option, Select, Text } from "@appsmith/ads"; import { xor } from "lodash"; import React, { useEffect, useMemo, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; @@ -19,10 +19,10 @@ import { } from "selectors/gitSyncSelectors"; import styled from "styled-components"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useAppsmithEnterpriseLink } from "./hooks"; import { REMOTE_BRANCH_PREFIX } from "../../constants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DOCS_BRANCH_PROTECTION_URL } from "constants/ThirdPartyConstants"; const Container = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks.ts b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks.ts index e9ed4316c47c..840cc188cb2c 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks.ts +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks.ts @@ -1,8 +1,8 @@ -import { getInstanceId } from "@appsmith/selectors/tenantSelectors"; +import { getInstanceId } from "ee/selectors/tenantSelectors"; import { useSelector } from "react-redux"; import { ENTERPRISE_PRICING_PAGE } from "constants/ThirdPartyConstants"; import { useMemo } from "react"; -import { getUserSource } from "@appsmith/utils/AnalyticsUtil"; +import { getUserSource } from "ee/utils/AnalyticsUtil"; export const useAppsmithEnterpriseLink = (feature: string) => { const instanceId = useSelector(getInstanceId); diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/index.test.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/index.test.tsx index c9d49afb1837..9d68fd7f1f3e 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/index.test.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabBranch/index.test.tsx @@ -2,7 +2,7 @@ import React from "react"; import { render, screen } from "test/testUtils"; import TabBranch from "."; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; jest.mock("../../hooks/gitPermissionHooks", () => ({ useHasManageProtectedBranchesPermission: () => false, diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/DangerZone.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/DangerZone.tsx index 25b377bc0987..d7f5a8701470 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/DangerZone.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/DangerZone.tsx @@ -7,7 +7,7 @@ import { DISCONNECT_GIT, DISCONNECT_GIT_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { setDisconnectingGitApplication, toggleAutocommitEnabledInit, @@ -15,8 +15,8 @@ import { setIsDisconnectGitModalOpen, setGitSettingsModalOpenAction, } from "actions/gitSyncActions"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { Button, Divider, Text } from "design-system"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { Button, Divider, Text } from "@appsmith/ads"; import React from "react"; import { useDispatch, useSelector } from "react-redux"; import { @@ -25,13 +25,13 @@ import { getIsAutocommitToggling, } from "selectors/gitSyncSelectors"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import { useHasConnectToGitPermission, useHasManageAutoCommitPermission, } from "../../hooks/gitPermissionHooks"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; const Container = styled.div` padding-top: 16px; diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/GitUserSettings.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/GitUserSettings.tsx index ac5af65966a8..d485852acbeb 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/GitUserSettings.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/GitUserSettings.tsx @@ -10,9 +10,9 @@ import { UPDATE, USE_DEFAULT_CONFIGURATION, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled, { keyframes } from "styled-components"; -import { Button, Input, Switch, Text } from "design-system"; +import { Button, Input, Switch, Text } from "@appsmith/ads"; import { getGlobalGitConfig, getLocalGitConfig, diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/index.test.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/index.test.tsx index 73619a6e00ad..e9134a53e654 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/index.test.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/TabGeneral/index.test.tsx @@ -2,7 +2,7 @@ import React from "react"; import { render, screen } from "test/testUtils"; import TabGeneral from "."; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; jest.mock("../../hooks/gitPermissionHooks", () => ({ useHasConnectToGitPermission: () => false, diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.test.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.test.tsx index ccead12ed88f..bf5d50fa2d86 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.test.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.test.tsx @@ -50,7 +50,7 @@ jest.mock("./TabBranch", () => { return () => null; }); -jest.mock("@appsmith/components/gitComponents/GitSettingsCDTab", () => { +jest.mock("ee/components/gitComponents/GitSettingsCDTab", () => { return () => null; }); diff --git a/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.tsx b/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.tsx index 3d1dd5063643..bfaaa76f3a14 100644 --- a/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSettingsModal/index.tsx @@ -6,7 +6,7 @@ import { import { useDispatch, useSelector } from "react-redux"; import { setGitSettingsModalOpenAction } from "actions/gitSyncActions"; -import { Modal, ModalBody, ModalContent, ModalHeader } from "design-system"; +import { Modal, ModalBody, ModalContent, ModalHeader } from "@appsmith/ads"; import styled from "styled-components"; import Menu from "../Menu"; import { GitSettingsTab } from "reducers/uiReducers/gitSyncReducer"; @@ -16,10 +16,10 @@ import { GENERAL, SETTINGS_GIT, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import TabGeneral from "./TabGeneral"; import TabBranch from "./TabBranch"; -import GitSettingsCDTab from "@appsmith/components/gitComponents/GitSettingsCDTab"; +import GitSettingsCDTab from "ee/components/gitComponents/GitSettingsCDTab"; import { useHasManageDefaultBranchPermission, useHasManageProtectedBranchesPermission, diff --git a/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV1.tsx b/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV1.tsx index daf9cef411b3..0ee3a632f580 100644 --- a/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV1.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV1.tsx @@ -7,7 +7,7 @@ import { } from "selectors/gitSyncSelectors"; import { useDispatch, useSelector } from "react-redux"; import { setIsGitSyncModalOpen } from "actions/gitSyncActions"; -import { setWorkspaceIdForImport } from "@appsmith/actions/applicationActions"; +import { setWorkspaceIdForImport } from "ee/actions/applicationActions"; import Menu from "../Menu"; import Deploy from "../Tabs/Deploy"; import Merge from "../Tabs/Merge"; @@ -15,8 +15,8 @@ import GitConnection from "../Tabs/GitConnection"; import GitErrorPopup from "../components/GitErrorPopup"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Modal, ModalContent, ModalHeader } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Modal, ModalContent, ModalHeader } from "@appsmith/ads"; import { createMessage, GIT_CONNECTION, @@ -27,7 +27,7 @@ import { MERGE_CHANGES, GIT_IMPORT, IMPORT_FROM_GIT_REPOSITORY, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { GitSyncModalTab } from "entities/GitSync"; import { getCurrentApplicationId } from "selectors/editorSelectors"; diff --git a/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV2.tsx b/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV2.tsx index 5030b00171e2..915e63aac2e7 100644 --- a/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV2.tsx +++ b/app/client/src/pages/Editor/gitSync/GitSyncModal/GitSyncModalV2.tsx @@ -8,7 +8,7 @@ import { } from "selectors/gitSyncSelectors"; import { useDispatch, useSelector } from "react-redux"; import { setIsGitSyncModalOpen } from "actions/gitSyncActions"; -import { setWorkspaceIdForImport } from "@appsmith/actions/applicationActions"; +import { setWorkspaceIdForImport } from "ee/actions/applicationActions"; import Menu from "../Menu"; import Deploy from "../Tabs/Deploy"; import Merge from "../Tabs/Merge"; @@ -21,15 +21,15 @@ import { DEPLOY, MERGE, IMPORT_APP, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Modal, ModalContent, ModalHeader } from "design-system"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Modal, ModalContent, ModalHeader } from "@appsmith/ads"; import GitConnectionV2 from "../Tabs/GitConnectionV2"; import { GitSyncModalTab } from "entities/GitSync"; import ConnectionSuccess from "../Tabs/ConnectionSuccess"; import styled from "styled-components"; import ReconnectSSHError from "../components/ReconnectSSHError"; -import { getCurrentAppGitMetaData } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentAppGitMetaData } from "ee/selectors/applicationSelectors"; import { getCurrentApplicationId } from "selectors/editorSelectors"; const StyledModalContent = styled(ModalContent)` diff --git a/app/client/src/pages/Editor/gitSync/ImportSuccessModal.tsx b/app/client/src/pages/Editor/gitSync/ImportSuccessModal.tsx index 9aa6cd56f9c1..bea5a7726bd5 100644 --- a/app/client/src/pages/Editor/gitSync/ImportSuccessModal.tsx +++ b/app/client/src/pages/Editor/gitSync/ImportSuccessModal.tsx @@ -4,7 +4,7 @@ import { createMessage, APPLICATION_IMPORT_SUCCESS, APPLICATION_IMPORT_SUCCESS_DESCRIPTION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Button, Icon, @@ -14,7 +14,7 @@ import { ModalFooter, ModalHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; const BodyContainer = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/gitSync/Menu.tsx b/app/client/src/pages/Editor/gitSync/Menu.tsx index 80d53f5c3309..3dde67ab969c 100644 --- a/app/client/src/pages/Editor/gitSync/Menu.tsx +++ b/app/client/src/pages/Editor/gitSync/Menu.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Tab, Tabs, TabsList } from "design-system"; +import { Tab, Tabs, TabsList } from "@appsmith/ads"; import styled from "styled-components"; interface Props { diff --git a/app/client/src/pages/Editor/gitSync/QuickGitActions/AutocommitStatusbar.tsx b/app/client/src/pages/Editor/gitSync/QuickGitActions/AutocommitStatusbar.tsx index ae20d753e0e0..be8245bdc679 100644 --- a/app/client/src/pages/Editor/gitSync/QuickGitActions/AutocommitStatusbar.tsx +++ b/app/client/src/pages/Editor/gitSync/QuickGitActions/AutocommitStatusbar.tsx @@ -1,10 +1,10 @@ import React, { useEffect, useState } from "react"; -import { Statusbar } from "design-system-old"; +import { Statusbar } from "@appsmith/ads-old"; import styled from "styled-components"; import { AUTOCOMMIT_IN_PROGRESS_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface AutocommitStatusbarProps { completed: boolean; diff --git a/app/client/src/pages/Editor/gitSync/QuickGitActions/BranchButton.tsx b/app/client/src/pages/Editor/gitSync/QuickGitActions/BranchButton.tsx index 0f11070f484a..ac603c19372a 100644 --- a/app/client/src/pages/Editor/gitSync/QuickGitActions/BranchButton.tsx +++ b/app/client/src/pages/Editor/gitSync/QuickGitActions/BranchButton.tsx @@ -5,7 +5,7 @@ import { useDispatch, useSelector } from "react-redux"; import { Popover2 } from "@blueprintjs/popover2"; import "@blueprintjs/popover2/lib/css/blueprint-popover2.css"; -import { getCurrentAppGitMetaData } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentAppGitMetaData } from "ee/selectors/applicationSelectors"; import BranchList from "../components/BranchList"; import { getGitStatus, @@ -14,10 +14,10 @@ import { protectedModeSelector, showBranchPopupSelector, } from "selectors/gitSyncSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { Button, Icon, Tooltip } from "design-system"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { Button, Icon, Tooltip } from "@appsmith/ads"; import { isEllipsisActive } from "utils/helpers"; -import { importRemixIcon } from "design-system-old"; +import { importRemixIcon } from "@appsmith/ads-old"; import { setShowBranchPopupAction } from "actions/gitSyncActions"; const ProtectedIcon = importRemixIcon( diff --git a/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx b/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx index 9a7f1f53dc90..b70cd6363e51 100644 --- a/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx +++ b/app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx @@ -17,7 +17,7 @@ import { NO_COMMITS_TO_PULL, NOT_LIVE_FOR_YOU_YET, PULL_CHANGES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Colors } from "constants/Colors"; import { useDispatch, useSelector } from "react-redux"; @@ -40,11 +40,11 @@ import { protectedModeSelector, } from "selectors/gitSyncSelectors"; import SpinnerLoader from "pages/common/SpinnerLoader"; -import { getTypographyByKey } from "design-system-old"; -import { Button, Icon, Tooltip } from "design-system"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getTypographyByKey } from "@appsmith/ads-old"; +import { Button, Icon, Tooltip } from "@appsmith/ads"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import AutocommitStatusbar from "./AutocommitStatusbar"; import { useHasConnectToGitPermission } from "../hooks/gitPermissionHooks"; import { GitSettingsTab } from "reducers/uiReducers/gitSyncReducer"; diff --git a/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx b/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx index 2bd647132e54..8045363c0c87 100644 --- a/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx +++ b/app/client/src/pages/Editor/gitSync/ReconnectDatasourceModal.tsx @@ -5,7 +5,7 @@ import { getIsDatasourceConfigForImportFetched, getWorkspaceIdForImport, getPageIdForImport, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { useDispatch, useSelector } from "react-redux"; import { Colors } from "constants/Colors"; @@ -21,7 +21,7 @@ import { RECONNECT_MISSING_DATASOURCE_CREDENTIALS, SKIP_CONFIGURATION, SKIP_TO_APPLICATION_TOOLTIP_DESCRIPTION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { getDatasourceLoading, getDatasourcePlugins, @@ -30,21 +30,21 @@ import { getIsListing, getIsReconnectingDatasourcesModalOpen, getUnconfiguredDatasources, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { initDatasourceConnectionDuringImportRequest, resetDatasourceConfigForImportFetchedFlag, setIsReconnectingDatasourcesModalOpen, setPageIdForImport, setWorkspaceIdForImport, -} from "@appsmith/actions/applicationActions"; +} from "ee/actions/applicationActions"; import type { Datasource } from "entities/Datasource"; import DatasourceForm from "../DataSourceEditor"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useQuery } from "../utils"; import ListItemWrapper from "./components/DatasourceListItem"; -import { findDefaultPage } from "@appsmith/sagas/ApplicationSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { findDefaultPage } from "ee/sagas/ApplicationSagas"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getOAuthAccessToken, loadFilePickerAction, @@ -58,8 +58,8 @@ import { toast, Button, Text, -} from "design-system"; -import { isEnvironmentConfigured } from "@appsmith/utils/Environments"; +} from "@appsmith/ads"; +import { isEnvironmentConfigured } from "ee/utils/Environments"; import { keyBy } from "lodash"; import type { Plugin } from "api/PluginApi"; import { @@ -69,12 +69,12 @@ import { import { areEnvironmentsFetched, getCurrentEnvironmentDetails, -} from "@appsmith/selectors/environmentSelectors"; -import type { AppState } from "@appsmith/reducers"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; -import { getApplicationsOfWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import useReconnectModalData from "@appsmith/pages/Editor/gitSync/useReconnectModalData"; -import { resetImportData } from "@appsmith/actions/workspaceActions"; +} from "ee/selectors/environmentSelectors"; +import type { AppState } from "ee/reducers"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; +import { getApplicationsOfWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import useReconnectModalData from "ee/pages/Editor/gitSync/useReconnectModalData"; +import { resetImportData } from "ee/actions/workspaceActions"; import { getLoadingTokenForDatasourceId } from "selectors/datasourceSelectors"; const Section = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/RepoLimitExceededErrorModal.tsx b/app/client/src/pages/Editor/gitSync/RepoLimitExceededErrorModal.tsx index 16210e058a61..f642a863426f 100644 --- a/app/client/src/pages/Editor/gitSync/RepoLimitExceededErrorModal.tsx +++ b/app/client/src/pages/Editor/gitSync/RepoLimitExceededErrorModal.tsx @@ -17,7 +17,7 @@ import { ModalContent, ModalHeader, Text, -} from "design-system"; +} from "@appsmith/ads"; import { Colors } from "constants/Colors"; import { CONTACT_SALES_MESSAGE_ON_INTERCOM, @@ -31,18 +31,18 @@ import { REPOSITORY_LIMIT_REACHED_INFO, REVOKE_ACCESS, REVOKE_EXISTING_REPOSITORIES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import Link from "./components/Link"; import { getCurrentApplication, getWorkspaceIdForImport, -} from "@appsmith/selectors/applicationSelectors"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/selectors/applicationSelectors"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { Space } from "./components/StyledComponents"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; -import { getApplicationsOfWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; +import { getApplicationsOfWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; const ApplicationWrapper = styled.div` margin-bottom: ${(props) => props.theme.spaces[7]}px; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/ConnectionSuccess.tsx b/app/client/src/pages/Editor/gitSync/Tabs/ConnectionSuccess.tsx index ce15366c6f97..b5c8e15c9eb2 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/ConnectionSuccess.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/ConnectionSuccess.tsx @@ -13,7 +13,7 @@ import { GIT_CONNECT_SUCCESS_DEFAULT_BRANCH, GIT_CONNECT_SUCCESS_REPO_NAME, GIT_CONNECT_SUCCESS_DEFAULT_BRANCH_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Button, Icon, @@ -22,12 +22,12 @@ import { Text, Link, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; import React, { useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; import styled from "styled-components"; -import { getCurrentAppGitMetaData } from "@appsmith/selectors/applicationSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getCurrentAppGitMetaData } from "ee/selectors/applicationSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { GitSettingsTab } from "reducers/uiReducers/gitSyncReducer"; import { DOCS_BRANCH_PROTECTION_URL } from "constants/ThirdPartyConstants"; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx b/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx index aecebd23854d..b6795e47dc1c 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/Deploy.tsx @@ -12,7 +12,7 @@ import { GIT_UPSTREAM_CHANGES, PULL_CHANGES, READ_DOCUMENTATION, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled from "styled-components"; import { Button, @@ -22,7 +22,7 @@ import { ModalFooter, Text, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; import { getConflictFoundDocUrlDeploy, getGitCommitAndPushError, @@ -41,7 +41,7 @@ import { useDispatch, useSelector } from "react-redux"; import { getCurrentAppGitMetaData, getCurrentApplication, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import DeployPreview from "../components/DeployPreview"; import { clearCommitErrorState, @@ -59,7 +59,7 @@ import GitChangesList from "../components/GitChangesList"; import ConflictInfo from "../components/ConflictInfo"; import { isEllipsisActive, isMacOrIOS } from "utils/helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getApplicationLastDeployedAt } from "selectors/editorSelectors"; import GIT_ERROR_CODES from "constants/GitErrorCodes"; import { Container, Space } from "../components/StyledComponents"; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx index 1330e37a43e8..cf59d997d499 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnection.tsx @@ -21,9 +21,9 @@ import { REMOTE_URL_INFO, REMOTE_URL_INPUT_PLACEHOLDER, UPDATE_CONFIG, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled from "styled-components"; -import { emailValidator } from "design-system-old"; +import { emailValidator } from "@appsmith/ads-old"; import UserGitProfileSettings from "../components/UserGitProfileSettings"; import { AUTH_TYPE_OPTIONS, Classes } from "../constants"; import { useDispatch, useSelector } from "react-redux"; @@ -31,7 +31,7 @@ import copy from "copy-to-clipboard"; import { getCurrentAppGitMetaData, getCurrentApplication, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { fetchGlobalGitConfigInit, fetchLocalGitConfigInit, @@ -67,8 +67,8 @@ import { Link, ModalBody, ModalFooter, -} from "design-system"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "@appsmith/ads"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { GIT_DOC_URLs, isValidGitRemoteUrl } from "../utils"; import { useGitConnect, useSSHKeyPair } from "../hooks"; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/AddDeployKey.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/AddDeployKey.tsx index 8b6ebe96fa6d..d70ac524d3ec 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/AddDeployKey.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/AddDeployKey.tsx @@ -20,10 +20,10 @@ import { Select, Text, toast, -} from "design-system"; +} from "@appsmith/ads"; import styled from "styled-components"; import { CopyButton } from "../../components/CopyButton"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { ADD_DEPLOY_KEY_STEP_TITLE, CONSENT_ADDED_DEPLOY_KEY, @@ -33,7 +33,7 @@ import { HOW_TO_ADD_DEPLOY_KEY, READ_DOCS, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useSSHKeyPair } from "../../hooks"; import type { GitProvider } from "./ChooseGitProvider"; import { GIT_DEMO_GIF } from "./constants"; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/ChooseGitProvider.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/ChooseGitProvider.tsx index be2e1158ecf8..8295558df5b9 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/ChooseGitProvider.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/ChooseGitProvider.tsx @@ -18,18 +18,18 @@ import { Radio, RadioGroup, Text, -} from "design-system"; +} from "@appsmith/ads"; import styled from "styled-components"; import { GIT_DEMO_GIF } from "./constants"; import { useDispatch, useSelector } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { setWorkspaceIdForImport } from "@appsmith/actions/applicationActions"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { setWorkspaceIdForImport } from "ee/actions/applicationActions"; import { setIsGitSyncModalOpen } from "actions/gitSyncActions"; import { GitSyncModalTab } from "entities/GitSync"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import history from "utils/history"; import noop from "lodash/noop"; -import { hasCreateNewAppPermission } from "@appsmith/utils/permissionHelpers"; +import { hasCreateNewAppPermission } from "ee/utils/permissionHelpers"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import { CHOOSE_A_GIT_PROVIDER_STEP, @@ -40,8 +40,8 @@ import { I_HAVE_EXISTING_REPO, NEED_EMPTY_REPO_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getCurrentApplicationId } from "selectors/editorSelectors"; const WellInnerContainer = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/GenerateSSH.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/GenerateSSH.tsx index 22f1f2010727..293a8daa2592 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/GenerateSSH.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/GenerateSSH.tsx @@ -16,7 +16,7 @@ import { Icon, Input, Text, -} from "design-system"; +} from "@appsmith/ads"; import { isValidGitRemoteUrl } from "../../utils"; import { COPY_SSH_URL_MESSAGE, @@ -28,7 +28,7 @@ import { READ_DOCS, REMOTE_URL_INPUT_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { GitProvider } from "./ChooseGitProvider"; import { GIT_DEMO_GIF } from "./constants"; import noop from "lodash/noop"; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/Steps.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/Steps.tsx index e702e2ce3eff..743d3d2c24a0 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/Steps.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/Steps.tsx @@ -1,4 +1,4 @@ -import { Button, Divider, Text } from "design-system"; +import { Button, Divider, Text } from "@appsmith/ads"; import noop from "lodash/noop"; import React, { Fragment } from "react"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/constants.ts b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/constants.ts index 258e9ac169df..a15001af865d 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/constants.ts +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/constants.ts @@ -1,4 +1,4 @@ -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; export const GIT_CONNECT_STEPS = { diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/index.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/index.tsx index cb6ebdd748ca..79378e85abb4 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/index.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/index.tsx @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { Button, ModalBody, ModalFooter } from "design-system"; +import { Button, ModalBody, ModalFooter } from "@appsmith/ads"; import Steps from "./Steps"; import type { GitProvider } from "./ChooseGitProvider"; import ChooseGitProvider from "./ChooseGitProvider"; @@ -22,9 +22,9 @@ import { GIT_IMPORT_WAITING, PREVIOUS_STEP, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import GitSyncStatusbar from "../../components/Statusbar"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const StyledModalBody = styled(ModalBody)` flex: 1; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/styles.tsx b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/styles.tsx index e117c4525857..34592a07e0be 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/styles.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/GitConnectionV2/styles.tsx @@ -1,4 +1,4 @@ -import { Callout, Text } from "design-system"; +import { Callout, Text } from "@appsmith/ads"; import styled from "styled-components"; export const WellContainer = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx b/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx index 8b1db446d69e..af733b478219 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx @@ -11,11 +11,11 @@ import { MERGE_CHANGES, MERGED_SUCCESSFULLY, SELECT_BRANCH_TO_MERGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled, { useTheme } from "styled-components"; import { useDispatch, useSelector } from "react-redux"; -import { getCurrentAppGitMetaData } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentAppGitMetaData } from "ee/selectors/applicationSelectors"; import { getConflictFoundDocUrlMerge, getFetchingBranches, @@ -51,8 +51,8 @@ import { Icon, ModalFooter, ModalBody, -} from "design-system"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "@appsmith/ads"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { Theme } from "constants/DefaultTheme"; const Row = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/Tabs/__tests__/ConnectionSuccess.test.tsx b/app/client/src/pages/Editor/gitSync/Tabs/__tests__/ConnectionSuccess.test.tsx index a0cd6bde2dca..2e4adb565c69 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/__tests__/ConnectionSuccess.test.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/__tests__/ConnectionSuccess.test.tsx @@ -4,7 +4,7 @@ import ConnectionSuccess from "../ConnectionSuccess"; import configureStore from "redux-mock-store"; import { Provider } from "react-redux"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { GitSettingsTab } from "reducers/uiReducers/gitSyncReducer"; import { BrowserRouter } from "react-router-dom"; import { DOCS_BRANCH_PROTECTION_URL } from "constants/ThirdPartyConstants"; diff --git a/app/client/src/pages/Editor/gitSync/Tabs/__tests__/Deploy.test.tsx b/app/client/src/pages/Editor/gitSync/Tabs/__tests__/Deploy.test.tsx index 806b9a9c54d4..c80ae11bbe83 100644 --- a/app/client/src/pages/Editor/gitSync/Tabs/__tests__/Deploy.test.tsx +++ b/app/client/src/pages/Editor/gitSync/Tabs/__tests__/Deploy.test.tsx @@ -9,7 +9,7 @@ import { commitToRepoInit, fetchGitStatusSuccess, } from "actions/gitSyncActions"; -import { COMMITTING_AND_PUSHING_CHANGES } from "@appsmith/constants/messages"; +import { COMMITTING_AND_PUSHING_CHANGES } from "ee/constants/messages"; describe("Tests for git deploy modal", () => { it("Should show progress bar for JS Library diffs", () => { diff --git a/app/client/src/pages/Editor/gitSync/components/BranchList.tsx b/app/client/src/pages/Editor/gitSync/components/BranchList.tsx index 17df237ba261..b7b7cc471769 100644 --- a/app/client/src/pages/Editor/gitSync/components/BranchList.tsx +++ b/app/client/src/pages/Editor/gitSync/components/BranchList.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useMemo, useState } from "react"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import styled, { useTheme } from "styled-components"; import { useDispatch, useSelector } from "react-redux"; @@ -29,7 +29,7 @@ import { FIND_OR_CREATE_A_BRANCH, SWITCH_BRANCHES, SYNC_BRANCHES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Icon, Spinner, @@ -37,14 +37,14 @@ import { Button, SearchInput, Text, -} from "design-system"; +} from "@appsmith/ads"; import { get } from "lodash"; import { isLocalBranch, isRemoteBranch, removeSpecialChars, } from "pages/Editor/gitSync/utils"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useActiveHoverIndex, useFilteredBranches } from "../hooks"; import { BranchListItemContainer } from "./BranchListItemContainer"; import { RemoteBranchList } from "./RemoteBranchList"; diff --git a/app/client/src/pages/Editor/gitSync/components/BranchListItem.tsx b/app/client/src/pages/Editor/gitSync/components/BranchListItem.tsx index 05cc478b1986..36b1a73d6895 100644 --- a/app/client/src/pages/Editor/gitSync/components/BranchListItem.tsx +++ b/app/client/src/pages/Editor/gitSync/components/BranchListItem.tsx @@ -4,12 +4,12 @@ import { BranchListItemContainer } from "./BranchListItemContainer"; import DefaultTag from "./DefaultTag"; import { useHover } from "../hooks"; import BranchMoreMenu from "./BranchMoreMenu"; -import { Tooltip, Text, Spinner } from "design-system"; +import { Tooltip, Text, Spinner } from "@appsmith/ads"; import { isEllipsisActive } from "utils/helpers"; import { useSelector } from "react-redux"; import { getBranchSwitchingDetails } from "selectors/gitSyncSelectors"; import styled from "styled-components"; -import { importRemixIcon } from "design-system-old"; +import { importRemixIcon } from "@appsmith/ads-old"; const ProtectedIcon = importRemixIcon( async () => import("remixicon-react/ShieldKeyholeLineIcon"), diff --git a/app/client/src/pages/Editor/gitSync/components/BranchMoreMenu.tsx b/app/client/src/pages/Editor/gitSync/components/BranchMoreMenu.tsx index 9fc38b3998a1..221160ffbf36 100644 --- a/app/client/src/pages/Editor/gitSync/components/BranchMoreMenu.tsx +++ b/app/client/src/pages/Editor/gitSync/components/BranchMoreMenu.tsx @@ -1,5 +1,5 @@ import React from "react"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { deleteBranchInit } from "actions/gitSyncActions"; import { useDispatch, useSelector } from "react-redux"; import { @@ -7,10 +7,10 @@ import { DELETE, DELETE_BRANCH_WARNING_CHECKED_OUT, DELETE_BRANCH_WARNING_DEFAULT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Dispatch } from "redux"; -import type { GitApplicationMetadata } from "@appsmith/api/ApplicationApi"; -import { getCurrentAppGitMetaData } from "@appsmith/selectors/applicationSelectors"; +import type { GitApplicationMetadata } from "ee/api/ApplicationApi"; +import { getCurrentAppGitMetaData } from "ee/selectors/applicationSelectors"; import { Button, Menu, @@ -18,7 +18,7 @@ import { MenuItem, MenuTrigger, toast, -} from "design-system"; +} from "@appsmith/ads"; interface Props { branchName: string; diff --git a/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx b/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx index ef0b0521e33c..2e7c07645465 100644 --- a/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx +++ b/app/client/src/pages/Editor/gitSync/components/ConflictInfo.tsx @@ -5,8 +5,8 @@ import { GIT_CONFLICTING_INFO, LEARN_MORE, OPEN_REPO, -} from "@appsmith/constants/messages"; -import { Button, Callout } from "design-system"; +} from "ee/constants/messages"; +import { Button, Callout } from "@appsmith/ads"; import { Space } from "./StyledComponents"; const Row = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/components/CopyButton.tsx b/app/client/src/pages/Editor/gitSync/components/CopyButton.tsx index 9a7e4560ada2..4d14a39ae889 100644 --- a/app/client/src/pages/Editor/gitSync/components/CopyButton.tsx +++ b/app/client/src/pages/Editor/gitSync/components/CopyButton.tsx @@ -1,6 +1,6 @@ import type { CSSProperties } from "react"; import React, { useRef, useState } from "react"; -import { Button, Icon, Tooltip } from "design-system"; +import { Button, Icon, Tooltip } from "@appsmith/ads"; import styled from "styled-components"; import copy from "copy-to-clipboard"; import noop from "lodash/noop"; diff --git a/app/client/src/pages/Editor/gitSync/components/CredentialMode.tsx b/app/client/src/pages/Editor/gitSync/components/CredentialMode.tsx index 9af79be6d3c9..a32476ec3436 100644 --- a/app/client/src/pages/Editor/gitSync/components/CredentialMode.tsx +++ b/app/client/src/pages/Editor/gitSync/components/CredentialMode.tsx @@ -5,13 +5,13 @@ import { FontWeight, TextType, TooltipComponent, -} from "design-system-old"; +} from "@appsmith/ads-old"; import { Colors } from "constants/Colors"; import React, { useState, useEffect, useCallback } from "react"; import styled from "styled-components"; import { CREDENTIAL_MODE } from "../constants"; import { DOCS_BASE_URL } from "constants/ThirdPartyConstants"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; const Container = styled.div` margin-top: ${(props) => props.theme.spaces[7]}px; diff --git a/app/client/src/pages/Editor/gitSync/components/DangerMenuItem.tsx b/app/client/src/pages/Editor/gitSync/components/DangerMenuItem.tsx index e298ec0d3ed6..6f0b24d3a5c1 100644 --- a/app/client/src/pages/Editor/gitSync/components/DangerMenuItem.tsx +++ b/app/client/src/pages/Editor/gitSync/components/DangerMenuItem.tsx @@ -1,5 +1,5 @@ import styled from "styled-components"; -import { MenuItem } from "design-system-old"; +import { MenuItem } from "@appsmith/ads-old"; import { Colors } from "constants/Colors"; const DangerMenuItem = styled(MenuItem)` diff --git a/app/client/src/pages/Editor/gitSync/components/DatasourceListItem.tsx b/app/client/src/pages/Editor/gitSync/components/DatasourceListItem.tsx index 9853af3beba9..697159668784 100644 --- a/app/client/src/pages/Editor/gitSync/components/DatasourceListItem.tsx +++ b/app/client/src/pages/Editor/gitSync/components/DatasourceListItem.tsx @@ -1,11 +1,11 @@ import React from "react"; -import { Text, TextType } from "design-system-old"; -import { Icon, Tooltip } from "design-system"; +import { Text, TextType } from "@appsmith/ads-old"; +import { Icon, Tooltip } from "@appsmith/ads"; import type { Datasource } from "entities/Datasource"; import styled from "styled-components"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { PluginImage } from "pages/Editor/DataSourceEditor/DSFormHeader"; -import { isEnvironmentConfigured } from "@appsmith/utils/Environments"; +import { isEnvironmentConfigured } from "ee/utils/Environments"; import type { Plugin } from "api/PluginApi"; import { isDatasourceAuthorizedForQueryCreation, diff --git a/app/client/src/pages/Editor/gitSync/components/DefaultTag.tsx b/app/client/src/pages/Editor/gitSync/components/DefaultTag.tsx index 3faf42673b61..d56c12ab43a7 100644 --- a/app/client/src/pages/Editor/gitSync/components/DefaultTag.tsx +++ b/app/client/src/pages/Editor/gitSync/components/DefaultTag.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Tag } from "design-system"; +import { Tag } from "@appsmith/ads"; export default function DefaultTag() { return ( diff --git a/app/client/src/pages/Editor/gitSync/components/DeployPreview.tsx b/app/client/src/pages/Editor/gitSync/components/DeployPreview.tsx index e3d71716621c..0feb1fc80624 100644 --- a/app/client/src/pages/Editor/gitSync/components/DeployPreview.tsx +++ b/app/client/src/pages/Editor/gitSync/components/DeployPreview.tsx @@ -10,13 +10,13 @@ import { createMessage, LATEST_DP_SUBTITLE, LATEST_DP_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import SuccessTick from "pages/common/SuccessTick"; import { howMuchTimeBeforeText } from "utils/helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { viewerURL } from "@appsmith/RouteBuilder"; -import { Link, Text } from "design-system"; -import { importSvg } from "design-system-old"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { viewerURL } from "ee/RouteBuilder"; +import { Link, Text } from "@appsmith/ads"; +import { importSvg } from "@appsmith/ads-old"; const CloudyIcon = importSvg( async () => import("assets/icons/ads/cloudy-line.svg"), diff --git a/app/client/src/pages/Editor/gitSync/components/DiscardChangesError.tsx b/app/client/src/pages/Editor/gitSync/components/DiscardChangesError.tsx index 5bee93c45b15..bfcb9bc265df 100644 --- a/app/client/src/pages/Editor/gitSync/components/DiscardChangesError.tsx +++ b/app/client/src/pages/Editor/gitSync/components/DiscardChangesError.tsx @@ -1,8 +1,8 @@ import React from "react"; import type { GitErrorType } from "reducers/uiReducers/gitSyncReducer"; import styled from "styled-components"; -import { Callout } from "design-system"; -import type { CalloutProps } from "design-system"; +import { Callout } from "@appsmith/ads"; +import type { CalloutProps } from "@appsmith/ads"; const Container = styled.div` margin: 8px 0 16px; diff --git a/app/client/src/pages/Editor/gitSync/components/DiscardChangesWarning.tsx b/app/client/src/pages/Editor/gitSync/components/DiscardChangesWarning.tsx index b899021c059c..730a419655db 100644 --- a/app/client/src/pages/Editor/gitSync/components/DiscardChangesWarning.tsx +++ b/app/client/src/pages/Editor/gitSync/components/DiscardChangesWarning.tsx @@ -3,8 +3,8 @@ import { createMessage, DISCARD_CHANGES_WARNING, DISCARD_MESSAGE, -} from "@appsmith/constants/messages"; -import { Callout, Text } from "design-system"; +} from "ee/constants/messages"; +import { Callout, Text } from "@appsmith/ads"; import styled from "styled-components"; const Container = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/components/GitChangesList/ExpandableChange.tsx b/app/client/src/pages/Editor/gitSync/components/GitChangesList/ExpandableChange.tsx index cf3f83aa91f3..8eee0232ce82 100644 --- a/app/client/src/pages/Editor/gitSync/components/GitChangesList/ExpandableChange.tsx +++ b/app/client/src/pages/Editor/gitSync/components/GitChangesList/ExpandableChange.tsx @@ -4,7 +4,7 @@ import { CollapsibleHeader, Icon, Text, -} from "design-system"; +} from "@appsmith/ads"; import React from "react"; import type { GitStatusData } from "reducers/uiReducers/gitSyncReducer"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/gitSync/components/GitChangesList/PageChanges.tsx b/app/client/src/pages/Editor/gitSync/components/GitChangesList/PageChanges.tsx index 0a088a6553eb..c45bb10a4d20 100644 --- a/app/client/src/pages/Editor/gitSync/components/GitChangesList/PageChanges.tsx +++ b/app/client/src/pages/Editor/gitSync/components/GitChangesList/PageChanges.tsx @@ -4,7 +4,7 @@ import { CollapsibleHeader, Icon, Text, -} from "design-system"; +} from "@appsmith/ads"; import React, { useMemo } from "react"; import type { GitStatusData } from "reducers/uiReducers/gitSyncReducer"; import { ExpandableChange, ExpandableChangeKind } from "./ExpandableChange"; diff --git a/app/client/src/pages/Editor/gitSync/components/GitChangesList/StaticChange.tsx b/app/client/src/pages/Editor/gitSync/components/GitChangesList/StaticChange.tsx index 66d7c6a12d8f..448426655085 100644 --- a/app/client/src/pages/Editor/gitSync/components/GitChangesList/StaticChange.tsx +++ b/app/client/src/pages/Editor/gitSync/components/GitChangesList/StaticChange.tsx @@ -1,11 +1,11 @@ import React from "react"; import type { GitStatusData } from "reducers/uiReducers/gitSyncReducer"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; import { NOT_PUSHED_YET, TRY_TO_PULL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled from "styled-components"; const TitleText = styled(Text)` diff --git a/app/client/src/pages/Editor/gitSync/components/GitChangesList/index.tsx b/app/client/src/pages/Editor/gitSync/components/GitChangesList/index.tsx index 9080e53e8a75..bbb0ee34c58b 100644 --- a/app/client/src/pages/Editor/gitSync/components/GitChangesList/index.tsx +++ b/app/client/src/pages/Editor/gitSync/components/GitChangesList/index.tsx @@ -5,7 +5,7 @@ import { getGitStatus, getIsFetchingGitStatus, } from "selectors/gitSyncSelectors"; -import { Callout } from "design-system"; +import { Callout } from "@appsmith/ads"; import { ExpandableChange, ExpandableChangeKind } from "./ExpandableChange"; import StaticChange, { StaticChangeKind } from "./StaticChange"; import PageChanges from "./PageChanges"; diff --git a/app/client/src/pages/Editor/gitSync/components/GitConnectError.tsx b/app/client/src/pages/Editor/gitSync/components/GitConnectError.tsx index 88a728d548b3..608c68633a9a 100644 --- a/app/client/src/pages/Editor/gitSync/components/GitConnectError.tsx +++ b/app/client/src/pages/Editor/gitSync/components/GitConnectError.tsx @@ -4,7 +4,7 @@ import { getConnectingErrorDocUrl, getGitConnectError, } from "selectors/gitSyncSelectors"; -import { Callout, Text } from "design-system"; +import { Callout, Text } from "@appsmith/ads"; import styled from "styled-components"; const Container = styled.div` diff --git a/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx b/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx index d1561d023eee..181714cb73b3 100644 --- a/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx +++ b/app/client/src/pages/Editor/gitSync/components/GitErrorPopup.tsx @@ -10,13 +10,13 @@ import { import { createMessage, CONFLICTS_FOUND_WHILE_PULLING_CHANGES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Space } from "./StyledComponents"; import { Colors } from "constants/Colors"; import ConflictInfo from "../components/ConflictInfo"; -import { getCurrentAppGitMetaData } from "@appsmith/selectors/applicationSelectors"; -import { Button } from "design-system"; +import { getCurrentAppGitMetaData } from "ee/selectors/applicationSelectors"; +import { Button } from "@appsmith/ads"; const StyledGitErrorPopup = styled.div` & { diff --git a/app/client/src/pages/Editor/gitSync/components/Link.tsx b/app/client/src/pages/Editor/gitSync/components/Link.tsx index 7a04db395b4a..0a3bde07c76b 100644 --- a/app/client/src/pages/Editor/gitSync/components/Link.tsx +++ b/app/client/src/pages/Editor/gitSync/components/Link.tsx @@ -1,8 +1,8 @@ import React from "react"; import { Colors } from "constants/Colors"; import styled from "styled-components"; -import { Classes, Text, Case, FontWeight, TextType } from "design-system-old"; -import { Icon } from "design-system"; +import { Classes, Text, Case, FontWeight, TextType } from "@appsmith/ads-old"; +import { Icon } from "@appsmith/ads"; const LinkText = styled.div<{ color?: string }>` cursor: pointer; diff --git a/app/client/src/pages/Editor/gitSync/components/LocalBranchList.tsx b/app/client/src/pages/Editor/gitSync/components/LocalBranchList.tsx index 89f8a7a3c5af..410cc1348271 100644 --- a/app/client/src/pages/Editor/gitSync/components/LocalBranchList.tsx +++ b/app/client/src/pages/Editor/gitSync/components/LocalBranchList.tsx @@ -1,8 +1,8 @@ import { BranchListItem } from "./BranchListItem"; import { getIsActiveItem } from "../utils"; import React from "react"; -import { createMessage, LOCAL_BRANCHES } from "@appsmith/constants/messages"; -import { Text } from "design-system"; +import { createMessage, LOCAL_BRANCHES } from "ee/constants/messages"; +import { Text } from "@appsmith/ads"; /** * LocalBranchList: returns a list of local branches diff --git a/app/client/src/pages/Editor/gitSync/components/MergeStatus.tsx b/app/client/src/pages/Editor/gitSync/components/MergeStatus.tsx index 366b3a1efb65..8f1fb7053640 100644 --- a/app/client/src/pages/Editor/gitSync/components/MergeStatus.tsx +++ b/app/client/src/pages/Editor/gitSync/components/MergeStatus.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import StatusLoader from "./StatusLoader"; -import { Icon, Text } from "design-system"; +import { Icon, Text } from "@appsmith/ads"; const Flex = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/gitSync/components/OptionSelector.tsx b/app/client/src/pages/Editor/gitSync/components/OptionSelector.tsx index 2e5342695913..c4e726246760 100644 --- a/app/client/src/pages/Editor/gitSync/components/OptionSelector.tsx +++ b/app/client/src/pages/Editor/gitSync/components/OptionSelector.tsx @@ -2,16 +2,16 @@ import React from "react"; import type { DefaultDropDownValueNodeProps, DropdownOption, -} from "design-system-old"; +} from "@appsmith/ads-old"; import { Dropdown, DropdownWrapper, DropdownContainer as DropdownComponentContainer, -} from "design-system-old"; +} from "@appsmith/ads-old"; import { Colors } from "constants/Colors"; import styled from "styled-components"; import { Classes as GitSyncClasses } from "pages/Editor/gitSync/constants"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const ChevronDown = importSvg( async () => import("assets/icons/ads/chevron-down.svg"), diff --git a/app/client/src/pages/Editor/gitSync/components/PushFailedWarning.tsx b/app/client/src/pages/Editor/gitSync/components/PushFailedWarning.tsx index c45e8f623a07..4be7ecd2c299 100644 --- a/app/client/src/pages/Editor/gitSync/components/PushFailedWarning.tsx +++ b/app/client/src/pages/Editor/gitSync/components/PushFailedWarning.tsx @@ -1,5 +1,5 @@ -import { Callout } from "design-system"; -import { Text, TextType } from "design-system-old"; +import { Callout } from "@appsmith/ads"; +import { Text, TextType } from "@appsmith/ads-old"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/pages/Editor/gitSync/components/ReconnectSSHError.tsx b/app/client/src/pages/Editor/gitSync/components/ReconnectSSHError.tsx index 7b573b77a12f..694c327cfb03 100644 --- a/app/client/src/pages/Editor/gitSync/components/ReconnectSSHError.tsx +++ b/app/client/src/pages/Editor/gitSync/components/ReconnectSSHError.tsx @@ -1,4 +1,4 @@ -import { Callout, Text, toast } from "design-system"; +import { Callout, Text, toast } from "@appsmith/ads"; import React, { useEffect, useState } from "react"; import { useDispatch } from "react-redux"; import styled from "styled-components"; @@ -12,7 +12,7 @@ import { ERROR_SSH_RECONNECT_OPTION2, NO_COPIED_SSH_KEY, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { fetchGitStatusInit } from "actions/gitSyncActions"; const NumberedList = styled.ol` diff --git a/app/client/src/pages/Editor/gitSync/components/RemoteBranchList.tsx b/app/client/src/pages/Editor/gitSync/components/RemoteBranchList.tsx index cc0d54f45593..52a3bd58733f 100644 --- a/app/client/src/pages/Editor/gitSync/components/RemoteBranchList.tsx +++ b/app/client/src/pages/Editor/gitSync/components/RemoteBranchList.tsx @@ -1,7 +1,7 @@ import { RemoteBranchListItem } from "./RemoteBranchListItem"; import React from "react"; -import { createMessage, REMOTE_BRANCHES } from "@appsmith/constants/messages"; -import { Text } from "design-system"; +import { createMessage, REMOTE_BRANCHES } from "ee/constants/messages"; +import { Text } from "@appsmith/ads"; /** * RemoteBranchList: returns a list of remote branches diff --git a/app/client/src/pages/Editor/gitSync/components/RemoteBranchListItem.tsx b/app/client/src/pages/Editor/gitSync/components/RemoteBranchListItem.tsx index 851cee8f5d80..e1f6bcbdab8a 100644 --- a/app/client/src/pages/Editor/gitSync/components/RemoteBranchListItem.tsx +++ b/app/client/src/pages/Editor/gitSync/components/RemoteBranchListItem.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { Spinner, Tooltip } from "design-system"; +import { Spinner, Tooltip } from "@appsmith/ads"; import { isEllipsisActive } from "utils/helpers"; -import { Text, TextType } from "design-system-old"; +import { Text, TextType } from "@appsmith/ads-old"; import { BranchListItemContainer } from "./BranchListItemContainer"; import { useSelector } from "react-redux"; import { getBranchSwitchingDetails } from "selectors/gitSyncSelectors"; diff --git a/app/client/src/pages/Editor/gitSync/components/StatusLoader.tsx b/app/client/src/pages/Editor/gitSync/components/StatusLoader.tsx index 075b0b2a11f6..281e39c8666f 100644 --- a/app/client/src/pages/Editor/gitSync/components/StatusLoader.tsx +++ b/app/client/src/pages/Editor/gitSync/components/StatusLoader.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; import SpinnerLoader from "pages/common/SpinnerLoader"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; const LoaderWrapper = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/gitSync/components/Statusbar.tsx b/app/client/src/pages/Editor/gitSync/components/Statusbar.tsx index a22b46c9e907..868e80406e3b 100644 --- a/app/client/src/pages/Editor/gitSync/components/Statusbar.tsx +++ b/app/client/src/pages/Editor/gitSync/components/Statusbar.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from "react"; -import { Statusbar } from "design-system-old"; +import { Statusbar } from "@appsmith/ads-old"; import styled from "styled-components"; interface StatusbarProps { diff --git a/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx b/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx index f4074deadff3..543a150f05ef 100644 --- a/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx +++ b/app/client/src/pages/Editor/gitSync/components/StyledComponents.tsx @@ -1,5 +1,5 @@ import styled from "styled-components"; -import { getTypographyByKey } from "design-system-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; export const Title = styled.p` ${getTypographyByKey("h2")}; diff --git a/app/client/src/pages/Editor/gitSync/components/TabItem.tsx b/app/client/src/pages/Editor/gitSync/components/TabItem.tsx index 6bfe0aaf8fae..598e7d1fa53f 100644 --- a/app/client/src/pages/Editor/gitSync/components/TabItem.tsx +++ b/app/client/src/pages/Editor/gitSync/components/TabItem.tsx @@ -1,8 +1,8 @@ import React from "react"; import styled from "styled-components"; import type { Theme } from "constants/DefaultTheme"; -import type { TabProp } from "design-system-old"; -import { getTypographyByKey } from "design-system-old"; +import type { TabProp } from "@appsmith/ads-old"; +import { getTypographyByKey } from "@appsmith/ads-old"; import { Colors } from "constants/Colors"; interface WrapperProps { diff --git a/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings.tsx b/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings.tsx index c56693d217c9..e4baad98eac3 100644 --- a/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings.tsx +++ b/app/client/src/pages/Editor/gitSync/components/UserGitProfileSettings.tsx @@ -8,15 +8,15 @@ import { USER_PROFILE_SETTINGS_TITLE, USE_DEFAULT_CONFIGURATION, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import styled from "styled-components"; -import { emailValidator } from "design-system-old"; +import { emailValidator } from "@appsmith/ads-old"; import { useSelector } from "react-redux"; import { getIsFetchingGlobalGitConfig, getIsFetchingLocalGitConfig, } from "selectors/gitSyncSelectors"; -import { Checkbox, Input, Text } from "design-system"; +import { Checkbox, Input, Text } from "@appsmith/ads"; const InputContainer = styled.div` display: flex; diff --git a/app/client/src/pages/Editor/gitSync/components/ssh-key/CopySSHKey.tsx b/app/client/src/pages/Editor/gitSync/components/ssh-key/CopySSHKey.tsx index 3222708db829..e327b2c5f5c9 100644 --- a/app/client/src/pages/Editor/gitSync/components/ssh-key/CopySSHKey.tsx +++ b/app/client/src/pages/Editor/gitSync/components/ssh-key/CopySSHKey.tsx @@ -1,7 +1,7 @@ import { TooltipWrapper, IconContainer } from "./StyledComponents"; -import { COPY_SSH_KEY, createMessage } from "@appsmith/constants/messages"; +import { COPY_SSH_KEY, createMessage } from "ee/constants/messages"; import React from "react"; -import { Button, Icon, Tooltip } from "design-system"; +import { Button, Icon, Tooltip } from "@appsmith/ads"; function getCopiedSuccessIcon() { return ( diff --git a/app/client/src/pages/Editor/gitSync/components/ssh-key/getConfirmMenuItem.tsx b/app/client/src/pages/Editor/gitSync/components/ssh-key/getConfirmMenuItem.tsx index 6ec5e7c86f12..c956746698d2 100644 --- a/app/client/src/pages/Editor/gitSync/components/ssh-key/getConfirmMenuItem.tsx +++ b/app/client/src/pages/Editor/gitSync/components/ssh-key/getConfirmMenuItem.tsx @@ -8,8 +8,8 @@ import { DELETE_CONFIRMATION_MODAL_TITLE, REGENERATE_KEY_CONFIRM_MESSAGE, YES, -} from "@appsmith/constants/messages"; -import { Button, MenuItem, Text } from "design-system"; +} from "ee/constants/messages"; +import { Button, MenuItem, Text } from "@appsmith/ads"; /** * getConfirmMenuItem diff --git a/app/client/src/pages/Editor/gitSync/components/ssh-key/getNotificationBanner.tsx b/app/client/src/pages/Editor/gitSync/components/ssh-key/getNotificationBanner.tsx index a1ff09baea3e..7d2a63efdac3 100644 --- a/app/client/src/pages/Editor/gitSync/components/ssh-key/getNotificationBanner.tsx +++ b/app/client/src/pages/Editor/gitSync/components/ssh-key/getNotificationBanner.tsx @@ -3,8 +3,8 @@ import { NotificationBannerContainer } from "./StyledComponents"; import { createMessage, DEPLOY_KEY_USAGE_GUIDE_MESSAGE, -} from "@appsmith/constants/messages"; -import { Callout } from "design-system"; +} from "ee/constants/messages"; +import { Callout } from "@appsmith/ads"; /** * getNotificationBanner returns a notification banner about copying the key to repo settings. diff --git a/app/client/src/pages/Editor/gitSync/components/ssh-key/index.tsx b/app/client/src/pages/Editor/gitSync/components/ssh-key/index.tsx index 54e9730bb67e..d028c8878073 100644 --- a/app/client/src/pages/Editor/gitSync/components/ssh-key/index.tsx +++ b/app/client/src/pages/Editor/gitSync/components/ssh-key/index.tsx @@ -2,10 +2,10 @@ import { createMessage, SSH_KEY, SSH_KEY_GENERATED, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import React, { useCallback, useState } from "react"; import { Space } from "pages/Editor/gitSync/components/StyledComponents"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useSSHKeyPair } from "../../hooks"; import { DeployedKeyContainer, @@ -29,7 +29,7 @@ import { Text, Icon, MenuGroupName, -} from "design-system"; +} from "@appsmith/ads"; interface KeysProps { copyToClipboard: () => void; diff --git a/app/client/src/pages/Editor/gitSync/hooks/gitPermissionHooks.ts b/app/client/src/pages/Editor/gitSync/hooks/gitPermissionHooks.ts index ea1de28e948c..fc091e492fbc 100644 --- a/app/client/src/pages/Editor/gitSync/hooks/gitPermissionHooks.ts +++ b/app/client/src/pages/Editor/gitSync/hooks/gitPermissionHooks.ts @@ -4,8 +4,8 @@ import { hasManageProtectedBranchesPermission, hasManageDefaultBranchPermission, hasManageAutoCommitPermission, -} from "@appsmith/utils/permissionHelpers"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +} from "ee/utils/permissionHelpers"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; export const useHasConnectToGitPermission = () => { const currentApplication = useSelector(getCurrentApplication); diff --git a/app/client/src/pages/Editor/gitSync/utils.test.ts b/app/client/src/pages/Editor/gitSync/utils.test.ts index 7c1b451dce78..0d19f626a96e 100644 --- a/app/client/src/pages/Editor/gitSync/utils.test.ts +++ b/app/client/src/pages/Editor/gitSync/utils.test.ts @@ -6,7 +6,7 @@ import { isValidGitRemoteUrl, removeSpecialChars, } from "./utils"; -import { ApplicationVersion } from "@appsmith/actions/applicationActions"; +import { ApplicationVersion } from "ee/actions/applicationActions"; const validUrls = [ "git@github.com:user/project.git", diff --git a/app/client/src/pages/Editor/gitSync/utils.ts b/app/client/src/pages/Editor/gitSync/utils.ts index 9f730102b250..e4ac1374dc99 100644 --- a/app/client/src/pages/Editor/gitSync/utils.ts +++ b/app/client/src/pages/Editor/gitSync/utils.ts @@ -1,8 +1,8 @@ -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; import { CHANGES_SINCE_LAST_DEPLOYMENT, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; export const getIsStartingWithRemoteBranches = ( local: string, diff --git a/app/client/src/pages/Editor/index.tsx b/app/client/src/pages/Editor/index.tsx index a349ecf58ac3..fae93566e381 100644 --- a/app/client/src/pages/Editor/index.tsx +++ b/app/client/src/pages/Editor/index.tsx @@ -4,7 +4,7 @@ import { connect } from "react-redux"; import type { RouteComponentProps } from "react-router-dom"; import { withRouter } from "react-router-dom"; import type { BuilderRouteParams } from "constants/routes"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import IDE from "./IDE"; import { getCurrentApplicationId, @@ -37,19 +37,19 @@ import { APP_MODE } from "entities/App"; import { GIT_BRANCH_QUERY_KEY } from "constants/routes"; import TemplatesModal from "pages/Templates/TemplatesModal"; import ReconnectDatasourceModal from "./gitSync/ReconnectDatasourceModal"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; import SignpostingOverlay from "pages/Editor/FirstTimeUserOnboarding/Overlay"; import { editorInitializer } from "../../utils/editor/EditorUtils"; import { widgetInitialisationSuccess } from "../../actions/widgetActions"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import DisableAutocommitModal from "./gitSync/DisableAutocommitModal"; import GitSettingsModal from "./gitSync/GitSettingsModal"; -import ReconfigureCDKeyModal from "@appsmith/components/gitComponents/ReconfigureCDKeyModal"; -import DisableCDModal from "@appsmith/components/gitComponents/DisableCDModal"; +import ReconfigureCDKeyModal from "ee/components/gitComponents/ReconfigureCDKeyModal"; +import DisableCDModal from "ee/components/gitComponents/DisableCDModal"; import { PartialExportModal } from "components/editorComponents/PartialImportExport/PartialExportModal"; import { PartialImportModal } from "components/editorComponents/PartialImportExport/PartialImportModal"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import { AppCURLImportModal } from "@appsmith/pages/Editor/CurlImport"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import { AppCURLImportModal } from "ee/pages/Editor/CurlImport"; interface EditorProps { currentApplicationId?: string; diff --git a/app/client/src/pages/Editor/loader.tsx b/app/client/src/pages/Editor/loader.tsx index f1c48f03af09..2f5e3101ecbe 100644 --- a/app/client/src/pages/Editor/loader.tsx +++ b/app/client/src/pages/Editor/loader.tsx @@ -8,7 +8,7 @@ import { getSearchQuery } from "../../utils/helpers"; import { GIT_BRANCH_QUERY_KEY } from "../../constants/routes"; import { APP_MODE } from "../../entities/App"; import type { RouteComponentProps } from "react-router"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; type Props = { initEditor: (payload: InitEditorActionPayload) => void; diff --git a/app/client/src/pages/Editor/utils.tsx b/app/client/src/pages/Editor/utils.tsx index 3d6b95cf317d..35d0df62e598 100644 --- a/app/client/src/pages/Editor/utils.tsx +++ b/app/client/src/pages/Editor/utils.tsx @@ -14,14 +14,14 @@ import WidgetFactory from "WidgetProvider/factory"; import { createMessage, WIDGET_DEPRECATION_MESSAGE, -} from "@appsmith/constants/messages"; -import type { URLBuilderParams } from "@appsmith/entities/URLRedirect/URLAssembly"; +} from "ee/constants/messages"; +import type { URLBuilderParams } from "ee/entities/URLRedirect/URLAssembly"; import { useSelector } from "react-redux"; import { getCurrentPageId } from "selectors/editorSelectors"; import type { WidgetCardProps } from "widgets/BaseWidget"; import type { ActionResponse } from "api/ActionAPI"; -import type { Module } from "@appsmith/constants/ModuleConstants"; -import { MODULE_TYPE } from "@appsmith/constants/ModuleConstants"; +import type { Module } from "ee/constants/ModuleConstants"; +import { MODULE_TYPE } from "ee/constants/ModuleConstants"; import { ENTITY_ICON_SIZE, EntityIcon, @@ -29,16 +29,16 @@ import { dbQueryIcon, } from "pages/Editor/Explorer/ExplorerIcons"; import { PluginType } from "entities/Action"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import type { Plugin } from "api/PluginApi"; import ImageAlt from "assets/images/placeholder-image.svg"; -import { Icon } from "design-system"; +import { Icon } from "@appsmith/ads"; import { EditorEntityTab, EditorEntityTabState, EditorState, EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +} from "ee/entities/IDE/constants"; import { FocusEntity } from "navigation/FocusEntity"; export const draggableElement = ( diff --git a/app/client/src/pages/Editor/widgetSidebar/SeeMoreButton.tsx b/app/client/src/pages/Editor/widgetSidebar/SeeMoreButton.tsx index f9b5d4381aee..0f394d6a5619 100644 --- a/app/client/src/pages/Editor/widgetSidebar/SeeMoreButton.tsx +++ b/app/client/src/pages/Editor/widgetSidebar/SeeMoreButton.tsx @@ -1,4 +1,4 @@ -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import React from "react"; interface Props { diff --git a/app/client/src/pages/Editor/widgetSidebar/UIEntitySidebar.tsx b/app/client/src/pages/Editor/widgetSidebar/UIEntitySidebar.tsx index 1188a6feb327..e6781d01b450 100644 --- a/app/client/src/pages/Editor/widgetSidebar/UIEntitySidebar.tsx +++ b/app/client/src/pages/Editor/widgetSidebar/UIEntitySidebar.tsx @@ -2,15 +2,15 @@ import { UI_ELEMENT_PANEL_SEARCH_TEXT, WIDGET_PANEL_EMPTY_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { ENTITY_EXPLORER_SEARCH_ID } from "constants/Explorer"; import type { WidgetCardsGroupedByTags, WidgetTags, } from "constants/WidgetConstants"; import { WIDGET_TAGS } from "constants/WidgetConstants"; -import { Flex, SearchInput, Text } from "design-system"; +import { Flex, SearchInput, Text } from "@appsmith/ads"; import Fuse from "fuse.js"; import { debounce } from "lodash"; import React, { useEffect, useMemo, useRef, useState } from "react"; diff --git a/app/client/src/pages/Editor/widgetSidebar/UIEntityTagGroup.tsx b/app/client/src/pages/Editor/widgetSidebar/UIEntityTagGroup.tsx index 311de6792d3b..15bbe4d9f979 100644 --- a/app/client/src/pages/Editor/widgetSidebar/UIEntityTagGroup.tsx +++ b/app/client/src/pages/Editor/widgetSidebar/UIEntityTagGroup.tsx @@ -10,13 +10,13 @@ import { CollapsibleHeader, Spinner, Text, -} from "design-system"; +} from "@appsmith/ads"; import { sortBy } from "lodash"; import React from "react"; import type { WidgetCardProps } from "widgets/BaseWidget"; import SeeMoreButton from "./SeeMoreButton"; import styled from "styled-components"; -import { EDITOR_PANE_TEXTS, createMessage } from "@appsmith/constants/messages"; +import { EDITOR_PANE_TEXTS, createMessage } from "ee/constants/messages"; import WidgetCard from "./WidgetCard"; const LoadingWrapper = styled.div` diff --git a/app/client/src/pages/Editor/widgetSidebar/WidgetCard.tsx b/app/client/src/pages/Editor/widgetSidebar/WidgetCard.tsx index aebbcd560faa..94dbeeef66cd 100644 --- a/app/client/src/pages/Editor/widgetSidebar/WidgetCard.tsx +++ b/app/client/src/pages/Editor/widgetSidebar/WidgetCard.tsx @@ -2,13 +2,13 @@ import React from "react"; import type { WidgetCardProps } from "widgets/BaseWidget"; import styled from "styled-components"; import { useWidgetDragResize } from "utils/hooks/dragResizeHooks"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { generateReactKey } from "utils/generators"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { BUILDING_BLOCK_EXPLORER_TYPE } from "constants/WidgetConstants"; import { useSelector } from "react-redux"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { noop } from "utils/AppsmithUtils"; export interface CardProps { @@ -132,13 +132,10 @@ function WidgetCard(props: CardProps) { widgetName: props.details.displayName, }); } - setDraggingNewWidget && setDraggingNewWidget(true, { ...props.details, - widgetId: generateReactKey({ - prefix: props.details.type === "ZONE_WIDGET" ? "zone-" : "component-", - }), + widgetId: generateReactKey(), }); }; diff --git a/app/client/src/pages/Editor/widgetSidebar/hooks.ts b/app/client/src/pages/Editor/widgetSidebar/hooks.ts index e50627acf191..a446e2d06afe 100644 --- a/app/client/src/pages/Editor/widgetSidebar/hooks.ts +++ b/app/client/src/pages/Editor/widgetSidebar/hooks.ts @@ -1,4 +1,4 @@ -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { getAllTemplates } from "actions/templateActions"; import type { WidgetTags } from "constants/WidgetConstants"; import { useEffect, useMemo, useState } from "react"; diff --git a/app/client/src/pages/Editor/widgetSidebar/tests/UIEntitySidebar.test.tsx b/app/client/src/pages/Editor/widgetSidebar/tests/UIEntitySidebar.test.tsx index 1d041fe20d28..4398e5731848 100644 --- a/app/client/src/pages/Editor/widgetSidebar/tests/UIEntitySidebar.test.tsx +++ b/app/client/src/pages/Editor/widgetSidebar/tests/UIEntitySidebar.test.tsx @@ -2,7 +2,7 @@ import React from "react"; import { UI_ELEMENT_PANEL_SEARCH_TEXT, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import "@testing-library/jest-dom"; import { fireEvent, waitFor } from "@testing-library/react"; import { WIDGET_TAGS } from "constants/WidgetConstants"; diff --git a/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx b/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx index a60336ad3ad8..3b7cd7f31fca 100644 --- a/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx +++ b/app/client/src/pages/Templates/BuildingBlock/BuildingBlock.test.tsx @@ -3,7 +3,7 @@ import "@testing-library/jest-dom"; import { render, screen, fireEvent } from "@testing-library/react"; import { ThemeProvider } from "styled-components"; import { Router } from "react-router"; -import { templateIdUrl } from "@appsmith/RouteBuilder"; +import { templateIdUrl } from "ee/RouteBuilder"; import BuildingBlock from "."; import history from "utils/history"; diff --git a/app/client/src/pages/Templates/BuildingBlock/index.tsx b/app/client/src/pages/Templates/BuildingBlock/index.tsx index f34577056c51..c9332fec06a3 100644 --- a/app/client/src/pages/Templates/BuildingBlock/index.tsx +++ b/app/client/src/pages/Templates/BuildingBlock/index.tsx @@ -7,19 +7,19 @@ import { BuildingBlockContent, BuildingBlockContentFooter, } from "./StyledComponents"; -import { Button, Text, Tooltip } from "design-system"; +import { Button, Text, Tooltip } from "@appsmith/ads"; import history from "utils/history"; import { FORK_THIS_TEMPLATE_BUILDING_BLOCK, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Position } from "@blueprintjs/core"; import { useSelector } from "react-redux"; import { activeLoadingTemplateId, isImportingTemplateToAppSelector, } from "selectors/templatesSelectors"; -import { templateIdUrl } from "@appsmith/RouteBuilder"; +import { templateIdUrl } from "ee/RouteBuilder"; import { BUILDING_BLOCK_THUMBNAIL_ALT_TEXT } from "../constants"; import ForkTemplateDialog from "../ForkTemplate"; diff --git a/app/client/src/pages/Templates/DatasourceChip.tsx b/app/client/src/pages/Templates/DatasourceChip.tsx index d7cb16ea2fca..b89d4b45f8b6 100644 --- a/app/client/src/pages/Templates/DatasourceChip.tsx +++ b/app/client/src/pages/Templates/DatasourceChip.tsx @@ -1,9 +1,9 @@ import React from "react"; import { useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { getDefaultPlugin } from "@appsmith/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; +import { getDefaultPlugin } from "ee/selectors/entitiesSelector"; import styled from "styled-components"; -import { Tag } from "design-system"; +import { Tag } from "@appsmith/ads"; const StyledDatasourceChip = styled(Tag)` .image { diff --git a/app/client/src/pages/Templates/ForkTemplate.tsx b/app/client/src/pages/Templates/ForkTemplate.tsx index 334542efdc50..59922a633610 100644 --- a/app/client/src/pages/Templates/ForkTemplate.tsx +++ b/app/client/src/pages/Templates/ForkTemplate.tsx @@ -8,7 +8,7 @@ import { ModalFooter, ModalHeader, Select, -} from "design-system"; +} from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { getForkableWorkspaces, @@ -21,7 +21,7 @@ import { createMessage, FORK_TEMPLATE, SELECT_WORKSPACE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface ForkTemplateProps { children?: ReactNode; diff --git a/app/client/src/pages/Templates/LeftPaneTemplateList.tsx b/app/client/src/pages/Templates/LeftPaneTemplateList.tsx index 2d2b288e29ac..11daca2d51d4 100644 --- a/app/client/src/pages/Templates/LeftPaneTemplateList.tsx +++ b/app/client/src/pages/Templates/LeftPaneTemplateList.tsx @@ -3,12 +3,12 @@ import { useSelector } from "react-redux"; import { useParams } from "react-router"; import { getTemplatesSelector } from "selectors/templatesSelectors"; import styled from "styled-components"; -import { Classes, Text, TextType } from "design-system-old"; +import { Classes, Text, TextType } from "@appsmith/ads-old"; import history from "utils/history"; import { thinScrollbar } from "constants/DefaultTheme"; import { Colors } from "constants/Colors"; -import { createMessage, TEMPLATES } from "@appsmith/constants/messages"; -import { templateIdUrl } from "@appsmith/RouteBuilder"; +import { createMessage, TEMPLATES } from "ee/constants/messages"; +import { templateIdUrl } from "ee/RouteBuilder"; const Wrapper = styled.div` width: ${(props) => props.theme.homePage.sidebar}px; diff --git a/app/client/src/pages/Templates/Template/RequestTemplate.tsx b/app/client/src/pages/Templates/Template/RequestTemplate.tsx index d5adee2d2761..68fce42e6d83 100644 --- a/app/client/src/pages/Templates/Template/RequestTemplate.tsx +++ b/app/client/src/pages/Templates/Template/RequestTemplate.tsx @@ -1,7 +1,7 @@ import React from "react"; import styled from "styled-components"; -import { Text, TextType } from "design-system-old"; -import { Button } from "design-system"; +import { Text, TextType } from "@appsmith/ads-old"; +import { Button } from "@appsmith/ads"; import RequestTemplateSvg from "assets/images/request-template.svg"; import { COULDNT_FIND_TEMPLATE, @@ -9,8 +9,8 @@ import { COULDNT_FIND_TEMPLATE_DESCRIPTION, REQUEST_TEMPLATE, REQUEST_BUILDING_BLOCK, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const Wrapper = styled.div` border: 1px solid var(--ads-v2-color-border); diff --git a/app/client/src/pages/Templates/Template/SimilarTemplates.tsx b/app/client/src/pages/Templates/Template/SimilarTemplates.tsx index 074ba9b01d79..ab08a0ee1359 100644 --- a/app/client/src/pages/Templates/Template/SimilarTemplates.tsx +++ b/app/client/src/pages/Templates/Template/SimilarTemplates.tsx @@ -2,9 +2,9 @@ import { createMessage, SIMILAR_TEMPLATES, VIEW_ALL_TEMPLATES, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Template as TemplateInterface } from "api/TemplatesApi"; -import { Text, Link } from "design-system"; +import { Text, Link } from "@appsmith/ads"; import React, { useCallback } from "react"; import styled from "styled-components"; import { Section } from "./TemplateDescription"; diff --git a/app/client/src/pages/Templates/Template/TemplateCard.test.tsx b/app/client/src/pages/Templates/Template/TemplateCard.test.tsx index 9f1e156d84e6..82c0f6fd393d 100644 --- a/app/client/src/pages/Templates/Template/TemplateCard.test.tsx +++ b/app/client/src/pages/Templates/Template/TemplateCard.test.tsx @@ -6,7 +6,7 @@ import { lightTheme } from "selectors/themeSelectors"; import { TemplateLayout } from "."; import { Router } from "react-router"; import history from "utils/history"; -import { templateIdUrl } from "@appsmith/RouteBuilder"; +import { templateIdUrl } from "ee/RouteBuilder"; import FixedHeightTemplate from "./FixedHeightTemplate"; import { unitTestMockTemplate } from "../test_config"; diff --git a/app/client/src/pages/Templates/Template/TemplateDescription.tsx b/app/client/src/pages/Templates/Template/TemplateDescription.tsx index 156a04b40b43..f492355625ab 100644 --- a/app/client/src/pages/Templates/Template/TemplateDescription.tsx +++ b/app/client/src/pages/Templates/Template/TemplateDescription.tsx @@ -2,7 +2,7 @@ import type { Template } from "api/TemplatesApi"; import React from "react"; import styled from "styled-components"; import DatasourceChip from "../DatasourceChip"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { createMessage, DATASOURCES, @@ -12,7 +12,7 @@ import { NOTE_MESSAGE, OVERVIEW, WIDGET_USED, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import WidgetInfo from "../WidgetInfo"; export const DescriptionWrapper = styled.div` diff --git a/app/client/src/pages/Templates/Template/index.tsx b/app/client/src/pages/Templates/Template/index.tsx index de1d8adb5fde..87127360bd53 100644 --- a/app/client/src/pages/Templates/Template/index.tsx +++ b/app/client/src/pages/Templates/Template/index.tsx @@ -2,14 +2,11 @@ import React, { useState } from "react"; import styled from "styled-components"; import history from "utils/history"; import type { Template as TemplateInterface } from "api/TemplatesApi"; -import { Button, Tooltip, Text } from "design-system"; +import { Button, Tooltip, Text } from "@appsmith/ads"; import ForkTemplateDialog from "../ForkTemplate"; import DatasourceChip from "../DatasourceChip"; -import { - createMessage, - FORK_THIS_TEMPLATE, -} from "@appsmith/constants/messages"; -import { templateIdUrl } from "@appsmith/RouteBuilder"; +import { createMessage, FORK_THIS_TEMPLATE } from "ee/constants/messages"; +import { templateIdUrl } from "ee/RouteBuilder"; import { Position } from "@blueprintjs/core"; import { activeLoadingTemplateId, diff --git a/app/client/src/pages/Templates/TemplateContent/StyledComponents.tsx b/app/client/src/pages/Templates/TemplateContent/StyledComponents.tsx index 16c42211c0a2..46d4d73c2a5c 100644 --- a/app/client/src/pages/Templates/TemplateContent/StyledComponents.tsx +++ b/app/client/src/pages/Templates/TemplateContent/StyledComponents.tsx @@ -1,5 +1,5 @@ import styled from "styled-components"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; export const Wrapper = styled.div<{ isModalLayout?: boolean }>` ${(props) => diff --git a/app/client/src/pages/Templates/TemplateContent/index.tsx b/app/client/src/pages/Templates/TemplateContent/index.tsx index c1dff5ff5cad..cae6eb0c7d7c 100644 --- a/app/client/src/pages/Templates/TemplateContent/index.tsx +++ b/app/client/src/pages/Templates/TemplateContent/index.tsx @@ -1,7 +1,7 @@ import { ADD_PAGE_FROM_TEMPLATE_MODAL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Template as TemplateInterface } from "api/TemplatesApi"; import React from "react"; import { useSelector } from "react-redux"; @@ -17,7 +17,7 @@ import { TEMPLATE_ALL_FILTER_FUNCTION_VALUE, TEMPLATE_BUILDING_BLOCKS_FILTER_FUNCTION_VALUE, } from "../constants"; -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; import { HorizontalLine, SubheadingText, diff --git a/app/client/src/pages/Templates/TemplateFilters/StyledComponents.tsx b/app/client/src/pages/Templates/TemplateFilters/StyledComponents.tsx index 38644644a9b8..67dc8b3d4e7e 100644 --- a/app/client/src/pages/Templates/TemplateFilters/StyledComponents.tsx +++ b/app/client/src/pages/Templates/TemplateFilters/StyledComponents.tsx @@ -1,5 +1,5 @@ import styled from "styled-components"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; export const FilterWrapper = styled.div` overflow: auto; @@ -65,6 +65,6 @@ export const SearchWrapper = styled.div<{ sticky?: boolean }>` z-index: 1; background-color: var(--ads-v2-color-bg); padding: var(--ads-v2-spaces-7); - margin-left: 0; + margin-left: 0; `} `; diff --git a/app/client/src/pages/Templates/TemplateFilters/TemplateFilter.test.tsx b/app/client/src/pages/Templates/TemplateFilters/TemplateFilter.test.tsx index b3a3b4789561..f46c228839a1 100644 --- a/app/client/src/pages/Templates/TemplateFilters/TemplateFilter.test.tsx +++ b/app/client/src/pages/Templates/TemplateFilters/TemplateFilter.test.tsx @@ -7,7 +7,7 @@ import { ThemeProvider } from "styled-components"; import TemplateFilters from "./index"; import { lightTheme } from "selectors/themeSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { unitTestMockTemplate, unitTestMockTemplateAllFilters, diff --git a/app/client/src/pages/Templates/TemplateFilters/index.tsx b/app/client/src/pages/Templates/TemplateFilters/index.tsx index e5e21e418e66..4345f40a3c90 100644 --- a/app/client/src/pages/Templates/TemplateFilters/index.tsx +++ b/app/client/src/pages/Templates/TemplateFilters/index.tsx @@ -1,9 +1,9 @@ -import { SEARCH_TEMPLATES, createMessage } from "@appsmith/constants/messages"; +import { SEARCH_TEMPLATES, createMessage } from "ee/constants/messages"; import { filterTemplates, setTemplateSearchQuery, } from "actions/templateActions"; -import { Icon, SearchInput } from "design-system"; +import { Icon, SearchInput } from "@appsmith/ads"; import { debounce } from "lodash"; import React, { useMemo, useEffect } from "react"; import { useDispatch, useSelector } from "react-redux"; @@ -13,7 +13,7 @@ import { getTemplateSearchQuery, isFetchingTemplatesSelector, } from "selectors/templatesSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { FilterCategoryWrapper, FilterItemText, @@ -23,7 +23,7 @@ import { SearchWrapper, StyledFilterCategory, } from "./StyledComponents"; -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; export interface Filter { label: string; diff --git a/app/client/src/pages/Templates/TemplateView.tsx b/app/client/src/pages/Templates/TemplateView.tsx index 56434dab01e5..16a56c52b9bc 100644 --- a/app/client/src/pages/Templates/TemplateView.tsx +++ b/app/client/src/pages/Templates/TemplateView.tsx @@ -14,15 +14,15 @@ import { getSimilarTemplatesInit, getTemplateInformation, } from "actions/templateActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import history from "utils/history"; import { TEMPLATES_PATH } from "constants/routes"; import { Colors } from "constants/Colors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import ReconnectDatasourceModal from "pages/Editor/gitSync/ReconnectDatasourceModal"; import TemplateDescription from "./Template/TemplateDescription"; import SimilarTemplates from "./Template/SimilarTemplates"; -import { templateIdUrl } from "@appsmith/RouteBuilder"; +import { templateIdUrl } from "ee/RouteBuilder"; import TemplateViewHeader from "./TemplateViewHeader"; import { registerEditorWidgets } from "utils/editor/EditorUtils"; diff --git a/app/client/src/pages/Templates/TemplateViewHeader.tsx b/app/client/src/pages/Templates/TemplateViewHeader.tsx index 1d377cdbb012..2dd5335e3fe0 100644 --- a/app/client/src/pages/Templates/TemplateViewHeader.tsx +++ b/app/client/src/pages/Templates/TemplateViewHeader.tsx @@ -1,11 +1,11 @@ -import { templateIdUrl } from "@appsmith/RouteBuilder"; +import { templateIdUrl } from "ee/RouteBuilder"; import { FORK_THIS_TEMPLATE, FORK_THIS_TEMPLATE_BUILDING_BLOCK, GO_BACK, createMessage, -} from "@appsmith/constants/messages"; -import { Button, Link, Text } from "design-system"; +} from "ee/constants/messages"; +import { Button, Link, Text } from "@appsmith/ads"; import { useQuery } from "pages/Editor/utils"; import React from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/pages/Templates/TemplatesLayoutWithFilters.tsx b/app/client/src/pages/Templates/TemplatesLayoutWithFilters.tsx index e630f739b723..4cc1a0cfc638 100644 --- a/app/client/src/pages/Templates/TemplatesLayoutWithFilters.tsx +++ b/app/client/src/pages/Templates/TemplatesLayoutWithFilters.tsx @@ -1,5 +1,5 @@ -import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import type { EventName } from "@appsmith/utils/analyticsUtilTypes"; +import { getIsFetchingApplications } from "ee/selectors/selectedWorkspaceSelectors"; +import type { EventName } from "ee/utils/analyticsUtilTypes"; import type { Template as TemplateInterface } from "api/TemplatesApi"; import React from "react"; import { useSelector } from "react-redux"; @@ -9,7 +9,7 @@ import { isImportingTemplateToAppSelector, } from "selectors/templatesSelectors"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { TemplateContent } from "./TemplateContent"; import TemplateFilters from "./TemplateFilters"; diff --git a/app/client/src/pages/Templates/TemplatesModal/Components/TemplateDetailedViewHeader.tsx b/app/client/src/pages/Templates/TemplatesModal/Components/TemplateDetailedViewHeader.tsx index 2de5c6d78378..b935f0c68ab4 100644 --- a/app/client/src/pages/Templates/TemplatesModal/Components/TemplateDetailedViewHeader.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/Components/TemplateDetailedViewHeader.tsx @@ -1,8 +1,5 @@ -import { - TEMPLATES_BACK_BUTTON, - createMessage, -} from "@appsmith/constants/messages"; -import { Link, Text } from "design-system"; +import { TEMPLATES_BACK_BUTTON, createMessage } from "ee/constants/messages"; +import { Link, Text } from "@appsmith/ads"; import React from "react"; interface Props { diff --git a/app/client/src/pages/Templates/TemplatesModal/Header.tsx b/app/client/src/pages/Templates/TemplatesModal/Header.tsx index c49f7ae82ac4..0e5794f300a8 100644 --- a/app/client/src/pages/Templates/TemplatesModal/Header.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/Header.tsx @@ -1,7 +1,7 @@ import { ADD_PAGE_FROM_TEMPLATE_MODAL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/pages/Templates/TemplatesModal/LoadingScreen.tsx b/app/client/src/pages/Templates/TemplatesModal/LoadingScreen.tsx index 8ba9ed824ae5..875d5a7ee165 100644 --- a/app/client/src/pages/Templates/TemplatesModal/LoadingScreen.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/LoadingScreen.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { Spinner, Text } from "design-system"; +import { Spinner, Text } from "@appsmith/ads"; const Wrapper = styled.div` height: 85vh; diff --git a/app/client/src/pages/Templates/TemplatesModal/PageSelection.tsx b/app/client/src/pages/Templates/TemplatesModal/PageSelection.tsx index fe6665d9daba..354a3750e95c 100644 --- a/app/client/src/pages/Templates/TemplatesModal/PageSelection.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/PageSelection.tsx @@ -1,4 +1,4 @@ -import type { ApplicationPagePayload } from "@appsmith/api/ApplicationApi"; +import type { ApplicationPagePayload } from "ee/api/ApplicationApi"; import { FILTER_SELECTALL, FILTER_SELECT_PAGE, @@ -6,16 +6,16 @@ import { PAGE, PAGES, createMessage, -} from "@appsmith/constants/messages"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/constants/messages"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; import { importTemplateIntoApplication } from "actions/templateActions"; import type { Template } from "api/TemplatesApi"; -import { Button, Checkbox, Divider, Icon, Text } from "design-system"; +import { Button, Checkbox, Divider, Icon, Text } from "@appsmith/ads"; import React, { useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const Wrapper = styled.div` width: 280px; diff --git a/app/client/src/pages/Templates/TemplatesModal/TemplateDetailedView.tsx b/app/client/src/pages/Templates/TemplatesModal/TemplateDetailedView.tsx index 18ddd191cab9..247769749657 100644 --- a/app/client/src/pages/Templates/TemplatesModal/TemplateDetailedView.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/TemplateDetailedView.tsx @@ -2,8 +2,8 @@ import { createMessage, FETCHING_TEMPLATES, FORKING_TEMPLATE, -} from "@appsmith/constants/messages"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/constants/messages"; +import type { AppState } from "ee/reducers"; import { getSimilarTemplatesInit, getTemplateInformation, diff --git a/app/client/src/pages/Templates/TemplatesModal/TemplateList.tsx b/app/client/src/pages/Templates/TemplatesModal/TemplateList.tsx index 081aab00d0aa..389f8125494d 100644 --- a/app/client/src/pages/Templates/TemplatesModal/TemplateList.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/TemplateList.tsx @@ -2,7 +2,7 @@ import { FETCHING_TEMPLATE_LIST, FORKING_TEMPLATE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { Template } from "api/TemplatesApi"; import React from "react"; import { useSelector } from "react-redux"; diff --git a/app/client/src/pages/Templates/TemplatesModal/TemplatesListLayoutSwitcher.tsx b/app/client/src/pages/Templates/TemplatesModal/TemplatesListLayoutSwitcher.tsx index e04258f222e3..3dd173c5472f 100644 --- a/app/client/src/pages/Templates/TemplatesModal/TemplatesListLayoutSwitcher.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/TemplatesListLayoutSwitcher.tsx @@ -1,7 +1,7 @@ -import type { EventName } from "@appsmith/utils/analyticsUtilTypes"; +import type { EventName } from "ee/utils/analyticsUtilTypes"; import type { Template as TemplateInterface } from "api/TemplatesApi"; import { CANVAS_STARTER_TEMPLATES_SEE_MORE_BUILDING_BLOCKS_PRE_FILTER } from "constants/TemplatesConstants"; -import { Flex } from "design-system"; +import { Flex } from "@appsmith/ads"; import React, { useMemo } from "react"; import styled from "styled-components"; import TemplatesLayoutWithFilters from "../TemplatesLayoutWithFilters"; diff --git a/app/client/src/pages/Templates/TemplatesModal/index.tsx b/app/client/src/pages/Templates/TemplatesModal/index.tsx index 8ae4573e5796..fb3325ed89fd 100644 --- a/app/client/src/pages/Templates/TemplatesModal/index.tsx +++ b/app/client/src/pages/Templates/TemplatesModal/index.tsx @@ -14,10 +14,10 @@ import { import { fetchDefaultPlugins } from "actions/pluginActions"; import TemplateDetailedView from "./TemplateDetailedView"; import { isEmpty } from "lodash"; -import type { AppState } from "@appsmith/reducers"; -import { Modal, ModalBody, ModalContent, ModalHeader } from "design-system"; +import type { AppState } from "ee/reducers"; +import { Modal, ModalBody, ModalContent, ModalHeader } from "@appsmith/ads"; import TemplateModalHeader from "./Header"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import TemplatesListLayoutSwitcher from "./TemplatesListLayoutSwitcher"; const ModalContentWrapper = styled(ModalContent)` diff --git a/app/client/src/pages/Templates/WidgetInfo.tsx b/app/client/src/pages/Templates/WidgetInfo.tsx index e9bb86e95002..01ca4d596e57 100644 --- a/app/client/src/pages/Templates/WidgetInfo.tsx +++ b/app/client/src/pages/Templates/WidgetInfo.tsx @@ -1,10 +1,10 @@ import React, { useMemo } from "react"; import styled from "styled-components"; import { useSelector } from "react-redux"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { IconWrapper } from "constants/IconConstants"; import { getWidgetCards } from "selectors/editorSelectors"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; const Wrapper = styled.div` display: inline-flex; diff --git a/app/client/src/pages/Templates/index.tsx b/app/client/src/pages/Templates/index.tsx index cf37347b8430..ce56f23d3037 100644 --- a/app/client/src/pages/Templates/index.tsx +++ b/app/client/src/pages/Templates/index.tsx @@ -1,9 +1,9 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import * as Sentry from "@sentry/react"; import { fetchDefaultPlugins } from "actions/pluginActions"; import { getAllTemplates, getTemplateFilters } from "actions/templateActions"; import { setHeaderMeta } from "actions/themeActions"; -import { Text } from "design-system"; +import { Text } from "@appsmith/ads"; import { isEmpty } from "lodash"; import ReconnectDatasourceModal from "pages/Editor/gitSync/ReconnectDatasourceModal"; import React, { useEffect } from "react"; @@ -16,11 +16,11 @@ import { import styled from "styled-components"; import { editorInitializer } from "utils/editor/EditorUtils"; -import { fetchAllWorkspaces } from "@appsmith/actions/workspaceActions"; +import { fetchAllWorkspaces } from "ee/actions/workspaceActions"; import TemplateFilters from "./TemplateFilters"; import { TemplateContent } from "./TemplateContent"; import TemplateView from "./TemplateView"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; const SentryRoute = Sentry.withSentryRouting(Route); diff --git a/app/client/src/pages/UserAuth/Container.tsx b/app/client/src/pages/UserAuth/Container.tsx index a0ec24365238..ba731cd980e0 100644 --- a/app/client/src/pages/UserAuth/Container.tsx +++ b/app/client/src/pages/UserAuth/Container.tsx @@ -1,10 +1,10 @@ import React from "react"; import { useSelector } from "react-redux"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import LeftSideContent from "./LeftSideContent"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import styled from "styled-components"; diff --git a/app/client/src/pages/UserAuth/FooterLinks.tsx b/app/client/src/pages/UserAuth/FooterLinks.tsx index 6abf468ed7e4..f6b8490663a5 100644 --- a/app/client/src/pages/UserAuth/FooterLinks.tsx +++ b/app/client/src/pages/UserAuth/FooterLinks.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Link } from "design-system"; +import { Link } from "@appsmith/ads"; import styled from "styled-components"; const FooterWrapper = styled.div` diff --git a/app/client/src/pages/UserAuth/ForgotPassword.tsx b/app/client/src/pages/UserAuth/ForgotPassword.tsx index fbe5705aa0b2..ea69a617148c 100644 --- a/app/client/src/pages/UserAuth/ForgotPassword.tsx +++ b/app/client/src/pages/UserAuth/ForgotPassword.tsx @@ -16,16 +16,16 @@ import { FORGOT_PASSWORD_SUCCESS_TEXT, createMessage, FORGOT_PASSWORD_PAGE_SUB_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { AUTH_LOGIN_URL } from "constants/routes"; -import { FORGOT_PASSWORD_FORM_NAME } from "@appsmith/constants/forms"; +import { FORGOT_PASSWORD_FORM_NAME } from "ee/constants/forms"; import FormTextField from "components/utils/ReduxFormTextField"; -import { FormGroup } from "design-system-old"; -import { Button, Link, Callout, Icon } from "design-system"; +import { FormGroup } from "@appsmith/ads-old"; +import { Button, Link, Callout, Icon } from "@appsmith/ads"; import { isEmail, isEmptyString } from "utils/formhelpers"; import type { ForgotPasswordFormValues } from "./helpers"; import { forgotPasswordSubmitHandler } from "./helpers"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import Container from "./Container"; const { mailEnabled } = getAppsmithConfigs(); diff --git a/app/client/src/pages/UserAuth/LeftSideContent.tsx b/app/client/src/pages/UserAuth/LeftSideContent.tsx index 16f46262f263..5f48f57249b4 100644 --- a/app/client/src/pages/UserAuth/LeftSideContent.tsx +++ b/app/client/src/pages/UserAuth/LeftSideContent.tsx @@ -1,8 +1,8 @@ -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import React from "react"; import styled from "styled-components"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; -import { Avatar } from "design-system"; +import { Avatar } from "@appsmith/ads"; const Wrapper = styled.div` width: 432px; diff --git a/app/client/src/pages/UserAuth/Login.tsx b/app/client/src/pages/UserAuth/Login.tsx index a84f458cdf1f..9f5b774cb937 100644 --- a/app/client/src/pages/UserAuth/Login.tsx +++ b/app/client/src/pages/UserAuth/Login.tsx @@ -7,7 +7,7 @@ import { LOGIN_FORM_NAME, LOGIN_FORM_EMAIL_FIELD_NAME, LOGIN_FORM_PASSWORD_FIELD_NAME, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import { FORGOT_PASSWORD_URL, SETUP, SIGN_UP_URL } from "constants/routes"; import { LOGIN_PAGE_TITLE, @@ -24,9 +24,9 @@ import { LOGIN_PAGE_INVALID_CREDS_FORGOT_PASSWORD_LINK, NEW_TO_APPSMITH, createMessage, -} from "@appsmith/constants/messages"; -import { FormGroup } from "design-system-old"; -import { Button, Link, Callout } from "design-system"; +} from "ee/constants/messages"; +import { FormGroup } from "@appsmith/ads-old"; +import { Button, Link, Callout } from "@appsmith/ads"; import FormTextField from "components/utils/ReduxFormTextField"; import ThirdPartyAuth from "pages/UserAuth/ThirdPartyAuth"; import { isEmail, isEmptyString } from "utils/formhelpers"; @@ -37,8 +37,8 @@ import { FormActions, EmailFormWrapper, } from "pages/UserAuth/StyledComponents"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { LOGIN_SUBMIT_PATH } from "@appsmith/constants/ApiConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { LOGIN_SUBMIT_PATH } from "ee/constants/ApiConstants"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; @@ -49,11 +49,11 @@ import { getThirdPartyAuths, getIsFormLoginEnabled, getTenantConfig, -} from "@appsmith/selectors/tenantSelectors"; +} from "ee/selectors/tenantSelectors"; import Helmet from "react-helmet"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHTMLPageTitle } from "@appsmith/utils/BusinessFeatures/brandingPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHTMLPageTitle } from "ee/utils/BusinessFeatures/brandingPageHelpers"; const validate = (values: LoginFormValues, props: ValidateProps) => { const errors: LoginFormValues = {}; diff --git a/app/client/src/pages/UserAuth/ResetPassword.tsx b/app/client/src/pages/UserAuth/ResetPassword.tsx index d0b0cbcb46dc..9faf4acfd376 100644 --- a/app/client/src/pages/UserAuth/ResetPassword.tsx +++ b/app/client/src/pages/UserAuth/ResetPassword.tsx @@ -1,15 +1,15 @@ import React, { useLayoutEffect } from "react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { RouteComponentProps } from "react-router-dom"; import { withRouter } from "react-router-dom"; import { connect } from "react-redux"; import type { InjectedFormProps } from "redux-form"; import { reduxForm, Field } from "redux-form"; -import { RESET_PASSWORD_FORM_NAME } from "@appsmith/constants/forms"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { RESET_PASSWORD_FORM_NAME } from "ee/constants/forms"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getIsTokenValid, getIsValidatingToken } from "selectors/authSelectors"; import FormTextField from "components/utils/ReduxFormTextField"; -import { Button, Callout, Icon, Link } from "design-system"; +import { Button, Callout, Icon, Link } from "@appsmith/ads"; import Spinner from "components/editorComponents/Spinner"; import StyledForm from "components/editorComponents/Form"; import { isEmptyString, isStrongPassword } from "utils/formhelpers"; @@ -30,9 +30,9 @@ import { RESET_PASSWORD_RESET_SUCCESS, RESET_PASSWORD_RESET_SUCCESS_LOGIN_LINK, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import Container from "./Container"; -import type { CalloutProps } from "design-system"; +import type { CalloutProps } from "@appsmith/ads"; const validate = (values: ResetPasswordFormValues) => { const errors: ResetPasswordFormValues = {}; diff --git a/app/client/src/pages/UserAuth/SignUp.tsx b/app/client/src/pages/UserAuth/SignUp.tsx index 1f443bf540d7..1fc06c51de34 100644 --- a/app/client/src/pages/UserAuth/SignUp.tsx +++ b/app/client/src/pages/UserAuth/SignUp.tsx @@ -2,7 +2,7 @@ import React, { useEffect } from "react"; import type { InjectedFormProps } from "redux-form"; import { reduxForm, formValueSelector } from "redux-form"; import { AUTH_LOGIN_URL } from "constants/routes"; -import { SIGNUP_FORM_NAME } from "@appsmith/constants/forms"; +import { SIGNUP_FORM_NAME } from "ee/constants/forms"; import type { RouteComponentProps } from "react-router-dom"; import { useHistory, useLocation, withRouter } from "react-router-dom"; import { @@ -26,25 +26,25 @@ import { GOOGLE_RECAPTCHA_KEY_ERROR, LOOKING_TO_SELF_HOST, VISIT_OUR_DOCS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import FormTextField from "components/utils/ReduxFormTextField"; import ThirdPartyAuth from "pages/UserAuth/ThirdPartyAuth"; -import { FormGroup } from "design-system-old"; -import { Button, Link, Callout } from "design-system"; +import { FormGroup } from "@appsmith/ads-old"; +import { Button, Link, Callout } from "@appsmith/ads"; import { isEmail, isStrongPassword, isEmptyString } from "utils/formhelpers"; import type { SignupFormValues } from "pages/UserAuth/helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; -import { SIGNUP_SUBMIT_PATH } from "@appsmith/constants/ApiConstants"; +import { SIGNUP_SUBMIT_PATH } from "ee/constants/ApiConstants"; import { connect, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import { SIGNUP_FORM_EMAIL_FIELD_NAME } from "@appsmith/constants/forms"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { SIGNUP_FORM_EMAIL_FIELD_NAME } from "ee/constants/forms"; +import { getAppsmithConfigs } from "ee/configs"; import { useScript, ScriptStatus, AddScriptTo } from "utils/hooks/useScript"; import { getIsSafeRedirectURL } from "utils/helpers"; @@ -53,11 +53,11 @@ import { getIsFormLoginEnabled, getTenantConfig, getThirdPartyAuths, -} from "@appsmith/selectors/tenantSelectors"; +} from "ee/selectors/tenantSelectors"; import Helmet from "react-helmet"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHTMLPageTitle } from "@appsmith/utils/BusinessFeatures/brandingPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHTMLPageTitle } from "ee/utils/BusinessFeatures/brandingPageHelpers"; import log from "loglevel"; import { SELF_HOSTING_DOC } from "constants/ThirdPartyConstants"; diff --git a/app/client/src/pages/UserAuth/StyledComponents.tsx b/app/client/src/pages/UserAuth/StyledComponents.tsx index 2df33f86eee5..597e05c32ab1 100644 --- a/app/client/src/pages/UserAuth/StyledComponents.tsx +++ b/app/client/src/pages/UserAuth/StyledComponents.tsx @@ -2,7 +2,7 @@ import styled from "styled-components"; import { Link } from "react-router-dom"; import Form from "components/editorComponents/Form"; import { Card } from "@blueprintjs/core"; -import { FormGroup, getTypographyByKey } from "design-system-old"; +import { FormGroup, getTypographyByKey } from "@appsmith/ads-old"; export const AuthContainer = styled.section` position: absolute; diff --git a/app/client/src/pages/UserAuth/ThirdPartyAuth.tsx b/app/client/src/pages/UserAuth/ThirdPartyAuth.tsx index d2f3c2b09215..41580ece9f6b 100644 --- a/app/client/src/pages/UserAuth/ThirdPartyAuth.tsx +++ b/app/client/src/pages/UserAuth/ThirdPartyAuth.tsx @@ -1,17 +1,17 @@ import React from "react"; import styled from "styled-components"; -import type { SocialLoginType } from "@appsmith/constants/SocialLogin"; -import { getSocialLoginButtonProps } from "@appsmith/utils/signupHelpers"; -import type { EventName } from "@appsmith/utils/analyticsUtilTypes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { SocialLoginType } from "ee/constants/SocialLogin"; +import { getSocialLoginButtonProps } from "ee/utils/signupHelpers"; +import type { EventName } from "ee/utils/analyticsUtilTypes"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useLocation } from "react-router-dom"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import { Button } from "design-system"; -import { isTenantConfig } from "@appsmith/utils/adminSettingsHelpers"; +import { Button } from "@appsmith/ads"; +import { isTenantConfig } from "ee/utils/adminSettingsHelpers"; import { useSelector } from "react-redux"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; const ThirdPartyAuthWrapper = styled.div` display: flex; diff --git a/app/client/src/pages/UserAuth/VerificationError.tsx b/app/client/src/pages/UserAuth/VerificationError.tsx index 3845603b15ef..d6be898c8985 100644 --- a/app/client/src/pages/UserAuth/VerificationError.tsx +++ b/app/client/src/pages/UserAuth/VerificationError.tsx @@ -1,6 +1,6 @@ import React, { useEffect } from "react"; import Container from "./Container"; -import { Button, Callout, Icon, Link, Text } from "design-system"; +import { Button, Callout, Icon, Link, Text } from "@appsmith/ads"; import { AUTH_LOGIN_URL } from "constants/routes"; import { createMessage, @@ -9,11 +9,11 @@ import { VERIFY_ERROR_ALREADY_VERIFIED_TITLE, VERIFY_ERROR_EXPIRED_TITLE, VERIFY_ERROR_MISMATCH_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { useResendEmailVerification } from "./helpers"; import type { RouteComponentProps } from "react-router-dom"; import styled from "styled-components"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; const Body = styled.div` display: flex; diff --git a/app/client/src/pages/UserAuth/VerificationPending.tsx b/app/client/src/pages/UserAuth/VerificationPending.tsx index 99440aae943a..6c98291a5b51 100644 --- a/app/client/src/pages/UserAuth/VerificationPending.tsx +++ b/app/client/src/pages/UserAuth/VerificationPending.tsx @@ -6,9 +6,9 @@ import { VERIFICATION_PENDING_NOT_YOU, VERIFICATION_PENDING_RESEND_LINK, VERIFICATION_PENDING_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { RouteComponentProps } from "react-router-dom"; -import { Button, Callout, Link, Text } from "design-system"; +import { Button, Callout, Link, Text } from "@appsmith/ads"; import styled from "styled-components"; import { AUTH_LOGIN_URL } from "constants/routes"; import { useResendEmailVerification } from "./helpers"; diff --git a/app/client/src/pages/UserAuth/VerifyUser.tsx b/app/client/src/pages/UserAuth/VerifyUser.tsx index 39ea7cd78674..03b3768d4834 100644 --- a/app/client/src/pages/UserAuth/VerifyUser.tsx +++ b/app/client/src/pages/UserAuth/VerifyUser.tsx @@ -1,9 +1,9 @@ import React, { useEffect } from "react"; import Container from "./Container"; import type { RouteComponentProps } from "react-router-dom"; -import { Spinner } from "design-system"; +import { Spinner } from "@appsmith/ads"; import * as Sentry from "@sentry/react"; -import { EMAIL_VERIFICATION_PATH } from "@appsmith/constants/ApiConstants"; +import { EMAIL_VERIFICATION_PATH } from "ee/constants/ApiConstants"; import { Redirect } from "react-router-dom"; import { VerificationErrorType } from "./VerificationError"; diff --git a/app/client/src/pages/UserAuth/helpers.ts b/app/client/src/pages/UserAuth/helpers.ts index 8bfa6acddf16..e74d970b7627 100644 --- a/app/client/src/pages/UserAuth/helpers.ts +++ b/app/client/src/pages/UserAuth/helpers.ts @@ -1,9 +1,9 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { SubmissionError } from "redux-form"; import { useCallback, useEffect, useState } from "react"; import * as Sentry from "@sentry/react"; -import UserApi from "@appsmith/api/UserApi"; -import { toast } from "design-system"; +import UserApi from "ee/api/UserApi"; +import { toast } from "@appsmith/ads"; import type { ApiResponse } from "../../api/ApiResponses"; export interface LoginFormValues { diff --git a/app/client/src/pages/UserAuth/index.tsx b/app/client/src/pages/UserAuth/index.tsx index ecc74a6e9d92..2ab6a60496a0 100644 --- a/app/client/src/pages/UserAuth/index.tsx +++ b/app/client/src/pages/UserAuth/index.tsx @@ -9,16 +9,16 @@ import * as Sentry from "@sentry/react"; import { requiresUnauth } from "./requiresAuthHOC"; import { useSelector } from "react-redux"; import { getThemeDetails, ThemeMode } from "selectors/themeSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { ThemeProvider } from "styled-components"; import VerificationPending from "./VerificationPending"; import VerifyUser from "./VerifyUser"; import VerificationError from "./VerificationError"; import FooterLinks from "./FooterLinks"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; +import { getAppsmithConfigs } from "ee/configs"; const SentryRoute = Sentry.withSentryRouting(Route); diff --git a/app/client/src/pages/UserProfile/General.tsx b/app/client/src/pages/UserProfile/General.tsx index 663186e9c17c..22a89c1b6eea 100644 --- a/app/client/src/pages/UserProfile/General.tsx +++ b/app/client/src/pages/UserProfile/General.tsx @@ -1,5 +1,5 @@ import React, { useState } from "react"; -import { Button, Input, toast, Text } from "design-system"; +import { Button, Input, toast, Text } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { getCurrentUser } from "selectors/usersSelectors"; import { forgotPasswordSubmitHandler } from "pages/UserAuth/helpers"; @@ -10,15 +10,15 @@ import { USER_DISPLAY_PICTURE_PLACEHOLDER, USER_EMAIL_PLACEHOLDER, USER_RESET_PASSWORD, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { logoutUser, updateUserDetails } from "actions/userActions"; import UserProfileImagePicker from "./UserProfileImagePicker"; import { Wrapper, FieldWrapper, LabelWrapper } from "./StyledComponents"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; import { ALL_LANGUAGE_CHARACTERS_REGEX } from "constants/Regex"; -import { createMessage } from "design-system-old"; -import { notEmptyValidator } from "design-system-old"; -import { getIsFormLoginEnabled } from "@appsmith/selectors/tenantSelectors"; +import { createMessage } from "@appsmith/ads-old"; +import { notEmptyValidator } from "@appsmith/ads-old"; +import { getIsFormLoginEnabled } from "ee/selectors/tenantSelectors"; const nameValidator = ( value: string, diff --git a/app/client/src/pages/UserProfile/GitConfig.tsx b/app/client/src/pages/UserProfile/GitConfig.tsx index 4f46f7a76e3c..1d55bad7e22c 100644 --- a/app/client/src/pages/UserProfile/GitConfig.tsx +++ b/app/client/src/pages/UserProfile/GitConfig.tsx @@ -5,16 +5,16 @@ import { AUTHOR_EMAIL, AUTHOR_NAME, SUBMIT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Classes } from "@blueprintjs/core"; -import { Button, Input, toast } from "design-system"; +import { Button, Input, toast } from "@appsmith/ads"; import { useDispatch, useSelector } from "react-redux"; import { getGlobalGitConfig, getIsFetchingGlobalGitConfig, } from "selectors/gitSyncSelectors"; import { updateGlobalGitConfigInit } from "actions/gitSyncActions"; -import { emailValidator } from "design-system-old"; +import { emailValidator } from "@appsmith/ads-old"; export default function GitConfig() { const dispatch = useDispatch(); diff --git a/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx b/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx index 43ed11c1a206..4d63ade2df23 100644 --- a/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx +++ b/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx @@ -4,12 +4,12 @@ import { useDispatch, useSelector } from "react-redux"; import { updatePhoto, removePhoto, updatePhotoId } from "actions/userActions"; import { getCurrentUser } from "selectors/usersSelectors"; import { USER_PHOTO_ASSET_URL } from "constants/userConstants"; -import { DisplayImageUpload } from "design-system-old"; +import { DisplayImageUpload } from "@appsmith/ads-old"; import type Uppy from "@uppy/core"; -import { ReduxActionErrorTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionErrorTypes } from "ee/constants/ReduxActionConstants"; import type { ErrorActionPayload } from "sagas/ErrorSagas"; -import { USER_DISPLAY_PICTURE_FILE_INVALID } from "@appsmith/constants/messages"; +import { USER_DISPLAY_PICTURE_FILE_INVALID } from "ee/constants/messages"; function FormDisplayImage() { // TODO: Fix this the next time the file is edited diff --git a/app/client/src/pages/UserProfile/index.test.tsx b/app/client/src/pages/UserProfile/index.test.tsx index c173e219e465..f9e6ffe3653d 100644 --- a/app/client/src/pages/UserProfile/index.test.tsx +++ b/app/client/src/pages/UserProfile/index.test.tsx @@ -11,7 +11,7 @@ import UserProfile from "."; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { fetchGlobalGitConfigInit } from "actions/gitSyncActions"; import Login from "pages/UserAuth/Login"; @@ -83,11 +83,6 @@ const defaultStoreState = { }, }; -jest.mock("design-system-old/build/constants/messages", () => ({ - ...jest.requireActual("design-system-old/build/constants/messages"), - createMessage: () => "", -})); - jest.mock("actions/gitSyncActions", () => ({ fetchGlobalGitConfigInit: jest.fn(), })); diff --git a/app/client/src/pages/UserProfile/index.tsx b/app/client/src/pages/UserProfile/index.tsx index 04fb12dd27f1..2cfb2fee9fb3 100644 --- a/app/client/src/pages/UserProfile/index.tsx +++ b/app/client/src/pages/UserProfile/index.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from "react"; import PageWrapper from "pages/common/PageWrapper"; import styled from "styled-components"; -import { Tabs, Tab, TabsList, TabPanel } from "design-system"; +import { Tabs, Tab, TabsList, TabPanel } from "@appsmith/ads"; import General from "./General"; import GitConfig from "./GitConfig"; import { useLocation } from "react-router"; diff --git a/app/client/src/pages/common/AvatarComponent.tsx b/app/client/src/pages/common/AvatarComponent.tsx index 3681ee2ab456..0cf0a1e36ac5 100644 --- a/app/client/src/pages/common/AvatarComponent.tsx +++ b/app/client/src/pages/common/AvatarComponent.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Avatar } from "design-system"; +import { Avatar } from "@appsmith/ads"; export interface AvatarProps { className?: string; diff --git a/app/client/src/pages/common/CustomizedDropdown/HeaderDropdownData.tsx b/app/client/src/pages/common/CustomizedDropdown/HeaderDropdownData.tsx index 4cf2777653c9..9933422acbf6 100644 --- a/app/client/src/pages/common/CustomizedDropdown/HeaderDropdownData.tsx +++ b/app/client/src/pages/common/CustomizedDropdown/HeaderDropdownData.tsx @@ -1,5 +1,5 @@ import { Directions } from "utils/helpers"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getOnSelectAction, DropdownOnSelectActions } from "./dropdownHelpers"; import type { CustomizedDropdownProps } from "./index"; import type { User } from "constants/userConstants"; diff --git a/app/client/src/pages/common/ErrorPage.tsx b/app/client/src/pages/common/ErrorPage.tsx index 9154d03e358a..113c1a6e54b5 100644 --- a/app/client/src/pages/common/ErrorPage.tsx +++ b/app/client/src/pages/common/ErrorPage.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { ERROR_CODES } from "@appsmith/constants/ApiConstants"; +import { ERROR_CODES } from "ee/constants/ApiConstants"; import PageNotFound from "pages/common/ErrorPages/PageNotFound"; import ServerTimeout from "pages/common/ErrorPages/ServerTimeout"; import ServerUnavailable from "pages/common/ErrorPages/ServerUnavailable"; diff --git a/app/client/src/pages/common/ErrorPageHeader.tsx b/app/client/src/pages/common/ErrorPageHeader.tsx index a184cc8750b3..eedbf14f9d5a 100644 --- a/app/client/src/pages/common/ErrorPageHeader.tsx +++ b/app/client/src/pages/common/ErrorPageHeader.tsx @@ -4,7 +4,7 @@ import { connect, useSelector } from "react-redux"; import { getCurrentUser } from "selectors/usersSelectors"; import styled from "styled-components"; import StyledHeader from "components/designSystems/appsmith/StyledHeader"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { User } from "constants/userConstants"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; import { AUTH_LOGIN_URL, APPLICATIONS_URL } from "constants/routes"; @@ -13,12 +13,12 @@ import ProfileDropdown from "./ProfileDropdown"; import { flushErrorsAndRedirect, flushErrors } from "actions/errorActions"; import { getSafeCrash } from "selectors/errorSelectors"; import { Indices } from "constants/Layers"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { get } from "lodash"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; const StyledPageHeader = styled(StyledHeader)` box-shadow: none; diff --git a/app/client/src/pages/common/ErrorPages/ClientError.tsx b/app/client/src/pages/common/ErrorPages/ClientError.tsx index d2ca48b15e68..40c705077eaa 100644 --- a/app/client/src/pages/common/ErrorPages/ClientError.tsx +++ b/app/client/src/pages/common/ErrorPages/ClientError.tsx @@ -1,6 +1,6 @@ import React from "react"; import { useDispatch } from "react-redux"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { flushErrors } from "actions/errorActions"; import Page from "./Page"; @@ -8,7 +8,7 @@ import { createMessage, PAGE_CLIENT_ERROR_DESCRIPTION, PAGE_CLIENT_ERROR_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { DISCORD_URL } from "constants/ThirdPartyConstants"; function ClientError() { diff --git a/app/client/src/pages/common/ErrorPages/GenericError.tsx b/app/client/src/pages/common/ErrorPages/GenericError.tsx index fd7f384f930a..d50996c7071d 100644 --- a/app/client/src/pages/common/ErrorPages/GenericError.tsx +++ b/app/client/src/pages/common/ErrorPages/GenericError.tsx @@ -1,12 +1,12 @@ import React from "react"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import Page from "./Page"; import { createMessage, PAGE_CLIENT_ERROR_DESCRIPTION, PAGE_CLIENT_ERROR_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { flushErrors } from "actions/errorActions"; import { useDispatch } from "react-redux"; import { DISCORD_URL } from "constants/ThirdPartyConstants"; diff --git a/app/client/src/pages/common/ErrorPages/Page.tsx b/app/client/src/pages/common/ErrorPages/Page.tsx index 95485eefadb0..35b90d2b4339 100644 --- a/app/client/src/pages/common/ErrorPages/Page.tsx +++ b/app/client/src/pages/common/ErrorPages/Page.tsx @@ -1,6 +1,6 @@ import React from "react"; import { useSelector } from "react-redux"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; import { getComplementaryGrayscaleColor } from "widgets/WidgetUtils"; import styled from "styled-components"; import type { PageErrorMessageProps } from "./Components/PageErrorMessage"; diff --git a/app/client/src/pages/common/ErrorPages/PageNotFound.tsx b/app/client/src/pages/common/ErrorPages/PageNotFound.tsx index 85da208690c4..2abd19aead5f 100644 --- a/app/client/src/pages/common/ErrorPages/PageNotFound.tsx +++ b/app/client/src/pages/common/ErrorPages/PageNotFound.tsx @@ -1,15 +1,15 @@ import React, { useEffect } from "react"; import { connect } from "react-redux"; import { APPLICATIONS_URL } from "constants/routes"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { flushErrorsAndRedirect } from "actions/errorActions"; import { BACK_TO_HOMEPAGE, createMessage, PAGE_NOT_FOUND, PAGE_NOT_FOUND_TITLE, -} from "@appsmith/constants/messages"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import Page from "./Page"; diff --git a/app/client/src/pages/common/ErrorPages/ServerTimeout.tsx b/app/client/src/pages/common/ErrorPages/ServerTimeout.tsx index 2570d271fa29..f827e9ccfc91 100644 --- a/app/client/src/pages/common/ErrorPages/ServerTimeout.tsx +++ b/app/client/src/pages/common/ErrorPages/ServerTimeout.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import Page from "./Page"; import { @@ -7,7 +7,7 @@ import { PAGE_SERVER_TIMEOUT_DESCRIPTION, PAGE_SERVER_TIMEOUT_ERROR_CODE, PAGE_SERVER_TIMEOUT_TITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; function ServerTimeout() { return ( diff --git a/app/client/src/pages/common/ErrorPages/ServerUnavailable.tsx b/app/client/src/pages/common/ErrorPages/ServerUnavailable.tsx index dba9b80aaa54..cf7b61980bc2 100644 --- a/app/client/src/pages/common/ErrorPages/ServerUnavailable.tsx +++ b/app/client/src/pages/common/ErrorPages/ServerUnavailable.tsx @@ -1,14 +1,14 @@ import React from "react"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import Page from "./Page"; -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; import { PAGE_SERVER_UNAVAILABLE_ERROR_MESSAGES, PAGE_SERVER_UNAVAILABLE_ERROR_CODE, PAGE_SERVER_UNAVAILABLE_TITLE, -} from "@appsmith/constants/messages"; -import { getAppsmithConfigs } from "@appsmith/configs"; +} from "ee/constants/messages"; +import { getAppsmithConfigs } from "ee/configs"; const { cloudHosting } = getAppsmithConfigs(); diff --git a/app/client/src/pages/common/ErrorPages/StackTrace.tsx b/app/client/src/pages/common/ErrorPages/StackTrace.tsx index 7db40a792c90..452313ff3724 100644 --- a/app/client/src/pages/common/ErrorPages/StackTrace.tsx +++ b/app/client/src/pages/common/ErrorPages/StackTrace.tsx @@ -1,7 +1,7 @@ import React from "react"; import { useSelector } from "react-redux"; -import { Text } from "design-system"; -import type { AppState } from "@appsmith/reducers"; +import { Text } from "@appsmith/ads"; +import type { AppState } from "ee/reducers"; import styled from "styled-components"; const StyledWrapper = styled.div` diff --git a/app/client/src/pages/common/ImportModal.tsx b/app/client/src/pages/common/ImportModal.tsx index 8d32386542c4..e5381f98ac27 100644 --- a/app/client/src/pages/common/ImportModal.tsx +++ b/app/client/src/pages/common/ImportModal.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from "react"; import React, { useCallback, useEffect } from "react"; import styled, { useTheme, css } from "styled-components"; import { useDispatch, useSelector } from "react-redux"; -import { setWorkspaceIdForImport } from "@appsmith/actions/applicationActions"; +import { setWorkspaceIdForImport } from "ee/actions/applicationActions"; import { createMessage, IMPORT_APP_FROM_FILE_MESSAGE, @@ -11,13 +11,13 @@ import { IMPORT_APP_FROM_GIT_TITLE, IMPORT_FROM_GIT_DISABLED_IN_ANVIL, UPLOADING_JSON, -} from "@appsmith/constants/messages"; -import { FilePickerV2, FileType } from "design-system-old"; +} from "ee/constants/messages"; +import { FilePickerV2, FileType } from "@appsmith/ads-old"; import { setIsGitSyncModalOpen } from "actions/gitSyncActions"; import { GitSyncModalTab } from "entities/GitSync"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import Statusbar from "pages/Editor/gitSync/components/Statusbar"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { Theme } from "constants/DefaultTheme"; import { Callout, @@ -26,9 +26,9 @@ import { ModalContent, ModalHeader, Text, -} from "design-system"; -import useMessages from "@appsmith/hooks/importModal/useMessages"; -import useMethods from "@appsmith/hooks/importModal/useMethods"; +} from "@appsmith/ads"; +import useMessages from "ee/hooks/importModal/useMessages"; +import useMethods from "ee/hooks/importModal/useMethods"; import { getIsAnvilLayoutEnabled } from "layoutSystems/anvil/integrations/selectors"; const TextWrapper = styled.div` diff --git a/app/client/src/pages/common/LoginHeader.tsx b/app/client/src/pages/common/LoginHeader.tsx index 281dda66de5e..08e4dc2e50e8 100644 --- a/app/client/src/pages/common/LoginHeader.tsx +++ b/app/client/src/pages/common/LoginHeader.tsx @@ -4,10 +4,10 @@ import { connect } from "react-redux"; import { getCurrentUser } from "selectors/usersSelectors"; import styled from "styled-components"; import StyledHeader from "components/designSystems/appsmith/StyledHeader"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { BASE_URL } from "constants/routes"; import { Colors } from "constants/Colors"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const AppsmithLogo = importSvg( async () => import("assets/svg/appsmith_logo_primary.svg"), diff --git a/app/client/src/pages/common/MobileSidebar.tsx b/app/client/src/pages/common/MobileSidebar.tsx index bd25d1bd375e..22bdb4c8ab35 100644 --- a/app/client/src/pages/common/MobileSidebar.tsx +++ b/app/client/src/pages/common/MobileSidebar.tsx @@ -1,14 +1,14 @@ import React from "react"; import styled from "styled-components"; import { Colors } from "constants/Colors"; -import { MenuItem } from "design-system-old"; -import { Text, Avatar } from "design-system"; +import { MenuItem } from "@appsmith/ads-old"; +import { Text, Avatar } from "@appsmith/ads"; import { getInitials } from "utils/AppsmithUtils"; import { DropdownOnSelectActions, getOnSelectAction, } from "./CustomizedDropdown/dropdownHelpers"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { useSelector } from "react-redux"; import { getCurrentUser } from "selectors/usersSelectors"; import { @@ -16,14 +16,14 @@ import { APPSMITH_DISPLAY_VERSION, createMessage, DOCUMENTATION, -} from "@appsmith/constants/messages"; -import { getAppsmithConfigs } from "@appsmith/configs"; +} from "ee/constants/messages"; +import { getAppsmithConfigs } from "ee/configs"; import { howMuchTimeBeforeText } from "utils/helpers"; -import { getTenantPermissions } from "@appsmith/selectors/tenantSelectors"; +import { getTenantPermissions } from "ee/selectors/tenantSelectors"; import { DISCORD_URL } from "constants/ThirdPartyConstants"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getAdminSettingsPath } from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getAdminSettingsPath } from "ee/utils/BusinessFeatures/adminSettingsHelpers"; interface MobileSideBarProps { name: string; diff --git a/app/client/src/pages/common/PageHeader.tsx b/app/client/src/pages/common/PageHeader.tsx index bbc247767cd0..1c786b6f50c9 100644 --- a/app/client/src/pages/common/PageHeader.tsx +++ b/app/client/src/pages/common/PageHeader.tsx @@ -4,18 +4,18 @@ import { connect, useDispatch, useSelector } from "react-redux"; import { getCurrentUser } from "selectors/usersSelectors"; import styled from "styled-components"; import StyledHeader from "components/designSystems/appsmith/StyledHeader"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { User } from "constants/userConstants"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import { getTemplateNotificationSeenAction } from "actions/templateActions"; -import { shouldShowLicenseBanner } from "@appsmith/selectors/tenantSelectors"; -import { Banner } from "@appsmith/utils/licenseHelpers"; +import { shouldShowLicenseBanner } from "ee/selectors/tenantSelectors"; +import { Banner } from "ee/utils/licenseHelpers"; import bootIntercom from "utils/bootIntercom"; import EntitySearchBar from "pages/common/SearchBar/EntitySearchBar"; -import { Switch, Tooltip } from "design-system"; +import { Switch, Tooltip } from "@appsmith/ads"; import { getIsAnvilLayoutEnabled } from "layoutSystems/anvil/integrations/selectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { setFeatureFlagOverrideValues } from "utils/storage"; import { updateFeatureFlagOverrideAction } from "actions/featureFlagActions"; diff --git a/app/client/src/pages/common/PageWrapper.tsx b/app/client/src/pages/common/PageWrapper.tsx index 8bd185cc61bb..b7a7ba755a47 100644 --- a/app/client/src/pages/common/PageWrapper.tsx +++ b/app/client/src/pages/common/PageWrapper.tsx @@ -5,10 +5,10 @@ import styled from "styled-components"; import { getPageTitle, getHTMLPageTitle, -} from "@appsmith/utils/BusinessFeatures/brandingPageHelpers"; +} from "ee/utils/BusinessFeatures/brandingPageHelpers"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; import { useSelector } from "react-redux"; export const Wrapper = styled.section<{ isFixed?: boolean }>` diff --git a/app/client/src/pages/common/ProfileDropdown.tsx b/app/client/src/pages/common/ProfileDropdown.tsx index e95f2ecdeb71..a253c826fe79 100644 --- a/app/client/src/pages/common/ProfileDropdown.tsx +++ b/app/client/src/pages/common/ProfileDropdown.tsx @@ -1,5 +1,5 @@ import React from "react"; -import type { CommonComponentProps } from "design-system-old"; +import type { CommonComponentProps } from "@appsmith/ads-old"; import { getInitials } from "utils/AppsmithUtils"; import { Menu, @@ -9,7 +9,7 @@ import { MenuTrigger, Text, Avatar, -} from "design-system"; +} from "@appsmith/ads"; import styled from "styled-components"; import type { PopperModifiers } from "@blueprintjs/core"; import { Classes as BlueprintClasses } from "@blueprintjs/core"; @@ -17,9 +17,9 @@ import { DropdownOnSelectActions, getOnSelectAction, } from "./CustomizedDropdown/dropdownHelpers"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { PROFILE } from "constants/routes"; -import { ACCOUNT_TOOLTIP, createMessage } from "@appsmith/constants/messages"; +import { ACCOUNT_TOOLTIP, createMessage } from "ee/constants/messages"; import type { NavigationSetting } from "constants/AppConstants"; type TagProps = CommonComponentProps & { diff --git a/app/client/src/pages/common/ProfileImage.tsx b/app/client/src/pages/common/ProfileImage.tsx index 55b7105777f9..7520a8358220 100644 --- a/app/client/src/pages/common/ProfileImage.tsx +++ b/app/client/src/pages/common/ProfileImage.tsx @@ -2,7 +2,7 @@ import React, { useContext } from "react"; import { getInitialsAndColorCode } from "utils/AppsmithUtils"; import styled, { ThemeContext } from "styled-components"; import { Colors } from "constants/Colors"; -import { Avatar } from "design-system"; +import { Avatar } from "@appsmith/ads"; export const Profile = styled.div<{ backgroundColor?: string; size?: number }>` /* width: ${(props) => props.size || 34}px; diff --git a/app/client/src/pages/common/SearchBar/ApplicationSearchItem.tsx b/app/client/src/pages/common/SearchBar/ApplicationSearchItem.tsx index 728de1d44f09..e5bc9a4ab3e5 100644 --- a/app/client/src/pages/common/SearchBar/ApplicationSearchItem.tsx +++ b/app/client/src/pages/common/SearchBar/ApplicationSearchItem.tsx @@ -1,10 +1,10 @@ -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; -import { Text } from "design-system"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; +import { Text } from "@appsmith/ads"; import React from "react"; import { SearchListItem } from "./WorkspaceSearchItems"; import styled from "styled-components"; -import type { AppIconName } from "design-system-old"; -import { AppIcon, Size } from "design-system-old"; +import type { AppIconName } from "@appsmith/ads-old"; +import { AppIcon, Size } from "@appsmith/ads-old"; import { getApplicationIcon } from "utils/AppsmithUtils"; const CircleAppIcon = styled(AppIcon)` diff --git a/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx b/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx index 2f032c2e43a3..a486aecd4e60 100644 --- a/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx +++ b/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx @@ -1,11 +1,11 @@ -import { Icon, SearchInput, Spinner, Text } from "design-system"; +import { Icon, SearchInput, Spinner, Text } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import WorkspaceSearchItems from "pages/common/SearchBar/WorkspaceSearchItems"; import ApplicationSearchItem from "pages/common/SearchBar/ApplicationSearchItem"; -import PackageSearchItem from "@appsmith/pages/common/PackageSearchItem"; -import WorkflowSearchItem from "@appsmith/pages/common/WorkflowSearchItem"; +import PackageSearchItem from "ee/pages/common/PackageSearchItem"; +import WorkflowSearchItem from "ee/pages/common/WorkflowSearchItem"; import { useRouteMatch } from "react-router"; const SearchContainer = styled.div<{ isMobile?: boolean }>` diff --git a/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx b/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx index 13fa254945c4..8d51cabd84bd 100644 --- a/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx +++ b/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx @@ -1,7 +1,7 @@ -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { APPLICATIONS_URL, AUTH_LOGIN_URL } from "constants/routes"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import React, { useCallback, useEffect, useRef, useState } from "react"; import { Link, useLocation } from "react-router-dom"; import styled from "styled-components"; @@ -10,35 +10,32 @@ import EditorButton from "components/editorComponents/Button"; import history from "utils/history"; import ProductUpdatesModal from "pages/Applications/ProductUpdatesModal"; import { useDispatch, useSelector } from "react-redux"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; import { getCurrentApplication, getCurrentApplicationIdForCreateNewApp, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; import { debounce, get } from "lodash"; import HomepageHeaderAction from "pages/common/SearchBar/HomepageHeaderAction"; import ProfileDropdown from "pages/common/ProfileDropdown"; import MobileSideBar from "pages/common/MobileSidebar"; -import { - resetSearchEntity, - searchEntities, -} from "@appsmith/actions/workspaceActions"; -import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants"; -import { viewerURL } from "@appsmith/RouteBuilder"; +import { resetSearchEntity, searchEntities } from "ee/actions/workspaceActions"; +import type { ApplicationPayload } from "ee/constants/ReduxActionConstants"; +import { viewerURL } from "ee/RouteBuilder"; import { getIsFetchingEntities, getSearchedApplications, getSearchedWorkflows, getSearchedWorkspaces, -} from "@appsmith/selectors/workspaceSelectors"; +} from "ee/selectors/workspaceSelectors"; import DesktopEntitySearchField from "pages/common/SearchBar/DesktopEntitySearchField"; import MobileEntitySearchField from "pages/common/SearchBar/MobileEntitySearchField"; -import { getPackagesList } from "@appsmith/selectors/packageSelectors"; +import { getPackagesList } from "ee/selectors/packageSelectors"; import Fuse from "fuse.js"; -import { useOutsideClick } from "@appsmith/hooks"; -import type { PageDefaultMeta } from "@appsmith/api/ApplicationApi"; +import { useOutsideClick } from "ee/hooks"; +import type { PageDefaultMeta } from "ee/api/ApplicationApi"; const HeaderSection = styled.div` display: flex; diff --git a/app/client/src/pages/common/SearchBar/HomepageHeaderAction.tsx b/app/client/src/pages/common/SearchBar/HomepageHeaderAction.tsx index aa7bfe48e8bb..5776435651f5 100644 --- a/app/client/src/pages/common/SearchBar/HomepageHeaderAction.tsx +++ b/app/client/src/pages/common/SearchBar/HomepageHeaderAction.tsx @@ -1,4 +1,4 @@ -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { ADMIN_SETTINGS, APPSMITH_DISPLAY_VERSION, @@ -7,16 +7,16 @@ import { HELP, WHATS_NEW, createMessage, -} from "@appsmith/constants/messages"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getCurrentApplicationIdForCreateNewApp } from "@appsmith/selectors/applicationSelectors"; -import { getTenantPermissions } from "@appsmith/selectors/tenantSelectors"; +} from "ee/constants/messages"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getCurrentApplicationIdForCreateNewApp } from "ee/selectors/applicationSelectors"; +import { getTenantPermissions } from "ee/selectors/tenantSelectors"; import { getAdminSettingsPath, getShowAdminSettings, -} from "@appsmith/utils/BusinessFeatures/adminSettingsHelpers"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; -import { ShowUpgradeMenuItem } from "@appsmith/utils/licenseHelpers"; +} from "ee/utils/BusinessFeatures/adminSettingsHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; +import { ShowUpgradeMenuItem } from "ee/utils/licenseHelpers"; import type { User } from "constants/userConstants"; import { Button, @@ -26,7 +26,7 @@ import { MenuSeparator, MenuTrigger, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; import React, { useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { useRouteMatch } from "react-router"; @@ -38,7 +38,7 @@ import { } from "../CustomizedDropdown/dropdownHelpers"; import { IntercomConsent } from "pages/Editor/HelpButton"; import { DOCS_BASE_URL } from "constants/ThirdPartyConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import styled from "styled-components"; const { cloudHosting, intercomAppID } = getAppsmithConfigs(); diff --git a/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx b/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx index 190aa57325aa..8ebe475480ba 100644 --- a/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx +++ b/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx @@ -1,10 +1,10 @@ -import { Button, Icon, SearchInput, Spinner, Text } from "design-system"; +import { Button, Icon, SearchInput, Spinner, Text } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; import WorkspaceSearchItems from "pages/common/SearchBar/WorkspaceSearchItems"; import ApplicationSearchItem from "pages/common/SearchBar/ApplicationSearchItem"; -import PackageSearchItem from "@appsmith/pages/common/PackageSearchItem"; -import WorkflowSearchItem from "@appsmith/pages/common/WorkflowSearchItem"; +import PackageSearchItem from "ee/pages/common/PackageSearchItem"; +import WorkflowSearchItem from "ee/pages/common/WorkflowSearchItem"; import { useRouteMatch } from "react-router"; const SearchListContainer = styled.div` diff --git a/app/client/src/pages/common/SearchBar/WorkspaceSearchItems.tsx b/app/client/src/pages/common/SearchBar/WorkspaceSearchItems.tsx index b2e4d0720ea7..d3416d9dabcb 100644 --- a/app/client/src/pages/common/SearchBar/WorkspaceSearchItems.tsx +++ b/app/client/src/pages/common/SearchBar/WorkspaceSearchItems.tsx @@ -1,5 +1,5 @@ -import type { Workspace } from "@appsmith/constants/workspaceConstants"; -import { Icon, Text } from "design-system"; +import type { Workspace } from "ee/constants/workspaceConstants"; +import { Icon, Text } from "@appsmith/ads"; import React from "react"; import { useHistory } from "react-router"; import styled from "styled-components"; diff --git a/app/client/src/pages/common/SearchSnippets.tsx b/app/client/src/pages/common/SearchSnippets.tsx index 162116aec67e..a72fbadeabe0 100644 --- a/app/client/src/pages/common/SearchSnippets.tsx +++ b/app/client/src/pages/common/SearchSnippets.tsx @@ -1,6 +1,6 @@ import React from "react"; -import { createMessage, SNIPPET_TOOLTIP } from "@appsmith/constants/messages"; -import { Button, Tooltip } from "design-system"; +import { createMessage, SNIPPET_TOOLTIP } from "ee/constants/messages"; +import { Button, Tooltip } from "@appsmith/ads"; export enum ENTITY_TYPE { ACTION = "ACTION", diff --git a/app/client/src/pages/common/SharedUserList.tsx b/app/client/src/pages/common/SharedUserList.tsx index 69f65fe8e42f..b7ff979c373d 100644 --- a/app/client/src/pages/common/SharedUserList.tsx +++ b/app/client/src/pages/common/SharedUserList.tsx @@ -2,10 +2,10 @@ import React from "react"; import { getCurrentUser } from "selectors/usersSelectors"; import { useSelector } from "react-redux"; import styled from "styled-components"; -import { AvatarGroup } from "design-system"; +import { AvatarGroup } from "@appsmith/ads"; import { useIsMobileDevice } from "utils/hooks/useDeviceDetect"; import { USER_PHOTO_ASSET_URL } from "constants/userConstants"; -import { getAllUsersOfWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getAllUsersOfWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; const UserImageContainer = styled.div<{ isMobile?: boolean }>` display: flex; diff --git a/app/client/src/pages/common/SpinnerLoader.tsx b/app/client/src/pages/common/SpinnerLoader.tsx index 3e4c1c28f99d..596bd96343c5 100644 --- a/app/client/src/pages/common/SpinnerLoader.tsx +++ b/app/client/src/pages/common/SpinnerLoader.tsx @@ -1,6 +1,6 @@ import React from "react"; -import type { SpinnerProps } from "design-system"; -import { Spinner } from "design-system"; +import type { SpinnerProps } from "@appsmith/ads"; +import { Spinner } from "@appsmith/ads"; type Props = SpinnerProps; diff --git a/app/client/src/pages/common/SuccessTick.tsx b/app/client/src/pages/common/SuccessTick.tsx index d423dd50a0f5..b77d82a377a2 100644 --- a/app/client/src/pages/common/SuccessTick.tsx +++ b/app/client/src/pages/common/SuccessTick.tsx @@ -1,7 +1,7 @@ import type { CSSProperties } from "styled-components"; import styled from "styled-components"; import React from "react"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const CheckmarkSvg = importSvg(async () => import("assets/svg/checkmark.svg")); diff --git a/app/client/src/pages/common/ThemeSwitcher.tsx b/app/client/src/pages/common/ThemeSwitcher.tsx index b2aea09f07fb..b069de87763b 100644 --- a/app/client/src/pages/common/ThemeSwitcher.tsx +++ b/app/client/src/pages/common/ThemeSwitcher.tsx @@ -1,7 +1,7 @@ import React, { useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { setThemeMode } from "actions/themeActions"; -import { MenuItem, RectangularSwitcher } from "design-system-old"; +import { MenuItem, RectangularSwitcher } from "@appsmith/ads-old"; import { getCurrentThemeMode, ThemeMode } from "selectors/themeSelectors"; export default function ThemeSwitcher(props: { className?: string }) { diff --git a/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx b/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx index 0be32095a3cd..996d9ae92085 100644 --- a/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx +++ b/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx @@ -1,7 +1,7 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { redirectAuthorizationCode } from "actions/datasourceActions"; -import type { CalloutKind } from "design-system"; -import { Callout } from "design-system"; +import type { CalloutKind } from "@appsmith/ads"; +import { Callout } from "@appsmith/ads"; import type { Datasource } from "entities/Datasource"; import { ActionType } from "entities/Datasource"; import React from "react"; @@ -9,7 +9,7 @@ import { useDispatch, useSelector } from "react-redux"; import { getPlugin, getPluginTypeFromDatasourceId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import styled from "styled-components"; import { GOOGLE_SHEETS_AUTHORIZE_DATASOURCE, @@ -17,8 +17,8 @@ import { createMessage, GOOGLE_SHEETS_ASK_FOR_SUPPORT, DATASOURCE_INTERCOM_TEXT, -} from "@appsmith/constants/messages"; -import { getAppsmithConfigs } from "@appsmith/configs"; +} from "ee/constants/messages"; +import { getAppsmithConfigs } from "ee/configs"; import { DocsLink, openDoc } from "constants/DocumentationLinks"; import type { Plugin } from "api/PluginApi"; const { intercomAppID } = getAppsmithConfigs(); diff --git a/app/client/src/pages/common/datasourceAuth/index.tsx b/app/client/src/pages/common/datasourceAuth/index.tsx index dfd6a069bea4..4dc37254dc39 100644 --- a/app/client/src/pages/common/datasourceAuth/index.tsx +++ b/app/client/src/pages/common/datasourceAuth/index.tsx @@ -10,7 +10,7 @@ import { toggleSaveActionFlag, updateDatasourceAuthState, } from "actions/datasourceActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import { useLocation, useHistory } from "react-router"; import type { Datasource } from "entities/Datasource"; @@ -24,8 +24,8 @@ import { SAVE_BUTTON_TEXT, TEST_BUTTON_TEXT, createMessage, -} from "@appsmith/constants/messages"; -import { Button, toast } from "design-system"; +} from "ee/constants/messages"; +import { Button, toast } from "@appsmith/ads"; import type { ClientCredentials } from "entities/Datasource/RestAPIForm"; import { GrantType, @@ -33,16 +33,16 @@ import { } from "entities/Datasource/RestAPIForm"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import { INTEGRATION_TABS, SHOW_FILE_PICKER_KEY } from "constants/routes"; -import { integrationEditorURL } from "@appsmith/RouteBuilder"; +import { integrationEditorURL } from "ee/RouteBuilder"; import { getQueryParams } from "utils/URLUtils"; import type { AppsmithLocationState } from "utils/history"; import type { PluginType } from "entities/Action"; -import { getCurrentEnvironmentDetails } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEnvironmentDetails } from "ee/selectors/environmentSelectors"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { getHasManageDatasourcePermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { getHasManageDatasourcePermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { resetCurrentPluginIdForCreateNewApp } from "actions/onboardingActions"; -import { useParentEntityDetailsFromParams } from "@appsmith/entities/Engine/actionHelpers"; +import { useParentEntityDetailsFromParams } from "ee/entities/Engine/actionHelpers"; interface Props { datasource: Datasource; diff --git a/app/client/src/pages/setup/DetailsForm.tsx b/app/client/src/pages/setup/DetailsForm.tsx index 2b3e5d01b3e4..bf7f018e430e 100644 --- a/app/client/src/pages/setup/DetailsForm.tsx +++ b/app/client/src/pages/setup/DetailsForm.tsx @@ -14,13 +14,13 @@ import { PRODUCT_UPDATES_CONFIRMATION_LABEL, WELCOME_FORM_NON_SUPER_USER_USE_CASE, WELCOME_FORM_NON_SUPER_USER_PROFICIENCY_LEVEL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import FormTextField from "components/utils/ReduxFormTextField"; import type { FormErrors, InjectedFormProps } from "redux-form"; -import { FormGroup } from "design-system-old"; -import { Button, Checkbox } from "design-system"; +import { FormGroup } from "@appsmith/ads-old"; +import { Button, Checkbox } from "@appsmith/ads"; import { proficiencyOptions, useCaseOptions } from "./constants"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { setFirstTimeUserOnboardingTelemetryCalloutVisibility } from "utils/storage"; import RadioButtonGroup from "components/editorComponents/RadioButtonGroup"; import { Space } from "./NonSuperUserProfilingQuestions"; diff --git a/app/client/src/pages/setup/NonSuperUserProfilingQuestions.tsx b/app/client/src/pages/setup/NonSuperUserProfilingQuestions.tsx index a24723d42097..c4e8fcfafc4b 100644 --- a/app/client/src/pages/setup/NonSuperUserProfilingQuestions.tsx +++ b/app/client/src/pages/setup/NonSuperUserProfilingQuestions.tsx @@ -1,10 +1,10 @@ import React from "react"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import { WELCOME_FORM_USECASE_FIELD_NAME, WELCOME_NON_SUPER_FORM_NAME, WELCOME_FORM_PROFICIENCY_LEVEL, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import { createMessage, WELCOME_ACTION, @@ -12,9 +12,9 @@ import { WELCOME_FORM_NON_SUPER_USER_PROFICIENCY_LEVEL, WELCOME_FORM_PROFICIENCY_ERROR_MESSAGE, WELCOME_FORM_USE_CASE_ERROR_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { InjectedFormProps } from "redux-form"; import { Field, formValueSelector, reduxForm } from "redux-form"; import styled from "styled-components"; diff --git a/app/client/src/pages/setup/SetupForm.tsx b/app/client/src/pages/setup/SetupForm.tsx index 6b649e6bb55d..1c54ce265b8a 100644 --- a/app/client/src/pages/setup/SetupForm.tsx +++ b/app/client/src/pages/setup/SetupForm.tsx @@ -11,14 +11,14 @@ import { WELCOME_FORM_PASSWORD_FIELD_NAME, WELCOME_FORM_VERIFY_PASSWORD_FIELD_NAME, WELCOME_FORM_PROFICIENCY_LEVEL, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import type { FormErrors } from "redux-form"; import { formValueSelector, getFormSyncErrors, reduxForm } from "redux-form"; import { isEmail, isStrongPassword } from "utils/formhelpers"; -import type { AppState } from "@appsmith/reducers"; -import { SUPER_USER_SUBMIT_PATH } from "@appsmith/constants/ApiConstants"; +import type { AppState } from "ee/reducers"; +import { SUPER_USER_SUBMIT_PATH } from "ee/constants/ApiConstants"; import { useState } from "react"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { WELCOME_FORM_USE_CASE_ERROR_MESSAGE, WELCOME_FORM_EMAIL_ERROR_MESSAGE, @@ -27,7 +27,7 @@ import { WELCOME_FORM_GENERIC_ERROR_MESSAGE, WELCOME_FORM_PASSWORDS_NOT_MATCHING_ERROR_MESSAGE, WELCOME_FORM_PROFICIENCY_ERROR_MESSAGE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const PageWrapper = styled.div` width: 100%; diff --git a/app/client/src/pages/setup/SignupSuccess.tsx b/app/client/src/pages/setup/SignupSuccess.tsx index 531e763df8bc..fae14f5e6d83 100644 --- a/app/client/src/pages/setup/SignupSuccess.tsx +++ b/app/client/src/pages/setup/SignupSuccess.tsx @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { requiresAuth } from "pages/UserAuth/requiresAuthHOC"; import React from "react"; import { useCallback } from "react"; @@ -10,11 +10,11 @@ import PerformanceTracker, { } from "utils/PerformanceTracker"; import UserWelcomeScreen from "pages/setup/UserWelcomeScreen"; import { Center } from "pages/setup/common"; -import { Spinner } from "design-system"; -import { isValidLicense } from "@appsmith/selectors/tenantSelectors"; -import { redirectUserAfterSignup } from "@appsmith/utils/signupHelpers"; +import { Spinner } from "@appsmith/ads"; +import { isValidLicense } from "ee/selectors/tenantSelectors"; +import { redirectUserAfterSignup } from "ee/utils/signupHelpers"; import { setUserSignedUpFlag } from "utils/storage"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; export function SignupSuccess() { const dispatch = useDispatch(); diff --git a/app/client/src/pages/setup/UserWelcomeScreen.tsx b/app/client/src/pages/setup/UserWelcomeScreen.tsx index d6a606977bfd..9d9d283b6ad7 100644 --- a/app/client/src/pages/setup/UserWelcomeScreen.tsx +++ b/app/client/src/pages/setup/UserWelcomeScreen.tsx @@ -4,9 +4,9 @@ import { createMessage, WELCOME_BODY, WELCOME_HEADER, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import NonSuperUserProfilingQuestions from "./NonSuperUserProfilingQuestions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import WelcomeBackground from "./WelcomeBackground"; import SetupForm from "./SetupForm"; diff --git a/app/client/src/pages/setup/WelcomeBackground.tsx b/app/client/src/pages/setup/WelcomeBackground.tsx index 9107267e8693..70f20850016f 100644 --- a/app/client/src/pages/setup/WelcomeBackground.tsx +++ b/app/client/src/pages/setup/WelcomeBackground.tsx @@ -1,6 +1,6 @@ import React from "react"; import styled from "styled-components"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; const StyledImageBanner = styled.div` diff --git a/app/client/src/pages/setup/common.tsx b/app/client/src/pages/setup/common.tsx index 85c02ce119ef..e164603d552a 100644 --- a/app/client/src/pages/setup/common.tsx +++ b/app/client/src/pages/setup/common.tsx @@ -1,10 +1,10 @@ import React from "react"; -import { FormGroup as StyledFormGroup } from "design-system-old"; +import { FormGroup as StyledFormGroup } from "@appsmith/ads-old"; import type { FormTextFieldProps } from "components/utils/ReduxFormTextField"; import type { WrappedFieldInputProps, WrappedFieldMetaProps } from "redux-form"; import styled from "styled-components"; import type { OptionType } from "./constants"; -import { Select, Option } from "design-system"; +import { Select, Option } from "@appsmith/ads"; export const FormHeaderLabel = styled.h5` width: 100%; diff --git a/app/client/src/pages/tests/mockData.ts b/app/client/src/pages/tests/mockData.ts index 7c04ef0e502e..a8f2e4c81a77 100644 --- a/app/client/src/pages/tests/mockData.ts +++ b/app/client/src/pages/tests/mockData.ts @@ -1,6 +1,6 @@ -import type { ApplicationResponsePayload } from "@appsmith/api/ApplicationApi"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ApplicationResponsePayload } from "ee/api/ApplicationApi"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { UpdateCurrentPagePayload } from "actions/pageActions"; import store from "store"; diff --git a/app/client/src/pages/tests/slug.test.tsx b/app/client/src/pages/tests/slug.test.tsx index d91247e63634..e18dfc4e4fbc 100644 --- a/app/client/src/pages/tests/slug.test.tsx +++ b/app/client/src/pages/tests/slug.test.tsx @@ -1,7 +1,7 @@ import React from "react"; -import { ApplicationVersion } from "@appsmith/actions/applicationActions"; -import { builderURL } from "@appsmith/RouteBuilder"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ApplicationVersion } from "ee/actions/applicationActions"; +import { builderURL } from "ee/RouteBuilder"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { selectURLSlugs } from "selectors/editorSelectors"; import store from "store"; import { render } from "test/testUtils"; @@ -21,8 +21,8 @@ import { } from "./mockData"; import ManualUpgrades from "components/BottomBar/ManualUpgrades"; import { updateCurrentPage } from "actions/pageActions"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import { Button } from "design-system"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import { Button } from "@appsmith/ads"; describe("URL slug names", () => { beforeEach(async () => { diff --git a/app/client/src/pages/workspace/AppInviteUsersForm.tsx b/app/client/src/pages/workspace/AppInviteUsersForm.tsx index 7f4f529f9ea2..7381df767aac 100644 --- a/app/client/src/pages/workspace/AppInviteUsersForm.tsx +++ b/app/client/src/pages/workspace/AppInviteUsersForm.tsx @@ -1,30 +1,27 @@ import React, { useEffect, useState } from "react"; import styled from "styled-components"; import { connect, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +import type { AppState } from "ee/reducers"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; import WorkspaceInviteUsersForm from "pages/workspace/WorkspaceInviteUsersForm"; import { getCurrentUser } from "selectors/usersSelectors"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; -import { viewerURL } from "@appsmith/RouteBuilder"; -import { fetchWorkspace } from "@appsmith/actions/workspaceActions"; +import { viewerURL } from "ee/RouteBuilder"; +import { fetchWorkspace } from "ee/actions/workspaceActions"; import { createMessage, INVITE_USERS_PLACEHOLDER, IN_APP_EMBED_SETTING, MAKE_APPLICATION_PUBLIC, MAKE_APPLICATION_PUBLIC_TOOLTIP, -} from "@appsmith/constants/messages"; -import { hasInviteUserToApplicationPermission } from "@appsmith/utils/permissionHelpers"; -import { Button, Icon, Switch, Tooltip } from "design-system"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/messages"; +import { hasInviteUserToApplicationPermission } from "ee/utils/permissionHelpers"; +import { Button, Icon, Switch, Tooltip } from "@appsmith/ads"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; const SwitchContainer = styled.div` flex-basis: 220px; diff --git a/app/client/src/pages/workspace/CreateWorkspaceForm.tsx b/app/client/src/pages/workspace/CreateWorkspaceForm.tsx index fc2f27c76a9a..01409bf2c8ca 100644 --- a/app/client/src/pages/workspace/CreateWorkspaceForm.tsx +++ b/app/client/src/pages/workspace/CreateWorkspaceForm.tsx @@ -1,9 +1,9 @@ import React, { useCallback } from "react"; import type { InjectedFormProps } from "redux-form"; import { Form, reduxForm } from "redux-form"; -import { CREATE_WORKSPACE_FORM_NAME } from "@appsmith/constants/forms"; -import type { CreateWorkspaceFormValues } from "@appsmith/pages/workspace/helpers"; -import { createWorkspaceSubmitHandler } from "@appsmith/pages/workspace/helpers"; +import { CREATE_WORKSPACE_FORM_NAME } from "ee/constants/forms"; +import type { CreateWorkspaceFormValues } from "ee/pages/workspace/helpers"; +import { createWorkspaceSubmitHandler } from "ee/pages/workspace/helpers"; import { noSpaces } from "utils/formhelpers"; import TextField from "components/editorComponents/form/fields/TextField"; import FormGroup from "components/editorComponents/form/FormGroup"; diff --git a/app/client/src/pages/workspace/DeleteConfirmationModal.tsx b/app/client/src/pages/workspace/DeleteConfirmationModal.tsx index d3ee63916d95..7d6945286c9c 100644 --- a/app/client/src/pages/workspace/DeleteConfirmationModal.tsx +++ b/app/client/src/pages/workspace/DeleteConfirmationModal.tsx @@ -7,11 +7,11 @@ import { ModalHeader, ModalFooter, Text, -} from "design-system"; +} from "@appsmith/ads"; import { DELETE_CONFIRMATION_MODAL_TITLE, DELETE_CONFIRMATION_MODAL_SUBTITLE, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface DeleteConfirmationProps { userToBeDeleted: { diff --git a/app/client/src/pages/workspace/General.tsx b/app/client/src/pages/workspace/General.tsx index c46f091cc019..a48b41793775 100644 --- a/app/client/src/pages/workspace/General.tsx +++ b/app/client/src/pages/workspace/General.tsx @@ -4,25 +4,25 @@ import { deleteWorkspaceLogo, saveWorkspace, uploadWorkspaceLogo, -} from "@appsmith/actions/workspaceActions"; -import type { SaveWorkspaceRequest } from "@appsmith/api/WorkspaceApi"; +} from "ee/actions/workspaceActions"; +import type { SaveWorkspaceRequest } from "ee/api/WorkspaceApi"; import { debounce } from "lodash"; -import { Input } from "design-system"; +import { Input } from "@appsmith/ads"; import { useSelector, useDispatch } from "react-redux"; import { getCurrentError, getFetchedWorkspaces, -} from "@appsmith/selectors/workspaceSelectors"; +} from "ee/selectors/workspaceSelectors"; import { useParams } from "react-router-dom"; import styled from "styled-components"; -import type { SetProgress, UploadCallback } from "design-system-old"; -import { FilePickerV2, FileType, Text, TextType } from "design-system-old"; +import type { SetProgress, UploadCallback } from "@appsmith/ads-old"; +import { FilePickerV2, FileType, Text, TextType } from "@appsmith/ads-old"; import { Classes } from "@blueprintjs/core"; import { useMediaQuery } from "react-responsive"; import { getIsFetchingApplications, selectedWorkspaceLoadingStates, -} from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/selectors/selectedWorkspaceSelectors"; import type { AxiosProgressEvent } from "axios"; // This wrapper ensures that the scroll behaviour is consistent with the other tabs diff --git a/app/client/src/pages/workspace/ManageUsers.tsx b/app/client/src/pages/workspace/ManageUsers.tsx index 56473537615a..98064058ca72 100644 --- a/app/client/src/pages/workspace/ManageUsers.tsx +++ b/app/client/src/pages/workspace/ManageUsers.tsx @@ -1,6 +1,6 @@ import React from "react"; import { useLocation } from "react-router-dom"; -import { Link } from "design-system"; +import { Link } from "@appsmith/ads"; function ManageUsers({ workspaceId }: { workspaceId: string }) { const currentPath = useLocation().pathname; diff --git a/app/client/src/pages/workspace/PartnerProgramCallout.tsx b/app/client/src/pages/workspace/PartnerProgramCallout.tsx index 8f746bc10061..b4c2555ab0ce 100644 --- a/app/client/src/pages/workspace/PartnerProgramCallout.tsx +++ b/app/client/src/pages/workspace/PartnerProgramCallout.tsx @@ -1,11 +1,11 @@ -import type { CalloutLinkProps } from "design-system"; -import { Callout } from "design-system"; +import type { CalloutLinkProps } from "@appsmith/ads"; +import { Callout } from "@appsmith/ads"; import React from "react"; import { PARTNER_PROGRAM_CALLOUT, PARTNER_PROGRAM_CALLOUT_LINK, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; interface PartnerProgramCalloutProps { email: string; diff --git a/app/client/src/pages/workspace/SettingsPageHeader.tsx b/app/client/src/pages/workspace/SettingsPageHeader.tsx index 4f041b05b23d..78e967e8d0e2 100644 --- a/app/client/src/pages/workspace/SettingsPageHeader.tsx +++ b/app/client/src/pages/workspace/SettingsPageHeader.tsx @@ -9,10 +9,10 @@ import { MenuTrigger, SearchInput, Tooltip, -} from "design-system"; +} from "@appsmith/ads"; import { HeaderWrapper } from "pages/AdminSettings/components"; import { SettingsHeader } from "components/utils/helperComponents"; -import { ARE_YOU_SURE, createMessage } from "@appsmith/constants/messages"; +import { ARE_YOU_SURE, createMessage } from "ee/constants/messages"; import { useMediaQuery } from "react-responsive"; interface PageHeaderProps { diff --git a/app/client/src/pages/workspace/WorkspaceInviteUsersForm.tsx b/app/client/src/pages/workspace/WorkspaceInviteUsersForm.tsx index 1515ccb7c8c6..c106ba00d69e 100644 --- a/app/client/src/pages/workspace/WorkspaceInviteUsersForm.tsx +++ b/app/client/src/pages/workspace/WorkspaceInviteUsersForm.tsx @@ -1,31 +1,28 @@ import React from "react"; import styled from "styled-components"; import { useSelector } from "react-redux"; -import { getCurrentAppWorkspace } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { createMessage, NO_USERS_INVITED } from "@appsmith/constants/messages"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; -import { Avatar, Icon, Spinner, Text, Tooltip } from "design-system"; +import { getCurrentAppWorkspace } from "ee/selectors/selectedWorkspaceSelectors"; +import { createMessage, NO_USERS_INVITED } from "ee/constants/messages"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; +import { Avatar, Icon, Spinner, Text, Tooltip } from "@appsmith/ads"; import { getInitialsFromName } from "utils/AppsmithUtils"; import ManageUsers from "pages/workspace/ManageUsers"; import { USER_PHOTO_ASSET_URL } from "constants/userConstants"; -import { importSvg } from "design-system-old"; -import type { WorkspaceUserRoles } from "@appsmith/constants/workspaceConstants"; -import InviteUsersForm from "@appsmith/pages/workspace/InviteUsersForm"; -import { ENTITY_TYPE } from "@appsmith/constants/workspaceConstants"; +import { importSvg } from "@appsmith/ads-old"; +import type { WorkspaceUserRoles } from "ee/constants/workspaceConstants"; +import InviteUsersForm from "ee/pages/workspace/InviteUsersForm"; +import { ENTITY_TYPE } from "ee/constants/workspaceConstants"; import { getAllAppUsers, getApplicationLoadingStates, -} from "@appsmith/selectors/applicationSelectors"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +} from "ee/selectors/applicationSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; import { getAllUsersOfWorkspace, selectedWorkspaceLoadingStates, -} from "@appsmith/selectors/selectedWorkspaceSelectors"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/selectors/selectedWorkspaceSelectors"; +import type { AppState } from "ee/reducers"; const NoEmailConfigImage = importSvg( async () => import("assets/images/email-not-configured.svg"), diff --git a/app/client/src/pages/workspace/settings.tsx b/app/client/src/pages/workspace/settings.tsx index 9f3369f9c902..0d4567c9325d 100644 --- a/app/client/src/pages/workspace/settings.tsx +++ b/app/client/src/pages/workspace/settings.tsx @@ -1,28 +1,25 @@ import React, { useEffect, useState } from "react"; import { useLocation, useParams } from "react-router-dom"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; import { useSelector, useDispatch } from "react-redux"; import styled from "styled-components"; import { useMediaQuery } from "react-responsive"; import { BackButton, StickyHeader } from "components/utils/helperComponents"; import WorkspaceInviteUsersForm from "pages/workspace/WorkspaceInviteUsersForm"; import { SettingsPageHeader } from "./SettingsPageHeader"; -import { - isPermitted, - PERMISSION_TYPE, -} from "@appsmith/utils/permissionHelpers"; +import { isPermitted, PERMISSION_TYPE } from "ee/utils/permissionHelpers"; import { createMessage, DOCUMENTATION, INVITE_USERS_PLACEHOLDER, SEARCH_USERS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import FormDialogComponent from "components/editorComponents/form/FormDialogComponent"; import { debounce } from "lodash"; -import { WorkspaceSettingsTabs } from "@appsmith/components/WorkspaceSettingsTabs"; +import { WorkspaceSettingsTabs } from "ee/components/WorkspaceSettingsTabs"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; -import { fetchAllWorkspaces } from "@appsmith/actions/workspaceActions"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; +import { fetchAllWorkspaces } from "ee/actions/workspaceActions"; const SettingsWrapper = styled.div<{ isMobile?: boolean; diff --git a/app/client/src/plugins/Linting/Linter.ts b/app/client/src/plugins/Linting/Linter.ts index 87eba9714e0f..3800e9020494 100644 --- a/app/client/src/plugins/Linting/Linter.ts +++ b/app/client/src/plugins/Linting/Linter.ts @@ -1,4 +1,4 @@ -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import type { ILinter } from "./linters"; import { WorkerLinter } from "./linters"; import type { LintTreeRequestPayload, updateJSLibraryProps } from "./types"; diff --git a/app/client/src/plugins/Linting/handlers/lintService.ts b/app/client/src/plugins/Linting/handlers/lintService.ts index 3c92b83f2a93..6ca0978a12df 100644 --- a/app/client/src/plugins/Linting/handlers/lintService.ts +++ b/app/client/src/plugins/Linting/handlers/lintService.ts @@ -3,10 +3,10 @@ import { convertPathToString, getAllPaths, getEntityNameAndPropertyPath, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { AppsmithFunctionsWithFields } from "components/editorComponents/ActionCreator/constants"; import { PathUtils } from "plugins/Linting/utils/pathUtils"; -import { extractReferencesFromPath } from "@appsmith/plugins/Linting/utils/getEntityDependencies"; +import { extractReferencesFromPath } from "ee/plugins/Linting/utils/getEntityDependencies"; import { groupDifferencesByType } from "plugins/Linting/utils/groupDifferencesByType"; import type { LintTreeRequestPayload, @@ -17,13 +17,13 @@ import type { TJSPropertiesState, TJSpropertyState, } from "workers/Evaluation/JSObject/jsPropertiesState"; -import { isJSEntity } from "@appsmith/plugins/Linting/lib/entity"; +import { isJSEntity } from "ee/plugins/Linting/lib/entity"; import DependencyMap from "entities/DependencyMap"; import { LintEntityTree, type EntityTree, } from "plugins/Linting/lib/entity/EntityTree"; -import { getEntityFunctions } from "@appsmith/workers/Evaluation/fns"; +import { getEntityFunctions } from "ee/workers/Evaluation/fns"; class LintService { cachedEntityTree: EntityTree | null; diff --git a/app/client/src/plugins/Linting/handlers/setupLinkingWorkerEnv.ts b/app/client/src/plugins/Linting/handlers/setupLinkingWorkerEnv.ts index 89afebc362cb..99f5577f95b4 100644 --- a/app/client/src/plugins/Linting/handlers/setupLinkingWorkerEnv.ts +++ b/app/client/src/plugins/Linting/handlers/setupLinkingWorkerEnv.ts @@ -1,4 +1,4 @@ -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import { WorkerEnv } from "workers/Evaluation/handlers/workerEnv"; export const setupLintingWorkerEnv = (featureFlags: FeatureFlags) => { diff --git a/app/client/src/plugins/Linting/lib/entity/ActionEntity.ts b/app/client/src/plugins/Linting/lib/entity/ActionEntity.ts index d995141a2ccc..8ac4d138c16a 100644 --- a/app/client/src/plugins/Linting/lib/entity/ActionEntity.ts +++ b/app/client/src/plugins/Linting/lib/entity/ActionEntity.ts @@ -1,16 +1,13 @@ import type { ActionEntity as TActionEntity, ActionEntityConfig as TActionEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { defaultDiffGenerator, type EntityDiffGenerator, } from "plugins/Linting/utils/diffGenerator"; import type { EntityParser } from "plugins/Linting/utils/entityParser"; -import { - ENTITY_TYPE, - type IEntity, -} from "@appsmith/plugins/Linting/lib/entity/types"; +import { ENTITY_TYPE, type IEntity } from "ee/plugins/Linting/lib/entity/types"; import type { Diff } from "deep-diff"; export class ActionEntity implements IEntity { diff --git a/app/client/src/plugins/Linting/lib/entity/AppsmithEntity.ts b/app/client/src/plugins/Linting/lib/entity/AppsmithEntity.ts index 633cc7c1fe3a..a82c7584f746 100644 --- a/app/client/src/plugins/Linting/lib/entity/AppsmithEntity.ts +++ b/app/client/src/plugins/Linting/lib/entity/AppsmithEntity.ts @@ -1,10 +1,7 @@ -import type { AppsmithEntity as TAppsmithEntity } from "@appsmith/entities/DataTree/types"; +import type { AppsmithEntity as TAppsmithEntity } from "ee/entities/DataTree/types"; import type { EntityDiffGenerator } from "plugins/Linting/utils/diffGenerator"; import type { EntityParser } from "plugins/Linting/utils/entityParser"; -import { - ENTITY_TYPE, - type IEntity, -} from "@appsmith/plugins/Linting/lib/entity/types"; +import { ENTITY_TYPE, type IEntity } from "ee/plugins/Linting/lib/entity/types"; import type { Diff } from "deep-diff"; export class AppsmithEntity implements IEntity { diff --git a/app/client/src/plugins/Linting/lib/entity/EntityTree.ts b/app/client/src/plugins/Linting/lib/entity/EntityTree.ts index 6ce24aa47f9c..64c827a60e73 100644 --- a/app/client/src/plugins/Linting/lib/entity/EntityTree.ts +++ b/app/client/src/plugins/Linting/lib/entity/EntityTree.ts @@ -3,11 +3,11 @@ import type { DataTree, DataTreeEntity, } from "entities/DataTree/dataTreeTypes"; -import type { IEntity } from "@appsmith/plugins/Linting/lib/entity/types"; +import type { IEntity } from "ee/plugins/Linting/lib/entity/types"; import type { Diff } from "deep-diff"; -import EntityFactory from "@appsmith/plugins/Linting/lib/entity"; +import EntityFactory from "ee/plugins/Linting/lib/entity"; import { PathUtils } from "plugins/Linting/utils/pathUtils"; -import { isJSAction } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isJSAction } from "ee/workers/Evaluation/evaluationUtils"; import type { EntityParser } from "plugins/Linting/utils/entityParser"; import { DefaultEntityParser, diff --git a/app/client/src/plugins/Linting/lib/entity/JSActionEntity.ts b/app/client/src/plugins/Linting/lib/entity/JSActionEntity.ts index 6598d833da42..50d89f224de3 100644 --- a/app/client/src/plugins/Linting/lib/entity/JSActionEntity.ts +++ b/app/client/src/plugins/Linting/lib/entity/JSActionEntity.ts @@ -1,7 +1,7 @@ import type { JSActionEntity as TJSActionEntity, JSActionEntityConfig as TJSActionEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { defaultDiffGenerator, type EntityDiffGenerator, @@ -9,10 +9,7 @@ import { import type { EntityParser } from "plugins/Linting/utils/entityParser"; import type { TParsedJSProperty } from "@shared/ast"; import { isJSFunctionProperty } from "@shared/ast"; -import { - ENTITY_TYPE, - type IEntity, -} from "@appsmith/plugins/Linting/lib/entity/types"; +import { ENTITY_TYPE, type IEntity } from "ee/plugins/Linting/lib/entity/types"; import type { Diff } from "deep-diff"; export class JSEntity implements IEntity { diff --git a/app/client/src/plugins/Linting/lib/entity/WidgetEntity.ts b/app/client/src/plugins/Linting/lib/entity/WidgetEntity.ts index 2318ef63819d..b1dfd0f48846 100644 --- a/app/client/src/plugins/Linting/lib/entity/WidgetEntity.ts +++ b/app/client/src/plugins/Linting/lib/entity/WidgetEntity.ts @@ -1,16 +1,13 @@ import type { WidgetEntity as TWidgetEntity, WidgetEntityConfig as TWidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { defaultDiffGenerator, type EntityDiffGenerator, } from "plugins/Linting/utils/diffGenerator"; import type { EntityParser } from "plugins/Linting/utils/entityParser"; -import { - ENTITY_TYPE, - type IEntity, -} from "@appsmith/plugins/Linting/lib/entity/types"; +import { ENTITY_TYPE, type IEntity } from "ee/plugins/Linting/lib/entity/types"; import type { Diff } from "deep-diff"; export class WidgetEntity implements IEntity { diff --git a/app/client/src/plugins/Linting/lintTree.ts b/app/client/src/plugins/Linting/lintTree.ts index 3f8673e3cc16..84a47a882e08 100644 --- a/app/client/src/plugins/Linting/lintTree.ts +++ b/app/client/src/plugins/Linting/lintTree.ts @@ -1,4 +1,4 @@ -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { get, isEmpty, set } from "lodash"; import type { LintErrorsStore } from "reducers/lintingReducers/lintErrorsReducers"; import type { LintError } from "utils/DynamicBindingUtils"; diff --git a/app/client/src/plugins/Linting/linters/index.ts b/app/client/src/plugins/Linting/linters/index.ts index 0ed7e2921590..911040a3d13a 100644 --- a/app/client/src/plugins/Linting/linters/index.ts +++ b/app/client/src/plugins/Linting/linters/index.ts @@ -4,7 +4,7 @@ import type { updateJSLibraryProps, } from "plugins/Linting/types"; import { LINT_WORKER_ACTIONS as LINT_ACTIONS } from "plugins/Linting/types"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; export interface ILinter { // TODO: Fix this the next time the file is edited diff --git a/app/client/src/plugins/Linting/utils/diffGenerator.ts b/app/client/src/plugins/Linting/utils/diffGenerator.ts index 485801eb8cdd..84313b2be3c8 100644 --- a/app/client/src/plugins/Linting/utils/diffGenerator.ts +++ b/app/client/src/plugins/Linting/utils/diffGenerator.ts @@ -2,7 +2,7 @@ import type { TParsedJSProperty } from "@shared/ast"; import type { Diff } from "deep-diff"; import { diff } from "deep-diff"; import type { jsLintEntityParser } from "./entityParser"; -import type { IEntity } from "@appsmith/plugins/Linting/lib/entity/types"; +import type { IEntity } from "ee/plugins/Linting/lib/entity/types"; import type { JSEntity } from "plugins/Linting/lib/entity/JSActionEntity"; export interface EntityDiffGenerator { diff --git a/app/client/src/plugins/Linting/utils/entityParser.ts b/app/client/src/plugins/Linting/utils/entityParser.ts index 25ce9c22805b..0e9dc528de48 100644 --- a/app/client/src/plugins/Linting/utils/entityParser.ts +++ b/app/client/src/plugins/Linting/utils/entityParser.ts @@ -2,9 +2,9 @@ import type { DataTreeEntityConfig, JSActionEntityConfig, JSActionEntity as TJSActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; -import { EvaluationSubstitutionType } from "@appsmith/entities/DataTree/types"; +import { EvaluationSubstitutionType } from "ee/entities/DataTree/types"; import type { TParsedJSProperty } from "@shared/ast"; import { isJSFunctionProperty } from "@shared/ast"; import { parseJSObject } from "@shared/ast"; diff --git a/app/client/src/plugins/Linting/utils/getEvaluationContext.ts b/app/client/src/plugins/Linting/utils/getEvaluationContext.ts index b90bd55c518d..a3a161b85deb 100644 --- a/app/client/src/plugins/Linting/utils/getEvaluationContext.ts +++ b/app/client/src/plugins/Linting/utils/getEvaluationContext.ts @@ -1,6 +1,6 @@ import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; import { createEvaluationContext } from "workers/Evaluation/evaluate"; -import { getActionTriggerFunctionNames } from "@appsmith/workers/Evaluation/fns"; +import { getActionTriggerFunctionNames } from "ee/workers/Evaluation/fns"; export function getEvaluationContext( unevalTree: DataTree, diff --git a/app/client/src/plugins/Linting/utils/getJSToLint.ts b/app/client/src/plugins/Linting/utils/getJSToLint.ts index ad5c9bedc372..70d01996d85c 100644 --- a/app/client/src/plugins/Linting/utils/getJSToLint.ts +++ b/app/client/src/plugins/Linting/utils/getJSToLint.ts @@ -1,5 +1,5 @@ import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; -import { isJSAction } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isJSAction } from "ee/workers/Evaluation/evaluationUtils"; // Removes "export default" statement from js Object diff --git a/app/client/src/plugins/Linting/utils/getLintingErrors.ts b/app/client/src/plugins/Linting/utils/getLintingErrors.ts index 8520371876db..877a389984e7 100644 --- a/app/client/src/plugins/Linting/utils/getLintingErrors.ts +++ b/app/client/src/plugins/Linting/utils/getLintingErrors.ts @@ -31,11 +31,11 @@ import { JSLibraries } from "workers/common/JSLibrary"; import getLintSeverity from "./getLintSeverity"; import { APPSMITH_GLOBAL_FUNCTIONS } from "components/editorComponents/ActionCreator/constants"; import { last } from "lodash"; -import { isWidget } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isWidget } from "ee/workers/Evaluation/evaluationUtils"; import setters from "workers/Evaluation/setters"; import { isMemberExpressionNode } from "@shared/ast/src"; import { generate } from "astring"; -import getInvalidModuleInputsError from "@appsmith/plugins/Linting/utils/getInvalidModuleInputsError"; +import getInvalidModuleInputsError from "ee/plugins/Linting/utils/getInvalidModuleInputsError"; const EvaluationScriptPositions: Record = {}; diff --git a/app/client/src/plugins/Linting/utils/isEntityFunction.ts b/app/client/src/plugins/Linting/utils/isEntityFunction.ts index dbc5e8dfbd1a..df1c863d41e4 100644 --- a/app/client/src/plugins/Linting/utils/isEntityFunction.ts +++ b/app/client/src/plugins/Linting/utils/isEntityFunction.ts @@ -1,6 +1,6 @@ import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; -import { isDataTreeEntity } from "@appsmith/workers/Evaluation/evaluationUtils"; -import { getEntityFunctions } from "@appsmith/workers/Evaluation/fns"; +import { isDataTreeEntity } from "ee/workers/Evaluation/evaluationUtils"; +import { getEntityFunctions } from "ee/workers/Evaluation/fns"; import setters from "workers/Evaluation/setters"; export default function isEntityFunction( diff --git a/app/client/src/plugins/Linting/utils/lintBindingPath.ts b/app/client/src/plugins/Linting/utils/lintBindingPath.ts index c02ed377e3c4..905e31fd0f67 100644 --- a/app/client/src/plugins/Linting/utils/lintBindingPath.ts +++ b/app/client/src/plugins/Linting/utils/lintBindingPath.ts @@ -1,7 +1,7 @@ import type { LintError } from "utils/DynamicBindingUtils"; import { getDynamicBindings } from "utils/DynamicBindingUtils"; import { getScriptToEval, getScriptType } from "workers/Evaluation/evaluate"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import type { lintBindingPathProps } from "../types"; import getLintingErrors from "./getLintingErrors"; import { getJSToLint } from "./getJSToLint"; diff --git a/app/client/src/plugins/Linting/utils/lintJSObjectBody.ts b/app/client/src/plugins/Linting/utils/lintJSObjectBody.ts index 10da015c0c48..42bad8338e10 100644 --- a/app/client/src/plugins/Linting/utils/lintJSObjectBody.ts +++ b/app/client/src/plugins/Linting/utils/lintJSObjectBody.ts @@ -1,4 +1,4 @@ -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import type { LintError } from "utils/DynamicBindingUtils"; import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; diff --git a/app/client/src/plugins/Linting/utils/lintJSObjectProperty.ts b/app/client/src/plugins/Linting/utils/lintJSObjectProperty.ts index b526c15783f8..cf6317bde0da 100644 --- a/app/client/src/plugins/Linting/utils/lintJSObjectProperty.ts +++ b/app/client/src/plugins/Linting/utils/lintJSObjectProperty.ts @@ -1,7 +1,7 @@ import type { LintError } from "utils/DynamicBindingUtils"; import type { DependencyMap } from "utils/DynamicBindingUtils"; import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { CustomLintErrorCode, CUSTOM_LINT_ERRORS } from "../constants"; import type { TJSFunctionPropertyState, diff --git a/app/client/src/plugins/Linting/utils/pathUtils.ts b/app/client/src/plugins/Linting/utils/pathUtils.ts index a5ac1f5b42df..bfde705b480d 100644 --- a/app/client/src/plugins/Linting/utils/pathUtils.ts +++ b/app/client/src/plugins/Linting/utils/pathUtils.ts @@ -1,12 +1,12 @@ -import { isWidgetEntity } from "@appsmith/plugins/Linting/lib/entity"; +import { isWidgetEntity } from "ee/plugins/Linting/lib/entity"; import { convertPathToString, getEntityNameAndPropertyPath, isTrueObject, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { toPath, union } from "lodash"; -import { isDynamicEntity } from "@appsmith/plugins/Linting/lib/entity/isDynamicEntity"; -import type { IEntity } from "@appsmith/plugins/Linting/lib/entity/types"; +import { isDynamicEntity } from "ee/plugins/Linting/lib/entity/isDynamicEntity"; +import type { IEntity } from "ee/plugins/Linting/lib/entity/types"; export class PathUtils { static getReactivePaths(entity: IEntity) { diff --git a/app/client/src/plugins/Linting/utils/sortLintingPathsByType.ts b/app/client/src/plugins/Linting/utils/sortLintingPathsByType.ts index 2c61bd3e24da..f566ec953dab 100644 --- a/app/client/src/plugins/Linting/utils/sortLintingPathsByType.ts +++ b/app/client/src/plugins/Linting/utils/sortLintingPathsByType.ts @@ -4,7 +4,7 @@ import { isATriggerPath, isDynamicLeaf, isJSAction, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; export default function sortLintingPathsByType( pathsToLint: string[], diff --git a/app/client/src/preload-route-chunks.ts b/app/client/src/preload-route-chunks.ts index a874caf1f449..f4c066689b84 100644 --- a/app/client/src/preload-route-chunks.ts +++ b/app/client/src/preload-route-chunks.ts @@ -1,4 +1,4 @@ -import { getBaseURL } from "@appsmith/utils/preloadHelpers"; +import { getBaseURL } from "ee/utils/preloadHelpers"; // This file preloads chunks for the edit and view modes ahead of the import() // call that will actually require them. This puts these chunks into HTTP cache // (so they can be executed immediately) but doesn’t execute them (so that the diff --git a/app/client/src/reducers/entityReducers/appReducer.ts b/app/client/src/reducers/entityReducers/appReducer.ts index 8df8fbc38cbe..601443022038 100644 --- a/app/client/src/reducers/entityReducers/appReducer.ts +++ b/app/client/src/reducers/entityReducers/appReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { User } from "constants/userConstants"; import type { APP_MODE } from "entities/App"; diff --git a/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.test.ts b/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.test.ts index 1d155d29e14f..fb35fec454aa 100644 --- a/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.test.ts +++ b/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.test.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import reducer from "./autoHeightLayoutTreeReducer"; describe("Canvas Levels Reducer", () => { diff --git a/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.ts b/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.ts index a6ba0eb5b3c0..03d751105d22 100644 --- a/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.ts +++ b/app/client/src/reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { TreeNode } from "utils/autoHeight/constants"; import { xor } from "lodash"; diff --git a/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.test.ts b/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.test.ts index ceb852451533..1224f659eb28 100644 --- a/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.test.ts +++ b/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.test.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import reducer from "./canvasLevelsReducer"; describe("Canvas Levels Reducer", () => { diff --git a/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.ts b/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.ts index d922c3c8f125..1f7520dd99f6 100644 --- a/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.ts +++ b/app/client/src/reducers/entityReducers/autoHeightReducers/canvasLevelsReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { AutoHeightLayoutTreePayload } from "./autoHeightLayoutTreeReducer"; export type CanvasLevelsPayload = Record; diff --git a/app/client/src/reducers/entityReducers/canvasWidgetsReducer.test.ts b/app/client/src/reducers/entityReducers/canvasWidgetsReducer.test.ts index fd41518e1461..65bc48cc7bcc 100644 --- a/app/client/src/reducers/entityReducers/canvasWidgetsReducer.test.ts +++ b/app/client/src/reducers/entityReducers/canvasWidgetsReducer.test.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import reducer, { initialState as reducerInitialState, } from "./canvasWidgetsReducer"; diff --git a/app/client/src/reducers/entityReducers/canvasWidgetsReducer.ts b/app/client/src/reducers/entityReducers/canvasWidgetsReducer.ts index 1e0afcbff829..dc6ae1946442 100644 --- a/app/client/src/reducers/entityReducers/canvasWidgetsReducer.ts +++ b/app/client/src/reducers/entityReducers/canvasWidgetsReducer.ts @@ -2,8 +2,8 @@ import { createImmerReducer } from "utils/ReducerUtils"; import type { UpdateCanvasPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { WidgetProps } from "widgets/BaseWidget"; import { uniq, get, set } from "lodash"; import type { Diff } from "deep-diff"; @@ -15,8 +15,8 @@ import { import { klona } from "klona"; /* This type is an object whose keys are widgetIds and values are arrays with property paths -and property values -For example: +and property values +For example: { "xyz123": [{ propertyPath: "bottomRow", propertyValue: 20 }] } */ export type UpdateWidgetsPayload = Record< diff --git a/app/client/src/reducers/entityReducers/canvasWidgetsStructureReducer.ts b/app/client/src/reducers/entityReducers/canvasWidgetsStructureReducer.ts index b7b9021edc33..7054e63f11bc 100644 --- a/app/client/src/reducers/entityReducers/canvasWidgetsStructureReducer.ts +++ b/app/client/src/reducers/entityReducers/canvasWidgetsStructureReducer.ts @@ -2,8 +2,8 @@ import { createImmerReducer } from "utils/ReducerUtils"; import type { UpdateCanvasPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { WidgetProps } from "widgets/BaseWidget"; import type { WidgetType } from "constants/WidgetConstants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; diff --git a/app/client/src/reducers/entityReducers/datasourceReducer.ts b/app/client/src/reducers/entityReducers/datasourceReducer.ts index f05ea38ad1fd..58aff62daa23 100644 --- a/app/client/src/reducers/entityReducers/datasourceReducer.ts +++ b/app/client/src/reducers/entityReducers/datasourceReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { Datasource, DatasourceStorage, @@ -12,7 +12,7 @@ import type { } from "entities/Datasource"; import { ToastMessageType } from "entities/Datasource"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; -import type { DropdownOption } from "design-system-old"; +import type { DropdownOption } from "@appsmith/ads-old"; import produce from "immer"; import { assign } from "lodash"; diff --git a/app/client/src/reducers/entityReducers/jsExecutionsReducer.ts b/app/client/src/reducers/entityReducers/jsExecutionsReducer.ts index fa94fe3c28fb..a9d9760a45d1 100644 --- a/app/client/src/reducers/entityReducers/jsExecutionsReducer.ts +++ b/app/client/src/reducers/entityReducers/jsExecutionsReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionErrorTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionErrorTypes } from "ee/constants/ReduxActionConstants"; export type JSExecutionRecord = Record; const initialState: JSExecutionRecord = {}; diff --git a/app/client/src/reducers/entityReducers/metaReducer/index.ts b/app/client/src/reducers/entityReducers/metaReducer/index.ts index 3fcf8e63c6a1..c15ace3b5869 100644 --- a/app/client/src/reducers/entityReducers/metaReducer/index.ts +++ b/app/client/src/reducers/entityReducers/metaReducer/index.ts @@ -6,19 +6,19 @@ import type { BatchUpdateWidgetMetaPropertyPayload, } from "actions/metaActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import produce from "immer"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import { getMetaWidgetResetObj, getNextMetaStateWithUpdates, setMetaValuesOnResetFromEval, } from "./metaReducerUtils"; -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; export type WidgetMetaState = Record; export type MetaState = Record; diff --git a/app/client/src/reducers/entityReducers/metaReducer/metaReducerUtils.ts b/app/client/src/reducers/entityReducers/metaReducer/metaReducerUtils.ts index 3f988ac6b978..88b45c3d643d 100644 --- a/app/client/src/reducers/entityReducers/metaReducer/metaReducerUtils.ts +++ b/app/client/src/reducers/entityReducers/metaReducer/metaReducerUtils.ts @@ -2,11 +2,11 @@ import type { WidgetEntity, WidgetEntityConfig, PropertyOverrideDependency, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { klona } from "klona"; import type { MetaState, WidgetMetaState } from "."; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import produce from "immer"; import { set, unset } from "lodash"; diff --git a/app/client/src/reducers/entityReducers/metaReducer/test.ts b/app/client/src/reducers/entityReducers/metaReducer/test.ts index 1c5fee768832..fb630367b1cb 100644 --- a/app/client/src/reducers/entityReducers/metaReducer/test.ts +++ b/app/client/src/reducers/entityReducers/metaReducer/test.ts @@ -1,7 +1,7 @@ import metaReducer, { initialState } from "./index"; import { updateMetaState } from "actions/metaActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; let currentMetaState = initialState; diff --git a/app/client/src/reducers/entityReducers/metaWidgetsReducer.test.ts b/app/client/src/reducers/entityReducers/metaWidgetsReducer.test.ts index b3df073fb22b..532be1a9e560 100644 --- a/app/client/src/reducers/entityReducers/metaWidgetsReducer.test.ts +++ b/app/client/src/reducers/entityReducers/metaWidgetsReducer.test.ts @@ -2,11 +2,11 @@ import type { MetaWidgetsReduxState } from "./metaWidgetsReducer"; import reducer, { initialState as reducerInitialState, } from "./metaWidgetsReducer"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { metaWidgetState } from "utils/metaWidgetState"; import { nestedMetaWidgetInitialState } from "./testData/metaWidgetReducer"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; const modifiedState: MetaWidgetsReduxState = { baowuczcgg: { diff --git a/app/client/src/reducers/entityReducers/metaWidgetsReducer.ts b/app/client/src/reducers/entityReducers/metaWidgetsReducer.ts index 8c155dc3d668..3d1310623582 100644 --- a/app/client/src/reducers/entityReducers/metaWidgetsReducer.ts +++ b/app/client/src/reducers/entityReducers/metaWidgetsReducer.ts @@ -2,8 +2,8 @@ import { get, set, split, unset } from "lodash"; import { klona } from "klona"; import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { WidgetProps } from "widgets/BaseWidget"; import type { BatchPropertyUpdatePayload } from "actions/controlActions"; import type { UpdateWidgetsPayload } from "./canvasWidgetsReducer"; diff --git a/app/client/src/reducers/entityReducers/pageListReducer.tsx b/app/client/src/reducers/entityReducers/pageListReducer.tsx index b9266f33b58e..7dfc09f5c3f5 100644 --- a/app/client/src/reducers/entityReducers/pageListReducer.tsx +++ b/app/client/src/reducers/entityReducers/pageListReducer.tsx @@ -2,11 +2,11 @@ import type { ClonePageSuccessPayload, Page, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { DeletePageActionPayload, GenerateCRUDSuccess, diff --git a/app/client/src/reducers/entityReducers/pluginsReducer.ts b/app/client/src/reducers/entityReducers/pluginsReducer.ts index 75eea00048da..52ba0e1938be 100644 --- a/app/client/src/reducers/entityReducers/pluginsReducer.ts +++ b/app/client/src/reducers/entityReducers/pluginsReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { DefaultPlugin, Plugin } from "api/PluginApi"; import type { PluginFormPayloadWithId, diff --git a/app/client/src/reducers/evaluationReducers/dependencyReducer.ts b/app/client/src/reducers/evaluationReducers/dependencyReducer.ts index c614dda90791..b8800ba7ec66 100644 --- a/app/client/src/reducers/evaluationReducers/dependencyReducer.ts +++ b/app/client/src/reducers/evaluationReducers/dependencyReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { DependencyMap } from "utils/DynamicBindingUtils"; export interface EvaluationDependencyState { diff --git a/app/client/src/reducers/evaluationReducers/formEvaluationReducer.ts b/app/client/src/reducers/evaluationReducers/formEvaluationReducer.ts index 3c6404be52e5..e6f8829eb9d0 100644 --- a/app/client/src/reducers/evaluationReducers/formEvaluationReducer.ts +++ b/app/client/src/reducers/evaluationReducers/formEvaluationReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { FormConfigType } from "components/formControls/BaseControl"; import type { FetchPageActionPayload } from "actions/pageActions"; diff --git a/app/client/src/reducers/evaluationReducers/loadingEntitiesReducer.ts b/app/client/src/reducers/evaluationReducers/loadingEntitiesReducer.ts index 5f5145de9868..9a22376cbdfa 100644 --- a/app/client/src/reducers/evaluationReducers/loadingEntitiesReducer.ts +++ b/app/client/src/reducers/evaluationReducers/loadingEntitiesReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export type LoadingEntitiesState = Set; diff --git a/app/client/src/reducers/evaluationReducers/treeReducer.ts b/app/client/src/reducers/evaluationReducers/treeReducer.ts index 011385478701..7167d75efe30 100644 --- a/app/client/src/reducers/evaluationReducers/treeReducer.ts +++ b/app/client/src/reducers/evaluationReducers/treeReducer.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { applyChange } from "deep-diff"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { createImmerReducer } from "utils/ReducerUtils"; diff --git a/app/client/src/reducers/evaluationReducers/triggerReducer.ts b/app/client/src/reducers/evaluationReducers/triggerReducer.ts index 1bf82b17492a..fb63acd97c3d 100644 --- a/app/client/src/reducers/evaluationReducers/triggerReducer.ts +++ b/app/client/src/reducers/evaluationReducers/triggerReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ConditionalOutput, FormEvalOutput, diff --git a/app/client/src/reducers/lintingReducers/lintErrorsReducers.ts b/app/client/src/reducers/lintingReducers/lintErrorsReducers.ts index b484c0337c63..516adbcafc50 100644 --- a/app/client/src/reducers/lintingReducers/lintErrorsReducers.ts +++ b/app/client/src/reducers/lintingReducers/lintErrorsReducers.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { LintError } from "utils/DynamicBindingUtils"; import { createImmerReducer } from "utils/ReducerUtils"; import type { SetLintErrorsAction } from "actions/lintingActions"; diff --git a/app/client/src/reducers/uiReducers/actionSelectorReducer.ts b/app/client/src/reducers/uiReducers/actionSelectorReducer.ts index c552be1a3a8c..00b3e13196f4 100644 --- a/app/client/src/reducers/uiReducers/actionSelectorReducer.ts +++ b/app/client/src/reducers/uiReducers/actionSelectorReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export type ActionSelectorReduxState = Record< string, diff --git a/app/client/src/reducers/uiReducers/activeFieldEditorReducer.ts b/app/client/src/reducers/uiReducers/activeFieldEditorReducer.ts index 9b53dfed19ad..e33b2abaf5a7 100644 --- a/app/client/src/reducers/uiReducers/activeFieldEditorReducer.ts +++ b/app/client/src/reducers/uiReducers/activeFieldEditorReducer.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { createReducer } from "utils/ReducerUtils"; export type ActiveField = null | string; diff --git a/app/client/src/reducers/uiReducers/analyticsReducer.ts b/app/client/src/reducers/uiReducers/analyticsReducer.ts index 354abe161db0..debb5416d845 100644 --- a/app/client/src/reducers/uiReducers/analyticsReducer.ts +++ b/app/client/src/reducers/uiReducers/analyticsReducer.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { createReducer } from "utils/ReducerUtils"; export type SegmentState = "INIT_SUCCESS" | "INIT_UNCERTAIN"; diff --git a/app/client/src/reducers/uiReducers/appCollabReducer.ts b/app/client/src/reducers/uiReducers/appCollabReducer.ts index 0a237b0cd3cb..875a37919e2d 100644 --- a/app/client/src/reducers/uiReducers/appCollabReducer.ts +++ b/app/client/src/reducers/uiReducers/appCollabReducer.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { createReducer } from "utils/ReducerUtils"; import type { User } from "entities/AppCollab/CollabInterfaces"; import { cloneDeep } from "lodash"; diff --git a/app/client/src/reducers/uiReducers/appSettingsPaneReducer.ts b/app/client/src/reducers/uiReducers/appSettingsPaneReducer.ts index 7cbe5e7cbd9c..63c40b18a2e0 100644 --- a/app/client/src/reducers/uiReducers/appSettingsPaneReducer.ts +++ b/app/client/src/reducers/uiReducers/appSettingsPaneReducer.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { AppSettingsTabs } from "pages/Editor/AppSettingsPane/AppSettings"; import { createReducer } from "utils/ReducerUtils"; diff --git a/app/client/src/reducers/uiReducers/appThemingReducer.ts b/app/client/src/reducers/uiReducers/appThemingReducer.ts index 409db2edcd2c..3646c7035a28 100644 --- a/app/client/src/reducers/uiReducers/appThemingReducer.ts +++ b/app/client/src/reducers/uiReducers/appThemingReducer.ts @@ -1,8 +1,8 @@ import type { AppTheme } from "entities/AppTheming"; import type { AppThemingMode } from "selectors/appThemingSelectors"; import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export interface AppThemingState { isSaving: boolean; diff --git a/app/client/src/reducers/uiReducers/appViewReducer.tsx b/app/client/src/reducers/uiReducers/appViewReducer.tsx index 4b9309beecec..893d18219d85 100644 --- a/app/client/src/reducers/uiReducers/appViewReducer.tsx +++ b/app/client/src/reducers/uiReducers/appViewReducer.tsx @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; const initialState: AppViewReduxState = { isFetchingPage: false, diff --git a/app/client/src/reducers/uiReducers/authReducer.ts b/app/client/src/reducers/uiReducers/authReducer.ts index 6d4cbacb7a28..c758badc440d 100644 --- a/app/client/src/reducers/uiReducers/authReducer.ts +++ b/app/client/src/reducers/uiReducers/authReducer.ts @@ -2,7 +2,7 @@ import { createReducer } from "utils/ReducerUtils"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; const initialState: AuthState = { isValidatingToken: true, diff --git a/app/client/src/reducers/uiReducers/autoHeightReducer.ts b/app/client/src/reducers/uiReducers/autoHeightReducer.ts index e29449777a03..c84ba1cc9f03 100644 --- a/app/client/src/reducers/uiReducers/autoHeightReducer.ts +++ b/app/client/src/reducers/uiReducers/autoHeightReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; export interface AutoHeightUIStatePayload { isAutoHeightWithLimitsChanging: boolean; diff --git a/app/client/src/reducers/uiReducers/buildingBlockReducer.ts b/app/client/src/reducers/uiReducers/buildingBlockReducer.ts index de279ab7963a..dd89ed2e951f 100644 --- a/app/client/src/reducers/uiReducers/buildingBlockReducer.ts +++ b/app/client/src/reducers/uiReducers/buildingBlockReducer.ts @@ -1,8 +1,8 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { createReducer } from "utils/ReducerUtils"; const initialState: BuildingBlocksReduxState = { diff --git a/app/client/src/reducers/uiReducers/canvasSelectionReducer.ts b/app/client/src/reducers/uiReducers/canvasSelectionReducer.ts index 965c48b107f0..19e1b0359234 100644 --- a/app/client/src/reducers/uiReducers/canvasSelectionReducer.ts +++ b/app/client/src/reducers/uiReducers/canvasSelectionReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import type { XYCord } from "layoutSystems/common/canvasArenas/ArenaTypes"; diff --git a/app/client/src/reducers/uiReducers/consolidatedPageLoadReducer.ts b/app/client/src/reducers/uiReducers/consolidatedPageLoadReducer.ts index 5f9cf1b266c7..8734b52d58cb 100644 --- a/app/client/src/reducers/uiReducers/consolidatedPageLoadReducer.ts +++ b/app/client/src/reducers/uiReducers/consolidatedPageLoadReducer.ts @@ -1,5 +1,5 @@ import { createReducer } from "utils/ReducerUtils"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; const initialState: ConsolidatedPageLoadState = { isLoading: true, diff --git a/app/client/src/reducers/uiReducers/crudInfoModalReducer.ts b/app/client/src/reducers/uiReducers/crudInfoModalReducer.ts index c41508567f5a..1ff69b6f5519 100644 --- a/app/client/src/reducers/uiReducers/crudInfoModalReducer.ts +++ b/app/client/src/reducers/uiReducers/crudInfoModalReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { SetCrudInfoModalOpenPayload } from "actions/crudInfoModalActions"; const initialState: CrudInfoModalReduxState = { diff --git a/app/client/src/reducers/uiReducers/datasourceNameReducer.ts b/app/client/src/reducers/uiReducers/datasourceNameReducer.ts index 85a7cc0b2b75..526125af2f30 100644 --- a/app/client/src/reducers/uiReducers/datasourceNameReducer.ts +++ b/app/client/src/reducers/uiReducers/datasourceNameReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; const initialState: DatasourceNameReduxState = { isSaving: {}, diff --git a/app/client/src/reducers/uiReducers/datasourcePaneReducer.ts b/app/client/src/reducers/uiReducers/datasourcePaneReducer.ts index b23d416d09d2..7d68494232d1 100644 --- a/app/client/src/reducers/uiReducers/datasourcePaneReducer.ts +++ b/app/client/src/reducers/uiReducers/datasourcePaneReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { Datasource } from "entities/Datasource"; import _ from "lodash"; import { ActionExecutionResizerHeight } from "pages/Editor/APIEditor/constants"; diff --git a/app/client/src/reducers/uiReducers/debuggerReducer.ts b/app/client/src/reducers/uiReducers/debuggerReducer.ts index 4b7eea94f8f4..5c0f25ddb79d 100644 --- a/app/client/src/reducers/uiReducers/debuggerReducer.ts +++ b/app/client/src/reducers/uiReducers/debuggerReducer.ts @@ -1,7 +1,7 @@ import { createImmerReducer } from "utils/ReducerUtils"; import type { Log } from "entities/AppsmithConsole"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { omit, isUndefined, isEmpty } from "lodash"; import equal from "fast-deep-equal"; import { ActionExecutionResizerHeight } from "pages/Editor/APIEditor/constants"; diff --git a/app/client/src/reducers/uiReducers/dragResizeReducer.ts b/app/client/src/reducers/uiReducers/dragResizeReducer.ts index ceee841a4249..fc48fb59fb3c 100644 --- a/app/client/src/reducers/uiReducers/dragResizeReducer.ts +++ b/app/client/src/reducers/uiReducers/dragResizeReducer.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { createImmerReducer } from "utils/ReducerUtils"; import type { SetSelectedWidgetsPayload } from "../../actions/widgetSelectionActions"; diff --git a/app/client/src/reducers/uiReducers/errorReducer.tsx b/app/client/src/reducers/uiReducers/errorReducer.tsx index c53d0bc17209..2cf0535ea4ce 100644 --- a/app/client/src/reducers/uiReducers/errorReducer.tsx +++ b/app/client/src/reducers/uiReducers/errorReducer.tsx @@ -2,9 +2,9 @@ import { createReducer } from "utils/ReducerUtils"; import type { ReduxAction, ReduxActionErrorPayload, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { ERROR_CODES } from "@appsmith/constants/ApiConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { ERROR_CODES } from "ee/constants/ApiConstants"; import _ from "lodash"; const initialState: ErrorReduxState = { diff --git a/app/client/src/reducers/uiReducers/focusHistoryReducer.ts b/app/client/src/reducers/uiReducers/focusHistoryReducer.ts index def91cb1fb6a..96b8b881d104 100644 --- a/app/client/src/reducers/uiReducers/focusHistoryReducer.ts +++ b/app/client/src/reducers/uiReducers/focusHistoryReducer.ts @@ -1,5 +1,5 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { FocusEntityInfo } from "navigation/FocusEntity"; export interface FocusState { diff --git a/app/client/src/reducers/uiReducers/gitSyncReducer.ts b/app/client/src/reducers/uiReducers/gitSyncReducer.ts index 795e16bac8c3..b1a740bec61b 100644 --- a/app/client/src/reducers/uiReducers/gitSyncReducer.ts +++ b/app/client/src/reducers/uiReducers/gitSyncReducer.ts @@ -1,13 +1,13 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { GitConfig, MergeStatus } from "entities/GitSync"; import { GitSyncModalTab } from "entities/GitSync"; import type { GetSSHKeyResponseData, SSHKeyType } from "actions/gitSyncActions"; -import type { PageDefaultMeta } from "@appsmith/api/ApplicationApi"; +import type { PageDefaultMeta } from "ee/api/ApplicationApi"; export enum GitSettingsTab { GENERAL = "GENERAL", diff --git a/app/client/src/reducers/uiReducers/globalSearchReducer.ts b/app/client/src/reducers/uiReducers/globalSearchReducer.ts index 7c8c0e4c38e5..3751bde977f5 100644 --- a/app/client/src/reducers/uiReducers/globalSearchReducer.ts +++ b/app/client/src/reducers/uiReducers/globalSearchReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { RecentEntity, SearchCategory, diff --git a/app/client/src/reducers/uiReducers/helpReducer.ts b/app/client/src/reducers/uiReducers/helpReducer.ts index e59dc4967e05..23b782fbd1d5 100644 --- a/app/client/src/reducers/uiReducers/helpReducer.ts +++ b/app/client/src/reducers/uiReducers/helpReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; const initialState: HelpReduxState = { url: "", diff --git a/app/client/src/reducers/uiReducers/ideReducer.ts b/app/client/src/reducers/uiReducers/ideReducer.ts index 8226ad605649..ceaf94bc3774 100644 --- a/app/client/src/reducers/uiReducers/ideReducer.ts +++ b/app/client/src/reducers/uiReducers/ideReducer.ts @@ -1,10 +1,7 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { - EditorEntityTab, - EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { EditorEntityTab, EditorViewMode } from "ee/entities/IDE/constants"; import { klona } from "klona"; import { get, remove, set } from "lodash"; diff --git a/app/client/src/reducers/uiReducers/importReducer.ts b/app/client/src/reducers/uiReducers/importReducer.ts index 34a64b3fb7b3..34d2d79ebb87 100644 --- a/app/client/src/reducers/uiReducers/importReducer.ts +++ b/app/client/src/reducers/uiReducers/importReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; const initialState: ImportReduxState = { isCurlModalOpen: false, diff --git a/app/client/src/reducers/uiReducers/jsObjectNameReducer.tsx b/app/client/src/reducers/uiReducers/jsObjectNameReducer.tsx index 9df58832a10a..99cec7cff05b 100644 --- a/app/client/src/reducers/uiReducers/jsObjectNameReducer.tsx +++ b/app/client/src/reducers/uiReducers/jsObjectNameReducer.tsx @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; const initialState: JSObjectNameReduxState = { isSaving: {}, diff --git a/app/client/src/reducers/uiReducers/jsPaneReducer.ts b/app/client/src/reducers/uiReducers/jsPaneReducer.ts index 68489671ea62..02704b1fb558 100644 --- a/app/client/src/reducers/uiReducers/jsPaneReducer.ts +++ b/app/client/src/reducers/uiReducers/jsPaneReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { JSCollection } from "entities/JSCollection"; import { ActionExecutionResizerHeight } from "pages/Editor/APIEditor/constants"; diff --git a/app/client/src/reducers/uiReducers/layoutConversionReducer.ts b/app/client/src/reducers/uiReducers/layoutConversionReducer.ts index 72481ae35d54..aaa6aa69369a 100644 --- a/app/client/src/reducers/uiReducers/layoutConversionReducer.ts +++ b/app/client/src/reducers/uiReducers/layoutConversionReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; export enum AlertType { SUCCESS = "SUCCESS", diff --git a/app/client/src/reducers/uiReducers/libraryReducer.ts b/app/client/src/reducers/uiReducers/libraryReducer.ts index 5cda44347aee..385a314c8cb4 100644 --- a/app/client/src/reducers/uiReducers/libraryReducer.ts +++ b/app/client/src/reducers/uiReducers/libraryReducer.ts @@ -1,9 +1,9 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import recommendedLibraries from "pages/Editor/Explorer/Libraries/recommendedLibraries"; import type { JSLibrary } from "workers/common/JSLibrary"; import { defaultLibraries } from "workers/common/JSLibrary"; diff --git a/app/client/src/reducers/uiReducers/mainCanvasReducer.ts b/app/client/src/reducers/uiReducers/mainCanvasReducer.ts index 1c159ca611ad..32dc48a99ec8 100644 --- a/app/client/src/reducers/uiReducers/mainCanvasReducer.ts +++ b/app/client/src/reducers/uiReducers/mainCanvasReducer.ts @@ -2,8 +2,8 @@ import { createImmerReducer } from "utils/ReducerUtils"; import type { ReduxAction, UpdateCanvasPayload, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { layoutConfigurations, MAIN_CONTAINER_WIDGET_ID, diff --git a/app/client/src/reducers/uiReducers/modalActionReducer.ts b/app/client/src/reducers/uiReducers/modalActionReducer.ts index df22c52b0259..258f90a4a354 100644 --- a/app/client/src/reducers/uiReducers/modalActionReducer.ts +++ b/app/client/src/reducers/uiReducers/modalActionReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; const initialState: ModalActionReduxState = { modals: [], diff --git a/app/client/src/reducers/uiReducers/onBoardingReducer.ts b/app/client/src/reducers/uiReducers/onBoardingReducer.ts index 6ac70e91e95d..1270ff1b8d58 100644 --- a/app/client/src/reducers/uiReducers/onBoardingReducer.ts +++ b/app/client/src/reducers/uiReducers/onBoardingReducer.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { SIGNPOSTING_STEP } from "pages/Editor/FirstTimeUserOnboarding/Utils"; import { createReducer } from "utils/ReducerUtils"; diff --git a/app/client/src/reducers/uiReducers/oneClickBindingReducer.ts b/app/client/src/reducers/uiReducers/oneClickBindingReducer.ts index 50e1fd5b59a3..42540ebaf5ef 100644 --- a/app/client/src/reducers/uiReducers/oneClickBindingReducer.ts +++ b/app/client/src/reducers/uiReducers/oneClickBindingReducer.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { createReducer } from "utils/ReducerUtils"; import type { WidgetQueryGenerationFormConfig } from "WidgetQueryGenerators/types"; diff --git a/app/client/src/reducers/uiReducers/pageCanvasStructureReducer.ts b/app/client/src/reducers/uiReducers/pageCanvasStructureReducer.ts index 81df95316e07..a786443e9923 100644 --- a/app/client/src/reducers/uiReducers/pageCanvasStructureReducer.ts +++ b/app/client/src/reducers/uiReducers/pageCanvasStructureReducer.ts @@ -1,9 +1,9 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { WidgetProps } from "widgets/BaseWidget"; import { compareAndGenerateImmutableCanvasStructure } from "utils/canvasStructureHelpers"; import type { WidgetType } from "constants/WidgetConstants"; diff --git a/app/client/src/reducers/uiReducers/pageWidgetsReducer.test.ts b/app/client/src/reducers/uiReducers/pageWidgetsReducer.test.ts index 44ed9765fcd7..c1d744dbc6c0 100644 --- a/app/client/src/reducers/uiReducers/pageWidgetsReducer.test.ts +++ b/app/client/src/reducers/uiReducers/pageWidgetsReducer.test.ts @@ -1,5 +1,5 @@ import reducer from "./pageWidgetsReducer"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getCurrentRowBinding } from "widgets/TableWidget/constants"; const pageWidgetUIInitialState = { diff --git a/app/client/src/reducers/uiReducers/pageWidgetsReducer.ts b/app/client/src/reducers/uiReducers/pageWidgetsReducer.ts index 5e10e812e58f..2aa0b8f28c13 100644 --- a/app/client/src/reducers/uiReducers/pageWidgetsReducer.ts +++ b/app/client/src/reducers/uiReducers/pageWidgetsReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { FlattenedDSL } from "@shared/dsl"; import { flattenDSL } from "@shared/dsl"; diff --git a/app/client/src/reducers/uiReducers/propertyPaneReducer.tsx b/app/client/src/reducers/uiReducers/propertyPaneReducer.tsx index 671c14c3e5d2..90bdd4757953 100644 --- a/app/client/src/reducers/uiReducers/propertyPaneReducer.tsx +++ b/app/client/src/reducers/uiReducers/propertyPaneReducer.tsx @@ -1,8 +1,8 @@ import type { ReduxAction, ShowPropertyPanePayload, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { DEFAULT_PROPERTY_PANE_WIDTH } from "constants/AppConstants"; import { createImmerReducer } from "utils/ReducerUtils"; diff --git a/app/client/src/reducers/uiReducers/reflowReducer.ts b/app/client/src/reducers/uiReducers/reflowReducer.ts index 8b8edef9a363..67230607e627 100644 --- a/app/client/src/reducers/uiReducers/reflowReducer.ts +++ b/app/client/src/reducers/uiReducers/reflowReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReflowReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReflowReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ReflowedSpaceMap } from "reflow/reflowTypes"; const initialState: widgetReflow = { diff --git a/app/client/src/reducers/uiReducers/releasesReducer.ts b/app/client/src/reducers/uiReducers/releasesReducer.ts index 2ed8e569281d..87cf6f73eab8 100644 --- a/app/client/src/reducers/uiReducers/releasesReducer.ts +++ b/app/client/src/reducers/uiReducers/releasesReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; const initialState: ReleasesState = { newReleasesCount: "", diff --git a/app/client/src/reducers/uiReducers/tableFilterPaneReducer.tsx b/app/client/src/reducers/uiReducers/tableFilterPaneReducer.tsx index b9b15de5fdd0..29b1d7a2c195 100644 --- a/app/client/src/reducers/uiReducers/tableFilterPaneReducer.tsx +++ b/app/client/src/reducers/uiReducers/tableFilterPaneReducer.tsx @@ -2,8 +2,8 @@ import { createReducer } from "utils/ReducerUtils"; import type { ReduxAction, ShowPropertyPanePayload, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; const initialState: TableFilterPaneReduxState = { isVisible: false, diff --git a/app/client/src/reducers/uiReducers/templateReducer.ts b/app/client/src/reducers/uiReducers/templateReducer.ts index 1760cb4a67f4..bb193d12b43a 100644 --- a/app/client/src/reducers/uiReducers/templateReducer.ts +++ b/app/client/src/reducers/uiReducers/templateReducer.ts @@ -1,9 +1,9 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { Template, TemplateFiltersResponse } from "api/TemplatesApi"; const initialState: TemplatesReduxState = { diff --git a/app/client/src/reducers/uiReducers/themeReducer.ts b/app/client/src/reducers/uiReducers/themeReducer.ts index 2f37493d8661..233c47e5afb4 100644 --- a/app/client/src/reducers/uiReducers/themeReducer.ts +++ b/app/client/src/reducers/uiReducers/themeReducer.ts @@ -1,6 +1,6 @@ import { createImmerReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { dark, light, theme } from "constants/DefaultTheme"; import { ThemeMode } from "selectors/themeSelectors"; diff --git a/app/client/src/reducers/uiReducers/tourReducer.ts b/app/client/src/reducers/uiReducers/tourReducer.ts index b04067c76c2c..3842411982af 100644 --- a/app/client/src/reducers/uiReducers/tourReducer.ts +++ b/app/client/src/reducers/uiReducers/tourReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { TourType } from "entities/Tour"; const initialState: TourReducerState = { diff --git a/app/client/src/reducers/uiReducers/usersReducer.ts b/app/client/src/reducers/uiReducers/usersReducer.ts index 4dd7b52ba370..8e7030d8d81b 100644 --- a/app/client/src/reducers/uiReducers/usersReducer.ts +++ b/app/client/src/reducers/uiReducers/usersReducer.ts @@ -1,15 +1,15 @@ import _ from "lodash"; import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { User } from "constants/userConstants"; import { DefaultCurrentUserDetails } from "constants/userConstants"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import { DEFAULT_FEATURE_FLAG_VALUE } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import { DEFAULT_FEATURE_FLAG_VALUE } from "ee/entities/FeatureFlag"; import type { OverriddenFeatureFlags } from "utils/hooks/useFeatureFlagOverride"; const initialState: UsersReduxState = { diff --git a/app/client/src/reducers/uiReducers/websocketReducer.ts b/app/client/src/reducers/uiReducers/websocketReducer.ts index 66cdef38349f..44d96ac82382 100644 --- a/app/client/src/reducers/uiReducers/websocketReducer.ts +++ b/app/client/src/reducers/uiReducers/websocketReducer.ts @@ -1,6 +1,6 @@ import { createReducer } from "utils/ReducerUtils"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; const initialState: WebsocketReducerState = { appLevelSocketConnected: false, diff --git a/app/client/src/sagas/ActionExecution/NavigateActionSaga.ts b/app/client/src/sagas/ActionExecution/NavigateActionSaga.ts index ab2b6168ba51..d8ce84688825 100644 --- a/app/client/src/sagas/ActionExecution/NavigateActionSaga.ts +++ b/app/client/src/sagas/ActionExecution/NavigateActionSaga.ts @@ -1,18 +1,15 @@ import { call, put, select } from "redux-saga/effects"; import { getCurrentPageId, getPageList } from "selectors/editorSelectors"; import _ from "lodash"; -import { - ReduxActionTypes, - type Page, -} from "@appsmith/constants/ReduxActionConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { ReduxActionTypes, type Page } from "ee/constants/ReduxActionConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; -import { getQueryStringfromObject } from "@appsmith/entities/URLRedirect/URLAssembly"; +import { getQueryStringfromObject } from "ee/entities/URLRedirect/URLAssembly"; import history from "utils/history"; -import { setDataUrl } from "@appsmith/sagas/PageSagas"; +import { setDataUrl } from "ee/sagas/PageSagas"; import AppsmithConsole from "utils/AppsmithConsole"; -import { builderURL, viewerURL } from "@appsmith/RouteBuilder"; +import { builderURL, viewerURL } from "ee/RouteBuilder"; import { TriggerFailureError } from "./errorUtils"; import { isValidURL, matchesURLPattern } from "utils/URLUtils"; import type { TNavigateToDescription } from "workers/Evaluation/fns/navigateTo"; diff --git a/app/client/src/sagas/ActionExecution/PluginActionSaga.ts b/app/client/src/sagas/ActionExecution/PluginActionSaga.ts index 2376b9ddbb27..ce2181f293db 100644 --- a/app/client/src/sagas/ActionExecution/PluginActionSaga.ts +++ b/app/client/src/sagas/ActionExecution/PluginActionSaga.ts @@ -27,11 +27,11 @@ import { import type { ApplicationPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ActionExecutionResponse, ActionResponse, @@ -48,12 +48,12 @@ import { getPlugin, isActionDirty, isActionSaving, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { getIsGitSyncModalOpen } from "selectors/gitSyncSelectors"; import { getAppMode, getCurrentApplication, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { find, flatten, @@ -67,16 +67,13 @@ import { unset, } from "lodash"; import AppsmithConsole from "utils/AppsmithConsole"; -import { - ENTITY_TYPE, - PLATFORM_ERROR, -} from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE, PLATFORM_ERROR } from "ee/entities/AppsmithConsole/utils"; import { extractClientDefinedErrorMetadata, validateResponse, } from "sagas/ErrorSagas"; -import type { EventName } from "@appsmith/utils/analyticsUtilTypes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { EventName } from "ee/utils/analyticsUtilTypes"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { Action } from "entities/Action"; import { ActionExecutionContext } from "entities/Action"; import { PluginType } from "entities/Action"; @@ -89,7 +86,7 @@ import { ERROR_FAIL_ON_PAGE_LOAD_ACTIONS, ERROR_PLUGIN_ACTION_EXECUTE, SWITCH_ENVIRONMENT_SUCCESS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { LayoutOnLoadActionErrors, PageAction, @@ -111,8 +108,8 @@ import PerformanceTracker, { } from "utils/PerformanceTracker"; import * as log from "loglevel"; import { EMPTY_RESPONSE } from "components/editorComponents/emptyResponse"; -import type { AppState } from "@appsmith/reducers"; -import { DEFAULT_EXECUTE_ACTION_TIMEOUT_MS } from "@appsmith/constants/ApiConstants"; +import type { AppState } from "ee/reducers"; +import { DEFAULT_EXECUTE_ACTION_TIMEOUT_MS } from "ee/constants/ApiConstants"; import { evaluateActionBindings, evalWorker } from "sagas/EvaluationsSaga"; import { isBlobUrl, parseBlobUrl } from "utils/AppsmithUtils"; import { getType, Types } from "utils/TypeHelpers"; @@ -140,19 +137,19 @@ import { import { shouldBeDefined, trimQueryString } from "utils/helpers"; import { requestModalConfirmationSaga } from "sagas/UtilSagas"; import { ModalType } from "reducers/uiReducers/modalActionReducer"; -import { matchBasePath } from "@appsmith/pages/Editor/Explorer/helpers"; +import { matchBasePath } from "ee/pages/Editor/Explorer/helpers"; import { findDatatype, isTrueObject, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import type { Plugin } from "api/PluginApi"; import { setDefaultActionDisplayFormat } from "./PluginActionSagaUtils"; import { checkAndLogErrorsIfCyclicDependency } from "sagas/helper"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { TRunDescription } from "workers/Evaluation/fns/actionFns"; import { DEBUGGER_TAB_KEYS } from "components/editorComponents/Debugger/helpers"; import { FILE_SIZE_LIMIT_FOR_BLOBS } from "constants/WidgetConstants"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; import { handleStoreOperations } from "./StoreActionSaga"; import { fetchPageAction } from "actions/pageActions"; import type { Datasource } from "entities/Datasource"; @@ -164,9 +161,9 @@ import { import { getCurrentEnvironmentDetails, getCurrentEnvironmentName, -} from "@appsmith/selectors/environmentSelectors"; -import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions"; -import { getIsActionCreatedInApp } from "@appsmith/utils/getIsActionCreatedInApp"; +} from "ee/selectors/environmentSelectors"; +import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; +import { getIsActionCreatedInApp } from "ee/utils/getIsActionCreatedInApp"; import type { OtlpSpan } from "UITelemetry/generateTraces"; import { endSpan, @@ -178,7 +175,7 @@ import { getActionProperties, getJSActionPathNameToDisplay, getPluginActionNameToDisplay, -} from "@appsmith/utils/actionExecutionUtils"; +} from "ee/utils/actionExecutionUtils"; import type { JSAction, JSCollection } from "entities/JSCollection"; import { getAllowedActionAnalyticsKeys } from "constants/AppsmithActionConstants/formConfig/ActionAnalyticsConfig"; import { setApiPaneDebuggerState } from "../../actions/apiPaneActions"; diff --git a/app/client/src/sagas/ActionExecution/ResetWidgetActionSaga.ts b/app/client/src/sagas/ActionExecution/ResetWidgetActionSaga.ts index 08d7c8c1a5e9..d64eb516f663 100644 --- a/app/client/src/sagas/ActionExecution/ResetWidgetActionSaga.ts +++ b/app/client/src/sagas/ActionExecution/ResetWidgetActionSaga.ts @@ -8,7 +8,7 @@ import { } from "sagas/ActionExecution/errorUtils"; import { getType, Types } from "utils/TypeHelpers"; import type { FlattenedWidgetProps } from "WidgetProvider/constants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { TResetWidgetDescription } from "workers/Evaluation/fns/resetWidget"; import AppsmithConsole from "utils/AppsmithConsole"; diff --git a/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts b/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts index 97f2f4340a86..c422a67f06a1 100644 --- a/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts +++ b/app/client/src/sagas/ActionExecution/ShowAlertActionSaga.ts @@ -1,7 +1,7 @@ import AppsmithConsole from "utils/AppsmithConsole"; import { ActionValidationError } from "sagas/ActionExecution/errorUtils"; import { getType, Types } from "utils/TypeHelpers"; -import type { ToastKind } from "design-system"; +import type { ToastKind } from "@appsmith/ads"; import type { TShowAlertDescription } from "workers/Evaluation/fns/showAlert"; import { call } from "redux-saga/effects"; import showToast from "sagas/ToastSagas"; diff --git a/app/client/src/sagas/ActionExecution/StoreActionSaga.ts b/app/client/src/sagas/ActionExecution/StoreActionSaga.ts index e92a5eac0ef8..176a4561529e 100644 --- a/app/client/src/sagas/ActionExecution/StoreActionSaga.ts +++ b/app/client/src/sagas/ActionExecution/StoreActionSaga.ts @@ -3,7 +3,7 @@ import { getAppStoreName } from "constants/AppConstants"; import localStorage from "utils/localStorage"; import { updateAppStore } from "actions/pageActions"; import AppsmithConsole from "utils/AppsmithConsole"; -import { getAppStoreData } from "@appsmith/selectors/entitiesSelector"; +import { getAppStoreData } from "ee/selectors/entitiesSelector"; import { getCurrentGitBranch } from "selectors/gitSyncSelectors"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import type { AppStoreState } from "reducers/entityReducers/appReducer"; diff --git a/app/client/src/sagas/ActionExecution/errorUtils.ts b/app/client/src/sagas/ActionExecution/errorUtils.ts index fef6c8a931e2..4b142364a63e 100644 --- a/app/client/src/sagas/ActionExecution/errorUtils.ts +++ b/app/client/src/sagas/ActionExecution/errorUtils.ts @@ -1,14 +1,14 @@ import { createMessage, TRIGGER_ACTION_VALIDATION_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ApiResponse } from "api/ApiResponses"; import { isString } from "lodash"; import type { Types } from "utils/TypeHelpers"; -import type { ActionTriggerKeys } from "@appsmith/workers/Evaluation/fns/index"; -import { getActionTriggerFunctionNames } from "@appsmith/workers/Evaluation/fns/index"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { ActionTriggerKeys } from "ee/workers/Evaluation/fns/index"; +import { getActionTriggerFunctionNames } from "ee/workers/Evaluation/fns/index"; +import { getAppMode } from "ee/selectors/applicationSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { setDebuggerSelectedTab, showDebugger } from "actions/debuggerActions"; import { DEBUGGER_TAB_KEYS } from "components/editorComponents/Debugger/helpers"; import store from "store"; diff --git a/app/client/src/sagas/ActionExecution/geolocationSaga.ts b/app/client/src/sagas/ActionExecution/geolocationSaga.ts index 1f0414b1fc03..a47e59cf06d0 100644 --- a/app/client/src/sagas/ActionExecution/geolocationSaga.ts +++ b/app/client/src/sagas/ActionExecution/geolocationSaga.ts @@ -1,5 +1,5 @@ import type { EventType } from "constants/AppsmithActionConstants/ActionConstants"; -import type { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; +import type { TriggerMeta } from "ee/sagas/ActionExecution/ActionExecutionSagas"; import { call, put, spawn, take } from "redux-saga/effects"; import { logActionExecutionError } from "sagas/ActionExecution/errorUtils"; import { setUserCurrentGeoLocation } from "actions/browserRequestActions"; diff --git a/app/client/src/sagas/ActionSagas.ts b/app/client/src/sagas/ActionSagas.ts index 2bb7d8701173..716453a19a7a 100644 --- a/app/client/src/sagas/ActionSagas.ts +++ b/app/client/src/sagas/ActionSagas.ts @@ -1,11 +1,11 @@ import type { EvaluationReduxAction, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { all, call, @@ -24,7 +24,7 @@ import ActionAPI from "api/ActionAPI"; import type { ApiResponse } from "api/ApiResponses"; import type { FetchPageRequest, FetchPageResponse } from "api/PageApi"; import PageApi from "api/PageApi"; -import { updateCanvasWithDSL } from "@appsmith/sagas/PageSagas"; +import { updateCanvasWithDSL } from "ee/sagas/PageSagas"; import { closeQueryActionTab, closeQueryActionTabSuccess, @@ -53,7 +53,7 @@ import { getCurrentBasePageId, getCurrentPageId, } from "selectors/editorSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { Action, ActionViewMode, @@ -70,7 +70,7 @@ import { PluginType, SlashCommand, } from "entities/Action"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; import { getAction, getCurrentPageNameByActionId, @@ -82,7 +82,7 @@ import { getPlugin, getSettingConfig, getNewEntityName, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import history from "utils/history"; import { INTEGRATION_TABS } from "constants/routes"; import PerformanceTracker, { @@ -95,14 +95,14 @@ import { ERROR_ACTION_COPY_FAIL, ERROR_ACTION_MOVE_FAIL, ERROR_ACTION_RENAME_FAIL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { get, isEmpty, merge } from "lodash"; import { fixActionPayloadForMongoQuery, getConfigInitialValues, } from "components/formControls/utils"; import AppsmithConsole from "utils/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import { createNewApiAction, @@ -117,7 +117,7 @@ import { integrationEditorURL, queryEditorIdURL, saasEditorApiIdURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { RequestPayloadAnalyticsPath, checkAndLogErrorsIfCyclicDependency, @@ -125,12 +125,12 @@ import { getFromServerWhenNoPrefetchedResult, } from "./helper"; import { setSnipingMode as setSnipingModeAction } from "actions/propertyPaneActions"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { getFormValues } from "redux-form"; import { API_EDITOR_FORM_NAME, QUERY_EDITOR_FORM_NAME, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import { DEFAULT_GRAPHQL_ACTION_CONFIG } from "constants/ApiEditorConstants/GraphQLEditorConstants"; import { DEFAULT_API_ACTION_CONFIG } from "constants/ApiEditorConstants/ApiEditorConstants"; import { fetchDatasourceStructure } from "actions/datasourceActions"; @@ -138,18 +138,18 @@ import { setAIPromptTriggered } from "utils/storage"; import { getDefaultTemplateActionConfig } from "utils/editorContextUtils"; import { sendAnalyticsEventSaga } from "./AnalyticsSaga"; import { EditorModes } from "components/editorComponents/CodeEditor/EditorConfig"; -import { updateActionAPICall } from "@appsmith/sagas/ApiCallerSagas"; +import { updateActionAPICall } from "ee/sagas/ApiCallerSagas"; import FocusRetention from "./FocusRetentionSaga"; -import { resolveParentEntityMetadata } from "@appsmith/sagas/helpers"; +import { resolveParentEntityMetadata } from "ee/sagas/helpers"; import { handleQueryEntityRedirect } from "./IDESaga"; -import { EditorViewMode, IDE_TYPE } from "@appsmith/entities/IDE/constants"; -import { getIDETypeByUrl } from "@appsmith/entities/IDE/utils"; +import { EditorViewMode, IDE_TYPE } from "ee/entities/IDE/constants"; +import { getIDETypeByUrl } from "ee/entities/IDE/utils"; import { setIdeEditorViewMode, setShowQueryCreateNewModal, } from "actions/ideActions"; import { getIsSideBySideEnabled } from "selectors/ideSelectors"; -import { CreateNewActionKey } from "@appsmith/entities/Engine/actionHelpers"; +import { CreateNewActionKey } from "ee/entities/Engine/actionHelpers"; import { convertToBasePageIdSelector } from "selectors/pageListSelectors"; export const DEFAULT_PREFIX = { diff --git a/app/client/src/sagas/AnalyticsSaga.ts b/app/client/src/sagas/AnalyticsSaga.ts index 940f59c063e5..3d9c0ce5c300 100644 --- a/app/client/src/sagas/AnalyticsSaga.ts +++ b/app/client/src/sagas/AnalyticsSaga.ts @@ -1,9 +1,9 @@ import { ReduxActionTypes, type ReduxActionType, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { Action } from "entities/Action"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { RequestPayloadAnalyticsPath, cleanValuesInObjectForHashing, @@ -14,7 +14,7 @@ import log from "loglevel"; import { all, put, select, takeEvery } from "redux-saga/effects"; import { getIdeCanvasSideBySideHoverState } from "selectors/ideSelectors"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import { EditorViewMode } from "ee/entities/IDE/constants"; import { recordAnalyticsForSideBySideNavigation, recordAnalyticsForSideBySideWidgetHover, @@ -31,7 +31,7 @@ import { WIDGETS_EDITOR_BASE_PATH, } from "constants/routes"; import type { focusWidget } from "actions/widgetActions"; -import { getCanvasWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgets } from "ee/selectors/entitiesSelector"; import { identifyEntityFromPath } from "navigation/FocusEntity"; import { getCurrentEntityInfo, isInSideBySideEditor } from "pages/Editor/utils"; diff --git a/app/client/src/sagas/ApiPaneSagas.ts b/app/client/src/sagas/ApiPaneSagas.ts index b90ece1a6e6e..5ae9bb3fdb7e 100644 --- a/app/client/src/sagas/ApiPaneSagas.ts +++ b/app/client/src/sagas/ApiPaneSagas.ts @@ -9,18 +9,18 @@ import type { ApplicationPayload, ReduxAction, ReduxActionWithMeta, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, ReduxFormActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { GetFormData } from "selectors/formSelectors"; import { getFormData } from "selectors/formSelectors"; import { API_EDITOR_FORM_NAME, QUERY_EDITOR_FORM_NAME, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import { CONTENT_TYPE_HEADER_KEY, EMPTY_KEY_VALUE_PAIRS, @@ -40,7 +40,7 @@ import { getActionByBaseId, getDatasourceActionRouteInfo, getPlugin, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { createActionRequest, setActionProperty, @@ -51,43 +51,40 @@ import type { CreateApiActionDefaultsParams, } from "entities/Action"; import { PluginPackageName, PluginType } from "entities/Action"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import log from "loglevel"; import PerformanceTracker, { PerformanceTransactionName, } from "utils/PerformanceTracker"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; -import { - createMessage, - ERROR_ACTION_RENAME_FAIL, -} from "@appsmith/constants/messages"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; +import { createMessage, ERROR_ACTION_RENAME_FAIL } from "ee/constants/messages"; import { getContentTypeHeaderValue, parseUrlForQueryParams, queryParamsRegEx, } from "utils/ApiPaneUtils"; import { updateReplayEntity } from "actions/pageActions"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { Plugin } from "api/PluginApi"; import { getDisplayFormat } from "selectors/apiPaneSelectors"; -import { apiEditorIdURL, datasourcesEditorIdURL } from "@appsmith/RouteBuilder"; +import { apiEditorIdURL, datasourcesEditorIdURL } from "ee/RouteBuilder"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import { validateResponse } from "./ErrorSagas"; import type { CreateDatasourceSuccessAction } from "actions/datasourceActions"; import { removeTempDatasource } from "actions/datasourceActions"; import { klona } from "klona/lite"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { AutoGeneratedHeader } from "pages/Editor/APIEditor/helpers"; import { deriveAutoGeneratedHeaderState } from "pages/Editor/APIEditor/helpers"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; -import { getHasManageActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { isGACEnabled } from "ee/utils/planHelpers"; +import { getHasManageActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import { getApplicationByIdFromWorkspaces, getCurrentApplicationIdForCreateNewApp, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { DEFAULT_CREATE_APPSMITH_AI_CONFIG } from "constants/ApiEditorConstants/AppsmithAIEditorConstants"; import { checkAndGetPluginFormConfigsSaga } from "./PluginSagas"; import { convertToBasePageIdSelector } from "selectors/pageListSelectors"; diff --git a/app/client/src/sagas/AppThemingSaga.tsx b/app/client/src/sagas/AppThemingSaga.tsx index 9ea239a59ef5..5f11aa3c8de7 100644 --- a/app/client/src/sagas/AppThemingSaga.tsx +++ b/app/client/src/sagas/AppThemingSaga.tsx @@ -6,24 +6,24 @@ import type { UpdateSelectedAppThemeAction, } from "actions/appThemingActions"; import { updateisBetaCardShownAction } from "actions/appThemingActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import ThemingApi from "api/AppThemingApi"; import { all, takeLatest, put, select, call } from "redux-saga/effects"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { CHANGE_APP_THEME, createMessage, DELETE_APP_THEME, SET_DEFAULT_SELECTED_THEME, -} from "@appsmith/constants/messages"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +} from "ee/constants/messages"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { updateReplayEntity } from "actions/pageActions"; -import { getCanvasWidgets } from "@appsmith/selectors/entitiesSelector"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getCanvasWidgets } from "ee/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import type { APP_MODE } from "entities/App"; import { getCurrentUser } from "selectors/usersSelectors"; import type { User } from "constants/userConstants"; diff --git a/app/client/src/sagas/AutoLayoutUpdateSagas.tsx b/app/client/src/sagas/AutoLayoutUpdateSagas.tsx index 8a99039167e9..51ec127d3f16 100644 --- a/app/client/src/sagas/AutoLayoutUpdateSagas.tsx +++ b/app/client/src/sagas/AutoLayoutUpdateSagas.tsx @@ -1,9 +1,9 @@ import { updateAndSaveLayout } from "actions/pageActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import log from "loglevel"; import type { CanvasWidgetsReduxState, @@ -57,11 +57,11 @@ import { } from "actions/controlActions"; import { isEmpty } from "lodash"; import { mutation_setPropertiesToUpdate } from "./autoHeightSagas/helpers"; -import { updateApplication } from "@appsmith/actions/applicationActions"; +import { updateApplication } from "ee/actions/applicationActions"; import { getIsCurrentlyConvertingLayout } from "selectors/autoLayoutSelectors"; import { getIsResizing } from "selectors/widgetSelectors"; import { generateAutoHeightLayoutTreeAction } from "actions/autoHeightActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { nestDSL, flattenDSL } from "@shared/dsl"; import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; diff --git a/app/client/src/sagas/BatchSagas.tsx b/app/client/src/sagas/BatchSagas.tsx index 2eafc31d3f7c..d5931afd8eb9 100644 --- a/app/client/src/sagas/BatchSagas.tsx +++ b/app/client/src/sagas/BatchSagas.tsx @@ -1,8 +1,8 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ import _ from "lodash"; import { put, debounce, takeEvery, all } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { batchActionSuccess } from "actions/batchActions"; import * as log from "loglevel"; diff --git a/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts b/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts index 15f622d2383d..2a2756c9ba7c 100644 --- a/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts +++ b/app/client/src/sagas/BuildingBlockSagas/BuildingBlockAdditionSagas.ts @@ -1,10 +1,10 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/ReduxActionConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { cloneDeep, isString } from "lodash"; import log from "loglevel"; @@ -23,7 +23,7 @@ import { generateReactKey } from "utils/generators"; import { getCopiedWidgets, saveCopiedWidgets } from "utils/storage"; import { getWidgets, getWidgetsMeta } from "../selectors"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { BlueprintOperationTypes } from "WidgetProvider/constants"; import { generateAutoHeightLayoutTreeAction } from "actions/autoHeightActions"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; @@ -66,8 +66,8 @@ import { import ApplicationApi, { type ImportBuildingBlockToApplicationRequest, type ImportBuildingBlockToApplicationResponse, -} from "@appsmith/api/ApplicationApi"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/api/ApplicationApi"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import type { WidgetAddChild } from "actions/pageActions"; import { runAction } from "actions/pluginActionActions"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; @@ -95,7 +95,7 @@ import { postPageAdditionSaga } from "../TemplatesSagas"; import { addChildSaga } from "../WidgetAdditionSagas"; import { calculateNewWidgetPosition } from "../WidgetOperationSagas"; import { getDragDetails, getWidgetByName } from "../selectors"; -import { getJSCollection } from "@appsmith/selectors/entitiesSelector"; +import { getJSCollection } from "ee/selectors/entitiesSelector"; function* addBuildingBlockActionsToApplication(dragDetails: DragDetails) { const applicationId: string = yield select(getCurrentApplicationId); diff --git a/app/client/src/sagas/BuildingBlockSagas/index.ts b/app/client/src/sagas/BuildingBlockSagas/index.ts index a7e4c86b5196..b160264d11d3 100644 --- a/app/client/src/sagas/BuildingBlockSagas/index.ts +++ b/app/client/src/sagas/BuildingBlockSagas/index.ts @@ -1,6 +1,6 @@ -import type { ImportBuildingBlockToApplicationResponse } from "@appsmith/api/ApplicationApi"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { getAction } from "@appsmith/selectors/entitiesSelector"; +import type { ImportBuildingBlockToApplicationResponse } from "ee/api/ApplicationApi"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { getAction } from "ee/selectors/entitiesSelector"; import { flattenDSL } from "@shared/dsl"; import type { WidgetProps } from "@shared/dsl/src/migrate/types"; import type { FlattenedWidgetProps } from "WidgetProvider/constants"; diff --git a/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockTests.test.ts b/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockTests.test.ts index 5724fa522a7d..119c6e9d1596 100644 --- a/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockTests.test.ts +++ b/app/client/src/sagas/BuildingBlockSagas/tests/AddAndMoveBuildingBlockTests.test.ts @@ -1,9 +1,9 @@ import { ReduxActionTypes, type ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { getAction } from "@appsmith/selectors/entitiesSelector"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/constants/ReduxActionConstants"; +import { getAction } from "ee/selectors/entitiesSelector"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import type { WidgetAddChild } from "actions/pageActions"; import type { Action } from "entities/Action"; import type { DragDetails } from "reducers/uiReducers/dragResizeReducer"; diff --git a/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts b/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts index ce4e9d8c6812..09ca8be2bb87 100644 --- a/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts +++ b/app/client/src/sagas/BuildingBlockSagas/tests/fixtures.ts @@ -1,5 +1,5 @@ import type { WidgetAddChild } from "actions/pageActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type { WidgetDraggingUpdateParams } from "layoutSystems/common/canvasArenas/ArenaTypes"; import type { FlattenedWidgetProps } from "reducers/entityReducers/canvasWidgetsReducer"; import { PaginationType, PluginType, type Action } from "entities/Action"; diff --git a/app/client/src/sagas/CanvasSagas/AutoLayoutDraggingSagas.ts b/app/client/src/sagas/CanvasSagas/AutoLayoutDraggingSagas.ts index 59cb372ecb66..e616301dd620 100644 --- a/app/client/src/sagas/CanvasSagas/AutoLayoutDraggingSagas.ts +++ b/app/client/src/sagas/CanvasSagas/AutoLayoutDraggingSagas.ts @@ -1,10 +1,10 @@ import type { WidgetAddChild } from "actions/pageActions"; import { updateAndSaveLayout } from "actions/pageActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { FlexLayerAlignment } from "layoutSystems/common/utils/constants"; import { LayoutDirection } from "layoutSystems/common/utils/constants"; import { diff --git a/app/client/src/sagas/CanvasSagas/DraggingCanvasSagas.ts b/app/client/src/sagas/CanvasSagas/DraggingCanvasSagas.ts index aafa2080da83..d93af9d4c735 100644 --- a/app/client/src/sagas/CanvasSagas/DraggingCanvasSagas.ts +++ b/app/client/src/sagas/CanvasSagas/DraggingCanvasSagas.ts @@ -1,9 +1,9 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/ReduxActionConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { BlueprintOperationTypes } from "WidgetProvider/constants"; import { generateAutoHeightLayoutTreeAction } from "actions/autoHeightActions"; import type { WidgetAddChild } from "actions/pageActions"; @@ -15,7 +15,7 @@ import { GridDefaults, MAIN_CONTAINER_WIDGET_ID, } from "constants/WidgetConstants"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { updateRelationships } from "layoutSystems/autolayout/utils/autoLayoutDraggingUtils"; import type { WidgetDraggingUpdateParams } from "layoutSystems/common/canvasArenas/ArenaTypes"; import { calculateDropTargetRows } from "layoutSystems/common/dropTarget/DropTargetUtils"; diff --git a/app/client/src/sagas/CanvasSagas/SelectionCanvasSagas.ts b/app/client/src/sagas/CanvasSagas/SelectionCanvasSagas.ts index 92081c749655..dac9920533dd 100644 --- a/app/client/src/sagas/CanvasSagas/SelectionCanvasSagas.ts +++ b/app/client/src/sagas/CanvasSagas/SelectionCanvasSagas.ts @@ -1,7 +1,7 @@ import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import type { OccupiedSpace } from "constants/CanvasEditorConstants"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import equal from "fast-deep-equal/es6"; import type { Task } from "redux-saga"; diff --git a/app/client/src/sagas/CommunityTemplatesSagas.tsx b/app/client/src/sagas/CommunityTemplatesSagas.tsx index e36c6c98e19e..b8650421bd0c 100644 --- a/app/client/src/sagas/CommunityTemplatesSagas.tsx +++ b/app/client/src/sagas/CommunityTemplatesSagas.tsx @@ -1,25 +1,22 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +} from "ee/constants/ReduxActionConstants"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { all, call, put, select, takeEvery } from "redux-saga/effects"; import { validateResponse, type ErrorActionPayload } from "./ErrorSagas"; -import { - COMMUNITY_TEMPLATES, - createMessage, -} from "@appsmith/constants/messages"; -import { toast } from "design-system"; +import { COMMUNITY_TEMPLATES, createMessage } from "ee/constants/messages"; +import { toast } from "@appsmith/ads"; import type { PublishCommunityTemplateRequest, PublishCommunityTemplateResponse, } from "api/TemplatesApi"; import TemplatesAPI from "api/TemplatesApi"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getCurrentApplicationId } from "selectors/editorSelectors"; -import type { UpdateUserRequest } from "@appsmith/api/UserApi"; -import UserApi from "@appsmith/api/UserApi"; +import type { UpdateUserRequest } from "ee/api/UserApi"; +import UserApi from "ee/api/UserApi"; import type { PublishCommunityTemplatePayload } from "actions/communityTemplateActions"; import type { ApiResponse } from "api/ApiResponses"; diff --git a/app/client/src/sagas/CurlImportSagas.ts b/app/client/src/sagas/CurlImportSagas.ts index be86baef2246..1f9829a89486 100644 --- a/app/client/src/sagas/CurlImportSagas.ts +++ b/app/client/src/sagas/CurlImportSagas.ts @@ -1,19 +1,19 @@ import { takeLatest, put, all, select } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { validateResponse } from "sagas/ErrorSagas"; import type { CurlImportRequest } from "api/ImportApi"; import CurlImportApi from "api/ImportApi"; import type { ApiResponse } from "api/ApiResponses"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import transformCurlImport from "transformers/CurlImportTransformer"; import history from "utils/history"; import { CURL } from "constants/AppsmithActionConstants/ActionConstants"; -import { apiEditorIdURL } from "@appsmith/RouteBuilder"; +import { apiEditorIdURL } from "ee/RouteBuilder"; import { convertToBaseParentEntityIdSelector } from "selectors/pageListSelectors"; export function* curlImportSaga(action: ReduxAction) { diff --git a/app/client/src/sagas/DatasourcesSagas.ts b/app/client/src/sagas/DatasourcesSagas.ts index 1ced8490b242..5e0a60e6b2f6 100644 --- a/app/client/src/sagas/DatasourcesSagas.ts +++ b/app/client/src/sagas/DatasourcesSagas.ts @@ -23,18 +23,18 @@ import type { ReduxAction, ReduxActionWithCallbacks, ReduxActionWithMeta, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, ReduxFormActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { getCurrentApplicationId, getCurrentBasePageId, getCurrentPageId, } from "selectors/editorSelectors"; -import type { DatasourceGroupByPluginCategory } from "@appsmith/selectors/entitiesSelector"; +import type { DatasourceGroupByPluginCategory } from "ee/selectors/entitiesSelector"; import { getDatasource, getDatasourceActionRouteInfo, @@ -50,7 +50,7 @@ import { getPluginForm, getPluginPackageFromDatasourceId, PluginCategory, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { executeDatasourceQueryReduxAction, UpdateDatasourceSuccessAction, @@ -93,12 +93,12 @@ import { API_EDITOR_FORM_NAME, DATASOURCE_DB_FORM, DATASOURCE_REST_API_FORM, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import { validateResponse } from "./ErrorSagas"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { GetFormData } from "selectors/formSelectors"; import { getFormData } from "selectors/formSelectors"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getConfigInitialValues } from "components/formControls/utils"; import { setActionProperty } from "actions/pluginActionActions"; import { authorizeDatasourceWithAppsmithToken } from "api/CloudServicesApi"; @@ -115,9 +115,9 @@ import { OAUTH_AUTHORIZATION_APPSMITH_ERROR, OAUTH_AUTHORIZATION_FAILED, OAUTH_AUTHORIZATION_SUCCESSFUL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import AppsmithConsole from "utils/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import localStorage from "utils/localStorage"; import log from "loglevel"; import { APPSMITH_TOKEN_STORAGE_KEY } from "pages/Editor/SaaSEditor/constants"; @@ -131,20 +131,20 @@ import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil"; import { shouldBeDefined, trimQueryString } from "utils/helpers"; import { updateReplayEntity } from "actions/pageActions"; import OAuthApi from "api/OAuthApi"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getApplicationByIdFromWorkspaces, getCurrentApplication, getCurrentApplicationIdForCreateNewApp, getWorkspaceIdForImport, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { apiEditorIdURL, datasourcesEditorIdURL, generateTemplateFormURL, integrationEditorURL, saasEditorDatasourceIdURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { DATASOURCE_NAME_DEFAULT_PREFIX, GOOGLE_SHEET_FILE_PICKER_OVERLAY_CLASS, @@ -152,7 +152,7 @@ import { TEMP_DATASOURCE_ID, } from "constants/Datasource"; import { getUntitledDatasourceSequence } from "utils/DatasourceSagaUtils"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { fetchPluginFormConfig } from "actions/pluginActions"; import { addClassToDocumentRoot } from "pages/utils"; import { AuthorizationStatus } from "pages/common/datasourceAuth"; @@ -161,22 +161,22 @@ import { getFormName, isGoogleSheetPluginDS, } from "utils/editorContextUtils"; -import { getDefaultEnvId } from "@appsmith/api/ApiUtils"; +import { getDefaultEnvId } from "ee/api/ApiUtils"; import { klona } from "klona/lite"; import { getCurrentEditingEnvironmentId, getCurrentEnvironmentDetails, isEnvironmentFetching, -} from "@appsmith/selectors/environmentSelectors"; -import { waitForFetchEnvironments } from "@appsmith/sagas/EnvironmentSagas"; +} from "ee/selectors/environmentSelectors"; +import { waitForFetchEnvironments } from "ee/sagas/EnvironmentSagas"; import { getCurrentGitBranch } from "selectors/gitSyncSelectors"; import FocusRetention from "./FocusRetentionSaga"; import { identifyEntityFromPath } from "../navigation/FocusEntity"; import { MAX_DATASOURCE_SUGGESTIONS } from "constants/DatasourceEditorConstants"; import { getFromServerWhenNoPrefetchedResult } from "./helper"; import { executeGoogleApi } from "./loadGoogleApi"; -import type { ActionParentEntityTypeInterface } from "@appsmith/entities/Engine/actionHelpers"; -import { getCurrentModuleId } from "@appsmith/selectors/modulesSelector"; +import type { ActionParentEntityTypeInterface } from "ee/entities/Engine/actionHelpers"; +import { getCurrentModuleId } from "ee/selectors/modulesSelector"; function* fetchDatasourcesSaga( action: ReduxAction< diff --git a/app/client/src/sagas/DebuggerSagas.ts b/app/client/src/sagas/DebuggerSagas.ts index 28e29988d24d..0901a485a322 100644 --- a/app/client/src/sagas/DebuggerSagas.ts +++ b/app/client/src/sagas/DebuggerSagas.ts @@ -8,15 +8,15 @@ import { debuggerLogInit, deleteErrorLog, } from "actions/debuggerActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { Log, LogActionPayload, LogObject, } from "entities/AppsmithConsole"; import { LOG_CATEGORY } from "entities/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { all, call, @@ -33,7 +33,7 @@ import { getPlugin, getJSCollection, getAppMode, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Action } from "entities/Action"; import { PluginType } from "entities/Action"; import type { JSCollection } from "entities/JSCollection"; @@ -43,21 +43,19 @@ import { getConfigTree } from "selectors/dataTreeSelectors"; import { createLogTitleString } from "components/editorComponents/Debugger/helpers"; import AppsmithConsole from "utils/AppsmithConsole"; import { getWidget } from "./selectors"; -import AnalyticsUtil, { - AnalyticsEventType, -} from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil, { AnalyticsEventType } from "ee/utils/AnalyticsUtil"; import type { Plugin } from "api/PluginApi"; import { getCurrentPageId } from "selectors/editorSelectors"; import type { WidgetProps } from "widgets/BaseWidget"; import * as log from "loglevel"; -import type { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; -import { isWidget } from "@appsmith/workers/Evaluation/evaluationUtils"; -import { getCurrentEnvironmentDetails } from "@appsmith/selectors/environmentSelectors"; +import type { TriggerMeta } from "ee/sagas/ActionExecution/ActionExecutionSagas"; +import { isWidget } from "ee/workers/Evaluation/evaluationUtils"; +import { getCurrentEnvironmentDetails } from "ee/selectors/environmentSelectors"; import { getActiveEditorField } from "selectors/activeEditorFieldSelectors"; import { transformAddErrorLogsSaga, transformDeleteErrorLogsSaga, -} from "@appsmith/sagas/helpers"; +} from "ee/sagas/helpers"; let blockedSource: string | null = null; diff --git a/app/client/src/sagas/ErrorSagas.tsx b/app/client/src/sagas/ErrorSagas.tsx index 225ee9a7bac3..8703a2cf439d 100644 --- a/app/client/src/sagas/ErrorSagas.tsx +++ b/app/client/src/sagas/ErrorSagas.tsx @@ -1,19 +1,16 @@ import { get } from "lodash"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import log from "loglevel"; import history from "utils/history"; import type { ApiResponse } from "api/ApiResponses"; import { flushErrors, safeCrashApp } from "actions/errorActions"; import { AUTH_LOGIN_URL } from "constants/routes"; import type { User } from "constants/userConstants"; -import { - ERROR_CODES, - SERVER_ERROR_CODES, -} from "@appsmith/constants/ApiConstants"; +import { ERROR_CODES, SERVER_ERROR_CODES } from "ee/constants/ApiConstants"; import { getSafeCrash } from "selectors/errorSelectors"; import { getCurrentUser } from "selectors/usersSelectors"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; @@ -25,12 +22,12 @@ import { ERROR_0, DEFAULT_ERROR_MESSAGE, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import store from "store"; import * as Sentry from "@sentry/react"; -import { axiosConnectionAbortedCode } from "@appsmith/api/ApiUtils"; -import { getLoginUrl } from "@appsmith/utils/adminSettingsHelpers"; +import { axiosConnectionAbortedCode } from "ee/api/ApiUtils"; +import { getLoginUrl } from "ee/utils/adminSettingsHelpers"; import type { PluginErrorDetails } from "api/ActionAPI"; import showToast from "sagas/ToastSagas"; diff --git a/app/client/src/sagas/EvalErrorHandler.ts b/app/client/src/sagas/EvalErrorHandler.ts index fee384a235cf..ee33f00ada4a 100644 --- a/app/client/src/sagas/EvalErrorHandler.ts +++ b/app/client/src/sagas/EvalErrorHandler.ts @@ -2,7 +2,7 @@ import type { Log } from "entities/AppsmithConsole"; import { getModuleInstanceInvalidErrors, type ENTITY_TYPE, -} from "@appsmith/entities/AppsmithConsole/utils"; +} from "ee/entities/AppsmithConsole/utils"; import { Severity } from "entities/AppsmithConsole"; import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; import { @@ -10,7 +10,7 @@ import { isAction, isJSAction, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import type { EvalError, EvaluationError } from "utils/DynamicBindingUtils"; import { EvalErrorTypes, getEvalErrorPath } from "utils/DynamicBindingUtils"; import { get } from "lodash"; @@ -18,18 +18,18 @@ import LOG_TYPE from "entities/AppsmithConsole/logtype"; import { select } from "redux-saga/effects"; import AppsmithConsole from "utils/AppsmithConsole"; import * as Sentry from "@sentry/react"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { createMessage, ERROR_EVAL_ERROR_GENERIC, JS_OBJECT_BODY_INVALID, VALUE_IS_INVALID, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import log from "loglevel"; -import type { AppState } from "@appsmith/reducers"; -import { toast } from "design-system"; -import { isDynamicEntity } from "@appsmith/entities/DataTree/isDynamicEntity"; -import { getEntityPayloadInfo } from "@appsmith/utils/getEntityPayloadInfo"; +import type { AppState } from "ee/reducers"; +import { toast } from "@appsmith/ads"; +import { isDynamicEntity } from "ee/entities/DataTree/isDynamicEntity"; +import { getEntityPayloadInfo } from "ee/utils/getEntityPayloadInfo"; const getDebuggerErrors = (state: AppState) => state.ui.debugger.errors; diff --git a/app/client/src/sagas/EvalWorkerActionSagas.ts b/app/client/src/sagas/EvalWorkerActionSagas.ts index a8c00c1a7c17..671ac1d1e57c 100644 --- a/app/client/src/sagas/EvalWorkerActionSagas.ts +++ b/app/client/src/sagas/EvalWorkerActionSagas.ts @@ -1,13 +1,13 @@ import { all, call, put, select, spawn, take } from "redux-saga/effects"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; import log from "loglevel"; import type { Channel } from "redux-saga"; import { storeLogs } from "../sagas/DebuggerSagas"; import type { BatchedJSExecutionData, BatchedJSExecutionErrors, -} from "@appsmith/reducers/entityReducers/jsActionsReducer"; +} from "ee/reducers/entityReducers/jsActionsReducer"; import type { TMessage } from "utils/MessageUtil"; import { MessageType } from "utils/MessageUtil"; import type { ResponsePayload } from "../sagas/EvaluationsSaga"; diff --git a/app/client/src/sagas/EvaluationsSaga.test.ts b/app/client/src/sagas/EvaluationsSaga.test.ts index 176218d583a6..0cfc69a6c653 100644 --- a/app/client/src/sagas/EvaluationsSaga.test.ts +++ b/app/client/src/sagas/EvaluationsSaga.test.ts @@ -5,19 +5,19 @@ import { evalWorker, } from "./EvaluationsSaga"; import { expectSaga } from "redux-saga-test-plan"; -import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; import { select } from "redux-saga/effects"; import { getMetaWidgets, getWidgets, getWidgetsMeta } from "./selectors"; -import { getAllActionValidationConfig } from "@appsmith//selectors/entitiesSelector"; +import { getAllActionValidationConfig } from "ee//selectors/entitiesSelector"; import { getSelectedAppTheme } from "selectors/appThemingSelectors"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import * as log from "loglevel"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { fetchPluginFormConfigsSuccess } from "actions/pluginActions"; import { createJSCollectionSuccess } from "actions/jsActionActions"; jest.mock("loglevel"); diff --git a/app/client/src/sagas/EvaluationsSaga.ts b/app/client/src/sagas/EvaluationsSaga.ts index 4dcaa0eff1b9..bd7b9aafced0 100644 --- a/app/client/src/sagas/EvaluationsSaga.ts +++ b/app/client/src/sagas/EvaluationsSaga.ts @@ -16,8 +16,8 @@ import type { ReduxAction, ReduxActionType, AnyReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { getDataTree, getUnevaluatedDataTree, @@ -28,7 +28,7 @@ import WidgetFactory from "WidgetProvider/factory"; import { GracefulWorkerService } from "utils/WorkerUtil"; import type { EvalError, EvaluationError } from "utils/DynamicBindingUtils"; import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; -import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; import log from "loglevel"; import type { WidgetProps } from "widgets/BaseWidget"; import PerformanceTracker, { @@ -40,7 +40,7 @@ import { EVAL_AND_LINT_REDUX_ACTIONS, FIRST_EVAL_REDUX_ACTIONS, getRequiresLinting, -} from "@appsmith/actions/evaluationActionsList"; +} from "ee/actions/evaluationActionsList"; import { setDependencyMap, setEvaluatedTree, @@ -59,11 +59,11 @@ import { updateTernDefinitions, } from "./PostEvaluationSagas"; import type { JSAction, JSCollection } from "entities/JSCollection"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; import { get, isEmpty } from "lodash"; -import type { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; -import { executeActionTriggers } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; +import type { TriggerMeta } from "ee/sagas/ActionExecution/ActionExecutionSagas"; +import { executeActionTriggers } from "ee/sagas/ActionExecution/ActionExecutionSagas"; import { EventType, TriggerKind, @@ -73,7 +73,7 @@ import { REPLAY_DELAY } from "entities/Replay/replayUtils"; import type { EvaluationVersion } from "constants/EvalConstants"; import type { LogObject } from "entities/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { Replayable } from "entities/Replay/ReplayEntity/ReplayEditor"; import type { FormEvaluationState } from "reducers/evaluationReducers/formEvaluationReducer"; import type { FormEvalActionPayload } from "./FormEvaluationSaga"; @@ -82,8 +82,8 @@ import { resetWidgetsMetaState, updateMetaState } from "actions/metaActions"; import { getAllActionValidationConfig, getAllJSActionsData, -} from "@appsmith/selectors/entitiesSelector"; -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; +} from "ee/selectors/entitiesSelector"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree, @@ -94,14 +94,14 @@ import type { EvalTreeRequestData, EvalTreeResponseData, } from "workers/Evaluation/types"; -import type { ActionDescription } from "@appsmith/workers/Evaluation/fns"; +import type { ActionDescription } from "ee/workers/Evaluation/fns"; import { handleEvalWorkerRequestSaga } from "./EvalWorkerActionSagas"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { executeJSUpdates } from "actions/pluginActionActions"; import { setEvaluatedActionSelectorField } from "actions/actionSelectorActions"; import { waitForWidgetConfigBuild } from "./InitSagas"; -import { logDynamicTriggerExecution } from "@appsmith/sagas/analyticsSaga"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { logDynamicTriggerExecution } from "ee/sagas/analyticsSaga"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; import { fetchFeatureFlagsInit } from "actions/userActions"; import type { AffectedJSObjects } from "./EvaluationsSagaUtils"; import { @@ -109,11 +109,11 @@ import { parseUpdatesAndDeleteUndefinedUpdates, } from "./EvaluationsSagaUtils"; import { getFeatureFlagsFetched } from "selectors/usersSelectors"; -import { getIsCurrentEditorWorkflowType } from "@appsmith/selectors/workflowSelectors"; +import { getIsCurrentEditorWorkflowType } from "ee/selectors/workflowSelectors"; import { evalErrorHandler } from "./EvalErrorHandler"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { endSpan, startRootSpan } from "UITelemetry/generateTraces"; -import { transformTriggerEvalErrors } from "@appsmith/sagas/helpers"; +import { transformTriggerEvalErrors } from "ee/sagas/helpers"; const APPSMITH_CONFIGS = getAppsmithConfigs(); export const evalWorker = new GracefulWorkerService( diff --git a/app/client/src/sagas/EvaluationsSagaUtils.test.ts b/app/client/src/sagas/EvaluationsSagaUtils.test.ts index 51f22497ed17..6783cf41c666 100644 --- a/app/client/src/sagas/EvaluationsSagaUtils.test.ts +++ b/app/client/src/sagas/EvaluationsSagaUtils.test.ts @@ -11,11 +11,11 @@ import type { JSCollection } from "entities/JSCollection"; import type { BufferedReduxAction, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; describe("getAffectedJSObjectIdsFromAction", () => { const jsObject1 = { id: "1234" } as JSCollection; diff --git a/app/client/src/sagas/EvaluationsSagaUtils.ts b/app/client/src/sagas/EvaluationsSagaUtils.ts index 401b442b5b85..7fc5b884c7e6 100644 --- a/app/client/src/sagas/EvaluationsSagaUtils.ts +++ b/app/client/src/sagas/EvaluationsSagaUtils.ts @@ -1,8 +1,8 @@ import type { BufferedReduxAction, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { AFFECTED_JS_OBJECTS_FNS } from "@appsmith/sagas/InferAffectedJSObjects"; +} from "ee/constants/ReduxActionConstants"; +import { AFFECTED_JS_OBJECTS_FNS } from "ee/sagas/InferAffectedJSObjects"; import log from "loglevel"; import type { DiffWithNewTreeState } from "workers/Evaluation/helpers"; diff --git a/app/client/src/sagas/FocusRetentionSaga.ts b/app/client/src/sagas/FocusRetentionSaga.ts index 6a2450d5397a..8c8758642f97 100644 --- a/app/client/src/sagas/FocusRetentionSaga.ts +++ b/app/client/src/sagas/FocusRetentionSaga.ts @@ -16,12 +16,12 @@ import { } from "actions/focusHistoryActions"; import type { AppsmithLocationState } from "utils/history"; import type { Action } from "entities/Action"; -import { getAction, getPlugin } from "@appsmith/selectors/entitiesSelector"; +import { getAction, getPlugin } from "ee/selectors/entitiesSelector"; import type { Plugin } from "api/PluginApi"; import { getCurrentGitBranch } from "selectors/gitSyncSelectors"; -import { getIDETypeByUrl } from "@appsmith/entities/IDE/utils"; -import { getIDEFocusStrategy } from "@appsmith/navigation/FocusStrategy"; -import { IDE_TYPE } from "@appsmith/entities/IDE/constants"; +import { getIDETypeByUrl } from "ee/entities/IDE/utils"; +import { getIDEFocusStrategy } from "ee/navigation/FocusStrategy"; +import { IDE_TYPE } from "ee/entities/IDE/constants"; export interface FocusPath { key: string; diff --git a/app/client/src/sagas/FormEvaluationSaga.ts b/app/client/src/sagas/FormEvaluationSaga.ts index 8900bc2820ef..599a070bc4bb 100644 --- a/app/client/src/sagas/FormEvaluationSaga.ts +++ b/app/client/src/sagas/FormEvaluationSaga.ts @@ -1,7 +1,7 @@ import type { ActionPattern } from "redux-saga/effects"; import { call, take, select, put, actionChannel } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import log from "loglevel"; import * as Sentry from "@sentry/react"; import { getFormEvaluationState } from "selectors/formSelectors"; @@ -11,12 +11,12 @@ import type { DynamicValues, FormEvaluationState, } from "reducers/evaluationReducers/formEvaluationReducer"; -import { FORM_EVALUATION_REDUX_ACTIONS } from "@appsmith/actions/evaluationActionsList"; +import { FORM_EVALUATION_REDUX_ACTIONS } from "ee/actions/evaluationActionsList"; import type { Action, ActionConfig } from "entities/Action"; import type { FormConfigType } from "components/formControls/BaseControl"; import PluginsApi from "api/PluginApi"; import type { ApiResponse } from "api/ApiResponses"; -import { getAction, getPlugin } from "@appsmith/selectors/entitiesSelector"; +import { getAction, getPlugin } from "ee/selectors/entitiesSelector"; import { getDataTreeActionConfigPath } from "entities/Action/actionProperties"; import { getDataTree } from "selectors/dataTreeSelectors"; import { getDynamicBindings, isDynamicValue } from "utils/DynamicBindingUtils"; @@ -30,7 +30,7 @@ import { import type { DatasourceConfiguration } from "entities/Datasource"; import { buffers } from "redux-saga"; import type { Plugin } from "api/PluginApi"; -import { doesPluginRequireDatasource } from "@appsmith/entities/Engine/actionHelpers"; +import { doesPluginRequireDatasource } from "ee/entities/Engine/actionHelpers"; export interface FormEvalActionPayload { formId: string; diff --git a/app/client/src/sagas/GitSyncSagas.ts b/app/client/src/sagas/GitSyncSagas.ts index b9897c8bcdde..75649e61bc8e 100644 --- a/app/client/src/sagas/GitSyncSagas.ts +++ b/app/client/src/sagas/GitSyncSagas.ts @@ -2,11 +2,11 @@ import type { ApplicationPayload, ReduxAction, ReduxActionWithCallbacks, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { actionChannel, call, @@ -87,7 +87,7 @@ import { updateLocalGitConfigSuccess, } from "actions/gitSyncActions"; -import { showReconnectDatasourceModal } from "@appsmith/actions/applicationActions"; +import { showReconnectDatasourceModal } from "ee/actions/applicationActions"; import type { ApiResponse } from "api/ApiResponses"; import type { GitConfig } from "entities/GitSync"; @@ -95,7 +95,7 @@ import { GitSyncModalTab } from "entities/GitSync"; import { getCurrentApplication, getWorkspaceIdForImport, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { AUTOCOMMIT_DISABLED_TOAST, AUTOCOMMIT_ENABLED_TOAST, @@ -107,7 +107,7 @@ import { GIT_USER_UPDATED_SUCCESSFULLY, PROTECT_BRANCH_SUCCESS, IMPORT_APP_SUCCESSFUL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import history from "utils/history"; import { addBranchParam, GIT_BRANCH_QUERY_KEY } from "constants/routes"; @@ -119,27 +119,24 @@ import { import { initEditorAction } from "actions/initActions"; import { fetchPageAction } from "actions/pageActions"; import { getLogToSentryFromResponse } from "utils/helpers"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; +import type { Workspace } from "ee/constants/workspaceConstants"; import { log } from "loglevel"; import GIT_ERROR_CODES from "constants/GitErrorCodes"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { APP_MODE } from "entities/App"; import type { GitDiscardResponse, GitMetadata, } from "reducers/uiReducers/gitSyncReducer"; import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity"; -import { - getActions, - getJSCollections, -} from "@appsmith/selectors/entitiesSelector"; +import { getActions, getJSCollections } from "ee/selectors/entitiesSelector"; import type { Action } from "entities/Action"; -import type { JSCollectionDataState } from "@appsmith/reducers/entityReducers/jsActionsReducer"; -import { toast } from "design-system"; -import { gitExtendedSagas } from "@appsmith/sagas/GitExtendedSagas"; -import { selectFeatureFlagCheck } from "@appsmith/selectors/featureFlagsSelectors"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import type { JSCollectionDataState } from "ee/reducers/entityReducers/jsActionsReducer"; +import { toast } from "@appsmith/ads"; +import { gitExtendedSagas } from "ee/sagas/GitExtendedSagas"; +import { selectFeatureFlagCheck } from "ee/selectors/featureFlagsSelectors"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; export function* handleRepoLimitReachedError(response?: ApiResponse) { const { responseMeta } = response || {}; diff --git a/app/client/src/sagas/GlobalSearchSagas.ts b/app/client/src/sagas/GlobalSearchSagas.ts index 3131a17f10a8..9e93dd003b6b 100644 --- a/app/client/src/sagas/GlobalSearchSagas.ts +++ b/app/client/src/sagas/GlobalSearchSagas.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { all, call, @@ -14,7 +14,7 @@ import { restoreRecentEntitiesSuccess, setRecentEntities, } from "actions/globalSearchActions"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getCurrentApplicationId, getIsEditorInitialized, diff --git a/app/client/src/sagas/IDESaga.tsx b/app/client/src/sagas/IDESaga.tsx index 7526a8033e7e..435190d4454f 100644 --- a/app/client/src/sagas/IDESaga.tsx +++ b/app/client/src/sagas/IDESaga.tsx @@ -13,19 +13,19 @@ import { jsCollectionListURL, queryAddURL, queryListURL, -} from "@appsmith/RouteBuilder"; -import type { EntityItem } from "@appsmith/entities/IDE/constants"; -import { getQueryEntityItemUrl } from "@appsmith/pages/Editor/IDE/EditorPane/Query/utils"; -import { getJSEntityItemUrl } from "@appsmith/pages/Editor/IDE/EditorPane/JS/utils"; +} from "ee/RouteBuilder"; +import type { EntityItem } from "ee/entities/IDE/constants"; +import { getQueryEntityItemUrl } from "ee/pages/Editor/IDE/EditorPane/Query/utils"; +import { getJSEntityItemUrl } from "ee/pages/Editor/IDE/EditorPane/JS/utils"; import log from "loglevel"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { EditorViewMode } from "ee/entities/IDE/constants"; import { retrieveIDEViewMode, storeIDEViewMode } from "utils/storage"; import { selectJSSegmentEditorTabs, selectQuerySegmentEditorTabs, -} from "@appsmith/selectors/appIDESelectors"; +} from "ee/selectors/appIDESelectors"; import { getCurrentBasePageId } from "selectors/editorSelectors"; export function* updateIDETabsOnRouteChangeSaga(entityInfo: FocusEntityInfo) { diff --git a/app/client/src/sagas/InitSagas.ts b/app/client/src/sagas/InitSagas.ts index b3c1d7397792..b92a4268fb52 100644 --- a/app/client/src/sagas/InitSagas.ts +++ b/app/client/src/sagas/InitSagas.ts @@ -17,10 +17,10 @@ import type { Page, ReduxAction, ReduxActionWithoutPayload, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { resetApplicationWidgets, resetPageList } from "actions/pageActions"; -import { resetCurrentApplication } from "@appsmith/actions/applicationActions"; +import { resetCurrentApplication } from "ee/actions/applicationActions"; import log from "loglevel"; import * as Sentry from "@sentry/react"; import { resetRecentEntities } from "actions/globalSearchActions"; @@ -46,7 +46,7 @@ import AppEngineFactory from "entities/Engine/factory"; import type { ApplicationPagePayload, FetchApplicationResponse, -} from "@appsmith/api/ApplicationApi"; +} from "ee/api/ApplicationApi"; import { getSearchQuery, updateSlugNamesInURL } from "utils/helpers"; import { generateAutoHeightLayoutTreeAction } from "actions/autoHeightActions"; import { safeCrashAppRequest } from "../actions/errorActions"; @@ -59,16 +59,16 @@ import { isEditorPath, isViewerPath, matchEditorPath, -} from "@appsmith/pages/Editor/Explorer/helpers"; +} from "ee/pages/Editor/Explorer/helpers"; import { APP_MODE } from "../entities/App"; import { GIT_BRANCH_QUERY_KEY, matchViewerPath } from "../constants/routes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { getDebuggerErrors } from "selectors/debuggerSelectors"; import { deleteErrorLog } from "actions/debuggerActions"; import { getCurrentUser } from "actions/authActions"; -import { getCurrentTenant } from "@appsmith/actions/tenantActions"; +import { getCurrentTenant } from "ee/actions/tenantActions"; import { fetchFeatureFlagsInit, fetchProductAlertInit, @@ -76,7 +76,7 @@ import { import { embedRedirectURL, validateResponse } from "./ErrorSagas"; import type { ApiResponse } from "api/ApiResponses"; import type { ProductAlert } from "reducers/uiReducers/usersReducer"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import type { Action, ActionViewMode } from "entities/Action"; import type { JSCollection } from "entities/JSCollection"; import type { FetchPageResponse, FetchPageResponseData } from "api/PageApi"; @@ -84,7 +84,7 @@ import type { AppTheme } from "entities/AppTheming"; import type { Datasource } from "entities/Datasource"; import type { Plugin, PluginFormPayload } from "api/PluginApi"; import ConsolidatedPageLoadApi from "api/ConsolidatedPageLoadApi"; -import { axiosConnectionAbortedCode } from "@appsmith/api/ApiUtils"; +import { axiosConnectionAbortedCode } from "ee/api/ApiUtils"; import { endSpan, startNestedSpan, diff --git a/app/client/src/sagas/JSLibrarySaga.ts b/app/client/src/sagas/JSLibrarySaga.ts index c4f07f9bfab5..9e09b5e1b7e8 100644 --- a/app/client/src/sagas/JSLibrarySaga.ts +++ b/app/client/src/sagas/JSLibrarySaga.ts @@ -1,14 +1,11 @@ import type { ApiResponse } from "api/ApiResponses"; import LibraryApi from "api/LibraryAPI"; -import { - createMessage, - customJSLibraryMessages, -} from "@appsmith/constants/messages"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import { createMessage, customJSLibraryMessages } from "ee/constants/messages"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { ActionPattern } from "redux-saga/effects"; import { actionChannel, @@ -22,18 +19,18 @@ import { } from "redux-saga/effects"; import { getCurrentApplicationId } from "selectors/editorSelectors"; import CodemirrorTernService from "utils/autocomplete/CodemirrorTernService"; -import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; import { validateResponse } from "./ErrorSagas"; import { EvalWorker } from "./EvaluationsSaga"; import log from "loglevel"; import { APP_MODE } from "entities/App"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getAppMode } from "ee/selectors/applicationSelectors"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { JSLibrary } from "workers/common/JSLibrary"; import { getUsedActionNames } from "selectors/actionSelectors"; import AppsmithConsole from "utils/AppsmithConsole"; -import { selectInstalledLibraries } from "@appsmith/selectors/entitiesSelector"; -import { toast } from "design-system"; +import { selectInstalledLibraries } from "ee/selectors/entitiesSelector"; +import { toast } from "@appsmith/ads"; import { endSpan, startRootSpan } from "UITelemetry/generateTraces"; import { getFromServerWhenNoPrefetchedResult } from "./helper"; diff --git a/app/client/src/sagas/JSPaneSagas.ts b/app/client/src/sagas/JSPaneSagas.ts index 7cbc04af91d8..7193e993306a 100644 --- a/app/client/src/sagas/JSPaneSagas.ts +++ b/app/client/src/sagas/JSPaneSagas.ts @@ -8,11 +8,11 @@ import { take, takeLatest, } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { getCurrentApplicationId, getCurrentLayoutId, @@ -22,18 +22,18 @@ import { import { getJSCollection, getJSCollections, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { JSCollectionData, JSCollectionDataState, -} from "@appsmith/reducers/entityReducers/jsActionsReducer"; +} from "ee/reducers/entityReducers/jsActionsReducer"; import { createNewJSFunctionName } from "utils/AppsmithUtils"; import { getQueryParams } from "utils/URLUtils"; import type { JSCollection, JSAction, Variable } from "entities/JSCollection"; import { createJSCollectionRequest } from "actions/jsActionActions"; import history from "utils/history"; import { executeJSFunction } from "./EvaluationsSaga"; -import { getJSCollectionIdFromURL } from "@appsmith/pages/Editor/Explorer/helpers"; +import { getJSCollectionIdFromURL } from "ee/pages/Editor/Explorer/helpers"; import type { JSUpdate } from "utils/JSPaneUtils"; import { getDifferenceInJSCollection, @@ -46,8 +46,8 @@ import type { JSCollectionCreateUpdateResponse, RefactorAction, SetFunctionPropertyPayload, -} from "@appsmith/api/JSActionAPI"; -import JSActionAPI from "@appsmith/api/JSActionAPI"; +} from "ee/api/JSActionAPI"; +import JSActionAPI from "ee/api/JSActionAPI"; import ActionAPI from "api/ActionAPI"; import { updateJSCollectionSuccess, @@ -60,7 +60,7 @@ import { jsSaveActionStart, refactorJSCollectionAction, } from "actions/jsPaneActions"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getPluginIdOfPackageName } from "sagas/selectors"; import { PluginPackageName, PluginType } from "entities/Action"; import { @@ -70,38 +70,35 @@ import { JS_EXECUTION_FAILURE, JS_FUNCTION_CREATE_SUCCESS, JS_FUNCTION_DELETE_SUCCESS, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { validateResponse } from "./ErrorSagas"; import AppsmithConsole from "utils/AppsmithConsole"; -import { - ENTITY_TYPE, - PLATFORM_ERROR, -} from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE, PLATFORM_ERROR } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; -import { updateCanvasWithDSL } from "@appsmith/sagas/PageSagas"; +import { updateCanvasWithDSL } from "ee/sagas/PageSagas"; import { set } from "lodash"; import { updateReplayEntity } from "actions/pageActions"; -import { jsCollectionIdURL } from "@appsmith/RouteBuilder"; +import { jsCollectionIdURL } from "ee/RouteBuilder"; import type { ApiResponse } from "api/ApiResponses"; import { ModalType } from "reducers/uiReducers/modalActionReducer"; import { requestModalConfirmationSaga } from "sagas/UtilSagas"; import { UserCancelledActionExecutionError } from "sagas/ActionExecution/errorUtils"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { checkAndLogErrorsIfCyclicDependency } from "./helper"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { DEBUGGER_TAB_KEYS } from "components/editorComponents/Debugger/helpers"; import { getJSActionPathNameToDisplay, isBrowserExecutionAllowed, -} from "@appsmith/utils/actionExecutionUtils"; +} from "ee/utils/actionExecutionUtils"; import { getJsPaneDebuggerState } from "selectors/jsPaneSelectors"; -import { logMainJsActionExecution } from "@appsmith/utils/analyticsHelpers"; +import { logMainJsActionExecution } from "ee/utils/analyticsHelpers"; import { getFocusablePropertyPaneField } from "selectors/propertyPaneSelectors"; import { getIsSideBySideEnabled } from "selectors/ideSelectors"; import { setIdeEditorViewMode } from "actions/ideActions"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; -import { updateJSCollectionAPICall } from "@appsmith/sagas/ApiCallerSagas"; +import { EditorViewMode } from "ee/entities/IDE/constants"; +import { updateJSCollectionAPICall } from "ee/sagas/ApiCallerSagas"; import { convertToBasePageIdSelector } from "selectors/pageListSelectors"; export interface GenerateDefaultJSObjectProps { diff --git a/app/client/src/sagas/LintingSagas.ts b/app/client/src/sagas/LintingSagas.ts index f49ef4c01367..6e2d4fafd784 100644 --- a/app/client/src/sagas/LintingSagas.ts +++ b/app/client/src/sagas/LintingSagas.ts @@ -1,13 +1,13 @@ import { setLintingErrors } from "actions/lintingActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { APP_MODE } from "entities/App"; import { call, put, select, takeEvery } from "redux-saga/effects"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import type { JSLibrary } from "workers/common/JSLibrary"; import { logLatestLintPropertyErrors } from "./PostLintingSagas"; -import { getAppsmithConfigs } from "@appsmith/configs"; -import type { AppState } from "@appsmith/reducers"; +import { getAppsmithConfigs } from "ee/configs"; +import type { AppState } from "ee/reducers"; import type { LintError } from "utils/DynamicBindingUtils"; import { get, set, uniq } from "lodash"; import type { LintErrorsStore } from "reducers/lintingReducers/lintErrorsReducers"; @@ -18,11 +18,11 @@ import type { LintTreeSagaRequestData, } from "plugins/Linting/types"; import type { getUnevaluatedDataTree } from "selectors/dataTreeSelectors"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { Linter } from "plugins/Linting/Linter"; import log from "loglevel"; import { getFixedTimeDifference } from "workers/common/DataTreeEvaluator/utils"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; const APPSMITH_CONFIGS = getAppsmithConfigs(); diff --git a/app/client/src/sagas/ModalSagas.ts b/app/client/src/sagas/ModalSagas.ts index 98d178541b53..8cd62f22378a 100644 --- a/app/client/src/sagas/ModalSagas.ts +++ b/app/client/src/sagas/ModalSagas.ts @@ -15,12 +15,12 @@ import { GridDefaults, MAIN_CONTAINER_WIDGET_ID, } from "constants/WidgetConstants"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { getWidget, @@ -42,7 +42,7 @@ import WidgetFactory from "WidgetProvider/factory"; import type { WidgetProps } from "widgets/BaseWidget"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import { SelectionRequestType } from "./WidgetSelectUtils"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { getIsAutoLayout } from "selectors/editorSelectors"; import { recalculateAutoLayoutColumnsAndSave } from "./AutoLayoutUpdateSagas"; import { diff --git a/app/client/src/sagas/NavigationSagas.ts b/app/client/src/sagas/NavigationSagas.ts index 7497cee8e8aa..51d8f8434963 100644 --- a/app/client/src/sagas/NavigationSagas.ts +++ b/app/client/src/sagas/NavigationSagas.ts @@ -1,6 +1,6 @@ import { all, call, takeEvery } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import EntityNavigationFactory from "pages/Editor/EntityNavigation/factory"; import type { EntityInfo } from "pages/Editor/EntityNavigation/types"; import log from "loglevel"; diff --git a/app/client/src/sagas/OnboardingSagas.ts b/app/client/src/sagas/OnboardingSagas.ts index 0951862ce7bd..671a94878a72 100644 --- a/app/client/src/sagas/OnboardingSagas.ts +++ b/app/client/src/sagas/OnboardingSagas.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { all, call, @@ -34,13 +34,13 @@ import { getCurrentApplicationId, getIsEditorInitialized, } from "selectors/editorSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import type { User } from "constants/userConstants"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import type { SIGNPOSTING_STEP } from "pages/Editor/FirstTimeUserOnboarding/Utils"; import type { StepState } from "reducers/uiReducers/onBoardingReducer"; import { isUndefined } from "lodash"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { SIGNPOSTING_ANALYTICS_STEP_NAME } from "pages/Editor/FirstTimeUserOnboarding/constants"; // Signposting sagas diff --git a/app/client/src/sagas/OneClickBindingSaga.ts b/app/client/src/sagas/OneClickBindingSaga.ts index 8354613a10b1..7f3a6ee236b5 100644 --- a/app/client/src/sagas/OneClickBindingSaga.ts +++ b/app/client/src/sagas/OneClickBindingSaga.ts @@ -1,8 +1,8 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { Plugin } from "api/PluginApi"; import { ActionCreationSourceTypeEnum, @@ -23,7 +23,7 @@ import { getCurrentPageNameByActionId, getDatasource, getPlugin, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { createNewApiName, createNewQueryName } from "utils/AppsmithUtils"; import WidgetQueryGeneratorRegistry from "utils/WidgetQueryGeneratorRegistry"; import { @@ -31,7 +31,7 @@ import { getPluginActionDefaultValues, } from "./ActionSagas"; import "../WidgetQueryGenerators"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; import "WidgetQueryGenerators"; import { getWidgetByID } from "./selectors"; import type { @@ -44,11 +44,11 @@ import type { ApiResponse } from "api/ApiResponses"; import type { ActionCreateUpdateResponse } from "api/ActionAPI"; import ActionAPI from "api/ActionAPI"; import { validateResponse } from "./ErrorSagas"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import AppsmithConsole from "utils/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { fetchActions, runAction } from "actions/pluginActionActions"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import WidgetFactory from "WidgetProvider/factory"; export function* createActionsForOneClickBindingSaga( diff --git a/app/client/src/sagas/PartialImportExportSagas/PartialExportSagas.ts b/app/client/src/sagas/PartialImportExportSagas/PartialExportSagas.ts index 74be618015cb..1488957a52ed 100644 --- a/app/client/src/sagas/PartialImportExportSagas/PartialExportSagas.ts +++ b/app/client/src/sagas/PartialImportExportSagas/PartialExportSagas.ts @@ -1,16 +1,16 @@ import ApplicationApi, { type exportApplicationRequest, -} from "@appsmith/api/ApplicationApi"; +} from "ee/api/ApplicationApi"; import type { ApplicationPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; -import { toast } from "design-system"; +} from "ee/constants/ReduxActionConstants"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; +import { toast } from "@appsmith/ads"; import { getFlexLayersForSelectedWidgets } from "layoutSystems/autolayout/utils/AutoLayoutUtils"; import type { FlexLayer } from "layoutSystems/autolayout/utils/types"; import type { FlattenedWidgetProps } from "reducers/entityReducers/canvasWidgetsReducer"; @@ -22,10 +22,7 @@ import { import { validateResponse } from "../ErrorSagas"; import { createWidgetCopy } from "../WidgetOperationUtils"; import { getWidgets } from "../selectors"; -import { - createMessage, - ERROR_IN_EXPORTING_APP, -} from "@appsmith/constants/messages"; +import { createMessage, ERROR_IN_EXPORTING_APP } from "ee/constants/messages"; import type { LayoutSystemTypes } from "layoutSystems/types"; import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; diff --git a/app/client/src/sagas/PartialImportExportSagas/PartialImportSagas.ts b/app/client/src/sagas/PartialImportExportSagas/PartialImportSagas.ts index 0d1eb91a3b09..03bf2ff81dd5 100644 --- a/app/client/src/sagas/PartialImportExportSagas/PartialImportSagas.ts +++ b/app/client/src/sagas/PartialImportExportSagas/PartialImportSagas.ts @@ -1,17 +1,17 @@ import { importPartialApplicationSuccess, initDatasourceConnectionDuringImportRequest, -} from "@appsmith/actions/applicationActions"; -import ApplicationApi from "@appsmith/api/ApplicationApi"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionErrorTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { AppState } from "@appsmith/reducers"; -import { areEnvironmentsFetched } from "@appsmith/selectors/environmentSelectors"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +} from "ee/actions/applicationActions"; +import ApplicationApi from "ee/api/ApplicationApi"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionErrorTypes } from "ee/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; +import { areEnvironmentsFetched } from "ee/selectors/environmentSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { pasteWidget } from "actions/widgetActions"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import type { ApiResponse } from "api/ApiResponses"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { call, fork, put, select } from "redux-saga/effects"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; import { diff --git a/app/client/src/sagas/PluginSagas.ts b/app/client/src/sagas/PluginSagas.ts index bb910268686d..1fe9cde1e709 100644 --- a/app/client/src/sagas/PluginSagas.ts +++ b/app/client/src/sagas/PluginSagas.ts @@ -1,20 +1,20 @@ import { all, takeEvery, call, put, select } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionTypes, ReduxActionErrorTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { DefaultPlugin, PluginFormPayload } from "api/PluginApi"; import PluginsApi from "api/PluginApi"; import { validateResponse } from "sagas/ErrorSagas"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; import { getActions, getDatasources, getPlugin, getPluginForm, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Datasource } from "entities/Datasource"; import type { Plugin } from "api/PluginApi"; import { @@ -42,7 +42,7 @@ import type { FormDependencyConfigs, FormDatasourceButtonConfigs, } from "utils/DynamicBindingUtils"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; import { getFromServerWhenNoPrefetchedResult } from "./helper"; function* fetchPluginsSaga( diff --git a/app/client/src/sagas/PostEvaluationSagas.ts b/app/client/src/sagas/PostEvaluationSagas.ts index 8039bbb59e10..a20413dbee96 100644 --- a/app/client/src/sagas/PostEvaluationSagas.ts +++ b/app/client/src/sagas/PostEvaluationSagas.ts @@ -1,52 +1,46 @@ -import { - ENTITY_TYPE, - PLATFORM_ERROR, -} from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE, PLATFORM_ERROR } from "ee/entities/AppsmithConsole/utils"; import type { WidgetEntity, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree, UnEvalTree, } from "entities/DataTree/dataTreeTypes"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import { DataTreeDiffEvent, getDataTreeForAutocomplete, getEntityNameAndPropertyPath, isAction, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import type { EvaluationError } from "utils/DynamicBindingUtils"; import { getEvalErrorPath } from "utils/DynamicBindingUtils"; import { find, get, some } from "lodash"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import { call, put, select } from "redux-saga/effects"; -import type { AnyReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { AnyReduxAction } from "ee/constants/ReduxActionConstants"; import AppsmithConsole from "utils/AppsmithConsole"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { - createMessage, - JS_EXECUTION_FAILURE, -} from "@appsmith/constants/messages"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { createMessage, JS_EXECUTION_FAILURE } from "ee/constants/messages"; import log from "loglevel"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; import { dataTreeTypeDefCreator } from "utils/autocomplete/dataTreeTypeDefCreator"; import CodemirrorTernService from "utils/autocomplete/CodemirrorTernService"; import type { JSAction, JSCollection } from "entities/JSCollection"; import { isWidgetPropertyNamePath } from "utils/widgetEvalUtils"; -import type { ActionEntityConfig } from "@appsmith/entities/DataTree/types"; +import type { ActionEntityConfig } from "ee/entities/DataTree/types"; import type { SuccessfulBindings } from "utils/SuccessfulBindingsMap"; import SuccessfulBindingMap from "utils/SuccessfulBindingsMap"; import { logActionExecutionError } from "./ActionExecution/errorUtils"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { getInstanceId } from "@appsmith/selectors/tenantSelectors"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; +import { getInstanceId } from "ee/selectors/tenantSelectors"; import type { EvalTreeResponseData } from "workers/Evaluation/types"; import { endSpan, startRootSpan } from "UITelemetry/generateTraces"; -import { getCollectionNameToDisplay } from "@appsmith/utils/actionExecutionUtils"; +import { getCollectionNameToDisplay } from "ee/utils/actionExecutionUtils"; let successfulBindingsMap: SuccessfulBindingMap | undefined; diff --git a/app/client/src/sagas/PostLintingSagas.ts b/app/client/src/sagas/PostLintingSagas.ts index 7bf8997c941d..5d35b0bc517d 100644 --- a/app/client/src/sagas/PostLintingSagas.ts +++ b/app/client/src/sagas/PostLintingSagas.ts @@ -3,11 +3,11 @@ import LOG_TYPE from "entities/AppsmithConsole/logtype"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { isEmpty } from "lodash"; import AppsmithConsole from "utils/AppsmithConsole"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import type { LintErrorsStore } from "reducers/lintingReducers/lintErrorsReducers"; -import isLintErrorLoggingEnabledForEntity from "@appsmith/plugins/Linting/utils/isLintErrorLoggingEnabledForEntity"; -import getEntityUniqueIdForLogs from "@appsmith/plugins/Linting/utils/getEntityUniqueIdForLogs"; -import type { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import isLintErrorLoggingEnabledForEntity from "ee/plugins/Linting/utils/isLintErrorLoggingEnabledForEntity"; +import getEntityUniqueIdForLogs from "ee/plugins/Linting/utils/getEntityUniqueIdForLogs"; +import type { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; // We currently only log lint errors in JSObjects export function* logLatestLintPropertyErrors({ diff --git a/app/client/src/sagas/QueryPaneSagas.ts b/app/client/src/sagas/QueryPaneSagas.ts index 1220d1c82212..e703ac1a0bfe 100644 --- a/app/client/src/sagas/QueryPaneSagas.ts +++ b/app/client/src/sagas/QueryPaneSagas.ts @@ -12,17 +12,14 @@ import type { ApplicationPayload, ReduxAction, ReduxActionWithMeta, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, ReduxFormActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { getDynamicTriggers, getFormData } from "selectors/formSelectors"; -import { - DATASOURCE_DB_FORM, - QUERY_EDITOR_FORM_NAME, -} from "@appsmith/constants/forms"; +import { DATASOURCE_DB_FORM, QUERY_EDITOR_FORM_NAME } from "ee/constants/forms"; import history from "utils/history"; import { APPLICATIONS_URL, INTEGRATION_TABS } from "constants/routes"; import { getCurrentBasePageId } from "selectors/editorSelectors"; @@ -37,7 +34,7 @@ import { getPlugins, getGenerateCRUDEnabledPluginMap, getActionByBaseId, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Action, QueryAction } from "entities/Action"; import { PluginType } from "entities/Action"; import { @@ -49,25 +46,22 @@ import { isEmpty, merge } from "lodash"; import { getConfigInitialValues } from "components/formControls/utils"; import type { Datasource } from "entities/Datasource"; import omit from "lodash/omit"; -import { - createMessage, - ERROR_ACTION_RENAME_FAIL, -} from "@appsmith/constants/messages"; +import { createMessage, ERROR_ACTION_RENAME_FAIL } from "ee/constants/messages"; import get from "lodash/get"; import { initFormEvaluations, startFormEvaluations, } from "actions/evaluationActions"; import { updateReplayEntity } from "actions/pageActions"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; -import type { EventLocation } from "@appsmith/utils/analyticsUtilTypes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; +import type { EventLocation } from "ee/utils/analyticsUtilTypes"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { datasourcesEditorIdURL, generateTemplateFormURL, integrationEditorURL, queryEditorIdURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import type { GenerateCRUDEnabledPluginMap, Plugin } from "api/PluginApi"; import { UIComponentTypes } from "api/PluginApi"; import { getUIComponent } from "pages/Editor/QueryEditor/helpers"; @@ -76,22 +70,22 @@ import { fetchDynamicValuesSaga } from "./FormEvaluationSaga"; import type { FormEvalOutput } from "reducers/evaluationReducers/formEvaluationReducer"; import { validateResponse } from "./ErrorSagas"; import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { CreateDatasourceSuccessAction } from "actions/datasourceActions"; import { createDefaultActionPayloadWithPluginDefaults } from "./ActionSagas"; -import { DB_NOT_SUPPORTED } from "@appsmith/utils/Environments"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import { isGACEnabled } from "@appsmith/utils/planHelpers"; -import { getHasManageActionPermission } from "@appsmith/utils/BusinessFeatures/permissionPageHelpers"; +import { DB_NOT_SUPPORTED } from "ee/utils/Environments"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import { isGACEnabled } from "ee/utils/planHelpers"; +import { getHasManageActionPermission } from "ee/utils/BusinessFeatures/permissionPageHelpers"; import type { ChangeQueryPayload } from "actions/queryPaneActions"; import { getApplicationByIdFromWorkspaces, getCurrentApplicationIdForCreateNewApp, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; -import { doesPluginRequireDatasource } from "@appsmith/entities/Engine/actionHelpers"; +import { doesPluginRequireDatasource } from "ee/entities/Engine/actionHelpers"; import { convertToBasePageIdSelector } from "selectors/pageListSelectors"; // Called whenever the query being edited is changed via the URL or query pane diff --git a/app/client/src/sagas/RecentEntitiesSagas.ts b/app/client/src/sagas/RecentEntitiesSagas.ts index 8b00c25c6a61..0849fb5eaafb 100644 --- a/app/client/src/sagas/RecentEntitiesSagas.ts +++ b/app/client/src/sagas/RecentEntitiesSagas.ts @@ -1,5 +1,5 @@ import { matchPath } from "react-router"; -import { matchBasePath } from "@appsmith/pages/Editor/Explorer/helpers"; +import { matchBasePath } from "ee/pages/Editor/Explorer/helpers"; import { API_EDITOR_ID_PATH, QUERIES_EDITOR_ID_PATH, diff --git a/app/client/src/sagas/ReplaySaga.ts b/app/client/src/sagas/ReplaySaga.ts index fb17d47fe7ad..dd45d0b82ff4 100644 --- a/app/client/src/sagas/ReplaySaga.ts +++ b/app/client/src/sagas/ReplaySaga.ts @@ -20,8 +20,8 @@ import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import type { ReduxAction, ReplayReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { flashElementsById } from "utils/helpers"; import { expandAccordion, @@ -30,7 +30,7 @@ import { scrollWidgetIntoView, switchTab, } from "utils/replayHelpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getCurrentApplicationId, snipingModeSelector, @@ -50,7 +50,7 @@ import { getPluginForm, getPlugins, getSettingConfig, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Action } from "entities/Action"; import { isAIAction, @@ -62,7 +62,7 @@ import { API_EDITOR_TABS } from "constants/ApiEditorConstants/CommonApiConstants import { EDITOR_TABS } from "constants/QueryEditorConstants"; import _, { isEmpty } from "lodash"; import type { ReplayEditorUpdate } from "entities/Replay/ReplayEntity/ReplayEditor"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { Datasource } from "entities/Datasource"; import { initialize } from "redux-form"; import { @@ -70,7 +70,7 @@ import { DATASOURCE_DB_FORM, DATASOURCE_REST_API_FORM, QUERY_EDITOR_FORM_NAME, -} from "@appsmith/constants/forms"; +} from "ee/constants/forms"; import type { Canvas } from "entities/Replay/ReplayEntity/ReplayCanvas"; import { setAppThemingModeStackAction, @@ -83,7 +83,7 @@ import { startFormEvaluations } from "actions/evaluationActions"; import { getUIComponent } from "pages/Editor/QueryEditor/helpers"; import type { Plugin } from "api/PluginApi"; import { UIComponentTypes } from "api/PluginApi"; -import { getCurrentEnvironmentId } from "@appsmith/selectors/environmentSelectors"; +import { getCurrentEnvironmentId } from "ee/selectors/environmentSelectors"; import { updateAndSaveAnvilLayout } from "layoutSystems/anvil/utils/anvilChecksUtils"; export interface UndoRedoPayload { diff --git a/app/client/src/sagas/SaaSPaneSagas.ts b/app/client/src/sagas/SaaSPaneSagas.ts index aca69857054a..05af0c5c792f 100644 --- a/app/client/src/sagas/SaaSPaneSagas.ts +++ b/app/client/src/sagas/SaaSPaneSagas.ts @@ -2,13 +2,13 @@ import { all, put, select, takeEvery } from "redux-saga/effects"; import type { ApplicationPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import history from "utils/history"; import { getGenerateCRUDEnabledPluginMap, getPlugin, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { Action } from "entities/Action"; import { PluginType } from "entities/Action"; import type { GenerateCRUDEnabledPluginMap, Plugin } from "api/PluginApi"; @@ -16,18 +16,18 @@ import { generateTemplateFormURL, saasEditorApiIdURL, saasEditorDatasourceIdURL, -} from "@appsmith/RouteBuilder"; +} from "ee/RouteBuilder"; import { getCurrentBasePageId } from "selectors/editorSelectors"; import type { CreateDatasourceSuccessAction } from "actions/datasourceActions"; import { getQueryParams } from "utils/URLUtils"; import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil"; -import { DATASOURCE_SAAS_FORM } from "@appsmith/constants/forms"; +import { DATASOURCE_SAAS_FORM } from "ee/constants/forms"; import { initialize } from "redux-form"; import { omit } from "lodash"; import { getApplicationByIdFromWorkspaces, getCurrentApplicationIdForCreateNewApp, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { TEMP_DATASOURCE_ID } from "constants/Datasource"; import { convertToBasePageIdSelector } from "selectors/pageListSelectors"; diff --git a/app/client/src/sagas/SnapshotSagas.ts b/app/client/src/sagas/SnapshotSagas.ts index 6cb1b23ed9ae..123300500b56 100644 --- a/app/client/src/sagas/SnapshotSagas.ts +++ b/app/client/src/sagas/SnapshotSagas.ts @@ -3,9 +3,9 @@ import { updateSnapshotDetails, } from "actions/autoLayoutActions"; import type { ApiResponse } from "api/ApiResponses"; -import ApplicationApi from "@appsmith/api/ApplicationApi"; -import type { PageDefaultMeta } from "@appsmith/api/ApplicationApi"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import ApplicationApi from "ee/api/ApplicationApi"; +import type { PageDefaultMeta } from "ee/api/ApplicationApi"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import log from "loglevel"; import type { SnapshotDetails } from "reducers/uiReducers/layoutConversionReducer"; import { CONVERSION_STATES } from "reducers/uiReducers/layoutConversionReducer"; @@ -15,7 +15,7 @@ import { getLogToSentryFromResponse } from "utils/helpers"; import { validateResponse } from "./ErrorSagas"; import { updateApplicationLayoutType } from "./AutoLayoutUpdateSagas"; import { LayoutSystemTypes } from "layoutSystems/types"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; //Saga to create application snapshot diff --git a/app/client/src/sagas/SnipingModeSaga.test.ts b/app/client/src/sagas/SnipingModeSaga.test.ts index dfbc2cc9a757..b760128e3ec1 100644 --- a/app/client/src/sagas/SnipingModeSaga.test.ts +++ b/app/client/src/sagas/SnipingModeSaga.test.ts @@ -1,18 +1,18 @@ -import type { ModuleInstance } from "@appsmith/constants/ModuleInstanceConstants"; +import type { ModuleInstance } from "ee/constants/ModuleInstanceConstants"; import { keyBy } from "lodash"; import { testStore } from "store"; import { PostgresFactory } from "test/factories/Actions/Postgres"; import type { Saga } from "redux-saga"; import { runSaga } from "redux-saga"; import { bindDataToWidgetSaga } from "./SnipingModeSagas"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { getModuleInstanceById } from "@appsmith/selectors/moduleInstanceSelectors"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { getModuleInstanceById } from "ee/selectors/moduleInstanceSelectors"; import WidgetFactory from "WidgetProvider/factory"; import TableWidget from "widgets/TableWidget/widget"; import { InputFactory } from "test/factories/Widgets/InputFactory"; -jest.mock("@appsmith/selectors/moduleInstanceSelectors", () => ({ - ...jest.requireActual("@appsmith/selectors/moduleInstanceSelectors"), +jest.mock("ee/selectors/moduleInstanceSelectors", () => ({ + ...jest.requireActual("ee/selectors/moduleInstanceSelectors"), getModuleInstanceById: jest.fn(), })); diff --git a/app/client/src/sagas/SnipingModeSagas.ts b/app/client/src/sagas/SnipingModeSagas.ts index 6010b06c876e..4967e44c235a 100644 --- a/app/client/src/sagas/SnipingModeSagas.ts +++ b/app/client/src/sagas/SnipingModeSagas.ts @@ -1,29 +1,29 @@ import { all, call, put, select, takeLeading } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { snipingModeBindToSelector } from "selectors/editorSelectors"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; -import { getCanvasWidgets } from "@appsmith/selectors/entitiesSelector"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; +import { getCanvasWidgets } from "ee/selectors/entitiesSelector"; import { batchUpdateWidgetDynamicProperty, batchUpdateWidgetProperty, } from "actions/controlActions"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { SNIPING_NOT_SUPPORTED, SNIPING_SELECT_WIDGET_AGAIN, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import WidgetFactory from "WidgetProvider/factory"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { setSnipingMode } from "actions/propertyPaneActions"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { PropertyUpdates } from "WidgetProvider/constants"; -import type { ModuleInstance } from "@appsmith/constants/ModuleInstanceConstants"; -import { getModuleInstanceById } from "@appsmith/selectors/moduleInstanceSelectors"; +import type { ModuleInstance } from "ee/constants/ModuleInstanceConstants"; +import { getModuleInstanceById } from "ee/selectors/moduleInstanceSelectors"; export function* bindDataToWidgetSaga( action: ReduxAction<{ diff --git a/app/client/src/sagas/TemplatesSagas.ts b/app/client/src/sagas/TemplatesSagas.ts index aee392cd3bf7..ff921256d2c1 100644 --- a/app/client/src/sagas/TemplatesSagas.ts +++ b/app/client/src/sagas/TemplatesSagas.ts @@ -1,21 +1,21 @@ -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { fetchApplication, showReconnectDatasourceModal, -} from "@appsmith/actions/applicationActions"; +} from "ee/actions/applicationActions"; import type { ApplicationPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; -import { findDefaultPage } from "@appsmith/sagas/ApplicationSagas"; -import { fetchPageDSLSaga } from "@appsmith/sagas/PageSagas"; -import { getCurrentWorkspaceId } from "@appsmith/selectors/selectedWorkspaceSelectors"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +} from "ee/constants/ReduxActionConstants"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; +import { findDefaultPage } from "ee/sagas/ApplicationSagas"; +import { fetchPageDSLSaga } from "ee/sagas/PageSagas"; +import { getCurrentWorkspaceId } from "ee/selectors/selectedWorkspaceSelectors"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { fetchJSLibraries } from "actions/JSLibraryActions"; import { fetchDatasources } from "actions/datasourceActions"; import { fetchJSCollections } from "actions/jsActionActions"; @@ -36,7 +36,7 @@ import type { TemplateFiltersResponse, } from "api/TemplatesApi"; import TemplatesAPI from "api/TemplatesApi"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { APP_MODE } from "entities/App"; import { all, call, put, select, take, takeEvery } from "redux-saga/effects"; import { getCurrentApplicationId } from "selectors/editorSelectors"; diff --git a/app/client/src/sagas/TernSaga.ts b/app/client/src/sagas/TernSaga.ts index 78de77fae491..481e5404ed65 100644 --- a/app/client/src/sagas/TernSaga.ts +++ b/app/client/src/sagas/TernSaga.ts @@ -1,10 +1,7 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import { - getActions, - getJSCollections, -} from "@appsmith/selectors/entitiesSelector"; -import type { AppState } from "@appsmith/reducers"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import { getActions, getJSCollections } from "ee/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; import type { RecentEntity } from "components/editorComponents/GlobalSearch/utils"; import type { Datasource } from "entities/Datasource"; import { get } from "lodash"; diff --git a/app/client/src/sagas/ThemeSaga.tsx b/app/client/src/sagas/ThemeSaga.tsx index 07fbd6ecbb3b..1c1c7e6616e1 100644 --- a/app/client/src/sagas/ThemeSaga.tsx +++ b/app/client/src/sagas/ThemeSaga.tsx @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { select, takeLatest } from "redux-saga/effects"; import localStorage from "utils/localStorage"; import type { ThemeMode } from "selectors/themeSelectors"; diff --git a/app/client/src/sagas/ToastSagas.ts b/app/client/src/sagas/ToastSagas.ts index c158fa3d11d2..3d9aee703c00 100644 --- a/app/client/src/sagas/ToastSagas.ts +++ b/app/client/src/sagas/ToastSagas.ts @@ -1,8 +1,8 @@ -import type { ToastProps } from "design-system"; -import { toast } from "design-system"; +import type { ToastProps } from "@appsmith/ads"; +import { toast } from "@appsmith/ads"; import { APP_MODE } from "entities/App"; import { select } from "redux-saga/effects"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import log from "loglevel"; interface ExtraOptions { diff --git a/app/client/src/sagas/UtilSagas.ts b/app/client/src/sagas/UtilSagas.ts index ab663bac4c23..fc27b2a8b1ef 100644 --- a/app/client/src/sagas/UtilSagas.ts +++ b/app/client/src/sagas/UtilSagas.ts @@ -1,6 +1,6 @@ import { all, takeEvery, race, put, take } from "redux-saga/effects"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import history from "utils/history"; import { showActionConfirmationModal } from "actions/pluginActionActions"; import type { ModalInfo } from "reducers/uiReducers/modalActionReducer"; diff --git a/app/client/src/sagas/WebsocketSagas/WebsocketSagas.ts b/app/client/src/sagas/WebsocketSagas/WebsocketSagas.ts index 34dd2d2ef498..1e533cc179be 100644 --- a/app/client/src/sagas/WebsocketSagas/WebsocketSagas.ts +++ b/app/client/src/sagas/WebsocketSagas/WebsocketSagas.ts @@ -6,7 +6,7 @@ import { fork, take, call, cancel, put } from "redux-saga/effects"; import { ReduxActionTypes, ReduxSagaChannels, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { WEBSOCKET_EVENTS, RTS_BASE_PATH, diff --git a/app/client/src/sagas/WebsocketSagas/handleAppLevelSocketEvents.tsx b/app/client/src/sagas/WebsocketSagas/handleAppLevelSocketEvents.tsx index 24202453819d..36c26bf0362d 100644 --- a/app/client/src/sagas/WebsocketSagas/handleAppLevelSocketEvents.tsx +++ b/app/client/src/sagas/WebsocketSagas/handleAppLevelSocketEvents.tsx @@ -2,7 +2,7 @@ import { put } from "redux-saga/effects"; import { APP_LEVEL_SOCKET_EVENTS } from "./socketEvents"; import { collabSetAppEditors } from "actions/appCollabActions"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { handleVersionUpdate } from "./versionUpdatePrompt"; // TODO: Fix this the next time the file is edited diff --git a/app/client/src/sagas/WebsocketSagas/versionUpdatePrompt.ts b/app/client/src/sagas/WebsocketSagas/versionUpdatePrompt.ts index 282ac0f45dd8..9e076e1557a4 100644 --- a/app/client/src/sagas/WebsocketSagas/versionUpdatePrompt.ts +++ b/app/client/src/sagas/WebsocketSagas/versionUpdatePrompt.ts @@ -1,18 +1,18 @@ // Check if user is updating the app when toast is shown // Check how many times does the user see a toast before updating -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { createMessage, INFO_VERSION_MISMATCH_FOUND_RELOAD_REQUEST, -} from "@appsmith/constants/messages"; -import type { AppVersionData } from "@appsmith/configs/types"; +} from "ee/constants/messages"; +import type { AppVersionData } from "ee/configs/types"; import { getVersionUpdateState, removeVersionUpdateState, setVersionUpdateState, } from "utils/storage"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; enum UpdateStateEvent { PROMPT_SHOWN = "PROMPT_SHOWN", diff --git a/app/client/src/sagas/WidgetAdditionSagas.ts b/app/client/src/sagas/WidgetAdditionSagas.ts index bcae6f53a423..61518df9004a 100644 --- a/app/client/src/sagas/WidgetAdditionSagas.ts +++ b/app/client/src/sagas/WidgetAdditionSagas.ts @@ -1,10 +1,10 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +} from "ee/constants/ReduxActionConstants"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { WidgetBlueprint } from "WidgetProvider/constants"; import { BlueprintOperationTypes, @@ -18,7 +18,7 @@ import { BUILDING_BLOCK_EXPLORER_TYPE, RenderModes, } from "constants/WidgetConstants"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import produce from "immer"; import { klona as clone } from "klona/full"; diff --git a/app/client/src/sagas/WidgetBlueprintSagas.ts b/app/client/src/sagas/WidgetBlueprintSagas.ts index 00ce1ec2502c..2daa3393ef18 100644 --- a/app/client/src/sagas/WidgetBlueprintSagas.ts +++ b/app/client/src/sagas/WidgetBlueprintSagas.ts @@ -10,7 +10,7 @@ import type { WidgetType } from "constants/WidgetConstants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { BlueprintOperationTypes } from "WidgetProvider/constants"; import * as log from "loglevel"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { LayoutSystemTypes } from "layoutSystems/types"; import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; diff --git a/app/client/src/sagas/WidgetDeletionSagas.ts b/app/client/src/sagas/WidgetDeletionSagas.ts index ca8ee26b2a7c..8095cee393fd 100644 --- a/app/client/src/sagas/WidgetDeletionSagas.ts +++ b/app/client/src/sagas/WidgetDeletionSagas.ts @@ -7,13 +7,13 @@ import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import type { ApplicationPayload, ReduxAction, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +} from "ee/constants/ReduxActionConstants"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import { flattenDeep, omit, orderBy } from "lodash"; import type { @@ -26,7 +26,7 @@ import { getIsAutoLayoutMobileBreakPoint, } from "selectors/editorSelectors"; import { getSelectedWidgets } from "selectors/ui"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import AppsmithConsole from "utils/AppsmithConsole"; import type { WidgetProps } from "widgets/BaseWidget"; import { @@ -48,9 +48,9 @@ import { updateFlexLayersOnDelete } from "../layoutSystems/autolayout/utils/Auto import { LayoutSystemTypes } from "layoutSystems/types"; import { getLayoutSystemType } from "selectors/layoutSystemSelectors"; import { updateAnvilParentPostWidgetDeletion } from "layoutSystems/anvil/utils/layouts/update/deletionUtils"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; import FocusRetention from "./FocusRetentionSaga"; -import { widgetURL } from "@appsmith/RouteBuilder"; +import { widgetURL } from "ee/RouteBuilder"; import { updateAndSaveAnvilLayout } from "layoutSystems/anvil/utils/anvilChecksUtils"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; import type { DraggedWidget } from "../layoutSystems/anvil/utils/anvilTypes"; diff --git a/app/client/src/sagas/WidgetEnhancementHelpers.ts b/app/client/src/sagas/WidgetEnhancementHelpers.ts index cb13a30d87fc..efe6422c2dc8 100644 --- a/app/client/src/sagas/WidgetEnhancementHelpers.ts +++ b/app/client/src/sagas/WidgetEnhancementHelpers.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { WidgetType } from "constants/WidgetConstants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { get, set } from "lodash"; diff --git a/app/client/src/sagas/WidgetLoadingSaga.ts b/app/client/src/sagas/WidgetLoadingSaga.ts index 10548cf102d1..f1238e078af1 100644 --- a/app/client/src/sagas/WidgetLoadingSaga.ts +++ b/app/client/src/sagas/WidgetLoadingSaga.ts @@ -5,16 +5,16 @@ import { getDataTree, } from "selectors/dataTreeSelectors"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; -import { getActions } from "@appsmith/selectors/entitiesSelector"; +import { getActions } from "ee/selectors/entitiesSelector"; import type { ActionData, ActionDataState, -} from "@appsmith/reducers/entityReducers/actionsReducer"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +} from "ee/reducers/entityReducers/actionsReducer"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import log from "loglevel"; import * as Sentry from "@sentry/react"; import { findLoadingEntities } from "utils/WidgetLoadingStateUtils"; diff --git a/app/client/src/sagas/WidgetOperationSagas.tsx b/app/client/src/sagas/WidgetOperationSagas.tsx index ca80db94d9ec..9c2f356da041 100644 --- a/app/client/src/sagas/WidgetOperationSagas.tsx +++ b/app/client/src/sagas/WidgetOperationSagas.tsx @@ -1,13 +1,13 @@ import type { ReduxAction, ReduxActionType, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, WidgetReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +} from "ee/constants/ReduxActionConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import WidgetFactory from "WidgetProvider/factory"; import type { BatchUpdateDynamicPropertyUpdates, @@ -72,7 +72,7 @@ import { getCopiedWidgets, saveCopiedWidgets } from "utils/storage"; import type { WidgetProps } from "widgets/BaseWidget"; import { getWidget, getWidgets, getWidgetsMeta } from "./selectors"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import { ERROR_PASTE_ANVIL_LAYOUT_SYSTEM_CONFLICT, ERROR_PASTE_FIXED_LAYOUT_SYSTEM_CONFLICT, @@ -83,13 +83,13 @@ import { WIDGET_COPY, WIDGET_CUT, createMessage, -} from "@appsmith/constants/messages"; -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; -import { getAllPaths } from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/constants/messages"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; +import { getAllPaths } from "ee/workers/Evaluation/evaluationUtils"; import { BlueprintOperationTypes } from "WidgetProvider/constants"; import { generateAutoHeightLayoutTreeAction } from "actions/autoHeightActions"; import { stopReflowAction } from "actions/reflowActions"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; import { getAllPathsFromPropertyConfig, diff --git a/app/client/src/sagas/WidgetOperationUtils.ts b/app/client/src/sagas/WidgetOperationUtils.ts index 6cf721e4887c..4962612ba80b 100644 --- a/app/client/src/sagas/WidgetOperationUtils.ts +++ b/app/client/src/sagas/WidgetOperationUtils.ts @@ -1,5 +1,5 @@ -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; -import { isWidget } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; +import { isWidget } from "ee/workers/Evaluation/evaluationUtils"; import WidgetFactory from "WidgetProvider/factory"; import { CANVAS_DEFAULT_MIN_HEIGHT_PX } from "constants/AppConstants"; import type { diff --git a/app/client/src/sagas/WidgetSelectUtils.ts b/app/client/src/sagas/WidgetSelectUtils.ts index 1f1691c2a763..a0c6577caff6 100644 --- a/app/client/src/sagas/WidgetSelectUtils.ts +++ b/app/client/src/sagas/WidgetSelectUtils.ts @@ -1,11 +1,8 @@ -import { - createMessage, - SELECT_ALL_WIDGETS_MSG, -} from "@appsmith/constants/messages"; +import { createMessage, SELECT_ALL_WIDGETS_MSG } from "ee/constants/messages"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { uniq } from "lodash"; import type { @@ -21,7 +18,7 @@ import { import { getWidgetChildrenIds } from "sagas/WidgetOperationUtils"; import { getLastSelectedWidget, getSelectedWidgets } from "selectors/ui"; import WidgetFactory from "WidgetProvider/factory"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { checkIsDropTarget } from "WidgetProvider/factory/helpers"; /** diff --git a/app/client/src/sagas/WidgetSelectionSagas.ts b/app/client/src/sagas/WidgetSelectionSagas.ts index 21ee169d4333..0398c4be37de 100644 --- a/app/client/src/sagas/WidgetSelectionSagas.ts +++ b/app/client/src/sagas/WidgetSelectionSagas.ts @@ -1,13 +1,10 @@ -import { widgetURL } from "@appsmith/RouteBuilder"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import { widgetURL } from "ee/RouteBuilder"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import { ReduxActionErrorTypes, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; -import { - getAppMode, - getCanvasWidgets, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/constants/ReduxActionConstants"; +import { getAppMode, getCanvasWidgets } from "ee/selectors/entitiesSelector"; import { showModal } from "actions/widgetActions"; import type { SetSelectedWidgetsPayload, @@ -57,8 +54,8 @@ import { } from "./selectors"; import { getModalWidgetType } from "selectors/widgetSelectors"; import { getWidgetSelectorByWidgetId } from "selectors/layoutSystemSelectors"; -import { getAppViewerPageIdFromPath } from "@appsmith/pages/Editor/Explorer/helpers"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { getAppViewerPageIdFromPath } from "ee/pages/Editor/Explorer/helpers"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; // The following is computed to be used in the entity explorer diff --git a/app/client/src/sagas/__tests__/ApiPaneSagas.test.ts b/app/client/src/sagas/__tests__/ApiPaneSagas.test.ts index c9fd22a44666..7bcf3109ceb3 100644 --- a/app/client/src/sagas/__tests__/ApiPaneSagas.test.ts +++ b/app/client/src/sagas/__tests__/ApiPaneSagas.test.ts @@ -1,5 +1,5 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import type { CreateApiActionDefaultsParams } from "entities/Action"; import type { Saga } from "redux-saga"; import { runSaga, stdChannel } from "redux-saga"; diff --git a/app/client/src/sagas/__tests__/initSagas.test.ts b/app/client/src/sagas/__tests__/initSagas.test.ts index 557b9e6fb9a4..66874ab803fe 100644 --- a/app/client/src/sagas/__tests__/initSagas.test.ts +++ b/app/client/src/sagas/__tests__/initSagas.test.ts @@ -1,7 +1,7 @@ import { type ReduxAction, ReduxActionTypes, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import { APP_MODE } from "entities/App"; import AppEngineFactory from "entities/Engine/factory"; import { getInitResponses } from "sagas/InitSagas"; diff --git a/app/client/src/sagas/autoHeightSagas/batcher.ts b/app/client/src/sagas/autoHeightSagas/batcher.ts index 60bf61907ae1..2ecb1c0f01c5 100644 --- a/app/client/src/sagas/autoHeightSagas/batcher.ts +++ b/app/client/src/sagas/autoHeightSagas/batcher.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { UpdateWidgetAutoHeightPayload } from "actions/autoHeightActions"; import { updateAndSaveLayout } from "actions/pageActions"; import log from "loglevel"; diff --git a/app/client/src/sagas/autoHeightSagas/containers.ts b/app/client/src/sagas/autoHeightSagas/containers.ts index 62cae50c6b0c..5788caee37bd 100644 --- a/app/client/src/sagas/autoHeightSagas/containers.ts +++ b/app/client/src/sagas/autoHeightSagas/containers.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { GridDefaults } from "constants/WidgetConstants"; import log from "loglevel"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; @@ -14,7 +14,7 @@ import { } from "widgets/WidgetUtils"; import { getChildOfContainerLikeWidget } from "./helpers"; import { getDataTree } from "selectors/dataTreeSelectors"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { getLayoutTree } from "./layoutTree"; import { getWidgetsForBreakpoint } from "selectors/editorSelectors"; diff --git a/app/client/src/sagas/autoHeightSagas/helpers.ts b/app/client/src/sagas/autoHeightSagas/helpers.ts index d2f9bb9641a8..55226cbd2b0e 100644 --- a/app/client/src/sagas/autoHeightSagas/helpers.ts +++ b/app/client/src/sagas/autoHeightSagas/helpers.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { GridDefaults, MAIN_CONTAINER_WIDGET_ID, @@ -12,10 +12,10 @@ import type { import { select } from "redux-saga/effects"; import { getWidgetMetaProps, getWidgets } from "sagas/selectors"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import { isAutoHeightEnabledForWidget } from "widgets/WidgetUtils"; import { getCanvasHeightOffset } from "utils/WidgetSizeUtils"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { getDataTree } from "selectors/dataTreeSelectors"; diff --git a/app/client/src/sagas/autoHeightSagas/index.ts b/app/client/src/sagas/autoHeightSagas/index.ts index 08de6133e0a2..1a025b5da5df 100644 --- a/app/client/src/sagas/autoHeightSagas/index.ts +++ b/app/client/src/sagas/autoHeightSagas/index.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { all, call, diff --git a/app/client/src/sagas/autoHeightSagas/layoutTree.ts b/app/client/src/sagas/autoHeightSagas/layoutTree.ts index 69b9c5c339fa..31d39372cf21 100644 --- a/app/client/src/sagas/autoHeightSagas/layoutTree.ts +++ b/app/client/src/sagas/autoHeightSagas/layoutTree.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { checkContainersForAutoHeightAction, setAutoHeightLayoutTreeAction, diff --git a/app/client/src/sagas/autoHeightSagas/widgets.ts b/app/client/src/sagas/autoHeightSagas/widgets.ts index a4b5dcbd3c3c..23b79c6bab31 100644 --- a/app/client/src/sagas/autoHeightSagas/widgets.ts +++ b/app/client/src/sagas/autoHeightSagas/widgets.ts @@ -38,10 +38,10 @@ import { } from "selectors/autoHeightSelectors"; import { getLayoutTree } from "./layoutTree"; import WidgetFactory from "WidgetProvider/factory"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type { TreeNode } from "utils/autoHeight/constants"; import { directlyMutateDOMNodes } from "utils/autoHeight/mutateDOM"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import { APP_MODE } from "entities/App"; import { getDimensionMap, @@ -57,12 +57,12 @@ import { In most cases, when we run the getMinHeightBasedOnChildren, we add the CANVAS_EXTENSION_OFFSET and the offset from the widget configuration. This means that we can DRY this by moving them into the getMinHeightBasedOnChildren function - The computations we do when a widget changes for its parent, is pretty much the same as the ones we do in container + The computations we do when a widget changes for its parent, is pretty much the same as the ones we do in container computations saga, so we can potentially re-use that code. Adding to widgetsToUpdate can be done using one function and shrink this saga by a large amount - + /** * Saga to update a widget's auto height diff --git a/app/client/src/sagas/editorContextSagas.ts b/app/client/src/sagas/editorContextSagas.ts index 05fe3ecb0472..9ce5a6c5fd0e 100644 --- a/app/client/src/sagas/editorContextSagas.ts +++ b/app/client/src/sagas/editorContextSagas.ts @@ -1,5 +1,5 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { setPanelPropertySectionState, setPanelSelectedPropertyTabIndex, diff --git a/app/client/src/sagas/getNextEntityAfterRemove.test.ts b/app/client/src/sagas/getNextEntityAfterRemove.test.ts index 328e59d8bab2..80814363a689 100644 --- a/app/client/src/sagas/getNextEntityAfterRemove.test.ts +++ b/app/client/src/sagas/getNextEntityAfterRemove.test.ts @@ -1,4 +1,4 @@ -import { EditorState, type EntityItem } from "@appsmith/entities/IDE/constants"; +import { EditorState, type EntityItem } from "ee/entities/IDE/constants"; import { PluginType } from "entities/Action"; import * as FocusEntityObj from "navigation/FocusEntity"; import { RedirectAction, getNextEntityAfterRemove } from "./IDESaga"; diff --git a/app/client/src/sagas/helper.ts b/app/client/src/sagas/helper.ts index 4616f2d9808f..0bd53b77e519 100644 --- a/app/client/src/sagas/helper.ts +++ b/app/client/src/sagas/helper.ts @@ -1,4 +1,4 @@ -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; import type { LayoutOnLoadActionErrors } from "constants/AppsmithActionConstants/ActionConstants"; import type { FormEvalOutput, @@ -8,15 +8,12 @@ import AppsmithConsole from "utils/AppsmithConsole"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import type { Log } from "entities/AppsmithConsole"; import { LOG_CATEGORY, Severity } from "entities/AppsmithConsole"; -import { - ENTITY_TYPE, - PLATFORM_ERROR, -} from "@appsmith/entities/AppsmithConsole/utils"; -import { toast } from "design-system"; +import { ENTITY_TYPE, PLATFORM_ERROR } from "ee/entities/AppsmithConsole/utils"; +import { toast } from "@appsmith/ads"; import { ReduxActionTypes, type ReduxActionType, -} from "@appsmith/constants/ReduxActionConstants"; +} from "ee/constants/ReduxActionConstants"; import type { Action } from "entities/Action"; import get from "lodash/get"; import set from "lodash/set"; @@ -24,7 +21,7 @@ import log from "loglevel"; import { isPlainObject, isString } from "lodash"; import { DATA_BIND_REGEX_GLOBAL } from "constants/BindingsConstants"; import { klona } from "klona/lite"; -import { apiFailureResponseInterceptor } from "@appsmith/api/ApiUtils"; +import { apiFailureResponseInterceptor } from "ee/api/ApiUtils"; // function to extract all objects that have dynamic values export const extractFetchDynamicValueFormConfigs = ( diff --git a/app/client/src/sagas/layoutConversionSagas.ts b/app/client/src/sagas/layoutConversionSagas.ts index bac2ca3639ab..170b59caa834 100644 --- a/app/client/src/sagas/layoutConversionSagas.ts +++ b/app/client/src/sagas/layoutConversionSagas.ts @@ -1,14 +1,14 @@ import { setLayoutConversionStateAction } from "actions/autoLayoutActions"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; -import type { AppState } from "@appsmith/reducers"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; import { LayoutSystemTypes } from "layoutSystems/types"; import type { SupportedLayouts } from "reducers/entityReducers/pageListReducer"; import { CONVERSION_STATES } from "reducers/uiReducers/layoutConversionReducer"; import type { PageWidgetsReduxState } from "reducers/uiReducers/pageWidgetsReducer"; import { all, call, put, select, takeLatest } from "redux-saga/effects"; -import { getPageWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getPageWidgets } from "ee/selectors/entitiesSelector"; import { convertNormalizedDSLToFixed } from "layoutSystems/common/DSLConversions/autoToFixedLayout"; import convertToAutoLayout from "layoutSystems/common/DSLConversions/fixedToAutoLayout"; import type { DSLWidget } from "WidgetProvider/constants"; @@ -18,14 +18,14 @@ import { } from "./SnapshotSagas"; import * as Sentry from "@sentry/react"; import log from "loglevel"; -import { saveAllPagesSaga } from "@appsmith/sagas/PageSagas"; -import { updateApplicationLayout } from "@appsmith/actions/applicationActions"; +import { saveAllPagesSaga } from "ee/sagas/PageSagas"; +import { updateApplicationLayout } from "ee/actions/applicationActions"; import { getCurrentApplicationId, getPageList, } from "selectors/editorSelectors"; import { updateApplicationLayoutType } from "./AutoLayoutUpdateSagas"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { nestDSL } from "@shared/dsl"; /** diff --git a/app/client/src/sagas/loadGoogleApi.ts b/app/client/src/sagas/loadGoogleApi.ts index 07119644ca7d..1d25916cf755 100644 --- a/app/client/src/sagas/loadGoogleApi.ts +++ b/app/client/src/sagas/loadGoogleApi.ts @@ -1,4 +1,4 @@ -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; async function loadScript(src: string) { return new Promise(function (resolve, reject) { diff --git a/app/client/src/sagas/selectors.tsx b/app/client/src/sagas/selectors.tsx index a2650d210dae..dc8efdc1d875 100644 --- a/app/client/src/sagas/selectors.tsx +++ b/app/client/src/sagas/selectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import memoize from "proxy-memoize"; import type { @@ -9,9 +9,9 @@ import type { WidgetProps } from "widgets/BaseWidget"; import _, { defaults, omit } from "lodash"; import type { WidgetType } from "constants/WidgetConstants"; import { WIDGET_PROPS_TO_SKIP_FROM_EVAL } from "constants/WidgetConstants"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import { getActions, getPlugins } from "@appsmith/selectors/entitiesSelector"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import { getActions, getPlugins } from "ee/selectors/entitiesSelector"; import type { Plugin } from "api/PluginApi"; import type { DragDetails } from "reducers/uiReducers/dragResizeReducer"; import type { DataTreeForActionCreator } from "components/editorComponents/ActionCreator/types"; diff --git a/app/client/src/selectors/actionSelectors.tsx b/app/client/src/selectors/actionSelectors.tsx index d31f6da68c91..f4f6638697b3 100644 --- a/app/client/src/selectors/actionSelectors.tsx +++ b/app/client/src/selectors/actionSelectors.tsx @@ -7,7 +7,7 @@ import { getDataTree } from "./dataTreeSelectors"; import { getExistingPageNames, selectInstalledLibraries, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { getErrorForApiName, getErrorForJSObjectName, diff --git a/app/client/src/selectors/activeEditorFieldSelectors.ts b/app/client/src/selectors/activeEditorFieldSelectors.ts index 7e9e5ff6fb21..3f3639e47d14 100644 --- a/app/client/src/selectors/activeEditorFieldSelectors.ts +++ b/app/client/src/selectors/activeEditorFieldSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export function getActiveEditorField(state: AppState) { return state.ui.activeField; diff --git a/app/client/src/selectors/analyticsSelectors.tsx b/app/client/src/selectors/analyticsSelectors.tsx index b2f84abb6ef1..0f3eb5ba64bd 100644 --- a/app/client/src/selectors/analyticsSelectors.tsx +++ b/app/client/src/selectors/analyticsSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getSegmentState = (state: AppState) => state.ui.analytics.telemetry.segmentState; diff --git a/app/client/src/selectors/apiPaneSelectors.ts b/app/client/src/selectors/apiPaneSelectors.ts index 9ec0ee0f5ec6..6771911c1982 100644 --- a/app/client/src/selectors/apiPaneSelectors.ts +++ b/app/client/src/selectors/apiPaneSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import { combinedPreviewModeSelector } from "./editorSelectors"; diff --git a/app/client/src/selectors/appCollabSelectors.tsx b/app/client/src/selectors/appCollabSelectors.tsx index fd17fd0df74c..850eac51aca2 100644 --- a/app/client/src/selectors/appCollabSelectors.tsx +++ b/app/client/src/selectors/appCollabSelectors.tsx @@ -1,5 +1,5 @@ import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { AppCollabReducerState } from "reducers/uiReducers/appCollabReducer"; import { getCurrentUser } from "./usersSelectors"; import type { User } from "entities/AppCollab/CollabInterfaces"; diff --git a/app/client/src/selectors/appSettingsPaneSelectors.tsx b/app/client/src/selectors/appSettingsPaneSelectors.tsx index 19dac8840e85..c30e4032a399 100644 --- a/app/client/src/selectors/appSettingsPaneSelectors.tsx +++ b/app/client/src/selectors/appSettingsPaneSelectors.tsx @@ -1,5 +1,5 @@ import { AppSettingsTabs } from "pages/Editor/AppSettingsPane/AppSettings"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { AppSettingsPaneReduxState } from "reducers/uiReducers/appSettingsPaneReducer"; import { createSelector } from "reselect"; diff --git a/app/client/src/selectors/appThemingSelectors.tsx b/app/client/src/selectors/appThemingSelectors.tsx index 95ef03126307..134b594c4580 100644 --- a/app/client/src/selectors/appThemingSelectors.tsx +++ b/app/client/src/selectors/appThemingSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export enum AppThemingMode { APP_THEME_EDIT = "APP_THEME_EDIT", diff --git a/app/client/src/selectors/appViewSelectors.tsx b/app/client/src/selectors/appViewSelectors.tsx index 63491d127990..960027ef9a75 100644 --- a/app/client/src/selectors/appViewSelectors.tsx +++ b/app/client/src/selectors/appViewSelectors.tsx @@ -1,5 +1,5 @@ import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { AppViewReduxState } from "reducers/uiReducers/appViewReducer"; import type { PageListReduxState } from "reducers/entityReducers/pageListReducer"; diff --git a/app/client/src/selectors/authSelectors.tsx b/app/client/src/selectors/authSelectors.tsx index f8fafad41c4f..ca76c7831bd7 100644 --- a/app/client/src/selectors/authSelectors.tsx +++ b/app/client/src/selectors/authSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getIsTokenValid = (state: AppState) => state.ui.auth.isTokenValid; export const getIsValidatingToken = (state: AppState) => diff --git a/app/client/src/selectors/autoHeightSelectors.ts b/app/client/src/selectors/autoHeightSelectors.ts index 3f0b8ba47f76..0b9d2baaaa76 100644 --- a/app/client/src/selectors/autoHeightSelectors.ts +++ b/app/client/src/selectors/autoHeightSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getAutoHeightLayoutTree = (state: AppState) => state.entities.autoHeightLayoutTree; diff --git a/app/client/src/selectors/autoLayoutSelectors.tsx b/app/client/src/selectors/autoLayoutSelectors.tsx index c20029d98b23..8e82daacfc5d 100644 --- a/app/client/src/selectors/autoLayoutSelectors.tsx +++ b/app/client/src/selectors/autoLayoutSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { FLEXBOX_PADDING, GridDefaults } from "constants/WidgetConstants"; import { createSelector } from "reselect"; import { getCanvasAndMetaWidgets } from "sagas/selectors"; diff --git a/app/client/src/selectors/buildingBlocksSelectors.ts b/app/client/src/selectors/buildingBlocksSelectors.ts index dfbd2678f9d8..454b490c67a7 100644 --- a/app/client/src/selectors/buildingBlocksSelectors.ts +++ b/app/client/src/selectors/buildingBlocksSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const isDraggingBuildingBlockToCanvas = (state: AppState) => state.ui.buildingBlocks.isDraggingBuildingBlocksToCanvas; diff --git a/app/client/src/selectors/canvasSelectors.ts b/app/client/src/selectors/canvasSelectors.ts index 31d44b055f4b..1634aa8fa7fb 100644 --- a/app/client/src/selectors/canvasSelectors.ts +++ b/app/client/src/selectors/canvasSelectors.ts @@ -1,6 +1,6 @@ import { LayoutSystemTypes } from "layoutSystems/types"; import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getLayoutSystemType } from "./layoutSystemSelectors"; export const getIsDraggingForSelection = (state: AppState) => { diff --git a/app/client/src/selectors/crudInfoModalSelectors.ts b/app/client/src/selectors/crudInfoModalSelectors.ts index b2325d5b4981..39d7692b6a47 100644 --- a/app/client/src/selectors/crudInfoModalSelectors.ts +++ b/app/client/src/selectors/crudInfoModalSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import type { CrudInfoModalReduxState, diff --git a/app/client/src/selectors/curlImportSelectors.ts b/app/client/src/selectors/curlImportSelectors.ts index eb22af577d09..d948a9c1e45d 100644 --- a/app/client/src/selectors/curlImportSelectors.ts +++ b/app/client/src/selectors/curlImportSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getIsImportingCurl = (state: AppState) => state.ui.imports.isImportingCurl; diff --git a/app/client/src/selectors/dataTreeSelectors.ts b/app/client/src/selectors/dataTreeSelectors.ts index 3b8d2ef80b23..ec9c0df61c64 100644 --- a/app/client/src/selectors/dataTreeSelectors.ts +++ b/app/client/src/selectors/dataTreeSelectors.ts @@ -10,8 +10,8 @@ import { getModuleInstanceEntities, getCurrentModuleActions, getCurrentModuleJSCollections, -} from "@appsmith/selectors/entitiesSelector"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +} from "ee/selectors/entitiesSelector"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { DataTreeFactory } from "entities/DataTree/dataTreeFactory"; import { @@ -22,7 +22,7 @@ import { } from "sagas/selectors"; import "url-search-params-polyfill"; import { getPageList } from "./appViewSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getSelectedAppThemeProperties } from "./appThemingSelectors"; import type { LoadingEntitiesState } from "reducers/evaluationReducers/loadingEntitiesReducer"; import _, { get } from "lodash"; @@ -34,7 +34,7 @@ import { getLayoutSystemType } from "./layoutSystemSelectors"; import { getCurrentWorkflowActions, getCurrentWorkflowJSActions, -} from "@appsmith/selectors/workflowSelectors"; +} from "ee/selectors/workflowSelectors"; export const getLoadingEntities = (state: AppState) => state.evaluations.loadingEntities; diff --git a/app/client/src/selectors/datasourceSelectors.ts b/app/client/src/selectors/datasourceSelectors.ts index 2e87b15c04d3..ec4ee3700722 100644 --- a/app/client/src/selectors/datasourceSelectors.ts +++ b/app/client/src/selectors/datasourceSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getGsheetSpreadsheets = (id = "") => diff --git a/app/client/src/selectors/debuggerSelectors.test.ts b/app/client/src/selectors/debuggerSelectors.test.ts index 0ecf4a9c9af1..62660146a734 100644 --- a/app/client/src/selectors/debuggerSelectors.test.ts +++ b/app/client/src/selectors/debuggerSelectors.test.ts @@ -1,5 +1,5 @@ import { Severity, LOG_CATEGORY } from "entities/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; diff --git a/app/client/src/selectors/debuggerSelectors.tsx b/app/client/src/selectors/debuggerSelectors.tsx index 1fea171dd47f..73e4ad77fea3 100644 --- a/app/client/src/selectors/debuggerSelectors.tsx +++ b/app/client/src/selectors/debuggerSelectors.tsx @@ -1,15 +1,15 @@ import type { Log } from "entities/AppsmithConsole"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { isEmpty } from "lodash"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { createSelector } from "reselect"; import { getWidgets } from "sagas/selectors"; import { shouldSuppressDebuggerError, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { getDataTree } from "./dataTreeSelectors"; import { combinedPreviewModeSelector } from "./editorSelectors"; import type { CanvasDebuggerState } from "reducers/uiReducers/debuggerReducer"; diff --git a/app/client/src/selectors/editorContextSelectors.ts b/app/client/src/selectors/editorContextSelectors.ts index cab536e98a88..58a0b661437d 100644 --- a/app/client/src/selectors/editorContextSelectors.ts +++ b/app/client/src/selectors/editorContextSelectors.ts @@ -1,15 +1,15 @@ -import type { AppState } from "@appsmith/reducers"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { AppState } from "ee/reducers"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import type { CodeEditorHistory, CursorPosition, EvaluatedPopupState, PropertyPanelContext, PropertyPanelState, -} from "@appsmith/reducers/uiReducers/editorContextReducer"; -import { isSubEntities } from "@appsmith/reducers/uiReducers/editorContextReducer"; +} from "ee/reducers/uiReducers/editorContextReducer"; +import { isSubEntities } from "ee/reducers/uiReducers/editorContextReducer"; import { createSelector } from "reselect"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; export const getFocusableInputField = (state: AppState) => state.ui.editorContext.focusedInputField; diff --git a/app/client/src/selectors/editorSelectors.tsx b/app/client/src/selectors/editorSelectors.tsx index 865b90526e4f..e6237748fdeb 100644 --- a/app/client/src/selectors/editorSelectors.tsx +++ b/app/client/src/selectors/editorSelectors.tsx @@ -1,6 +1,6 @@ import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { CanvasWidgetsReduxState, FlattenedWidgetProps, @@ -11,8 +11,8 @@ import type { } from "reducers/entityReducers/pageListReducer"; import type { WidgetCardProps, WidgetProps } from "widgets/BaseWidget"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import { ApplicationVersion } from "@appsmith/actions/applicationActions"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import { ApplicationVersion } from "ee/actions/applicationActions"; import type { OccupiedSpace, WidgetSpace, @@ -32,7 +32,7 @@ import { getApiPaneSavingMap, getCanvasWidgets, getJSCollections, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { checkIsDropTarget } from "WidgetProvider/factory/helpers"; import { buildChildWidgetTree } from "utils/widgetRenderUtils"; import { LOCAL_STORAGE_KEYS } from "utils/localStorage"; @@ -40,14 +40,14 @@ import type { CanvasWidgetStructure } from "WidgetProvider/constants"; import { denormalize } from "utils/canvasStructureHelpers"; import { isAutoHeightEnabledForWidget } from "widgets/WidgetUtils"; import WidgetFactory from "WidgetProvider/factory"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { getIsAnonymousDataPopupVisible } from "./onboardingSelectors"; import { WDS_V2_WIDGET_MAP } from "widgets/wds/constants"; import { LayoutSystemTypes } from "layoutSystems/types"; import { getLayoutSystemType } from "./layoutSystemSelectors"; import { protectedModeSelector } from "./gitSyncSelectors"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; -import { getCurrentApplication } from "@appsmith/selectors/applicationSelectors"; +import { getCurrentApplication } from "ee/selectors/applicationSelectors"; const getIsDraggingOrResizing = (state: AppState) => state.ui.widgetDragResize.isResizing || state.ui.widgetDragResize.isDragging; diff --git a/app/client/src/selectors/errorSelectors.tsx b/app/client/src/selectors/errorSelectors.tsx index d51207b242c4..309dbb9df23e 100644 --- a/app/client/src/selectors/errorSelectors.tsx +++ b/app/client/src/selectors/errorSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getSafeCrash = (state: AppState) => { return state.ui.errors.safeCrash; diff --git a/app/client/src/selectors/explorerSelector.ts b/app/client/src/selectors/explorerSelector.ts index 20dcb0bf37bd..58df2735748b 100644 --- a/app/client/src/selectors/explorerSelector.ts +++ b/app/client/src/selectors/explorerSelector.ts @@ -1,5 +1,5 @@ -import type { AppState } from "@appsmith/reducers"; -import { ExplorerPinnedState } from "@appsmith/reducers/uiReducers/explorerReducer"; +import type { AppState } from "ee/reducers"; +import { ExplorerPinnedState } from "ee/reducers/uiReducers/explorerReducer"; /** * returns the pinned state of explorer diff --git a/app/client/src/selectors/flattenedChildCanvasSelector.ts b/app/client/src/selectors/flattenedChildCanvasSelector.ts index 40aaeab18ad6..91df97b3bce6 100644 --- a/app/client/src/selectors/flattenedChildCanvasSelector.ts +++ b/app/client/src/selectors/flattenedChildCanvasSelector.ts @@ -1,4 +1,4 @@ -import { getCanvasWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgets } from "ee/selectors/entitiesSelector"; import { GridDefaults, type RenderModes } from "constants/WidgetConstants"; import { getLayoutSystem } from "layoutSystems/withLayoutSystemWidgetHOC"; import type { @@ -8,7 +8,7 @@ import type { import { createSelector } from "reselect"; import { getRenderMode } from "./editorSelectors"; import { getIsMobileBreakPoint } from "sagas/selectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { LayoutSystemTypes } from "layoutSystems/types"; import { getLayoutSystemType } from "./layoutSystemSelectors"; diff --git a/app/client/src/selectors/focusHistorySelectors.ts b/app/client/src/selectors/focusHistorySelectors.ts index 61e5ed7488c1..813e41a07bf5 100644 --- a/app/client/src/selectors/focusHistorySelectors.ts +++ b/app/client/src/selectors/focusHistorySelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { FocusHistory, FocusState, diff --git a/app/client/src/selectors/formSelectors.ts b/app/client/src/selectors/formSelectors.ts index 37b82c005024..8ff426f62de3 100644 --- a/app/client/src/selectors/formSelectors.ts +++ b/app/client/src/selectors/formSelectors.ts @@ -1,6 +1,6 @@ import { getFormValues, isValid, getFormInitialValues } from "redux-form"; -import type { AppState } from "@appsmith/reducers"; -import type { ActionData } from "@appsmith/reducers/entityReducers/actionsReducer"; +import type { AppState } from "ee/reducers"; +import type { ActionData } from "ee/reducers/entityReducers/actionsReducer"; import type { DynamicValues, FormEvalOutput, @@ -12,9 +12,9 @@ import { getDataTree } from "./dataTreeSelectors"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import type { Action } from "entities/Action"; import type { EvaluationError } from "utils/DynamicBindingUtils"; -import { getActionIdFromURL } from "@appsmith/pages/Editor/Explorer/helpers"; +import { getActionIdFromURL } from "ee/pages/Editor/Explorer/helpers"; import { extractConditionalOutput } from "components/formControls/utils"; -import { getActionByBaseId } from "@appsmith/selectors/entitiesSelector"; +import { getActionByBaseId } from "ee/selectors/entitiesSelector"; export interface GetFormData { initialValues: Record; diff --git a/app/client/src/selectors/gitSyncSelectors.tsx b/app/client/src/selectors/gitSyncSelectors.tsx index 9c9e5e5b692b..ff340ddbb0d9 100644 --- a/app/client/src/selectors/gitSyncSelectors.tsx +++ b/app/client/src/selectors/gitSyncSelectors.tsx @@ -1,10 +1,10 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import type { GitSyncReducerState } from "reducers/uiReducers/gitSyncReducer"; import { getCurrentAppGitMetaData, getCurrentApplication, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import type { Branch } from "entities/GitSync"; export const getGitSyncState = (state: AppState): GitSyncReducerState => diff --git a/app/client/src/selectors/globalSearchSelectors.tsx b/app/client/src/selectors/globalSearchSelectors.tsx index 5d59c22092eb..ed9bb437c821 100644 --- a/app/client/src/selectors/globalSearchSelectors.tsx +++ b/app/client/src/selectors/globalSearchSelectors.tsx @@ -1,6 +1,6 @@ import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { RecentEntity } from "components/editorComponents/GlobalSearch/utils"; export const getRecentEntities = (state: AppState) => diff --git a/app/client/src/selectors/helpSelectors.tsx b/app/client/src/selectors/helpSelectors.tsx index d35d2678ea66..b44f748dfb31 100644 --- a/app/client/src/selectors/helpSelectors.tsx +++ b/app/client/src/selectors/helpSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getHelpModalOpen = (state: AppState): boolean => state.ui.help.modalOpen; diff --git a/app/client/src/selectors/ideSelectors.tsx b/app/client/src/selectors/ideSelectors.tsx index d38ad84aa62b..af4baf469889 100644 --- a/app/client/src/selectors/ideSelectors.tsx +++ b/app/client/src/selectors/ideSelectors.tsx @@ -1,11 +1,8 @@ import { createSelector } from "reselect"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; -import type { AppState } from "@appsmith/reducers"; -import { getPageActions } from "@appsmith/selectors/entitiesSelector"; -import { - EditorEntityTab, - EditorViewMode, -} from "@appsmith/entities/IDE/constants"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; +import type { AppState } from "ee/reducers"; +import { getPageActions } from "ee/selectors/entitiesSelector"; +import { EditorEntityTab, EditorViewMode } from "ee/entities/IDE/constants"; import { getCurrentBasePageId } from "./editorSelectors"; import type { ParentEntityIDETabs } from "../reducers/uiReducers/ideReducer"; import { get } from "lodash"; diff --git a/app/client/src/selectors/jsPaneSelectors.ts b/app/client/src/selectors/jsPaneSelectors.ts index 3400a27ae9d1..91471edd4c83 100644 --- a/app/client/src/selectors/jsPaneSelectors.ts +++ b/app/client/src/selectors/jsPaneSelectors.ts @@ -1,8 +1,8 @@ -import type { AppState } from "@appsmith/reducers"; -import { getJSEntityItemUrl } from "@appsmith/pages/Editor/IDE/EditorPane/JS/utils"; +import type { AppState } from "ee/reducers"; +import { getJSEntityItemUrl } from "ee/pages/Editor/IDE/EditorPane/JS/utils"; import type { FocusEntityInfo } from "navigation/FocusEntity"; import { identifyEntityFromPath } from "navigation/FocusEntity"; -import { selectJSSegmentEditorTabs } from "@appsmith/selectors/appIDESelectors"; +import { selectJSSegmentEditorTabs } from "ee/selectors/appIDESelectors"; import { getCurrentBasePageId } from "./editorSelectors"; export const getJSPaneConfigSelectedTab = (state: AppState) => diff --git a/app/client/src/selectors/layoutSystemSelectors.ts b/app/client/src/selectors/layoutSystemSelectors.ts index 319ad4ea0454..40dc4b61e0b7 100644 --- a/app/client/src/selectors/layoutSystemSelectors.ts +++ b/app/client/src/selectors/layoutSystemSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getAnvilWidgetDOMId } from "layoutSystems/common/utils/LayoutElementPositionsObserver/utils"; import { LayoutSystemTypes } from "layoutSystems/types"; diff --git a/app/client/src/selectors/lintingSelectors.ts b/app/client/src/selectors/lintingSelectors.ts index de7ba2a0b064..4f0aae2a3f08 100644 --- a/app/client/src/selectors/lintingSelectors.ts +++ b/app/client/src/selectors/lintingSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { get } from "lodash"; import type { LintError } from "utils/DynamicBindingUtils"; diff --git a/app/client/src/selectors/mainCanvasSelectors.tsx b/app/client/src/selectors/mainCanvasSelectors.tsx index c38cfac601e7..e9d08139527c 100644 --- a/app/client/src/selectors/mainCanvasSelectors.tsx +++ b/app/client/src/selectors/mainCanvasSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getIsCanvasInitialized = (state: AppState) => { return state.ui.mainCanvas.initialized; diff --git a/app/client/src/selectors/navigationSelectors.ts b/app/client/src/selectors/navigationSelectors.ts index 9f8c88996676..477179473181 100644 --- a/app/client/src/selectors/navigationSelectors.ts +++ b/app/client/src/selectors/navigationSelectors.ts @@ -1,5 +1,5 @@ -import type { EntityTypeValue } from "@appsmith/entities/DataTree/types"; -import { ACTION_TYPE, JSACTION_TYPE } from "@appsmith/entities/DataTree/types"; +import type { EntityTypeValue } from "ee/entities/DataTree/types"; +import { ACTION_TYPE, JSACTION_TYPE } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { createSelector } from "reselect"; @@ -10,14 +10,14 @@ import { getModuleInstanceEntities, getModuleInstances, getPlugins, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import { getWidgets } from "sagas/selectors"; import { getCurrentBasePageId, getCurrentPageId, } from "selectors/editorSelectors"; import { getActionConfig } from "pages/Editor/Explorer/Actions/helpers"; -import { jsCollectionIdURL, widgetURL } from "@appsmith/RouteBuilder"; +import { jsCollectionIdURL, widgetURL } from "ee/RouteBuilder"; import { getDataTree } from "selectors/dataTreeSelectors"; import { createNavData } from "utils/NavigationSelector/common"; import { getWidgetChildrenNavData } from "utils/NavigationSelector/WidgetChildren"; @@ -25,12 +25,12 @@ import { getJsChildrenNavData } from "utils/NavigationSelector/JsChildren"; import { getEntityNameAndPropertyPath, isJSAction, -} from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { AppState } from "@appsmith/reducers"; +} from "ee/workers/Evaluation/evaluationUtils"; +import type { AppState } from "ee/reducers"; import { PluginType } from "entities/Action"; import type { StoredDatasource } from "entities/Action"; import type { Datasource } from "entities/Datasource"; -import { getModuleInstanceNavigationData } from "@appsmith/utils/moduleInstanceNavigationData"; +import { getModuleInstanceNavigationData } from "ee/utils/moduleInstanceNavigationData"; export interface NavigationData { name: string; diff --git a/app/client/src/selectors/onboardingSelectors.tsx b/app/client/src/selectors/onboardingSelectors.tsx index 3f3fb1fc62ef..4271cd6b993c 100644 --- a/app/client/src/selectors/onboardingSelectors.tsx +++ b/app/client/src/selectors/onboardingSelectors.tsx @@ -1,9 +1,9 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import { getCurrentActions, getCanvasWidgets, -} from "@appsmith/selectors/entitiesSelector"; +} from "ee/selectors/entitiesSelector"; import type { SIGNPOSTING_STEP } from "pages/Editor/FirstTimeUserOnboarding/Utils"; import { isBoolean, intersection } from "lodash"; import { getEvaluationInverseDependencyMap } from "./dataTreeSelectors"; diff --git a/app/client/src/selectors/oneClickBindingSelectors.tsx b/app/client/src/selectors/oneClickBindingSelectors.tsx index 1124857e10bc..438795229a4b 100644 --- a/app/client/src/selectors/oneClickBindingSelectors.tsx +++ b/app/client/src/selectors/oneClickBindingSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getOneClickBindingConfigForWidget = (widgetId: string) => (state: AppState) => diff --git a/app/client/src/selectors/pageListSelectors.tsx b/app/client/src/selectors/pageListSelectors.tsx index 3d8beefcd051..ccc7abc4c15d 100644 --- a/app/client/src/selectors/pageListSelectors.tsx +++ b/app/client/src/selectors/pageListSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import type { PageListReduxState } from "reducers/entityReducers/pageListReducer"; diff --git a/app/client/src/selectors/propertyPaneSelectors.tsx b/app/client/src/selectors/propertyPaneSelectors.tsx index b8bd77e8df7e..a5332774a6c4 100644 --- a/app/client/src/selectors/propertyPaneSelectors.tsx +++ b/app/client/src/selectors/propertyPaneSelectors.tsx @@ -1,7 +1,7 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { find, get, set } from "lodash"; import { createSelector } from "reselect"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree, DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import type { @@ -16,9 +16,9 @@ import { isPathDynamicTrigger, } from "utils/DynamicBindingUtils"; import { generateClassName } from "utils/generators"; -import { getGoogleMapsApiKey } from "@appsmith/selectors/tenantSelectors"; +import { getGoogleMapsApiKey } from "ee/selectors/tenantSelectors"; import type { WidgetProps } from "widgets/BaseWidget"; -import { getCanvasWidgets } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgets } from "ee/selectors/entitiesSelector"; import { getLastSelectedWidget, getSelectedWidgets } from "./ui"; import { getLayoutSystemType } from "./layoutSystemSelectors"; import { getRenderMode } from "./editorSelectors"; diff --git a/app/client/src/selectors/queryPaneSelectors.ts b/app/client/src/selectors/queryPaneSelectors.ts index 7cd57855ec09..d3b0e598ead7 100644 --- a/app/client/src/selectors/queryPaneSelectors.ts +++ b/app/client/src/selectors/queryPaneSelectors.ts @@ -1,9 +1,9 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getCurrentPageId } from "./editorSelectors"; import type { FocusEntityInfo } from "../navigation/FocusEntity"; import { identifyEntityFromPath } from "../navigation/FocusEntity"; -import { getQueryEntityItemUrl } from "@appsmith/pages/Editor/IDE/EditorPane/Query/utils"; -import { selectQuerySegmentEditorTabs } from "@appsmith/selectors/appIDESelectors"; +import { getQueryEntityItemUrl } from "ee/pages/Editor/IDE/EditorPane/Query/utils"; +import { selectQuerySegmentEditorTabs } from "ee/selectors/appIDESelectors"; export const getQueryPaneConfigSelectedTabIndex = (state: AppState) => state.ui.queryPane.selectedConfigTabIndex; diff --git a/app/client/src/selectors/settingsSelectors.tsx b/app/client/src/selectors/settingsSelectors.tsx index d42ab4b8be15..10e6631722a8 100644 --- a/app/client/src/selectors/settingsSelectors.tsx +++ b/app/client/src/selectors/settingsSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getSettings = (state: AppState) => state.settings.config; diff --git a/app/client/src/selectors/tableFilterSelectors.tsx b/app/client/src/selectors/tableFilterSelectors.tsx index 4cd863564c44..336fb36ea986 100644 --- a/app/client/src/selectors/tableFilterSelectors.tsx +++ b/app/client/src/selectors/tableFilterSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import type { TableFilterPaneReduxState } from "reducers/uiReducers/tableFilterPaneReducer"; diff --git a/app/client/src/selectors/templatesSelectors.tsx b/app/client/src/selectors/templatesSelectors.tsx index 4360403e1014..c3f7fd755e72 100644 --- a/app/client/src/selectors/templatesSelectors.tsx +++ b/app/client/src/selectors/templatesSelectors.tsx @@ -1,8 +1,8 @@ -import type { Workspace } from "@appsmith/constants/workspaceConstants"; -import type { AppState } from "@appsmith/reducers"; -import { getDefaultPlugins } from "@appsmith/selectors/entitiesSelector"; -import { getFetchedWorkspaces } from "@appsmith/selectors/workspaceSelectors"; -import { hasCreateNewAppPermission } from "@appsmith/utils/permissionHelpers"; +import type { Workspace } from "ee/constants/workspaceConstants"; +import type { AppState } from "ee/reducers"; +import { getDefaultPlugins } from "ee/selectors/entitiesSelector"; +import { getFetchedWorkspaces } from "ee/selectors/workspaceSelectors"; +import { hasCreateNewAppPermission } from "ee/utils/permissionHelpers"; import type { FilterKeys, Template } from "api/TemplatesApi"; import { BUILDING_BLOCK_EXPLORER_TYPE, diff --git a/app/client/src/selectors/themeSelectors.tsx b/app/client/src/selectors/themeSelectors.tsx index e61cfdf25570..5169e40bdeed 100644 --- a/app/client/src/selectors/themeSelectors.tsx +++ b/app/client/src/selectors/themeSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { Theme } from "constants/DefaultTheme"; import { dark, light, theme } from "constants/DefaultTheme"; diff --git a/app/client/src/selectors/tourSelectors.tsx b/app/client/src/selectors/tourSelectors.tsx index bc6df48ce0aa..d9d61c9934e5 100644 --- a/app/client/src/selectors/tourSelectors.tsx +++ b/app/client/src/selectors/tourSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getActiveTourIndex = (state: AppState) => state.ui.tour?.activeTourIndex; diff --git a/app/client/src/selectors/ui.tsx b/app/client/src/selectors/ui.tsx index 94f56a01f79b..67df1f559e60 100644 --- a/app/client/src/selectors/ui.tsx +++ b/app/client/src/selectors/ui.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; export const getLastSelectedWidget = (state: AppState) => diff --git a/app/client/src/selectors/usersSelectors.tsx b/app/client/src/selectors/usersSelectors.tsx index e693ec0aa125..ac3a98d6b084 100644 --- a/app/client/src/selectors/usersSelectors.tsx +++ b/app/client/src/selectors/usersSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { User } from "constants/userConstants"; import type { PropertyPanePositionConfig } from "reducers/uiReducers/usersReducer"; import { ANONYMOUS_USERNAME } from "constants/userConstants"; diff --git a/app/client/src/selectors/websocketSelectors.ts b/app/client/src/selectors/websocketSelectors.ts index 88bc25dce9cd..3e4a577a8b9a 100644 --- a/app/client/src/selectors/websocketSelectors.ts +++ b/app/client/src/selectors/websocketSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; export const getIsPageLevelSocketConnected = (state: AppState) => state.ui.websocket.pageLevelSocketConnected; diff --git a/app/client/src/selectors/widgetDragSelectors.ts b/app/client/src/selectors/widgetDragSelectors.ts index 54343cb1cdac..0a2b35eb7e1f 100644 --- a/app/client/src/selectors/widgetDragSelectors.ts +++ b/app/client/src/selectors/widgetDragSelectors.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { createSelector } from "reselect"; import { getIsAppSettingsPaneWithNavigationTabOpen } from "./appSettingsPaneSelectors"; import { diff --git a/app/client/src/selectors/widgetEnhancementSelectors.ts b/app/client/src/selectors/widgetEnhancementSelectors.ts index a784a567b620..7b9470971738 100644 --- a/app/client/src/selectors/widgetEnhancementSelectors.ts +++ b/app/client/src/selectors/widgetEnhancementSelectors.ts @@ -1,6 +1,6 @@ import { createSelector } from "reselect"; import { get, set } from "lodash"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import { diff --git a/app/client/src/selectors/widgetReflowSelectors.tsx b/app/client/src/selectors/widgetReflowSelectors.tsx index 00ac9e52a94f..589a8c686894 100644 --- a/app/client/src/selectors/widgetReflowSelectors.tsx +++ b/app/client/src/selectors/widgetReflowSelectors.tsx @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { widgetReflow } from "reducers/uiReducers/reflowReducer"; import { createSelector } from "reselect"; import { getIsResizing } from "./widgetSelectors"; diff --git a/app/client/src/selectors/widgetSelectors.ts b/app/client/src/selectors/widgetSelectors.ts index 902bbf0a3757..c701fa41ccf6 100644 --- a/app/client/src/selectors/widgetSelectors.ts +++ b/app/client/src/selectors/widgetSelectors.ts @@ -1,5 +1,5 @@ import { createSelector } from "reselect"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type { CanvasWidgetsReduxState, FlattenedWidgetProps, @@ -16,7 +16,7 @@ import { } from "./ui"; import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { get } from "lodash"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; import { getIsTableFilterPaneVisible } from "selectors/tableFilterSelectors"; import { getIsAutoHeightWithLimitsChanging } from "utils/hooks/autoHeightUIHooks"; diff --git a/app/client/src/serviceWorker.ts b/app/client/src/serviceWorker.ts index e1647feda0ae..8e6f7e4a479d 100644 --- a/app/client/src/serviceWorker.ts +++ b/app/client/src/serviceWorker.ts @@ -11,7 +11,7 @@ import { getApplicationParamsFromUrl, getPrefetchRequests, PrefetchApiService, -} from "@appsmith/utils/serviceWorkerUtils"; +} from "ee/utils/serviceWorkerUtils"; import type { RouteHandlerCallback } from "workbox-core/types"; setCacheNameDetails({ diff --git a/app/client/src/store.ts b/app/client/src/store.ts index 7ec2f3b4b6e9..b4d7b0450fb8 100644 --- a/app/client/src/store.ts +++ b/app/client/src/store.ts @@ -1,13 +1,13 @@ import { reduxBatch } from "@manaflair/redux-batch"; import { createStore, applyMiddleware, compose } from "redux"; -import type { AppState } from "@appsmith/reducers"; -import appReducer from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; +import appReducer from "ee/reducers"; import createSagaMiddleware from "redux-saga"; -import { rootSaga } from "@appsmith/sagas"; +import { rootSaga } from "ee/sagas"; import { composeWithDevTools } from "redux-devtools-extension/logOnlyInProduction"; import * as Sentry from "@sentry/react"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import routeParamsMiddleware from "@appsmith/RouteParamsMiddleware"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import routeParamsMiddleware from "ee/RouteParamsMiddleware"; const sagaMiddleware = createSagaMiddleware(); const ignoredSentryActionTypes = [ diff --git a/app/client/src/transformers/RestAPIDatasourceFormTransformer.ts b/app/client/src/transformers/RestAPIDatasourceFormTransformer.ts index 114751ea1c73..725c1b21bfc0 100644 --- a/app/client/src/transformers/RestAPIDatasourceFormTransformer.ts +++ b/app/client/src/transformers/RestAPIDatasourceFormTransformer.ts @@ -1,4 +1,4 @@ -import { isEnvironmentValid } from "@appsmith/utils/Environments"; +import { isEnvironmentValid } from "ee/utils/Environments"; import type { Property } from "entities/Action"; import type { Datasource, DatasourceStorage } from "entities/Datasource"; import type { diff --git a/app/client/src/usagePulse/index.ts b/app/client/src/usagePulse/index.ts index 49942f78f2eb..905f08b7a3ed 100644 --- a/app/client/src/usagePulse/index.ts +++ b/app/client/src/usagePulse/index.ts @@ -2,14 +2,14 @@ import { getAppViewerPageIdFromPath, isEditorPath, isViewerPath, -} from "@appsmith/pages/Editor/Explorer/helpers"; +} from "ee/pages/Editor/Explorer/helpers"; import { fetchWithRetry, getUsagePulsePayload } from "./utils"; import { PULSE_API_ENDPOINT, PULSE_API_MAX_RETRY_COUNT, PULSE_API_RETRY_TIMEOUT, USER_ACTIVITY_LISTENER_EVENTS, -} from "@appsmith/constants/UsagePulse"; +} from "ee/constants/UsagePulse"; import PageApi from "api/PageApi"; import { APP_MODE } from "entities/App"; import { getFirstTimeUserOnboardingIntroModalVisibility } from "utils/storage"; diff --git a/app/client/src/usagePulse/utils.ts b/app/client/src/usagePulse/utils.ts index 3c13e5bc7def..bb36b53ebb4c 100644 --- a/app/client/src/usagePulse/utils.ts +++ b/app/client/src/usagePulse/utils.ts @@ -1,11 +1,11 @@ -import { isEditorPath } from "@appsmith/pages/Editor/Explorer/helpers"; +import { isEditorPath } from "ee/pages/Editor/Explorer/helpers"; import { APP_MODE } from "entities/App"; import { isNil } from "lodash"; import nanoid from "nanoid"; -import { getAppMode } from "@appsmith/selectors/entitiesSelector"; +import { getAppMode } from "ee/selectors/entitiesSelector"; import store from "store"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { FALLBACK_KEY } from "@appsmith/constants/UsagePulse"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { FALLBACK_KEY } from "ee/constants/UsagePulse"; //TODO (Dipyaman): We should return a promise that will get resolved only on success or rejected after the retries export const fetchWithRetry = (config: { diff --git a/app/client/src/utils/AppUtils.ts b/app/client/src/utils/AppUtils.ts index 8e88fced62d3..d40e70e32ca8 100644 --- a/app/client/src/utils/AppUtils.ts +++ b/app/client/src/utils/AppUtils.ts @@ -1,4 +1,4 @@ -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import FormControlRegistry from "./formControl/FormControlRegistry"; import type { LogLevelDesc } from "loglevel"; import localStorage from "utils/localStorage"; diff --git a/app/client/src/utils/AppsmithConsole.ts b/app/client/src/utils/AppsmithConsole.ts index a68935130d91..c2205aa9164f 100644 --- a/app/client/src/utils/AppsmithConsole.ts +++ b/app/client/src/utils/AppsmithConsole.ts @@ -4,7 +4,7 @@ import { debuggerLogInit, deleteErrorLogsInit, } from "actions/debuggerActions"; -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import type { LogActionPayload, Log } from "entities/AppsmithConsole"; import { Severity, LOG_CATEGORY } from "entities/AppsmithConsole"; import moment from "moment"; diff --git a/app/client/src/utils/AppsmithUtils.tsx b/app/client/src/utils/AppsmithUtils.tsx index fc7a4a1cefb8..55d5f42a98dc 100644 --- a/app/client/src/utils/AppsmithUtils.tsx +++ b/app/client/src/utils/AppsmithUtils.tsx @@ -1,18 +1,18 @@ -import { getAppsmithConfigs } from "@appsmith/configs"; -import { ERROR_CODES } from "@appsmith/constants/ApiConstants"; -import { createMessage, ERROR_500 } from "@appsmith/constants/messages"; +import { getAppsmithConfigs } from "ee/configs"; +import { ERROR_CODES } from "ee/constants/ApiConstants"; +import { createMessage, ERROR_500 } from "ee/constants/messages"; import * as Sentry from "@sentry/react"; import type { Property } from "api/ActionAPI"; -import type { AppIconName } from "design-system-old"; -import { AppIconCollection } from "design-system-old"; +import type { AppIconName } from "@appsmith/ads-old"; +import { AppIconCollection } from "@appsmith/ads-old"; import _, { isPlainObject } from "lodash"; import * as log from "loglevel"; import { osName } from "react-device-detect"; -import type { ActionDataState } from "@appsmith/reducers/entityReducers/actionsReducer"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import type { CreateNewActionKeyInterface } from "@appsmith/entities/Engine/actionHelpers"; -import { CreateNewActionKey } from "@appsmith/entities/Engine/actionHelpers"; +import type { ActionDataState } from "ee/reducers/entityReducers/actionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import type { CreateNewActionKeyInterface } from "ee/entities/Engine/actionHelpers"; +import { CreateNewActionKey } from "ee/entities/Engine/actionHelpers"; export const initializeAnalyticsAndTrackers = async () => { const appsmithConfigs = getAppsmithConfigs(); diff --git a/app/client/src/utils/BrandingUtils.ts b/app/client/src/utils/BrandingUtils.ts index 53169ccee35d..d8b19ba1ddc0 100644 --- a/app/client/src/utils/BrandingUtils.ts +++ b/app/client/src/utils/BrandingUtils.ts @@ -7,10 +7,10 @@ import { ADMIN_BRANDING_FAVICON_SIZE_ERROR, ADMIN_BRANDING_FAVICON_FORMAT_ERROR, ADMIN_BRANDING_FAVICON_DIMENSION_ERROR, -} from "@appsmith/constants/messages"; -import { toast } from "design-system"; +} from "ee/constants/messages"; +import { toast } from "@appsmith/ads"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { LightModeTheme } from "@design-system/theming"; const FAVICON_MAX_WIDTH = 32; diff --git a/app/client/src/utils/DSLMigrations.ts b/app/client/src/utils/DSLMigrations.ts index 83b68944cefd..242df79e1944 100644 --- a/app/client/src/utils/DSLMigrations.ts +++ b/app/client/src/utils/DSLMigrations.ts @@ -66,7 +66,7 @@ export {}; // import { migrateMapWidgetIsClickedMarkerCentered } from "./migrations/MapWidget"; // import type { DSLWidget } from "WidgetProvider/constants"; // import { migrateRecaptchaType } from "./migrations/ButtonWidgetMigrations"; -// import type { PrivateWidgets } from "@appsmith/entities/DataTree/types"; +// import type { PrivateWidgets } from "ee/entities/DataTree/types"; // import { // migrateChildStylesheetFromDynamicBindingPathList, // migrateStylingPropertiesForTheming, diff --git a/app/client/src/utils/DynamicBindingUtils.ts b/app/client/src/utils/DynamicBindingUtils.ts index cc55f0d39033..093299b642c8 100644 --- a/app/client/src/utils/DynamicBindingUtils.ts +++ b/app/client/src/utils/DynamicBindingUtils.ts @@ -9,8 +9,8 @@ import { isJSAction, isTrueObject, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { DataTreeEntityConfig } from "@appsmith/entities/DataTree/types"; +} from "ee/workers/Evaluation/evaluationUtils"; +import type { DataTreeEntityConfig } from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import { getType, Types } from "./TypeHelpers"; import { ViewTypes } from "components/formControls/utils"; diff --git a/app/client/src/utils/FilterInternalProperties/Action.ts b/app/client/src/utils/FilterInternalProperties/Action.ts index 3eadb852ebe4..74006977207b 100644 --- a/app/client/src/utils/FilterInternalProperties/Action.ts +++ b/app/client/src/utils/FilterInternalProperties/Action.ts @@ -1,5 +1,5 @@ -import { entityDefinitions } from "@appsmith/utils/autocomplete/EntityDefinitions"; -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import { entityDefinitions } from "ee/utils/autocomplete/EntityDefinitions"; +import type { ActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; export const getActionChildrenPeekData = ( diff --git a/app/client/src/utils/FilterInternalProperties/Appsmith.ts b/app/client/src/utils/FilterInternalProperties/Appsmith.ts index a7561d437054..715e2324126e 100644 --- a/app/client/src/utils/FilterInternalProperties/Appsmith.ts +++ b/app/client/src/utils/FilterInternalProperties/Appsmith.ts @@ -1,5 +1,5 @@ -import { entityDefinitions } from "@appsmith/utils/autocomplete/EntityDefinitions"; -import type { AppsmithEntity } from "@appsmith/entities/DataTree/types"; +import { entityDefinitions } from "ee/utils/autocomplete/EntityDefinitions"; +import type { AppsmithEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { createObjectPeekData } from "./Common"; diff --git a/app/client/src/utils/FilterInternalProperties/JsAction.ts b/app/client/src/utils/FilterInternalProperties/JsAction.ts index bbd246baf2df..6382946a2a93 100644 --- a/app/client/src/utils/FilterInternalProperties/JsAction.ts +++ b/app/client/src/utils/FilterInternalProperties/JsAction.ts @@ -1,6 +1,6 @@ -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; export const getJsActionPeekData = ( jsAction: JSCollectionData, diff --git a/app/client/src/utils/FilterInternalProperties/Widget.ts b/app/client/src/utils/FilterInternalProperties/Widget.ts index c50109501b2e..834c4181f2e9 100644 --- a/app/client/src/utils/FilterInternalProperties/Widget.ts +++ b/app/client/src/utils/FilterInternalProperties/Widget.ts @@ -1,9 +1,9 @@ import type { WidgetEntity, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; -import type { EntityDefinitionsOptions } from "@appsmith/utils/autocomplete/EntityDefinitions"; +import type { EntityDefinitionsOptions } from "ee/utils/autocomplete/EntityDefinitions"; import { isFunction } from "lodash"; import type { Def } from "tern"; import WidgetFactory from "WidgetProvider/factory"; diff --git a/app/client/src/utils/FilterInternalProperties/__tests__/index.test.ts b/app/client/src/utils/FilterInternalProperties/__tests__/index.test.ts index c42bf526cbe0..458c5e109c8c 100644 --- a/app/client/src/utils/FilterInternalProperties/__tests__/index.test.ts +++ b/app/client/src/utils/FilterInternalProperties/__tests__/index.test.ts @@ -7,10 +7,10 @@ import type { DataTreeEntityConfig, DataTreeEntityObject, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { registerWidgets } from "WidgetProvider/factory/registrationHelper"; import InputWidget from "widgets/InputWidgetV2"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; describe("filterInternalProperties tests", () => { beforeAll(() => { diff --git a/app/client/src/utils/FilterInternalProperties/index.ts b/app/client/src/utils/FilterInternalProperties/index.ts index a3a0da152d10..2fbf40240f7d 100644 --- a/app/client/src/utils/FilterInternalProperties/index.ts +++ b/app/client/src/utils/FilterInternalProperties/index.ts @@ -1,10 +1,10 @@ -import { getEntityPeekData } from "@appsmith/utils/FilterInternalProperties/getEntityPeekData"; +import { getEntityPeekData } from "ee/utils/FilterInternalProperties/getEntityPeekData"; import type { ConfigTree, DataTree, DataTreeEntity, } from "entities/DataTree/dataTreeTypes"; -import type { JSCollectionDataState } from "@appsmith/reducers/entityReducers/jsActionsReducer"; +import type { JSCollectionDataState } from "ee/reducers/entityReducers/jsActionsReducer"; export const filterInternalProperties = ( objectName: string, diff --git a/app/client/src/utils/JSPaneUtils.tsx b/app/client/src/utils/JSPaneUtils.tsx index 5c37a3d346aa..b05751233046 100644 --- a/app/client/src/utils/JSPaneUtils.tsx +++ b/app/client/src/utils/JSPaneUtils.tsx @@ -1,6 +1,6 @@ //check difference for after body change and parsing import type { JSCollection, JSAction, Variable } from "entities/JSCollection"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import AppsmithConsole from "utils/AppsmithConsole"; diff --git a/app/client/src/utils/NavigationSelector/JsChildren.ts b/app/client/src/utils/NavigationSelector/JsChildren.ts index 803017553df4..ed1000790847 100644 --- a/app/client/src/utils/NavigationSelector/JsChildren.ts +++ b/app/client/src/utils/NavigationSelector/JsChildren.ts @@ -1,9 +1,9 @@ -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { keyBy } from "lodash"; -import type { JSCollectionData } from "@appsmith/reducers/entityReducers/jsActionsReducer"; -import { jsCollectionIdURL } from "@appsmith/RouteBuilder"; +import type { JSCollectionData } from "ee/reducers/entityReducers/jsActionsReducer"; +import { jsCollectionIdURL } from "ee/RouteBuilder"; import type { EntityNavigationData, NavigationData, diff --git a/app/client/src/utils/NavigationSelector/WidgetChildren.ts b/app/client/src/utils/NavigationSelector/WidgetChildren.ts index fa80ddcb03df..aba312fc43b5 100644 --- a/app/client/src/utils/NavigationSelector/WidgetChildren.ts +++ b/app/client/src/utils/NavigationSelector/WidgetChildren.ts @@ -1,7 +1,7 @@ -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import type { EntityNavigationData } from "selectors/navigationSelectors"; import { createNavData } from "./common"; diff --git a/app/client/src/utils/NavigationSelector/common.ts b/app/client/src/utils/NavigationSelector/common.ts index 318574e466cf..ead2f508548f 100644 --- a/app/client/src/utils/NavigationSelector/common.ts +++ b/app/client/src/utils/NavigationSelector/common.ts @@ -1,4 +1,4 @@ -import type { EntityTypeValue } from "@appsmith/entities/DataTree/types"; +import type { EntityTypeValue } from "ee/entities/DataTree/types"; import type { EntityNavigationData, NavigationData, diff --git a/app/client/src/utils/PerformanceTracker.ts b/app/client/src/utils/PerformanceTracker.ts index fc24ecfb4e8c..5aa17f4af658 100644 --- a/app/client/src/utils/PerformanceTracker.ts +++ b/app/client/src/utils/PerformanceTracker.ts @@ -1,7 +1,7 @@ import * as Sentry from "@sentry/react"; import type { Span } from "@sentry/tracing"; import { SpanStatus } from "@sentry/tracing"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import _ from "lodash"; import * as log from "loglevel"; diff --git a/app/client/src/utils/ReducerUtils.ts b/app/client/src/utils/ReducerUtils.ts index 2c4ebe8dc780..bf1390380840 100644 --- a/app/client/src/utils/ReducerUtils.ts +++ b/app/client/src/utils/ReducerUtils.ts @@ -1,4 +1,4 @@ -import type { ReduxAction } from "@appsmith/constants/ReduxActionConstants"; +import type { ReduxAction } from "ee/constants/ReduxActionConstants"; import produce from "immer"; export const createReducer = ( diff --git a/app/client/src/utils/WidgetFeatures.ts b/app/client/src/utils/WidgetFeatures.ts index c6c7a6fed49f..33c95d9c7fe1 100644 --- a/app/client/src/utils/WidgetFeatures.ts +++ b/app/client/src/utils/WidgetFeatures.ts @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { PropertyPaneConfig, PropertyPaneControlConfig, diff --git a/app/client/src/utils/WidgetLoadingStateUtils.test.ts b/app/client/src/utils/WidgetLoadingStateUtils.test.ts index d17ee3189259..355e4959f8e3 100644 --- a/app/client/src/utils/WidgetLoadingStateUtils.test.ts +++ b/app/client/src/utils/WidgetLoadingStateUtils.test.ts @@ -3,7 +3,7 @@ import type { WidgetEntity, ActionEntity, JSActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { findLoadingEntities, diff --git a/app/client/src/utils/WidgetLoadingStateUtils.ts b/app/client/src/utils/WidgetLoadingStateUtils.ts index 8cc8e9dc90e2..abee99bc6918 100644 --- a/app/client/src/utils/WidgetLoadingStateUtils.ts +++ b/app/client/src/utils/WidgetLoadingStateUtils.ts @@ -1,9 +1,6 @@ import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { get, set } from "lodash"; -import { - isJSObject, - isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isJSObject, isWidget } from "ee/workers/Evaluation/evaluationUtils"; import type { DependencyMap } from "./DynamicBindingUtils"; import WidgetFactory from "../WidgetProvider/factory"; @@ -29,7 +26,7 @@ export const groupAndFilterDependantsMap = ( entityPathDependants = entityPathDependants.concat( isJS_Object - ? /* include self-dependent properties for JsObjects + ? /* include self-dependent properties for JsObjects e.g. { "JsObject.internalFunc": [ "JsObject.fun1", "JsObject" ] } diff --git a/app/client/src/utils/autocomplete/CodemirrorTernService.ts b/app/client/src/utils/autocomplete/CodemirrorTernService.ts index bea3d7784b55..9e79d988267e 100644 --- a/app/client/src/utils/autocomplete/CodemirrorTernService.ts +++ b/app/client/src/utils/autocomplete/CodemirrorTernService.ts @@ -9,7 +9,7 @@ import { } from "utils/DynamicBindingUtils"; import type { FieldEntityInformation } from "components/editorComponents/CodeEditor/EditorConfig"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; -import type { EntityTypeValue } from "@appsmith/entities/DataTree/types"; +import type { EntityTypeValue } from "ee/entities/DataTree/types"; import { AutocompleteSorter } from "./AutocompleteSortRules"; import { getCompletionsForKeyword } from "./keywordCompletion"; import TernWorkerServer from "./TernWorkerService"; @@ -18,7 +18,7 @@ import { getCodeMirrorNamespaceFromDoc, getCodeMirrorNamespaceFromEditor, } from "../getCodeMirrorNamespace"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { findIndex, isString } from "lodash"; import { renderTernTooltipContent } from "./ternDocTooltip"; diff --git a/app/client/src/utils/autocomplete/__tests__/dataTreeTypeDefCreator.test.ts b/app/client/src/utils/autocomplete/__tests__/dataTreeTypeDefCreator.test.ts index 98c040ccd75a..0ec4ddbde99b 100644 --- a/app/client/src/utils/autocomplete/__tests__/dataTreeTypeDefCreator.test.ts +++ b/app/client/src/utils/autocomplete/__tests__/dataTreeTypeDefCreator.test.ts @@ -2,7 +2,7 @@ import { dataTreeTypeDefCreator } from "utils/autocomplete/dataTreeTypeDefCreato import type { WidgetEntity, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { ENTITY_TYPE, EvaluationSubstitutionType, diff --git a/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts b/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts index cc85fb63b5c9..e9af72b19185 100644 --- a/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts +++ b/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts @@ -1,6 +1,6 @@ -import type { DataTreeEntityObject } from "@appsmith/entities/DataTree/types"; -import type { EntityMap } from "@appsmith/utils/autocomplete/entityDefGeneratorMap"; -import { entityDefGeneratorMap } from "@appsmith/utils/autocomplete/entityDefGeneratorMap"; +import type { DataTreeEntityObject } from "ee/entities/DataTree/types"; +import type { EntityMap } from "ee/utils/autocomplete/entityDefGeneratorMap"; +import { entityDefGeneratorMap } from "ee/utils/autocomplete/entityDefGeneratorMap"; import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; import type { Def } from "tern"; diff --git a/app/client/src/utils/autocomplete/defCreatorUtils.ts b/app/client/src/utils/autocomplete/defCreatorUtils.ts index 951204674273..1fcd7fa6a48c 100644 --- a/app/client/src/utils/autocomplete/defCreatorUtils.ts +++ b/app/client/src/utils/autocomplete/defCreatorUtils.ts @@ -1,5 +1,5 @@ import { isTrueObject } from "@shared/ast/src/utils"; -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import type { Variable } from "entities/JSCollection"; import { isObject, uniqueId } from "lodash"; diff --git a/app/client/src/utils/autocomplete/ternDocTooltip.tsx b/app/client/src/utils/autocomplete/ternDocTooltip.tsx index 3d9f77df0b23..abdc96ff9ea1 100644 --- a/app/client/src/utils/autocomplete/ternDocTooltip.tsx +++ b/app/client/src/utils/autocomplete/ternDocTooltip.tsx @@ -1,9 +1,9 @@ import React from "react"; import ReactDOM from "react-dom"; -import { ternDocsInfo } from "@appsmith/utils/autocomplete/EntityDefinitions"; +import { ternDocsInfo } from "ee/utils/autocomplete/EntityDefinitions"; import type { Completion, TernCompletionResult } from "./CodemirrorTernService"; import { CodeEditorColors } from "components/editorComponents/CodeEditor/constants"; -import { Link } from "design-system"; +import { Link } from "@appsmith/ads"; export function renderTernTooltipContent( element: HTMLElement, diff --git a/app/client/src/utils/bootIntercom.ts b/app/client/src/utils/bootIntercom.ts index be1d64286e5a..34e65c6d2515 100644 --- a/app/client/src/utils/bootIntercom.ts +++ b/app/client/src/utils/bootIntercom.ts @@ -1,7 +1,7 @@ import type { User } from "constants/userConstants"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { sha256 } from "js-sha256"; -import { getLicenseKey } from "@appsmith/utils/licenseHelpers"; +import { getLicenseKey } from "ee/utils/licenseHelpers"; const { appVersion, cloudHosting, intercomAppID } = getAppsmithConfigs(); diff --git a/app/client/src/utils/buildingBlockUtils.ts b/app/client/src/utils/buildingBlockUtils.ts index e4cbfec08bca..c6e0e9c79c12 100644 --- a/app/client/src/utils/buildingBlockUtils.ts +++ b/app/client/src/utils/buildingBlockUtils.ts @@ -1,5 +1,5 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { put } from "redux-saga/effects"; interface BuildingBlockDropInitiateEvent { diff --git a/app/client/src/utils/editorContextUtils.ts b/app/client/src/utils/editorContextUtils.ts index 3172d5d6bdcb..53f02788584a 100644 --- a/app/client/src/utils/editorContextUtils.ts +++ b/app/client/src/utils/editorContextUtils.ts @@ -3,8 +3,8 @@ import { DATASOURCE_DB_FORM, DATASOURCE_REST_API_FORM, DATASOURCE_SAAS_FORM, -} from "@appsmith/constants/forms"; -import { DB_NOT_SUPPORTED } from "@appsmith/utils/Environments"; +} from "ee/constants/forms"; +import { DB_NOT_SUPPORTED } from "ee/utils/Environments"; import { diff } from "deep-diff"; import { PluginName, PluginPackageName, PluginType } from "entities/Action"; import type { @@ -16,8 +16,8 @@ import type { import { AuthenticationStatus, AuthType } from "entities/Datasource"; import { get, isArray } from "lodash"; import store from "store"; -import { getPlugin } from "@appsmith/selectors/entitiesSelector"; -import type { AppState } from "@appsmith/reducers"; +import { getPlugin } from "ee/selectors/entitiesSelector"; +import type { AppState } from "ee/reducers"; import { DATASOURCES_ALLOWED_FOR_PREVIEW_MODE, MOCK_DB_TABLE_NAMES, diff --git a/app/client/src/utils/helpers.tsx b/app/client/src/utils/helpers.tsx index 2c16dedc547d..6f024c95872b 100644 --- a/app/client/src/utils/helpers.tsx +++ b/app/client/src/utils/helpers.tsx @@ -11,8 +11,8 @@ import { JAVASCRIPT_KEYWORDS, } from "constants/WidgetValidation"; import { get, set, isNil, has, uniq } from "lodash"; -import type { Workspace } from "@appsmith/constants/workspaceConstants"; -import { hasCreateNewAppPermission } from "@appsmith/utils/permissionHelpers"; +import type { Workspace } from "ee/constants/workspaceConstants"; +import { hasCreateNewAppPermission } from "ee/utils/permissionHelpers"; import moment from "moment"; import { isDynamicValue } from "./DynamicBindingUtils"; import type { ApiResponse } from "api/ApiResponses"; diff --git a/app/client/src/utils/hooks/autoHeightUIHooks.ts b/app/client/src/utils/hooks/autoHeightUIHooks.ts index 22aedeb15e7a..2ac6a89052e4 100644 --- a/app/client/src/utils/hooks/autoHeightUIHooks.ts +++ b/app/client/src/utils/hooks/autoHeightUIHooks.ts @@ -1,5 +1,5 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { AppState } from "@appsmith/reducers"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; import { useCallback } from "react"; import { useDispatch, useSelector } from "react-redux"; diff --git a/app/client/src/utils/hooks/dragResizeHooks.tsx b/app/client/src/utils/hooks/dragResizeHooks.tsx index 320e6cc997a8..e2668a1982f2 100644 --- a/app/client/src/utils/hooks/dragResizeHooks.tsx +++ b/app/client/src/utils/hooks/dragResizeHooks.tsx @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { useCallback, useEffect, useState } from "react"; import { useDispatch, useSelector } from "react-redux"; import { snipingModeSelector } from "selectors/editorSelectors"; diff --git a/app/client/src/utils/hooks/useAllowEditorDragToSelect.ts b/app/client/src/utils/hooks/useAllowEditorDragToSelect.ts index 3d36241f2612..e074a099ac70 100644 --- a/app/client/src/utils/hooks/useAllowEditorDragToSelect.ts +++ b/app/client/src/utils/hooks/useAllowEditorDragToSelect.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { snipingModeSelector, combinedPreviewModeSelector, diff --git a/app/client/src/utils/hooks/useAppViewerSidebarProperties.ts b/app/client/src/utils/hooks/useAppViewerSidebarProperties.ts index 0f077e3ec62c..9d858e2f89ce 100644 --- a/app/client/src/utils/hooks/useAppViewerSidebarProperties.ts +++ b/app/client/src/utils/hooks/useAppViewerSidebarProperties.ts @@ -5,7 +5,7 @@ import { getAppSidebarPinned, getCurrentApplication, getSidebarWidth, -} from "@appsmith/selectors/applicationSelectors"; +} from "ee/selectors/applicationSelectors"; import { NAVIGATION_SETTINGS } from "constants/AppConstants"; import { useIsMobileDevice } from "./useDeviceDetect"; diff --git a/app/client/src/utils/hooks/useBrandingTheme.ts b/app/client/src/utils/hooks/useBrandingTheme.ts index 81ba6f0f53f3..9fd927abef47 100644 --- a/app/client/src/utils/hooks/useBrandingTheme.ts +++ b/app/client/src/utils/hooks/useBrandingTheme.ts @@ -1,8 +1,8 @@ import { useSelector } from "react-redux"; -import { getTenantConfig } from "@appsmith/selectors/tenantSelectors"; +import { getTenantConfig } from "ee/selectors/tenantSelectors"; import { useLayoutEffect } from "react"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { APPSMITH_BRAND_PRIMARY_COLOR } from "utils/BrandingUtils"; import { LightModeTheme } from "@design-system/theming"; diff --git a/app/client/src/utils/hooks/useCanvasMinHeightUpdateHook.ts b/app/client/src/utils/hooks/useCanvasMinHeightUpdateHook.ts index 5c2ec1736490..c6e6bb1313de 100644 --- a/app/client/src/utils/hooks/useCanvasMinHeightUpdateHook.ts +++ b/app/client/src/utils/hooks/useCanvasMinHeightUpdateHook.ts @@ -1,10 +1,10 @@ import { MAIN_CONTAINER_WIDGET_ID } from "constants/WidgetConstants"; import { useEffect } from "react"; import { useDispatch } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { APP_MODE } from "entities/App"; import { getWidget } from "sagas/selectors"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { useSelector } from "react-redux"; import { updateWidgetMetaPropAndEval } from "actions/metaActions"; import WidgetFactory from "WidgetProvider/factory"; diff --git a/app/client/src/utils/hooks/useFeatureFlag.ts b/app/client/src/utils/hooks/useFeatureFlag.ts index 72355076a251..66667e504e3b 100644 --- a/app/client/src/utils/hooks/useFeatureFlag.ts +++ b/app/client/src/utils/hooks/useFeatureFlag.ts @@ -1,6 +1,6 @@ import { useSelector } from "react-redux"; -import type { FeatureFlag } from "@appsmith/entities/FeatureFlag"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import type { FeatureFlag } from "ee/entities/FeatureFlag"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; export function useFeatureFlag(flagName: FeatureFlag): boolean { const flagValues = useSelector(selectFeatureFlags); diff --git a/app/client/src/utils/hooks/useFeatureFlagOverride.ts b/app/client/src/utils/hooks/useFeatureFlagOverride.ts index f025788ec8f1..de8ab1cb5d04 100644 --- a/app/client/src/utils/hooks/useFeatureFlagOverride.ts +++ b/app/client/src/utils/hooks/useFeatureFlagOverride.ts @@ -1,4 +1,4 @@ -import type { FeatureFlag } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlag } from "ee/entities/FeatureFlag"; import { setFeatureFlagOverridesAction, updateFeatureFlagOverrideAction, diff --git a/app/client/src/utils/hooks/useHoverToFocusWidget.ts b/app/client/src/utils/hooks/useHoverToFocusWidget.ts index ef0e2692bbf7..d159dd8b9573 100644 --- a/app/client/src/utils/hooks/useHoverToFocusWidget.ts +++ b/app/client/src/utils/hooks/useHoverToFocusWidget.ts @@ -3,10 +3,10 @@ import { useSelector } from "react-redux"; import { isWidgetFocused } from "selectors/widgetSelectors"; import { getAnvilSpaceDistributionStatus } from "layoutSystems/anvil/integrations/selectors"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import type React from "react"; import { useCurrentAppState } from "pages/Editor/IDE/hooks"; -import { EditorState } from "@appsmith/entities/IDE/constants"; +import { EditorState } from "ee/entities/IDE/constants"; export const useHoverToFocusWidget = ( widgetId: string, diff --git a/app/client/src/utils/hooks/useOnUpgrade.ts b/app/client/src/utils/hooks/useOnUpgrade.ts index 8cba0a88bb71..8ef758f5e0c4 100644 --- a/app/client/src/utils/hooks/useOnUpgrade.ts +++ b/app/client/src/utils/hooks/useOnUpgrade.ts @@ -1,13 +1,13 @@ import { useSelector } from "react-redux"; -import { getInstanceId } from "@appsmith/selectors/tenantSelectors"; +import { getInstanceId } from "ee/selectors/tenantSelectors"; import { CUSTOMER_PORTAL_URL_WITH_PARAMS, PRICING_PAGE_URL, } from "constants/ThirdPartyConstants"; -import type { EventName } from "@appsmith/utils/analyticsUtilTypes"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; -import { getAppsmithConfigs } from "@appsmith/configs"; -import { pricingPageUrlSource } from "@appsmith/utils/licenseHelpers"; +import type { EventName } from "ee/utils/analyticsUtilTypes"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; +import { getAppsmithConfigs } from "ee/configs"; +import { pricingPageUrlSource } from "ee/utils/licenseHelpers"; import type { RampFeature, RampSection, diff --git a/app/client/src/utils/hooks/usePositionedContainerZIndex.ts b/app/client/src/utils/hooks/usePositionedContainerZIndex.ts index 6975a9d20cf2..f49b124a505d 100644 --- a/app/client/src/utils/hooks/usePositionedContainerZIndex.ts +++ b/app/client/src/utils/hooks/usePositionedContainerZIndex.ts @@ -1,7 +1,7 @@ import { Layers } from "constants/Layers"; import { useMemo } from "react"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { isWidgetSelected } from "selectors/widgetSelectors"; import { useSelector } from "react-redux"; diff --git a/app/client/src/utils/hooks/useProceedToNextTourStep.tsx b/app/client/src/utils/hooks/useProceedToNextTourStep.tsx index 9d3018f637d1..33cbe4d7cc0d 100644 --- a/app/client/src/utils/hooks/useProceedToNextTourStep.tsx +++ b/app/client/src/utils/hooks/useProceedToNextTourStep.tsx @@ -1,6 +1,6 @@ import type { TourType } from "entities/Tour"; import { useDispatch, useSelector } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { getActiveTourIndex, getActiveTourType } from "selectors/tourSelectors"; import { proceedToNextTourStep } from "actions/tourActions"; diff --git a/app/client/src/utils/hooks/useReflow.ts b/app/client/src/utils/hooks/useReflow.ts index 25b273ea0d26..f8a5421d6f8e 100644 --- a/app/client/src/utils/hooks/useReflow.ts +++ b/app/client/src/utils/hooks/useReflow.ts @@ -1,4 +1,4 @@ -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { reflowMoveAction, stopReflowAction } from "actions/reflowActions"; import type { OccupiedSpace, diff --git a/app/client/src/utils/hooks/useWidgetSelection.ts b/app/client/src/utils/hooks/useWidgetSelection.ts index e33544b9f414..489030d51fa9 100644 --- a/app/client/src/utils/hooks/useWidgetSelection.ts +++ b/app/client/src/utils/hooks/useWidgetSelection.ts @@ -5,7 +5,7 @@ import { useCallback } from "react"; import { useDispatch } from "react-redux"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; import { NavigationMethod } from "utils/history"; -import { builderURL } from "@appsmith/RouteBuilder"; +import { builderURL } from "ee/RouteBuilder"; import history from "utils/history"; export const useWidgetSelection = () => { diff --git a/app/client/src/utils/localStorage.tsx b/app/client/src/utils/localStorage.tsx index 9418e3307135..5349365b62c6 100644 --- a/app/client/src/utils/localStorage.tsx +++ b/app/client/src/utils/localStorage.tsx @@ -4,8 +4,8 @@ import { LOCAL_STORAGE_NO_SPACE_LEFT_ON_DEVICE_MESSAGE, LOCAL_STORAGE_NOT_SUPPORTED_APP_MIGHT_NOT_WORK_AS_EXPECTED, createMessage, -} from "@appsmith/constants/messages"; -import { toast } from "design-system"; +} from "ee/constants/messages"; +import { toast } from "@appsmith/ads"; export const LOCAL_STORAGE_KEYS = { CANVAS_CARDS_STATE: "CANVAS_CARDS_STATE", diff --git a/app/client/src/utils/metaWidgetState.ts b/app/client/src/utils/metaWidgetState.ts index 37bf26a763a9..c3ea3613dbd9 100644 --- a/app/client/src/utils/metaWidgetState.ts +++ b/app/client/src/utils/metaWidgetState.ts @@ -1,4 +1,4 @@ -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import type { MetaWidgetsReduxState } from "reducers/entityReducers/metaWidgetsReducer"; diff --git a/app/client/src/utils/replayHelpers.tsx b/app/client/src/utils/replayHelpers.tsx index 24c09d8cee0f..56d7c5f16eab 100644 --- a/app/client/src/utils/replayHelpers.tsx +++ b/app/client/src/utils/replayHelpers.tsx @@ -14,8 +14,8 @@ import { WIDGET_REMOVED, BULK_WIDGET_REMOVED, ACTION_CONFIGURATION_CHANGED, -} from "@appsmith/constants/messages"; -import { toast } from "design-system"; +} from "ee/constants/messages"; +import { toast } from "@appsmith/ads"; import { setApiPaneConfigSelectedTabIndex } from "../actions/apiPaneActions"; import { API_EDITOR_TABS } from "../constants/ApiEditorConstants/CommonApiConstants"; import store from "../store"; diff --git a/app/client/src/utils/storage.ts b/app/client/src/utils/storage.ts index c68821ff3631..0b4fe3975f28 100644 --- a/app/client/src/utils/storage.ts +++ b/app/client/src/utils/storage.ts @@ -4,7 +4,7 @@ import localforage from "localforage"; import type { VersionUpdateState } from "../sagas/WebsocketSagas/versionUpdatePrompt"; import { isNumber } from "lodash"; import { EditorModes } from "components/editorComponents/CodeEditor/EditorConfig"; -import type { EditorViewMode } from "@appsmith/entities/IDE/constants"; +import type { EditorViewMode } from "ee/entities/IDE/constants"; import type { OverriddenFeatureFlags } from "./hooks/useFeatureFlagOverride"; import { AvailableFeaturesToOverride } from "./hooks/useFeatureFlagOverride"; diff --git a/app/client/src/utils/testDSLs.ts b/app/client/src/utils/testDSLs.ts index 02fb9a2debad..ea833cee14e2 100644 --- a/app/client/src/utils/testDSLs.ts +++ b/app/client/src/utils/testDSLs.ts @@ -1,4 +1,4 @@ -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; export const originalDSLForDSLMigrations = { diff --git a/app/client/src/utils/validation/common.ts b/app/client/src/utils/validation/common.ts index fb3f0a2a6de4..e3a99c16745b 100644 --- a/app/client/src/utils/validation/common.ts +++ b/app/client/src/utils/validation/common.ts @@ -1,7 +1,4 @@ -import { - createMessage, - FIELD_REQUIRED_ERROR, -} from "@appsmith/constants/messages"; +import { createMessage, FIELD_REQUIRED_ERROR } from "ee/constants/messages"; import type { ValidationConfig } from "constants/PropertyControlConstants"; import { ValidationTypes } from "constants/WidgetValidation"; import moment from "moment"; diff --git a/app/client/src/utils/widgetEvalUtils.ts b/app/client/src/utils/widgetEvalUtils.ts index 023e4e768cac..241bb860141c 100644 --- a/app/client/src/utils/widgetEvalUtils.ts +++ b/app/client/src/utils/widgetEvalUtils.ts @@ -1,4 +1,4 @@ -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; /** * PropertyName examples diff --git a/app/client/src/utils/widgetRenderUtils.test.ts b/app/client/src/utils/widgetRenderUtils.test.ts index 44e1f5734b6b..6b0cceef81cf 100644 --- a/app/client/src/utils/widgetRenderUtils.test.ts +++ b/app/client/src/utils/widgetRenderUtils.test.ts @@ -1,4 +1,4 @@ -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; import type { MetaWidgetsReduxState } from "reducers/entityReducers/metaWidgetsReducer"; diff --git a/app/client/src/utils/widgetRenderUtils.tsx b/app/client/src/utils/widgetRenderUtils.tsx index 02d094782bcb..c587be7539ba 100644 --- a/app/client/src/utils/widgetRenderUtils.tsx +++ b/app/client/src/utils/widgetRenderUtils.tsx @@ -5,7 +5,7 @@ import type { import type { WidgetEntity, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { pick } from "lodash"; diff --git a/app/client/src/widgets/AudioRecorderWidget/component/index.tsx b/app/client/src/widgets/AudioRecorderWidget/component/index.tsx index e2d818f9d015..6ae84df91cfa 100644 --- a/app/client/src/widgets/AudioRecorderWidget/component/index.tsx +++ b/app/client/src/widgets/AudioRecorderWidget/component/index.tsx @@ -8,7 +8,7 @@ import { WIDGET_PADDING } from "constants/WidgetConstants"; import { darkenHover } from "constants/DefaultTheme"; import { Colors } from "constants/Colors"; import type { ThemeProp } from "WidgetProvider/constants"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const RecorderDefaultIcon = importSvg( async () => import("assets/icons/widget/recorder/recorder_default.svg"), diff --git a/app/client/src/widgets/AudioWidget/component/index.tsx b/app/client/src/widgets/AudioWidget/component/index.tsx index 5880e44824c8..5c76a748c61a 100644 --- a/app/client/src/widgets/AudioWidget/component/index.tsx +++ b/app/client/src/widgets/AudioWidget/component/index.tsx @@ -3,7 +3,7 @@ import type { Ref } from "react"; import React from "react"; import styled from "styled-components"; -import { createMessage, ENTER_AUDIO_URL } from "@appsmith/constants/messages"; +import { createMessage, ENTER_AUDIO_URL } from "ee/constants/messages"; export interface AudioComponentProps { url?: string; diff --git a/app/client/src/widgets/AudioWidget/widget/index.tsx b/app/client/src/widgets/AudioWidget/widget/index.tsx index 1234394dc62f..5bb71ca8ac97 100644 --- a/app/client/src/widgets/AudioWidget/widget/index.tsx +++ b/app/client/src/widgets/AudioWidget/widget/index.tsx @@ -12,7 +12,7 @@ import type { AutocompletionDefinitions, } from "WidgetProvider/constants"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import type { SetterConfig } from "entities/AppTheming"; import { FILL_WIDGET_MIN_WIDTH } from "constants/minWidthConstants"; import { ResponsiveBehavior } from "layoutSystems/common/utils/constants"; diff --git a/app/client/src/widgets/BaseInputWidget/component/index.tsx b/app/client/src/widgets/BaseInputWidget/component/index.tsx index 575cc978d449..8847bd2e59b6 100644 --- a/app/client/src/widgets/BaseInputWidget/component/index.tsx +++ b/app/client/src/widgets/BaseInputWidget/component/index.tsx @@ -16,7 +16,7 @@ import { Colors } from "constants/Colors"; import { createMessage, INPUT_WIDGET_DEFAULT_VALIDATION_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { NumberInputStepButtonPosition } from "../constants"; import { InputTypes } from "../constants"; diff --git a/app/client/src/widgets/BaseWidget.tsx b/app/client/src/widgets/BaseWidget.tsx index ad052fdc83b8..df17d8044931 100644 --- a/app/client/src/widgets/BaseWidget.tsx +++ b/app/client/src/widgets/BaseWidget.tsx @@ -16,7 +16,7 @@ import type { WidgetType, } from "constants/WidgetConstants"; import { RenderModes } from "constants/WidgetConstants"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import type { SetterConfig, Stylesheet } from "entities/AppTheming"; import type { Context, ReactNode, RefObject } from "react"; import { Component } from "react"; @@ -41,16 +41,16 @@ import type { WidgetDefaultProps, WidgetMethods, } from "../WidgetProvider/constants"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { AutocompletionDefinitions } from "../WidgetProvider/constants"; import type { FlexVerticalAlignment, LayoutDirection, ResponsiveBehavior, } from "layoutSystems/common/utils/constants"; -import type { FeatureFlag } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlag } from "ee/entities/FeatureFlag"; import store from "store"; -import { selectFeatureFlags } from "@appsmith/selectors/featureFlagsSelectors"; +import { selectFeatureFlags } from "ee/selectors/featureFlagsSelectors"; import type { WidgetFeatures } from "utils/WidgetFeatures"; import { LayoutSystemTypes } from "layoutSystems/types"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; diff --git a/app/client/src/widgets/ButtonWidget/component/index.tsx b/app/client/src/widgets/ButtonWidget/component/index.tsx index d31ab4a45389..fe7b886b9b50 100644 --- a/app/client/src/widgets/ButtonWidget/component/index.tsx +++ b/app/client/src/widgets/ButtonWidget/component/index.tsx @@ -13,7 +13,7 @@ import { GOOGLE_RECAPTCHA_KEY_ERROR, GOOGLE_RECAPTCHA_DOMAIN_ERROR, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import ReCAPTCHA from "react-google-recaptcha"; import { Colors } from "constants/Colors"; @@ -34,7 +34,7 @@ import { import { DragContainer } from "./DragContainer"; import { buttonHoverActiveStyles } from "./utils"; import type { ThemeProp } from "WidgetProvider/constants"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; const RecaptchaWrapper = styled.div` position: relative; diff --git a/app/client/src/widgets/ButtonWidget/widget/index.tsx b/app/client/src/widgets/ButtonWidget/widget/index.tsx index 0329a2fe04cd..688c76332d1c 100644 --- a/app/client/src/widgets/ButtonWidget/widget/index.tsx +++ b/app/client/src/widgets/ButtonWidget/widget/index.tsx @@ -24,7 +24,7 @@ import type { AnvilConfig, AutocompletionDefinitions, } from "WidgetProvider/constants"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { BUTTON_MIN_WIDTH } from "constants/minWidthConstants"; import { ResponsiveBehavior } from "layoutSystems/common/utils/constants"; import IconSVG from "../icon.svg"; diff --git a/app/client/src/widgets/CameraWidget/component/index.tsx b/app/client/src/widgets/CameraWidget/component/index.tsx index 1915f6b8dd61..2105dffcff5a 100644 --- a/app/client/src/widgets/CameraWidget/component/index.tsx +++ b/app/client/src/widgets/CameraWidget/component/index.tsx @@ -44,8 +44,8 @@ import { MediaCaptureStatusTypes, } from "../constants"; import type { ThemeProp } from "WidgetProvider/constants"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; -import { importSvg } from "design-system-old"; +import { isAirgapped } from "ee/utils/airgapHelpers"; +import { importSvg } from "@appsmith/ads-old"; import { getVideoConstraints } from "../../utils"; import { CANVAS_ART_BOARD } from "constants/componentClassNameConstants"; diff --git a/app/client/src/widgets/CameraWidget/widget/index.tsx b/app/client/src/widgets/CameraWidget/widget/index.tsx index 431b2c3fbba3..30b5abf63290 100644 --- a/app/client/src/widgets/CameraWidget/widget/index.tsx +++ b/app/client/src/widgets/CameraWidget/widget/index.tsx @@ -26,7 +26,7 @@ import { DEFAULT_CAMERA_LABEL, DEFAULT_CAMERA_LABEL_DESCRIPTION, FRONT_CAMERA_LABEL, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { FlexVerticalAlignment, ResponsiveBehavior, diff --git a/app/client/src/widgets/ChartWidget/component/index.tsx b/app/client/src/widgets/ChartWidget/component/index.tsx index 8647093243d4..36dde97423fd 100644 --- a/app/client/src/widgets/ChartWidget/component/index.tsx +++ b/app/client/src/widgets/ChartWidget/component/index.tsx @@ -2,7 +2,7 @@ import React from "react"; import styled from "styled-components"; import * as echarts from "echarts"; import { invisible } from "constants/DefaultTheme"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import type { ChartType, CustomFusionChartConfig, @@ -25,11 +25,11 @@ import { } from "./helpers"; import { CustomEChartIFrameComponent } from "./CustomEChartIFrameComponent"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { connect } from "react-redux"; import { getWidgetPropsForPropertyPane } from "selectors/propertyPaneSelectors"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; // Leaving this require here. Ref: https://stackoverflow.com/questions/41292559/could-not-find-a-declaration-file-for-module-module-name-path-to-module-nam/42505940#42505940 // FusionCharts comes with its own typings so there is no need to separately import them. But an import from fusioncharts/core still requires a declaration file. diff --git a/app/client/src/widgets/CodeScannerWidget/component/index.tsx b/app/client/src/widgets/CodeScannerWidget/component/index.tsx index d0ea4cbf7ca7..11653d542056 100644 --- a/app/client/src/widgets/CodeScannerWidget/component/index.tsx +++ b/app/client/src/widgets/CodeScannerWidget/component/index.tsx @@ -27,7 +27,7 @@ import { import { ScannerLayout } from "../constants"; import type { ThemeProp } from "WidgetProvider/constants"; import { usePageVisibility } from "react-page-visibility"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; import { getVideoConstraints } from "widgets/utils"; import { isMobile } from "react-device-detect"; diff --git a/app/client/src/widgets/CodeScannerWidget/widget/propertyConfig/contentConfig.ts b/app/client/src/widgets/CodeScannerWidget/widget/propertyConfig/contentConfig.ts index 19609daeee1a..0e5aff18638a 100644 --- a/app/client/src/widgets/CodeScannerWidget/widget/propertyConfig/contentConfig.ts +++ b/app/client/src/widgets/CodeScannerWidget/widget/propertyConfig/contentConfig.ts @@ -9,7 +9,7 @@ import { DEFAULT_CAMERA_LABEL_DESCRIPTION, FRONT_CAMERA_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { DefaultMobileCameraTypes } from "WidgetProvider/constants"; export default [ { diff --git a/app/client/src/widgets/ConnectDataOverlay.tsx b/app/client/src/widgets/ConnectDataOverlay.tsx index 7138dcc67261..4398dd68ac0e 100644 --- a/app/client/src/widgets/ConnectDataOverlay.tsx +++ b/app/client/src/widgets/ConnectDataOverlay.tsx @@ -1,6 +1,6 @@ import { Colors } from "constants/Colors"; -import { Button } from "design-system"; +import { Button } from "@appsmith/ads"; import React from "react"; import styled from "styled-components"; diff --git a/app/client/src/widgets/ContainerWidget/widget/index.tsx b/app/client/src/widgets/ContainerWidget/widget/index.tsx index d12fc71b1af5..4494b2bfa74d 100644 --- a/app/client/src/widgets/ContainerWidget/widget/index.tsx +++ b/app/client/src/widgets/ContainerWidget/widget/index.tsx @@ -10,7 +10,7 @@ import { compact, get, map, sortBy } from "lodash"; import WidgetsMultiSelectBox from "layoutSystems/fixedlayout/common/widgetGrouping/WidgetsMultiSelectBox"; import type { SetterConfig, Stylesheet } from "entities/AppTheming"; import { getSnappedGrid } from "sagas/WidgetOperationUtils"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { isAutoHeightEnabledForWidget, DefaultAutocompleteDefinitions, diff --git a/app/client/src/widgets/CurrencyInputWidget/widget/index.tsx b/app/client/src/widgets/CurrencyInputWidget/widget/index.tsx index b6b8aafb385c..0e0a29355957 100644 --- a/app/client/src/widgets/CurrencyInputWidget/widget/index.tsx +++ b/app/client/src/widgets/CurrencyInputWidget/widget/index.tsx @@ -5,10 +5,7 @@ import CurrencyInputComponent from "../component"; import { EventType } from "constants/AppsmithActionConstants/ActionConstants"; import type { ValidationResponse } from "constants/WidgetValidation"; import { ValidationTypes } from "constants/WidgetValidation"; -import { - createMessage, - FIELD_REQUIRED_ERROR, -} from "@appsmith/constants/messages"; +import { createMessage, FIELD_REQUIRED_ERROR } from "ee/constants/messages"; import type { DerivedPropertiesMap } from "WidgetProvider/factory"; import { CurrencyDropdownOptions, diff --git a/app/client/src/widgets/CustomWidget/component/index.tsx b/app/client/src/widgets/CustomWidget/component/index.tsx index 9099f709136a..2315ef746796 100644 --- a/app/client/src/widgets/CustomWidget/component/index.tsx +++ b/app/client/src/widgets/CustomWidget/component/index.tsx @@ -18,13 +18,13 @@ import WidgetStyleContainer from "components/designSystems/appsmith/WidgetStyleC import type { BoxShadow } from "components/designSystems/appsmith/WidgetStyleContainer"; import type { Color } from "constants/Colors"; import { connect } from "react-redux"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; import { getWidgetPropsForPropertyPane } from "selectors/propertyPaneSelectors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { EVENTS } from "./customWidgetscript"; import { DynamicHeight } from "utils/WidgetFeatures"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { getIsAutoHeightWithLimitsChanging } from "utils/hooks/autoHeightUIHooks"; import { GridDefaults } from "constants/WidgetConstants"; import { LayoutSystemTypes } from "layoutSystems/types"; diff --git a/app/client/src/widgets/CustomWidget/widget/index.tsx b/app/client/src/widgets/CustomWidget/widget/index.tsx index 19223d13c1ac..4098d50300ee 100644 --- a/app/client/src/widgets/CustomWidget/widget/index.tsx +++ b/app/client/src/widgets/CustomWidget/widget/index.tsx @@ -28,13 +28,13 @@ import { CUSTOM_WIDGET_DOC_URL, CUSTOM_WIDGET_HEIGHT_DOC_URL, } from "pages/Editor/CustomWidgetBuilder/constants"; -import { Link } from "design-system"; +import { Link } from "@appsmith/ads"; import styled from "styled-components"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { Colors } from "constants/Colors"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { DynamicHeight, type WidgetFeatures } from "utils/WidgetFeatures"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; const StyledLink = styled(Link)` display: inline-block; diff --git a/app/client/src/widgets/DatePickerWidget/component/index.tsx b/app/client/src/widgets/DatePickerWidget/component/index.tsx index c6b39338cae5..609baf7fdad8 100644 --- a/app/client/src/widgets/DatePickerWidget/component/index.tsx +++ b/app/client/src/widgets/DatePickerWidget/component/index.tsx @@ -19,7 +19,7 @@ import ErrorTooltip from "components/editorComponents/ErrorTooltip"; import { createMessage, DATE_WIDGET_DEFAULT_VALIDATION_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const StyledControlGroup = styled(ControlGroup)<{ isValid: boolean }>` &&& { diff --git a/app/client/src/widgets/DatePickerWidget2/component/index.tsx b/app/client/src/widgets/DatePickerWidget2/component/index.tsx index b42ca219ea46..650009f192a8 100644 --- a/app/client/src/widgets/DatePickerWidget2/component/index.tsx +++ b/app/client/src/widgets/DatePickerWidget2/component/index.tsx @@ -16,7 +16,7 @@ import ErrorTooltip from "components/editorComponents/ErrorTooltip"; import { createMessage, DATE_WIDGET_DEFAULT_VALIDATION_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { LabelPosition } from "components/constants"; import { parseDate } from "./utils"; import { lightenColor, PopoverStyles } from "widgets/WidgetUtils"; diff --git a/app/client/src/widgets/DocumentViewerWidget/widget/index.tsx b/app/client/src/widgets/DocumentViewerWidget/widget/index.tsx index eac06610bcff..07bd0abf5670 100644 --- a/app/client/src/widgets/DocumentViewerWidget/widget/index.tsx +++ b/app/client/src/widgets/DocumentViewerWidget/widget/index.tsx @@ -18,7 +18,7 @@ import { import IconSVG from "../icon.svg"; import ThumbnailSVG from "../thumbnail.svg"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { WIDGET_TAGS } from "constants/WidgetConstants"; const isAirgappedInstance = isAirgapped(); diff --git a/app/client/src/widgets/IframeWidget/component/index.tsx b/app/client/src/widgets/IframeWidget/component/index.tsx index d2f137c49841..a665de1c28d1 100644 --- a/app/client/src/widgets/IframeWidget/component/index.tsx +++ b/app/client/src/widgets/IframeWidget/component/index.tsx @@ -5,10 +5,10 @@ import { hexToRgba } from "widgets/WidgetUtils"; import type { ComponentProps } from "widgets/BaseComponent"; import { useSelector } from "react-redux"; import { getWidgetPropsForPropertyPane } from "selectors/propertyPaneSelectors"; -import { getAppMode } from "@appsmith/selectors/applicationSelectors"; +import { getAppMode } from "ee/selectors/applicationSelectors"; import { APP_MODE } from "entities/App"; import type { RenderMode } from "constants/WidgetConstants"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { combinedPreviewModeSelector } from "selectors/editorSelectors"; interface IframeContainerProps { diff --git a/app/client/src/widgets/IframeWidget/widget/index.tsx b/app/client/src/widgets/IframeWidget/widget/index.tsx index 4de4ccc88f99..b1515ab6dbee 100644 --- a/app/client/src/widgets/IframeWidget/widget/index.tsx +++ b/app/client/src/widgets/IframeWidget/widget/index.tsx @@ -14,7 +14,7 @@ import type { } from "WidgetProvider/constants"; import IconSVG from "../icon.svg"; import ThumbnailSVG from "../thumbnail.svg"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import type { SnipingModeProperty, PropertyUpdates, diff --git a/app/client/src/widgets/ImageWidget/component/index.tsx b/app/client/src/widgets/ImageWidget/component/index.tsx index 3c2522abd5fe..1aa25ac5d7a9 100644 --- a/app/client/src/widgets/ImageWidget/component/index.tsx +++ b/app/client/src/widgets/ImageWidget/component/index.tsx @@ -2,8 +2,8 @@ import * as React from "react"; import type { ComponentProps } from "widgets/BaseComponent"; import styled from "styled-components"; import { TransformWrapper, TransformComponent } from "react-zoom-pan-pinch"; -import { createMessage, IMAGE_LOAD_ERROR } from "@appsmith/constants/messages"; -import { importSvg } from "design-system-old"; +import { createMessage, IMAGE_LOAD_ERROR } from "ee/constants/messages"; +import { importSvg } from "@appsmith/ads-old"; const RotateLeftIcon = importSvg( async () => import("assets/icons/widget/image/rotate-left.svg"), diff --git a/app/client/src/widgets/ImageWidget/widget/index.tsx b/app/client/src/widgets/ImageWidget/widget/index.tsx index dc3464cc447e..a1c5ff161efa 100644 --- a/app/client/src/widgets/ImageWidget/widget/index.tsx +++ b/app/client/src/widgets/ImageWidget/widget/index.tsx @@ -16,7 +16,7 @@ import type { import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import IconSVG from "../icon.svg"; import ThumbnailSVG from "../thumbnail.svg"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { WIDGET_TAGS } from "constants/WidgetConstants"; import { FlexVerticalAlignment } from "layoutSystems/common/utils/constants"; diff --git a/app/client/src/widgets/InputWidget/component/index.tsx b/app/client/src/widgets/InputWidget/component/index.tsx index 04213e0ea34f..ec732819db72 100644 --- a/app/client/src/widgets/InputWidget/component/index.tsx +++ b/app/client/src/widgets/InputWidget/component/index.tsx @@ -19,7 +19,7 @@ import _ from "lodash"; import { createMessage, INPUT_WIDGET_DEFAULT_VALIDATION_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { InputType } from "../constants"; import { InputTypes } from "../constants"; diff --git a/app/client/src/widgets/InputWidget/widget/index.tsx b/app/client/src/widgets/InputWidget/widget/index.tsx index fdb1ccdbf2c7..2de2be68fc7e 100644 --- a/app/client/src/widgets/InputWidget/widget/index.tsx +++ b/app/client/src/widgets/InputWidget/widget/index.tsx @@ -2,7 +2,7 @@ import { FIELD_REQUIRED_ERROR, INPUT_DEFAULT_TEXT_MAX_CHAR_ERROR, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Alignment } from "@blueprintjs/core"; import type { IconName } from "@blueprintjs/icons"; import type { diff --git a/app/client/src/widgets/InputWidgetV2/widget/index.tsx b/app/client/src/widgets/InputWidgetV2/widget/index.tsx index 2e72398d56dc..df5dfab18955 100644 --- a/app/client/src/widgets/InputWidgetV2/widget/index.tsx +++ b/app/client/src/widgets/InputWidgetV2/widget/index.tsx @@ -12,7 +12,7 @@ import { INPUT_DEFAULT_TEXT_MAX_NUM_ERROR, INPUT_DEFAULT_TEXT_MIN_NUM_ERROR, INPUT_TEXT_MAX_CHAR_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { DerivedPropertiesMap } from "WidgetProvider/factory"; import { ICON_NAMES } from "WidgetProvider/constants"; import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; @@ -50,7 +50,7 @@ import type { } from "WidgetProvider/constants"; import { WIDGET_TAGS } from "constants/WidgetConstants"; import { ResponsiveBehavior } from "layoutSystems/common/utils/constants"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; export function defaultValueValidation( // TODO: Fix this the next time the file is edited diff --git a/app/client/src/widgets/JSONFormWidget/component/FieldLabel.tsx b/app/client/src/widgets/JSONFormWidget/component/FieldLabel.tsx index c0cd258c4cd0..4ec7bd02fffc 100644 --- a/app/client/src/widgets/JSONFormWidget/component/FieldLabel.tsx +++ b/app/client/src/widgets/JSONFormWidget/component/FieldLabel.tsx @@ -8,7 +8,7 @@ import { IconWrapper } from "constants/IconConstants"; import { FontStyleTypes } from "constants/WidgetConstants"; import { THEMEING_TEXT_SIZES } from "constants/ThemeConstants"; import type { AlignWidget } from "WidgetProvider/constants"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const HelpIcon = importSvg(async () => import("assets/icons/control/help.svg")); diff --git a/app/client/src/widgets/JSONFormWidget/component/index.tsx b/app/client/src/widgets/JSONFormWidget/component/index.tsx index d49ef28ce21b..d6e0e304fc66 100644 --- a/app/client/src/widgets/JSONFormWidget/component/index.tsx +++ b/app/client/src/widgets/JSONFormWidget/component/index.tsx @@ -20,7 +20,7 @@ import { JSON_FORM_CONNECT_BUTTON_TEXT, JSON_FORM_CONNECT_OVERLAY_TEXT, } from "../constants/messages"; -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; interface StyledContainerProps { backgroundColor?: string; diff --git a/app/client/src/widgets/JSONFormWidget/fields/BaseInputField.tsx b/app/client/src/widgets/JSONFormWidget/fields/BaseInputField.tsx index 2b617d460da1..76b3072f8abf 100644 --- a/app/client/src/widgets/JSONFormWidget/fields/BaseInputField.tsx +++ b/app/client/src/widgets/JSONFormWidget/fields/BaseInputField.tsx @@ -21,7 +21,7 @@ import { FIELD_REQUIRED_ERROR, INPUT_DEFAULT_TEXT_MAX_CHAR_ERROR, INPUT_TEXT_MAX_CHAR_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { BaseFieldComponentProps, FieldComponentBaseProps, diff --git a/app/client/src/widgets/JSONFormWidget/widget/helper.ts b/app/client/src/widgets/JSONFormWidget/widget/helper.ts index 2a142a9edafd..9be527c6e719 100644 --- a/app/client/src/widgets/JSONFormWidget/widget/helper.ts +++ b/app/client/src/widgets/JSONFormWidget/widget/helper.ts @@ -1,7 +1,7 @@ import equal from "fast-deep-equal/es6"; import { difference, isEmpty } from "lodash"; import log from "loglevel"; -import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; +import AnalyticsUtil from "ee/utils/AnalyticsUtil"; import { isDynamicValue } from "utils/DynamicBindingUtils"; import type { MetaInternalFieldState } from "."; diff --git a/app/client/src/widgets/JSONFormWidget/widget/index.tsx b/app/client/src/widgets/JSONFormWidget/widget/index.tsx index 884195239624..2eadbfe4122a 100644 --- a/app/client/src/widgets/JSONFormWidget/widget/index.tsx +++ b/app/client/src/widgets/JSONFormWidget/widget/index.tsx @@ -61,13 +61,13 @@ import type { WidgetQueryGenerationFormConfig, } from "WidgetQueryGenerators/types"; import type { DynamicPath } from "utils/DynamicBindingUtils"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import { ONSUBMIT_NOT_CONFIGURED_ACTION_TEXT, ONSUBMIT_NOT_CONFIGURED_ACTION_URL, ONSUBMIT_NOT_CONFIGURED_MESSAGE, } from "../constants/messages"; -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; import { endSpan, startRootSpan } from "UITelemetry/generateTraces"; const SUBMIT_BUTTON_DEFAULT_STYLES = { diff --git a/app/client/src/widgets/JSONFormWidget/widget/propertyConfig.ts b/app/client/src/widgets/JSONFormWidget/widget/propertyConfig.ts index b7b08dabf64d..140cec6860b2 100644 --- a/app/client/src/widgets/JSONFormWidget/widget/propertyConfig.ts +++ b/app/client/src/widgets/JSONFormWidget/widget/propertyConfig.ts @@ -15,7 +15,7 @@ import { JSON_FORM_CONNECT_BUTTON_TEXT, SUCCESSFULL_BINDING_MESSAGE, } from "../constants/messages"; -import { createMessage } from "@appsmith/constants/messages"; +import { createMessage } from "ee/constants/messages"; import { FieldOptionsType } from "components/editorComponents/WidgetQueryGeneratorForm/WidgetSpecificControls/OtherFields/Field/Dropdown/types"; import { DROPDOWN_VARIANT } from "components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/types"; diff --git a/app/client/src/widgets/ListWidget/widget/index.tsx b/app/client/src/widgets/ListWidget/widget/index.tsx index e6c4c07e2736..5a66e4ea24ef 100644 --- a/app/client/src/widgets/ListWidget/widget/index.tsx +++ b/app/client/src/widgets/ListWidget/widget/index.tsx @@ -1,5 +1,5 @@ -import type { PrivateWidgets } from "@appsmith/entities/DataTree/types"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import type { PrivateWidgets } from "ee/entities/DataTree/types"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import type { AnvilConfig, AutocompletionDefinitions, diff --git a/app/client/src/widgets/ListWidgetV2/testData.ts b/app/client/src/widgets/ListWidgetV2/testData.ts index f96a63590861..568cbe27ea29 100644 --- a/app/client/src/widgets/ListWidgetV2/testData.ts +++ b/app/client/src/widgets/ListWidgetV2/testData.ts @@ -1,4 +1,4 @@ -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import type { FlattenedWidgetProps } from "WidgetProvider/constants"; diff --git a/app/client/src/widgets/ListWidgetV2/widget/defaultProps.ts b/app/client/src/widgets/ListWidgetV2/widget/defaultProps.ts index da3c2a932807..87d2f1e20d82 100644 --- a/app/client/src/widgets/ListWidgetV2/widget/defaultProps.ts +++ b/app/client/src/widgets/ListWidgetV2/widget/defaultProps.ts @@ -18,7 +18,7 @@ import { ResponsiveBehavior, } from "layoutSystems/common/utils/constants"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import type { FlexLayer } from "layoutSystems/autolayout/utils/types"; import { LayoutSystemTypes } from "layoutSystems/types"; diff --git a/app/client/src/widgets/ListWidgetV2/widget/propertyConfig.ts b/app/client/src/widgets/ListWidgetV2/widget/propertyConfig.ts index a99254cca035..9e3b350a147a 100644 --- a/app/client/src/widgets/ListWidgetV2/widget/propertyConfig.ts +++ b/app/client/src/widgets/ListWidgetV2/widget/propertyConfig.ts @@ -12,7 +12,7 @@ import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType"; import { LIST_WIDGET_V2_TOTAL_RECORD_TOOLTIP, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; const MIN_ITEM_SPACING = 0; const MAX_ITEM_SPACING = 16; diff --git a/app/client/src/widgets/MetaHOC.tsx b/app/client/src/widgets/MetaHOC.tsx index c8915fa32883..ac324778df65 100644 --- a/app/client/src/widgets/MetaHOC.tsx +++ b/app/client/src/widgets/MetaHOC.tsx @@ -3,12 +3,12 @@ import type { WidgetProps } from "./BaseWidget"; import { debounce, fromPairs, isEmpty } from "lodash"; import { EditorContext } from "components/editorComponents/EditorContextProvider"; import AppsmithConsole from "utils/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import LOG_TYPE from "entities/AppsmithConsole/logtype"; import type { ExecuteTriggerPayload } from "constants/AppsmithActionConstants/ActionConstants"; import { connect } from "react-redux"; import { getWidgetMetaProps } from "sagas/selectors"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { error } from "loglevel"; import WidgetFactory from "WidgetProvider/factory"; import type BaseWidget from "./BaseWidget"; diff --git a/app/client/src/widgets/ModalWidget/component/index.tsx b/app/client/src/widgets/ModalWidget/component/index.tsx index 5aeaed9daa63..8956bff5a6fe 100644 --- a/app/client/src/widgets/ModalWidget/component/index.tsx +++ b/app/client/src/widgets/ModalWidget/component/index.tsx @@ -2,7 +2,7 @@ import type { ReactNode, RefObject } from "react"; import React, { useEffect, useRef } from "react"; import { useDispatch, useSelector } from "react-redux"; import styled from "styled-components"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import { closeTableFilterPane } from "actions/widgetActions"; import { Colors } from "constants/Colors"; import { getCanvasClassName } from "utils/generators"; diff --git a/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx b/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx index bd1ec1307837..18f30c8e577c 100644 --- a/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx +++ b/app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx @@ -48,7 +48,7 @@ import { DynamicHeight } from "utils/WidgetFeatures"; import IconSVG from "../icon.svg"; import ThumbnailSVG from "../thumbnail.svg"; import { WIDGET_TAGS, layoutConfigurations } from "constants/WidgetConstants"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import type { DynamicPath } from "utils/DynamicBindingUtils"; class MultiSelectWidget extends BaseWidget< diff --git a/app/client/src/widgets/PhoneInputWidget/widget/index.tsx b/app/client/src/widgets/PhoneInputWidget/widget/index.tsx index 642255cea7b2..6fc16f1570e3 100644 --- a/app/client/src/widgets/PhoneInputWidget/widget/index.tsx +++ b/app/client/src/widgets/PhoneInputWidget/widget/index.tsx @@ -5,10 +5,7 @@ import PhoneInputComponent from "../component"; import { EventType } from "constants/AppsmithActionConstants/ActionConstants"; import type { ValidationResponse } from "constants/WidgetValidation"; import { ValidationTypes } from "constants/WidgetValidation"; -import { - createMessage, - FIELD_REQUIRED_ERROR, -} from "@appsmith/constants/messages"; +import { createMessage, FIELD_REQUIRED_ERROR } from "ee/constants/messages"; import type { DerivedPropertiesMap } from "WidgetProvider/factory"; import { getCountryCode, diff --git a/app/client/src/widgets/RichTextEditorWidget/component/index.tsx b/app/client/src/widgets/RichTextEditorWidget/component/index.tsx index 97f276470354..673145569a12 100644 --- a/app/client/src/widgets/RichTextEditorWidget/component/index.tsx +++ b/app/client/src/widgets/RichTextEditorWidget/component/index.tsx @@ -49,6 +49,7 @@ const StyledRTEditor = styled.div<{ && { width: 100%; height: 100%; + .tox .tox-editor-header { z-index: 0; } @@ -58,12 +59,15 @@ const StyledRTEditor = styled.div<{ box-shadow: ${({ boxShadow }) => `${boxShadow}`} !important; } } + .tox { font-family: inherit; width: 100%; + .tox-tbtn { cursor: pointer; + .tox-tbtn__select-label { cursor: inherit; } @@ -186,9 +190,11 @@ const StyledRTEditor = styled.div<{ &:hover { box-shadow: 0 0 0 1px var(--wds-color-border) inset; } + &:focus { background: var(--wds-color-bg-focus); } + &:active { background: var(--wds-color-bg-focus); } @@ -235,7 +241,6 @@ const StyledRTEditor = styled.div<{ } ${labelLayoutStyles} - & .${LABEL_CONTAINER_CLASS} { align-self: center; } @@ -279,11 +284,12 @@ const GlobalStyles = createGlobalStyle` } && { - .tox-button, .tox-dialog { { + .tox-button, .tox-dialog { + { border-radius: 0px; } + } } - } `; export const RichTextEditorInputWrapper = styled.div<{ diff --git a/app/client/src/widgets/SelectWidget/widget/index.tsx b/app/client/src/widgets/SelectWidget/widget/index.tsx index ebce41ab731f..734ae4d83768 100644 --- a/app/client/src/widgets/SelectWidget/widget/index.tsx +++ b/app/client/src/widgets/SelectWidget/widget/index.tsx @@ -54,7 +54,7 @@ import type { import IconSVG from "../icon.svg"; import ThumbnailSVG from "../thumbnail.svg"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import type { DynamicPath } from "utils/DynamicBindingUtils"; class SelectWidget extends BaseWidget { @@ -893,14 +893,15 @@ class SelectWidget extends BaseWidget { if (!isNil(this.props.selectedOptionValue)) { isChanged = this.props.selectedOptionValue !== selectedOption.value; } + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; if (isChanged) { if (!this.props.isDirty) { - this.props.updateWidgetMetaProperty("isDirty", true); + pushBatchMetaUpdates("isDirty", true); } - this.props.updateWidgetMetaProperty("label", selectedOption.label ?? ""); + pushBatchMetaUpdates("label", selectedOption.label ?? ""); - this.props.updateWidgetMetaProperty("value", selectedOption.value ?? "", { + pushBatchMetaUpdates("value", selectedOption.value ?? "", { triggerPropertyName: "onOptionChange", dynamicString: this.props.onOptionChange, event: { @@ -911,8 +912,9 @@ class SelectWidget extends BaseWidget { // When Label changes but value doesnt change, Applies to serverside Filtering if (!isChanged && this.props.selectedOptionLabel !== selectedOption.label) { - this.props.updateWidgetMetaProperty("label", selectedOption.label ?? ""); + pushBatchMetaUpdates("label", selectedOption.label ?? ""); } + commitBatchMetaUpdates(); }; onFilterChange = (value: string) => { diff --git a/app/client/src/widgets/StatboxWidget/widget/index.tsx b/app/client/src/widgets/StatboxWidget/widget/index.tsx index 911fdad943c9..21765b149d2f 100644 --- a/app/client/src/widgets/StatboxWidget/widget/index.tsx +++ b/app/client/src/widgets/StatboxWidget/widget/index.tsx @@ -6,7 +6,7 @@ import { FlexVerticalAlignment, Positioning, } from "layoutSystems/common/utils/constants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { DefaultAutocompleteDefinitions } from "widgets/WidgetUtils"; import type { AnvilConfig, diff --git a/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx b/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx index 5997a6c53eb3..71a02293b211 100644 --- a/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx +++ b/app/client/src/widgets/TableWidget/component/AutoToolTipComponent.tsx @@ -6,7 +6,7 @@ import type { CellLayoutProperties } from "./Constants"; import { ColumnTypes } from "./Constants"; import styled from "styled-components"; import equal from "fast-deep-equal/es6"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const OpenNewTabIcon = importSvg( async () => import("assets/icons/control/open-new-tab.svg"), diff --git a/app/client/src/widgets/TableWidget/component/TableColumnsVisibility.tsx b/app/client/src/widgets/TableWidget/component/TableColumnsVisibility.tsx index 557bb03e8f0d..acfe60f20227 100644 --- a/app/client/src/widgets/TableWidget/component/TableColumnsVisibility.tsx +++ b/app/client/src/widgets/TableWidget/component/TableColumnsVisibility.tsx @@ -13,7 +13,7 @@ import Button from "components/editorComponents/Button"; import type { ReactTableColumnProps } from "./Constants"; import { TableIconWrapper } from "./TableStyledWrappers"; import TableActionIcon from "./TableActionIcon"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const VisibleIcon = importSvg( async () => import("assets/icons/control/columns-visibility.svg"), diff --git a/app/client/src/widgets/TableWidget/component/TableDataDownload.tsx b/app/client/src/widgets/TableWidget/component/TableDataDownload.tsx index b3f1b93aa7f9..f4a5db22cb68 100644 --- a/app/client/src/widgets/TableWidget/component/TableDataDownload.tsx +++ b/app/client/src/widgets/TableWidget/component/TableDataDownload.tsx @@ -13,7 +13,7 @@ import TableAction from "./TableAction"; import styled from "styled-components"; import { transformTableDataIntoCsv } from "./CommonUtilities"; import zipcelx from "zipcelx"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const DownloadIcon = importSvg( async () => import("assets/icons/control/download-data-icon.svg"), diff --git a/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx b/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx index cfa493506e78..5bd524b006ee 100644 --- a/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx +++ b/app/client/src/widgets/TableWidget/component/TableFilterPane.tsx @@ -2,7 +2,7 @@ import React, { Component } from "react"; import { connect } from "react-redux"; import { get } from "lodash"; import * as log from "loglevel"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import styled from "styled-components"; import { Colors } from "constants/Colors"; @@ -14,11 +14,11 @@ import Popper from "pages/Editor/Popper"; import { generateClassName } from "utils/generators"; import { getTableFilterState } from "selectors/tableFilterSelectors"; import { getWidgetMetaProps } from "sagas/selectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { WidgetProps } from "widgets/BaseWidget"; import { selectWidgetInitAction } from "actions/widgetSelectionActions"; import { SelectionRequestType } from "sagas/WidgetSelectUtils"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const DragHandleIcon = importSvg( async () => import("assets/icons/ads/app-icons/draghandler.svg"), diff --git a/app/client/src/widgets/TableWidget/component/TableFilterPaneContent.tsx b/app/client/src/widgets/TableWidget/component/TableFilterPaneContent.tsx index 7731d2701ab3..8e558418ac62 100644 --- a/app/client/src/widgets/TableWidget/component/TableFilterPaneContent.tsx +++ b/app/client/src/widgets/TableWidget/component/TableFilterPaneContent.tsx @@ -14,7 +14,7 @@ import CascadeFields from "./CascadeFields"; import { createMessage, TABLE_FILTER_COLUMN_TYPE_CALLOUT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { ControlIcons } from "icons/ControlIcons"; import { Icon, IconSize } from "@design-system/widgets-old"; diff --git a/app/client/src/widgets/TableWidget/component/TableFilters.tsx b/app/client/src/widgets/TableWidget/component/TableFilters.tsx index f4015e7c5066..3d138d592e39 100644 --- a/app/client/src/widgets/TableWidget/component/TableFilters.tsx +++ b/app/client/src/widgets/TableWidget/component/TableFilters.tsx @@ -10,11 +10,11 @@ import type { ReactTableColumnProps, ReactTableFilter } from "./Constants"; import { OperatorTypes } from "./Constants"; //TODO(abhinav): All of the following imports should not exist in a widget component -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { generateClassName } from "utils/generators"; import { getTableFilterState } from "selectors/tableFilterSelectors"; import TableAction from "./TableAction"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const FilterIcon = importSvg( async () => import("assets/icons/control/filter-icon.svg"), diff --git a/app/client/src/widgets/TableWidget/component/TableUtilities.tsx b/app/client/src/widgets/TableWidget/component/TableUtilities.tsx index 9652ac488e63..1c923058d836 100644 --- a/app/client/src/widgets/TableWidget/component/TableUtilities.tsx +++ b/app/client/src/widgets/TableWidget/component/TableUtilities.tsx @@ -45,7 +45,7 @@ import MenuButtonTableComponent from "./components/menuButtonTableComponent"; import { stopClickEventPropagation } from "utils/helpers"; import tinycolor from "tinycolor2"; import { generateTableColumnId } from "./TableHelpers"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const CheckBoxLineIcon = importSvg( async () => import("assets/icons/widget/table/checkbox-line.svg"), diff --git a/app/client/src/widgets/TableWidget/widget/propertyConfig.ts b/app/client/src/widgets/TableWidget/widget/propertyConfig.ts index 85b9ac032fb7..3512bb2d1266 100644 --- a/app/client/src/widgets/TableWidget/widget/propertyConfig.ts +++ b/app/client/src/widgets/TableWidget/widget/propertyConfig.ts @@ -21,7 +21,7 @@ import { import { createMessage, TABLE_WIDGET_TOTAL_RECORD_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { IconNames } from "@blueprintjs/icons"; import { getPrimaryColumnStylesheetValue } from "./helpers"; diff --git a/app/client/src/widgets/TableWidgetV2/component/Table.tsx b/app/client/src/widgets/TableWidgetV2/component/Table.tsx index 1bcbc4a1030d..8fdeae798f24 100644 --- a/app/client/src/widgets/TableWidgetV2/component/Table.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/Table.tsx @@ -40,10 +40,7 @@ import VirtualTable from "./VirtualTable"; import fastdom from "fastdom"; import { ConnectDataOverlay } from "widgets/ConnectDataOverlay"; import { TABLE_CONNECT_OVERLAY_TEXT } from "../constants/messages"; -import { - createMessage, - CONNECT_BUTTON_TEXT, -} from "@appsmith/constants/messages"; +import { createMessage, CONNECT_BUTTON_TEXT } from "ee/constants/messages"; const SCROLL_BAR_OFFSET = 2; const HEADER_MENU_PORTAL_CLASS = ".header-menu-portal"; diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/AutoToolTipComponent.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/AutoToolTipComponent.tsx index 60f171a7df65..7d264fdb9aaf 100644 --- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/AutoToolTipComponent.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/AutoToolTipComponent.tsx @@ -1,5 +1,5 @@ import { Tooltip } from "@blueprintjs/core"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; import React, { createRef, useEffect, useState } from "react"; import styled from "styled-components"; import { ColumnTypes } from "widgets/TableWidgetV2/constants"; diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/BasicCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/BasicCell.tsx index 7951beea65f1..08d9efe89018 100644 --- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/BasicCell.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/BasicCell.tsx @@ -6,7 +6,7 @@ import type { BaseCellComponentProps } from "../Constants"; import { TABLE_SIZES } from "../Constants"; import { TooltipContentWrapper } from "../TableStyledWrappers"; import AutoToolTipComponent from "./AutoToolTipComponent"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const EditIcon = importSvg( async () => import("assets/icons/control/edit-variant1.svg"), diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/DateCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/DateCell.tsx index 9379eb17292f..b7f14b0e05b8 100644 --- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/DateCell.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/DateCell.tsx @@ -18,7 +18,7 @@ import ErrorTooltip from "components/editorComponents/ErrorTooltip"; import { createMessage, INPUT_WIDGET_DEFAULT_VALIDATION_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; type DateComponentProps = RenderDefaultPropsType & editPropertyType & { diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectCell.tsx index 89d986ae2e75..fbf3b7208b1f 100644 --- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectCell.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectCell.tsx @@ -1,4 +1,4 @@ -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; import React, { useCallback, useMemo } from "react"; import styled from "styled-components"; import { useFeatureFlag } from "utils/hooks/useFeatureFlag"; diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectionCheckboxCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectionCheckboxCell.tsx index cff08bd3a50b..33a9ef19ac1c 100644 --- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectionCheckboxCell.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectionCheckboxCell.tsx @@ -2,7 +2,7 @@ import React from "react"; import { CellCheckboxWrapper, CellCheckbox } from "../TableStyledWrappers"; import { CheckboxState } from "../Constants"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const CheckBoxCheckIcon = importSvg( async () => import("assets/icons/widget/table/checkbox-check.svg"), diff --git a/app/client/src/widgets/TableWidgetV2/component/header/actions/ActionItem.tsx b/app/client/src/widgets/TableWidgetV2/component/header/actions/ActionItem.tsx index 1a6cd2e7f9a7..032edc5cc3b0 100644 --- a/app/client/src/widgets/TableWidgetV2/component/header/actions/ActionItem.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/header/actions/ActionItem.tsx @@ -4,7 +4,7 @@ import { Colors } from "constants/Colors"; import styled from "styled-components"; import Tooltip from "components/editorComponents/Tooltip"; import { TooltipContentWrapper } from "../../TableStyledWrappers"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const FilterIcon = importSvg( async () => import("assets/icons/control/filter-icon.svg"), diff --git a/app/client/src/widgets/TableWidgetV2/component/header/actions/Download.tsx b/app/client/src/widgets/TableWidgetV2/component/header/actions/Download.tsx index c6037fa77899..e563682a0bbc 100644 --- a/app/client/src/widgets/TableWidgetV2/component/header/actions/Download.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/header/actions/Download.tsx @@ -13,7 +13,7 @@ import styled, { createGlobalStyle } from "styled-components"; import ActionItem from "./ActionItem"; import { transformTableDataIntoCsv } from "./Utilities"; import zipcelx from "zipcelx"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const DownloadIcon = importSvg( async () => import("assets/icons/control/download-data-icon.svg"), diff --git a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/CascadeFields.tsx b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/CascadeFields.tsx index ec5d666bd966..d20ba645bc36 100644 --- a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/CascadeFields.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/CascadeFields.tsx @@ -17,7 +17,7 @@ import { RenderOptionWrapper } from "../../../TableStyledWrappers"; import DatePickerComponent from "widgets/DatePickerWidget2/component"; import { TimePrecision } from "widgets/DatePickerWidget2/constants"; import { ColumnTypes, ReadOnlyColumnTypes } from "../../../../constants"; -import { importRemixIcon } from "design-system-old"; +import { importRemixIcon } from "@appsmith/ads-old"; const CloseIcon = importRemixIcon( async () => import("remixicon-react/CloseCircleFillIcon"), diff --git a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPane.tsx b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPane.tsx index 5c3ec8880c92..e62d7ffd963a 100644 --- a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPane.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPane.tsx @@ -2,7 +2,7 @@ import React, { Component } from "react"; import { connect } from "react-redux"; import { get } from "lodash"; import * as log from "loglevel"; -import type { AppState } from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; import styled from "styled-components"; import { Colors } from "constants/Colors"; @@ -17,9 +17,9 @@ import Popper from "pages/Editor/Popper"; import { generateClassName } from "utils/generators"; import { getTableFilterState } from "selectors/tableFilterSelectors"; import { getWidgetMetaProps } from "sagas/selectors"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { WidgetProps } from "widgets/BaseWidget"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; import { CANVAS_ART_BOARD } from "constants/componentClassNameConstants"; const DragHandleIcon = importSvg( diff --git a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPaneContent.tsx b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPaneContent.tsx index c27d1c556f9e..90be010b8db2 100644 --- a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPaneContent.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/FilterPaneContent.tsx @@ -13,7 +13,7 @@ import CascadeFields from "./CascadeFields"; import { createMessage, TABLE_FILTER_COLUMN_TYPE_CALLOUT, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { Icon, IconSize } from "@design-system/widgets-old"; import { StyledButton as Button } from "widgets/ButtonWidget/component"; import { ButtonVariantTypes } from "components/constants"; @@ -24,7 +24,7 @@ import { FilterableColumnTypes, } from "widgets/TableWidgetV2/constants"; import { generateReactKey } from "utils/generators"; -import { importRemixIcon } from "design-system-old"; +import { importRemixIcon } from "@appsmith/ads-old"; const AddIcon = importRemixIcon( async () => import("remixicon-react/AddLineIcon"), diff --git a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/index.tsx b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/index.tsx index 6afce89b2194..ec0e3eaabb60 100644 --- a/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/index.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/header/actions/filter/index.tsx @@ -11,11 +11,11 @@ import type { } from "../../../Constants"; //TODO(abhinav): All of the following imports should not exist in a widget component -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { generateClassName } from "utils/generators"; import { getTableFilterState } from "selectors/tableFilterSelectors"; import ActionItem from "../ActionItem"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const FilterIcon = importSvg( async () => import("assets/icons/control/filter-icon.svg"), diff --git a/app/client/src/widgets/TableWidgetV2/component/header/banner/AddNewRowBanner.tsx b/app/client/src/widgets/TableWidgetV2/component/header/banner/AddNewRowBanner.tsx index b2dbdc7c651f..35da61a17111 100644 --- a/app/client/src/widgets/TableWidgetV2/component/header/banner/AddNewRowBanner.tsx +++ b/app/client/src/widgets/TableWidgetV2/component/header/banner/AddNewRowBanner.tsx @@ -69,7 +69,8 @@ function AddNewRowBannerComponent(props: AddNewRowBannerType) { className="t--save-new-row" disabled={props.disabledAddNewRowSave || isDiscardLoading} loading={isSaveLoading} - onClick={() => { + onClick={(event) => { + event.stopPropagation(); setIsSaveLoading(true); props.onAddNewRowAction(AddNewRowActions.SAVE, () => setIsSaveLoading(false), diff --git a/app/client/src/widgets/TableWidgetV2/constants.ts b/app/client/src/widgets/TableWidgetV2/constants.ts index f7715da94992..2537bc10fe65 100644 --- a/app/client/src/widgets/TableWidgetV2/constants.ts +++ b/app/client/src/widgets/TableWidgetV2/constants.ts @@ -13,7 +13,7 @@ import type { ColumnAction } from "components/propertyControls/ColumnActionSelec import type { Alignment } from "@blueprintjs/core"; import type { IconName } from "@blueprintjs/icons"; import type { ButtonVariant } from "components/constants"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; export interface EditableCell { column: string; diff --git a/app/client/src/widgets/TableWidgetV2/widget/index.tsx b/app/client/src/widgets/TableWidgetV2/widget/index.tsx index 7b604dde50f1..79d49693a711 100644 --- a/app/client/src/widgets/TableWidgetV2/widget/index.tsx +++ b/app/client/src/widgets/TableWidgetV2/widget/index.tsx @@ -139,7 +139,7 @@ import { } from "layoutSystems/common/utils/constants"; import IconSVG from "../icon.svg"; import ThumbnailSVG from "../thumbnail.svg"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; const ReactTableComponent = lazy(async () => retryPromise(async () => import("../component")), diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts index fca90ae05086..a3570b99228a 100644 --- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts +++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts @@ -1,7 +1,7 @@ import { createMessage, TABLE_WIDGET_TOTAL_RECORD_TOOLTIP, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { PropertyPaneConfig } from "constants/PropertyControlConstants"; import { ValidationTypes } from "constants/WidgetValidation"; import { EvaluationSubstitutionType } from "entities/DataTree/dataTreeFactory"; diff --git a/app/client/src/widgets/TabsWidget/widget/index.tsx b/app/client/src/widgets/TabsWidget/widget/index.tsx index dab0efd9db9e..a3748c8b59a9 100644 --- a/app/client/src/widgets/TabsWidget/widget/index.tsx +++ b/app/client/src/widgets/TabsWidget/widget/index.tsx @@ -1,4 +1,4 @@ -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { FlexVerticalAlignment, LayoutDirection, diff --git a/app/client/src/widgets/VideoWidget/component/index.tsx b/app/client/src/widgets/VideoWidget/component/index.tsx index 827d05c3fc45..bc081368dca1 100644 --- a/app/client/src/widgets/VideoWidget/component/index.tsx +++ b/app/client/src/widgets/VideoWidget/component/index.tsx @@ -2,7 +2,7 @@ import ReactPlayer from "react-player"; import type { Ref } from "react"; import React from "react"; import styled from "styled-components"; -import { createMessage, ENTER_VIDEO_URL } from "@appsmith/constants/messages"; +import { createMessage, ENTER_VIDEO_URL } from "ee/constants/messages"; export interface VideoComponentProps { url?: string; autoPlay?: boolean; diff --git a/app/client/src/widgets/VideoWidget/widget/index.tsx b/app/client/src/widgets/VideoWidget/widget/index.tsx index 65c4d8544bc7..31b287760aca 100644 --- a/app/client/src/widgets/VideoWidget/widget/index.tsx +++ b/app/client/src/widgets/VideoWidget/widget/index.tsx @@ -13,7 +13,7 @@ import type { AnvilConfig, AutocompletionDefinitions, } from "WidgetProvider/constants"; -import { getAssetUrl } from "@appsmith/utils/airgapHelpers"; +import { getAssetUrl } from "ee/utils/airgapHelpers"; import { ASSETS_CDN_URL } from "constants/ThirdPartyConstants"; import { FlexVerticalAlignment, diff --git a/app/client/src/widgets/components/LabelWithTooltip.tsx b/app/client/src/widgets/components/LabelWithTooltip.tsx index 48d8a2feab9e..545b4aa03f76 100644 --- a/app/client/src/widgets/components/LabelWithTooltip.tsx +++ b/app/client/src/widgets/components/LabelWithTooltip.tsx @@ -8,7 +8,7 @@ import { TooltipComponent as Tooltip } from "@design-system/widgets-old"; import { isEllipsisActive } from "utils/helpers"; import { Colors } from "constants/Colors"; import { IconWrapper } from "constants/IconConstants"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const HelpIcon = importSvg(async () => import("assets/icons/control/help.svg")); diff --git a/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV2.tsx b/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV2.tsx index e97dc25d2a95..8b588aa8957b 100644 --- a/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV2.tsx +++ b/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV2.tsx @@ -7,7 +7,7 @@ import { GOOGLE_RECAPTCHA_KEY_ERROR, GOOGLE_RECAPTCHA_DOMAIN_ERROR, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { RecaptchaProps } from "./useRecaptcha"; export type RecaptchaV2Props = RecaptchaProps; diff --git a/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV3.tsx b/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV3.tsx index 769431a1d0f1..ff4357769e5a 100644 --- a/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV3.tsx +++ b/app/client/src/widgets/wds/WDSButtonWidget/component/RecaptchaV3.tsx @@ -4,7 +4,7 @@ import { GOOGLE_RECAPTCHA_KEY_ERROR, GOOGLE_RECAPTCHA_DOMAIN_ERROR, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { ButtonComponentProps } from "."; import type { RecaptchaProps } from "./useRecaptcha"; import { useScript, ScriptStatus, AddScriptTo } from "utils/hooks/useScript"; diff --git a/app/client/src/widgets/wds/WDSButtonWidget/config/defaultsConfig.ts b/app/client/src/widgets/wds/WDSButtonWidget/config/defaultsConfig.ts index 2437a445169d..faeb30f06e29 100644 --- a/app/client/src/widgets/wds/WDSButtonWidget/config/defaultsConfig.ts +++ b/app/client/src/widgets/wds/WDSButtonWidget/config/defaultsConfig.ts @@ -4,7 +4,7 @@ import { ResponsiveBehavior } from "layoutSystems/common/utils/constants"; import { BUTTON_WIDGET_DEFAULT_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; export const defaultsConfig = { animateLoading: true, diff --git a/app/client/src/widgets/wds/WDSButtonWidget/config/propertyPaneConfig/contentConfig.ts b/app/client/src/widgets/wds/WDSButtonWidget/config/propertyPaneConfig/contentConfig.ts index 0fec52959bbe..5fe241113430 100644 --- a/app/client/src/widgets/wds/WDSButtonWidget/config/propertyPaneConfig/contentConfig.ts +++ b/app/client/src/widgets/wds/WDSButtonWidget/config/propertyPaneConfig/contentConfig.ts @@ -1,10 +1,10 @@ import { RecaptchaTypes } from "components/constants"; -import { isAirgapped } from "@appsmith/utils/airgapHelpers"; +import { isAirgapped } from "ee/utils/airgapHelpers"; import { ValidationTypes } from "constants/WidgetValidation"; import { BUTTON_WIDGET_DEFAULT_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; export const propertyPaneContentConfig = [ { diff --git a/app/client/src/widgets/wds/WDSButtonWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSButtonWidget/widget/index.tsx index df5f93189fd8..897be61ab0f6 100644 --- a/app/client/src/widgets/wds/WDSButtonWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSButtonWidget/widget/index.tsx @@ -1,5 +1,5 @@ import React from "react"; -import { toast } from "design-system"; +import { toast } from "@appsmith/ads"; import * as config from "../config"; import BaseWidget from "widgets/BaseWidget"; diff --git a/app/client/src/widgets/wds/WDSCheckboxGroupWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSCheckboxGroupWidget/widget/index.tsx index eb37defa82b0..157285be28b2 100644 --- a/app/client/src/widgets/wds/WDSCheckboxGroupWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSCheckboxGroupWidget/widget/index.tsx @@ -96,17 +96,19 @@ class WDSCheckboxGroupWidget extends BaseWidget< } onChange = (selectedValues: OptionProps["value"][]) => { + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; if (!this.props.isDirty) { - this.props.updateWidgetMetaProperty("isDirty", true); + pushBatchMetaUpdates("isDirty", true); } - this.props.updateWidgetMetaProperty("selectedValues", selectedValues, { + pushBatchMetaUpdates("selectedValues", selectedValues, { triggerPropertyName: "onCheckChange", dynamicString: this.props.onCheckChange, event: { type: EventType.ON_CHECKBOX_GROUP_SELECTION_CHANGE, }, }); + commitBatchMetaUpdates(); }; getWidgetView() { diff --git a/app/client/src/widgets/wds/WDSCheckboxWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSCheckboxWidget/widget/index.tsx index 2e1022eb6165..48d1f65df63c 100644 --- a/app/client/src/widgets/wds/WDSCheckboxWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSCheckboxWidget/widget/index.tsx @@ -81,17 +81,19 @@ class WDSCheckboxWidget extends BaseWidget { } onChange = (isChecked: boolean) => { + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; if (!this.props.isDirty) { - this.props.updateWidgetMetaProperty("isDirty", true); + pushBatchMetaUpdates("isDirty", true); } - this.props.updateWidgetMetaProperty("isChecked", isChecked, { + pushBatchMetaUpdates("isChecked", isChecked, { triggerPropertyName: "onCheckChange", dynamicString: this.props.onCheckChange, event: { type: EventType.ON_CHECK_CHANGE, }, }); + commitBatchMetaUpdates(); }; getWidgetView() { diff --git a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts index 7d6937b090df..85501aa5d6c4 100644 --- a/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts +++ b/app/client/src/widgets/wds/WDSCurrencyInputWidget/widget/helpers.ts @@ -1,7 +1,4 @@ -import { - createMessage, - FIELD_REQUIRED_ERROR, -} from "@appsmith/constants/messages"; +import { createMessage, FIELD_REQUIRED_ERROR } from "ee/constants/messages"; import { CurrencyTypeOptions } from "constants/Currency"; import { isNil } from "lodash"; import type { CurrencyInputWidgetProps } from "./types"; diff --git a/app/client/src/widgets/wds/WDSInlineButtonsWidget/config/propertyPaneConfig/contentConfig.ts b/app/client/src/widgets/wds/WDSInlineButtonsWidget/config/propertyPaneConfig/contentConfig.ts index 5af07d44a330..e88f01810858 100644 --- a/app/client/src/widgets/wds/WDSInlineButtonsWidget/config/propertyPaneConfig/contentConfig.ts +++ b/app/client/src/widgets/wds/WDSInlineButtonsWidget/config/propertyPaneConfig/contentConfig.ts @@ -2,7 +2,7 @@ import { BUTTON_VARIANTS, COLORS, objectKeys } from "@design-system/widgets"; import { BUTTON_WIDGET_DEFAULT_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { ValidationTypes } from "constants/WidgetValidation"; import { capitalize } from "lodash"; diff --git a/app/client/src/widgets/wds/WDSInputWidget/widget/helper.ts b/app/client/src/widgets/wds/WDSInputWidget/widget/helper.ts index 042d70780113..7154611fbd0e 100644 --- a/app/client/src/widgets/wds/WDSInputWidget/widget/helper.ts +++ b/app/client/src/widgets/wds/WDSInputWidget/widget/helper.ts @@ -7,7 +7,7 @@ import { INPUT_DEFAULT_TEXT_MIN_NUM_ERROR, INPUT_INVALID_TYPE_ERROR, INPUT_TEXT_MAX_CHAR_ERROR, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import type { InputType } from "../component/types"; import type { WidgetProps } from "widgets/BaseWidget"; diff --git a/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx index e2affd37521b..8e2667211810 100644 --- a/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSInputWidget/widget/index.tsx @@ -152,18 +152,19 @@ class WDSInputWidget extends WDSBaseInputWidget { }; componentDidUpdate = (prevProps: InputWidgetProps) => { + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; if ( prevProps.rawText !== this.props.rawText && this.props.rawText !== toString(this.props.parsedText) ) { - this.props.updateWidgetMetaProperty( + pushBatchMetaUpdates( "parsedText", parseText(this.props.rawText, this.props.inputType), ); } if (prevProps.inputType !== this.props.inputType) { - this.props.updateWidgetMetaProperty( + pushBatchMetaUpdates( "parsedText", parseText(this.props.rawText, this.props.inputType), ); @@ -173,21 +174,20 @@ class WDSInputWidget extends WDSBaseInputWidget { this.props.defaultText !== prevProps.defaultText && this.props.isDirty ) { - this.props.updateWidgetMetaProperty("isDirty", false); + pushBatchMetaUpdates("isDirty", false); } + commitBatchMetaUpdates(); }; onValueChange = (value: string) => { + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; // Ideally text property should be derived property. But widgets with // derived properties won't work as expected inside a List widget. // TODO(Balaji): Once we refactor the List widget, need to conver // text to a derived property. - this.props.updateWidgetMetaProperty( - "parsedText", - parseText(value, this.props.inputType), - ); + pushBatchMetaUpdates("parsedText", parseText(value, this.props.inputType)); - this.props.updateWidgetMetaProperty("rawText", value, { + pushBatchMetaUpdates("rawText", value, { triggerPropertyName: "onTextChanged", dynamicString: this.props.onTextChanged, event: { @@ -196,16 +196,16 @@ class WDSInputWidget extends WDSBaseInputWidget { }); if (!this.props.isDirty) { - this.props.updateWidgetMetaProperty("isDirty", true); + pushBatchMetaUpdates("isDirty", true); } + commitBatchMetaUpdates(); }; resetWidgetText = () => { - this.props.updateWidgetMetaProperty("rawText", ""); - this.props.updateWidgetMetaProperty( - "parsedText", - parseText("", this.props.inputType), - ); + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; + pushBatchMetaUpdates("rawText", ""); + pushBatchMetaUpdates("parsedText", parseText("", this.props.inputType)); + commitBatchMetaUpdates(); }; onPaste = (e: React.ClipboardEvent) => { diff --git a/app/client/src/widgets/wds/WDSMenuButtonWidget/config/propertyPaneConfig/childPanels/menuItemsConfig.ts b/app/client/src/widgets/wds/WDSMenuButtonWidget/config/propertyPaneConfig/childPanels/menuItemsConfig.ts index bf5dc23979a8..8dba25bc0fd6 100644 --- a/app/client/src/widgets/wds/WDSMenuButtonWidget/config/propertyPaneConfig/childPanels/menuItemsConfig.ts +++ b/app/client/src/widgets/wds/WDSMenuButtonWidget/config/propertyPaneConfig/childPanels/menuItemsConfig.ts @@ -1,7 +1,7 @@ import { BUTTON_WIDGET_DEFAULT_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { ValidationTypes } from "constants/WidgetValidation"; /** diff --git a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts index ac078f706e5c..23cb0f0641b6 100644 --- a/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts +++ b/app/client/src/widgets/wds/WDSPhoneInputWidget/widget/helpers.ts @@ -1,7 +1,4 @@ -import { - createMessage, - FIELD_REQUIRED_ERROR, -} from "@appsmith/constants/messages"; +import { createMessage, FIELD_REQUIRED_ERROR } from "ee/constants/messages"; import type { ISDCodeProps } from "constants/ISDCodes_v2"; import { ISDCodeOptions } from "constants/ISDCodes_v2"; diff --git a/app/client/src/widgets/wds/WDSRadioGroupWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSRadioGroupWidget/widget/index.tsx index bd9a1f0c4336..52a2d845f798 100644 --- a/app/client/src/widgets/wds/WDSRadioGroupWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSRadioGroupWidget/widget/index.tsx @@ -109,18 +109,20 @@ class WDSRadioGroupWidget extends BaseWidget< } else { newVal = updatedValue; } + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; // Set isDirty to true when the selection changes if (!this.props.isDirty) { - this.props.updateWidgetMetaProperty("isDirty", true); + pushBatchMetaUpdates("isDirty", true); } - this.props.updateWidgetMetaProperty("selectedOptionValue", newVal, { + pushBatchMetaUpdates("selectedOptionValue", newVal, { triggerPropertyName: "onSelectionChange", dynamicString: this.props.onSelectionChange, event: { type: EventType.ON_OPTION_CHANGE, }, }); + commitBatchMetaUpdates(); }; getWidgetView() { diff --git a/app/client/src/widgets/wds/WDSSwitchGroupWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSSwitchGroupWidget/widget/index.tsx index ce45860a284f..43ed51a49a4d 100644 --- a/app/client/src/widgets/wds/WDSSwitchGroupWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSSwitchGroupWidget/widget/index.tsx @@ -87,17 +87,19 @@ class WDSSwitchGroupWidget extends BaseWidget< } onChange = (selectedValues: OptionProps["value"][]) => { + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; if (!this.props.isDirty) { - this.props.updateWidgetMetaProperty("isDirty", true); + pushBatchMetaUpdates("isDirty", true); } - this.props.updateWidgetMetaProperty("selectedValues", selectedValues, { + pushBatchMetaUpdates("selectedValues", selectedValues, { triggerPropertyName: "onSelectionChange", dynamicString: this.props.onSelectionChange, event: { type: EventType.ON_SWITCH_GROUP_SELECTION_CHANGE, }, }); + commitBatchMetaUpdates(); }; getWidgetView() { diff --git a/app/client/src/widgets/wds/WDSSwitchWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSSwitchWidget/widget/index.tsx index ca91aeebac2b..9da4e898fec1 100644 --- a/app/client/src/widgets/wds/WDSSwitchWidget/widget/index.tsx +++ b/app/client/src/widgets/wds/WDSSwitchWidget/widget/index.tsx @@ -80,17 +80,19 @@ class WDSSwitchWidget extends BaseWidget { } onChange = (isSwitchedOn: boolean) => { + const { commitBatchMetaUpdates, pushBatchMetaUpdates } = this.props; if (!this.props.isDirty) { - this.props.updateWidgetMetaProperty("isDirty", true); + pushBatchMetaUpdates("isDirty", true); } - this.props.updateWidgetMetaProperty("isSwitchedOn", isSwitchedOn, { + pushBatchMetaUpdates("isSwitchedOn", isSwitchedOn, { triggerPropertyName: "onChange", dynamicString: this.props.onChange, event: { type: EventType.ON_SWITCH_CHANGE, }, }); + commitBatchMetaUpdates(); }; getWidgetView() { diff --git a/app/client/src/widgets/wds/WDSTableWidget/component/Table.tsx b/app/client/src/widgets/wds/WDSTableWidget/component/Table.tsx index b80cbc4b4f10..2ed1961593e2 100644 --- a/app/client/src/widgets/wds/WDSTableWidget/component/Table.tsx +++ b/app/client/src/widgets/wds/WDSTableWidget/component/Table.tsx @@ -25,10 +25,7 @@ import "simplebar-react/dist/simplebar.min.css"; import StaticTable from "./StaticTable"; import { ConnectDataOverlay } from "widgets/ConnectDataOverlay"; import { TABLE_CONNECT_OVERLAY_TEXT } from "../constants/messages"; -import { - createMessage, - CONNECT_BUTTON_TEXT, -} from "@appsmith/constants/messages"; +import { createMessage, CONNECT_BUTTON_TEXT } from "ee/constants/messages"; import styles from "./styles.module.css"; export interface TableProps { diff --git a/app/client/src/widgets/wds/WDSTableWidget/component/cellComponents/AutoToolTipComponent.tsx b/app/client/src/widgets/wds/WDSTableWidget/component/cellComponents/AutoToolTipComponent.tsx index 522ba2a58ba1..a624d61dfeae 100644 --- a/app/client/src/widgets/wds/WDSTableWidget/component/cellComponents/AutoToolTipComponent.tsx +++ b/app/client/src/widgets/wds/WDSTableWidget/component/cellComponents/AutoToolTipComponent.tsx @@ -4,7 +4,7 @@ import { CellWrapper, TooltipContentWrapper } from "../TableStyledWrappers"; import type { CellAlignment, VerticalAlignment } from "../Constants"; import styled from "styled-components"; import { ColumnTypes } from "widgets/wds/WDSTableWidget/constants"; -import { importSvg } from "design-system-old"; +import { importSvg } from "@appsmith/ads-old"; const OpenNewTabIcon = importSvg( async () => import("assets/icons/control/open-new-tab.svg"), diff --git a/app/client/src/widgets/wds/WDSTableWidget/constants.ts b/app/client/src/widgets/wds/WDSTableWidget/constants.ts index f7715da94992..2537bc10fe65 100644 --- a/app/client/src/widgets/wds/WDSTableWidget/constants.ts +++ b/app/client/src/widgets/wds/WDSTableWidget/constants.ts @@ -13,7 +13,7 @@ import type { ColumnAction } from "components/propertyControls/ColumnActionSelec import type { Alignment } from "@blueprintjs/core"; import type { IconName } from "@blueprintjs/icons"; import type { ButtonVariant } from "components/constants"; -import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag"; +import { FEATURE_FLAG } from "ee/entities/FeatureFlag"; export interface EditableCell { column: string; diff --git a/app/client/src/widgets/wds/WDSToolbarButtonsWidget/config/propertyPaneConfig/contentConfig.ts b/app/client/src/widgets/wds/WDSToolbarButtonsWidget/config/propertyPaneConfig/contentConfig.ts index 252b0bb706b6..8ffd607f4fb8 100644 --- a/app/client/src/widgets/wds/WDSToolbarButtonsWidget/config/propertyPaneConfig/contentConfig.ts +++ b/app/client/src/widgets/wds/WDSToolbarButtonsWidget/config/propertyPaneConfig/contentConfig.ts @@ -1,7 +1,7 @@ import { BUTTON_WIDGET_DEFAULT_LABEL, createMessage, -} from "@appsmith/constants/messages"; +} from "ee/constants/messages"; import { ValidationTypes } from "constants/WidgetValidation"; export const propertyPaneContentConfig = [ diff --git a/app/client/src/widgets/withWidgetProps.tsx b/app/client/src/widgets/withWidgetProps.tsx index e8b318375ef4..bb3ef4d6e3e6 100644 --- a/app/client/src/widgets/withWidgetProps.tsx +++ b/app/client/src/widgets/withWidgetProps.tsx @@ -1,8 +1,8 @@ import equal from "fast-deep-equal/es6"; import React from "react"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; -import type { AppState } from "@appsmith/reducers"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; +import type { AppState } from "ee/reducers"; import { checkContainersForAutoHeightAction } from "actions/autoHeightActions"; import { GridDefaults, @@ -34,11 +34,11 @@ import { } from "utils/widgetRenderUtils"; import type { WidgetProps } from "./BaseWidget"; import type BaseWidget from "./BaseWidget"; -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; import { Positioning } from "layoutSystems/common/utils/constants"; import { isAutoHeightEnabledForWidget } from "./WidgetUtils"; import { CANVAS_DEFAULT_MIN_HEIGHT_PX } from "constants/AppConstants"; -import { getGoogleMapsApiKey } from "@appsmith/selectors/tenantSelectors"; +import { getGoogleMapsApiKey } from "ee/selectors/tenantSelectors"; import ConfigTreeActions from "utils/configTree"; import { getSelectedWidgetAncestry } from "../selectors/widgetSelectors"; import { getWidgetMinMaxDimensionsInPixel } from "layoutSystems/autolayout/utils/flexWidgetUtils"; @@ -50,7 +50,7 @@ import { isWidgetSelectedForPropertyPane } from "selectors/propertyPaneSelectors import WidgetFactory from "WidgetProvider/factory"; import { getIsAnvilLayout } from "layoutSystems/anvil/integrations/selectors"; import { WidgetProfiler } from "./BaseWidgetHOC/WidgetProfiler"; -import { getAppsmithConfigs } from "@appsmith/configs"; +import { getAppsmithConfigs } from "ee/configs"; import { endSpan, startRootSpan } from "UITelemetry/generateTraces"; const { newRelic } = getAppsmithConfigs(); diff --git a/app/client/src/workers/Evaluation/JSObject/Collection.ts b/app/client/src/workers/Evaluation/JSObject/Collection.ts index 0ed294defe3e..414d10bb3a9d 100644 --- a/app/client/src/workers/Evaluation/JSObject/Collection.ts +++ b/app/client/src/workers/Evaluation/JSObject/Collection.ts @@ -1,9 +1,9 @@ -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { klona } from "klona/full"; import { get, set } from "lodash"; import TriggerEmitter, { BatchKey } from "../fns/utils/TriggerEmitter"; import ExecutionMetaData from "../fns/utils/ExecutionMetaData"; -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; export enum PatchType { "SET" = "SET", diff --git a/app/client/src/workers/Evaluation/JSObject/JSVariableUpdates.ts b/app/client/src/workers/Evaluation/JSObject/JSVariableUpdates.ts index 5f824d15e957..834e953ae5d8 100644 --- a/app/client/src/workers/Evaluation/JSObject/JSVariableUpdates.ts +++ b/app/client/src/workers/Evaluation/JSObject/JSVariableUpdates.ts @@ -1,5 +1,5 @@ import { dataTreeEvaluator } from "../handlers/evalTree"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import { updateEvalTreeValueFromContext } from "."; import { evalTreeWithChanges } from "../evalTreeWithChanges"; import { get } from "lodash"; @@ -7,7 +7,7 @@ import { isJSObjectVariable } from "./utils"; import isDeepEqualES6 from "fast-deep-equal/es6"; import type { Patch } from "./Collection"; import { PatchType } from "./Collection"; -import { EVAL_WORKER_SYNC_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_SYNC_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; export type UpdatedPathsMap = Record; diff --git a/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts b/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts index 9a2214c39baa..58660a6c9d32 100644 --- a/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts +++ b/app/client/src/workers/Evaluation/JSObject/__test__/JSVariableFactory.test.ts @@ -1,5 +1,5 @@ import ExecutionMetaData from "workers/Evaluation/fns/utils/ExecutionMetaData"; -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; import TriggerEmitter, { jsVariableUpdatesHandlerWrapper, } from "workers/Evaluation/fns/utils/TriggerEmitter"; diff --git a/app/client/src/workers/Evaluation/JSObject/index.ts b/app/client/src/workers/Evaluation/JSObject/index.ts index 88029205f2e8..e826dfbd5a64 100644 --- a/app/client/src/workers/Evaluation/JSObject/index.ts +++ b/app/client/src/workers/Evaluation/JSObject/index.ts @@ -1,17 +1,17 @@ import { get, isEmpty, isUndefined, set } from "lodash"; -import type { JSActionEntity } from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity } from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; import { EvalErrorTypes, getEvalValuePath } from "utils/DynamicBindingUtils"; import type { JSUpdate, ParsedJSSubAction } from "utils/JSPaneUtils"; import { parseJSObject, isJSFunctionProperty } from "@shared/ast"; import type DataTreeEvaluator from "workers/common/DataTreeEvaluator"; import evaluateSync from "workers/Evaluation/evaluate"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import { DataTreeDiffEvent, getEntityNameAndPropertyPath, isJSAction, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { removeFunctionsAndVariableJSCollection, updateJSCollectionInUnEvalTree, diff --git a/app/client/src/workers/Evaluation/JSObject/utils.ts b/app/client/src/workers/Evaluation/JSObject/utils.ts index 474dcf7ec20c..0b6343373cac 100644 --- a/app/client/src/workers/Evaluation/JSObject/utils.ts +++ b/app/client/src/workers/Evaluation/JSObject/utils.ts @@ -1,7 +1,7 @@ import type { JSActionEntityConfig, JSActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree, @@ -16,24 +16,24 @@ import type { JSCollectionData, JSExecutionData, JSExecutionError, -} from "@appsmith/reducers/entityReducers/jsActionsReducer"; +} from "ee/reducers/entityReducers/jsActionsReducer"; import { select } from "redux-saga/effects"; import type { JSAction } from "entities/JSCollection"; -import { getAllJSCollections } from "@appsmith/selectors/entitiesSelector"; +import { getAllJSCollections } from "ee/selectors/entitiesSelector"; import { getEntityNameAndPropertyPath, isJSAction, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import JSObjectCollection from "./Collection"; /** * here we add/remove the properties (variables and actions) which got added/removed from the JSObject parsedBody. NOTE: For other entity below logic is maintained in DataTreeFactory, for JSObject we handle it inside evaluations - * - * @param parsedBody - * @param jsCollection - * @param unEvalTree - * @returns + * + * @param parsedBody + * @param jsCollection + * @param unEvalTree + * @returns */ export const updateJSCollectionInUnEvalTree = ( parsedBody: ParsedBody, diff --git a/app/client/src/workers/Evaluation/__tests__/Actions.test.ts b/app/client/src/workers/Evaluation/__tests__/Actions.test.ts index 2e770f1db0e3..782918b6cd63 100644 --- a/app/client/src/workers/Evaluation/__tests__/Actions.test.ts +++ b/app/client/src/workers/Evaluation/__tests__/Actions.test.ts @@ -1,4 +1,4 @@ -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import type { ActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { PluginType } from "entities/Action"; @@ -8,7 +8,7 @@ import { MessageType } from "utils/MessageUtil"; import { addDataTreeToContext, addPlatformFunctionsToEvalContext, -} from "@appsmith/workers/Evaluation/Actions"; +} from "ee/workers/Evaluation/Actions"; import TriggerEmitter, { BatchKey } from "../fns/utils/TriggerEmitter"; jest.mock("lodash/uniqueId"); diff --git a/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts b/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts index 58b1bdefae7c..ee62d1704401 100644 --- a/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts +++ b/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts @@ -2,13 +2,13 @@ import evaluate, { createEvaluationContext, evaluateAsync, } from "workers/Evaluation/evaluate"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { RenderModes } from "constants/WidgetConstants"; import setupEvalEnv from "../handlers/setupEvalEnv"; import { resetJSLibraries } from "workers/common/JSLibrary/resetJSLibraries"; -import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; import { convertAllDataTypesToString } from "../errorModifier"; import { get } from "lodash"; diff --git a/app/client/src/workers/Evaluation/__tests__/evaluation.test.ts b/app/client/src/workers/Evaluation/__tests__/evaluation.test.ts index 07bf488bbaa3..845c5b201bcd 100644 --- a/app/client/src/workers/Evaluation/__tests__/evaluation.test.ts +++ b/app/client/src/workers/Evaluation/__tests__/evaluation.test.ts @@ -3,7 +3,7 @@ import type { WidgetEntityConfig, ActionEntityConfig, ActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { UnEvalTree, ConfigTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE, diff --git a/app/client/src/workers/Evaluation/__tests__/generateOpimisedUpdates.test.ts b/app/client/src/workers/Evaluation/__tests__/generateOpimisedUpdates.test.ts index 7a6f8e68c02e..46e11670bfb7 100644 --- a/app/client/src/workers/Evaluation/__tests__/generateOpimisedUpdates.test.ts +++ b/app/client/src/workers/Evaluation/__tests__/generateOpimisedUpdates.test.ts @@ -1,4 +1,4 @@ -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; import { applyChange } from "deep-diff"; import produce from "immer"; import { klona } from "klona/full"; diff --git a/app/client/src/workers/Evaluation/__tests__/timeout.test.ts b/app/client/src/workers/Evaluation/__tests__/timeout.test.ts index 2085c0c10d50..b1f2cf63f5e7 100644 --- a/app/client/src/workers/Evaluation/__tests__/timeout.test.ts +++ b/app/client/src/workers/Evaluation/__tests__/timeout.test.ts @@ -1,9 +1,9 @@ import { PluginType } from "entities/Action"; -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import type { ActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { createEvaluationContext } from "../evaluate"; -import { addPlatformFunctionsToEvalContext } from "@appsmith/workers/Evaluation/Actions"; +import { addPlatformFunctionsToEvalContext } from "ee/workers/Evaluation/Actions"; import { overrideWebAPIs } from "../fns/overrides"; describe("Expects appsmith setTimeout to pass the following criteria", () => { diff --git a/app/client/src/workers/Evaluation/dataStore/index.ts b/app/client/src/workers/Evaluation/dataStore/index.ts index b42d577d2a5c..ba52b060408b 100644 --- a/app/client/src/workers/Evaluation/dataStore/index.ts +++ b/app/client/src/workers/Evaluation/dataStore/index.ts @@ -1,4 +1,4 @@ -import { convertPathToString } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { convertPathToString } from "ee/workers/Evaluation/evaluationUtils"; import type { Diff } from "deep-diff"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { get, set, unset } from "lodash"; diff --git a/app/client/src/workers/Evaluation/dataStore/utils.ts b/app/client/src/workers/Evaluation/dataStore/utils.ts index eddce7c81bb0..5c73991a6094 100644 --- a/app/client/src/workers/Evaluation/dataStore/utils.ts +++ b/app/client/src/workers/Evaluation/dataStore/utils.ts @@ -1,9 +1,6 @@ import type { DataTree } from "entities/DataTree/dataTreeTypes"; import type { TDataStore } from "."; -import { - isAction, - isJSAction, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isAction, isJSAction } from "ee/workers/Evaluation/evaluationUtils"; import { get, isEmpty, set } from "lodash"; export function updateTreeWithData(tree: DataTree, dataStore: TDataStore) { diff --git a/app/client/src/workers/Evaluation/errorModifier.ts b/app/client/src/workers/Evaluation/errorModifier.ts index aec6633d9b3f..291f865d7fac 100644 --- a/app/client/src/workers/Evaluation/errorModifier.ts +++ b/app/client/src/workers/Evaluation/errorModifier.ts @@ -1,5 +1,5 @@ import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; -import { getAllAsyncFunctions } from "@appsmith/workers/Evaluation/Actions"; +import { getAllAsyncFunctions } from "ee/workers/Evaluation/Actions"; import type { EvaluationError } from "utils/DynamicBindingUtils"; import { PropertyEvaluationErrorCategory } from "utils/DynamicBindingUtils"; import type DependencyMap from "entities/DependencyMap"; @@ -10,7 +10,7 @@ import { import { jsPropertiesState } from "./JSObject/jsPropertiesState"; import { get, isEmpty, toPath } from "lodash"; import { APP_MODE } from "entities/App"; -import { isAction } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isAction } from "ee/workers/Evaluation/evaluationUtils"; import log from "loglevel"; import * as Sentry from "@sentry/react"; import { getMemberExpressionObjectFromProperty } from "@shared/ast"; diff --git a/app/client/src/workers/Evaluation/evalTreeWithChanges.test.ts b/app/client/src/workers/Evaluation/evalTreeWithChanges.test.ts index af0a55cfc112..6eeb3989ecd1 100644 --- a/app/client/src/workers/Evaluation/evalTreeWithChanges.test.ts +++ b/app/client/src/workers/Evaluation/evalTreeWithChanges.test.ts @@ -1,5 +1,5 @@ -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; -import { DataTreeDiffEvent } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; +import { DataTreeDiffEvent } from "ee/workers/Evaluation/evaluationUtils"; import { RenderModes } from "constants/WidgetConstants"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import type { ConfigTree } from "entities/DataTree/dataTreeTypes"; diff --git a/app/client/src/workers/Evaluation/evalTreeWithChanges.ts b/app/client/src/workers/Evaluation/evalTreeWithChanges.ts index 880f6f7c1633..9ab17994ecb5 100644 --- a/app/client/src/workers/Evaluation/evalTreeWithChanges.ts +++ b/app/client/src/workers/Evaluation/evalTreeWithChanges.ts @@ -1,20 +1,20 @@ import { dataTreeEvaluator } from "./handlers/evalTree"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; -import { makeEntityConfigsAsObjProperties } from "@appsmith/workers/Evaluation/dataTreeUtils"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; +import { makeEntityConfigsAsObjProperties } from "ee/workers/Evaluation/dataTreeUtils"; import type { EvalTreeResponseData, EvalWorkerSyncRequest, UpdateTreeResponse, } from "./types"; import { MessageType, sendMessage } from "utils/MessageUtil"; -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; import type { UpdateDataTreeMessageData } from "sagas/EvalWorkerActionSagas"; import { generateOptimisedUpdatesAndSetPrevState, getNewDataTreeUpdates, uniqueOrderUpdatePaths, } from "./helpers"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import type DataTreeEvaluator from "workers/common/DataTreeEvaluator"; const getDefaultEvalResponse = (): EvalTreeResponseData => ({ diff --git a/app/client/src/workers/Evaluation/evaluate.ts b/app/client/src/workers/Evaluation/evaluate.ts index 9c5e27b1e315..e29e1ff6a4ca 100644 --- a/app/client/src/workers/Evaluation/evaluate.ts +++ b/app/client/src/workers/Evaluation/evaluate.ts @@ -9,7 +9,7 @@ import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils"; import unescapeJS from "unescape-js"; import { Severity } from "entities/AppsmithConsole"; import type { EventType } from "constants/AppsmithActionConstants/ActionConstants"; -import type { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; +import type { TriggerMeta } from "ee/sagas/ActionExecution/ActionExecutionSagas"; import indirectEval from "./indirectEval"; import DOM_APIS from "./domApis"; import { @@ -23,10 +23,10 @@ import { PrimitiveErrorModifier, TypeErrorModifier, } from "./errorModifier"; -import { addDataTreeToContext } from "@appsmith/workers/Evaluation/Actions"; +import { addDataTreeToContext } from "ee/workers/Evaluation/Actions"; import { set } from "lodash"; import { klona } from "klona"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; export interface EvalResult { // TODO: Fix this the next time the file is edited diff --git a/app/client/src/workers/Evaluation/fns/__tests__/LocalStorage.test.ts b/app/client/src/workers/Evaluation/fns/__tests__/LocalStorage.test.ts index 296e460a85f8..ebfdec26dd2b 100644 --- a/app/client/src/workers/Evaluation/fns/__tests__/LocalStorage.test.ts +++ b/app/client/src/workers/Evaluation/fns/__tests__/LocalStorage.test.ts @@ -1,6 +1,6 @@ -import { addPlatformFunctionsToEvalContext } from "@appsmith/workers/Evaluation/Actions"; +import { addPlatformFunctionsToEvalContext } from "ee/workers/Evaluation/Actions"; import { PluginType } from "entities/Action"; -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import type { ActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { createEvaluationContext } from "workers/Evaluation/evaluate"; import initLocalStorage from "../overrides/localStorage"; diff --git a/app/client/src/workers/Evaluation/fns/__tests__/index.test.ts b/app/client/src/workers/Evaluation/fns/__tests__/index.test.ts index c6d9651580cb..e720c4b7fddc 100644 --- a/app/client/src/workers/Evaluation/fns/__tests__/index.test.ts +++ b/app/client/src/workers/Evaluation/fns/__tests__/index.test.ts @@ -1,5 +1,5 @@ -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; -import { addPlatformFunctionsToEvalContext } from "@appsmith/workers/Evaluation/Actions"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; +import { addPlatformFunctionsToEvalContext } from "ee/workers/Evaluation/Actions"; import { setEvalContext } from "workers/Evaluation/evaluate"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; diff --git a/app/client/src/workers/Evaluation/fns/__tests__/interval.test.ts b/app/client/src/workers/Evaluation/fns/__tests__/interval.test.ts index 69ee5e0051f8..863fe63f3972 100644 --- a/app/client/src/workers/Evaluation/fns/__tests__/interval.test.ts +++ b/app/client/src/workers/Evaluation/fns/__tests__/interval.test.ts @@ -2,12 +2,12 @@ jest.useFakeTimers(); import { EventType } from "constants/AppsmithActionConstants/ActionConstants"; import { PluginType } from "entities/Action"; -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import type { ActionEntity } from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { ENTITY_TYPE } from "entities/DataTree/dataTreeFactory"; import { overrideWebAPIs } from "../overrides"; import ExecutionMetaData from "../utils/ExecutionMetaData"; -import { addPlatformFunctionsToEvalContext } from "@appsmith/workers/Evaluation/Actions"; +import { addPlatformFunctionsToEvalContext } from "ee/workers/Evaluation/Actions"; import { createEvaluationContext } from "workers/Evaluation/evaluate"; const dataTree: DataTree = { diff --git a/app/client/src/workers/Evaluation/fns/__tests__/postWindowMessage.test.ts b/app/client/src/workers/Evaluation/fns/__tests__/postWindowMessage.test.ts index 0a25a1cae65c..002195ae1aad 100644 --- a/app/client/src/workers/Evaluation/fns/__tests__/postWindowMessage.test.ts +++ b/app/client/src/workers/Evaluation/fns/__tests__/postWindowMessage.test.ts @@ -1,4 +1,4 @@ -import { addPlatformFunctionsToEvalContext } from "@appsmith/workers/Evaluation/Actions"; +import { addPlatformFunctionsToEvalContext } from "ee/workers/Evaluation/Actions"; import TriggerEmitter, { BatchKey } from "../utils/TriggerEmitter"; import { evalContext } from "../mock"; diff --git a/app/client/src/workers/Evaluation/fns/__tests__/run.test.ts b/app/client/src/workers/Evaluation/fns/__tests__/run.test.ts index 84f7ee2293de..b8014febe7ec 100644 --- a/app/client/src/workers/Evaluation/fns/__tests__/run.test.ts +++ b/app/client/src/workers/Evaluation/fns/__tests__/run.test.ts @@ -1,5 +1,5 @@ -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; -import { addPlatformFunctionsToEvalContext } from "@appsmith/workers/Evaluation/Actions"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; +import { addPlatformFunctionsToEvalContext } from "ee/workers/Evaluation/Actions"; import { EventType } from "constants/AppsmithActionConstants/ActionConstants"; import ExecutionMetaData from "../utils/ExecutionMetaData"; import { evalContext } from "../mock"; diff --git a/app/client/src/workers/Evaluation/fns/actionFns.ts b/app/client/src/workers/Evaluation/fns/actionFns.ts index 54efeb5b586f..73b17069833e 100644 --- a/app/client/src/workers/Evaluation/fns/actionFns.ts +++ b/app/client/src/workers/Evaluation/fns/actionFns.ts @@ -1,6 +1,6 @@ -import { isTrueObject } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isTrueObject } from "ee/workers/Evaluation/evaluationUtils"; import { promisify } from "./utils/Promisify"; -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import type { ActionEntity } from "ee/entities/DataTree/types"; function runFnDescriptor( this: ActionEntity, diff --git a/app/client/src/workers/Evaluation/fns/index.ts b/app/client/src/workers/Evaluation/fns/index.ts index 568d6da95670..ecd6317eb986 100644 --- a/app/client/src/workers/Evaluation/fns/index.ts +++ b/app/client/src/workers/Evaluation/fns/index.ts @@ -42,8 +42,8 @@ import type { TRunDescription, } from "./actionFns"; import run, { clear } from "./actionFns"; -import { isAppsmithEntity } from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { ActionEntity } from "@appsmith/entities/DataTree/types"; +import { isAppsmithEntity } from "ee/workers/Evaluation/evaluationUtils"; +import type { ActionEntity } from "ee/entities/DataTree/types"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import type { TGetGeoLocationActionType, @@ -59,7 +59,7 @@ import { watchGeoLocation, } from "./geolocationFns"; import { getFnWithGuards, isAsyncGuard } from "./utils/fnGuard"; -import { isRunNClearFnQualifierEntity } from "@appsmith/workers/Evaluation/fns/utils/isRunNClearFnQualifierEntity"; +import { isRunNClearFnQualifierEntity } from "ee/workers/Evaluation/fns/utils/isRunNClearFnQualifierEntity"; export const getPlatformFunctions = () => { return platformFns; diff --git a/app/client/src/workers/Evaluation/fns/overrides/console.ts b/app/client/src/workers/Evaluation/fns/overrides/console.ts index eecd1fe6fbdc..28e3d5034a43 100644 --- a/app/client/src/workers/Evaluation/fns/overrides/console.ts +++ b/app/client/src/workers/Evaluation/fns/overrides/console.ts @@ -5,10 +5,10 @@ import type { SourceEntity, } from "entities/AppsmithConsole"; import { Severity } from "entities/AppsmithConsole"; -import { ENTITY_TYPE } from "@appsmith/entities/AppsmithConsole/utils"; +import { ENTITY_TYPE } from "ee/entities/AppsmithConsole/utils"; import { klona } from "klona/lite"; import moment from "moment"; -import type { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; +import type { TriggerMeta } from "ee/sagas/ActionExecution/ActionExecutionSagas"; import TriggerEmitter from "../utils/TriggerEmitter"; import type { EventEmitter } from "events"; import ExecutionMetaData from "../utils/ExecutionMetaData"; diff --git a/app/client/src/workers/Evaluation/fns/resetWidget.ts b/app/client/src/workers/Evaluation/fns/resetWidget.ts index 6a46177b370e..c194b829264c 100644 --- a/app/client/src/workers/Evaluation/fns/resetWidget.ts +++ b/app/client/src/workers/Evaluation/fns/resetWidget.ts @@ -11,15 +11,15 @@ import _ from "lodash"; import type { WidgetEntityConfig, WidgetEntity, -} from "@appsmith/entities/DataTree/types"; -import { isWidget } from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/entities/DataTree/types"; +import { isWidget } from "ee/workers/Evaluation/evaluationUtils"; import { klona } from "klona"; import { getDynamicBindings, isDynamicValue } from "utils/DynamicBindingUtils"; import evaluateSync, { setEvalContext } from "../evaluate"; import type { DescendantWidgetMap } from "sagas/WidgetOperationUtils"; import type { MetaState } from "reducers/entityReducers/metaReducer"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { validateAndParseWidgetProperty } from "workers/common/DataTreeEvaluator/validationUtils"; diff --git a/app/client/src/workers/Evaluation/fns/utils/ExecutionMetaData.ts b/app/client/src/workers/Evaluation/fns/utils/ExecutionMetaData.ts index 4ff71f1ca2fa..ae3cf193388d 100644 --- a/app/client/src/workers/Evaluation/fns/utils/ExecutionMetaData.ts +++ b/app/client/src/workers/Evaluation/fns/utils/ExecutionMetaData.ts @@ -1,4 +1,4 @@ -import type { TriggerMeta } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; +import type { TriggerMeta } from "ee/sagas/ActionExecution/ActionExecutionSagas"; import type { EventType, TriggerSource, diff --git a/app/client/src/workers/Evaluation/fns/utils/Messenger.ts b/app/client/src/workers/Evaluation/fns/utils/Messenger.ts index c0b5ae3c1895..3ed020e0a21e 100644 --- a/app/client/src/workers/Evaluation/fns/utils/Messenger.ts +++ b/app/client/src/workers/Evaluation/fns/utils/Messenger.ts @@ -1,5 +1,5 @@ /* eslint-disable no-console */ -import { WorkerErrorTypes } from "@appsmith/workers/common/types"; +import { WorkerErrorTypes } from "ee/workers/common/types"; import { uniqueId } from "lodash"; import { MessageType, sendMessage } from "utils/MessageUtil"; import { getErrorMessage } from "workers/Evaluation/errorModifier"; diff --git a/app/client/src/workers/Evaluation/fns/utils/Promisify.ts b/app/client/src/workers/Evaluation/fns/utils/Promisify.ts index f3d0410459c5..71e210a0de43 100644 --- a/app/client/src/workers/Evaluation/fns/utils/Promisify.ts +++ b/app/client/src/workers/Evaluation/fns/utils/Promisify.ts @@ -1,4 +1,4 @@ -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; import { dataTreeEvaluator } from "workers/Evaluation/handlers/evalTree"; import ExecutionMetaData from "./ExecutionMetaData"; import { WorkerMessenger } from "./Messenger"; diff --git a/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts b/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts index f50b9cf1157c..f7a57e249af1 100644 --- a/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts +++ b/app/client/src/workers/Evaluation/fns/utils/TriggerEmitter.ts @@ -1,12 +1,12 @@ import { EventEmitter } from "events"; -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; import { WorkerMessenger } from "workers/Evaluation/fns/utils/Messenger"; import type { UpdatedPathsMap } from "workers/Evaluation/JSObject/JSVariableUpdates"; import { applyJSVariableUpdatesToEvalTree } from "workers/Evaluation/JSObject/JSVariableUpdates"; import ExecutionMetaData from "./ExecutionMetaData"; import type { UpdateActionProps } from "workers/Evaluation/handlers/updateActionData"; import { handleActionsDataUpdate } from "workers/Evaluation/handlers/updateActionData"; -import { getEntityNameAndPropertyPath } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { getEntityNameAndPropertyPath } from "ee/workers/Evaluation/evaluationUtils"; import type { Patch } from "workers/Evaluation/JSObject/Collection"; const _internalSetTimeout = self.setTimeout; diff --git a/app/client/src/workers/Evaluation/fns/utils/__tests__/Promisify.test.ts b/app/client/src/workers/Evaluation/fns/utils/__tests__/Promisify.test.ts index bb11e688abc1..4d7f1345b6d1 100644 --- a/app/client/src/workers/Evaluation/fns/utils/__tests__/Promisify.test.ts +++ b/app/client/src/workers/Evaluation/fns/utils/__tests__/Promisify.test.ts @@ -18,7 +18,7 @@ jest.mock("workers/Evaluation/handlers/evalTree", () => ({ }, })); -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; import { EventType } from "constants/AppsmithActionConstants/ActionConstants"; import ExecutionMetaData from "../ExecutionMetaData"; import { promisify } from "../Promisify"; diff --git a/app/client/src/workers/Evaluation/fns/utils/__tests__/TriggerEmitter.test.ts b/app/client/src/workers/Evaluation/fns/utils/__tests__/TriggerEmitter.test.ts index 666e4e2ed203..0c987cd1d018 100644 --- a/app/client/src/workers/Evaluation/fns/utils/__tests__/TriggerEmitter.test.ts +++ b/app/client/src/workers/Evaluation/fns/utils/__tests__/TriggerEmitter.test.ts @@ -12,7 +12,7 @@ jest.mock("../Messenger.ts", () => ({ }, })); -import { MAIN_THREAD_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { MAIN_THREAD_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; import TriggerEmitter, { BatchKey } from "../TriggerEmitter"; describe("Tests all trigger events", () => { diff --git a/app/client/src/workers/Evaluation/formEval.ts b/app/client/src/workers/Evaluation/formEval.ts index c088005d0e44..fdc43141464c 100644 --- a/app/client/src/workers/Evaluation/formEval.ts +++ b/app/client/src/workers/Evaluation/formEval.ts @@ -6,14 +6,14 @@ import type { FormConfigEvalObject, DynamicValuesConfig, } from "reducers/evaluationReducers/formEvaluationReducer"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import type { ActionConfig } from "entities/Action"; import type { FormEvalActionPayload } from "sagas/FormEvaluationSaga"; import type { FormConfigType } from "components/formControls/BaseControl"; import { isArray, isEmpty, isString, merge, uniq } from "lodash"; import { extractEvalConfigFromFormConfig } from "components/formControls/utils"; import { isDynamicValue } from "utils/DynamicBindingUtils"; -import { isTrueObject } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { isTrueObject } from "ee/workers/Evaluation/evaluationUtils"; import type { DatasourceConfiguration } from "entities/Datasource"; export enum ConditionType { diff --git a/app/client/src/workers/Evaluation/getEntityForContext.ts b/app/client/src/workers/Evaluation/getEntityForContext.ts index 2b77f886747c..932c72dd8913 100644 --- a/app/client/src/workers/Evaluation/getEntityForContext.ts +++ b/app/client/src/workers/Evaluation/getEntityForContext.ts @@ -1,4 +1,4 @@ -import { getEntityForEvalContextMap } from "@appsmith/workers/Evaluation/getEntityForEvalContextMap"; +import { getEntityForEvalContextMap } from "ee/workers/Evaluation/getEntityForEvalContextMap"; import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; export function getEntityForEvalContext( diff --git a/app/client/src/workers/Evaluation/handlers/__tests__/jsLibrary.test.ts b/app/client/src/workers/Evaluation/handlers/__tests__/jsLibrary.test.ts index b2d81592f6cb..84e597a41633 100644 --- a/app/client/src/workers/Evaluation/handlers/__tests__/jsLibrary.test.ts +++ b/app/client/src/workers/Evaluation/handlers/__tests__/jsLibrary.test.ts @@ -2,7 +2,7 @@ import { flattenModule, installLibrary, uninstallLibrary } from "../jsLibrary"; import { EVAL_WORKER_ASYNC_ACTION, EVAL_WORKER_SYNC_ACTION, -} from "@appsmith/workers/Evaluation/evalWorkerActions"; +} from "ee/workers/Evaluation/evalWorkerActions"; import * as mod from "../../../common/JSLibrary/ternDefinitionGenerator"; jest.mock("../../../common/JSLibrary/ternDefinitionGenerator"); diff --git a/app/client/src/workers/Evaluation/handlers/evalActionBindings.ts b/app/client/src/workers/Evaluation/handlers/evalActionBindings.ts index d4e5de9459c8..9032f776e6d5 100644 --- a/app/client/src/workers/Evaluation/handlers/evalActionBindings.ts +++ b/app/client/src/workers/Evaluation/handlers/evalActionBindings.ts @@ -1,5 +1,5 @@ import { dataTreeEvaluator } from "./evalTree"; -import { removeFunctions } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { removeFunctions } from "ee/workers/Evaluation/evaluationUtils"; import type { EvalWorkerSyncRequest } from "../types"; export default function (request: EvalWorkerSyncRequest) { diff --git a/app/client/src/workers/Evaluation/handlers/evalTree.ts b/app/client/src/workers/Evaluation/handlers/evalTree.ts index 61b3aee8aa2a..4633a19a9bf0 100644 --- a/app/client/src/workers/Evaluation/handlers/evalTree.ts +++ b/app/client/src/workers/Evaluation/handlers/evalTree.ts @@ -6,14 +6,14 @@ import type { DependencyMap, EvalError } from "utils/DynamicBindingUtils"; import { EvalErrorTypes } from "utils/DynamicBindingUtils"; import type { JSUpdate } from "utils/JSPaneUtils"; import DataTreeEvaluator from "workers/common/DataTreeEvaluator"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; -import { makeEntityConfigsAsObjProperties } from "@appsmith/workers/Evaluation/dataTreeUtils"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; -import { serialiseToBigInt } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; +import { makeEntityConfigsAsObjProperties } from "ee/workers/Evaluation/dataTreeUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; +import { serialiseToBigInt } from "ee/workers/Evaluation/evaluationUtils"; import { CrashingError, getSafeToRenderDataTree, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import type { EvalTreeRequestData, EvalTreeResponseData, diff --git a/app/client/src/workers/Evaluation/handlers/index.ts b/app/client/src/workers/Evaluation/handlers/index.ts index c5cf9cfed738..b2dc7d81e664 100644 --- a/app/client/src/workers/Evaluation/handlers/index.ts +++ b/app/client/src/workers/Evaluation/handlers/index.ts @@ -2,8 +2,8 @@ import noop from "lodash/noop"; import type { EVAL_WORKER_ASYNC_ACTION, EVAL_WORKER_SYNC_ACTION, -} from "@appsmith/workers/Evaluation/evalWorkerActions"; -import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions"; +} from "ee/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_ACTIONS } from "ee/workers/Evaluation/evalWorkerActions"; import type { EvalWorkerSyncRequest, EvalWorkerASyncRequest } from "../types"; import evalActionBindings from "./evalActionBindings"; import evalExpression from "./evalExpression"; diff --git a/app/client/src/workers/Evaluation/handlers/jsLibrary.ts b/app/client/src/workers/Evaluation/handlers/jsLibrary.ts index 2b92ac5383d1..b57d3fad08f6 100644 --- a/app/client/src/workers/Evaluation/handlers/jsLibrary.ts +++ b/app/client/src/workers/Evaluation/handlers/jsLibrary.ts @@ -1,7 +1,4 @@ -import { - createMessage, - customJSLibraryMessages, -} from "@appsmith/constants/messages"; +import { createMessage, customJSLibraryMessages } from "ee/constants/messages"; import difference from "lodash/difference"; import type { Def } from "tern"; import { invalidEntityIdentifiers } from "workers/common/DependencyMap/utils"; diff --git a/app/client/src/workers/Evaluation/handlers/setupEvalEnv.ts b/app/client/src/workers/Evaluation/handlers/setupEvalEnv.ts index fed0addbbe2e..fb99b553eb53 100644 --- a/app/client/src/workers/Evaluation/handlers/setupEvalEnv.ts +++ b/app/client/src/workers/Evaluation/handlers/setupEvalEnv.ts @@ -1,7 +1,7 @@ import { unsafeFunctionForEval } from "utils/DynamicBindingUtils"; import setupDOM from "../SetupDOM"; import type { EvalWorkerSyncRequest } from "../types"; -import { addPlatformFunctionsToEvalContext } from "@appsmith/workers/Evaluation/Actions"; +import { addPlatformFunctionsToEvalContext } from "ee/workers/Evaluation/Actions"; import { overrideWebAPIs } from "../fns/overrides"; import { WorkerEnv } from "./workerEnv"; diff --git a/app/client/src/workers/Evaluation/handlers/updateActionData.ts b/app/client/src/workers/Evaluation/handlers/updateActionData.ts index ba22ff343165..d94334360674 100644 --- a/app/client/src/workers/Evaluation/handlers/updateActionData.ts +++ b/app/client/src/workers/Evaluation/handlers/updateActionData.ts @@ -3,7 +3,7 @@ import type { EvalWorkerSyncRequest } from "../types"; import set from "lodash/set"; import { evalTreeWithChanges } from "../evalTreeWithChanges"; import DataStore from "../dataStore"; -import { EVAL_WORKER_SYNC_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_SYNC_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; export interface UpdateActionProps { entityName: string; diff --git a/app/client/src/workers/Evaluation/handlers/validateProperty.ts b/app/client/src/workers/Evaluation/handlers/validateProperty.ts index c692ab7ddd1f..30b43979c1ca 100644 --- a/app/client/src/workers/Evaluation/handlers/validateProperty.ts +++ b/app/client/src/workers/Evaluation/handlers/validateProperty.ts @@ -1,5 +1,5 @@ import { validateWidgetProperty } from "workers/common/DataTreeEvaluator/validationUtils"; -import { removeFunctions } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { removeFunctions } from "ee/workers/Evaluation/evaluationUtils"; import type { EvalWorkerSyncRequest } from "../types"; export default function (request: EvalWorkerSyncRequest) { diff --git a/app/client/src/workers/Evaluation/handlers/workerEnv.ts b/app/client/src/workers/Evaluation/handlers/workerEnv.ts index 277671fe0970..c9286a3b5d06 100644 --- a/app/client/src/workers/Evaluation/handlers/workerEnv.ts +++ b/app/client/src/workers/Evaluation/handlers/workerEnv.ts @@ -1,4 +1,4 @@ -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; export class WorkerEnv { // TODO: Fix this the next time the file is edited diff --git a/app/client/src/workers/Evaluation/helpers.ts b/app/client/src/workers/Evaluation/helpers.ts index 641114773b5a..43d4ba63d953 100644 --- a/app/client/src/workers/Evaluation/helpers.ts +++ b/app/client/src/workers/Evaluation/helpers.ts @@ -1,5 +1,5 @@ -import { serialiseToBigInt } from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { WidgetEntity } from "@appsmith//entities/DataTree/types"; +import { serialiseToBigInt } from "ee/workers/Evaluation/evaluationUtils"; +import type { WidgetEntity } from "ee//entities/DataTree/types"; import type { Diff } from "deep-diff"; import { diff } from "deep-diff"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; diff --git a/app/client/src/workers/Evaluation/setters.ts b/app/client/src/workers/Evaluation/setters.ts index 329407b2a5ab..ceda6c24b39d 100644 --- a/app/client/src/workers/Evaluation/setters.ts +++ b/app/client/src/workers/Evaluation/setters.ts @@ -2,8 +2,8 @@ import { getEntityNameAndPropertyPath, isWidget, overrideWidgetProperties, -} from "@appsmith/workers/Evaluation/evaluationUtils"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +} from "ee/workers/Evaluation/evaluationUtils"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import { evalTreeWithChanges } from "./evalTreeWithChanges"; import { dataTreeEvaluator } from "./handlers/evalTree"; import { get, set } from "lodash"; @@ -11,7 +11,7 @@ import { validate } from "./validations"; import type { DataTreeEntityConfig, WidgetEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree, @@ -19,7 +19,7 @@ import type { } from "entities/DataTree/dataTreeTypes"; import { getFnWithGuards, isAsyncGuard } from "./fns/utils/fnGuard"; import { shouldAddSetter } from "./evaluate"; -import { EVAL_WORKER_SYNC_ACTION } from "@appsmith/workers/Evaluation/evalWorkerActions"; +import { EVAL_WORKER_SYNC_ACTION } from "ee/workers/Evaluation/evalWorkerActions"; class Setters { /** stores the setter method accessor as key and true as value diff --git a/app/client/src/workers/Evaluation/types.ts b/app/client/src/workers/Evaluation/types.ts index 444e75f211bc..bb6cdebfd93b 100644 --- a/app/client/src/workers/Evaluation/types.ts +++ b/app/client/src/workers/Evaluation/types.ts @@ -8,12 +8,12 @@ import type { DependencyMap, EvalError } from "utils/DynamicBindingUtils"; import type { EVAL_WORKER_ASYNC_ACTION, EVAL_WORKER_SYNC_ACTION, -} from "@appsmith/workers/Evaluation/evalWorkerActions"; +} from "ee/workers/Evaluation/evalWorkerActions"; import type { JSUpdate } from "utils/JSPaneUtils"; import type { WidgetTypeConfigMap } from "WidgetProvider/factory"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; -import type { WorkerRequest } from "@appsmith/workers/common/types"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; +import type { WorkerRequest } from "ee/workers/common/types"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import type { APP_MODE } from "entities/App"; import type { WebworkerSpanData } from "UITelemetry/generateWebWorkerTraces"; import type { SpanAttributes } from "UITelemetry/generateTraces"; diff --git a/app/client/src/workers/Tern/tern.worker.ts b/app/client/src/workers/Tern/tern.worker.ts index 97b3f2bcc496..0ac64c134323 100644 --- a/app/client/src/workers/Tern/tern.worker.ts +++ b/app/client/src/workers/Tern/tern.worker.ts @@ -11,7 +11,7 @@ import browser from "constants/defs/browser.json"; import { GLOBAL_DEFS, GLOBAL_FUNCTIONS, -} from "@appsmith/utils/autocomplete/EntityDefinitions"; +} from "ee/utils/autocomplete/EntityDefinitions"; let server: Server; diff --git a/app/client/src/workers/common/DataTreeEvaluator/index.ts b/app/client/src/workers/common/DataTreeEvaluator/index.ts index cec156f441a6..27f255571a4a 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/index.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/index.ts @@ -25,7 +25,7 @@ import type { PrivateWidgets, ActionEntityConfig, DataTreeEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { DataTree, DataTreeEntity, @@ -33,12 +33,12 @@ import type { UnEvalTree, } from "entities/DataTree/dataTreeTypes"; import { EvaluationSubstitutionType } from "entities/DataTree/dataTreeFactory"; -import { ENTITY_TYPE } from "@appsmith/entities/DataTree/types"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import { ENTITY_TYPE } from "ee/entities/DataTree/types"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import { convertMicroDiffToDeepDiff, getAllPathsBasedOnDiffPaths, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { addDependantsOfNestedPropertyPaths, @@ -63,7 +63,7 @@ import { isAPathDynamicBindingPath, isAnyJSAction, isNotEntity, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { difference, flatten, @@ -102,7 +102,7 @@ import type { } from "constants/PropertyControlConstants"; import { klona } from "klona/full"; import { klona as klonaJSON } from "klona/json"; -import type { EvalMetaUpdates } from "@appsmith/workers/common/DataTreeEvaluator/types"; +import type { EvalMetaUpdates } from "ee/workers/common/DataTreeEvaluator/types"; import { updateDependencyMap, createDependencyMap, @@ -131,7 +131,7 @@ import userLogs from "workers/Evaluation/fns/overrides/console"; import ExecutionMetaData from "workers/Evaluation/fns/utils/ExecutionMetaData"; import DependencyMap from "entities/DependencyMap"; import { DependencyMapUtils } from "entities/DependencyMap/DependencyMapUtils"; -import { isWidgetActionOrJsObject } from "@appsmith/entities/DataTree/utils"; +import { isWidgetActionOrJsObject } from "ee/entities/DataTree/utils"; import DataStore from "workers/Evaluation/dataStore"; import { updateTreeWithData } from "workers/Evaluation/dataStore/utils"; import microDiff from "microdiff"; @@ -141,7 +141,7 @@ import { } from "UITelemetry/generateWebWorkerTraces"; import type { SpanAttributes } from "UITelemetry/generateTraces"; import type { AffectedJSObjects } from "sagas/EvaluationsSagaUtils"; -import generateOverrideContext from "@appsmith/workers/Evaluation/generateOverrideContext"; +import generateOverrideContext from "ee/workers/Evaluation/generateOverrideContext"; type SortedDependencies = Array; export interface EvalProps { diff --git a/app/client/src/workers/common/DataTreeEvaluator/mockData/ArrayAccessorTree.ts b/app/client/src/workers/common/DataTreeEvaluator/mockData/ArrayAccessorTree.ts index 1a6d15ab6248..7734e1cbae8d 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/mockData/ArrayAccessorTree.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/mockData/ArrayAccessorTree.ts @@ -4,7 +4,7 @@ import type { WidgetEntityConfig, ActionEntityConfig, ActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { EvaluationSubstitutionType, diff --git a/app/client/src/workers/common/DataTreeEvaluator/mockData/NestedArrayAccessorTree.ts b/app/client/src/workers/common/DataTreeEvaluator/mockData/NestedArrayAccessorTree.ts index 12a8ab684e5e..baae4de0a08b 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/mockData/NestedArrayAccessorTree.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/mockData/NestedArrayAccessorTree.ts @@ -4,7 +4,7 @@ import type { WidgetEntityConfig, ActionEntityConfig, ActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { DataTree } from "entities/DataTree/dataTreeTypes"; import { EvaluationSubstitutionType, diff --git a/app/client/src/workers/common/DataTreeEvaluator/mockData/mockConfigTree.ts b/app/client/src/workers/common/DataTreeEvaluator/mockData/mockConfigTree.ts index 120fdb4197dd..bfe6c27a830a 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/mockData/mockConfigTree.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/mockData/mockConfigTree.ts @@ -1,4 +1,4 @@ -import { ENTITY_TYPE } from "@appsmith/entities/DataTree/types"; +import { ENTITY_TYPE } from "ee/entities/DataTree/types"; import { EvaluationSubstitutionType } from "entities/DataTree/dataTreeFactory"; export const configTree = { diff --git a/app/client/src/workers/common/DataTreeEvaluator/test.ts b/app/client/src/workers/common/DataTreeEvaluator/test.ts index 9db208838ff4..ed13b66d02ec 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/test.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/test.ts @@ -2,7 +2,7 @@ import DataTreeEvaluator from "."; import { unEvalTree } from "./mockData/mockUnEvalTree"; import { configTree } from "./mockData/mockConfigTree"; import type { DataTree, ConfigTree } from "entities/DataTree/dataTreeTypes"; -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import { arrayAccessorCyclicDependency, arrayAccessorCyclicDependencyConfig, @@ -19,12 +19,12 @@ import type { WidgetConfiguration } from "WidgetProvider/constants"; import { EvaluationSubstitutionType, type WidgetEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { EXECUTION_PARAM_KEY, EXECUTION_PARAM_REFERENCE_REGEX, } from "constants/AppsmithActionConstants/ActionConstants"; -import generateOverrideContext from "@appsmith/workers/Evaluation/generateOverrideContext"; +import generateOverrideContext from "ee/workers/Evaluation/generateOverrideContext"; import { klona } from "klona"; const widgetConfigMap: Record< @@ -45,7 +45,7 @@ widgets.map((widget) => { } }); -jest.mock("@appsmith/workers/Evaluation/generateOverrideContext"); // mock the generateOverrideContext function +jest.mock("ee/workers/Evaluation/generateOverrideContext"); // mock the generateOverrideContext function const dataTreeEvaluator = new DataTreeEvaluator(widgetConfigMap); diff --git a/app/client/src/workers/common/DataTreeEvaluator/utils.test.ts b/app/client/src/workers/common/DataTreeEvaluator/utils.test.ts index c10ed8e5f643..0ac46ea41d5f 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/utils.test.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/utils.test.ts @@ -1,14 +1,11 @@ -import type { - JSActionEntity, - WidgetEntity, -} from "@appsmith/entities/DataTree/types"; +import type { JSActionEntity, WidgetEntity } from "ee/entities/DataTree/types"; import { getOnlyAffectedJSObjects, getIsNewWidgetAdded } from "./utils"; import type { UnEvalTree } from "entities/DataTree/dataTreeTypes"; import { DataTreeDiffEvent, getAllPathsBasedOnDiffPaths, type DataTreeDiff, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import produce from "immer"; describe("getOnlyAffectedJSObjects", () => { diff --git a/app/client/src/workers/common/DataTreeEvaluator/utils.ts b/app/client/src/workers/common/DataTreeEvaluator/utils.ts index f182cdf00b8c..6d36d6e651be 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/utils.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/utils.ts @@ -1,10 +1,10 @@ -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import { DataTreeDiffEvent, getEntityNameAndPropertyPath, isJSAction, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { EXECUTION_PARAM_REFERENCE_REGEX, THIS_DOT_PARAMS_KEY, @@ -21,7 +21,7 @@ import type { DataTreeEntityConfig, DataTreeEntityObject, JSActionEntity, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { isObject } from "lodash"; import type { AffectedJSObjects } from "sagas/EvaluationsSagaUtils"; diff --git a/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts b/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts index 65a0d968cb0b..d6913ca262f6 100644 --- a/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts +++ b/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts @@ -3,7 +3,7 @@ import { Severity } from "entities/AppsmithConsole"; import type { WidgetEntity, WidgetEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree } from "entities/DataTree/dataTreeTypes"; import type { EvaluationError } from "utils/DynamicBindingUtils"; import { @@ -14,7 +14,7 @@ import { addErrorToEntityProperty, getEntityNameAndPropertyPath, resetValidationErrorsForEntityProperty, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import { validate } from "workers/Evaluation/validations"; import type { EvalProps } from "."; import type { ValidationResponse } from "constants/WidgetValidation"; diff --git a/app/client/src/workers/common/DependencyMap/index.ts b/app/client/src/workers/common/DependencyMap/index.ts index bddff7f9ece2..54a23eafb455 100644 --- a/app/client/src/workers/common/DependencyMap/index.ts +++ b/app/client/src/workers/common/DependencyMap/index.ts @@ -1,16 +1,16 @@ -import type { DataTreeDiff } from "@appsmith/workers/Evaluation/evaluationUtils"; +import type { DataTreeDiff } from "ee/workers/Evaluation/evaluationUtils"; import { getAllPaths, DataTreeDiffEvent, getEntityNameAndPropertyPath, isDynamicLeaf, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; import type { WidgetEntity, ActionEntity, JSActionEntity, DataTreeEntityObject, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import type { ConfigTree, DataTree } from "entities/DataTree/dataTreeTypes"; import { getEntityId, getEvalErrorPath } from "utils/DynamicBindingUtils"; import { convertArrayToObject, extractInfoFromBindings } from "./utils"; @@ -26,8 +26,8 @@ import { AppsmithFunctionsWithFields } from "components/editorComponents/ActionC import { getAllSetterFunctions, getEntitySetterFunctions, -} from "@appsmith/workers/Evaluation/Actions"; -import { isWidgetActionOrJsObject } from "@appsmith/entities/DataTree/utils"; +} from "ee/workers/Evaluation/Actions"; +import { isWidgetActionOrJsObject } from "ee/entities/DataTree/utils"; import { getValidEntityType } from "workers/common/DataTreeEvaluator/utils"; export function createDependencyMap( diff --git a/app/client/src/workers/common/DependencyMap/test.ts b/app/client/src/workers/common/DependencyMap/test.ts index 806310329804..defa3aaa344a 100644 --- a/app/client/src/workers/common/DependencyMap/test.ts +++ b/app/client/src/workers/common/DependencyMap/test.ts @@ -1,7 +1,7 @@ import type { WidgetEntity, DataTreeEntityConfig, -} from "@appsmith/entities/DataTree/types"; +} from "ee/entities/DataTree/types"; import { getEntityPathDependencies } from "./utils/getEntityDependencies"; describe("DependencyMap utils", function () { diff --git a/app/client/src/workers/common/DependencyMap/utils.ts b/app/client/src/workers/common/DependencyMap/utils.ts index 259fc596b267..7d0767b61bf6 100644 --- a/app/client/src/workers/common/DependencyMap/utils.ts +++ b/app/client/src/workers/common/DependencyMap/utils.ts @@ -7,9 +7,9 @@ import { getEntityNameAndPropertyPath, isJSActionConfig, isWidget, -} from "@appsmith/workers/Evaluation/evaluationUtils"; +} from "ee/workers/Evaluation/evaluationUtils"; -import type { WidgetEntityConfig } from "@appsmith/entities/DataTree/types"; +import type { WidgetEntityConfig } from "ee/entities/DataTree/types"; import type { ConfigTree, DataTreeEntity, diff --git a/app/client/src/workers/common/DependencyMap/utils/getEntityDependencies.ts b/app/client/src/workers/common/DependencyMap/utils/getEntityDependencies.ts index 1611fe4c23f9..e3ed6fb13eb2 100644 --- a/app/client/src/workers/common/DependencyMap/utils/getEntityDependencies.ts +++ b/app/client/src/workers/common/DependencyMap/utils/getEntityDependencies.ts @@ -1,13 +1,13 @@ import type { DataTreeEntity } from "entities/DataTree/dataTreeTypes"; import { get } from "lodash"; import { getDynamicBindings } from "utils/DynamicBindingUtils"; -import { isWidgetActionOrJsObject } from "@appsmith/entities/DataTree/utils"; -import type { DataTreeEntityObject } from "@appsmith/entities/DataTree/types"; +import { isWidgetActionOrJsObject } from "ee/entities/DataTree/utils"; +import type { DataTreeEntityObject } from "ee/entities/DataTree/types"; import { getDependencies, getPathDependencies, -} from "@appsmith/workers/common/DependencyMap/utils/getEntityDependenciesByType"; -import type { DataTreeEntityConfig } from "@appsmith/entities/DataTree/types"; +} from "ee/workers/common/DependencyMap/utils/getEntityDependenciesByType"; +import type { DataTreeEntityConfig } from "ee/entities/DataTree/types"; export function getEntityDependencies( entity: DataTreeEntityObject, diff --git a/app/client/test/factories/AppIDEFactoryUtils.ts b/app/client/test/factories/AppIDEFactoryUtils.ts index 2528843adfd1..21e2b06da745 100644 --- a/app/client/test/factories/AppIDEFactoryUtils.ts +++ b/app/client/test/factories/AppIDEFactoryUtils.ts @@ -1,8 +1,8 @@ import store from "store"; -import { EditorViewMode } from "@appsmith/entities/IDE/constants"; -import type { AppState } from "@appsmith/reducers"; +import { EditorViewMode } from "ee/entities/IDE/constants"; +import type { AppState } from "ee/reducers"; import MockPluginsState from "test/factories/MockPluginsState"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; import type { Action } from "entities/Action"; import type { IDETabs, @@ -12,7 +12,7 @@ import { IDETabsDefaultValue } from "reducers/uiReducers/ideReducer"; import type { JSCollection } from "entities/JSCollection"; import type { FocusHistory } from "reducers/uiReducers/focusHistoryReducer"; import type { Datasource } from "entities/Datasource"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; interface IDEStateArgs { ideView?: EditorViewMode; diff --git a/app/client/test/factories/PageFactory.ts b/app/client/test/factories/PageFactory.ts index 47df69d15f4d..50ab3730bbe4 100644 --- a/app/client/test/factories/PageFactory.ts +++ b/app/client/test/factories/PageFactory.ts @@ -1,5 +1,5 @@ import * as Factory from "factory.ts"; -import type { Page } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; function generateRandomHexId() { const hexChars = "0123456789abcdef"; diff --git a/app/client/test/sagas.ts b/app/client/test/sagas.ts index 14bdfc4ce70a..f3c730b65537 100644 --- a/app/client/test/sagas.ts +++ b/app/client/test/sagas.ts @@ -1,12 +1,12 @@ -import { watchActionExecutionSagas } from "@appsmith/sagas/ActionExecution/ActionExecutionSagas"; -import userSagas from "@appsmith/sagas/userSagas"; -import workspaceSagas from "@appsmith/sagas/WorkspaceSagas"; +import { watchActionExecutionSagas } from "ee/sagas/ActionExecution/ActionExecutionSagas"; +import userSagas from "ee/sagas/userSagas"; +import workspaceSagas from "ee/sagas/WorkspaceSagas"; import { watchActionSagas } from "sagas/ActionSagas"; import layoutUpdateSagas from "sagas/AutoLayoutUpdateSagas"; import { watchDatasourcesSagas } from "sagas/DatasourcesSagas"; -import { watchJSActionSagas } from "@appsmith/sagas/JSActionSagas"; +import { watchJSActionSagas } from "ee/sagas/JSActionSagas"; import apiPaneSagas from "../src/sagas/ApiPaneSagas"; -import applicationSagas from "@appsmith/sagas/ApplicationSagas"; +import applicationSagas from "ee/sagas/ApplicationSagas"; import batchSagas from "../src/sagas/BatchSagas"; import draggingCanvasSagas from "../src/sagas/CanvasSagas/DraggingCanvasSagas"; import selectionCanvasSagas from "../src/sagas/CanvasSagas/SelectionCanvasSagas"; diff --git a/app/client/test/testCommon.ts b/app/client/test/testCommon.ts index 305f3079a3b7..0baeccc4da48 100644 --- a/app/client/test/testCommon.ts +++ b/app/client/test/testCommon.ts @@ -1,16 +1,16 @@ -import type { Page } from "@appsmith/constants/ReduxActionConstants"; -import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants"; +import type { Page } from "ee/constants/ReduxActionConstants"; +import { ReduxActionTypes } from "ee/constants/ReduxActionConstants"; import { initEditorAction } from "actions/initActions"; import { setAppMode, updateCurrentPage } from "actions/pageActions"; import { APP_MODE } from "entities/App"; import { useDispatch } from "react-redux"; import type { CanvasWidgetsReduxState } from "reducers/entityReducers/canvasWidgetsReducer"; -import { getCanvasWidgetsPayload } from "@appsmith/sagas/PageSagas"; +import { getCanvasWidgetsPayload } from "ee/sagas/PageSagas"; import { editorInitializer } from "utils/editor/EditorUtils"; import { extractCurrentDSL } from "utils/WidgetPropsUtils"; -import type { AppState } from "@appsmith/reducers"; -import type { WidgetEntity } from "@appsmith/entities/DataTree/types"; -import urlBuilder from "@appsmith/entities/URLRedirect/URLAssembly"; +import type { AppState } from "ee/reducers"; +import type { WidgetEntity } from "ee/entities/DataTree/types"; +import urlBuilder from "ee/entities/URLRedirect/URLAssembly"; import type { FlattenedWidgetProps } from "reducers/entityReducers/canvasWidgetsStructureReducer"; const pageId = "0123456789abcdef00000000"; diff --git a/app/client/test/testMockedWidgets.tsx b/app/client/test/testMockedWidgets.tsx index 219f02a1ef10..d4cd005133f9 100644 --- a/app/client/test/testMockedWidgets.tsx +++ b/app/client/test/testMockedWidgets.tsx @@ -4,7 +4,7 @@ import Canvas from "pages/Editor/Canvas"; import IDE from "pages/Editor/IDE"; import React from "react"; import { useSelector } from "react-redux"; -import { getCanvasWidgetsStructure } from "@appsmith/selectors/entitiesSelector"; +import { getCanvasWidgetsStructure } from "ee/selectors/entitiesSelector"; import { useMockDsl } from "./testCommon"; export function MockCanvas() { diff --git a/app/client/test/testUtils.tsx b/app/client/test/testUtils.tsx index cbe26265e8bf..9b99d698bb90 100644 --- a/app/client/test/testUtils.tsx +++ b/app/client/test/testUtils.tsx @@ -7,17 +7,17 @@ import { ThemeProvider } from "styled-components"; import { getCurrentThemeDetails } from "selectors/themeSelectors"; import * as customQueries from "./customQueries"; import { BrowserRouter } from "react-router-dom"; -import type { AppState } from "@appsmith/reducers"; -import appReducer from "@appsmith/reducers"; +import type { AppState } from "ee/reducers"; +import appReducer from "ee/reducers"; import { applyMiddleware, compose, createStore } from "redux"; import { reduxBatch } from "@manaflair/redux-batch"; import createSagaMiddleware from "redux-saga"; import store, { testStore } from "store"; import { sagasToRunForTests } from "./sagas"; import { all, call, spawn } from "redux-saga/effects"; -import type { FeatureFlags } from "@appsmith/entities/FeatureFlag"; +import type { FeatureFlags } from "ee/entities/FeatureFlag"; import { fetchFeatureFlagsSuccess } from "../src/actions/userActions"; -import { DEFAULT_FEATURE_FLAG_VALUE } from "@appsmith/entities/FeatureFlag"; +import { DEFAULT_FEATURE_FLAG_VALUE } from "ee/entities/FeatureFlag"; const testSagaMiddleware = createSagaMiddleware(); diff --git a/app/client/tsconfig.path.json b/app/client/tsconfig.path.json index 37c086c0c1a6..8b0f2c60fe95 100644 --- a/app/client/tsconfig.path.json +++ b/app/client/tsconfig.path.json @@ -1,7 +1,7 @@ { "compilerOptions": { "paths": { - "@appsmith/*": ["ee/*"], + "ee/*": ["ee/*"], "test/*": ["../test/*"] } } diff --git a/app/client/yarn.lock b/app/client/yarn.lock index e88d704f3adc..65b8e2c61671 100644 --- a/app/client/yarn.lock +++ b/app/client/yarn.lock @@ -174,6 +174,60 @@ __metadata: languageName: node linkType: hard +"@appsmith/ads-old@workspace:^, @appsmith/ads-old@workspace:packages/design-system/ads-old": + version: 0.0.0-use.local + resolution: "@appsmith/ads-old@workspace:packages/design-system/ads-old" + dependencies: + "@types/loadable__component": ^5.13.4 + "@types/react-form": ^4.0.2 + "@types/wait-on": ^5.2.0 + concurrently: ^7.3.0 + emoji-mart: 3.0.1 + identity-obj-proxy: 3.0.0 + react-toastify: ^5.5.0 + wait-on: ^5.3.0 + languageName: unknown + linkType: soft + +"@appsmith/ads@workspace:^, @appsmith/ads@workspace:packages/design-system/ads": + version: 0.0.0-use.local + resolution: "@appsmith/ads@workspace:packages/design-system/ads" + dependencies: + "@radix-ui/react-dialog": ^1.0.2 + "@radix-ui/react-dropdown-menu": ^2.0.4 + "@radix-ui/react-hover-card": ^1.0.7 + "@radix-ui/react-popover": ^1.0.6 + "@radix-ui/react-tabs": ^1.0.2 + "@react-aria/button": ^3.7.0 + "@react-aria/checkbox": ^3.7.1 + "@react-aria/focus": ^3.10.1 + "@react-aria/link": ^3.3.6 + "@react-aria/radio": ^3.4.2 + "@react-aria/switch": ^3.3.1 + "@react-aria/textfield": ^3.8.1 + "@react-stately/radio": ^3.6.2 + "@react-stately/toggle": ^3.4.4 + "@react-types/button": ^3.7.0 + "@types/loadable__component": ^5.13.4 + "@types/react-datepicker": ^4.10.0 + "@xstyled/styled-components": ^3.8.0 + axe-core: ^4.7.2 + concurrently: ^8.2.0 + csstype: ^3.1.2 + date-fns: ^2.29.3 + file-loader: 6.2.0 + normalize.css: ^8.0.1 + overlayscrollbars: ^2.7.2 + overlayscrollbars-react: ^0.5.6 + rc-select: ^14.4.3 + rc-table: ^7.35.2 + rc-tooltip: ^5.3.1 + react-datepicker: ^4.10.0 + react-toastify: 9.0.3 + remark-gfm: ^3.0.1 + languageName: unknown + linkType: soft + "@aws-crypto/crc32@npm:5.2.0": version: 5.2.0 resolution: "@aws-crypto/crc32@npm:5.2.0" @@ -10291,16 +10345,16 @@ __metadata: languageName: node linkType: hard -"@tinymce/tinymce-react@npm:^5.0.0": - version: 5.0.0 - resolution: "@tinymce/tinymce-react@npm:5.0.0" +"@tinymce/tinymce-react@npm:^5.1.1": + version: 5.1.1 + resolution: "@tinymce/tinymce-react@npm:5.1.1" dependencies: prop-types: ^15.6.2 tinymce: ^7.0.0 || ^6.0.0 || ^5.5.1 peerDependencies: react: ^18.0.0 || ^17.0.1 || ^16.7.0 react-dom: ^18.0.0 || ^17.0.1 || ^16.7.0 - checksum: f22d7ab785c39d43174b98d978ce1e665c525b0504c0904922aa11527b7517466dde36af0ca3123a2b7ff24418a5ce403b50ec18b9228c7cf83670d2c8566db4 + checksum: 80cb97203f8dbe2a9c0cedd46aec8cb37f233932567fe4e5e283d6f65b1c0b25e6cbc33a69a3af7554d06875f809740f1e5a1000474702ec24ed69c7e7dcf2d9 languageName: node linkType: hard @@ -13100,6 +13154,8 @@ __metadata: version: 0.0.0-use.local resolution: "appsmith@workspace:." dependencies: + "@appsmith/ads": "workspace:^" + "@appsmith/ads-old": "workspace:^" "@aws-sdk/client-s3": ^3.622.0 "@aws-sdk/lib-storage": ^3.622.0 "@babel/helper-create-regexp-features-plugin": ^7.18.6 @@ -13150,7 +13206,7 @@ __metadata: "@testing-library/react": 12.1.2 "@testing-library/react-hooks": ^8.0.1 "@testing-library/user-event": 13.5.0 - "@tinymce/tinymce-react": ^5.0.0 + "@tinymce/tinymce-react": ^5.1.1 "@types/babel__standalone": ^7.1.7 "@types/codemirror": ^0.0.96 "@types/cypress-image-snapshot": ^3.1.9 @@ -13252,8 +13308,6 @@ __metadata: d3-geo: ^3.1.0 dayjs: ^1.10.6 deep-diff: ^1.0.2 - design-system: "workspace:^" - design-system-old: "workspace:^" diff: ^5.0.0 dotenv: ^8.1.0 downloadjs: ^1.4.7 @@ -17420,60 +17474,6 @@ __metadata: languageName: node linkType: hard -"design-system-old@workspace:^, design-system-old@workspace:packages/design-system/ads-old": - version: 0.0.0-use.local - resolution: "design-system-old@workspace:packages/design-system/ads-old" - dependencies: - "@types/loadable__component": ^5.13.4 - "@types/react-form": ^4.0.2 - "@types/wait-on": ^5.2.0 - concurrently: ^7.3.0 - emoji-mart: 3.0.1 - identity-obj-proxy: 3.0.0 - react-toastify: ^5.5.0 - wait-on: ^5.3.0 - languageName: unknown - linkType: soft - -"design-system@workspace:^, design-system@workspace:packages/design-system/ads": - version: 0.0.0-use.local - resolution: "design-system@workspace:packages/design-system/ads" - dependencies: - "@radix-ui/react-dialog": ^1.0.2 - "@radix-ui/react-dropdown-menu": ^2.0.4 - "@radix-ui/react-hover-card": ^1.0.7 - "@radix-ui/react-popover": ^1.0.6 - "@radix-ui/react-tabs": ^1.0.2 - "@react-aria/button": ^3.7.0 - "@react-aria/checkbox": ^3.7.1 - "@react-aria/focus": ^3.10.1 - "@react-aria/link": ^3.3.6 - "@react-aria/radio": ^3.4.2 - "@react-aria/switch": ^3.3.1 - "@react-aria/textfield": ^3.8.1 - "@react-stately/radio": ^3.6.2 - "@react-stately/toggle": ^3.4.4 - "@react-types/button": ^3.7.0 - "@types/loadable__component": ^5.13.4 - "@types/react-datepicker": ^4.10.0 - "@xstyled/styled-components": ^3.8.0 - axe-core: ^4.7.2 - concurrently: ^8.2.0 - csstype: ^3.1.2 - date-fns: ^2.29.3 - file-loader: 6.2.0 - normalize.css: ^8.0.1 - overlayscrollbars: ^2.7.2 - overlayscrollbars-react: ^0.5.6 - rc-select: ^14.4.3 - rc-table: ^7.35.2 - rc-tooltip: ^5.3.1 - react-datepicker: ^4.10.0 - react-toastify: 9.0.3 - remark-gfm: ^3.0.1 - languageName: unknown - linkType: soft - "destroy@npm:1.2.0": version: 1.2.0 resolution: "destroy@npm:1.2.0" @@ -33834,9 +33834,9 @@ __metadata: linkType: hard "tinymce@npm:^7.0.0 || ^6.0.0 || ^5.5.1": - version: 7.0.0 - resolution: "tinymce@npm:7.0.0" - checksum: 1f2dc383c1c6f4efb8d3f4223577a8f2b450f6cc62b2861c80467495d68c2453cbd8b646416a0376282fb0b6341c194c698503149037347133b7b936fb7c717b + version: 7.2.1 + resolution: "tinymce@npm:7.2.1" + checksum: 0e154d70888d7f4f086783b17b4c1e7eb5b9a3de8fe7e6e4d2336cb2cbced23dffcb87e5124b035c1a70792a778006fdf83447d610431ae62e72f8b568709cde languageName: node linkType: hard diff --git a/app/server/appsmith-git/src/test/resources/DSLWidget/AllWidgetsDSL.json b/app/server/appsmith-git/src/test/resources/DSLWidget/AllWidgetsDSL.json index 368bdd20b8b2..5b8722967bb3 100644 --- a/app/server/appsmith-git/src/test/resources/DSLWidget/AllWidgetsDSL.json +++ b/app/server/appsmith-git/src/test/resources/DSLWidget/AllWidgetsDSL.json @@ -24,12 +24,7 @@ "widgetName": "Audio1", "displayName": "Audio", "iconSVG": "/static/media/icon.90965be2578a5c1c8e2996b65e5b6988.svg", - "searchTags": [ - "mp3", - "sound", - "wave", - "player" - ], + "searchTags": ["mp3", "sound", "wave", "player"], "topRow": 43, "bottomRow": 47, "parentRowSpace": 10, @@ -49,9 +44,7 @@ "version": 1, "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3", "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -67,10 +60,7 @@ "widgetName": "AudioRecorder1", "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.c7fb58d71a30a6fbe9c922faae21e621.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 12, "bottomRow": 19, "parentRowSpace": 10, @@ -98,9 +88,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "External" - ], + "tags": ["External"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -117,10 +105,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 20, "bottomRow": 24, "parentRowSpace": 10, @@ -150,9 +135,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -170,10 +153,7 @@ "isCanvas": false, "displayName": "Button Group", "iconSVG": "/static/media/icon.bb8db4853027d74a78963c3375841e4b.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -282,9 +262,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 12, @@ -305,10 +283,7 @@ "isCanvas": false, "displayName": "Camera", "iconSVG": "/static/media/icon.c18f801ae183dba33c7a61ea80204a5d.svg", - "searchTags": [ - "photo", - "video recorder" - ], + "searchTags": ["photo", "video recorder"], "topRow": 11, "bottomRow": 44, "parentRowSpace": 10, @@ -332,9 +307,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "External" - ], + "tags": ["External"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 11, @@ -348,9 +321,7 @@ "displayName": "Category Slider", "iconSVG": "/static/media/icon.f4e7e4a6fc4a57659f2d2e736486e335.svg", "labelText": "Size", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 9, "bottomRow": 17, "parentRowSpace": 10, @@ -403,9 +374,7 @@ "shouldScroll": false, "version": 1, "parentId": "0", - "tags": [ - "Sliders" - ], + "tags": ["Sliders"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -421,11 +390,7 @@ "allowScroll": false, "displayName": "Chart", "iconSVG": "/static/media/icon.8eea39845729f7f4bfadeecd3810a09d.svg", - "searchTags": [ - "graph", - "visuals", - "visualisations" - ], + "searchTags": ["graph", "visuals", "visualisations"], "topRow": 48, "bottomRow": 80, "parentRowSpace": 10, @@ -526,9 +491,7 @@ "version": 1, "parentId": "0", "labelOrientation": "auto", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 48, @@ -585,18 +548,14 @@ "isRequired": false, "isDeprecated": false, "rightColumn": 24, - "defaultSelectedValues": [ - "BLUE" - ], + "defaultSelectedValues": ["BLUE"], "dynamicHeight": "AUTO_HEIGHT", "widgetId": "81rbplna8n", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 2, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -651,9 +610,7 @@ "label": "Scan a QR/Barcode", "version": 1, "parentId": "0", - "tags": [ - "External" - ], + "tags": ["External"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 49, @@ -691,18 +648,13 @@ "isVisible": true, "allowCurrencyChange": false, "version": 1, - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 11, "widgetName": "CurrencyInput1", "displayName": "Currency Input", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, @@ -753,9 +705,7 @@ "isVisible": true, "datePickerType": "DATE_PICKER", "version": 2, - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "isLoading": false, "timePrecision": "minute", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", @@ -764,9 +714,7 @@ "widgetName": "DatePicker1", "minDate": "1920-12-31T18:30:00.000Z", "displayName": "DatePicker", - "searchTags": [ - "calendar" - ], + "searchTags": ["calendar"], "bottomRow": 21, "shortcuts": false, "parentRowSpace": 10, @@ -799,9 +747,7 @@ "thickness": 2, "displayName": "Divider", "iconSVG": "/static/media/icon.3b7d47d7bd70da418a827287042cbb7f.svg", - "searchTags": [ - "line" - ], + "searchTags": ["line"], "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, @@ -825,9 +771,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 27, @@ -840,9 +784,7 @@ "isCanvas": false, "displayName": "Document Viewer", "iconSVG": "/static/media/icon.9a94cf630fee10d87605f8b185b2e979.svg", - "searchTags": [ - "pdf" - ], + "searchTags": ["pdf"], "topRow": 43, "bottomRow": 83, "parentRowSpace": 10, @@ -860,9 +802,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 43, @@ -877,9 +817,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "FilePicker", "iconSVG": "/static/media/icon.715769b31db833b32f40d9c90ec02de3.svg", - "searchTags": [ - "upload" - ], + "searchTags": ["upload"], "topRow": 24, "bottomRow": 28, "parentRowSpace": 10, @@ -913,9 +851,7 @@ "version": 1, "fileDataType": "Base64", "parentId": "0", - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "selectedFiles": [], "renderMode": "CANVAS", "isLoading": false, @@ -933,10 +869,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 31, "bottomRow": 35, "parentRowSpace": 10, @@ -964,9 +897,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 31, @@ -983,9 +914,7 @@ "isCanvas": true, "displayName": "Form", "iconSVG": "/static/media/icon.e17c486a34778f3bae299c9110e00cf6.svg", - "searchTags": [ - "group" - ], + "searchTags": ["group"], "topRow": 19, "bottomRow": 58, "parentRowSpace": 10, @@ -1026,11 +955,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 7, "type": "TEXT_WIDGET", @@ -1066,10 +991,7 @@ "textColor": "#231F20", "version": 1, "parentId": "04njyajzxp", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -1090,10 +1012,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 33, "bottomRow": 37, "type": "BUTTON_WIDGET", @@ -1121,9 +1040,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "04njyajzxp", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 33, @@ -1142,10 +1059,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 33, "bottomRow": 37, "type": "BUTTON_WIDGET", @@ -1173,9 +1087,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "04njyajzxp", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 33, @@ -1216,9 +1128,7 @@ "minWidth": 450, "isVisible": true, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 19, @@ -1236,9 +1146,7 @@ "widgetName": "Iframe1", "displayName": "Iframe", "iconSVG": "/static/media/icon.a84667dbdc548d14f7c83df551151550.svg", - "searchTags": [ - "embed" - ], + "searchTags": ["embed"], "topRow": 4, "bottomRow": 9, "parentRowSpace": 10, @@ -1266,9 +1174,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4, @@ -1307,9 +1213,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 17, @@ -1345,21 +1249,13 @@ "showStepArrows": false, "isVisible": true, "version": 2, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 8, "widgetName": "Input1", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 8, "parentRowSpace": 10, "autoFocus": false, @@ -1449,11 +1345,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 0, "bottomRow": 12, "dragDisabled": true, @@ -1520,9 +1412,7 @@ "isVisible": true, "version": 1, "parentId": "xm0ckgqeyy", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -1538,11 +1428,7 @@ "widgetName": "Text2", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", @@ -1585,10 +1471,7 @@ "textColor": "#231F20", "version": 1, "parentId": "xm0ckgqeyy", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -1606,11 +1489,7 @@ "widgetName": "Text3", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 4, "bottomRow": 8, "type": "TEXT_WIDGET", @@ -1653,10 +1532,7 @@ "textColor": "#231F20", "version": 1, "parentId": "xm0ckgqeyy", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4, @@ -1701,17 +1577,13 @@ "version": 1, "isListItemContainer": true, "parentId": "xtwcksp011", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, "responsiveBehavior": "fill", "noContainerOffset": true, - "disabledWidgetFeatures": [ - "dynamicHeight" - ], + "disabledWidgetFeatures": ["dynamicHeight"], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileLeftColumn": 0, "maxDynamicHeight": 9000, @@ -1739,10 +1611,7 @@ "itemBackgroundColor": "#FFFFFF", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "hasMetaWidgets": true, "isLoading": false, "mainCanvasId": "xtwcksp011", @@ -1847,9 +1716,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Content" - ], + "tags": ["Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 58, @@ -1909,11 +1776,7 @@ "isCanvas": false, "displayName": "Map Chart", "iconSVG": "/static/media/icon.8676a101f7a7b525c93961a5fc154938.svg", - "searchTags": [ - "graph", - "visuals", - "visualisations" - ], + "searchTags": ["graph", "visuals", "visualisations"], "topRow": 86, "bottomRow": 118, "parentRowSpace": 10, @@ -1944,9 +1807,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 86, @@ -2015,9 +1876,7 @@ "label": "Open Menu", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 85, @@ -2034,11 +1893,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 91, "bottomRow": 331, "parentRowSpace": 10, @@ -2080,10 +1935,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -2110,9 +1962,7 @@ "isVisible": true, "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -2126,11 +1976,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -2166,10 +2012,7 @@ "textColor": "#231F20", "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -2189,10 +2032,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2221,9 +2061,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2242,10 +2080,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2274,9 +2109,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2317,9 +2150,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 91, @@ -2336,11 +2167,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 132, "bottomRow": 372, "parentRowSpace": 10, @@ -2382,10 +2209,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -2412,9 +2236,7 @@ "isVisible": true, "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -2428,11 +2250,7 @@ "widgetName": "Text5", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -2468,10 +2286,7 @@ "textColor": "#231F20", "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -2491,10 +2306,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2523,9 +2335,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2544,10 +2354,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2576,9 +2383,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2619,9 +2424,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 132, @@ -2639,9 +2442,7 @@ "labelWidth": 5, "type": "MULTI_SELECT_TREE_WIDGET", "mode": "SHOW_ALL", - "defaultOptionValue": [ - "GREEN" - ], + "defaultOptionValue": ["GREEN"], "animateLoading": true, "leftColumn": 0, "dynamicBindingPathList": [ @@ -2684,19 +2485,14 @@ "isVisible": true, "version": 1, "expandAll": false, - "tags": [ - "Select" - ], + "tags": ["Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 136, "mobileBottomRow": 136, "widgetName": "MultiTreeSelect1", "displayName": "Multi TreeSelect", - "searchTags": [ - "dropdown", - "multiselecttree" - ], + "searchTags": ["dropdown", "multiselecttree"], "bottomRow": 136, "parentRowSpace": 10, "hideCard": false, @@ -2728,10 +2524,7 @@ "labelWidth": 5, "type": "MULTI_SELECT_WIDGET_V2", "serverSideFiltering": false, - "defaultOptionValue": [ - "GREEN", - "RED" - ], + "defaultOptionValue": ["GREEN", "RED"], "animateLoading": true, "leftColumn": 9, "dynamicBindingPathList": [ @@ -2749,9 +2542,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Select" - ], + "tags": ["Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 137, @@ -2759,10 +2550,7 @@ "widgetName": "MultiSelect1", "isFilterable": true, "displayName": "MultiSelect", - "searchTags": [ - "dropdown", - "tags" - ], + "searchTags": ["dropdown", "tags"], "bottomRow": 137, "parentRowSpace": 10, "hideCard": false, @@ -2809,9 +2597,7 @@ "iconSVG": "/static/media/icon.0e730017fc6034faa535c7c3ff261daa.svg", "tooltipAlwaysOn": false, "labelText": "Percentage", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 121, "bottomRow": 129, "parentRowSpace": 10, @@ -2857,9 +2643,7 @@ "shouldScroll": false, "version": 1, "parentId": "0", - "tags": [ - "Sliders" - ], + "tags": ["Sliders"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -2895,17 +2679,13 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 101, "widgetName": "PhoneInput1", "displayName": "Phone Input", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "bottomRow": 101, "parentRowSpace": 10, "defaultDialCode": "+1", @@ -2941,9 +2721,7 @@ "isCanvas": false, "displayName": "Progress", "iconSVG": "/static/media/icon.d957681553199f5445fe4fb3038b7a64.svg", - "searchTags": [ - "percent" - ], + "searchTags": ["percent"], "topRow": 140, "bottomRow": 144, "parentRowSpace": 10, @@ -2972,9 +2750,7 @@ "steps": 1, "version": 1, "parentId": "0", - "tags": [ - "Content" - ], + "tags": ["Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 140, @@ -2991,9 +2767,7 @@ "widgetName": "RadioGroup1", "displayName": "Radio Group", "iconSVG": "/static/media/icon.99c101b3b70073f9c00e9af6523f9427.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 140, "bottomRow": 153, "parentRowSpace": 10, @@ -3034,9 +2808,7 @@ "label": "Label", "version": 1, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -3068,9 +2840,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Sliders" - ], + "tags": ["Sliders"], "isLoading": false, "originalBottomRow": 166, "minRange": 5, @@ -3123,10 +2893,7 @@ "widgetName": "Rating1", "displayName": "Rating", "iconSVG": "/static/media/icon.2281d0260761c25b3504117eddb50d8d.svg", - "searchTags": [ - "stars", - "rate" - ], + "searchTags": ["stars", "rate"], "topRow": 154, "bottomRow": 158, "parentRowSpace": 10, @@ -3153,9 +2920,7 @@ "widgetId": "m2hxtimc8p", "isVisible": true, "parentId": "0", - "tags": [ - "Content" - ], + "tags": ["Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 147, @@ -3168,13 +2933,7 @@ "isAllowHalf": false, "originalBottomRow": 158, "minDynamicHeight": 4, - "tooltips": [ - "Terrible", - "Bad", - "Neutral", - "Good", - "Great" - ] + "tooltips": ["Terrible", "Bad", "Neutral", "Good", "Great"] }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", @@ -3183,10 +2942,7 @@ "displayName": "Rich Text Editor", "iconSVG": "/static/media/icon.074d534389d0f6262ecfbd8e81539d08.svg", "labelText": "Label", - "searchTags": [ - "input", - "rte" - ], + "searchTags": ["input", "rte"], "topRow": 145, "bottomRow": 165, "parentRowSpace": 10, @@ -3219,9 +2975,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -3261,19 +3015,14 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Suggested", - "Select" - ], + "tags": ["Suggested", "Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 110, "widgetName": "Select1", "isFilterable": true, "displayName": "Select", - "searchTags": [ - "dropdown" - ], + "searchTags": ["dropdown"], "bottomRow": 110, "parentRowSpace": 10, "hideCard": false, @@ -3319,9 +3068,7 @@ "isCanvas": true, "displayName": "Stats Box", "iconSVG": "/static/media/icon.182a90a0c52d97288bf067cc9c4186d4.svg", - "searchTags": [ - "statbox" - ], + "searchTags": ["statbox"], "topRow": 125, "bottomRow": 140, "parentRowSpace": 10, @@ -3362,11 +3109,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", @@ -3402,10 +3145,7 @@ "textColor": "#999999", "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -3421,11 +3161,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 4, "bottomRow": 8, "type": "TEXT_WIDGET", @@ -3461,10 +3197,7 @@ "textColor": "#231F20", "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4, @@ -3482,10 +3215,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 2, "bottomRow": 10, "type": "ICON_BUTTON_WIDGET", @@ -3512,9 +3242,7 @@ "isVisible": true, "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 2, @@ -3528,11 +3256,7 @@ "widgetName": "Text8", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 8, "bottomRow": 13, "type": "TEXT_WIDGET", @@ -3568,10 +3292,7 @@ "textColor": "#03B365", "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 8, @@ -3613,9 +3334,7 @@ "widgetId": "16h9hj28au", "isVisible": true, "parentId": "0", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 125, @@ -3633,9 +3352,7 @@ "widgetName": "Switch1", "displayName": "Switch", "iconSVG": "/static/media/icon.afbd826fee9d09b12c5cde30a8c6fe62.svg", - "searchTags": [ - "boolean" - ], + "searchTags": ["boolean"], "topRow": 126, "bottomRow": 130, "parentRowSpace": 10, @@ -3664,9 +3381,7 @@ "defaultSwitchState": true, "version": 1, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 126, @@ -3718,18 +3433,14 @@ "isRequired": false, "isDeprecated": false, "rightColumn": 36, - "defaultSelectedValues": [ - "BLUE" - ], + "defaultSelectedValues": ["BLUE"], "dynamicHeight": "AUTO_HEIGHT", "widgetId": "lahfh6aqh8", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -3877,9 +3588,7 @@ "isVisible": true, "version": 3, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 173, @@ -3896,11 +3605,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 171, "bottomRow": 175, "parentRowSpace": 10, @@ -3941,10 +3646,7 @@ "textColor": "#231F20", "version": 1, "parentId": "0", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 171, @@ -4007,19 +3709,14 @@ "isVisible": true, "version": 1, "expandAll": false, - "tags": [ - "Select" - ], + "tags": ["Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 207, "mobileBottomRow": 207, "widgetName": "TreeSelect1", "displayName": "TreeSelect", - "searchTags": [ - "dropdown", - "singleselecttree" - ], + "searchTags": ["dropdown", "singleselecttree"], "bottomRow": 207, "parentRowSpace": 10, "hideCard": false, @@ -4049,9 +3746,7 @@ "widgetName": "Video1", "displayName": "Video", "iconSVG": "/static/media/icon.e3e5dfc92ff10e68a8a2b3c94ab4a4a4.svg", - "searchTags": [ - "youtube" - ], + "searchTags": ["youtube"], "topRow": 199, "bottomRow": 227, "parentRowSpace": 10, @@ -4078,9 +3773,7 @@ "version": 1, "url": "https://assets.appsmith.com/widgets/bird.mp4", "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 199, @@ -4122,10 +3815,7 @@ "enableClientSideSearch": true, "version": 2, "totalRecordsCount": 0, - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "isLoading": false, "childStylesheet": { "button": { @@ -4153,9 +3843,7 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "columnUpdatedAt": 1691735653044, "originalBottomRow": 260, - "defaultSelectedRowIndices": [ - 0 - ], + "defaultSelectedRowIndices": [0], "mobileBottomRow": 260, "widgetName": "Table1", "defaultPageSize": 0, @@ -4192,4 +3880,4 @@ "verticalAlignment": "CENTER" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-git/src/test/resources/DSLWidget/TabWidgetNestedChildren.json b/app/server/appsmith-git/src/test/resources/DSLWidget/TabWidgetNestedChildren.json index 3f30930c550d..9d7a862c2889 100644 --- a/app/server/appsmith-git/src/test/resources/DSLWidget/TabWidgetNestedChildren.json +++ b/app/server/appsmith-git/src/test/resources/DSLWidget/TabWidgetNestedChildren.json @@ -74,10 +74,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 2, "bottomRow": 6, "parentRowSpace": 10, @@ -107,9 +104,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "p0x6x4f231", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 2, @@ -184,18 +179,13 @@ "isVisible": true, "allowCurrencyChange": false, "version": 1, - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 9, "widgetName": "CurrencyInput1", "displayName": "Currency Input", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, @@ -274,9 +264,7 @@ "isVisible": true, "version": 3, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 37, @@ -289,4 +277,4 @@ "minDynamicHeight": 15 } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ApplicationSpan.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ApplicationSpan.java new file mode 100644 index 000000000000..43353099352d --- /dev/null +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ApplicationSpan.java @@ -0,0 +1,5 @@ +package com.appsmith.external.constants.spans; + +import com.appsmith.external.constants.spans.ce.ApplicationSpanCE; + +public class ApplicationSpan extends ApplicationSpanCE {} diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/PageSpan.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/PageSpan.java new file mode 100644 index 000000000000..5fb8324be904 --- /dev/null +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/PageSpan.java @@ -0,0 +1,5 @@ +package com.appsmith.external.constants.spans; + +import com.appsmith.external.constants.spans.ce.PageSpanCE; + +public class PageSpan extends PageSpanCE {} diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/ActionSpanCE.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/ActionSpanCE.java index 23f3f985622a..42c2e3753f23 100644 --- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/ActionSpanCE.java +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/ActionSpanCE.java @@ -1,6 +1,8 @@ package com.appsmith.external.constants.spans.ce; import static com.appsmith.external.constants.spans.BaseSpan.APPSMITH_SPAN_PREFIX; +import static com.appsmith.external.constants.spans.ConsolidatedApiSpanNames.CONSOLIDATED_API_PREFIX; +import static com.appsmith.external.constants.spans.ConsolidatedApiSpanNames.VIEW; /** * Please make sure that all span names start with `appsmith.` because span with any other naming format would get @@ -8,6 +10,8 @@ */ public class ActionSpanCE { // Action execution spans + public static final String ACTIONS = "actions."; + public static final String ACTIONS_VIEW_MODE_PREFIX = CONSOLIDATED_API_PREFIX + VIEW + ACTIONS; public static final String ACTION_EXECUTION_REQUEST_PARSING = APPSMITH_SPAN_PREFIX + "request.parsing"; public static final String ACTION_EXECUTION_CACHED_DATASOURCE = APPSMITH_SPAN_PREFIX + "get.datasource.cached"; public static final String ACTION_EXECUTION_DATASOURCE_CONTEXT = APPSMITH_SPAN_PREFIX + "get.datasource.context"; @@ -19,4 +23,13 @@ public class ActionSpanCE { public static final String GET_UNPUBLISHED_ACTION = APPSMITH_SPAN_PREFIX + "get.action.unpublished"; public static final String GET_VIEW_MODE_ACTION = APPSMITH_SPAN_PREFIX + "get.action.viewmode"; public static final String GET_ACTION_REPOSITORY_CALL = APPSMITH_SPAN_PREFIX + "get.action.repository.call"; + public static final String VIEW_MODE_FILTER_ACTION = ACTIONS_VIEW_MODE_PREFIX + "filter"; + public static final String VIEW_MODE_SANITISE_ACTION = ACTIONS_VIEW_MODE_PREFIX + "sanitise"; + public static final String VIEW_MODE_INITIAL_ACTION = ACTIONS_VIEW_MODE_PREFIX + "initial"; + public static final String VIEW_MODE_FINAL_ACTION = ACTIONS_VIEW_MODE_PREFIX + "final"; + public static final String VIEW_MODE_SET_PLUGIN_ID_AND_TYPE_JS = ACTIONS_VIEW_MODE_PREFIX + "set_js"; + public static final String VIEW_MODE_SET_PLUGIN_ID_AND_TYPE_ACTION = ACTIONS_VIEW_MODE_PREFIX + "set_action"; + public static final String VIEW_MODE_FETCH_PLUGIN_FROM_DB = ACTIONS_VIEW_MODE_PREFIX + "plugindb"; + public static final String VIEW_MODE_FETCH_ACTIONS_FROM_DB = ACTIONS_VIEW_MODE_PREFIX + "fetchactions"; + public static final String VIEW_MODE_FETCH_ACTIONS_FROM_DB_QUERY = ACTIONS_VIEW_MODE_PREFIX + "actionsdb"; } diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/ApplicationSpanCE.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/ApplicationSpanCE.java new file mode 100644 index 000000000000..6e27900e5920 --- /dev/null +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/ApplicationSpanCE.java @@ -0,0 +1,7 @@ +package com.appsmith.external.constants.spans.ce; + +import static com.appsmith.external.constants.spans.ConsolidatedApiSpanNames.CONSOLIDATED_API_PREFIX; + +public class ApplicationSpanCE { + public static final String APPLICATION_FETCH_FROM_DB = CONSOLIDATED_API_PREFIX + "app_db"; +} diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/PageSpanCE.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/PageSpanCE.java new file mode 100644 index 000000000000..30e388b15796 --- /dev/null +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/constants/spans/ce/PageSpanCE.java @@ -0,0 +1,10 @@ +package com.appsmith.external.constants.spans.ce; + +import static com.appsmith.external.constants.spans.ConsolidatedApiSpanNames.CONSOLIDATED_API_PREFIX; + +public class PageSpanCE { + public static final String GET_PAGE = CONSOLIDATED_API_PREFIX + "getpage"; + public static final String GET_PAGE_WITHOUT_BRANCH = CONSOLIDATED_API_PREFIX + "without_branch"; + public static final String GET_PAGE_WITH_BRANCH = CONSOLIDATED_API_PREFIX + "with_branch"; + public static final String FETCH_PAGE_FROM_DB = CONSOLIDATED_API_PREFIX + "pagedb"; +} diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/BaseDomain.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/BaseDomain.java index 713225722f60..fcea678d0d69 100644 --- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/BaseDomain.java +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/BaseDomain.java @@ -20,10 +20,13 @@ import org.springframework.data.annotation.Transient; import org.springframework.data.domain.Persistable; import org.springframework.data.mongodb.core.index.Indexed; +import org.springframework.util.CollectionUtils; import java.io.Serializable; import java.time.Instant; +import java.util.HashMap; import java.util.HashSet; +import java.util.Map; import java.util.Set; /** @@ -75,6 +78,10 @@ public abstract class BaseDomain implements Persistable, AppsmithDomain, protected Instant deletedAt = null; @JsonView(Views.Internal.class) + protected Map policyMap = new HashMap<>(); + + @JsonView({Views.Internal.class}) + @Deprecated(forRemoval = true, since = "Use policyMap instead") protected Set policies = new HashSet<>(); @Override @@ -92,6 +99,66 @@ public boolean isDeleted() { @JsonView(Views.Public.class) public Set userPermissions = new HashSet<>(); + // TODO Abhijeet: Remove this method once we have migrated all the usages of policies to policyMap + /** + * An unmodifiable set of policies. + */ + @JsonView({Views.Internal.class}) + @Deprecated(forRemoval = true, since = "Use policyMap instead") + public Set getPolicies() { + if (!CollectionUtils.isEmpty(policies)) { + return policies; + } + return policyMap == null ? null : Set.copyOf(policyMap.values()); + } + + // TODO Abhijeet: Remove this method once we have migrated all the usages of policies to policyMap + @JsonView({Views.Internal.class}) + @Deprecated(forRemoval = true, since = "Use policyMap instead") + public void setPolicies(Set policies) { + setPolicies(policies, true); + } + + /** + * This method is used to set the policyMap and also nullify the policies field if required. This acts as a + * backward compatible method till we replace direct assignment to policyMap field. By default, from the codebase + * we expect that the policies field should be nullified, but the same is not true when triggered it from startup + * migrations till {@link Migration057PolicySetToPolicyMap} is executed. This is because we update the policies via: + * 1. The setter method + * 2. Direct assignment to the field (check {@link Migration042AddPermissionsForGitOperations}) + * The 2nd use-case is what makes it difficult to track and update policies in migrations. We thought of updating + * the policyMaps as well during these direct assignments but that would mean we are altering existing migrations + * which leaves the room for errors and is not a good practice. + * + * @param policies The set of policies to be set + * @param shouldNullifyPolicies A boolean flag to decide if the policies field should be nullified + */ + @JsonView({Views.Internal.class}) + @Deprecated(forRemoval = true, since = "Use policyMap instead") + public void setPolicies(Set policies, boolean shouldNullifyPolicies) { + if (!shouldNullifyPolicies) { + // This block should be used only for startup migrations to make sure we have the updated values in policies + // only, before running the migration to switch from policies to policyMap. + this.policies = policies; + this.policyMap = null; + return; + } + // Explicitly set policies to null as it is deprecated and should not be used. + this.policyMap = policySetToMap(policies); + this.policies = null; + } + + public static Map policySetToMap(Set policies) { + if (policies == null) { + return null; + } + Map policyMap = new HashMap<>(); + for (Policy policy : policies) { + policyMap.put(policy.getPermission(), policy); + } + return policyMap; + } + public void sanitiseToExportDBObject() { this.setCreatedAt(null); this.setUpdatedAt(null); @@ -106,8 +173,8 @@ public void makePristine() { // updating an existing document). If it contains any policies, they are also reset. this.setId(null); this.setUpdatedAt(null); - if (this.getPolicies() != null) { - this.getPolicies().clear(); + if (this.getPolicyMap() != null) { + this.getPolicyMap().clear(); } } diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java index ab71ebb2145d..52b4ea3e7335 100644 --- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java +++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java @@ -27,8 +27,10 @@ import org.springframework.data.annotation.Transient; import java.time.Instant; +import java.util.HashMap; import java.util.HashSet; import java.util.List; +import java.util.Map; import java.util.Set; @Getter @@ -147,7 +149,7 @@ public class ActionCE_DTO implements Identifiable, Executable { @Transient @JsonView(Views.Internal.class) - protected Set policies = new HashSet<>(); + protected Map policyMap = new HashMap<>(); @Transient @JsonView({Views.Public.class, FromRequest.class}) @@ -171,6 +173,29 @@ public class ActionCE_DTO implements Identifiable, Executable { @JsonView({Views.Internal.class}) private String branchName; + // TODO Abhijeet: Remove this method once we have migrated all the usages of policies to policyMap + /** + * An unmodifiable set of policies. + */ + @JsonView(Views.Internal.class) + @Deprecated(forRemoval = true, since = "Use policyMap instead") + public Set getPolicies() { + return policyMap == null ? null : Set.copyOf(policyMap.values()); + } + + @JsonView(Views.Internal.class) + @Deprecated(forRemoval = true, since = "Use policyMap instead") + public void setPolicies(Set policies) { + if (policies == null) { + this.policyMap = null; + return; + } + policyMap = new HashMap<>(); + for (Policy policy : policies) { + policyMap.put(policy.getPermission(), policy); + } + } + @Override @JsonView({Views.Internal.class}) public String getValidName() { @@ -218,10 +243,10 @@ public void sanitiseToExportDBObject() { } else { this.setUserPermissions(Set.of()); } - if (this.getPolicies() != null) { - this.getPolicies().clear(); + if (this.getPolicyMap() != null) { + this.getPolicyMap().clear(); } else { - this.setPolicies(Set.of()); + this.setPolicyMap(Map.of()); } } diff --git a/app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/list.json b/app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/list.json index e73fecf3e0a0..0a85b2df4e73 100644 --- a/app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/list.json +++ b/app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/list.json @@ -91,7 +91,9 @@ "value": "NO" } ], - "staticDependencyPathList": ["actionConfiguration.formData.list.expiry.data"] + "staticDependencyPathList": [ + "actionConfiguration.formData.list.expiry.data" + ] }, { "label": "Expiry duration of signed URL (minutes)", @@ -140,4 +142,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/chat.json b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/chat.json index f182d8a12566..46dded48fc07 100644 --- a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/chat.json +++ b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/chat.json @@ -75,7 +75,7 @@ { "label": "Role", "key": "role", - "controlType": "DROP_DOWN", + "controlType": "DROP_DOWN", "initialValue": "Human", "options": [ { diff --git a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/root.json b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/root.json index a5c1b0abaf5a..00213a57eae9 100644 --- a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/root.json +++ b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/root.json @@ -25,8 +25,5 @@ ] } ], - "files": [ - "chat.json", - "vision.json" - ] + "files": ["chat.json", "vision.json"] } diff --git a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/vision.json b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/vision.json index fcb9f75af2ee..5830fe8588f3 100644 --- a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/vision.json +++ b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/editor/vision.json @@ -71,7 +71,7 @@ { "label": "Role", "key": "role", - "controlType": "DROP_DOWN", + "controlType": "DROP_DOWN", "initialValue": "Human", "options": [ { diff --git a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/form.json index 257895c18508..ff3e846f4ac4 100644 --- a/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/anthropicPlugin/src/main/resources/form.json @@ -9,7 +9,7 @@ "description": "Select the authentication type to use", "configProperty": "datasourceConfiguration.authentication.authenticationType", "controlType": "DROP_DOWN", - "initialValue" : "apiKey", + "initialValue": "apiKey", "setFirstOptionAsDefault": true, "options": [ { @@ -39,5 +39,5 @@ ] } ], - "formButton" : ["TEST", "CANCEL", "SAVE"] + "formButton": ["TEST", "CANCEL", "SAVE"] } diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/form.json index 93ecae7222b2..c6c9989deb18 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/form.json @@ -32,7 +32,7 @@ "buttonLabel": "Upload Files", "configProperty": "datasourceConfiguration.properties[0].value", "controlType": "MULTIPLE_FILE_PICKER", - "labelVisibleWithFiles": "To use files, create a new AI query with \"Generate text\" action and select files under \"Use file context\" section. Using file context on AI queries will generate accurate responses that are grounded in file contents.", + "labelVisibleWithFiles": "To use files, create a new AI query with \"Generate text\" action and select files under \"Use file context\" section. Using file context on AI queries will generate accurate responses that are grounded in file contents.", "allowedFileTypes": [ "application/pdf", "text/plain", diff --git a/app/server/appsmith-plugins/arangoDBPlugin/src/main/resources/editor.json b/app/server/appsmith-plugins/arangoDBPlugin/src/main/resources/editor.json index 7896a10ac66b..b3ba061b6e95 100644 --- a/app/server/appsmith-plugins/arangoDBPlugin/src/main/resources/editor.json +++ b/app/server/appsmith-plugins/arangoDBPlugin/src/main/resources/editor.json @@ -12,4 +12,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/invoke.json b/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/invoke.json index ef5d12fab367..a6234eedaf5b 100644 --- a/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/invoke.json +++ b/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/invoke.json @@ -22,9 +22,7 @@ "placeholderText": "All function names will be fetched.", "fetchOptionsConditionally": true, "setFirstOptionAsDefault": true, - "alternateViewTypes": [ - "json" - ], + "alternateViewTypes": ["json"], "conditionals": { "enable": "{{true}}", "fetchDynamicValues": { @@ -64,9 +62,7 @@ "placeholderText": "", "fetchOptionsConditionally": false, "setFirstOptionAsDefault": true, - "alternateViewTypes": [ - "json" - ] + "alternateViewTypes": ["json"] }, { "label": "Post body", diff --git a/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json b/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json index b551e849d01f..5eda3741730f 100644 --- a/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json +++ b/app/server/appsmith-plugins/awsLambdaPlugin/src/main/resources/editor/root.json @@ -24,8 +24,5 @@ ] } ], - "files": [ - "list.json", - "invoke.json" - ] + "files": ["list.json", "invoke.json"] } diff --git a/app/server/appsmith-plugins/databricksPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/databricksPlugin/src/main/resources/form.json index 0bc2b04c8fb9..a84306c5f7e4 100644 --- a/app/server/appsmith-plugins/databricksPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/databricksPlugin/src/main/resources/form.json @@ -40,7 +40,7 @@ "dataType": "NUMBER", "controlType": "INPUT_TEXT", "placeholderText": "443", - "initialValue" : "443", + "initialValue": "443", "hidden": { "path": "datasourceConfiguration.properties[0].value", "comparison": "NOT_EQUALS", @@ -110,8 +110,8 @@ "label": "Authentication type", "configProperty": "datasourceConfiguration.authentication.authenticationType", "controlType": "INPUT_TEXT", - "initialValue" : "bearerToken", - "hidden" : true + "initialValue": "bearerToken", + "hidden": true }, { "label": "Personal access token", diff --git a/app/server/appsmith-plugins/dynamoPlugin/src/main/resources/editor.json b/app/server/appsmith-plugins/dynamoPlugin/src/main/resources/editor.json index b7237754a4f7..7c68efe4e071 100644 --- a/app/server/appsmith-plugins/dynamoPlugin/src/main/resources/editor.json +++ b/app/server/appsmith-plugins/dynamoPlugin/src/main/resources/editor.json @@ -13,7 +13,7 @@ "options": [ { "label": "BatchGetItem", - "value":"BatchGetItem" + "value": "BatchGetItem" }, { "label": "BatchWriteItem", diff --git a/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/deleteDocument.json b/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/deleteDocument.json index 414a7306aaa6..651fc4cd2943 100644 --- a/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/deleteDocument.json +++ b/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/deleteDocument.json @@ -1,10 +1,10 @@ { "identifier": "DELETE_DOCUMENT", - "controlType" : "SECTION", + "controlType": "SECTION", "conditionals": { "show": "{{actionConfiguration.formData.command.data === 'DELETE_DOCUMENT'}}" }, - "children" : [ + "children": [ { "label": "Collection/Document path", "configProperty": "actionConfiguration.formData.path.data", @@ -15,4 +15,4 @@ "initialValue": "" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/getDocument.json b/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/getDocument.json index 3ef9f596cad4..2f1aa00bfc35 100644 --- a/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/getDocument.json +++ b/app/server/appsmith-plugins/firestorePlugin/src/main/resources/editor/getDocument.json @@ -1,10 +1,10 @@ { "identifier": "GET_DOCUMENT", - "controlType" : "SECTION", + "controlType": "SECTION", "conditionals": { "show": "{{actionConfiguration.formData.command.data === 'GET_DOCUMENT'}}" }, - "children" : [ + "children": [ { "label": "Collection/Document path", "configProperty": "actionConfiguration.formData.path.data", @@ -14,4 +14,4 @@ "initialValue": "" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/generate.json b/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/generate.json index fc7442f2ea81..77b91621ed84 100644 --- a/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/generate.json +++ b/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/generate.json @@ -46,7 +46,7 @@ { "label": "Role", "key": "role", - "controlType": "DROP_DOWN", + "controlType": "DROP_DOWN", "initialValue": "user", "options": [ { diff --git a/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/root.json b/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/root.json index ad2467aedaca..63734eca3b2c 100644 --- a/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/root.json +++ b/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/editor/root.json @@ -21,7 +21,5 @@ ] } ], - "files": [ - "generate.json" - ] + "files": ["generate.json"] } diff --git a/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/form.json index 9f992ffe252c..371ecbdfae71 100644 --- a/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/googleAiPlugin/src/main/resources/form.json @@ -9,7 +9,7 @@ "description": "Select the authentication type to use", "configProperty": "datasourceConfiguration.authentication.authenticationType", "controlType": "DROP_DOWN", - "initialValue" : "apiKey", + "initialValue": "apiKey", "setFirstOptionAsDefault": true, "options": [ { @@ -39,5 +39,5 @@ ] } ], - "formButton" : ["TEST", "CANCEL", "SAVE"] + "formButton": ["TEST", "CANCEL", "SAVE"] } diff --git a/app/server/appsmith-plugins/googleSheetsPlugin/src/main/resources/dependency.json b/app/server/appsmith-plugins/googleSheetsPlugin/src/main/resources/dependency.json index 27d2ccb282f4..8ac490edd318 100644 --- a/app/server/appsmith-plugins/googleSheetsPlugin/src/main/resources/dependency.json +++ b/app/server/appsmith-plugins/googleSheetsPlugin/src/main/resources/dependency.json @@ -7,4 +7,4 @@ "actionConfiguration.formData.smartSubstitution.data" ] } -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/dependency.json b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/dependency.json index 36615638e86e..6ae07ff6a335 100644 --- a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/dependency.json +++ b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/dependency.json @@ -4,4 +4,4 @@ "actionConfiguration.formData.smartSubstitution.data" ] } -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/editor/raw.json b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/editor/raw.json index 281c56bba4e8..6829311c3817 100644 --- a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/editor/raw.json +++ b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/editor/raw.json @@ -1,6 +1,6 @@ { "identifier": "RAW", - "controlType" : "SECTION", + "controlType": "SECTION", "conditionals": { "show": "{{actionConfiguration.formData.command.data === 'RAW'}}" }, @@ -8,7 +8,7 @@ { "controlType": "SECTION", "label": "Query", - "description" : "Optional", + "description": "Optional", "children": [ { "label": "", @@ -33,4 +33,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/setting.json b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/setting.json index b4392c833f34..ad4d652db031 100644 --- a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/setting.json +++ b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/setting.json @@ -34,4 +34,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/templates/READ.json b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/templates/READ.json index 49ca131c9b96..97a5648564b4 100644 --- a/app/server/appsmith-plugins/mongoPlugin/src/main/resources/templates/READ.json +++ b/app/server/appsmith-plugins/mongoPlugin/src/main/resources/templates/READ.json @@ -7,4 +7,4 @@ "id": 1 }, "limit": 10 -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/dependency.json b/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/dependency.json index eb5f3a769e73..5953a9c44360 100644 --- a/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/dependency.json +++ b/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/dependency.json @@ -1,5 +1,7 @@ { - "dependencies" : { - "actionConfiguration.body" : ["actionConfiguration.pluginSpecifiedTemplates[0].value"] + "dependencies": { + "actionConfiguration.body": [ + "actionConfiguration.pluginSpecifiedTemplates[0].value" + ] } -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/form.json index 3480fedcf173..7731ac9421aa 100644 --- a/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/mssqlPlugin/src/main/resources/form.json @@ -10,7 +10,6 @@ "controlType": "SEGMENTED_CONTROL", "initialValue": "READ_WRITE", "options": [ - { "label": "Read / Write", "value": "READ_WRITE" diff --git a/app/server/appsmith-plugins/mysqlPlugin/src/main/resources/dependency.json b/app/server/appsmith-plugins/mysqlPlugin/src/main/resources/dependency.json index eb5f3a769e73..5953a9c44360 100644 --- a/app/server/appsmith-plugins/mysqlPlugin/src/main/resources/dependency.json +++ b/app/server/appsmith-plugins/mysqlPlugin/src/main/resources/dependency.json @@ -1,5 +1,7 @@ { - "dependencies" : { - "actionConfiguration.body" : ["actionConfiguration.pluginSpecifiedTemplates[0].value"] + "dependencies": { + "actionConfiguration.body": [ + "actionConfiguration.pluginSpecifiedTemplates[0].value" + ] } -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/embeddings.json b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/embeddings.json index 1831e114ac7f..362172f9dea1 100644 --- a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/embeddings.json +++ b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/embeddings.json @@ -35,7 +35,7 @@ { "label": "Input", "tooltipText": "Provide the string or array of strings", - "subtitle" : "Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays.", + "subtitle": "Input text to embed, encoded as a string or array of tokens. To embed multiple inputs in a single request, pass an array of strings or array of token arrays.", "propertyName": "input", "configProperty": "actionConfiguration.formData.input", "controlType": "QUERY_DYNAMIC_TEXT", @@ -45,7 +45,7 @@ { "label": "Encoding Format", "tooltipText": "Defaults to float", - "subtitle" : "The format to return the embeddings in. Can be either float or base64", + "subtitle": "The format to return the embeddings in. Can be either float or base64", "configProperty": "actionConfiguration.formData.encodingFormat", "controlType": "DROP_DOWN", "isRequired": false, diff --git a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/root.json b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/root.json index d63c9393038d..cdc832c9e96f 100644 --- a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/root.json +++ b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/root.json @@ -29,9 +29,5 @@ ] } ], - "files": [ - "chat.json", - "embeddings.json", - "vision.json" - ] + "files": ["chat.json", "embeddings.json", "vision.json"] } diff --git a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/vision.json b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/vision.json index 79ed3f4742b7..2a72bcbb932d 100644 --- a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/vision.json +++ b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/editor/vision.json @@ -85,7 +85,7 @@ "label": "Type", "key": "type", "controlType": "DROP_DOWN", - "initialValue": "text", + "initialValue": "text", "options": [ { "label": "Text", diff --git a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/form.json index 3aac5a4b30c3..a2c3b9151a64 100644 --- a/app/server/appsmith-plugins/openAiPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/openAiPlugin/src/main/resources/form.json @@ -9,7 +9,7 @@ "description": "Select the authentication type to use", "configProperty": "datasourceConfiguration.authentication.authenticationType", "controlType": "DROP_DOWN", - "initialValue" : "bearerToken", + "initialValue": "bearerToken", "setFirstOptionAsDefault": true, "options": [ { @@ -17,7 +17,7 @@ "value": "bearerToken" } ], - "hidden" : true + "hidden": true }, { "label": "API Key", @@ -39,5 +39,5 @@ ] } ], - "formButton" : ["TEST", "CANCEL", "SAVE"] + "formButton": ["TEST", "CANCEL", "SAVE"] } diff --git a/app/server/appsmith-plugins/oraclePlugin/src/main/resources/dependency.json b/app/server/appsmith-plugins/oraclePlugin/src/main/resources/dependency.json index 13f6cb345d04..587c15e16278 100755 --- a/app/server/appsmith-plugins/oraclePlugin/src/main/resources/dependency.json +++ b/app/server/appsmith-plugins/oraclePlugin/src/main/resources/dependency.json @@ -1,5 +1,7 @@ { - "dependencies" : { - "actionConfiguration.body" : ["actionConfiguration.formData.preparedStatement.data"] + "dependencies": { + "actionConfiguration.body": [ + "actionConfiguration.formData.preparedStatement.data" + ] } -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/postgresPlugin/src/main/resources/dependency.json b/app/server/appsmith-plugins/postgresPlugin/src/main/resources/dependency.json index eb5f3a769e73..5953a9c44360 100644 --- a/app/server/appsmith-plugins/postgresPlugin/src/main/resources/dependency.json +++ b/app/server/appsmith-plugins/postgresPlugin/src/main/resources/dependency.json @@ -1,5 +1,7 @@ { - "dependencies" : { - "actionConfiguration.body" : ["actionConfiguration.pluginSpecifiedTemplates[0].value"] + "dependencies": { + "actionConfiguration.body": [ + "actionConfiguration.pluginSpecifiedTemplates[0].value" + ] } -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/redisPlugin/src/main/resources/editor.json b/app/server/appsmith-plugins/redisPlugin/src/main/resources/editor.json index 28fc44800bb3..01a5cee41fdd 100644 --- a/app/server/appsmith-plugins/redisPlugin/src/main/resources/editor.json +++ b/app/server/appsmith-plugins/redisPlugin/src/main/resources/editor.json @@ -13,4 +13,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/editor.json b/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/editor.json index 28fc44800bb3..01a5cee41fdd 100644 --- a/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/editor.json +++ b/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/editor.json @@ -13,4 +13,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/form.json b/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/form.json index 7c0151fdae01..9413d3de9e48 100644 --- a/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/redshiftPlugin/src/main/resources/form.json @@ -10,7 +10,6 @@ "controlType": "SEGMENTED_CONTROL", "initialValue": "READ_WRITE", "options": [ - { "label": "Read / Write", "value": "READ_WRITE" diff --git a/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/root.json b/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/root.json index d7dbdc6c23b4..191cbf2a73bf 100644 --- a/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/root.json +++ b/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/root.json @@ -20,7 +20,5 @@ ] } ], - "files": [ - "send.json" - ] -} \ No newline at end of file + "files": ["send.json"] +} diff --git a/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/editor.json b/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/editor.json index 28fc44800bb3..01a5cee41fdd 100644 --- a/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/editor.json +++ b/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/editor.json @@ -13,4 +13,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/form.json b/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/form.json index 265cb6df3f07..28e0a3eb9324 100644 --- a/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/form.json +++ b/app/server/appsmith-plugins/snowflakePlugin/src/main/resources/form.json @@ -149,4 +149,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java index 37ddd8137184..b04292a75406 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java @@ -42,6 +42,7 @@ import com.appsmith.server.solutions.DatasourcePermission; import com.appsmith.server.solutions.PolicySolution; import com.appsmith.server.solutions.WorkspacePermission; +import io.micrometer.observation.ObservationRegistry; import jakarta.validation.Validator; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.ObjectUtils; @@ -50,6 +51,7 @@ import org.springframework.http.codec.multipart.Part; import org.springframework.stereotype.Service; import org.springframework.util.StringUtils; +import reactor.core.observability.micrometer.Micrometer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -63,6 +65,7 @@ import java.util.Set; import java.util.concurrent.ConcurrentHashMap; +import static com.appsmith.external.constants.spans.ce.ApplicationSpanCE.APPLICATION_FETCH_FROM_DB; import static com.appsmith.server.acl.AclPermission.MANAGE_APPLICATIONS; import static com.appsmith.server.acl.AclPermission.READ_APPLICATIONS; import static com.appsmith.server.constants.Constraint.MAX_LOGO_SIZE_KB; @@ -84,6 +87,7 @@ public class ApplicationServiceCEImpl extends BaseService findByBranchedApplicationIdAndApplicationMode( : applicationPermission.getEditPermission(); return findById(branchedApplicationId, permissionForApplication) + .name(APPLICATION_FETCH_FROM_DB) + .tap(Micrometer.observation(observationRegistry)) .switchIfEmpty(Mono.error(new AppsmithException( AppsmithError.NO_RESOURCE_FOUND, FieldName.APPLICATION, branchedApplicationId))); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceImpl.java index f0e00e247ce3..513506baaedf 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceImpl.java @@ -13,6 +13,7 @@ import com.appsmith.server.solutions.DatasourcePermission; import com.appsmith.server.solutions.PolicySolution; import com.appsmith.server.solutions.WorkspacePermission; +import io.micrometer.observation.ObservationRegistry; import jakarta.validation.Validator; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; @@ -34,7 +35,8 @@ public ApplicationServiceImpl( SessionUserService sessionUserService, UserDataService userDataService, WorkspaceService workspaceService, - WorkspacePermission workspacePermission) { + WorkspacePermission workspacePermission, + ObservationRegistry observationRegistry) { super( validator, repository, @@ -48,6 +50,7 @@ public ApplicationServiceImpl( sessionUserService, userDataService, workspaceService, - workspacePermission); + workspacePermission, + observationRegistry); } } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/EnvVariables.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/EnvVariables.java index 09d8212d5e43..0ae80cad9363 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/EnvVariables.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/EnvVariables.java @@ -2,7 +2,7 @@ public enum EnvVariables { APPSMITH_INSTANCE_NAME, - APPSMITH_MONGODB_URI, + APPSMITH_DB_URL, APPSMITH_REDIS_URL, APPSMITH_MAIL_ENABLED, APPSMITH_MAIL_FROM, diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java index 4dc3e36c2004..ced4d5619e23 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java @@ -201,6 +201,4 @@ public class FieldNameCE { public static final String ARTIFACT_CONTEXT = "artifactContext"; public static final String ARTIFACT_ID = "artifactId"; public static final String BODY = "body"; - - public static final String CREATE = "save"; } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/ArtifactCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/ArtifactCE.java index a3c9bd2594ca..ab77b5e4b7f5 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/ArtifactCE.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ce/ArtifactCE.java @@ -1,11 +1,8 @@ package com.appsmith.server.domains.ce; -import com.appsmith.external.models.Policy; import com.appsmith.server.constants.ArtifactType; import com.appsmith.server.domains.GitArtifactMetadata; -import java.util.Set; - public interface ArtifactCE { String getId(); @@ -38,7 +35,5 @@ default String getBaseId() { void setPublishedThemeId(String themeId); - Set getPolicies(); - ArtifactType getArtifactType(); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/PageDTO.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/PageDTO.java index 1ba7f086ba0f..816f82b28689 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/PageDTO.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/PageDTO.java @@ -14,6 +14,7 @@ import org.springframework.data.annotation.Transient; import java.time.Instant; +import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; @@ -62,7 +63,7 @@ public class PageDTO { @Transient @JsonView(Views.Internal.class) - protected Set policies = new HashSet<>(); + protected Map policyMap = new HashMap<>(); @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss'Z'", timezone = "UTC") @JsonView(Views.Public.class) @@ -82,6 +83,28 @@ public class PageDTO { @JsonView(Views.Public.class) Map> dependencyMap; + /** + * An unmodifiable set of policies. + */ + @JsonView(Views.Internal.class) + @Deprecated(forRemoval = true, since = "Use policyMap instead") + public Set getPolicies() { + return policyMap == null ? null : Set.copyOf(policyMap.values()); + } + + @JsonView(Views.Internal.class) + @Deprecated(forRemoval = true, since = "Use policyMap instead") + public void setPolicies(Set policies) { + if (policies == null) { + policyMap = null; + return; + } + policyMap = new HashMap<>(); + for (Policy policy : policies) { + policyMap.put(policy.getPermission(), policy); + } + } + public void sanitiseToExportDBObject() { this.setDependencyMap(null); this.getLayouts().forEach(Layout::sanitiseToExportDBObject); diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java index 2c9de9e1eb85..c05299753f87 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java @@ -7,6 +7,7 @@ import com.appsmith.external.models.ActionDTO; import com.appsmith.external.models.BaseDomain; import com.appsmith.external.models.Datasource; +import com.appsmith.external.models.Policy; import com.appsmith.server.actioncollections.base.ActionCollectionService; import com.appsmith.server.applications.base.ApplicationService; import com.appsmith.server.constants.ArtifactType; @@ -62,6 +63,8 @@ import java.util.Set; import java.util.concurrent.ConcurrentHashMap; +import static com.appsmith.server.helpers.ce.PolicyUtil.policyMapToSet; + @RequiredArgsConstructor @Slf4j public class ApplicationForkingServiceCEImpl implements ApplicationForkingServiceCE { @@ -567,29 +570,38 @@ private Mono checkPermissionsForForking(String branchedApplicationId1, // Normal Application forking with developer/edit access Flux pageFlux = applicationMonoWithOutPermission.flatMapMany(application -> newPageRepository - .findIdsAndPoliciesByApplicationIdIn(List.of(application.getId())) + .findIdsAndPolicyMapByApplicationIdIn(List.of(application.getId())) .map(idPoliciesOnly -> { NewPage newPage = new NewPage(); newPage.setId(idPoliciesOnly.getId()); - newPage.setPolicies(idPoliciesOnly.getPolicies()); + Set policies = policyMapToSet(idPoliciesOnly.getPolicyMap()); + newPage.setPolicies(policies); return newPage; }) .flatMap(newPageRepository::setUserPermissionsInObject)); Flux actionFlux = applicationMonoWithOutPermission.flatMapMany(application -> newActionRepository - .findIdsAndPoliciesByApplicationIdIn(List.of(application.getId())) + .findIdsAndPolicyMapByApplicationIdIn(List.of(application.getId())) .map(idPoliciesOnly -> { NewAction newAction = new NewAction(); newAction.setId(idPoliciesOnly.getId()); - newAction.setPolicies(idPoliciesOnly.getPolicies()); + Set policies = policyMapToSet(idPoliciesOnly.getPolicyMap()); + newAction.setPolicies(policies); return newAction; }) .flatMap(newActionRepository::setUserPermissionsInObject)); Flux actionCollectionFlux = applicationMonoWithOutPermission.flatMapMany(application -> actionCollectionRepository - .findByApplicationId(application.getId(), Optional.empty(), Optional.empty()) + .findIdsAndPolicyMapByApplicationIdIn(List.of(application.getId())) + .map(idPoliciesOnly -> { + ActionCollection actionCollection = new ActionCollection(); + actionCollection.setId(idPoliciesOnly.getId()); + Set policies = policyMapToSet(idPoliciesOnly.getPolicyMap()); + actionCollection.setPolicies(policies); + return actionCollection; + }) .flatMap(actionCollectionRepository::setUserPermissionsInObject)); Flux workspaceFlux = Flux.from(workspaceRepository diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/PolicyUtil.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/PolicyUtil.java index 9b3973f39355..bc0a32dcb886 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/PolicyUtil.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/PolicyUtil.java @@ -2,8 +2,10 @@ import com.appsmith.external.models.Policy; +import java.util.Map; import java.util.Optional; import java.util.Set; +import java.util.stream.Collectors; import static java.lang.Boolean.FALSE; import static java.lang.Boolean.TRUE; @@ -32,4 +34,11 @@ public static boolean isPermissionPresentInPolicies( .map(permissionGroup -> TRUE) .orElse(FALSE); } + + public static Set policyMapToSet(Map policyMap) { + if (policyMap == null) { + return null; + } + return policyMap.values().stream().collect(Collectors.toUnmodifiableSet()); + } } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java index a56b849744a4..e64c40776015 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java @@ -263,7 +263,7 @@ public void addInstanceConfigurationPlaceHolder(MongoTemplate mongoTemplate) { .permissionGroups(Set.of(savedPermissionGroup.getId())) .build(); - savedInstanceConfig.setPolicies(new HashSet<>(Set.of(editConfigPolicy, readConfigPolicy))); + savedInstanceConfig.setPolicies(new HashSet<>(Set.of(editConfigPolicy, readConfigPolicy)), false); mongoTemplate.save(savedInstanceConfig); @@ -279,7 +279,7 @@ public void addInstanceConfigurationPlaceHolder(MongoTemplate mongoTemplate) { .build(); savedPermissionGroup.setPolicies( - new HashSet<>(Set.of(updatePermissionGroupPolicy, assignPermissionGroupPolicy))); + new HashSet<>(Set.of(updatePermissionGroupPolicy, assignPermissionGroupPolicy)), false); Set permissions = new HashSet<>(savedPermissionGroup.getPermissions()); permissions.addAll(Set.of( @@ -386,18 +386,18 @@ public void createSystemThemes3(MongoTemplate mongoTemplate) throws IOException for (Theme theme : themes) { theme.setSystemTheme(true); theme.setCreatedAt(Instant.now()); - theme.setPolicies(new HashSet<>(Set.of(policyWithCurrentPermission))); Query query = new Query(Criteria.where(Theme.Fields.name) .is(theme.getName()) .and(Theme.Fields.isSystemTheme) .is(true)); - + Set themePolicies = new HashSet<>(Set.of(policyWithCurrentPermission)); Theme savedTheme = mongoTemplate.findOne(query, Theme.class); if (savedTheme == null) { // this theme does not exist, create it + theme.setPolicies(themePolicies); savedTheme = mongoTemplate.save(theme); } else { // theme already found, update savedTheme.setDisplayName(theme.getDisplayName()); - savedTheme.setPolicies(theme.getPolicies()); + savedTheme.setPolicies(themePolicies); savedTheme.setConfig(theme.getConfig()); savedTheme.setProperties(theme.getProperties()); savedTheme.setStylesheet(theme.getStylesheet()); @@ -534,7 +534,7 @@ public void updateBadThemeState( if (i == 0) { // Don't create a new theme for the first application // Just update the policies - theme.setPolicies(themePolicies); + theme.setPolicies(themePolicies, false); mongoTemplate.save(theme); } else { @@ -547,7 +547,7 @@ public void updateBadThemeState( newTheme.setProperties(theme.getProperties()); newTheme.setCreatedAt(Instant.now()); newTheme.setUpdatedAt(Instant.now()); - newTheme.setPolicies(themePolicies); + newTheme.setPolicies(themePolicies, false); newTheme = mongoTemplate.save(newTheme); @@ -622,17 +622,18 @@ public void addTenantAdminPermissionsToInstanceAdmin( HashSet permissions = new HashSet<>(instanceAdminPG.getPermissions()); permissions.addAll(tenantPermissions); instanceAdminPG.setPermissions(permissions); + instanceAdminPG.setPolicies(instanceAdminPG.getPolicies(), false); mongoTemplate.save(instanceAdminPG); Map tenantPolicy = policySolution.generatePolicyFromPermissionGroupForObject(instanceAdminPG, defaultTenant.getId()); Tenant updatedTenant = policySolution.addPoliciesToExistingObject(tenantPolicy, defaultTenant); + updatedTenant.setPolicies(updatedTenant.getPolicies(), false); mongoTemplate.save(updatedTenant); } @ChangeSet(order = "039", id = "change-readPermissionGroup-to-readPermissionGroupMembers", author = "") - public void modifyReadPermissionGroupToReadPermissionGroupMembers( - MongoTemplate mongoTemplate, @NonLockGuarded PolicySolution policySolution) { + public void modifyReadPermissionGroupToReadPermissionGroupMembers(MongoTemplate mongoTemplate) { Query query = new Query(Criteria.where("policies.permission").is("read:permissionGroups")); Update update = new Update().set("policies.$.permission", "read:permissionGroupMembers"); diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/constants/DeprecatedFieldName.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/constants/DeprecatedFieldName.java new file mode 100644 index 000000000000..687b541dc515 --- /dev/null +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/constants/DeprecatedFieldName.java @@ -0,0 +1,5 @@ +package com.appsmith.server.migrations.constants; + +public class DeprecatedFieldName { + public static String POLICIES = "policies"; +} diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/constants/FieldName.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/constants/FieldName.java new file mode 100644 index 000000000000..bbb38691d970 --- /dev/null +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/constants/FieldName.java @@ -0,0 +1,5 @@ +package com.appsmith.server.migrations.constants; + +public class FieldName { + public static final String POLICY_MAP = "policyMap"; +} diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration025RemoveUnassignPermissionFromUnnecessaryRoles.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration025RemoveUnassignPermissionFromUnnecessaryRoles.java index ef6e782f6582..d0f579426e77 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration025RemoveUnassignPermissionFromUnnecessaryRoles.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration025RemoveUnassignPermissionFromUnnecessaryRoles.java @@ -15,6 +15,8 @@ import java.util.Optional; +import static com.appsmith.server.migrations.constants.DeprecatedFieldName.POLICIES; +import static com.appsmith.server.migrations.constants.FieldName.POLICY_MAP; import static com.appsmith.server.migrations.utils.CompatibilityUtils.optimizeQueryForNoCursorTimeout; import static org.springframework.data.mongodb.core.query.Criteria.where; import static org.springframework.data.mongodb.core.query.Query.query; @@ -40,7 +42,7 @@ public void executeMigration() { Query queryInterestingPermissionGroups = new Query(workspaceDeveloperAndAppViewerRolesCriteria); queryInterestingPermissionGroups.fields().include("id"); - queryInterestingPermissionGroups.fields().include("policies"); + queryInterestingPermissionGroups.fields().include(POLICIES, POLICY_MAP); Query optimizedQueryForInterestingPermissionGroups = optimizeQueryForNoCursorTimeout(mongoTemplate, queryInterestingPermissionGroups, PermissionGroup.class); @@ -60,7 +62,7 @@ public void executeMigration() { mongoTemplate.updateFirst( query(where(PermissionGroup.Fields.id).is(permissionGroup.getId())), - new Update().set("policies", permissionGroup.getPolicies()), + new Update().set(POLICIES, permissionGroup.getPolicies()), PermissionGroup.class); }); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration028TagUserManagementRolesWithoutDefaultDomainTypeAndId.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration028TagUserManagementRolesWithoutDefaultDomainTypeAndId.java index 7840d55a3d6e..bfe4dcbacb2d 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration028TagUserManagementRolesWithoutDefaultDomainTypeAndId.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration028TagUserManagementRolesWithoutDefaultDomainTypeAndId.java @@ -20,6 +20,8 @@ import java.util.Set; import static com.appsmith.server.acl.AclPermission.RESET_PASSWORD_USERS; +import static com.appsmith.server.migrations.constants.DeprecatedFieldName.POLICIES; +import static com.appsmith.server.migrations.constants.FieldName.POLICY_MAP; import static com.appsmith.server.repositories.ce.BaseAppsmithRepositoryCEImpl.notDeleted; @Slf4j @@ -27,7 +29,6 @@ @ChangeUnit(order = "028", id = "tag-user-management-roles-without-default-domain-type-and-id") public class Migration028TagUserManagementRolesWithoutDefaultDomainTypeAndId { private final MongoTemplate mongoTemplate; - public static final String MIGRATION_FLAG_028_TAG_USER_MANAGEMENT_ROLE_WITHOUT_DEFAULT_DOMAIN_TYPE_AND_ID = "tagUserManagementRoleWithoutDefaultDomainTypeAndId"; @@ -40,7 +41,7 @@ public void tagUserManagementRolesWithoutDefaultDomainTypeAndId() { .is(RESET_PASSWORD_USERS.getValue()) .andOperator(notDeleted()); Query queryExistingUsersWithResetPasswordPolicy = new Query(resetPasswordPolicyExistsAndNotDeleted); - queryExistingUsersWithResetPasswordPolicy.fields().include(User.Fields.policies); + queryExistingUsersWithResetPasswordPolicy.fields().include(POLICIES, POLICY_MAP); List existingUsers = mongoTemplate.find(queryExistingUsersWithResetPasswordPolicy, User.class); diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration029PopulateDefaultDomainIdInUserManagementRoles.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration029PopulateDefaultDomainIdInUserManagementRoles.java index 71f28b7f78d6..0d930522f8ad 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration029PopulateDefaultDomainIdInUserManagementRoles.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration029PopulateDefaultDomainIdInUserManagementRoles.java @@ -22,6 +22,8 @@ import java.util.Optional; import static com.appsmith.server.acl.AclPermission.RESET_PASSWORD_USERS; +import static com.appsmith.server.migrations.constants.DeprecatedFieldName.POLICIES; +import static com.appsmith.server.migrations.constants.FieldName.POLICY_MAP; import static com.appsmith.server.repositories.ce.BaseAppsmithRepositoryCEImpl.notDeleted; @Slf4j @@ -45,7 +47,7 @@ public void populateDefaultDomainIdInUserManagementRoles() { .is(RESET_PASSWORD_USERS.getValue()) .andOperator(notDeleted()); Query queryExistingUsersWithResetPasswordPolicy = new Query(resetPasswordPolicyExistsAndNotDeleted); - queryExistingUsersWithResetPasswordPolicy.fields().include(User.Fields.policies); + queryExistingUsersWithResetPasswordPolicy.fields().include(POLICIES, POLICY_MAP); Map userManagementRoleIdToUserIdMap = new HashMap<>(); mongoTemplate.stream(queryExistingUsersWithResetPasswordPolicy, User.class) .forEach(existingUser -> { diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration031CreateUserManagementRolesForUsersTaggedIn030.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration031CreateUserManagementRolesForUsersTaggedIn030.java index f5cbc66b6813..d0ca9b733199 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration031CreateUserManagementRolesForUsersTaggedIn030.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration031CreateUserManagementRolesForUsersTaggedIn030.java @@ -24,6 +24,8 @@ import java.util.Set; import static com.appsmith.server.acl.AclPermission.MANAGE_USERS; +import static com.appsmith.server.migrations.constants.DeprecatedFieldName.POLICIES; +import static com.appsmith.server.migrations.constants.FieldName.POLICY_MAP; import static java.lang.Boolean.TRUE; @Slf4j @@ -50,7 +52,7 @@ public void createUserManagementRolesForUsersTaggedInMigration030() { Query queryUsersTaggedInMigration030 = new Query(criteriaUsersTaggedInMigration030); queryUsersTaggedInMigration030.fields().include(User.Fields.id); - queryUsersTaggedInMigration030.fields().include(User.Fields.policies); + queryUsersTaggedInMigration030.fields().include(POLICIES, POLICY_MAP); queryUsersTaggedInMigration030.fields().include(User.Fields.email); Query optimisedQueryUsersTaggedInMigration030 = CompatibilityUtils.optimizeQueryForNoCursorTimeout( @@ -67,8 +69,7 @@ public void createUserManagementRolesForUsersTaggedInMigration030() { updateMigrationFlagAndPoliciesForUser.unset( Migration030TagUsersWithNoUserManagementRoles .MIGRATION_FLAG_030_TAG_USER_WITHOUT_USER_MANAGEMENT_ROLE); - updateMigrationFlagAndPoliciesForUser.set( - User.Fields.policies, userWithUpdatedPolicies.getPolicies()); + updateMigrationFlagAndPoliciesForUser.set(POLICIES, userWithUpdatedPolicies.getPolicies()); Criteria criteriaUserId = Criteria.where(BaseDomain.Fields.id).is(user.getId()); Query queryUserId = new Query(criteriaUserId); diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration047AddMissingFieldsInDefaultAppsmithAiDatasource.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration047AddMissingFieldsInDefaultAppsmithAiDatasource.java index 2d5bddbe0477..b8d15d3a458d 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration047AddMissingFieldsInDefaultAppsmithAiDatasource.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration047AddMissingFieldsInDefaultAppsmithAiDatasource.java @@ -37,6 +37,8 @@ import java.util.stream.Stream; import static com.appsmith.external.constants.PluginConstants.PackageName.APPSMITH_AI_PLUGIN; +import static com.appsmith.server.migrations.constants.DeprecatedFieldName.POLICIES; +import static com.appsmith.server.migrations.constants.FieldName.POLICY_MAP; import static org.springframework.data.mongodb.core.query.Criteria.where; @Slf4j @@ -101,7 +103,7 @@ public void addMissingFieldsInDefaultAppsmithAiDatasource() { Set workspacePermissionGroups = getWorkspacePermissionGroups(workspaceId, allApplicationIds); - datasource.setPolicies(createPolicies(isPublic, workspacePermissionGroups)); + datasource.setPolicies(createPolicies(isPublic, workspacePermissionGroups), false); datasource.setInvalids(new HashSet<>()); datasource.setCreatedAt(now); datasource.setUpdatedAt(now); @@ -123,7 +125,7 @@ public void addMissingFieldsInDefaultAppsmithAiDatasource() { */ private Pair> getAllApplicationIdsOfDatasourceAndCheckIfAnyAppPublic(String datasourceId) { Query newActionsQuery = new Query().addCriteria(newActionCriteria(datasourceId)); - newActionsQuery.fields().include(FieldName.ID, FieldName.APPLICATION_ID, NewAction.Fields.policies); + newActionsQuery.fields().include(FieldName.ID, FieldName.APPLICATION_ID, POLICIES, POLICY_MAP); Set allApplicationIds = new HashSet<>(); AtomicReference isPublic = new AtomicReference<>(false); @@ -190,7 +192,7 @@ private void createDatasourceStorage(Datasource datasource) { DatasourceStorage datasourceStorage = new DatasourceStorage(); datasourceStorage.setDatasourceId(datasource.getId()); datasourceStorage.setInvalids(new HashSet<>()); - datasourceStorage.setPolicies(new HashSet<>()); + datasourceStorage.setPolicies(new HashSet<>(), false); datasourceStorage.setIsConfigured(true); datasourceStorage.setGitSyncId(datasource.getGitSyncId()); datasourceStorage.setEnvironmentId(envId); diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration053AddApplicationDeletePagePermissionToApplications.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration053AddApplicationDeletePagePermissionToApplications.java index b60cced702d3..3791c4182379 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration053AddApplicationDeletePagePermissionToApplications.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration053AddApplicationDeletePagePermissionToApplications.java @@ -1,6 +1,5 @@ package com.appsmith.server.migrations.db.ce; -import com.appsmith.external.models.BaseDomain; import com.appsmith.server.acl.AclPermission; import com.appsmith.server.domains.Application; import io.mongock.api.annotations.ChangeUnit; @@ -36,7 +35,7 @@ public class Migration053AddApplicationDeletePagePermissionToApplications { private static final String APPLICATION_DELETE_PAGES_VALUE = AclPermission.APPLICATION_DELETE_PAGES.getValue(); private static final String DELETE_APPLICATIONS_VALUE = AclPermission.DELETE_APPLICATIONS.getValue(); - private static final String POLICIES = BaseDomain.Fields.policies; + private static final String POLICIES = "policies"; private static final String PERMISSION = "permission"; private static final String PERMISSION_GROUPS = "permissionGroups"; diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration059PolicySetToPolicyMap.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration059PolicySetToPolicyMap.java new file mode 100644 index 000000000000..76c3f6d00ac5 --- /dev/null +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/db/ce/Migration059PolicySetToPolicyMap.java @@ -0,0 +1,131 @@ +package com.appsmith.server.migrations.db.ce; + +import com.appsmith.server.domains.Tenant; +import com.appsmith.server.repositories.CacheableRepositoryHelper; +import com.mongodb.client.result.UpdateResult; +import io.mongock.api.annotations.ChangeUnit; +import io.mongock.api.annotations.Execution; +import io.mongock.api.annotations.RollbackExecution; +import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.bson.Document; +import org.springframework.data.mongodb.core.ReactiveMongoTemplate; +import org.springframework.data.mongodb.core.aggregation.AggregationUpdate; +import org.springframework.data.mongodb.core.aggregation.ArrayOperators; +import org.springframework.data.mongodb.core.aggregation.VariableOperators; +import org.springframework.data.mongodb.core.query.Criteria; +import org.springframework.data.mongodb.core.query.Query; +import reactor.core.publisher.Mono; + +import java.util.HashMap; +import java.util.Set; + +import static com.appsmith.external.helpers.StringUtils.dotted; +import static com.appsmith.server.constants.ce.FieldNameCE.DEFAULT; +import static com.appsmith.server.helpers.ce.bridge.BridgeQuery.where; +import static com.appsmith.server.migrations.constants.DeprecatedFieldName.POLICIES; +import static com.appsmith.server.migrations.constants.FieldName.POLICY_MAP; + +/** + * Migration to convert the policies field to a policyMap field in all the collections. The key defines the permission + * whereas the value is the actual policy object. This makes it easier to use this data in code, to query as a MongoDB + * nested document, and as a Postgres jsonb column. + */ +@Slf4j +@RequiredArgsConstructor +@ChangeUnit(order = "059", id = "policy-set-to-policy-map") +public class Migration059PolicySetToPolicyMap { + + private final ReactiveMongoTemplate mongoTemplate; + + private final CacheableRepositoryHelper cacheableRepositoryHelper; + + private static final Set CE_COLLECTION_NAMES = Set.of( + "actionCollection", + "application", + "applicationSnapshot", + "asset", + "collection", + "config", + "customJSLib", + "datasource", + "datasourceStorage", + "datasourceStorageStructure", + "emailVerificationToken", + "gitDeployKeys", + "newAction", + "newPage", + "passwordResetToken", + "permissionGroup", + "plugin", + "tenant", + "theme", + "user", + "userData", + "workspace"); + + @RollbackExecution + public void rollbackExecution() {} + + @Execution + public void execute() { + Mono.whenDelayError(CE_COLLECTION_NAMES.stream() + .map(c -> executeForCollection(mongoTemplate, c)) + .toList()) + .onErrorResume(error -> { + String errorPrefix = "Error while migrating policies to policyMap"; + // As we are using Mono.whenDelayError, we expect multiple errors to be suppressed in a single error + if (error.getSuppressed().length > 0) { + for (Throwable suppressed : error.getSuppressed()) { + log.error(errorPrefix, suppressed); + } + } else { + log.error(errorPrefix, error); + } + return Mono.error(error); + }) + .block(); + + // Evict the default tenant from the cache to ensure that the updated tenant object is fetched from the database + Query tenantQuery = new Query(); + tenantQuery.addCriteria(where(Tenant.Fields.slug).is(DEFAULT)); + Tenant defaultTenant = mongoTemplate.findOne(tenantQuery, Tenant.class).block(); + assert defaultTenant != null : "Default tenant not found"; + cacheableRepositoryHelper.evictCachedTenant(defaultTenant.getId()).block(); + } + + private static Mono executeForCollection(ReactiveMongoTemplate mongoTemplate, String collectionName) { + log.info("Migrating policies to policyMap in {}", collectionName); + + // We are creating a aggregation pipeline to convert the policies field to a policyMap field. We use `this` + // keyword to capture the policies field within the object and then convert it to a key-value pair. Key is the + // permission and value is the policy object itself. + final ArrayOperators.ArrayToObject operator = + ArrayOperators.ArrayToObject.arrayValueOfToObject(VariableOperators.Map.itemsOf(POLICIES) + .as("this") + .andApply(agg -> new Document("k", "$$this.permission").append("v", "$$this"))); + + // Migrate the policies field to the policyMap field only if the policies field exists and is not empty + // Also policyMap is used as idempotency key to avoid updating same docs in case of failures + Criteria validPolicyCriteria = where(dotted(POLICIES, "0")).exists(true); + Criteria policyMapNotExists = new Criteria() + .orOperator(where(POLICY_MAP).exists(false), where(POLICY_MAP).is(new HashMap<>())); + Criteria notDeletedCriteria = where("deletedAt").isNull(); + + final Query query = new Query() + .addCriteria(validPolicyCriteria) + .addCriteria(policyMapNotExists) + .addCriteria(notDeletedCriteria); + final Mono convertToMap = mongoTemplate.updateMulti( + query, AggregationUpdate.update().set(POLICY_MAP).toValueOf(operator), collectionName); + + return convertToMap + .elapsed() + .doOnSuccess(it -> log.info( + "Migrated {} documents in {} in {}ms", + it.getT2().getModifiedCount(), + collectionName, + it.getT1())) + .then(); + } +} diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java index 8019ffb716d2..952a7605d804 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java @@ -79,6 +79,14 @@ import java.util.stream.Collectors; import static com.appsmith.external.constants.spans.ActionSpan.GET_ACTION_REPOSITORY_CALL; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_FETCH_ACTIONS_FROM_DB; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_FETCH_PLUGIN_FROM_DB; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_FILTER_ACTION; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_FINAL_ACTION; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_INITIAL_ACTION; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_SANITISE_ACTION; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_SET_PLUGIN_ID_AND_TYPE_ACTION; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_SET_PLUGIN_ID_AND_TYPE_JS; import static com.appsmith.external.helpers.AppsmithBeanUtils.copyNestedNonNullProperties; import static com.appsmith.external.helpers.PluginUtils.setValueSafelyInFormData; import static com.appsmith.server.acl.AclPermission.EXECUTE_DATASOURCES; @@ -97,7 +105,6 @@ public class NewActionServiceCEImpl extends BaseService findAllByApplicationIdAndViewMode( String applicationId, Boolean viewMode, AclPermission permission, Sort sort) { return repository .findByApplicationId(applicationId, permission, sort) + .name(VIEW_MODE_FETCH_ACTIONS_FROM_DB) + .tap(Micrometer.observation(observationRegistry)) // In case of view mode being true, filter out all the actions which haven't been published .flatMap(action -> { if (Boolean.TRUE.equals(viewMode)) { @@ -745,7 +754,11 @@ public Flux findAllByApplicationIdAndViewMode( return Mono.just(action); }) - .flatMap(this::sanitizeAction); + .name(VIEW_MODE_FILTER_ACTION) + .tap(Micrometer.observation(observationRegistry)) + .flatMap(this::sanitizeAction) + .name(VIEW_MODE_SANITISE_ACTION) + .tap(Micrometer.observation(observationRegistry)); } @Override @@ -782,8 +795,12 @@ public Flux getActionsForViewMode(String applicationId) { // fetch the published actions by applicationId // No need to sort the results return findAllByApplicationIdAndViewMode(applicationId, true, actionPermission.getExecutePermission(), null) + .name(VIEW_MODE_INITIAL_ACTION) + .tap(Micrometer.observation(observationRegistry)) .filter(newAction -> !PluginType.JS.equals(newAction.getPluginType())) - .map(action -> generateActionViewDTO(action, action.getPublishedAction(), true)); + .map(action -> generateActionViewDTO(action, action.getPublishedAction(), true)) + .name(VIEW_MODE_FINAL_ACTION) + .tap(Micrometer.observation(observationRegistry)); } @Override @@ -1159,31 +1176,43 @@ private Mono providePluginTypeAndIdToNewActionObjectUsingJSTypeOrData */ Datasource datasource = actionDTO.getDatasource(); if (actionDTO.getCollectionId() != null) { - return setPluginIdAndTypeForJSAction(action); + return setPluginIdAndTypeForJSAction(action) + .name(VIEW_MODE_SET_PLUGIN_ID_AND_TYPE_JS) + .tap(Micrometer.observation(observationRegistry)); } else if (datasource != null && datasource.getPluginId() != null) { String pluginId = datasource.getPluginId(); action.setPluginId(pluginId); - return setPluginTypeFromId(action, pluginId); + return setPluginTypeFromId(action, pluginId) + .name(VIEW_MODE_SET_PLUGIN_ID_AND_TYPE_ACTION) + .tap(Micrometer.observation(observationRegistry)); } return Mono.just(action); } private Mono setPluginTypeFromId(NewAction action, String pluginId) { - return pluginService.findById(pluginId).flatMap(plugin -> { - action.setPluginType(plugin.getType()); - return Mono.just(action); - }); + return pluginService + .findById(pluginId) + .name(VIEW_MODE_FETCH_PLUGIN_FROM_DB) + .tap(Micrometer.observation(observationRegistry)) + .flatMap(plugin -> { + action.setPluginType(plugin.getType()); + return Mono.just(action); + }); } private Mono setPluginIdAndTypeForJSAction(NewAction action) { action.setPluginType(JS_PLUGIN_TYPE); - return pluginService.findByPackageName(JS_PLUGIN_PACKAGE_NAME).flatMap(plugin -> { - action.setPluginId(plugin.getId()); - return Mono.just(action); - }); + return pluginService + .findByPackageName(JS_PLUGIN_PACKAGE_NAME) + .name(VIEW_MODE_FETCH_PLUGIN_FROM_DB) + .tap(Micrometer.observation(observationRegistry)) + .flatMap(plugin -> { + action.setPluginId(plugin.getId()); + return Mono.just(action); + }); } // We can afford to make this call all the time since we already have all the info we need in context diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java index bb7707bf3656..0d1740b912ba 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java @@ -21,6 +21,7 @@ import com.appsmith.server.services.UserDataService; import com.appsmith.server.solutions.ApplicationPermission; import com.appsmith.server.solutions.PagePermission; +import io.micrometer.observation.ObservationRegistry; import jakarta.validation.Validator; import lombok.extern.slf4j.Slf4j; import net.minidev.json.JSONObject; @@ -31,6 +32,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.util.CollectionUtils; import org.springframework.util.StringUtils; +import reactor.core.observability.micrometer.Micrometer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -44,6 +46,10 @@ import java.util.UUID; import java.util.stream.Collectors; +import static com.appsmith.external.constants.spans.ce.PageSpanCE.FETCH_PAGE_FROM_DB; +import static com.appsmith.external.constants.spans.ce.PageSpanCE.GET_PAGE; +import static com.appsmith.external.constants.spans.ce.PageSpanCE.GET_PAGE_WITHOUT_BRANCH; +import static com.appsmith.external.constants.spans.ce.PageSpanCE.GET_PAGE_WITH_BRANCH; import static com.appsmith.external.helpers.AppsmithBeanUtils.copyNewFieldValuesIntoOldObject; import static com.appsmith.server.exceptions.AppsmithError.INVALID_PARAMETER; @@ -54,6 +60,7 @@ public class NewPageServiceCEImpl extends BaseService getPageByViewMode(NewPage newPage, Boolean viewMode) { @Override public Mono findById(String pageId, AclPermission aclPermission) { - return repository.findById(pageId, aclPermission); + return repository + .findById(pageId, aclPermission) + .name(FETCH_PAGE_FROM_DB) + .tap(Micrometer.observation(observationRegistry)); } @Override @@ -512,11 +524,15 @@ public Mono findByBranchNameAndBasePageId(String branchName, String bas return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.PAGE_ID)); } else if (!StringUtils.hasText(branchName)) { return this.findById(basePageId, permission) + .name(GET_PAGE_WITHOUT_BRANCH) + .tap(Micrometer.observation(observationRegistry)) .switchIfEmpty(Mono.error( new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.PAGE, basePageId))); } return repository .findPageByBranchNameAndBasePageId(branchName, basePageId, permission) + .name(GET_PAGE_WITH_BRANCH) + .tap(Micrometer.observation(observationRegistry)) .switchIfEmpty(Mono.error(new AppsmithException( AppsmithError.NO_RESOURCE_FOUND, FieldName.PAGE, basePageId + ", " + branchName))); } @@ -532,7 +548,9 @@ public Mono findByBranchNameAndBasePageIdAndApplicationMode( permission = pagePermission.getReadPermission(); } - return this.findByBranchNameAndBasePageId(branchName, basePageId, permission); + return this.findByBranchNameAndBasePageId(branchName, basePageId, permission) + .name(GET_PAGE) + .tap(Micrometer.observation(observationRegistry)); } @Override diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceImpl.java index db08210d0de1..9b618221e60a 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceImpl.java @@ -6,6 +6,7 @@ import com.appsmith.server.services.UserDataService; import com.appsmith.server.solutions.ApplicationPermission; import com.appsmith.server.solutions.PagePermission; +import io.micrometer.observation.ObservationRegistry; import jakarta.validation.Validator; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; @@ -21,7 +22,8 @@ public NewPageServiceImpl( ApplicationService applicationService, UserDataService userDataService, ApplicationPermission applicationPermission, - PagePermission pagePermission) { + PagePermission pagePermission, + ObservationRegistry observationRegistry) { super( validator, repository, @@ -29,6 +31,7 @@ public NewPageServiceImpl( applicationService, userDataService, applicationPermission, - pagePermission); + pagePermission, + observationRegistry); } } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/projections/IdPoliciesOnly.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/projections/IdPoliciesOnly.java index 2f5be1b8f847..3e0ff37e4ab8 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/projections/IdPoliciesOnly.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/projections/IdPoliciesOnly.java @@ -2,10 +2,10 @@ import com.appsmith.external.models.Policy; -import java.util.Set; +import java.util.Map; public interface IdPoliciesOnly { String getId(); - Set getPolicies(); + Map getPolicyMap(); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewActionRepositoryImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewActionRepositoryImpl.java index 18eeff620b38..9c4713aad71e 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewActionRepositoryImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewActionRepositoryImpl.java @@ -1,6 +1,7 @@ package com.appsmith.server.repositories; import com.appsmith.server.repositories.ce.CustomNewActionRepositoryCEImpl; +import io.micrometer.observation.ObservationRegistry; import lombok.extern.slf4j.Slf4j; import org.springframework.data.mongodb.core.ReactiveMongoOperations; import org.springframework.stereotype.Component; @@ -10,7 +11,8 @@ public class CustomNewActionRepositoryImpl extends CustomNewActionRepositoryCEImpl implements CustomNewActionRepository { - public CustomNewActionRepositoryImpl(ReactiveMongoOperations mongoOperations) { - super(mongoOperations); + public CustomNewActionRepositoryImpl( + ReactiveMongoOperations mongoOperations, ObservationRegistry observationRegistry) { + super(mongoOperations, observationRegistry); } } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewPageRepositoryImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewPageRepositoryImpl.java index dd2124e27941..5f3880f41c95 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewPageRepositoryImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomNewPageRepositoryImpl.java @@ -1,6 +1,7 @@ package com.appsmith.server.repositories; import com.appsmith.server.repositories.ce.CustomNewPageRepositoryCEImpl; +import io.micrometer.observation.ObservationRegistry; import lombok.extern.slf4j.Slf4j; import org.springframework.data.mongodb.core.MongoTemplate; import org.springframework.stereotype.Component; @@ -9,7 +10,7 @@ @Slf4j public class CustomNewPageRepositoryImpl extends CustomNewPageRepositoryCEImpl implements CustomNewPageRepository { - public CustomNewPageRepositoryImpl(MongoTemplate mongoTemplate) { - super(mongoTemplate); + public CustomNewPageRepositoryImpl(MongoTemplate mongoTemplate, ObservationRegistry observationRepository) { + super(mongoTemplate, observationRepository); } } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/ActionCollectionRepositoryCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/ActionCollectionRepositoryCE.java index 125d1b6d4b67..0a2a4e554894 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/ActionCollectionRepositoryCE.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/ActionCollectionRepositoryCE.java @@ -12,5 +12,5 @@ public interface ActionCollectionRepositoryCE extends BaseRepository, CustomActionCollectionRepository { Flux findByApplicationId(String applicationId); - Flux findIdsAndPoliciesByApplicationIdIn(List applicationIds); + Flux findIdsAndPolicyMapByApplicationIdIn(List applicationIds); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java index d67e7340e158..dcaa76bf9ac9 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/BaseAppsmithRepositoryCEImpl.java @@ -43,6 +43,7 @@ import java.util.Set; import java.util.stream.Collectors; +import static com.appsmith.external.helpers.StringUtils.dotted; import static org.apache.commons.collections.CollectionUtils.isEmpty; import static org.apache.commons.lang3.StringUtils.isBlank; @@ -105,11 +106,8 @@ public static Criteria userAcl(Set permissionGroups, AclPermission permi return null; } // Check if the permission is being provided by any of the permission groups - return Criteria.where(BaseDomain.Fields.policies) - .elemMatch(Criteria.where("permissionGroups") - .in(permissionGroups) - .and("permission") - .is(permission.getValue())); + return Criteria.where(dotted(BaseDomain.Fields.policyMap, permission.getValue(), "permissionGroups")) + .in(permissionGroups); } public Mono findById(String id, AclPermission permission) { diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java index 1af3a4e16eb3..37de19d0f3da 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java @@ -9,6 +9,7 @@ import com.appsmith.server.helpers.ce.bridge.BridgeQuery; import com.appsmith.server.helpers.ce.bridge.BridgeUpdate; import com.appsmith.server.repositories.BaseAppsmithRepositoryImpl; +import io.micrometer.observation.ObservationRegistry; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.bson.types.ObjectId; @@ -21,6 +22,7 @@ import org.springframework.data.mongodb.core.aggregation.MatchOperation; import org.springframework.data.mongodb.core.aggregation.ProjectionOperation; import org.springframework.data.mongodb.core.query.Criteria; +import reactor.core.observability.micrometer.Micrometer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -29,6 +31,7 @@ import java.util.Optional; import java.util.Set; +import static com.appsmith.external.constants.spans.ce.ActionSpanCE.VIEW_MODE_FETCH_ACTIONS_FROM_DB_QUERY; import static org.springframework.data.mongodb.core.aggregation.Aggregation.group; import static org.springframework.data.mongodb.core.aggregation.Aggregation.match; import static org.springframework.data.mongodb.core.aggregation.Aggregation.newAggregation; @@ -42,12 +45,16 @@ public class CustomNewActionRepositoryCEImpl extends BaseAppsmithRepositoryImpl< private final ReactiveMongoOperations mongoOperations; + private final ObservationRegistry observationRegistry; + @Override public Flux findByApplicationId(String applicationId, AclPermission aclPermission) { return queryBuilder() .criteria(getCriterionForFindByApplicationId(applicationId)) .permission(aclPermission) - .all(); + .all() + .name(VIEW_MODE_FETCH_ACTIONS_FROM_DB_QUERY) + .tap(Micrometer.observation(observationRegistry)); } @Override diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewPageRepositoryCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewPageRepositoryCEImpl.java index e433f2683a3a..b4aae0c3601a 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewPageRepositoryCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewPageRepositoryCEImpl.java @@ -10,6 +10,7 @@ import com.appsmith.server.helpers.ce.bridge.BridgeUpdate; import com.appsmith.server.projections.IdOnly; import com.appsmith.server.repositories.BaseAppsmithRepositoryImpl; +import io.micrometer.observation.ObservationRegistry; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.data.mongodb.core.MongoTemplate; @@ -17,6 +18,7 @@ import org.springframework.data.mongodb.core.aggregation.AggregationOperation; import org.springframework.data.mongodb.core.aggregation.Fields; import org.springframework.data.mongodb.core.query.Criteria; +import reactor.core.observability.micrometer.Micrometer; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import reactor.core.scheduler.Schedulers; @@ -26,6 +28,7 @@ import java.util.Map; import java.util.Set; +import static com.appsmith.external.constants.spans.ce.PageSpanCE.FETCH_PAGE_FROM_DB; import static com.appsmith.external.helpers.StringUtils.dotted; import static org.springframework.data.mongodb.core.query.Criteria.where; @@ -35,6 +38,7 @@ public class CustomNewPageRepositoryCEImpl extends BaseAppsmithRepositoryImpl findByApplicationId(String applicationId, AclPermission aclPermission) { @@ -108,7 +112,7 @@ public Flux findAllPageDTOsByIds(List ids, AclPermission aclPer NewPage.Fields.applicationId, NewPage.Fields.baseId, NewPage.Fields.branchName, - NewPage.Fields.policies, + NewPage.Fields.policyMap, NewPage.Fields.unpublishedPage_name, NewPage.Fields.unpublishedPage_icon, NewPage.Fields.unpublishedPage_isHidden, @@ -160,7 +164,12 @@ public Mono findPageByBranchNameAndBasePageId( q.isNull(NewPage.Fields.branchName); } - return queryBuilder().criteria(q).permission(permission).one(); + return queryBuilder() + .criteria(q) + .permission(permission) + .one() + .name(FETCH_PAGE_FROM_DB) + .tap(Micrometer.observation(observationRegistry)); } public Mono findBranchedPageId(String branchName, String defaultPageId, AclPermission permission) { diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/DatasourceRepositoryCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/DatasourceRepositoryCE.java index b58554b9a671..087b92cff5b5 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/DatasourceRepositoryCE.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/DatasourceRepositoryCE.java @@ -18,5 +18,5 @@ public interface DatasourceRepositoryCE extends BaseRepository countByDeletedAtNull(); - Flux findIdsAndPoliciesByIdIn(Set datasourceIds); + Flux findIdsAndPolicyMapByIdIn(Set datasourceIds); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewActionRepositoryCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewActionRepositoryCE.java index ec4934e3a808..9b270f2fcb4f 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewActionRepositoryCE.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewActionRepositoryCE.java @@ -21,7 +21,7 @@ public interface NewActionRepositoryCE extends BaseRepository Mono countByDeletedAtNull(); - Flux findIdsAndPoliciesByApplicationIdIn(List applicationIds); + Flux findIdsAndPolicyMapByApplicationIdIn(List applicationIds); Flux findIdAndDatasourceIdByApplicationIdIn(List applicationIds); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewPageRepositoryCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewPageRepositoryCE.java index f85d203bfae1..3f582daea3ac 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewPageRepositoryCE.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/NewPageRepositoryCE.java @@ -15,5 +15,5 @@ public interface NewPageRepositoryCE extends BaseRepository, Cu Mono countByDeletedAtNull(); - Flux findIdsAndPoliciesByApplicationIdIn(List applicationIds); + Flux findIdsAndPolicyMapByApplicationIdIn(List applicationIds); } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java index 64332dd6ce36..a00586c16e52 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java @@ -84,6 +84,7 @@ import static com.appsmith.server.acl.AclPermission.MANAGE_APPLICATIONS; import static com.appsmith.server.constants.CommonConstants.EVALUATION_VERSION; +import static com.appsmith.server.helpers.ce.PolicyUtil.policyMapToSet; import static org.apache.commons.lang.ObjectUtils.defaultIfNull; @Slf4j @@ -1357,29 +1358,32 @@ private Mono sendPageOrderAnalyticsEvent( private Mono validateAllObjectsForPermissions( Mono applicationMono, AppsmithError expectedError) { Flux pageFlux = applicationMono.flatMapMany(application -> newPageRepository - .findIdsAndPoliciesByApplicationIdIn(List.of(application.getId())) + .findIdsAndPolicyMapByApplicationIdIn(List.of(application.getId())) .map(idPoliciesOnly -> { NewPage newPage = new NewPage(); newPage.setId(idPoliciesOnly.getId()); - newPage.setPolicies(idPoliciesOnly.getPolicies()); + Set policies = policyMapToSet(idPoliciesOnly.getPolicyMap()); + newPage.setPolicies(policies); return newPage; }) .flatMap(newPageRepository::setUserPermissionsInObject)); Flux actionFlux = applicationMono.flatMapMany(application -> newActionRepository - .findIdsAndPoliciesByApplicationIdIn(List.of(application.getId())) + .findIdsAndPolicyMapByApplicationIdIn(List.of(application.getId())) .map(idPoliciesOnly -> { NewAction newAction = new NewAction(); newAction.setId(idPoliciesOnly.getId()); - newAction.setPolicies(idPoliciesOnly.getPolicies()); + Set policies = policyMapToSet(idPoliciesOnly.getPolicyMap()); + newAction.setPolicies(policies); return newAction; }) .flatMap(newActionRepository::setUserPermissionsInObject)); Flux actionCollectionFlux = applicationMono.flatMapMany(application -> actionCollectionRepository - .findIdsAndPoliciesByApplicationIdIn(List.of(application.getId())) + .findIdsAndPolicyMapByApplicationIdIn(List.of(application.getId())) .map(idPoliciesOnly -> { ActionCollection actionCollection = new ActionCollection(); actionCollection.setId(idPoliciesOnly.getId()); - actionCollection.setPolicies(idPoliciesOnly.getPolicies()); + Set policies = policyMapToSet(idPoliciesOnly.getPolicyMap()); + actionCollection.setPolicies(policies); return actionCollection; }) .flatMap(actionCollectionRepository::setUserPermissionsInObject)); @@ -1425,11 +1429,12 @@ private Mono validateDatasourcesForCreatePermission(Mono a .collect(Collectors.toSet()); }) .flatMapMany(datasourceIds -> datasourceRepository - .findIdsAndPoliciesByIdIn(datasourceIds) + .findIdsAndPolicyMapByIdIn(datasourceIds) .flatMap(idPolicy -> { Datasource datasource = new Datasource(); datasource.setId(idPolicy.getId()); - datasource.setPolicies(idPolicy.getPolicies()); + Set policies = policyMapToSet(idPolicy.getPolicyMap()); + datasource.setPolicies(policies); return datasourceRepository.setUserPermissionsInObject(datasource); })); diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ConsolidatedAPIServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ConsolidatedAPIServiceCEImpl.java index abc50e012b43..a77916be689d 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ConsolidatedAPIServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ConsolidatedAPIServiceCEImpl.java @@ -277,6 +277,8 @@ public Mono getConsolidatedInfoForPageLoad( if (isViewMode) { /* Get list of all actions in view mode */ fetches.add(branchedApplicationMonoCached + .name(getQualifiedSpanName(APPLICATION_ID_SPAN, mode)) + .tap(Micrometer.observation(observationRegistry)) .flatMap(branchedApplication -> newActionService .getActionsForViewMode(branchedApplication.getId()) .collectList()) diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/ApplicationServiceCECompatibleImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/ApplicationServiceCECompatibleImpl.java index 47158228e80b..5b368903ffde 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/ApplicationServiceCECompatibleImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce_compatible/ApplicationServiceCECompatibleImpl.java @@ -13,6 +13,7 @@ import com.appsmith.server.solutions.DatasourcePermission; import com.appsmith.server.solutions.PolicySolution; import com.appsmith.server.solutions.WorkspacePermission; +import io.micrometer.observation.ObservationRegistry; import jakarta.validation.Validator; import org.springframework.stereotype.Service; @@ -32,7 +33,8 @@ public ApplicationServiceCECompatibleImpl( SessionUserService sessionUserService, UserDataService userDataService, WorkspaceService workspaceService, - WorkspacePermission workspacePermission) { + WorkspacePermission workspacePermission, + ObservationRegistry observationRegistry) { super( validator, repository, @@ -46,6 +48,7 @@ public ApplicationServiceCECompatibleImpl( sessionUserService, userDataService, workspaceService, - workspacePermission); + workspacePermission, + observationRegistry); } } diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java index b78a62992390..eec29d9169db 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/AuthenticationServiceCEImpl.java @@ -140,8 +140,8 @@ public Mono getAuthorizationCodeURLForGenericOAuth2( }) .switchIfEmpty(Mono.error( new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.DATASOURCE, datasourceId))) - .flatMap(this::validateRequiredFieldsForGenericOAuth2) - .zipWith(Mono.zip(workspaceIdMono, trueEnvironmentIdCached, newPageMono)) + .flatMap(ds -> this.validateRequiredFieldsForGenericOAuth2(ds) + .zipWith(Mono.zip(workspaceIdMono, trueEnvironmentIdCached, newPageMono))) .flatMap(tuple2 -> { DatasourceStorage datasourceStorage = tuple2.getT1(); String workspaceId = tuple2.getT2().getT1(); diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PolicySolutionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PolicySolutionCEImpl.java index 628108965abb..b4d51099a3fa 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PolicySolutionCEImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PolicySolutionCEImpl.java @@ -22,6 +22,7 @@ import com.appsmith.server.solutions.DatasourcePermission; import com.appsmith.server.solutions.PagePermission; import lombok.AllArgsConstructor; +import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.springframework.util.StringUtils; import reactor.core.publisher.Flux; @@ -54,7 +55,7 @@ public class PolicySolutionCEImpl implements PolicySolutionCE { private final PagePermission pagePermission; @Override - public T addPoliciesToExistingObject(Map policyMap, T obj) { + public T addPoliciesToExistingObject(@NonNull Map policyMap, T obj) { // Making a deep copy here so we don't modify the `policyMap` object. // TODO: Investigate a solution without using deep-copy. // TODO: Do we need to return the domain object? @@ -68,8 +69,10 @@ public T addPoliciesToExistingObject(Map policyMap1.put(entry.getKey(), policy); } + final Set policies = new HashSet<>(obj.getPolicies()); + // Append the user to the existing permission policy if it already exists. - for (Policy policy : obj.getPolicies()) { + for (Policy policy : policies) { String permission = policy.getPermission(); if (policyMap1.containsKey(permission)) { Set permissionGroups = new HashSet<>(); @@ -85,7 +88,8 @@ public T addPoliciesToExistingObject(Map } } - obj.getPolicies().addAll(policyMap1.values()); + policies.addAll(policyMap1.values()); + obj.setPolicies(policies); return obj; } diff --git a/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json b/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json index 637351ddad5b..fd69403ede22 100644 --- a/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json +++ b/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json @@ -1 +1,34393 @@ -{ "customJSLibList": [], "updatedResources": { "actionList": [ "InsertQuery##ENTITY_SEPARATOR##SQL", "InsertQuery##ENTITY_SEPARATOR##Firestore", "InsertQuery##ENTITY_SEPARATOR##PostgreSQL", "update_template##ENTITY_SEPARATOR##Admin", "get_exported_app##ENTITY_SEPARATOR##Admin", "generate_mongo_app##ENTITY_SEPARATOR##Page Generator", "UpdateKey##ENTITY_SEPARATOR##Redis", "InsertQuery##ENTITY_SEPARATOR##Google Sheets", "UpdateQuery##ENTITY_SEPARATOR##Google Sheets", "SelectQuery##ENTITY_SEPARATOR##PostgreSQL", "Utils.myFun2##ENTITY_SEPARATOR##Admin", "UpdateQuery##ENTITY_SEPARATOR##SQL", "UpdateFile##ENTITY_SEPARATOR##S3", "FetchValue##ENTITY_SEPARATOR##Redis", "SelectQuery##ENTITY_SEPARATOR##SQL", "get_user##ENTITY_SEPARATOR##Admin", "generate_gsheet_app##ENTITY_SEPARATOR##Page Generator", "ListFiles##ENTITY_SEPARATOR##S3", "UpdateQuery##ENTITY_SEPARATOR##MongoDB", "InsertQuery##ENTITY_SEPARATOR##MongoDB", "ReadFile##ENTITY_SEPARATOR##S3", "DeleteKey##ENTITY_SEPARATOR##Redis", "get_datasource_structure##ENTITY_SEPARATOR##Admin", "FetchKeys##ENTITY_SEPARATOR##Redis", "SelectQuery##ENTITY_SEPARATOR##Firestore", "UpdateQuery##ENTITY_SEPARATOR##Firestore", "DeleteQuery##ENTITY_SEPARATOR##MongoDB", "DeleteQuery##ENTITY_SEPARATOR##PostgreSQL", "DeleteQuery##ENTITY_SEPARATOR##SQL", "UpdateQuery##ENTITY_SEPARATOR##PostgreSQL", "DeleteQuery##ENTITY_SEPARATOR##Google Sheets", "SelectQuery##ENTITY_SEPARATOR##Google Sheets", "CreateFile##ENTITY_SEPARATOR##S3", "InsertKey##ENTITY_SEPARATOR##Redis", "DeleteFile##ENTITY_SEPARATOR##S3", "generate_sql_app##ENTITY_SEPARATOR##Page Generator", "FindQuery##ENTITY_SEPARATOR##MongoDB", "DeleteQuery##ENTITY_SEPARATOR##Firestore" ], "pageList": [ "Google Sheets", "S3", "Page Generator", "PostgreSQL", "Firestore", "Redis", "MongoDB", "Admin", "SQL" ], "actionCollectionList": ["Utils##ENTITY_SEPARATOR##Admin"] }, "publishedTheme": { "isSystemTheme": true, "deleted": false, "displayName": "Modern", "name": "Default" }, "serverSchemaVersion": 6, "datasourceConfigurationStructureList": [ { "datasourceId": "AmazonS3 CRUD", "structure": {} }, { "datasourceId": "Appsmith Release", "structure": {} }, { "datasourceId": "FBTemplateDB", "structure": {} }, { "datasourceId": "Google Sheet", "structure": {} }, { "datasourceId": "Internal DB", "structure": { "tables": [ { "schema": "public", "columns": [ { "defaultValue": "nextval('aforce_roster_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "email", "type": "text", "isAutogenerated": false }, { "name": "name", "type": "text", "isAutogenerated": false }, { "name": "registration_date", "type": "date", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "aforce_roster_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"aforce_heroes\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"aforce_heroes\" (\"email\", \"name\", \"registration_date\")\n VALUES ('', '', '2019-07-01');" }, { "title": "UPDATE", "body": "UPDATE public.\"aforce_heroes\" SET\n \"email\" = '',\n \"name\" = '',\n \"registration_date\" = '2019-07-01'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"aforce_heroes\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.aforce_heroes", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('aforce_issue_upvote_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "link", "type": "text", "isAutogenerated": false }, { "name": "comment", "type": "text", "isAutogenerated": false }, { "name": "author", "type": "text", "isAutogenerated": false }, { "defaultValue": "CURRENT_TIMESTAMP", "name": "created_at", "type": "timestamp", "isAutogenerated": false }, { "name": "issue_id", "type": "int4", "isAutogenerated": false }, { "defaultValue": "'None'::text", "name": "comm_status", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "aforce_issue_upvote_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"aforce_issue_upvote\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"aforce_issue_upvote\" (\"link\", \"comment\", \"author\", \"issue_id\")\n VALUES ('', '', '', 1);" }, { "title": "UPDATE", "body": "UPDATE public.\"aforce_issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"aforce_issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.aforce_issue_upvote", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('aforce_roster_id_seq1'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "start_date", "type": "date", "isAutogenerated": false }, { "name": "hero_id", "type": "int4", "isAutogenerated": false }, { "name": "end_date", "type": "date", "isAutogenerated": false }, { "name": "support_team", "type": "text", "isAutogenerated": false }, { "name": "pod", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "aforce_roster_pkey1", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"aforce_roster\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"aforce_roster\" (\"start_date\", \"hero_id\", \"end_date\", \"support_team\", \"pod\")\n VALUES ('2019-07-01', 1, '2019-07-01', '', '');" }, { "title": "UPDATE", "body": "UPDATE public.\"aforce_roster\" SET\n \"start_date\" = '2019-07-01',\n \"hero_id\" = 1,\n \"end_date\" = '2019-07-01',\n \"support_team\" = '',\n \"pod\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"aforce_roster\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.aforce_roster", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('discord_messages_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "msg_id", "type": "text", "isAutogenerated": false }, { "name": "created_at", "type": "date", "isAutogenerated": false }, { "name": "author", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "discord_messages_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"discord_messages\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"discord_messages\" (\"msg_id\", \"created_at\", \"author\")\n VALUES ('', '2019-07-01', '');" }, { "title": "UPDATE", "body": "UPDATE public.\"discord_messages\" SET\n \"msg_id\" = '',\n \"created_at\" = '2019-07-01',\n \"author\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"discord_messages\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.discord_messages", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('email_issues_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "from", "type": "text", "isAutogenerated": false }, { "name": "body", "type": "text", "isAutogenerated": false }, { "name": "created_at", "type": "timestamptz", "isAutogenerated": false }, { "name": "subject", "type": "text", "isAutogenerated": false }, { "name": "is_tagged", "type": "bool", "isAutogenerated": false }, { "name": "assignee", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "email_issues_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"email_issues\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"email_issues\" (\"from\", \"body\", \"created_at\", \"subject\", \"is_tagged\", \"assignee\")\n VALUES ('', '', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');" }, { "title": "UPDATE", "body": "UPDATE public.\"email_issues\" SET\n \"from\" = '',\n \"body\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"subject\" = '',\n \"is_tagged\" = '',\n \"assignee\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"email_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.email_issues", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('github_issues_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "upvotes", "type": "int4", "isAutogenerated": false }, { "name": "closed_date", "type": "date", "isAutogenerated": false }, { "name": "created_date", "type": "date", "isAutogenerated": false }, { "name": "assignee", "type": "text", "isAutogenerated": false }, { "name": "state", "type": "text", "isAutogenerated": false }, { "name": "issue_creator_id", "type": "text", "isAutogenerated": false }, { "name": "title", "type": "text", "isAutogenerated": false }, { "name": "issue_number", "type": "int4", "isAutogenerated": false }, { "name": "label_arr", "type": "_text", "isAutogenerated": false }, { "name": "total_reactions", "type": "int4", "isAutogenerated": false }, { "name": "unique_commentors", "type": "int4", "isAutogenerated": false }, { "name": "updated_at", "type": "timestamp", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "github_issues_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"github_issues\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"github_issues\" (\"upvotes\", \"closed_date\", \"created_date\", \"assignee\", \"state\", \"issue_creator_id\", \"title\", \"issue_number\", \"label_arr\", \"total_reactions\", \"unique_commentors\", \"updated_at\")\n VALUES (1, '2019-07-01', '2019-07-01', '', '', '', '', 1, '', 1, 1, TIMESTAMP '2019-07-01 10:00:00');" }, { "title": "UPDATE", "body": "UPDATE public.\"github_issues\" SET\n \"upvotes\" = 1,\n \"closed_date\" = '2019-07-01',\n \"created_date\" = '2019-07-01',\n \"assignee\" = '',\n \"state\" = '',\n \"issue_creator_id\" = '',\n \"title\" = '',\n \"issue_number\" = 1,\n \"label_arr\" = '',\n \"total_reactions\" = 1,\n \"unique_commentors\" = 1,\n \"updated_at\" = TIMESTAMP '2019-07-01 10:00:00'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"github_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.github_issues", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('issue_db_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "github_issue_id", "type": "int4", "isAutogenerated": false }, { "name": "author", "type": "text", "isAutogenerated": false }, { "name": "created_at", "type": "timestamp", "isAutogenerated": false }, { "name": "title", "type": "text", "isAutogenerated": false }, { "name": "description", "type": "text", "isAutogenerated": false }, { "name": "labels", "type": "_text", "isAutogenerated": false }, { "name": "type", "type": "text", "isAutogenerated": false }, { "name": "state", "type": "text", "isAutogenerated": false }, { "name": "answer", "type": "text", "isAutogenerated": false }, { "name": "link", "type": "text", "isAutogenerated": false }, { "name": "states", "type": "_text", "isAutogenerated": false }, { "defaultValue": "'None'::text", "name": "priority_status", "type": "text", "isAutogenerated": false }, { "defaultValue": "'Idle'::text", "name": "issue_status", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "issue_db_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"global_issues\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"global_issues\" (\"github_issue_id\", \"author\", \"created_at\", \"title\", \"description\", \"labels\", \"type\", \"state\", \"answer\", \"link\", \"states\")\n VALUES (1, '', TIMESTAMP '2019-07-01 10:00:00', '', '', '', '', '', '', '', '');" }, { "title": "UPDATE", "body": "UPDATE public.\"global_issues\" SET\n \"github_issue_id\" = 1,\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"title\" = '',\n \"description\" = '',\n \"labels\" = '',\n \"type\" = '',\n \"state\" = '',\n \"answer\" = '',\n \"link\" = '',\n \"states\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"global_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.global_issues", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('issue_upvote_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "link", "type": "text", "isAutogenerated": false }, { "name": "comment", "type": "text", "isAutogenerated": false }, { "name": "author", "type": "text", "isAutogenerated": false }, { "name": "created_at", "type": "timestamp", "isAutogenerated": false }, { "name": "issue_id", "type": "int4", "isAutogenerated": false }, { "defaultValue": "'None'::text", "name": "issue_comm_status", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "issue_upvote_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"issue_upvote\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"issue_upvote\" (\"link\", \"comment\", \"author\", \"created_at\", \"issue_id\")\n VALUES ('', '', '', TIMESTAMP '2019-07-01 10:00:00', 1);" }, { "title": "UPDATE", "body": "UPDATE public.\"issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.issue_upvote", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('product_comments_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "comment", "type": "text", "isAutogenerated": false }, { "name": "author", "type": "varchar", "isAutogenerated": false }, { "defaultValue": "CURRENT_TIMESTAMP", "name": "created_at", "type": "timestamp", "isAutogenerated": false }, { "name": "issue_id", "type": "int4", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "product_comments_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"product_comments\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"product_comments\" (\"comment\", \"author\", \"issue_id\")\n VALUES ('', '', 1);" }, { "title": "UPDATE", "body": "UPDATE public.\"product_comments\" SET\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"product_comments\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.product_comments", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('sample_apps_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "title", "type": "varchar", "isAutogenerated": false }, { "name": "description", "type": "text", "isAutogenerated": false }, { "name": "link", "type": "text", "isAutogenerated": false }, { "name": "author", "type": "varchar", "isAutogenerated": false }, { "defaultValue": "CURRENT_DATE", "name": "created_at", "type": "timestamp", "isAutogenerated": false }, { "name": "categories", "type": "text", "isAutogenerated": false }, { "name": "tags", "type": "text", "isAutogenerated": false }, { "name": "status", "type": "text", "isAutogenerated": false }, { "name": "isdeleted", "type": "bool", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "sample_apps_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"sample_apps\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"sample_apps\" (\"title\", \"description\", \"link\", \"author\", \"categories\", \"tags\", \"status\", \"isdeleted\")\n VALUES ('', '', '', '', '', '', '', '');" }, { "title": "UPDATE", "body": "UPDATE public.\"sample_apps\" SET\n \"title\" = '',\n \"description\" = '',\n \"link\" = '',\n \"author\" = '',\n \"categories\" = '',\n \"tags\" = '',\n \"status\" = '',\n \"isdeleted\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"sample_apps\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.sample_apps", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('standup_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "name", "type": "text", "isAutogenerated": false }, { "name": "yesterday", "type": "text", "isAutogenerated": false }, { "name": "today", "type": "text", "isAutogenerated": false }, { "name": "blocked", "type": "text", "isAutogenerated": false }, { "name": "date", "type": "date", "isAutogenerated": false }, { "name": "pod", "type": "text", "isAutogenerated": false }, { "name": "dayrating", "type": "int4", "isAutogenerated": false }, { "name": "restrating", "type": "int4", "isAutogenerated": false }, { "name": "focusrating", "type": "int4", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "standup_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"standup\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"standup\" (\"name\", \"yesterday\", \"today\", \"blocked\", \"date\", \"pod\", \"dayrating\", \"restrating\", \"focusrating\")\n VALUES ('', '', '', '', '2019-07-01', '', 1, 1, 1);" }, { "title": "UPDATE", "body": "UPDATE public.\"standup\" SET\n \"name\" = '',\n \"yesterday\" = '',\n \"today\" = '',\n \"blocked\" = '',\n \"date\" = '2019-07-01',\n \"pod\" = '',\n \"dayrating\" = 1,\n \"restrating\" = 1,\n \"focusrating\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"standup\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.standup", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('support_tickets_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "description", "type": "varchar", "isAutogenerated": false }, { "name": "created_at", "type": "timestamptz", "isAutogenerated": false }, { "name": "author", "type": "text", "isAutogenerated": false }, { "name": "user", "type": "text", "isAutogenerated": false }, { "name": "comments", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "support_tickets_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"support_tickets\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"support_tickets\" (\"description\", \"created_at\", \"author\", \"user\", \"comments\")\n VALUES ('', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');" }, { "title": "UPDATE", "body": "UPDATE public.\"support_tickets\" SET\n \"description\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"author\" = '',\n \"user\" = '',\n \"comments\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"support_tickets\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.support_tickets", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('template_table_col1_seq'::regclass)", "name": "col1", "type": "int4", "isAutogenerated": true }, { "name": "col2", "type": "text", "isAutogenerated": false }, { "name": "col3", "type": "int4", "isAutogenerated": false }, { "name": "col4", "type": "bool", "isAutogenerated": false }, { "name": "col5", "type": "float8", "isAutogenerated": false }, { "name": "col6", "type": "date", "isAutogenerated": false }, { "name": "col7", "type": "json", "isAutogenerated": false }, { "name": "col8", "type": "varchar", "isAutogenerated": false }, { "name": "col9", "type": "numeric", "isAutogenerated": false }, { "name": "col10", "type": "text", "isAutogenerated": false }, { "name": "col11", "type": "text", "isAutogenerated": false }, { "name": "col12", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["col1"], "name": "template_table_pkey", "type": "primary key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"template_table\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"template_table\" (\"col2\", \"col3\", \"col4\", \"col5\", \"col6\", \"col7\", \"col8\", \"col9\", \"col10\", \"col11\", \"col12\")\n VALUES ('', 1, '', 1.0, '2019-07-01', '', '', '', '', '', '');" }, { "title": "UPDATE", "body": "UPDATE public.\"template_table\" SET\n \"col2\" = '',\n \"col3\" = 1,\n \"col4\" = '',\n \"col5\" = 1.0,\n \"col6\" = '2019-07-01',\n \"col7\" = '',\n \"col8\" = '',\n \"col9\" = '',\n \"col10\" = '',\n \"col11\" = '',\n \"col12\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"template_table\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.template_table", "type": "TABLE" }, { "schema": "public", "columns": [ { "defaultValue": "nextval('ticket_tags_id_seq'::regclass)", "name": "id", "type": "int4", "isAutogenerated": true }, { "name": "ticket_id", "type": "int4", "isAutogenerated": false }, { "name": "github_tag_id", "type": "text", "isAutogenerated": false } ], "keys": [ { "columnNames": ["id"], "name": "ticket_tags_pkey", "type": "primary key" }, { "fromColumns": ["ticket_id"], "name": "ticket_id_fk", "toColumns": ["support_tickets.id"], "type": "foreign key" } ], "templates": [ { "title": "SELECT", "body": "SELECT * FROM public.\"ticket_tags\" LIMIT 10;" }, { "title": "INSERT", "body": "INSERT INTO public.\"ticket_tags\" (\"ticket_id\", \"github_tag_id\")\n VALUES (1, '');" }, { "title": "UPDATE", "body": "UPDATE public.\"ticket_tags\" SET\n \"ticket_id\" = 1,\n \"github_tag_id\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" }, { "title": "DELETE", "body": "DELETE FROM public.\"ticket_tags\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" } ], "name": "public.ticket_tags", "type": "TABLE" } ] } }, { "datasourceId": "Mock_Mongo", "structure": { "tables": [ { "columns": [ { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, { "name": "col1", "type": "String", "isAutogenerated": false }, { "name": "col2", "type": "String", "isAutogenerated": false }, { "name": "col3", "type": "String", "isAutogenerated": false }, { "name": "col4", "type": "String", "isAutogenerated": false } ], "keys": [], "templates": [ { "configuration": { "find": { "query": { "data": "{ \"col1\": \"test\"}" }, "limit": { "data": "10" }, "sort": { "data": "{\"_id\": 1}" } }, "collection": { "data": "template_table" }, "body": { "data": "{\n \"find\": \"template_table\",\n \"filter\": {\n \"col1\": \"test\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find" }, { "configuration": { "find": { "query": { "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" } }, "collection": { "data": "template_table" }, "body": { "data": "{\n \"find\": \"template_table\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find by ID" }, { "configuration": { "insert": { "documents": { "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n}]" } }, "collection": { "data": "template_table" }, "body": { "data": "{\n \"insert\": \"template_table\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n }\n ]\n}\n" }, "command": { "data": "INSERT" }, "smartSubstitution": { "data": true } }, "title": "Insert" }, { "configuration": { "updateMany": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" }, "limit": { "data": "ALL" }, "update": { "data": "{ \"$set\": { \"col1\": \"new value\" } }" } }, "collection": { "data": "template_table" }, "body": { "data": "{\n \"update\": \"template_table\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"col1\": \"new value\" } }\n }\n ]\n}\n" }, "command": { "data": "UPDATE" }, "smartSubstitution": { "data": true } }, "title": "Update" }, { "configuration": { "collection": { "data": "template_table" }, "body": { "data": "{\n \"delete\": \"template_table\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" }, "delete": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" }, "limit": { "data": "SINGLE" } }, "command": { "data": "DELETE" }, "smartSubstitution": { "data": true } }, "title": "Delete" }, { "configuration": { "count": { "query": { "data": "{\"_id\": {\"$exists\": true}}" } }, "collection": { "data": "template_table" }, "body": { "data": "{\n \"count\": \"template_table\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" }, "command": { "data": "COUNT" }, "smartSubstitution": { "data": true } }, "title": "Count" }, { "configuration": { "distinct": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" }, "key": { "data": "_id" } }, "collection": { "data": "template_table" }, "body": { "data": "{\n \"distinct\": \"template_table\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" }, "command": { "data": "DISTINCT" }, "smartSubstitution": { "data": true } }, "title": "Distinct" }, { "configuration": { "collection": { "data": "template_table" }, "body": { "data": "{\n \"aggregate\": \"template_table\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" }, "command": { "data": "AGGREGATE" }, "smartSubstitution": { "data": true }, "aggregate": { "arrayPipelines": { "data": "[ {\"$sort\" : {\"_id\": 1} } ]" }, "limit": { "data": "10" } } }, "title": "Aggregate" } ], "name": "template_table", "type": "COLLECTION" }, { "columns": [ { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, { "name": "createdAt", "type": "Date", "isAutogenerated": false }, { "name": "email", "type": "String", "isAutogenerated": false }, { "name": "name", "type": "String", "isAutogenerated": false }, { "name": "role", "type": "String", "isAutogenerated": false }, { "name": "status", "type": "Object", "isAutogenerated": false } ], "keys": [], "templates": [ { "configuration": { "find": { "query": { "data": "{ \"email\": \"Fae14@hotmail.com\"}" }, "limit": { "data": "10" }, "sort": { "data": "{\"_id\": 1}" } }, "collection": { "data": "users" }, "body": { "data": "{\n \"find\": \"users\",\n \"filter\": {\n \"email\": \"Fae14@hotmail.com\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find" }, { "configuration": { "find": { "query": { "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" } }, "collection": { "data": "users" }, "body": { "data": "{\n \"find\": \"users\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find by ID" }, { "configuration": { "insert": { "documents": { "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n}]" } }, "collection": { "data": "users" }, "body": { "data": "{\n \"insert\": \"users\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n }\n ]\n}\n" }, "command": { "data": "INSERT" }, "smartSubstitution": { "data": true } }, "title": "Insert" }, { "configuration": { "updateMany": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" }, "limit": { "data": "ALL" }, "update": { "data": "{ \"$set\": { \"email\": \"new value\" } }" } }, "collection": { "data": "users" }, "body": { "data": "{\n \"update\": \"users\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"email\": \"new value\" } }\n }\n ]\n}\n" }, "command": { "data": "UPDATE" }, "smartSubstitution": { "data": true } }, "title": "Update" }, { "configuration": { "collection": { "data": "users" }, "body": { "data": "{\n \"delete\": \"users\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" }, "delete": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" }, "limit": { "data": "SINGLE" } }, "command": { "data": "DELETE" }, "smartSubstitution": { "data": true } }, "title": "Delete" }, { "configuration": { "count": { "query": { "data": "{\"_id\": {\"$exists\": true}}" } }, "collection": { "data": "users" }, "body": { "data": "{\n \"count\": \"users\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" }, "command": { "data": "COUNT" }, "smartSubstitution": { "data": true } }, "title": "Count" }, { "configuration": { "distinct": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" }, "key": { "data": "_id" } }, "collection": { "data": "users" }, "body": { "data": "{\n \"distinct\": \"users\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" }, "command": { "data": "DISTINCT" }, "smartSubstitution": { "data": true } }, "title": "Distinct" }, { "configuration": { "collection": { "data": "users" }, "body": { "data": "{\n \"aggregate\": \"users\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" }, "command": { "data": "AGGREGATE" }, "smartSubstitution": { "data": true }, "aggregate": { "arrayPipelines": { "data": "[ {\"$sort\" : {\"_id\": 1} } ]" }, "limit": { "data": "10" } } }, "title": "Aggregate" } ], "name": "users", "type": "COLLECTION" }, { "columns": [ { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, { "name": "createdAt", "type": "Date", "isAutogenerated": false }, { "name": "currentLimit", "type": "Integer", "isAutogenerated": false }, { "name": "featureName", "type": "String", "isAutogenerated": false }, { "name": "key", "type": "Integer", "isAutogenerated": false }, { "name": "limit", "type": "Integer", "isAutogenerated": false }, { "name": "subscriptionId", "type": "ObjectId", "isAutogenerated": true } ], "keys": [], "templates": [ { "configuration": { "find": { "query": { "data": "{ \"featureName\": \"Okuneva Inc\"}" }, "limit": { "data": "10" }, "sort": { "data": "{\"_id\": 1}" } }, "collection": { "data": "orgs" }, "body": { "data": "{\n \"find\": \"orgs\",\n \"filter\": {\n \"featureName\": \"Okuneva Inc\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find" }, { "configuration": { "find": { "query": { "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" } }, "collection": { "data": "orgs" }, "body": { "data": "{\n \"find\": \"orgs\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find by ID" }, { "configuration": { "insert": { "documents": { "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n}]" } }, "collection": { "data": "orgs" }, "body": { "data": "{\n \"insert\": \"orgs\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n" }, "command": { "data": "INSERT" }, "smartSubstitution": { "data": true } }, "title": "Insert" }, { "configuration": { "updateMany": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" }, "limit": { "data": "ALL" }, "update": { "data": "{ \"$set\": { \"featureName\": \"new value\" } }" } }, "collection": { "data": "orgs" }, "body": { "data": "{\n \"update\": \"orgs\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"featureName\": \"new value\" } }\n }\n ]\n}\n" }, "command": { "data": "UPDATE" }, "smartSubstitution": { "data": true } }, "title": "Update" }, { "configuration": { "collection": { "data": "orgs" }, "body": { "data": "{\n \"delete\": \"orgs\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" }, "delete": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" }, "limit": { "data": "SINGLE" } }, "command": { "data": "DELETE" }, "smartSubstitution": { "data": true } }, "title": "Delete" }, { "configuration": { "count": { "query": { "data": "{\"_id\": {\"$exists\": true}}" } }, "collection": { "data": "orgs" }, "body": { "data": "{\n \"count\": \"orgs\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" }, "command": { "data": "COUNT" }, "smartSubstitution": { "data": true } }, "title": "Count" }, { "configuration": { "distinct": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" }, "key": { "data": "_id" } }, "collection": { "data": "orgs" }, "body": { "data": "{\n \"distinct\": \"orgs\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" }, "command": { "data": "DISTINCT" }, "smartSubstitution": { "data": true } }, "title": "Distinct" }, { "configuration": { "collection": { "data": "orgs" }, "body": { "data": "{\n \"aggregate\": \"orgs\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" }, "command": { "data": "AGGREGATE" }, "smartSubstitution": { "data": true }, "aggregate": { "arrayPipelines": { "data": "[ {\"$sort\" : {\"_id\": 1} } ]" }, "limit": { "data": "10" } } }, "title": "Aggregate" } ], "name": "orgs", "type": "COLLECTION" }, { "columns": [ { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, { "name": "createdAt", "type": "Date", "isAutogenerated": false }, { "name": "createdBy", "type": "ObjectId", "isAutogenerated": true }, { "name": "domain", "type": "String", "isAutogenerated": false }, { "name": "name", "type": "String", "isAutogenerated": false }, { "name": "numUsers", "type": "Integer", "isAutogenerated": false }, { "name": "orgId", "type": "ObjectId", "isAutogenerated": true } ], "keys": [], "templates": [ { "configuration": { "find": { "query": { "data": "{ \"domain\": \"gunner.name\"}" }, "limit": { "data": "10" }, "sort": { "data": "{\"_id\": 1}" } }, "collection": { "data": "apps" }, "body": { "data": "{\n \"find\": \"apps\",\n \"filter\": {\n \"domain\": \"gunner.name\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find" }, { "configuration": { "find": { "query": { "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" } }, "collection": { "data": "apps" }, "body": { "data": "{\n \"find\": \"apps\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find by ID" }, { "configuration": { "insert": { "documents": { "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n}]" } }, "collection": { "data": "apps" }, "body": { "data": "{\n \"insert\": \"apps\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n" }, "command": { "data": "INSERT" }, "smartSubstitution": { "data": true } }, "title": "Insert" }, { "configuration": { "updateMany": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" }, "limit": { "data": "ALL" }, "update": { "data": "{ \"$set\": { \"domain\": \"new value\" } }" } }, "collection": { "data": "apps" }, "body": { "data": "{\n \"update\": \"apps\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"domain\": \"new value\" } }\n }\n ]\n}\n" }, "command": { "data": "UPDATE" }, "smartSubstitution": { "data": true } }, "title": "Update" }, { "configuration": { "collection": { "data": "apps" }, "body": { "data": "{\n \"delete\": \"apps\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" }, "delete": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" }, "limit": { "data": "SINGLE" } }, "command": { "data": "DELETE" }, "smartSubstitution": { "data": true } }, "title": "Delete" }, { "configuration": { "count": { "query": { "data": "{\"_id\": {\"$exists\": true}}" } }, "collection": { "data": "apps" }, "body": { "data": "{\n \"count\": \"apps\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" }, "command": { "data": "COUNT" }, "smartSubstitution": { "data": true } }, "title": "Count" }, { "configuration": { "distinct": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" }, "key": { "data": "_id" } }, "collection": { "data": "apps" }, "body": { "data": "{\n \"distinct\": \"apps\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" }, "command": { "data": "DISTINCT" }, "smartSubstitution": { "data": true } }, "title": "Distinct" }, { "configuration": { "collection": { "data": "apps" }, "body": { "data": "{\n \"aggregate\": \"apps\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" }, "command": { "data": "AGGREGATE" }, "smartSubstitution": { "data": true }, "aggregate": { "arrayPipelines": { "data": "[ {\"$sort\" : {\"_id\": 1} } ]" }, "limit": { "data": "10" } } }, "title": "Aggregate" } ], "name": "apps", "type": "COLLECTION" }, { "columns": [ { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, { "name": "genres", "type": "String", "isAutogenerated": false } ], "keys": [], "templates": [ { "configuration": { "find": { "query": { "data": "{ \"genres\": \"https://release.app.appsmith.com/app/scratchpad/mongo-625418abb49da04657c566c5/edit\"}" }, "limit": { "data": "10" }, "sort": { "data": "{\"_id\": 1}" } }, "collection": { "data": "movies" }, "body": { "data": "{\n \"find\": \"movies\",\n \"filter\": {\n \"genres\": \"https://release.app.appsmith.com/app/scratchpad/mongo-625418abb49da04657c566c5/edit\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find" }, { "configuration": { "find": { "query": { "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" } }, "collection": { "data": "movies" }, "body": { "data": "{\n \"find\": \"movies\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find by ID" }, { "configuration": { "insert": { "documents": { "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"genres\": \"new value\",\n}]" } }, "collection": { "data": "movies" }, "body": { "data": "{\n \"insert\": \"movies\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"genres\": \"new value\",\n }\n ]\n}\n" }, "command": { "data": "INSERT" }, "smartSubstitution": { "data": true } }, "title": "Insert" }, { "configuration": { "updateMany": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" }, "limit": { "data": "ALL" }, "update": { "data": "{ \"$set\": { \"genres\": \"new value\" } }" } }, "collection": { "data": "movies" }, "body": { "data": "{\n \"update\": \"movies\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"genres\": \"new value\" } }\n }\n ]\n}\n" }, "command": { "data": "UPDATE" }, "smartSubstitution": { "data": true } }, "title": "Update" }, { "configuration": { "collection": { "data": "movies" }, "body": { "data": "{\n \"delete\": \"movies\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" }, "delete": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" }, "limit": { "data": "SINGLE" } }, "command": { "data": "DELETE" }, "smartSubstitution": { "data": true } }, "title": "Delete" }, { "configuration": { "count": { "query": { "data": "{\"_id\": {\"$exists\": true}}" } }, "collection": { "data": "movies" }, "body": { "data": "{\n \"count\": \"movies\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" }, "command": { "data": "COUNT" }, "smartSubstitution": { "data": true } }, "title": "Count" }, { "configuration": { "distinct": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" }, "key": { "data": "_id" } }, "collection": { "data": "movies" }, "body": { "data": "{\n \"distinct\": \"movies\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" }, "command": { "data": "DISTINCT" }, "smartSubstitution": { "data": true } }, "title": "Distinct" }, { "configuration": { "collection": { "data": "movies" }, "body": { "data": "{\n \"aggregate\": \"movies\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" }, "command": { "data": "AGGREGATE" }, "smartSubstitution": { "data": true }, "aggregate": { "arrayPipelines": { "data": "[ {\"$sort\" : {\"_id\": 1} } ]" }, "limit": { "data": "10" } } }, "title": "Aggregate" } ], "name": "movies", "type": "COLLECTION" }, { "columns": [ { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, { "name": "createdAt", "type": "Date", "isAutogenerated": false }, { "name": "currency", "type": "String", "isAutogenerated": false }, { "name": "mrr", "type": "String", "isAutogenerated": false }, { "name": "name", "type": "String", "isAutogenerated": false }, { "name": "renewalDate", "type": "Date", "isAutogenerated": false }, { "name": "status", "type": "String", "isAutogenerated": false }, { "name": "statusOfApp", "type": "Object", "isAutogenerated": false } ], "keys": [], "templates": [ { "configuration": { "find": { "query": { "data": "{ \"currency\": \"MRO\"}" }, "limit": { "data": "10" }, "sort": { "data": "{\"_id\": 1}" } }, "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"currency\": \"MRO\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find" }, { "configuration": { "find": { "query": { "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" } }, "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" }, "command": { "data": "FIND" }, "smartSubstitution": { "data": true } }, "title": "Find by ID" }, { "configuration": { "insert": { "documents": { "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n}]" } }, "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"insert\": \"subscriptions\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n }\n ]\n}\n" }, "command": { "data": "INSERT" }, "smartSubstitution": { "data": true } }, "title": "Insert" }, { "configuration": { "updateMany": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" }, "limit": { "data": "ALL" }, "update": { "data": "{ \"$set\": { \"currency\": \"new value\" } }" } }, "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"update\": \"subscriptions\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"currency\": \"new value\" } }\n }\n ]\n}\n" }, "command": { "data": "UPDATE" }, "smartSubstitution": { "data": true } }, "title": "Update" }, { "configuration": { "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"delete\": \"subscriptions\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" }, "delete": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" }, "limit": { "data": "SINGLE" } }, "command": { "data": "DELETE" }, "smartSubstitution": { "data": true } }, "title": "Delete" }, { "configuration": { "count": { "query": { "data": "{\"_id\": {\"$exists\": true}}" } }, "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"count\": \"subscriptions\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" }, "command": { "data": "COUNT" }, "smartSubstitution": { "data": true } }, "title": "Count" }, { "configuration": { "distinct": { "query": { "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" }, "key": { "data": "_id" } }, "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"distinct\": \"subscriptions\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" }, "command": { "data": "DISTINCT" }, "smartSubstitution": { "data": true } }, "title": "Distinct" }, { "configuration": { "collection": { "data": "subscriptions" }, "body": { "data": "{\n \"aggregate\": \"subscriptions\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" }, "command": { "data": "AGGREGATE" }, "smartSubstitution": { "data": true }, "aggregate": { "arrayPipelines": { "data": "[ {\"$sort\" : {\"_id\": 1} } ]" }, "limit": { "data": "10" } } }, "title": "Aggregate" } ], "name": "subscriptions", "type": "COLLECTION" } ] } }, { "datasourceId": "RedisTemplateApps", "structure": {} } ], "editModeTheme": { "isSystemTheme": true, "deleted": false, "displayName": "Modern", "name": "Default" }, "datasourceList": [ { "deleted": false, "pluginId": "amazons3-plugin", "name": "AmazonS3 CRUD", "messages": [], "isAutoGenerated": false, "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528942" }, { "deleted": false, "pluginId": "restapi-plugin", "name": "Appsmith Release", "messages": [], "isAutoGenerated": false, "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528a53" }, { "deleted": false, "pluginId": "firestore-plugin", "name": "FBTemplateDB", "messages": [], "isAutoGenerated": false, "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893f" }, { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "messages": [], "isAutoGenerated": false, "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528941" }, { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "messages": [], "isAutoGenerated": false, "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893c" }, { "deleted": false, "pluginId": "mongo-plugin", "name": "Mock_Mongo", "messages": [], "isAutoGenerated": false, "gitSyncId": "5f7add8687af934ed846dd6a_61c43332e89bc475f3cae797" }, { "deleted": false, "pluginId": "redis-plugin", "name": "RedisTemplateApps", "messages": [], "isAutoGenerated": false, "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528943" } ], "actionList": [ { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow.col1"], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "SQL_DeleteQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow.col1"], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f01" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || \"ASC\"" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "SQL_SelectQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || \"ASC\"" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef8" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow.col1", "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "SQL_UpdateQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow.col1", "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f03" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_form.formData.col1", "insert_form.formData.col10", "insert_form.formData.col11", "insert_form.formData.col12", "insert_form.formData.col2", "insert_form.formData.col3", "insert_form.formData.col4", "insert_form.formData.col5", "insert_form.formData.col6", "insert_form.formData.col7", "insert_form.formData.col8", "insert_form.formData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "SQL_InsertQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "SQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_form.formData.col1", "insert_form.formData.col10", "insert_form.formData.col11", "insert_form.formData.col12", "insert_form.formData.col2", "insert_form.formData.col3", "insert_form.formData.col4", "insert_form.formData.col5", "insert_form.formData.col6", "insert_form.formData.col7", "insert_form.formData.col8", "insert_form.formData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef9" }, { "pluginType": "SAAS", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "rowObjects": { "data": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", "viewType": "component", "componentData": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}" }, "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "UPDATE_ONE", "viewType": "component", "componentData": "UPDATE_ONE" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } }, "pluginSpecifiedTemplates": [ { "value": "UPDATE", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "", "key": "rowOffset" }, { "value": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", "key": "rowObject" }, { "key": "rowObjects" }, { "value": "", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": true, "key": "smartSubstitution" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n" ], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "deleted": false, "pluginId": "google-sheets-plugin", "id": "Google Sheets_UpdateQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "rowObjects": { "data": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", "viewType": "component", "componentData": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}" }, "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "UPDATE_ONE", "viewType": "component", "componentData": "UPDATE_ONE" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } }, "pluginSpecifiedTemplates": [ { "value": "UPDATE", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "", "key": "rowOffset" }, { "value": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", "key": "rowObject" }, { "key": "rowObjects" }, { "value": "", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": true, "key": "smartSubstitution" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n" ], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efa" }, { "pluginType": "SAAS", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "pagination": { "data": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" }, "viewType": "component", "componentData": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" } }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "range": { "data": "" }, "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, "where": { "data": { "condition": "AND", "children": [{}] }, "viewType": "component", "componentData": { "condition": "AND", "children": [{}] } }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "FETCH_MANY", "viewType": "component", "componentData": "FETCH_MANY" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": false, "viewType": "component", "componentData": false } }, "pluginSpecifiedTemplates": [ { "value": "GET", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "key": "rowOffset" }, { "key": "rowObject" }, { "key": "rowObjects" }, { "value": "", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": false, "key": "smartSubstitution" }, { "value": [{}], "key": "where" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize" ], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "deleted": false, "pluginId": "google-sheets-plugin", "id": "Google Sheets_SelectQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "pagination": { "data": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" }, "viewType": "component", "componentData": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" } }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "range": { "data": "" }, "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, "where": { "data": { "condition": "AND", "children": [{}] }, "viewType": "component", "componentData": { "condition": "AND", "children": [{}] } }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "FETCH_MANY", "viewType": "component", "componentData": "FETCH_MANY" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": false, "viewType": "component", "componentData": false } }, "pluginSpecifiedTemplates": [ { "value": "GET", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "key": "rowOffset" }, { "key": "rowObject" }, { "key": "rowObjects" }, { "value": "", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": false, "key": "smartSubstitution" }, { "value": [{}], "key": "where" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize" ], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f02" }, { "pluginType": "SAAS", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "pagination": { "data": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" }, "viewType": "component", "componentData": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" } }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "range": { "data": "" }, "rowIndex": { "data": "{{data_table.triggeredRow.rowIndex}}", "viewType": "component", "componentData": "{{data_table.triggeredRow.rowIndex}}" }, "where": { "data": { "condition": "AND" } }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "DELETE_ONE", "viewType": "component", "componentData": "DELETE_ONE" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": false, "viewType": "component", "componentData": false } }, "pluginSpecifiedTemplates": [ { "value": "DELETE_ROW", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "key": "rowOffset" }, { "key": "rowObject" }, { "key": "rowObjects" }, { "value": "{{data_table.triggeredRow.rowIndex}}", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": false, "key": "smartSubstitution" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.triggeredRow.rowIndex" ], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "deleted": false, "pluginId": "google-sheets-plugin", "id": "Google Sheets_DeleteQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "pagination": { "data": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" }, "viewType": "component", "componentData": { "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "limit": "{{data_table.pageSize}}" } }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "range": { "data": "" }, "rowIndex": { "data": "{{data_table.triggeredRow.rowIndex}}", "viewType": "component", "componentData": "{{data_table.triggeredRow.rowIndex}}" }, "where": { "data": { "condition": "AND" } }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "DELETE_ONE", "viewType": "component", "componentData": "DELETE_ONE" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": false, "viewType": "component", "componentData": false } }, "pluginSpecifiedTemplates": [ { "value": "DELETE_ROW", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "key": "rowOffset" }, { "key": "rowObject" }, { "key": "rowObjects" }, { "value": "{{data_table.triggeredRow.rowIndex}}", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": false, "key": "smartSubstitution" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.triggeredRow.rowIndex" ], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f04" }, { "pluginType": "SAAS", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "rowObjects": { "data": "{{insert_form.formData}}", "viewType": "component", "componentData": "{{insert_form.formData}}" }, "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "range": { "data": "" }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "INSERT_ONE", "viewType": "component", "componentData": "INSERT_ONE" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } }, "pluginSpecifiedTemplates": [ { "value": "APPEND", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "", "key": "rowOffset" }, { "value": "{{insert_form.formData}}", "key": "rowObject" }, { "key": "rowObjects" }, { "value": "", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": true, "key": "smartSubstitution" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": ["insert_form.formData"], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "deleted": false, "pluginId": "google-sheets-plugin", "id": "Google Sheets_InsertQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "rowObjects": { "data": "{{insert_form.formData}}", "viewType": "component", "componentData": "{{insert_form.formData}}" }, "tableHeaderIndex": { "data": "1", "viewType": "component", "componentData": "1" }, "sheetName": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "entityType": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "range": { "data": "" }, "projection": { "data": [] }, "sheetUrl": { "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", "viewType": "component", "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" }, "command": { "data": "INSERT_ONE", "viewType": "component", "componentData": "INSERT_ONE" }, "queryFormat": { "data": "ROWS", "viewType": "component", "componentData": "ROWS" }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } }, "pluginSpecifiedTemplates": [ { "value": "APPEND", "key": "method" }, { "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", "key": "sheetUrl" }, { "value": "", "key": "range" }, { "value": "", "key": "spreadsheetName" }, { "value": "1", "key": "tableHeaderIndex" }, { "value": "ROWS", "key": "queryFormat" }, { "value": "", "key": "rowLimit" }, { "value": "template_table", "key": "sheetName" }, { "value": "", "key": "rowOffset" }, { "value": "{{insert_form.formData}}", "key": "rowObject" }, { "key": "rowObjects" }, { "value": "", "key": "rowIndex" }, { "value": "SHEET", "key": "deleteFormat" }, { "value": true, "key": "smartSubstitution" } ] }, "policies": [], "userPermissions": [], "pageId": "Google Sheets", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": ["insert_form.formData"], "datasource": { "deleted": false, "pluginId": "google-sheets-plugin", "name": "Google Sheet", "policies": [], "messages": [], "id": "Google Sheet", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efb" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 100000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}", "viewType": "component", "componentData": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}" }, "create": { "dataType": { "data": "YES", "viewType": "component", "componentData": "YES" }, "expiry": { "data": "5", "viewType": "component", "componentData": "5" } }, "body": { "data": "{{FilePicker.files[this.params.fileIndex]}}", "viewType": "component", "componentData": "{{FilePicker.files[this.params.fileIndex]}}" }, "command": { "data": "UPLOAD_FILE_FROM_BODY", "viewType": "component", "componentData": "UPLOAD_FILE_FROM_BODY" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [ "'Query timeout' field must be an integer between 0 and 60000" ], "dynamicBindingPathList": [ { "key": "formData.body.data" }, { "key": "formData.path.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name", "FilePicker.files[this.params.fileIndex]" ], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "CreateFile", "messages": [] }, "deleted": false, "pluginId": "amazons3-plugin", "id": "S3_CreateFile", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 100000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}", "viewType": "component", "componentData": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}" }, "create": { "dataType": { "data": "YES", "viewType": "component", "componentData": "YES" }, "expiry": { "data": "5", "viewType": "component", "componentData": "5" } }, "body": { "data": "{{FilePicker.files[this.params.fileIndex]}}", "viewType": "component", "componentData": "{{FilePicker.files[this.params.fileIndex]}}" }, "command": { "data": "UPLOAD_FILE_FROM_BODY", "viewType": "component", "componentData": "UPLOAD_FILE_FROM_BODY" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [ "'Query timeout' field must be an integer between 0 and 60000" ], "dynamicBindingPathList": [ { "key": "formData.body.data" }, { "key": "formData.path.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name", "FilePicker.files[this.params.fileIndex]" ], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "CreateFile", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efc" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "path": "", "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "body": { "data": "{\n\t\"data\": \"\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"\"\n}" }, "list": { "pagination": { "data": { "offset": "{{(File_List.pageNo - 1) * File_List.pageSize}}", "limit": "{{File_List.pageSize}}" } }, "prefix": { "data": "{{search_input.text}}", "viewType": "component", "componentData": "{{search_input.text}}" }, "where": { "data": { "condition": "AND", "children": [{ "condition": "EQ" }] }, "viewType": "component", "componentData": { "condition": "AND", "children": [{ "condition": "EQ" }] } }, "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, "expiry": { "data": "{{ 60 * 24 }}", "viewType": "component", "componentData": "{{ 60 * 24 }}" }, "signedUrl": { "data": "YES", "viewType": "component", "componentData": "YES" }, "unSignedUrl": { "data": "YES", "viewType": "component", "componentData": "YES" } }, "command": { "data": "LIST", "viewType": "component", "componentData": "LIST" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.list.prefix.data" }, { "key": "formData.list.expiry.data" }, { "key": "formData.list.pagination.data.offset" }, { "key": "formData.list.pagination.data.limit" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ " 60 * 24 ", "(File_List.pageNo - 1) * File_List.pageSize", "File_List.pageSize", "search_input.text" ], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "name": "AmazonS3 CRUD", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "ListFiles", "messages": [] }, "deleted": false, "pluginId": "amazons3-plugin", "id": "S3_ListFiles", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "path": "", "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "body": { "data": "{\n\t\"data\": \"\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"\"\n}" }, "list": { "pagination": { "data": { "offset": "{{(File_List.pageNo - 1) * File_List.pageSize}}", "limit": "{{File_List.pageSize}}" } }, "prefix": { "data": "{{search_input.text}}", "viewType": "component", "componentData": "{{search_input.text}}" }, "where": { "data": { "condition": "AND", "children": [{ "condition": "EQ" }] }, "viewType": "component", "componentData": { "condition": "AND", "children": [{ "condition": "EQ" }] } }, "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, "expiry": { "data": "{{ 60 * 24 }}", "viewType": "component", "componentData": "{{ 60 * 24 }}" }, "signedUrl": { "data": "YES", "viewType": "component", "componentData": "YES" }, "unSignedUrl": { "data": "YES", "viewType": "component", "componentData": "YES" } }, "command": { "data": "LIST", "viewType": "component", "componentData": "LIST" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.list.prefix.data" }, { "key": "formData.list.expiry.data" }, { "key": "formData.list.pagination.data.offset" }, { "key": "formData.list.pagination.data.limit" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ " 60 * 24 ", "(File_List.pageNo - 1) * File_List.pageSize", "File_List.pageSize", "search_input.text" ], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "name": "AmazonS3 CRUD", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "ListFiles", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efd" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{File_List.selectedItem.fileName}}", "viewType": "component", "componentData": "{{File_List.selectedItem.fileName}}" }, "body": { "data": "{\n\t\"data\": \"null\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"null\"\n}" }, "command": { "data": "DELETE_FILE", "viewType": "component", "componentData": "DELETE_FILE" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.path.data" }], "confirmBeforeExecute": false, "jsonPathKeys": ["File_List.selectedItem.fileName"], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteFile", "messages": [] }, "deleted": false, "pluginId": "amazons3-plugin", "id": "S3_DeleteFile", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{File_List.selectedItem.fileName}}", "viewType": "component", "componentData": "{{File_List.selectedItem.fileName}}" }, "body": { "data": "{\n\t\"data\": \"null\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"null\"\n}" }, "command": { "data": "DELETE_FILE", "viewType": "component", "componentData": "DELETE_FILE" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.path.data" }], "confirmBeforeExecute": false, "jsonPathKeys": ["File_List.selectedItem.fileName"], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteFile", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0c" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{File_List.selectedItem.fileName}}", "viewType": "component", "componentData": "{{File_List.selectedItem.fileName}}" }, "read": { "dataType": { "data": "YES", "viewType": "component", "componentData": "YES" } }, "body": { "data": "{\n\t\"data\": \"\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"\"\n}" }, "command": { "data": "READ_FILE", "viewType": "component", "componentData": "READ_FILE" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.path.data" }], "confirmBeforeExecute": false, "jsonPathKeys": ["File_List.selectedItem.fileName"], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "ReadFile", "messages": [] }, "deleted": false, "pluginId": "amazons3-plugin", "id": "S3_ReadFile", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{File_List.selectedItem.fileName}}", "viewType": "component", "componentData": "{{File_List.selectedItem.fileName}}" }, "read": { "dataType": { "data": "YES", "viewType": "component", "componentData": "YES" } }, "body": { "data": "{\n\t\"data\": \"\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"\"\n}" }, "command": { "data": "READ_FILE", "viewType": "component", "componentData": "READ_FILE" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.path.data" }], "confirmBeforeExecute": false, "jsonPathKeys": ["File_List.selectedItem.fileName"], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "ReadFile", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0d" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{update_file_name.text}}", "viewType": "component", "componentData": "{{update_file_name.text}}" }, "create": { "dataType": { "data": "YES", "viewType": "component", "componentData": "YES" }, "expiry": { "data": "5", "viewType": "component", "componentData": "5" } }, "body": { "data": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}" }, "command": { "data": "UPLOAD_FILE_FROM_BODY", "viewType": "component", "componentData": "UPLOAD_FILE_FROM_BODY" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.body.data" }, { "key": "formData.path.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "update_file_name.text", "update_file_picker.files.length ? update_file_picker.files[0].data : \"\"" ], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateFile", "messages": [] }, "deleted": false, "pluginId": "amazons3-plugin", "id": "S3_UpdateFile", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "bucket": { "data": "assets-test.appsmith.com", "viewType": "component", "componentData": "assets-test.appsmith.com" }, "path": { "data": "{{update_file_name.text}}", "viewType": "component", "componentData": "{{update_file_name.text}}" }, "create": { "dataType": { "data": "YES", "viewType": "component", "componentData": "YES" }, "expiry": { "data": "5", "viewType": "component", "componentData": "5" } }, "body": { "data": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}", "viewType": "component", "componentData": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}" }, "command": { "data": "UPLOAD_FILE_FROM_BODY", "viewType": "component", "componentData": "UPLOAD_FILE_FROM_BODY" } } }, "policies": [], "userPermissions": [], "pageId": "S3", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.body.data" }, { "key": "formData.path.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "update_file_name.text", "update_file_picker.files.length ? update_file_picker.files[0].data : \"\"" ], "datasource": { "deleted": false, "pluginId": "amazons3-plugin", "policies": [], "messages": [], "id": "AmazonS3 CRUD", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateFile", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0e" }, { "pluginType": "API", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "autoGeneratedHeaders": [], "path": "/api/v1/datasources/{{this.params.id}}/structure", "headers": [], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "httpMethod": "GET", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [{ "key": "path" }], "confirmBeforeExecute": false, "jsonPathKeys": ["this.params.id"], "datasource": { "deleted": false, "pluginId": "restapi-plugin", "name": "Appsmith Release", "policies": [], "messages": [], "id": "Appsmith Release", "userPermissions": [], "isAutoGenerated": false }, "name": "get_datasource_structure", "messages": [] }, "deleted": false, "pluginId": "restapi-plugin", "id": "Admin_get_datasource_structure", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "autoGeneratedHeaders": [], "path": "/api/v1/datasources/{{this.params.id}}/structure", "headers": [], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "httpMethod": "GET", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [{ "key": "path" }], "confirmBeforeExecute": false, "jsonPathKeys": ["this.params.id"], "datasource": { "deleted": false, "pluginId": "restapi-plugin", "name": "Appsmith Release", "policies": [], "messages": [], "id": "Appsmith Release", "userPermissions": [], "isAutoGenerated": false }, "name": "get_datasource_structure", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f00" }, { "pluginType": "API", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "autoGeneratedHeaders": [ { "value": "application/json", "key": "content-type" } ], "path": "/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf", "headers": [{ "value": "application/json", "key": "content-type" }], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "apiContentType": "application/json" }, "body": "{\n\t\"app\": {{ { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }}, \n\t\"branch\": \"update-crud-template\" \n}", "httpMethod": "POST", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": true, "jsonPathKeys": [ " { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } " ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://hook.eu1.make.com" }, "isAutoGenerated": false }, "name": "update_template", "messages": [] }, "deleted": false, "pluginId": "restapi-plugin", "id": "Admin_update_template", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "autoGeneratedHeaders": [ { "value": "application/json", "key": "content-type" } ], "path": "/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf", "headers": [{ "value": "application/json", "key": "content-type" }], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "apiContentType": "application/json" }, "body": "{\n\t\"app\": {{ { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }}, \n\t\"branch\": \"update-crud-template\" \n}", "httpMethod": "POST", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": true, "jsonPathKeys": [ " { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } " ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://hook.eu1.make.com" }, "isAutoGenerated": false }, "name": "update_template", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efe" }, { "pluginType": "API", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "autoGeneratedHeaders": [ { "value": "text/plain", "key": "content-type" } ], "path": "/api/v1/applications/export/61764fbeba7e887d03bc3631", "headers": [{ "value": "text/plain", "key": "content-type" }], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 100000, "encodeParamsToggle": true, "formData": { "apiContentType": "text/plain" }, "httpMethod": "GET", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [ "'Query timeout' field must be an integer between 0 and 60000" ], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [], "datasource": { "deleted": false, "pluginId": "restapi-plugin", "name": "Appsmith Release", "policies": [], "messages": [], "id": "Appsmith Release", "userPermissions": [], "isAutoGenerated": false }, "name": "get_exported_app", "messages": [] }, "deleted": false, "pluginId": "restapi-plugin", "id": "Admin_get_exported_app", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "autoGeneratedHeaders": [ { "value": "text/plain", "key": "content-type" } ], "path": "/api/v1/applications/export/61764fbeba7e887d03bc3631", "headers": [{ "value": "text/plain", "key": "content-type" }], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 100000, "encodeParamsToggle": true, "formData": { "apiContentType": "text/plain" }, "httpMethod": "GET", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [ "'Query timeout' field must be an integer between 0 and 60000" ], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [], "datasource": { "deleted": false, "pluginId": "restapi-plugin", "name": "Appsmith Release", "policies": [], "messages": [], "id": "Appsmith Release", "userPermissions": [], "isAutoGenerated": false }, "name": "get_exported_app", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531eff" }, { "pluginType": "API", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/users/me", "headers": [ { "value": "_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; ajs_user_id=nidhi@appsmith.com; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1", "key": "Cookie" } ], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "httpMethod": "GET", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [], "datasource": { "deleted": false, "pluginId": "restapi-plugin", "name": "Appsmith Release", "policies": [], "messages": [], "id": "Appsmith Release", "userPermissions": [], "isAutoGenerated": false }, "name": "get_user", "messages": [] }, "deleted": false, "pluginId": "restapi-plugin", "id": "Admin_get_user", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/users/me", "headers": [ { "value": "_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; ajs_user_id=nidhi@appsmith.com; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1", "key": "Cookie" } ], "paginationType": "NONE", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "httpMethod": "GET", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [], "datasource": { "deleted": false, "pluginId": "restapi-plugin", "name": "Appsmith Release", "policies": [], "messages": [], "id": "Appsmith Release", "userPermissions": [], "isAutoGenerated": false }, "name": "get_user", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb773acd5d7045095322ff" }, { "pluginType": "JS", "unpublishedAction": { "userSetOnLoad": true, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "jsArguments": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" }, "policies": [], "userPermissions": [], "fullyQualifiedName": "Utils.myFun2", "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "deleted": false, "pluginId": "js-plugin", "name": "UNUSED_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "isAutoGenerated": false }, "clientSideExecution": true, "name": "myFun2", "messages": [], "collectionId": "Admin_Utils" }, "deleted": false, "pluginId": "js-plugin", "id": "Admin_Utils.myFun2", "publishedAction": { "userSetOnLoad": true, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "jsArguments": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" }, "policies": [], "userPermissions": [], "fullyQualifiedName": "Utils.myFun2", "pageId": "Admin", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "deleted": false, "pluginId": "js-plugin", "name": "UNUSED_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "isAutoGenerated": false }, "clientSideExecution": true, "name": "myFun2", "messages": [], "collectionId": "Admin_Utils" }, "gitSyncId": "61764fbeba7e887d03bc3631_624e8fab729a2b0934685de0" }, { "pluginType": "API", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/pages/crud-page", "headers": [ { "value": "application/json", "key": "Content-Type" }, { "value": "SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;", "key": "Cookie" } ], "paginationType": "PAGE_NO", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}", "httpMethod": "POST" }, "policies": [], "userPermissions": [], "pageId": "Page Generator", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "app_input.text", "datasource_input.text", "search_col_input.text", "select_cols_input.text", "tableName_input.text" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://release.app.appsmith.com" }, "isAutoGenerated": false }, "name": "generate_sql_app", "messages": [] }, "deleted": false, "pluginId": "restapi-plugin", "id": "Page Generator_generate_sql_app", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/pages/crud-page", "headers": [ { "value": "application/json", "key": "Content-Type" }, { "value": "SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;", "key": "Cookie" } ], "paginationType": "PAGE_NO", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}", "httpMethod": "POST" }, "policies": [], "userPermissions": [], "pageId": "Page Generator", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "app_input.text", "datasource_input.text", "search_col_input.text", "select_cols_input.text", "tableName_input.text" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://release.app.appsmith.com" }, "isAutoGenerated": false }, "name": "generate_sql_app", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f05" }, { "pluginType": "API", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/pages/crud-page", "headers": [ { "value": "application/json", "key": "Content-Type" }, { "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", "key": "Cookie" } ], "paginationType": "PAGE_NO", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}", "httpMethod": "POST" }, "policies": [], "userPermissions": [], "pageId": "Page Generator", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "collection_input.text", "mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]", "search_keys_input.text" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://release.app.appsmith.com" }, "isAutoGenerated": false }, "name": "generate_mongo_app", "messages": [] }, "deleted": false, "pluginId": "restapi-plugin", "id": "Page Generator_generate_mongo_app", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/pages/crud-page", "headers": [ { "value": "application/json", "key": "Content-Type" }, { "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", "key": "Cookie" } ], "paginationType": "PAGE_NO", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}", "httpMethod": "POST" }, "policies": [], "userPermissions": [], "pageId": "Page Generator", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "collection_input.text", "mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]", "search_keys_input.text" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://release.app.appsmith.com" }, "isAutoGenerated": false }, "name": "generate_mongo_app", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0a" }, { "pluginType": "API", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/pages/crud-page", "headers": [ { "value": "application/json", "key": "Content-Type" }, { "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", "key": "Cookie" } ], "paginationType": "PAGE_NO", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}", "httpMethod": "POST" }, "policies": [], "userPermissions": [], "pageId": "Page Generator", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "collection_input.text", "gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]", "gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://release.app.appsmith.com" }, "isAutoGenerated": false }, "name": "generate_gsheet_app", "messages": [] }, "deleted": false, "pluginId": "restapi-plugin", "id": "Page Generator_generate_gsheet_app", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "/api/v1/pages/crud-page", "headers": [ { "value": "application/json", "key": "Content-Type" }, { "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", "key": "Cookie" } ], "paginationType": "PAGE_NO", "queryParameters": [], "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}", "httpMethod": "POST" }, "policies": [], "userPermissions": [], "pageId": "Page Generator", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "collection_input.text", "gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]", "gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]" ], "datasource": { "organizationId": "6171a062b7de236aa183ee0e", "invalids": [], "deleted": false, "pluginId": "restapi-plugin", "name": "DEFAULT_REST_DATASOURCE", "policies": [], "messages": [], "userPermissions": [], "datasourceConfiguration": { "url": "https://release.app.appsmith.com" }, "isAutoGenerated": false }, "name": "generate_gsheet_app", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0b" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "updateMany": { "query": { "data": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }", "viewType": "component", "componentData": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }" }, "limit": { "data": "SINGLE", "viewType": "component", "componentData": "SINGLE" }, "update": { "data": "{\n $set:{{update_form.formData}}\n}", "viewType": "component", "componentData": "{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}" } }, "find": { "query": { "data": "" }, "limit": { "data": "" }, "skip": { "data": "" }, "sort": { "data": "" }, "projection": { "data": "" } }, "count": { "query": { "data": "" } }, "distinct": { "query": { "data": "" }, "key": { "data": "" } }, "insert": { "documents": { "data": "" } }, "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "delete": { "query": { "data": "" }, "limit": { "data": "SINGLE" } }, "command": { "data": "UPDATE", "viewType": "component", "componentData": "UPDATE" }, "aggregate": { "limit": { "data": "10" }, "arrayPipelines": { "data": "" } }, "misc": { "formToNativeQuery": { "data": "{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n", "status": "SUCCESS" } }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.updateMany.update.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow._id", "update_col_1.text", "update_col_2.text", "update_col_3.text", "update_col_4.text", "update_form.formData" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "name": "Mock_Mongo", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "deleted": false, "pluginId": "mongo-plugin", "id": "MongoDB_UpdateQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "updateMany": { "query": { "data": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }", "viewType": "component", "componentData": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }" }, "limit": { "data": "SINGLE", "viewType": "component", "componentData": "SINGLE" }, "update": { "data": "{\n $set:{{update_form.formData}}\n}", "viewType": "component", "componentData": "{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}" } }, "find": { "query": { "data": "" }, "limit": { "data": "" }, "skip": { "data": "" }, "sort": { "data": "" }, "projection": { "data": "" } }, "count": { "query": { "data": "" } }, "distinct": { "query": { "data": "" }, "key": { "data": "" } }, "insert": { "documents": { "data": "" } }, "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "delete": { "query": { "data": "" }, "limit": { "data": "SINGLE" } }, "command": { "data": "UPDATE", "viewType": "component", "componentData": "UPDATE" }, "aggregate": { "limit": { "data": "10" }, "arrayPipelines": { "data": "" } }, "misc": { "formToNativeQuery": { "data": "{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n", "status": "SUCCESS" } }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.updateMany.update.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow._id", "update_col_1.text", "update_col_2.text", "update_col_3.text", "update_col_4.text", "update_form.formData" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "name": "Mock_Mongo", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f08" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "insert": { "documents": { "data": "{{insert_form.formData}}", "viewType": "component", "componentData": "{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}" } }, "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "command": { "data": "INSERT", "viewType": "component", "componentData": "INSERT" }, "misc": { "formToNativeQuery": { "data": "{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n", "status": "SUCCESS" } }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.insert.documents.data" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_col_input1.text", "insert_col_input2.text", "insert_col_input3.text", "insert_col_input4.text", "insert_form.formData" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "deleted": false, "pluginId": "mongo-plugin", "id": "MongoDB_InsertQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "insert": { "documents": { "data": "{{insert_form.formData}}", "viewType": "component", "componentData": "{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}" } }, "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "command": { "data": "INSERT", "viewType": "component", "componentData": "INSERT" }, "misc": { "formToNativeQuery": { "data": "{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n", "status": "SUCCESS" } }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.insert.documents.data" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_col_input1.text", "insert_col_input2.text", "insert_col_input3.text", "insert_col_input4.text", "insert_form.formData" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f09" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "updateMany": { "query": { "data": "" }, "limit": { "data": "SINGLE" }, "update": { "data": "" } }, "find": { "query": { "data": "{ col2: /{{data_table.searchText||\"\"}}/i }", "viewType": "component", "componentData": "{ col2: /{{data_table.searchText||\"\"}}/i }" }, "limit": { "data": "{{data_table.pageSize}}", "viewType": "component", "componentData": "{{data_table.pageSize}}" }, "skip": { "data": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "viewType": "component", "componentData": "{{(data_table.pageNo - 1) * data_table.pageSize}}" }, "sort": { "data": "{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}", "viewType": "component", "componentData": "{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}" }, "projection": { "data": "" } }, "count": { "query": { "data": "" } }, "distinct": { "query": { "data": "" }, "key": { "data": "" } }, "insert": { "documents": { "data": "" } }, "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "delete": { "query": { "data": "" }, "limit": { "data": "SINGLE" } }, "command": { "data": "FIND", "viewType": "component", "componentData": "FIND" }, "aggregate": { "limit": { "data": "10" }, "arrayPipelines": { "data": "" } }, "misc": { "formToNativeQuery": { "data": "{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n", "status": "SUCCESS" } }, "smartSubstitution": { "data": false, "viewType": "component", "componentData": false } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.find.sort.data" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText||\"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order == \"desc\" ? -1 : 1", "key_select.selectedOptionValue", "order_select.selectedOptionValue" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "name": "Mock_Mongo", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "FindQuery", "messages": [] }, "deleted": false, "pluginId": "mongo-plugin", "id": "MongoDB_FindQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "updateMany": { "query": { "data": "" }, "limit": { "data": "SINGLE" }, "update": { "data": "" } }, "find": { "query": { "data": "{ col2: /{{data_table.searchText||\"\"}}/i }", "viewType": "component", "componentData": "{ col2: /{{data_table.searchText||\"\"}}/i }" }, "limit": { "data": "{{data_table.pageSize}}", "viewType": "component", "componentData": "{{data_table.pageSize}}" }, "skip": { "data": "{{(data_table.pageNo - 1) * data_table.pageSize}}", "viewType": "component", "componentData": "{{(data_table.pageNo - 1) * data_table.pageSize}}" }, "sort": { "data": "{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}", "viewType": "component", "componentData": "{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}" }, "projection": { "data": "" } }, "count": { "query": { "data": "" } }, "distinct": { "query": { "data": "" }, "key": { "data": "" } }, "insert": { "documents": { "data": "" } }, "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "delete": { "query": { "data": "" }, "limit": { "data": "SINGLE" } }, "command": { "data": "FIND", "viewType": "component", "componentData": "FIND" }, "aggregate": { "limit": { "data": "10" }, "arrayPipelines": { "data": "" } }, "misc": { "formToNativeQuery": { "data": "{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n", "status": "SUCCESS" } }, "smartSubstitution": { "data": false, "viewType": "component", "componentData": false } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.find.sort.data" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText||\"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order == \"desc\" ? -1 : 1", "key_select.selectedOptionValue", "order_select.selectedOptionValue" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "name": "Mock_Mongo", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "FindQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f06" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "template_table/{{data_table.selectedRow._ref}}", "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "delete": { "query": { "data": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }", "viewType": "component", "componentData": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }" }, "limit": { "data": "SINGLE", "viewType": "component", "componentData": "SINGLE" } }, "command": { "data": "DELETE", "viewType": "component", "componentData": "DELETE" }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow._ref", "data_table.triggeredRow._id" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "deleted": false, "pluginId": "mongo-plugin", "id": "MongoDB_DeleteQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "path": "template_table/{{data_table.selectedRow._ref}}", "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "collection": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "delete": { "query": { "data": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }", "viewType": "component", "componentData": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }" }, "limit": { "data": "SINGLE", "viewType": "component", "componentData": "SINGLE" } }, "command": { "data": "DELETE", "viewType": "component", "componentData": "DELETE" }, "smartSubstitution": { "data": true, "viewType": "component", "componentData": true } } }, "policies": [], "userPermissions": [], "pageId": "MongoDB", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow._ref", "data_table.triggeredRow._id" ], "datasource": { "deleted": false, "pluginId": "mongo-plugin", "policies": [], "messages": [], "id": "Mock_Mongo", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f07" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{}", "viewType": "component", "componentData": "{}" }, "path": { "data": "{{data_table.selectedRow._ref.path}}", "viewType": "component", "componentData": "{{data_table.selectedRow._ref.path}}" }, "prev": { "data": "{}", "viewType": "component", "componentData": "{}" }, "orderBy": { "data": "FORM", "viewType": "component", "componentData": "FORM" }, "limitDocuments": { "data": "UPDATE", "viewType": "component", "componentData": "UPDATE" }, "body": { "data": "{{update_form.formData}}", "viewType": "component", "componentData": "{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}" }, "command": { "data": "UPDATE_DOCUMENT", "viewType": "component", "componentData": "UPDATE_DOCUMENT" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.body.data" }, { "key": "formData.path.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow._ref.path", "update_col_1.text", "update_col_2.text", "update_col_3.text", "update_col_4.text", "update_col_5.text", "update_form.formData" ], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "name": "FBTemplateDB", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "deleted": false, "pluginId": "firestore-plugin", "id": "Firestore_UpdateQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{}", "viewType": "component", "componentData": "{}" }, "path": { "data": "{{data_table.selectedRow._ref.path}}", "viewType": "component", "componentData": "{{data_table.selectedRow._ref.path}}" }, "prev": { "data": "{}", "viewType": "component", "componentData": "{}" }, "orderBy": { "data": "FORM", "viewType": "component", "componentData": "FORM" }, "limitDocuments": { "data": "UPDATE", "viewType": "component", "componentData": "UPDATE" }, "body": { "data": "{{update_form.formData}}", "viewType": "component", "componentData": "{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}" }, "command": { "data": "UPDATE_DOCUMENT", "viewType": "component", "componentData": "UPDATE_DOCUMENT" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.body.data" }, { "key": "formData.path.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow._ref.path", "update_col_1.text", "update_col_2.text", "update_col_3.text", "update_col_4.text", "update_col_5.text", "update_form.formData" ], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "name": "FBTemplateDB", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0f" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{{data_table.tableData[data_table.tableData.length - 1]}}", "viewType": "component", "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" }, "path": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "timestampValuePath": { "data": "", "viewType": "component", "componentData": "" }, "startAfter": { "data": "{{SelectQuery.data[SelectQuery.data.length - 1]}}", "viewType": "component", "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" }, "endBefore": { "data": "{{SelectQuery.data[0]}}", "viewType": "component", "componentData": "{{SelectQuery.data[0]}}" }, "deleteKeyPath": { "data": "", "viewType": "component", "componentData": "" }, "prev": { "data": "{{data_table.tableData[0]}} ", "viewType": "component", "componentData": "{{SelectQuery.data[0]}}" }, "orderBy": { "data": "[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]", "viewType": "component", "componentData": "[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]" }, "where": { "data": { "children": [{ "condition": "EQ" }] }, "viewType": "component" }, "limitDocuments": { "data": "{{data_table.pageSize}}", "viewType": "component", "componentData": "1" }, "command": { "data": "GET_COLLECTION", "viewType": "component", "componentData": "GET_COLLECTION" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.startAfter.data" }, { "key": "formData.endBefore.data" }, { "key": "formData.orderBy.data" }, { "key": "formData.next.data" }, { "key": "formData.prev.data" }, { "key": "formData.limitDocuments.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", "SelectQuery.data[0]", "SelectQuery.data[SelectQuery.data.length - 1]", "data_table.pageSize", "data_table.tableData[0]", "data_table.tableData[data_table.tableData.length - 1]", "order_select.selectedOptionValue + key_select.selectedOptionValue" ], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "name": "FBTemplateDB", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "deleted": false, "pluginId": "firestore-plugin", "id": "Firestore_SelectQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{{data_table.tableData[data_table.tableData.length - 1]}}", "viewType": "component", "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" }, "path": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "timestampValuePath": { "data": "", "viewType": "component", "componentData": "" }, "startAfter": { "data": "{{SelectQuery.data[SelectQuery.data.length - 1]}}", "viewType": "component", "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" }, "endBefore": { "data": "{{SelectQuery.data[0]}}", "viewType": "component", "componentData": "{{SelectQuery.data[0]}}" }, "deleteKeyPath": { "data": "", "viewType": "component", "componentData": "" }, "prev": { "data": "{{data_table.tableData[0]}} ", "viewType": "component", "componentData": "{{SelectQuery.data[0]}}" }, "orderBy": { "data": "[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]", "viewType": "component", "componentData": "[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]" }, "where": { "data": { "children": [{ "condition": "EQ" }] }, "viewType": "component" }, "limitDocuments": { "data": "{{data_table.pageSize}}", "viewType": "component", "componentData": "1" }, "command": { "data": "GET_COLLECTION", "viewType": "component", "componentData": "GET_COLLECTION" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [ { "key": "formData.startAfter.data" }, { "key": "formData.endBefore.data" }, { "key": "formData.orderBy.data" }, { "key": "formData.next.data" }, { "key": "formData.prev.data" }, { "key": "formData.limitDocuments.data" } ], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", "SelectQuery.data[0]", "SelectQuery.data[SelectQuery.data.length - 1]", "data_table.pageSize", "data_table.tableData[0]", "data_table.tableData[data_table.tableData.length - 1]", "order_select.selectedOptionValue + key_select.selectedOptionValue" ], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "name": "FBTemplateDB", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f12" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{}", "viewType": "component", "componentData": "{}" }, "path": { "data": "{{data_table.triggeredRow._ref.path}}", "viewType": "component", "componentData": "{{data_table.triggeredRow._ref.path}}" }, "prev": { "data": "{}", "viewType": "component", "componentData": "{}" }, "orderBy": { "data": "FORM", "viewType": "component", "componentData": "FORM" }, "limitDocuments": { "data": "DELETE", "viewType": "component", "componentData": "DELETE" }, "command": { "data": "DELETE_DOCUMENT", "viewType": "component", "componentData": "DELETE_DOCUMENT" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.path.data" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow._ref.path"], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "name": "FBTemplateDB", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "deleted": false, "pluginId": "firestore-plugin", "id": "Firestore_DeleteQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{}", "viewType": "component", "componentData": "{}" }, "path": { "data": "{{data_table.triggeredRow._ref.path}}", "viewType": "component", "componentData": "{{data_table.triggeredRow._ref.path}}" }, "prev": { "data": "{}", "viewType": "component", "componentData": "{}" }, "orderBy": { "data": "FORM", "viewType": "component", "componentData": "FORM" }, "limitDocuments": { "data": "DELETE", "viewType": "component", "componentData": "DELETE" }, "command": { "data": "DELETE_DOCUMENT", "viewType": "component", "componentData": "DELETE_DOCUMENT" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.path.data" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow._ref.path"], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "name": "FBTemplateDB", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f10" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{}", "viewType": "component", "componentData": "{}" }, "path": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "prev": { "data": "{}", "viewType": "component", "componentData": "{}" }, "orderBy": { "data": "FORM", "viewType": "component", "componentData": "FORM" }, "limitDocuments": { "data": "INSERT", "viewType": "component", "componentData": "INSERT" }, "body": { "data": "{{insert_form.formData}}", "viewType": "component", "componentData": "{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}" }, "command": { "data": "ADD_TO_COLLECTION", "viewType": "component", "componentData": "ADD_TO_COLLECTION" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.body.data" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_col_input1.text", "insert_col_input2.text", "insert_col_input3.text", "insert_col_input4.text", "insert_col_input5.text", "insert_form.formData" ], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "deleted": false, "pluginId": "firestore-plugin", "id": "Firestore_InsertQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "formData": { "next": { "data": "{}", "viewType": "component", "componentData": "{}" }, "path": { "data": "template_table", "viewType": "component", "componentData": "template_table" }, "prev": { "data": "{}", "viewType": "component", "componentData": "{}" }, "orderBy": { "data": "FORM", "viewType": "component", "componentData": "FORM" }, "limitDocuments": { "data": "INSERT", "viewType": "component", "componentData": "INSERT" }, "body": { "data": "{{insert_form.formData}}", "viewType": "component", "componentData": "{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}" }, "command": { "data": "ADD_TO_COLLECTION", "viewType": "component", "componentData": "ADD_TO_COLLECTION" }, "smartSubstitution": "false" } }, "policies": [], "userPermissions": [], "pageId": "Firestore", "invalids": [], "dynamicBindingPathList": [{ "key": "formData.body.data" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_col_input1.text", "insert_col_input2.text", "insert_col_input3.text", "insert_col_input4.text", "insert_col_input5.text", "insert_form.formData" ], "datasource": { "deleted": false, "pluginId": "firestore-plugin", "policies": [], "messages": [], "id": "FBTemplateDB", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f11" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "keys *" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [], "datasource": { "deleted": false, "pluginId": "redis-plugin", "name": "RedisTemplateApps", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "FetchKeys", "messages": [] }, "deleted": false, "pluginId": "redis-plugin", "id": "Redis_FetchKeys", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "keys *" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [], "confirmBeforeExecute": false, "jsonPathKeys": [], "datasource": { "deleted": false, "pluginId": "redis-plugin", "name": "RedisTemplateApps", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "FetchKeys", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f13" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "set {{insert_key_input.text}} \"{{insert_value_input.text}}\"" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["insert_key_input.text", "insert_value_input.text"], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertKey", "messages": [] }, "deleted": false, "pluginId": "redis-plugin", "id": "Redis_InsertKey", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "set {{insert_key_input.text}} \"{{insert_value_input.text}}\"" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["insert_key_input.text", "insert_value_input.text"], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertKey", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f14" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\"" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow.result", "update_value_input.text" ], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateKey", "messages": [] }, "deleted": false, "pluginId": "redis-plugin", "id": "Redis_UpdateKey", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\"" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow.result", "update_value_input.text" ], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateKey", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f15" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "del {{data_table.triggeredRow.result}}" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow.result"], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteKey", "messages": [] }, "deleted": false, "pluginId": "redis-plugin", "id": "Redis_DeleteKey", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "del {{data_table.triggeredRow.result}}" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow.result"], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteKey", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f16" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "GET {{data_table.selectedRow.result}}" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.selectedRow.result"], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "FetchValue", "messages": [] }, "deleted": false, "pluginId": "redis-plugin", "id": "Redis_FetchValue", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "GET {{data_table.selectedRow.result}}" }, "policies": [], "userPermissions": [], "pageId": "Redis", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.selectedRow.result"], "datasource": { "deleted": false, "pluginId": "redis-plugin", "policies": [], "messages": [], "id": "RedisTemplateApps", "userPermissions": [], "isAutoGenerated": false }, "name": "FetchValue", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f17" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || 'ASC'" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "PostgreSQL_SelectQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": true, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", "pluginSpecifiedTemplates": [{ "value": false }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || 'ASC'" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "SelectQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1a" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_form.formData.col1", "insert_form.formData.col10", "insert_form.formData.col11", "insert_form.formData.col12", "insert_form.formData.col2", "insert_form.formData.col3", "insert_form.formData.col4", "insert_form.formData.col5", "insert_form.formData.col6", "insert_form.formData.col7", "insert_form.formData.col8", "insert_form.formData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "PostgreSQL_InsertQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "insert_form.formData.col1", "insert_form.formData.col10", "insert_form.formData.col11", "insert_form.formData.col12", "insert_form.formData.col2", "insert_form.formData.col3", "insert_form.formData.col4", "insert_form.formData.col5", "insert_form.formData.col6", "insert_form.formData.col7", "insert_form.formData.col8", "insert_form.formData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "InsertQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1b" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow.col1"], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "PostgreSQL_DeleteQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.triggeredRow.col1"], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "DeleteQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f18" }, { "pluginType": "DB", "unpublishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow.col1", "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "deleted": false, "pluginId": "postgres-plugin", "id": "PostgreSQL_UpdateQuery", "publishedAction": { "userSetOnLoad": false, "executeOnLoad": false, "isValid": true, "actionConfiguration": { "paginationType": "NONE", "selfReferencingDataPaths": [], "timeoutInMillisecond": 10000, "encodeParamsToggle": true, "body": "UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};", "pluginSpecifiedTemplates": [{ "value": true }] }, "policies": [], "userPermissions": [], "pageId": "PostgreSQL", "invalids": [], "dynamicBindingPathList": [{ "key": "body" }], "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.selectedRow.col1", "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" ], "datasource": { "deleted": false, "pluginId": "postgres-plugin", "name": "Internal DB", "policies": [], "messages": [], "id": "Internal DB", "userPermissions": [], "isAutoGenerated": false }, "name": "UpdateQuery", "messages": [] }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f19" } ], "pageList": [ { "publishedPage": { "name": "Admin", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "API", "confirmBeforeExecute": false, "jsonPathKeys": [], "name": "get_exported_app", "timeoutInMillisecond": 100000, "id": "Admin_get_exported_app" } ], [ { "pluginType": "JS", "confirmBeforeExecute": false, "jsonPathKeys": [ "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" ], "clientSideExecution": true, "name": "Utils.myFun2", "timeoutInMillisecond": 10000, "id": "Admin_Utils.myFun2", "collectionId": "Admin_Utils" } ] ], "id": "Admin", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 940, "containerStyle": "none", "snapRows": 129, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "NONE", "widgetName": "Container7", "borderColor": "transparent", "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", "topRow": 87, "bottomRow": 94, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 17.9375, "dynamicTriggerPathList": [], "leftColumn": 11, "dynamicBindingPathList": [], "children": [ { "widgetName": "Canvas12", "rightColumn": 430.5, "detachFromLayout": true, "displayName": "Canvas", "widgetId": "f5ga14rmty", "containerStyle": "none", "topRow": 0, "bottomRow": 70, "parentRowSpace": 1, "isVisible": true, "type": "CANVAS_WIDGET", "canExtend": false, "version": 1, "hideCard": true, "parentId": "9ervv0ae6d", "minHeight": 400, "renderMode": "CANVAS", "isLoading": false, "parentColumnSpace": 1, "leftColumn": 0, "children": [ { "widgetName": "Text38", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 3.05078125, "dynamicTriggerPathList": [], "leftColumn": 1, "dynamicBindingPathList": [], "shouldTruncate": false, "truncateButtonColor": "#FFC13D", "text": "YourCompany", "key": "gbfdctoduz", "rightColumn": 14, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "jd3kv1k6ou", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "shouldScroll": false, "version": 1, "parentId": "f5ga14rmty", "renderMode": "CANVAS", "isLoading": false, "maxDynamicHeight": 9000, "fontSize": "HEADING2", "minDynamicHeight": 4 }, { "widgetName": "Button5", "onClick": "{{navigateTo('1 Track Applications', {})}}", "buttonColor": "#FFFFFF", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 11.93359375, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 50, "dynamicBindingPathList": [], "text": "Track Applications", "isDisabled": false, "key": "c3vy6jijoj", "rightColumn": 63, "isDefaultClickDisabled": true, "widgetId": "txbmxg3r0f", "isVisible": true, "recaptchaType": "V3", "version": 1, "parentId": "f5ga14rmty", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "ROUNDED", "buttonVariant": "PRIMARY", "placement": "CENTER" }, { "widgetName": "Button5Copy", "onClick": "{{navigateTo('2 Application Upload', {})}}", "buttonColor": "#FFFFFF", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 11.93359375, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 33, "dynamicBindingPathList": [], "text": "Application Upload", "isDisabled": false, "key": "c3vy6jijoj", "rightColumn": 50, "isDefaultClickDisabled": true, "widgetId": "u16z17a8jy", "isVisible": true, "recaptchaType": "V3", "version": 1, "parentId": "f5ga14rmty", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "ROUNDED", "buttonVariant": "PRIMARY", "placement": "CENTER" } ], "key": "zogzl76zd8" } ], "borderWidth": "0", "key": "zhft13af0w", "backgroundColor": "#FFFFFF", "rightColumn": 55, "dynamicHeight": "FIXED", "widgetId": "9ervv0ae6d", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "15", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Form1", "borderColor": "#2E3D49", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 5, "bottomRow": 86, "parentRowSpace": 10, "type": "FORM_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 554.75, "detachFromLayout": true, "widgetId": "kwx6oz4fub", "containerStyle": "none", "topRow": 0, "bottomRow": 810, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "hdpwx2szs0", "minHeight": 810, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text1", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Update App Template", "labelTextSize": "0.875rem", "rightColumn": 44, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "7fqtlu52np", "isVisible": true, "fontStyle": "BOLD", "textColor": "#2E3D49", "version": 1, "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text2", "topRow": 10, "bottomRow": 71, "parentRowSpace": 10, "type": "TEXT_WIDGET", "animateLoading": true, "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "{{get_exported_app.data}}", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "w2l08fshj2", "isVisible": true, "fontStyle": "BOLD", "textColor": "#2E3D49", "version": 1, "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button1", "onClick": "{{Utils.myFun2()}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#2E3D49", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 44, "dynamicBindingPathList": [], "text": "Refresh", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 63, "isDefaultClickDisabled": true, "iconName": "refresh", "widgetId": "2vtg0qdlqv", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0.375rem", "buttonVariant": "SECONDARY", "iconAlign": "left" }, { "boxShadow": "none", "widgetName": "Button2", "onClick": "{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}", "dynamicPropertyPathList": [{ "key": "isDisabled" }], "buttonColor": "#2E3D49", "topRow": 73, "bottomRow": 77, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 1, "dynamicBindingPathList": [{ "key": "isDisabled" }], "text": "Deploy", "isDisabled": "{{get_exported_app.data.exportedApplication === undefined}}", "labelTextSize": "0.875rem", "rightColumn": 63, "isDefaultClickDisabled": true, "iconName": "airplane", "widgetId": "jg23u09rwk", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0.375rem", "buttonVariant": "PRIMARY", "iconAlign": "left" }, { "boxShadow": "none", "widgetName": "Text4", "topRow": 5, "bottomRow": 10, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "⚠️ Please create a branch named update-crud-template before deploying and run test cases on it", "labelTextSize": "0.875rem", "rightColumn": 63, "backgroundColor": "#DD4B34", "textAlign": "CENTER", "dynamicHeight": "FIXED", "widgetId": "fanskapltd", "isVisible": true, "fontStyle": "", "textColor": "#FFFFFF", "version": 1, "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ] } ], "borderWidth": "1", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 45, "dynamicHeight": "FIXED", "widgetId": "hdpwx2szs0", "isVisible": true, "parentId": "0", "isLoading": false, "borderRadius": "5px", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "datasource_arr", "topRow": 1, "bottomRow": 35, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]", "labelTextSize": "0.875rem", "rightColumn": 12, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "znji9afu2q", "isVisible": false, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "widgetName": "Text39", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", "searchTags": ["typography", "paragraph", "label"], "topRow": 27, "bottomRow": 47, "parentRowSpace": 10, "type": "TEXT_WIDGET", "hideCard": false, "animateLoading": true, "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "parentColumnSpace": 12.5625, "dynamicTriggerPathList": [], "leftColumn": 48, "dynamicBindingPathList": [ { "key": "fontFamily" }, { "key": "borderRadius" }, { "key": "text" } ], "shouldTruncate": false, "truncateButtonColor": "#FFC13D", "text": "{{Api1.data}}", "key": "7wpupobwee", "isDeprecated": false, "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "frbxrzzmng", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ] } } ], "slug": "admin", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "Admin", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "API", "confirmBeforeExecute": false, "jsonPathKeys": [], "name": "get_exported_app", "timeoutInMillisecond": 100000, "id": "Admin_get_exported_app" } ], [ { "pluginType": "JS", "confirmBeforeExecute": false, "jsonPathKeys": [ "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" ], "clientSideExecution": true, "name": "Utils.myFun2", "timeoutInMillisecond": 10000, "id": "Admin_Utils.myFun2", "collectionId": "Admin_Utils" } ] ], "id": "Admin", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 940, "containerStyle": "none", "snapRows": 129, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "NONE", "widgetName": "Container7", "borderColor": "transparent", "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", "topRow": 87, "bottomRow": 94, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 17.9375, "dynamicTriggerPathList": [], "leftColumn": 11, "dynamicBindingPathList": [], "children": [ { "widgetName": "Canvas12", "rightColumn": 430.5, "detachFromLayout": true, "displayName": "Canvas", "widgetId": "f5ga14rmty", "containerStyle": "none", "topRow": 0, "bottomRow": 70, "parentRowSpace": 1, "isVisible": true, "type": "CANVAS_WIDGET", "canExtend": false, "version": 1, "hideCard": true, "parentId": "9ervv0ae6d", "minHeight": 400, "renderMode": "CANVAS", "isLoading": false, "parentColumnSpace": 1, "leftColumn": 0, "children": [ { "widgetName": "Text38", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 3.05078125, "dynamicTriggerPathList": [], "leftColumn": 1, "dynamicBindingPathList": [], "shouldTruncate": false, "truncateButtonColor": "#FFC13D", "text": "YourCompany", "key": "gbfdctoduz", "rightColumn": 14, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "jd3kv1k6ou", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "shouldScroll": false, "version": 1, "parentId": "f5ga14rmty", "renderMode": "CANVAS", "isLoading": false, "maxDynamicHeight": 9000, "fontSize": "HEADING2", "minDynamicHeight": 4 }, { "widgetName": "Button5", "onClick": "{{navigateTo('1 Track Applications', {})}}", "buttonColor": "#FFFFFF", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 11.93359375, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 50, "dynamicBindingPathList": [], "text": "Track Applications", "isDisabled": false, "key": "c3vy6jijoj", "rightColumn": 63, "isDefaultClickDisabled": true, "widgetId": "txbmxg3r0f", "isVisible": true, "recaptchaType": "V3", "version": 1, "parentId": "f5ga14rmty", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "ROUNDED", "buttonVariant": "PRIMARY", "placement": "CENTER" }, { "widgetName": "Button5Copy", "onClick": "{{navigateTo('2 Application Upload', {})}}", "buttonColor": "#FFFFFF", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 11.93359375, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 33, "dynamicBindingPathList": [], "text": "Application Upload", "isDisabled": false, "key": "c3vy6jijoj", "rightColumn": 50, "isDefaultClickDisabled": true, "widgetId": "u16z17a8jy", "isVisible": true, "recaptchaType": "V3", "version": 1, "parentId": "f5ga14rmty", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "ROUNDED", "buttonVariant": "PRIMARY", "placement": "CENTER" } ], "key": "zogzl76zd8" } ], "borderWidth": "0", "key": "zhft13af0w", "backgroundColor": "#FFFFFF", "rightColumn": 55, "dynamicHeight": "FIXED", "widgetId": "9ervv0ae6d", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "15", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Form1", "borderColor": "#2E3D49", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 5, "bottomRow": 86, "parentRowSpace": 10, "type": "FORM_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 554.75, "detachFromLayout": true, "widgetId": "kwx6oz4fub", "containerStyle": "none", "topRow": 0, "bottomRow": 810, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "hdpwx2szs0", "minHeight": 810, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text1", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Update App Template", "labelTextSize": "0.875rem", "rightColumn": 44, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "7fqtlu52np", "isVisible": true, "fontStyle": "BOLD", "textColor": "#2E3D49", "version": 1, "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text2", "topRow": 10, "bottomRow": 71, "parentRowSpace": 10, "type": "TEXT_WIDGET", "animateLoading": true, "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "{{get_exported_app.data}}", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "w2l08fshj2", "isVisible": true, "fontStyle": "BOLD", "textColor": "#2E3D49", "version": 1, "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button1", "onClick": "{{Utils.myFun2()}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#2E3D49", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 44, "dynamicBindingPathList": [], "text": "Refresh", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 63, "isDefaultClickDisabled": true, "iconName": "refresh", "widgetId": "2vtg0qdlqv", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0.375rem", "buttonVariant": "SECONDARY", "iconAlign": "left" }, { "boxShadow": "none", "widgetName": "Button2", "onClick": "{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}", "dynamicPropertyPathList": [{ "key": "isDisabled" }], "buttonColor": "#2E3D49", "topRow": 73, "bottomRow": 77, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 1, "dynamicBindingPathList": [{ "key": "isDisabled" }], "text": "Deploy", "isDisabled": "{{get_exported_app.data.exportedApplication === undefined}}", "labelTextSize": "0.875rem", "rightColumn": 63, "isDefaultClickDisabled": true, "iconName": "airplane", "widgetId": "jg23u09rwk", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0.375rem", "buttonVariant": "PRIMARY", "iconAlign": "left" }, { "boxShadow": "none", "widgetName": "Text4", "topRow": 5, "bottomRow": 10, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "⚠️ Please create a branch named update-crud-template before deploying and run test cases on it", "labelTextSize": "0.875rem", "rightColumn": 63, "backgroundColor": "#DD4B34", "textAlign": "CENTER", "dynamicHeight": "FIXED", "widgetId": "fanskapltd", "isVisible": true, "fontStyle": "", "textColor": "#FFFFFF", "version": 1, "parentId": "kwx6oz4fub", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ] } ], "borderWidth": "1", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 45, "dynamicHeight": "FIXED", "widgetId": "hdpwx2szs0", "isVisible": true, "parentId": "0", "isLoading": false, "borderRadius": "5px", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "datasource_arr", "topRow": 1, "bottomRow": 35, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]", "labelTextSize": "0.875rem", "rightColumn": 12, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "znji9afu2q", "isVisible": false, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "widgetName": "Text39", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", "searchTags": ["typography", "paragraph", "label"], "topRow": 27, "bottomRow": 47, "parentRowSpace": 10, "type": "TEXT_WIDGET", "hideCard": false, "animateLoading": true, "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "parentColumnSpace": 12.5625, "dynamicTriggerPathList": [], "leftColumn": 48, "dynamicBindingPathList": [ { "key": "fontFamily" }, { "key": "borderRadius" }, { "key": "text" } ], "shouldTruncate": false, "truncateButtonColor": "#FFC13D", "text": "{{Api1.data}}", "key": "7wpupobwee", "isDeprecated": false, "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "frbxrzzmng", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ] } } ], "slug": "admin", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc3" }, { "publishedPage": { "name": "Google Sheets", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "SAAS", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "Google Sheets_SelectQuery" } ] ], "id": "Google Sheets", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 870, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": { "task": { "labelTextSize": "0.875rem", "identifier": "task", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.task))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "task", "isVisible": true, "label": "Task", "originalIdentifier": "task", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "Drop a table", "fieldType": "Text Input" }, "step": { "labelTextSize": "0.875rem", "identifier": "step", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.step))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "step", "isVisible": true, "label": "Step", "originalIdentifier": "step", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "#1", "fieldType": "Text Input" }, "status": { "labelTextSize": "0.875rem", "identifier": "status", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "status", "isVisible": true, "label": "Status", "originalIdentifier": "status", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "✅", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "entry 5", "col2": "is 2", "col3": "new 3", "col1": "This 12" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#2E3D4955", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row Id: {{data_table.selectedRow.rowIndex}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "title" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "boxShadow" }, { "key": "borderRadius" }, { "key": "schema.__root_schema__.children.step.defaultValue" }, { "key": "schema.__root_schema__.children.step.accentColor" }, { "key": "schema.__root_schema__.children.step.borderRadius" }, { "key": "schema.__root_schema__.children.task.defaultValue" }, { "key": "schema.__root_schema__.children.task.accentColor" }, { "key": "schema.__root_schema__.children.task.borderRadius" }, { "key": "schema.__root_schema__.children.status.defaultValue" }, { "key": "schema.__root_schema__.children.status.accentColor" }, { "key": "schema.__root_schema__.children.status.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "tn9ri7ylp2", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{data_table.selectedRow!==undefined}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 87, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 870, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns.col6.computedValue" }, { "key": "primaryColumns.col7.computedValue" }, { "key": "primaryColumns.col8.computedValue" }, { "key": "primaryColumns.col9.computedValue" }, { "key": "primaryColumns.col10.computedValue" }, { "key": "primaryColumns.col11.computedValue" }, { "key": "primaryColumns.col12.computedValue" } ], "leftColumn": 1, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "id", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "col1", "col2", "col3", "col4", "col5", "col6", "col7", "col8", "col9", "col10", "col11", "col12", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "col12": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "col12", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col12", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col11": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "col11", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col11", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col8": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "col8", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col8", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col9": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "col9", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col9", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col6": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "col6", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col6", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col10": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "col10", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col10", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col7": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", "textSize": "0.875rem", "index": 6, "isVisible": true, "label": "col7", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col7", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 63, "textSize": "0.875rem", "widgetId": "icx7cf3936", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 39, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "typ9jslblf", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "8b67sbqskr", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text11", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 48, "dynamicPropertyPathList": [], "buttonColor": "#3f3f46", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 36, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "delete_button", "onClick": "{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "entry 5", "cellBoxShadow": "none", "fieldType": "Text Input" }, "rowIndex": { "labelTextSize": "0.875rem", "identifier": "rowIndex", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "rowIndex", "isVisible": false, "label": "Row Index", "originalIdentifier": "rowIndex", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "sourceData": "0", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "is 2", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "new 3", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "This 12", "cellBoxShadow": "none", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "entry 5", "rowIndex": "0", "col2": "is 2", "col3": "new 3", "col1": "This 12" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "onSubmit" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 59, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "schema.__root_schema__.children.rowIndex.defaultValue" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.rowIndex.accentColor" }, { "key": "schema.__root_schema__.children.rowIndex.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "4amgm2y5ph", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] } } ], "slug": "google-sheets", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "Google Sheets", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "SAAS", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "Google Sheets_SelectQuery" } ] ], "id": "Google Sheets", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 870, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": { "task": { "labelTextSize": "0.875rem", "identifier": "task", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.task))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "task", "isVisible": true, "label": "Task", "originalIdentifier": "task", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "Drop a table", "fieldType": "Text Input" }, "step": { "labelTextSize": "0.875rem", "identifier": "step", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.step))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "step", "isVisible": true, "label": "Step", "originalIdentifier": "step", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "#1", "fieldType": "Text Input" }, "status": { "labelTextSize": "0.875rem", "identifier": "status", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "status", "isVisible": true, "label": "Status", "originalIdentifier": "status", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "✅", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "entry 5", "col2": "is 2", "col3": "new 3", "col1": "This 12" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#2E3D4955", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row Id: {{data_table.selectedRow.rowIndex}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "title" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "boxShadow" }, { "key": "borderRadius" }, { "key": "schema.__root_schema__.children.step.defaultValue" }, { "key": "schema.__root_schema__.children.step.accentColor" }, { "key": "schema.__root_schema__.children.step.borderRadius" }, { "key": "schema.__root_schema__.children.task.defaultValue" }, { "key": "schema.__root_schema__.children.task.accentColor" }, { "key": "schema.__root_schema__.children.task.borderRadius" }, { "key": "schema.__root_schema__.children.status.defaultValue" }, { "key": "schema.__root_schema__.children.status.accentColor" }, { "key": "schema.__root_schema__.children.status.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "tn9ri7ylp2", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{data_table.selectedRow!==undefined}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 87, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 870, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns.col6.computedValue" }, { "key": "primaryColumns.col7.computedValue" }, { "key": "primaryColumns.col8.computedValue" }, { "key": "primaryColumns.col9.computedValue" }, { "key": "primaryColumns.col10.computedValue" }, { "key": "primaryColumns.col11.computedValue" }, { "key": "primaryColumns.col12.computedValue" } ], "leftColumn": 1, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "id", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "col1", "col2", "col3", "col4", "col5", "col6", "col7", "col8", "col9", "col10", "col11", "col12", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "col12": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "col12", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col12", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col11": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "col11", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col11", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col8": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "col8", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col8", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col9": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "col9", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col9", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col6": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "col6", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col6", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col10": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "col10", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col10", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col7": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", "textSize": "0.875rem", "index": 6, "isVisible": true, "label": "col7", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col7", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 63, "textSize": "0.875rem", "widgetId": "icx7cf3936", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 39, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "typ9jslblf", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "8b67sbqskr", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text11", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 48, "dynamicPropertyPathList": [], "buttonColor": "#3f3f46", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 36, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "delete_button", "onClick": "{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "entry 5", "cellBoxShadow": "none", "fieldType": "Text Input" }, "rowIndex": { "labelTextSize": "0.875rem", "identifier": "rowIndex", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "rowIndex", "isVisible": false, "label": "Row Index", "originalIdentifier": "rowIndex", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "sourceData": "0", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "is 2", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "new 3", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "This 12", "cellBoxShadow": "none", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "entry 5", "rowIndex": "0", "col2": "is 2", "col3": "new 3", "col1": "This 12" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "onSubmit" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 59, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "schema.__root_schema__.children.rowIndex.defaultValue" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.rowIndex.accentColor" }, { "key": "schema.__root_schema__.children.rowIndex.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "4amgm2y5ph", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] } } ], "slug": "google-sheets", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc1" }, { "publishedPage": { "name": "Firestore", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", "SelectQuery.data[0]", "SelectQuery.data[SelectQuery.data.length - 1]", "data_table.pageSize", "data_table.tableData[0]", "data_table.tableData[data_table.tableData.length - 1]", "order_select.selectedOptionValue + key_select.selectedOptionValue" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "Firestore_SelectQuery" } ] ], "id": "Firestore", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 880, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "#03B365", "dataType": "object", "cellBorderRadius": "0px", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "0px", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "duh", "fieldType": "Text Input" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "sourceData": "new", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "", "cellBoxShadow": "none", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "", "col5": "", "col2": "", "col3": "", "__primaryKey__": "", "col1": "" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#2E3D4955", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.children.key2.defaultValue" }, { "key": "isVisible" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col4.accentColor" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "pfyg9tlwj1", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow.col1}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 88, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "boxShadow" }, { "key": "borderRadius" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 7, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns._ref.computedValue" } ], "leftColumn": 0, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "id", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "_ref", "col4", "col5", "col2", "col3", "col1", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 86, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "_ref": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "_ref", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "_ref", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "27p4k3jpj3", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "lqa75t4x8s", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "rc610d47lm", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 53, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button12", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 46, "dynamicPropertyPathList": [], "buttonColor": "#3f3f46", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 34, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "#03B365", "dataType": "object", "cellBorderRadius": "0px", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "0px", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "4", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "sourceData": "5", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "new", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "neighbour", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "Hello", "cellBoxShadow": "none", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "4", "col5": "5", "col2": "new", "col3": "neighbour", "col1": "Hello" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "onSubmit" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}", "topRow": 0, "bottomRow": 59, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "qljqxmx394", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] } } ], "slug": "firestore", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "Firestore", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", "SelectQuery.data[0]", "SelectQuery.data[SelectQuery.data.length - 1]", "data_table.pageSize", "data_table.tableData[0]", "data_table.tableData[data_table.tableData.length - 1]", "order_select.selectedOptionValue + key_select.selectedOptionValue" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "Firestore_SelectQuery" } ] ], "id": "Firestore", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 880, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "#03B365", "dataType": "object", "cellBorderRadius": "0px", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "0px", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "duh", "fieldType": "Text Input" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "string", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "sourceData": "new", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "", "cellBoxShadow": "none", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "", "col5": "", "col2": "", "col3": "", "__primaryKey__": "", "col1": "" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#2E3D4955", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.children.key2.defaultValue" }, { "key": "isVisible" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col4.accentColor" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "pfyg9tlwj1", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow.col1}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 88, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "boxShadow" }, { "key": "borderRadius" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 7, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns._ref.computedValue" } ], "leftColumn": 0, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "id", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "_ref", "col4", "col5", "col2", "col3", "col1", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 86, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "_ref": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "_ref", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "_ref", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "27p4k3jpj3", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "lqa75t4x8s", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "rc610d47lm", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 53, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button12", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 46, "dynamicPropertyPathList": [], "buttonColor": "#3f3f46", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 34, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "#03B365", "dataType": "object", "cellBorderRadius": "0px", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "0px", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "4", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "sourceData": "5", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "new", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "neighbour", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "Hello", "cellBoxShadow": "none", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "4", "col5": "5", "col2": "new", "col3": "neighbour", "col1": "Hello" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "onSubmit" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}", "topRow": 0, "bottomRow": 59, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "qljqxmx394", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] } } ], "slug": "firestore", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc7" }, { "publishedPage": { "name": "PostgreSQL", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || 'ASC'" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "PostgreSQL_SelectQuery" } ] ], "id": "PostgreSQL", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 860, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 900, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#fff", "dynamicPropertyPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "topRow": 0, "bottomRow": 86, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 860, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns.col6.computedValue" }, { "key": "primaryColumns.col7.computedValue" }, { "key": "primaryColumns.col8.computedValue" }, { "key": "primaryColumns.col9.computedValue" }, { "key": "primaryColumns.col10.computedValue" }, { "key": "primaryColumns.col11.computedValue" }, { "key": "primaryColumns.col12.computedValue" } ], "leftColumn": 0, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "col1", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "col1", "col2", "col3", "col4", "col5", "col6", "col7", "col8", "col9", "col10", "col11", "col12", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "col12": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "col12", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col12", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col11": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "col11", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col11", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col8": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "col8", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col8", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col9": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "col9", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col9", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col6": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "col6", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col6", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col10": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "col10", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col10", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col7": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", "textSize": "0.875rem", "index": 6, "isVisible": true, "label": "col7", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col7", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "hpy3pb4xft", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 54, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "xp5u9a9nzq", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "nh3cu4lb1g", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 39, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 46, "dynamicPropertyPathList": [], "buttonColor": "#2E3D49", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 34, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 884, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "boolean", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "borderRadius": "0px", "children": {}, "position": 3, "isDisabled": false, "sourceData": true, "cellBoxShadow": "none", "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 9, "cellBoxShadow": "none", "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 5, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "none", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 81, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 8.125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "borderRadius" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" } ], "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "o8oiq6vwkk", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 884, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 }, { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "boolean", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "children": {}, "position": 3, "isDisabled": false, "sourceData": true, "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 9, "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 5, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#fff", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row col1: {{data_table.selectedRow.col1}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "title" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "y5cjzuxnb3", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow.col1}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ] } } ], "slug": "postgresql", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "PostgreSQL", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || 'ASC'" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "PostgreSQL_SelectQuery" } ] ], "id": "PostgreSQL", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 860, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 900, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#fff", "dynamicPropertyPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "topRow": 0, "bottomRow": 86, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 860, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns.col6.computedValue" }, { "key": "primaryColumns.col7.computedValue" }, { "key": "primaryColumns.col8.computedValue" }, { "key": "primaryColumns.col9.computedValue" }, { "key": "primaryColumns.col10.computedValue" }, { "key": "primaryColumns.col11.computedValue" }, { "key": "primaryColumns.col12.computedValue" } ], "leftColumn": 0, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "col1", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "col1", "col2", "col3", "col4", "col5", "col6", "col7", "col8", "col9", "col10", "col11", "col12", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "col12": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "col12", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col12", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col11": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "col11", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col11", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col8": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "col8", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col8", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col9": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "col9", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col9", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col6": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "col6", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col6", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col10": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "col10", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col10", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col7": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", "textSize": "0.875rem", "index": 6, "isVisible": true, "label": "col7", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col7", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "hpy3pb4xft", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 54, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "xp5u9a9nzq", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "nh3cu4lb1g", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 39, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 46, "dynamicPropertyPathList": [], "buttonColor": "#2E3D49", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 34, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 884, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "boolean", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "borderRadius": "0px", "children": {}, "position": 3, "isDisabled": false, "sourceData": true, "cellBoxShadow": "none", "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 9, "cellBoxShadow": "none", "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 5, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "none", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 81, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 8.125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "borderRadius" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" } ], "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "o8oiq6vwkk", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 884, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 }, { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "boolean", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "children": {}, "position": 3, "isDisabled": false, "sourceData": true, "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 9, "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 5, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#fff", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row col1: {{data_table.selectedRow.col1}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "title" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "y5cjzuxnb3", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow.col1}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ] } } ], "slug": "postgresql", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc8" }, { "publishedPage": { "name": "Page Generator", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [], "id": "Page Generator", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 550, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Tabs1", "topRow": 11, "bottomRow": 55, "parentRowSpace": 10, "type": "TABS_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 16, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "tabId": "tab1", "labelTextSize": "0.875rem", "boxShadow": "none", "tabName": "SQL", "rightColumn": 634, "widgetName": "Canvas2", "detachFromLayout": true, "widgetId": "nyka98xqpv", "topRow": 0, "bottomRow": 400, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "parentId": "jalvzswyyk", "isLoading": false, "renderMode": "CANVAS", "minHeight": 410, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text2", "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Datasource ID", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "957c72jpan", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text4", "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Table Name", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "nz74xi3ae3", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text6", "topRow": 21, "bottomRow": 25, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Columns to Select", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "s1i89k31f5", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text7", "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Column to Search", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "rbacxz6brz", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "resetFormOnClick": false, "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "FormButton1", "onClick": "{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}", "rightColumn": 63, "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "n6220hgzzs", "topRow": 33, "bottomRow": 37, "isVisible": true, "type": "FORM_BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "nyka98xqpv", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 47, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Generate" }, { "boxShadow": "none", "widgetName": "datasource_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "fk5njkiu28", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "tableName_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "v6vho5uqct", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "select_cols_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 21, "bottomRow": 25, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "e1j5kngy1t", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "search_col_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "cqxwse0717", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "app_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": true, "parentColumnSpace": 7.0791015625, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "r1onz3oq9w", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "26c0iltpjr", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text16", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "TEXT_WIDGET", "hideCard": false, "animateLoading": true, "overflow": "NONE", "parentColumnSpace": 7.0791015625, "dynamicTriggerPathList": [], "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "shouldTruncate": false, "truncateButtonColor": "#FFC13D", "text": "App ID", "key": "99ilu0uxi8", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "242g7dtr9t", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 } ] }, { "tabId": "tab2", "labelTextSize": "0.875rem", "boxShadow": "none", "tabName": "GSheet", "rightColumn": 634, "widgetName": "Canvas3", "detachFromLayout": true, "widgetId": "neexe4fljs", "topRow": 0, "bottomRow": 400, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "parentId": "jalvzswyyk", "isLoading": false, "renderMode": "CANVAS", "minHeight": 410, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text8", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "DataSource URL", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "3ghywz6tk6", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text9", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "SpreadSheet URL", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "r6o12im1qd", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text10", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Sheet Name", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "k0ul3uaoph", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text11", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Table Header Index", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "l1r1tfbx6y", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button1", "onClick": "{{generate_gsheet_app.run()}}", "buttonColor": "#03B365", "topRow": 30, "bottomRow": 34, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [], "text": "Generate", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 62, "isDefaultClickDisabled": true, "widgetId": "zzsh2d5rns", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "buttonVariant": "PRIMARY" }, { "boxShadow": "none", "widgetName": "gsheet_ds_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "j61fbsst0i", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "spreadsheet_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "vm21ddffi6", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "sheet_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "5r5hxd2qs8", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "header_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "z3nz99y80l", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ] }, { "tabId": "tab7qxuerb9p7", "boxShadow": "none", "widgetName": "Canvas4", "topRow": 1, "bottomRow": 400, "parentRowSpace": 1, "canExtend": false, "type": "CANVAS_WIDGET", "minHeight": 410, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "boxShadow": "none", "widgetName": "Text12", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Datasource URL", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "4l1uqhf2au", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text13", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Collection Name", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "0y3rz6ufib", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text14", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Keys to Fetch", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "s1fhjft9to", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text15", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Key to Search", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "rwi67ouhe1", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button2", "onClick": "{{generate_mongo_app.run()}}", "buttonColor": "#03B365", "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [], "text": "Generate", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 62, "isDefaultClickDisabled": true, "widgetId": "6ui5kmqebf", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "buttonVariant": "PRIMARY" }, { "boxShadow": "none", "widgetName": "mongo_ds_url", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "3iwx4ppimv", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "collection_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "82uk5g7krv", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "fetch_keys_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "jx1zxum47l", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "search_keys_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 28.9375, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "24223uwmke", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ], "labelTextSize": "0.875rem", "tabName": "Mongo", "rightColumn": 574.5625, "detachFromLayout": true, "widgetId": "4yqoh4fjmv", "containerStyle": "none", "isVisible": true, "version": 1, "parentId": "jalvzswyyk", "isLoading": false, "borderRadius": "0px" } ], "labelTextSize": "0.875rem", "rightColumn": 45, "dynamicHeight": "FIXED", "widgetId": "jalvzswyyk", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "defaultTab": "SQL", "shouldShowTabs": true, "tabsObj": { "tab1": { "widgetId": "nyka98xqpv", "index": 0, "label": "SQL", "id": "tab1", "isVisible": true }, "tab2": { "widgetId": "neexe4fljs", "index": 1, "label": "GSheet", "id": "tab2", "isVisible": true }, "tab7qxuerb9p7": { "widgetId": "4yqoh4fjmv", "id": "tab7qxuerb9p7", "label": "Mongo", "isVisible": true } }, "isVisible": true, "version": 3, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ] } } ], "slug": "page-generator", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "Page Generator", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [], "id": "Page Generator", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 550, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Tabs1", "topRow": 11, "bottomRow": 55, "parentRowSpace": 10, "type": "TABS_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 16, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "tabId": "tab1", "labelTextSize": "0.875rem", "boxShadow": "none", "tabName": "SQL", "rightColumn": 634, "widgetName": "Canvas2", "detachFromLayout": true, "widgetId": "nyka98xqpv", "topRow": 0, "bottomRow": 400, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "parentId": "jalvzswyyk", "isLoading": false, "renderMode": "CANVAS", "minHeight": 410, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text2", "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Datasource ID", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "957c72jpan", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text4", "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Table Name", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "nz74xi3ae3", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text6", "topRow": 21, "bottomRow": 25, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Columns to Select", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "s1i89k31f5", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text7", "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.35546875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Column to Search", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "rbacxz6brz", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "resetFormOnClick": false, "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "FormButton1", "onClick": "{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}", "rightColumn": 63, "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "n6220hgzzs", "topRow": 33, "bottomRow": 37, "isVisible": true, "type": "FORM_BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "nyka98xqpv", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 47, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Generate" }, { "boxShadow": "none", "widgetName": "datasource_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "fk5njkiu28", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "tableName_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "v6vho5uqct", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "select_cols_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 21, "bottomRow": 25, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "e1j5kngy1t", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "search_col_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "cqxwse0717", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "app_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": true, "parentColumnSpace": 7.0791015625, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 15, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "r1onz3oq9w", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "26c0iltpjr", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text16", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "TEXT_WIDGET", "hideCard": false, "animateLoading": true, "overflow": "NONE", "parentColumnSpace": 7.0791015625, "dynamicTriggerPathList": [], "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "shouldTruncate": false, "truncateButtonColor": "#FFC13D", "text": "App ID", "key": "99ilu0uxi8", "labelTextSize": "0.875rem", "rightColumn": 14, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "242g7dtr9t", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "nyka98xqpv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 } ] }, { "tabId": "tab2", "labelTextSize": "0.875rem", "boxShadow": "none", "tabName": "GSheet", "rightColumn": 634, "widgetName": "Canvas3", "detachFromLayout": true, "widgetId": "neexe4fljs", "topRow": 0, "bottomRow": 400, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "parentId": "jalvzswyyk", "isLoading": false, "renderMode": "CANVAS", "minHeight": 410, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text8", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "DataSource URL", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "3ghywz6tk6", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text9", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "SpreadSheet URL", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "r6o12im1qd", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text10", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Sheet Name", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "k0ul3uaoph", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text11", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Table Header Index", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "l1r1tfbx6y", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button1", "onClick": "{{generate_gsheet_app.run()}}", "buttonColor": "#03B365", "topRow": 30, "bottomRow": 34, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [], "text": "Generate", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 62, "isDefaultClickDisabled": true, "widgetId": "zzsh2d5rns", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "neexe4fljs", "isLoading": false, "borderRadius": "0px", "buttonVariant": "PRIMARY" }, { "boxShadow": "none", "widgetName": "gsheet_ds_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "j61fbsst0i", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "spreadsheet_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "vm21ddffi6", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "sheet_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "5r5hxd2qs8", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "header_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 17, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "z3nz99y80l", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "neexe4fljs", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ] }, { "tabId": "tab7qxuerb9p7", "boxShadow": "none", "widgetName": "Canvas4", "topRow": 1, "bottomRow": 400, "parentRowSpace": 1, "canExtend": false, "type": "CANVAS_WIDGET", "minHeight": 410, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "boxShadow": "none", "widgetName": "Text12", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Datasource URL", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "4l1uqhf2au", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text13", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Collection Name", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "0y3rz6ufib", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text14", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Keys to Fetch", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "s1fhjft9to", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text15", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Key to Search", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "rwi67ouhe1", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button2", "onClick": "{{generate_mongo_app.run()}}", "buttonColor": "#03B365", "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 8.6650390625, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [], "text": "Generate", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 62, "isDefaultClickDisabled": true, "widgetId": "6ui5kmqebf", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "4yqoh4fjmv", "isLoading": false, "borderRadius": "0px", "buttonVariant": "PRIMARY" }, { "boxShadow": "none", "widgetName": "mongo_ds_url", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "3iwx4ppimv", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "collection_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "82uk5g7krv", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "fetch_keys_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 15, "bottomRow": 19, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 12.7998046875, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "jx1zxum47l", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "search_keys_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 28.9375, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "0equv9lg65", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 61, "dynamicHeight": "FIXED", "widgetId": "24223uwmke", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "4yqoh4fjmv", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ], "labelTextSize": "0.875rem", "tabName": "Mongo", "rightColumn": 574.5625, "detachFromLayout": true, "widgetId": "4yqoh4fjmv", "containerStyle": "none", "isVisible": true, "version": 1, "parentId": "jalvzswyyk", "isLoading": false, "borderRadius": "0px" } ], "labelTextSize": "0.875rem", "rightColumn": 45, "dynamicHeight": "FIXED", "widgetId": "jalvzswyyk", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "defaultTab": "SQL", "shouldShowTabs": true, "tabsObj": { "tab1": { "widgetId": "nyka98xqpv", "index": 0, "label": "SQL", "id": "tab1", "isVisible": true }, "tab2": { "widgetId": "neexe4fljs", "index": 1, "label": "GSheet", "id": "tab2", "isVisible": true }, "tab7qxuerb9p7": { "widgetId": "4yqoh4fjmv", "id": "tab7qxuerb9p7", "label": "Mongo", "isVisible": true } }, "isVisible": true, "version": 3, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ] } } ], "slug": "page-generator", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc4" }, { "publishedPage": { "name": "MongoDB", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "data_table.sortOrder.column || 'col1'", "key_select.selectedOptionValue", "data_table.pageSize", "data_table.sortOrder.order == \"desc\" ? -1 : 1", "data_table.searchText||\"\"", "(data_table.pageNo - 1) * data_table.pageSize", "order_select.selectedOptionValue" ], "name": "FindQuery", "timeoutInMillisecond": 10000, "id": "MongoDB_FindQuery" } ] ], "id": "MongoDB", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 880, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 900, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "4444", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "22222", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "33", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "111", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "4444", "col2": "22222", "col3": "33", "col1": "111" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#fff", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Document Id: {{data_table.selectedRow._id}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "title" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "0511vwn3zi", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow._id}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#fff", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 88, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "data_table", "onSort": "{{FindQuery.run()}}", "columnOrder": [ "revenue", "imdb_id", "release_date", "genres", "vote_average", "tagline", "_id", "title", "vote_count", "poster_path", "homepage", "status", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "onPageChange" }, { "key": "primaryColumns.customColumn1.borderRadius" } ], "isVisibleDownload": true, "topRow": 7, "bottomRow": 86, "parentRowSpace": 10, "onPageChange": "{{FindQuery.run()}}", "isSortable": true, "type": "TABLE_WIDGET_V2", "defaultSelectedRowIndex": "0", "animateLoading": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [ { "key": "onPageChange" }, { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "dynamicBindingPathList": [ { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns._id.computedValue" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.revenue.computedValue" }, { "key": "primaryColumns.imdb_id.computedValue" }, { "key": "primaryColumns.release_date.computedValue" }, { "key": "primaryColumns.genres.computedValue" }, { "key": "primaryColumns.vote_average.computedValue" }, { "key": "primaryColumns.tagline.computedValue" }, { "key": "primaryColumns.title.computedValue" }, { "key": "primaryColumns.vote_count.computedValue" }, { "key": "primaryColumns.poster_path.computedValue" }, { "key": "primaryColumns.homepage.computedValue" }, { "key": "primaryColumns.status.computedValue" }, { "key": "tableData" } ], "leftColumn": 1, "primaryColumns": { "imdb_id": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.imdb_id))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "imdb_id", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "imdb_id", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "{{data_tableCopy.processedTableData.map((currentRow, currentIndex) => ( currentRow.customColumn1))}}", "onClick": "{{showModal('Delete_Modal')}}", "textSize": "0.875rem", "buttonColor": "#DD4B34", "index": 7, "isVisible": true, "label": "Delete", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", "columnType": "button", "horizontalAlignment": "LEFT", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "verticalAlignment": "CENTER", "sticky": "right" }, "title": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.title))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "title", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "title", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "poster_path": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.poster_path))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "poster_path", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "poster_path", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "appsmith_mongo_escape_id": { "isCellVisible": true, "boxShadow": "none", "isDerived": false, "computedValue": "{{data_tableCopy.processedTableData.map((currentRow, currentIndex) => ( currentRow._id))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "_id", "columnType": "text", "horizontalAlignment": "LEFT", "borderRadius": "0px", "width": 150, "enableFilter": true, "enableSort": true, "id": "_id", "verticalAlignment": "CENTER" }, "revenue": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.revenue))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "revenue", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "revenue", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "release_date": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.release_date))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "release_date", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "release_date", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "genres": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.genres))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "genres", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "genres", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "vote_average": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_average))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "vote_average", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "vote_average", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "tagline": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.tagline))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "tagline", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "tagline", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "vote_count": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_count))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "vote_count", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "vote_count", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "homepage": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.homepage))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "homepage", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "homepage", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "status": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.status))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "status", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "status", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "delimiter": ",", "derivedColumns": { "customColumn1": { "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{DeleteQuery.run()}}", "textSize": "0.875rem", "buttonStyle": "#DD4B34", "index": 7, "isVisible": true, "label": "Delete", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", "columnType": "button", "horizontalAlignment": "LEFT", "borderRadius": "0px", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "buttonLabelColor": "#FFFFFF", "verticalAlignment": "CENTER" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "m04j9ji345", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "tableData": "{{FindQuery.data}}", "isVisible": "true", "label": "Data", "searchKey": "", "version": 3, "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "isLoading": false, "isVisibleCompactMode": true, "onSearchTextChanged": "{{FindQuery.run()}}", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "isVisiblePagination": true, "primaryColumnId": "_id", "verticalAlignment": "CENTER", "columnSizeMap": { "task": 245, "deliveryAddress": 170, "step": 62, "id": 228, "status": 75 } }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{FindQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "nj85l57r47", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "atgojamsmw", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 39, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 45, "dynamicPropertyPathList": [], "buttonColor": "#3f3f46", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 33, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 45, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this document?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "4444", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "placeholderText": "", "position": 0, "isDisabled": false, "sourceData": "new entry 3", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "33", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "111", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "4444", "col2": "new entry 3", "col3": "33", "col1": "111" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "onSubmit" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 59, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Document", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" } ], "borderWidth": "", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "ktpocp4ka2", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] }, "mongoEscapedWidgetNames": ["data_table"] } ], "slug": "mongodb", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "MongoDB", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText||\"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order == \"desc\" ? -1 : 1", "key_select.selectedOptionValue", "order_select.selectedOptionValue" ], "name": "FindQuery", "timeoutInMillisecond": 10000, "id": "MongoDB_FindQuery" } ] ], "id": "MongoDB", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 880, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 900, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "4444", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "22222", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "33", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": "111", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "4444", "col2": "22222", "col3": "33", "col1": "111" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#fff", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}", "topRow": 0, "bottomRow": 86, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Document Id: {{data_table.selectedRow._id}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "title" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "0511vwn3zi", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow._id}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#fff", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 88, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "data_table", "onSort": "{{FindQuery.run()}}", "columnOrder": [ "revenue", "imdb_id", "release_date", "genres", "vote_average", "tagline", "_id", "title", "vote_count", "poster_path", "homepage", "status", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "onPageChange" }, { "key": "primaryColumns.customColumn1.borderRadius" } ], "isVisibleDownload": true, "topRow": 7, "bottomRow": 86, "parentRowSpace": 10, "onPageChange": "{{FindQuery.run()}}", "isSortable": true, "type": "TABLE_WIDGET_V2", "defaultSelectedRowIndex": "0", "animateLoading": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [ { "key": "onPageChange" }, { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "dynamicBindingPathList": [ { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns._id.computedValue" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.revenue.computedValue" }, { "key": "primaryColumns.imdb_id.computedValue" }, { "key": "primaryColumns.release_date.computedValue" }, { "key": "primaryColumns.genres.computedValue" }, { "key": "primaryColumns.vote_average.computedValue" }, { "key": "primaryColumns.tagline.computedValue" }, { "key": "primaryColumns.title.computedValue" }, { "key": "primaryColumns.vote_count.computedValue" }, { "key": "primaryColumns.poster_path.computedValue" }, { "key": "primaryColumns.homepage.computedValue" }, { "key": "primaryColumns.status.computedValue" }, { "key": "tableData" }, { "key": "derivedColumns.customColumn1.boxShadow" }, { "key": "primaryColumns.customColumn1.boxShadow" }, { "key": "derivedColumns.customColumn1.borderRadius" }, { "key": "derivedColumns.customColumn1.buttonColor" }, { "key": "primaryColumns.customColumn1.buttonColor" }, { "key": "primaryColumns.customColumn1.computedValue" }, { "key": "derivedColumns.customColumn1.computedValue" } ], "leftColumn": 1, "primaryColumns": { "imdb_id": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.imdb_id))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "imdb_id", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "imdb_id", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}", "isDerived": true, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.customColumn1))}}", "onClick": "{{showModal('Delete_Modal')}}", "textSize": "0.875rem", "buttonColor": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}", "iconName": "", "index": 7, "isVisible": true, "label": "Delete", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", "columnType": "button", "horizontalAlignment": "LEFT", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "verticalAlignment": "CENTER", "sticky": "right" }, "title": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.title))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "title", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "title", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "poster_path": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.poster_path))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "poster_path", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "poster_path", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "appsmith_mongo_escape_id": { "isCellVisible": true, "boxShadow": "none", "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._id))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "_id", "columnType": "text", "horizontalAlignment": "LEFT", "borderRadius": "0px", "width": 150, "enableFilter": true, "enableSort": true, "id": "_id", "verticalAlignment": "CENTER" }, "revenue": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.revenue))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "revenue", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "revenue", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "release_date": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.release_date))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "release_date", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "release_date", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "genres": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.genres))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "genres", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "genres", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "vote_average": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_average))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "vote_average", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "vote_average", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "tagline": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.tagline))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "tagline", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "tagline", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "vote_count": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_count))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "vote_count", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "vote_count", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "homepage": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.homepage))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "homepage", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "homepage", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "status": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.status))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "status", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "status", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "delimiter": ",", "derivedColumns": { "customColumn1": { "boxShadow": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}", "isDerived": true, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.customColumn1))}}", "onClick": "{{DeleteQuery.run()}}", "textSize": "0.875rem", "buttonColor": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}", "buttonStyle": "#DD4B34", "index": 7, "isVisible": true, "label": "Delete", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", "columnType": "button", "horizontalAlignment": "LEFT", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "buttonLabelColor": "#FFFFFF", "verticalAlignment": "CENTER" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "m04j9ji345", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "tableData": "{{FindQuery.data}}", "isVisible": "true", "label": "Data", "searchKey": "", "version": 3, "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "isLoading": false, "isVisibleCompactMode": true, "onSearchTextChanged": "{{FindQuery.run()}}", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "isVisiblePagination": true, "primaryColumnId": "_id", "verticalAlignment": "CENTER", "columnSizeMap": { "task": 245, "deliveryAddress": 170, "step": 62, "id": 228, "status": 75 } }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{FindQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "nj85l57r47", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "atgojamsmw", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 39, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 45, "dynamicPropertyPathList": [], "buttonColor": "#3f3f46", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 33, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 45, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this document?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col4", "isVisible": true, "label": "Col 4", "originalIdentifier": "col4", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "4444", "fieldType": "Text Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "placeholderText": "", "position": 0, "isDisabled": false, "sourceData": "new entry 3", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": "33", "fieldType": "Text Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 3, "isDisabled": false, "sourceData": "111", "fieldType": "Text Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": "4444", "col2": "new entry 3", "col3": "33", "col1": "111" }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "onSubmit" }, { "key": "borderRadius" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 59, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Document", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col4.borderRadius" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" } ], "borderWidth": "", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "ktpocp4ka2", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] }, "mongoEscapedWidgetNames": ["data_table"] } ], "slug": "mongodb", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc5" }, { "publishedPage": { "name": "SQL", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || \"ASC\"" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "SQL_SelectQuery" } ] ], "id": "SQL", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 890, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "boolean", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "children": {}, "position": 3, "isDisabled": false, "sourceData": false, "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "col2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 1003, "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 1000, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#2E3D4955", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", "topRow": 0, "bottomRow": 89, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row col1: {{data_table.selectedRow.col1}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "title" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "borderRadius" }, { "key": "boxShadow" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "6g4ewsx2v0", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow.col1}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#fff", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 89, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 890, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns.col6.computedValue" }, { "key": "primaryColumns.col7.computedValue" }, { "key": "primaryColumns.col8.computedValue" }, { "key": "primaryColumns.col9.computedValue" }, { "key": "primaryColumns.col10.computedValue" }, { "key": "primaryColumns.col11.computedValue" }, { "key": "primaryColumns.col12.computedValue" } ], "leftColumn": 1, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "col1", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "col1", "col2", "col3", "col4", "col5", "col6", "col7", "col8", "col9", "col10", "col11", "col12", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "col12": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "col12", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col12", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col11": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "col11", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col11", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col8": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "col8", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col8", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col9": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "col9", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col9", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col6": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "col6", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col6", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col10": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "col10", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col10", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col7": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", "textSize": "0.875rem", "index": 6, "isVisible": true, "label": "col7", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col7", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "uji69u6swx", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 55, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "2jj0197tff", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "kby34l9nbb", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 39, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 46, "dynamicPropertyPathList": [], "buttonColor": "#2E3D49", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 34, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "boolean", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "borderRadius": "0px", "children": {}, "position": 3, "isDisabled": false, "sourceData": true, "cellBoxShadow": "none", "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "cellBorderRadius": "0px", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 9, "cellBoxShadow": "none", "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 5, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 58, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" } ], "borderWidth": "", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "w10l8merz2", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] } } ], "slug": "sql", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "SQL", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ "(data_table.pageNo - 1) * data_table.pageSize", "data_table.pageSize", "data_table.searchText || \"\"", "data_table.sortOrder.column || 'col1'", "data_table.sortOrder.order || \"ASC\"" ], "name": "SelectQuery", "timeoutInMillisecond": 10000, "id": "SQL_SelectQuery" } ] ], "id": "SQL", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 890, "containerStyle": "none", "snapRows": 125, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "boolean", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "children": {}, "position": 3, "isDisabled": false, "sourceData": false, "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "col2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 1003, "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 1000, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "update_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "borderColor": "#2E3D4955", "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", "topRow": 0, "bottomRow": 89, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Update Row col1: {{data_table.selectedRow.col1}}", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "isVisible" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "title" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "borderRadius" }, { "key": "boxShadow" } ], "borderWidth": "0", "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "6g4ewsx2v0", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": "{{!!data_table.selectedRow.col1}}", "version": 1, "parentId": "0", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Update", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container1", "borderColor": "#fff", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 89, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 19.75, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "boxShadow" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "59rw5mx0bq", "containerStyle": "none", "topRow": 0, "bottomRow": 890, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "mvubsemxfo", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns.col6.computedValue" }, { "key": "primaryColumns.col7.computedValue" }, { "key": "primaryColumns.col8.computedValue" }, { "key": "primaryColumns.col9.computedValue" }, { "key": "primaryColumns.col10.computedValue" }, { "key": "primaryColumns.col11.computedValue" }, { "key": "primaryColumns.col12.computedValue" } ], "leftColumn": 1, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "col1", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "col1", "col2", "col3", "col4", "col5", "col6", "col7", "col8", "col9", "col10", "col11", "col12", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" } ], "primaryColumns": { "col12": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", "textSize": "0.875rem", "index": 11, "isVisible": true, "label": "col12", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col12", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col11": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", "textSize": "0.875rem", "index": 10, "isVisible": true, "label": "col11", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col11", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col8": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", "textSize": "0.875rem", "index": 7, "isVisible": true, "label": "col8", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col8", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col9": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", "textSize": "0.875rem", "index": 8, "isVisible": true, "label": "col9", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col9", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col6": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", "textSize": "0.875rem", "index": 5, "isVisible": true, "label": "col6", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col6", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col10": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", "textSize": "0.875rem", "index": 9, "isVisible": true, "label": "col10", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col10", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col7": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", "textSize": "0.875rem", "index": 6, "isVisible": true, "label": "col7", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col7", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 64, "textSize": "0.875rem", "widgetId": "uji69u6swx", "tableData": "{{SelectQuery.data}}", "label": "Data", "searchKey": "", "parentId": "59rw5mx0bq", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "template_table Data", "labelTextSize": "0.875rem", "rightColumn": 55, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "urzv99hdc8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "refresh_btn", "rightColumn": 64, "onClick": "{{SelectQuery.run()}}", "iconName": "refresh", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "2jj0197tff", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 60, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "buttonVariant": "PRIMARY", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "add_btn", "rightColumn": 59, "onClick": "{{showModal('Insert_Modal')}}", "iconName": "add", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "kby34l9nbb", "topRow": 1, "bottomRow": 5, "parentRowSpace": 10, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "59rw5mx0bq", "isLoading": false, "parentColumnSpace": 12.0703125, "dynamicTriggerPathList": [{ "key": "onClick" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "leftColumn": 55, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "buttonVariant": "PRIMARY", "isDisabled": false } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 39, "dynamicHeight": "FIXED", "widgetId": "mvubsemxfo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 13, "bottomRow": 37, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 21, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "zi8fjakv8o", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "i3whp03wf0", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Alert_text", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Row", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "35yoxo4oec", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "onClick": "{{closeModal('Delete_Modal')}}", "rightColumn": 46, "dynamicPropertyPathList": [], "buttonColor": "#2E3D49", "isDefaultClickDisabled": true, "widgetId": "lryg8kw537", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 34, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Delete_Button", "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "qq02lh7ust", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "zi8fjakv8o", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text12", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Are you sure you want to delete this item?", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "48uac29g6e", "isVisible": true, "fontStyle": "", "textColor": "#231F20", "version": 1, "parentId": "zi8fjakv8o", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 45, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "i3whp03wf0", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 16, "bottomRow": 40, "parentRowSpace": 10, "type": "MODAL_WIDGET", "shouldScrollContents": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 17, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 453.1875, "detachFromLayout": true, "widgetId": "9rhv3ioohq", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "vmorzie6eq", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "schema": { "__root_schema__": { "labelTextSize": "0.875rem", "identifier": "__root_schema__", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "dataType": "object", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accessor": "__root_schema__", "isVisible": true, "label": "", "originalIdentifier": "__root_schema__", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": { "col8": { "labelTextSize": "0.875rem", "identifier": "col8", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col8", "isVisible": true, "label": "Col 8", "originalIdentifier": "col8", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 7, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col12": { "labelTextSize": "0.875rem", "identifier": "col12", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col12", "isVisible": true, "label": "Col 12", "originalIdentifier": "col12", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 11, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col9": { "labelTextSize": "0.875rem", "identifier": "col9", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col9", "isVisible": true, "label": "Col 9", "originalIdentifier": "col9", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 8, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col11": { "labelTextSize": "0.875rem", "identifier": "col11", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col11", "isVisible": true, "label": "Col 11", "originalIdentifier": "col11", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 10, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col6": { "labelTextSize": "0.875rem", "identifier": "col6", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col6", "isVisible": true, "label": "Col 6", "originalIdentifier": "col6", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 5, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col10": { "labelTextSize": "0.875rem", "identifier": "col10", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col10", "isVisible": true, "label": "Col 10", "originalIdentifier": "col10", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 9, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col7": { "labelTextSize": "0.875rem", "identifier": "col7", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "null", "cellBorderRadius": "0px", "accessor": "col7", "isVisible": true, "label": "Col 7", "originalIdentifier": "col7", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 6, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Text Input" }, "col4": { "labelTextSize": "0.875rem", "identifier": "col4", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "boolean", "cellBorderRadius": "0px", "accessor": "col4", "isVisible": true, "label": "Col 4", "alignWidget": "LEFT", "originalIdentifier": "col4", "borderRadius": "0px", "children": {}, "position": 3, "isDisabled": false, "sourceData": true, "cellBoxShadow": "none", "fieldType": "Switch" }, "col5": { "labelTextSize": "0.875rem", "identifier": "col5", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "cellBorderRadius": "0px", "accessor": "col5", "isVisible": true, "label": "Col 5", "originalIdentifier": "col5", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 4, "isDisabled": false, "cellBoxShadow": "none", "fieldType": "Number Input" }, "col2": { "labelTextSize": "0.875rem", "identifier": "col2", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "string", "cellBorderRadius": "0px", "accessor": "col2", "isVisible": true, "label": "Col 2", "originalIdentifier": "col2", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 1, "isDisabled": false, "sourceData": "skill B", "cellBoxShadow": "none", "fieldType": "Text Input" }, "col3": { "labelTextSize": "0.875rem", "identifier": "col3", "isRequired": false, "boxShadow": "none", "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "cellBorderRadius": "0px", "accessor": "col3", "isVisible": true, "label": "Col 3", "originalIdentifier": "col3", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 2, "isDisabled": false, "sourceData": 9, "cellBoxShadow": "none", "fieldType": "Number Input" }, "col1": { "labelTextSize": "0.875rem", "identifier": "col1", "boxShadow": "none", "isRequired": false, "isCustomField": false, "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "dataType": "number", "accessor": "col1", "isVisible": true, "label": "Col 1", "originalIdentifier": "col1", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": {}, "isSpellCheck": false, "iconAlign": "left", "position": 0, "isDisabled": false, "sourceData": 5, "fieldType": "Number Input" } }, "position": -1, "isDisabled": false, "sourceData": { "col4": true, "col2": "skill B", "col3": 9, "col1": 5 }, "cellBoxShadow": "none", "fieldType": "Object" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "insert_form", "submitButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "PRIMARY" }, "dynamicPropertyPathList": [ { "key": "schema.__root_schema__.children.date_of_birth.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "borderRadius" }, { "key": "onSubmit" } ], "displayName": "JSON Form", "iconSVG": "/static/media/icon.6bacf7df.svg", "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", "topRow": 0, "bottomRow": 58, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Insert Row", "type": "JSON_FORM_WIDGET", "hideCard": false, "animateLoading": true, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [{ "key": "onSubmit" }], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "schema.__root_schema__.defaultValue" }, { "key": "schema.__root_schema__.children.col3.defaultValue" }, { "key": "schema.__root_schema__.children.col4.defaultValue" }, { "key": "schema.__root_schema__.children.col5.defaultValue" }, { "key": "schema.__root_schema__.children.col2.defaultValue" }, { "key": "sourceData" }, { "key": "schema.__root_schema__.children.col6.defaultValue" }, { "key": "schema.__root_schema__.children.col7.defaultValue" }, { "key": "schema.__root_schema__.children.col8.defaultValue" }, { "key": "schema.__root_schema__.children.col9.defaultValue" }, { "key": "schema.__root_schema__.children.col10.defaultValue" }, { "key": "schema.__root_schema__.children.col11.defaultValue" }, { "key": "schema.__root_schema__.children.col12.defaultValue" }, { "key": "schema.__root_schema__.borderRadius" }, { "key": "schema.__root_schema__.cellBorderRadius" }, { "key": "schema.__root_schema__.children.col1.defaultValue" }, { "key": "schema.__root_schema__.children.col1.accentColor" }, { "key": "schema.__root_schema__.children.col1.borderRadius" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "submitButtonStyles.buttonColor" }, { "key": "submitButtonStyles.borderRadius" }, { "key": "resetButtonStyles.buttonColor" }, { "key": "resetButtonStyles.borderRadius" }, { "key": "schema.__root_schema__.children.col2.accentColor" }, { "key": "schema.__root_schema__.children.col2.borderRadius" }, { "key": "schema.__root_schema__.children.col3.accentColor" }, { "key": "schema.__root_schema__.children.col3.borderRadius" }, { "key": "schema.__root_schema__.children.col4.accentColor" }, { "key": "schema.__root_schema__.children.col5.accentColor" }, { "key": "schema.__root_schema__.children.col5.borderRadius" }, { "key": "schema.__root_schema__.children.col6.accentColor" }, { "key": "schema.__root_schema__.children.col6.borderRadius" }, { "key": "schema.__root_schema__.children.col7.accentColor" }, { "key": "schema.__root_schema__.children.col7.borderRadius" }, { "key": "schema.__root_schema__.children.col8.accentColor" }, { "key": "schema.__root_schema__.children.col8.borderRadius" }, { "key": "schema.__root_schema__.children.col9.accentColor" }, { "key": "schema.__root_schema__.children.col9.borderRadius" }, { "key": "schema.__root_schema__.children.col10.accentColor" }, { "key": "schema.__root_schema__.children.col10.borderRadius" }, { "key": "schema.__root_schema__.children.col11.accentColor" }, { "key": "schema.__root_schema__.children.col11.borderRadius" }, { "key": "schema.__root_schema__.children.col12.accentColor" }, { "key": "schema.__root_schema__.children.col12.borderRadius" } ], "borderWidth": "", "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", "showReset": true, "resetButtonLabel": "Reset", "key": "h9l9ozr8op", "labelTextSize": "0.875rem", "backgroundColor": "#fff", "rightColumn": 64, "dynamicHeight": "FIXED", "autoGenerateForm": true, "widgetId": "w10l8merz2", "resetButtonStyles": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonVariant": "SECONDARY" }, "isVisible": true, "version": 1, "parentId": "9rhv3ioohq", "renderMode": "CANVAS", "isLoading": false, "scrollContents": true, "fixedFooter": true, "submitButtonLabel": "Submit", "childStylesheet": { "CHECKBOX": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "ARRAY": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "CURRENCY_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "DATEPICKER": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PHONE_NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "OBJECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "cellBoxShadow": "none" }, "MULTISELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SELECT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "NUMBER_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "PASSWORD_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "EMAIL_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "RADIO_GROUP": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "SWITCH": { "boxShadow": "none", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" }, "MULTILINE_TEXT_INPUT": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "accentColor": "{{appsmith.theme.colors.primaryColor}}" } }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 41, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "vmorzie6eq", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 } ] } } ], "slug": "sql", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc0" }, { "publishedPage": { "name": "S3", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ " 60 * 24 ", "search_input.text", "(File_List.pageNo - 1) * File_List.pageSize", "File_List.pageSize" ], "name": "ListFiles", "timeoutInMillisecond": 10000, "id": "S3_ListFiles" } ] ], "id": "S3", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 850, "containerStyle": "none", "snapRows": 129, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 900, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "none", "widgetName": "Zoom_Modal2", "topRow": 89, "bottomRow": 89, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas9Copy", "rightColumn": 0, "detachFromLayout": true, "widgetId": "80wzwajsst", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "kqxoe40pg6", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon3Copy", "rightColumn": 64, "onClick": "{{closeModal('Zoom_Modal2')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "8kw9kfcd5y", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "80wzwajsst", "isLoading": false, "leftColumn": 56, "dynamicBindingPathList": [], "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text15Copy", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Zoom Image", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "vk710q1v3s", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "80wzwajsst", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button13Copy", "rightColumn": 63, "onClick": "{{closeModal('Zoom_Modal2')}}", "isDefaultClickDisabled": true, "buttonColor": "#03B365", "widgetId": "lfiwss1u3w", "topRow": 53, "bottomRow": 57, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "80wzwajsst", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 47, "dynamicBindingPathList": [], "borderRadius": "0px", "buttonVariant": "PRIMARY", "text": "Close", "isDisabled": false }, { "labelTextSize": "0.875rem", "image": "{{selected_files.selectedItem.base64}}", "boxShadow": "none", "widgetName": "Image3Copy", "rightColumn": 64, "objectFit": "contain", "widgetId": "2bewgakjx9", "topRow": 6, "bottomRow": 51, "parentRowSpace": 10, "isVisible": true, "type": "IMAGE_WIDGET", "version": 1, "parentId": "80wzwajsst", "isLoading": false, "maxZoomLevel": 8, "parentColumnSpace": 8, "dynamicTriggerPathList": [], "imageShape": "RECTANGLE", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "image" }], "borderRadius": "0px", "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png" } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "kqxoe40pg6", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container3", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 85, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "boxShadow" }, { "key": "borderRadius" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 634, "detachFromLayout": true, "widgetId": "6tz2s7ivi5", "containerStyle": "none", "topRow": 0, "bottomRow": 850, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "th4d9oxy8z", "minHeight": 830, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "template": { "DownloadIcon": { "boxShadow": "NONE", "widgetName": "DownloadIcon", "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 51, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 57, "iconName": "download", "widgetId": "ljk8fj5jc1", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" }, "CopyURLIcon": { "boxShadow": "NONE", "widgetName": "CopyURLIcon", "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 45, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 51, "iconName": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}", "widgetId": "d2z5zj56j9", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" }, "EditIcon": { "boxShadow": "NONE", "widgetName": "EditIcon", "onClick": "{{showModal('Edit_Modal')}}", "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 39, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 45, "iconName": "edit", "widgetId": "x5bft8h9vd", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" }, "Text21": { "widgetName": "Text21", "rightColumn": 24, "textAlign": "LEFT", "displayName": "Text", "iconSVG": "/static/media/icon.e6c93592.svg", "widgetId": "nu44q8kd9p", "topRow": 4, "bottomRow": 8, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "hideCard": false, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "dynamicTriggerPathList": [], "dynamicBindingPathList": [{ "key": "text" }], "leftColumn": 16, "fontSize": "PARAGRAPH", "text": "{{File_List.listData.map((currentItem) => currentItem.id)}}", "textStyle": "BODY", "key": "xvmvdekk3s" }, "Text20": { "widgetName": "Text20", "rightColumn": 28, "textAlign": "LEFT", "displayName": "Text", "iconSVG": "/static/media/icon.e6c93592.svg", "widgetId": "thgbdemmiw", "topRow": 0, "bottomRow": 4, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "hideCard": false, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "dynamicTriggerPathList": [], "dynamicBindingPathList": [{ "key": "text" }], "leftColumn": 16, "fontSize": "PARAGRAPH", "text": "{{File_List.listData.map((currentItem) => currentItem.name)}}", "textStyle": "HEADING", "key": "xvmvdekk3s" }, "Image3": { "widgetName": "Image3", "displayName": "Image", "iconSVG": "/static/media/icon.52d8fb96.svg", "topRow": 0, "bottomRow": 8.4, "type": "IMAGE_WIDGET", "hideCard": false, "dynamicTriggerPathList": [], "imageShape": "RECTANGLE", "dynamicBindingPathList": [{ "key": "image" }], "leftColumn": 0, "defaultImage": "https://assets.appsmith.com/widgets/default.png", "key": "lsc53q139g", "image": "{{File_List.listData.map((currentItem) => currentItem.img)}}", "rightColumn": 16, "objectFit": "contain", "widgetId": "2rrg354q8i", "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "maxZoomLevel": 1, "enableDownload": false, "enableRotation": false }, "FileListItemImage": { "widgetName": "FileListItemImage", "onClick": "{{showModal('Zoom_Modal')}}", "dynamicPropertyPathList": [], "topRow": 1, "bottomRow": 13, "parentRowSpace": 10, "type": "IMAGE_WIDGET", "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [{ "key": "onClick" }], "imageShape": "RECTANGLE", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "image" }], "defaultImage": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png';\n })();\n })}}", "image": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}", "rightColumn": 20, "objectFit": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", "widgetId": "lh1sjszc93", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "enableDownload": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "enableRotation": true, "defaultImage": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "isLoading": false, "maxZoomLevel": 1, "enableDownload": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "enableRotation": false }, "Container7": { "borderColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", "borderWidth": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}" }, "FileListItemName": { "widgetName": "FileListItemName", "rightColumn": 63, "textAlign": "LEFT", "widgetId": "qyqv89mu1c", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "parentColumnSpace": true, "leftColumn": true, "fontSize": true, "text": true }, "topRow": 1, "bottomRow": 8, "parentRowSpace": 10, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "shouldScroll": true, "parentId": "lcz0rhije8", "isLoading": false, "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [], "fontFamily": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", "leftColumn": 21, "dynamicBindingPathList": [{ "key": "text" }], "fontSize": "PARAGRAPH", "text": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}" }, "DeleteIcon": { "boxShadow": "NONE", "widgetName": "DeleteIcon", "onClick": "{{showModal('delete_modal')}}", "buttonColor": "#DD4B34", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 57, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 63, "iconName": "trash", "widgetId": "f8ipd8gbls", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "File_List", "listData": "{{ListFiles.data}}", "isCanvas": true, "displayName": "List", "iconSVG": "/static/media/icon.9925ee17.svg", "topRow": 10, "bottomRow": 83, "parentRowSpace": 10, "onPageChange": "{{ListFiles.run()}}", "type": "LIST_WIDGET", "hideCard": false, "gridGap": 0, "parentColumnSpace": 9.67822265625, "dynamicTriggerPathList": [ { "key": "template.DownloadIcon.onClick" }, { "key": "template.CopyURLIcon.onClick" }, { "key": "onPageChange" } ], "leftColumn": 1, "dynamicBindingPathList": [ { "key": "listData" }, { "key": "template.FileListItemImage.image" }, { "key": "template.FileListItemName.text" }, { "key": "template.EditIcon.buttonColor" }, { "key": "template.CopyURLIcon.buttonColor" }, { "key": "template.DownloadIcon.buttonColor" }, { "key": "template.Container7.borderColor" }, { "key": "template.Container7.borderWidth" }, { "key": "template.Container7.borderRadius" }, { "key": "template.CopyURLIcon.iconName" }, { "key": "accentColor" }, { "key": "template.FileListItemImage.objectFit" }, { "key": "boxShadow" }, { "key": "borderRadius" }, { "key": "template.EditIcon.borderRadius" }, { "key": "template.CopyURLIcon.borderRadius" }, { "key": "template.DownloadIcon.borderRadius" }, { "key": "template.DeleteIcon.borderRadius" }, { "key": "template.FileListItemName.fontFamily" }, { "key": "template.FileListItemImage.borderRadius" }, { "key": "template.FileListItemImage.defaultImage" } ], "gridType": "vertical", "enhancements": true, "children": [ { "boxShadow": "none", "widgetName": "Canvas14", "displayName": "Canvas", "topRow": 0, "bottomRow": 390, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": false, "hideCard": true, "dropDisabled": true, "openParentPropertyPane": true, "minHeight": 400, "noPad": true, "parentColumnSpace": 1, "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "boxShadow": "none", "widgetName": "Container7", "borderColor": "#2E3D4955", "disallowCopy": true, "isCanvas": true, "dynamicPropertyPathList": [ { "key": "borderRadius" } ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", "topRow": 0, "bottomRow": 17, "dragDisabled": true, "type": "CONTAINER_WIDGET", "hideCard": false, "openParentPropertyPane": true, "isDeletable": false, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas15", "detachFromLayout": true, "displayName": "Canvas", "widgetId": "lcz0rhije8", "topRow": 0, "bottomRow": 170, "containerStyle": "none", "parentRowSpace": 1, "isVisible": true, "type": "CANVAS_WIDGET", "canExtend": false, "version": 1, "hideCard": true, "parentId": "66oc53smx3", "renderMode": "CANVAS", "isLoading": false, "parentColumnSpace": 1, "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "EditIcon", "onClick": "{{showModal('Edit_Modal')}}", "buttonColor": "#2E3D49", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 45, "iconName": "edit", "dynamicHeight": "FIXED", "widgetId": "x5bft8h9vd", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "CopyURLIcon", "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", "buttonColor": "#2E3D49", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 45, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 51, "iconName": "duplicate", "dynamicHeight": "FIXED", "widgetId": "d2z5zj56j9", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "DownloadIcon", "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", "buttonColor": "#2E3D49", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 51, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 57, "iconName": "download", "dynamicHeight": "FIXED", "widgetId": "ljk8fj5jc1", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "DeleteIcon", "onClick": "{{showModal('delete_modal')}}", "buttonColor": "#DD4B34", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 57, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 63, "iconName": "trash", "dynamicHeight": "FIXED", "widgetId": "f8ipd8gbls", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "FileListItemName", "topRow": 0, "bottomRow": 7, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 21, "dynamicBindingPathList": [ { "key": "text" }, { "key": "fontFamily" } ], "text": "{{currentItem.fileName}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "kmwv6dap5n", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "parentColumnSpace": true, "leftColumn": true, "fontSize": true, "text": true }, "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "lcz0rhije8", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "FileListItemImage", "onClick": "{{showModal('Zoom_Modal')}}", "dynamicPropertyPathList": [], "topRow": 0, "bottomRow": 13, "parentRowSpace": 10, "type": "IMAGE_WIDGET", "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [ { "key": "onClick" } ], "imageShape": "RECTANGLE", "leftColumn": 1, "dynamicBindingPathList": [ { "key": "image" }, { "key": "borderRadius" } ], "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png", "labelTextSize": "0.875rem", "image": "{{currentItem.signedUrl}}", "rightColumn": 20, "objectFit": "contain", "dynamicHeight": "FIXED", "widgetId": "4laf7e6wer", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "enableDownload": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "enableRotation": true, "defaultImage": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "isLoading": false, "maxZoomLevel": 1, "enableDownload": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "enableRotation": false } ], "key": "29vrztch46" } ], "borderWidth": "1", "key": "cw0dtdoe0g", "disablePropertyPane": true, "labelTextSize": "0.875rem", "backgroundColor": "white", "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "66oc53smx3", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "sh1yahe7kl", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "5px", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "key": "29vrztch46", "labelTextSize": "0.875rem", "rightColumn": 232.27734375, "detachFromLayout": true, "widgetId": "sh1yahe7kl", "containerStyle": "none", "isVisible": true, "version": 1, "parentId": "cjgg2thzom", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px" } ], "privateWidgets": { "undefined": true }, "key": "x51ms5k6q9", "labelTextSize": "0.875rem", "backgroundColor": "transparent", "rightColumn": 63, "itemBackgroundColor": "#F6F7F8", "widgetId": "cjgg2thzom", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "parentId": "6tz2s7ivi5", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" }, { "boxShadow": "none", "widgetName": "search_input", "dynamicPropertyPathList": [ { "key": "onTextChanged" } ], "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 16.4169921875, "dynamicTriggerPathList": [ { "key": "onTextChanged" } ], "resetOnSubmit": true, "leftColumn": 1, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "placeholderText": "Search File Prefix", "isDisabled": false, "key": "auxyd97lu3", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "onTextChanged": "{{ListFiles.run()}}", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "why172fko6", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "6tz2s7ivi5", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text6", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Bucket", "labelTextSize": "0.875rem", "rightColumn": 63, "backgroundColor": "", "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "t54ituq472", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "6tz2s7ivi5", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 37, "dynamicHeight": "FIXED", "widgetId": "th4d9oxy8z", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "delete_modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas6", "rightColumn": 0, "detachFromLayout": true, "widgetId": "ozvpoudxz2", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "9g0cw9adf8", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon2", "rightColumn": 64, "onClick": "{{closeModal('delete_modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "xkyh49z71e", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "ozvpoudxz2", "isLoading": false, "leftColumn": 56, "dynamicBindingPathList": [], "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text12", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete File", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "s1y44xm547", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "ozvpoudxz2", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button10", "rightColumn": 48, "onClick": "{{closeModal('delete_modal')}}", "isDefaultClickDisabled": true, "buttonColor": "#3f3f46", "widgetId": "pi0t67rnwh", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "ozvpoudxz2", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 36, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button11", "onClick": "{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "hp22uj3dra", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "ozvpoudxz2", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text13", "topRow": 5, "bottomRow": 16, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "oypa9ad1tg", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "ozvpoudxz2", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "9g0cw9adf8", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Edit_Modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas10", "rightColumn": 0, "detachFromLayout": true, "widgetId": "6i7m9kpuky", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "usealgbtyj", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text17", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Update File", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "z64z3l112n", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "6i7m9kpuky", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button15", "rightColumn": 44, "onClick": "{{closeModal('Edit_Modal')}}", "isDefaultClickDisabled": true, "buttonColor": "#3f3f46", "widgetId": "trc4e6ylcz", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "6i7m9kpuky", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 32, "dynamicBindingPathList": [], "borderRadius": "0.375rem", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "update_button", "onClick": "{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}", "rightColumn": 64, "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "isDisabled" } ], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "8lbthc9dml", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "6i7m9kpuky", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 44, "dynamicBindingPathList": [ { "key": "isDisabled" }, { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Update", "isDisabled": "{{update_file_picker.files.length == 0}}" }, { "boxShadow": "none", "widgetName": "Text18", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "File Name", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "qb26g34etr", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "6i7m9kpuky", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "update_file_picker", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "FilePicker", "iconSVG": "/static/media/icon.7c5ad9c3.svg", "topRow": 11, "bottomRow": 15, "parentRowSpace": 10, "allowedFileTypes": [], "type": "FILE_PICKER_WIDGET_V2", "hideCard": false, "animateLoading": true, "parentColumnSpace": 6.9375, "dynamicTriggerPathList": [], "leftColumn": 18, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "isDisabled": false, "key": "h2212wpg64", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 64, "isDefaultClickDisabled": true, "widgetId": "i8g6khu01a", "defaultSelectedFiles": [], "isVisible": true, "label": "Select File", "maxFileSize": "10", "version": 1, "fileDataType": "Base64", "parentId": "6i7m9kpuky", "selectedFiles": [], "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "files": [], "maxNumFiles": 1 }, { "boxShadow": "none", "widgetName": "update_file_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 6.9375, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [ { "key": "defaultText" }, { "key": "accentColor" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": true, "key": "auxyd97lu3", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "uabsu3mjt3", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "6i7m9kpuky", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "{{File_List.selectedItem.fileName}}", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "usealgbtyj", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container6", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 85, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 37, "dynamicBindingPathList": [ { "key": "boxShadow" }, { "key": "borderRadius" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas13", "rightColumn": 634, "detachFromLayout": true, "widgetId": "xv97g6rzgq", "containerStyle": "none", "topRow": 0, "bottomRow": 850, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "yg1iyxq9kd", "minHeight": 830, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "template": { "Canvas7": { "widgetName": "Canvas7", "rightColumn": 256, "detachFromLayout": true, "widgetId": "oqhzaygncs", "containerStyle": "none", "topRow": 0, "bottomRow": 400, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "dropDisabled": true, "parentId": "0n30419eso", "openParentPropertyPane": true, "minHeight": 340, "isLoading": false, "noPad": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": ["u3nvgafsdo"] }, "update_files_name": { "widgetName": "update_files_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 11.4580078125, "resetOnSubmit": true, "leftColumn": 23, "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}", "isRequired": false, "rightColumn": 43, "widgetId": "yqxzzh2oqi", "logBlackList": { "widgetName": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "autoFocus": true, "type": true, "hideCard": true, "minHeight": true, "animateLoading": true, "parentColumnSpace": true, "resetOnSubmit": true, "leftColumn": true, "labelStyle": true, "inputType": true, "isDisabled": true, "key": true, "isRequired": true, "rightColumn": true, "widgetId": true, "isVisible": true, "label": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "iconAlign": true, "defaultText": true }, "isVisible": true, "label": "", "version": 2, "parentId": "romgsruzxz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "iconAlign": "left", "defaultText": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}" }, "Image2": { "image": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}", "widgetName": "Image2", "rightColumn": 10, "onClick": "{{showModal('Zoom_Modal2')}}", "objectFit": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", "widgetId": "ql8qs2xelx", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "defaultImage": true }, "topRow": 0, "bottomRow": 6, "parentRowSpace": 10, "isVisible": true, "type": "IMAGE_WIDGET", "version": 1, "parentId": "romgsruzxz", "isLoading": false, "maxZoomLevel": 1, "parentColumnSpace": 7.3125, "dynamicTriggerPathList": [], "imageShape": "RECTANGLE", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "image" }], "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png" }, "Container4": { "backgroundColor": "white", "widgetName": "Container4", "rightColumn": 64, "borderColor": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", "disallowCopy": true, "widgetId": "u3nvgafsdo", "containerStyle": "card", "topRow": 0, "bottomRow": 8, "dragDisabled": true, "isVisible": true, "type": "CONTAINER_WIDGET", "version": 1, "parentId": "oqhzaygncs", "openParentPropertyPane": true, "isDeletable": false, "isLoading": false, "leftColumn": 0, "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", "children": ["romgsruzxz"], "borderWidth": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}", "disablePropertyPane": true }, "Canvas8": { "widgetName": "Canvas8", "detachFromLayout": true, "widgetId": "romgsruzxz", "containerStyle": "none", "topRow": 0, "bottomRow": 180, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "u3nvgafsdo", "minHeight": 80, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ "vu7fb0dbt8", "7zziet357m", "ql8qs2xelx" ] }, "Text14": { "widgetName": "Text14", "rightColumn": 23, "textAlign": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}", "widgetId": "vu7fb0dbt8", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "dynamicTriggerPathList": true, "parentColumnSpace": true, "dynamicBindingPathList": true, "leftColumn": true, "fontSize": true, "text": true, "textStyle": true }, "topRow": 1, "bottomRow": 5, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "parentId": "romgsruzxz", "isLoading": false, "dynamicTriggerPathList": [], "fontFamily": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", "dynamicBindingPathList": [], "leftColumn": 11, "fontSize": "PARAGRAPH", "text": "File Name", "textStyle": "HEADING" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "selected_files", "listData": "{{FilePicker.files}}", "dynamicPropertyPathList": [{ "key": "isVisible" }], "topRow": 23, "bottomRow": 75, "parentRowSpace": 10, "type": "LIST_WIDGET", "gridGap": 0, "parentColumnSpace": 8, "dynamicTriggerPathList": [ { "key": "template.Image2.onClick" } ], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "isVisible" }, { "key": "listData" }, { "key": "template.update_files_name.defaultText" }, { "key": "template.update_files_name.validation" }, { "key": "template.Container4.borderWidth" }, { "key": "template.Container4.borderRadius" }, { "key": "template.Container4.borderColor" }, { "key": "template.Image2.image" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "template.Text14.fontFamily" }, { "key": "template.update_files_name.borderRadius" } ], "gridType": "vertical", "enhancements": true, "children": [ { "boxShadow": "none", "widgetName": "Canvas7", "topRow": 0, "bottomRow": 510, "parentRowSpace": 1, "canExtend": false, "type": "CANVAS_WIDGET", "dropDisabled": true, "openParentPropertyPane": true, "minHeight": 520, "noPad": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "boxShadow": "none", "widgetName": "Container4", "borderColor": "#2E3D4955", "disallowCopy": true, "dynamicPropertyPathList": [ { "key": "borderRadius" } ], "topRow": 0, "bottomRow": 12, "dragDisabled": true, "type": "CONTAINER_WIDGET", "openParentPropertyPane": true, "isDeletable": false, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas8", "detachFromLayout": true, "widgetId": "romgsruzxz", "containerStyle": "none", "topRow": 0, "bottomRow": 120, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "u3nvgafsdo", "minHeight": 120, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text14", "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "dynamicBindingPathList": [ { "key": "fontFamily" } ], "leftColumn": 19, "text": "File Name", "labelTextSize": "0.875rem", "rightColumn": 60, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "vu7fb0dbt8", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "dynamicTriggerPathList": true, "parentColumnSpace": true, "dynamicBindingPathList": true, "leftColumn": true, "fontSize": true, "text": true, "textStyle": true }, "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "romgsruzxz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "textStyle": "HEADING", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Image2", "onClick": "{{showModal('Zoom_Modal2')}}", "topRow": 0, "bottomRow": 9, "parentRowSpace": 10, "type": "IMAGE_WIDGET", "parentColumnSpace": 7.3125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "imageShape": "RECTANGLE", "leftColumn": 0, "dynamicBindingPathList": [ { "key": "image" } ], "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png", "labelTextSize": "0.875rem", "image": "{{currentItem.data}}", "rightColumn": 19, "objectFit": "contain", "dynamicHeight": "FIXED", "widgetId": "ql8qs2xelx", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "defaultImage": true }, "isVisible": true, "version": 1, "parentId": "romgsruzxz", "isLoading": false, "maxZoomLevel": 1, "borderRadius": "0px" }, { "boxShadow": "none", "widgetName": "update_files_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 5, "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 11.4580078125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 19, "dynamicBindingPathList": [ { "key": "defaultText" }, { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "yqxzzh2oqi", "logBlackList": { "widgetName": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "autoFocus": true, "type": true, "hideCard": true, "minHeight": true, "animateLoading": true, "parentColumnSpace": true, "resetOnSubmit": true, "leftColumn": true, "labelStyle": true, "inputType": true, "isDisabled": true, "key": true, "isRequired": true, "rightColumn": true, "widgetId": true, "isVisible": true, "label": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "iconAlign": true, "defaultText": true }, "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "romgsruzxz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "{{currentItem.name}}", "minDynamicHeight": 4 } ] } ], "borderWidth": "1", "disablePropertyPane": true, "labelTextSize": "0.875rem", "backgroundColor": "white", "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "u3nvgafsdo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "oqhzaygncs", "isLoading": false, "borderRadius": "5px", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "labelTextSize": "0.875rem", "rightColumn": 256, "detachFromLayout": true, "widgetId": "oqhzaygncs", "containerStyle": "none", "isVisible": true, "version": 1, "parentId": "0n30419eso", "isLoading": false, "borderRadius": "0px" } ], "privateWidgets": { "undefined": true }, "childAutoComplete": { "currentItem": { "data": "", "base64": "", "name": "", "raw": "", "id": "", "text": "", "type": "" } }, "labelTextSize": "0.875rem", "backgroundColor": "", "rightColumn": 64, "itemBackgroundColor": "#F6F7F8", "widgetId": "0n30419eso", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": "{{FilePicker.files.length > 0}}", "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" }, { "boxShadow": "none", "widgetName": "Text9", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Upload Folder", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "jc21bnjh92", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text7", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "Upload New Files", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "364shivyaz", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "upload_button", "onClick": "{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}", "rightColumn": 64, "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "isDisabled" } ], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "1uava20nxi", "topRow": 75, "bottomRow": 79, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "xv97g6rzgq", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 36, "dynamicBindingPathList": [ { "key": "isDisabled" }, { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Upload", "isDisabled": "{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}" }, { "boxShadow": "none", "widgetName": "Text19", "dynamicPropertyPathList": [{ "key": "isVisible" }], "topRow": 19, "bottomRow": 23, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.0458984375, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "isVisible" }], "text": "Selected files to upload", "labelTextSize": "0.875rem", "rightColumn": 52, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "9wh2ereoy9", "isVisible": "{{FilePicker.files.length > 0}}", "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "FilePicker", "dynamicPropertyPathList": [], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "FilePicker", "iconSVG": "/static/media/icon.7c5ad9c3.svg", "topRow": 13, "bottomRow": 17, "parentRowSpace": 10, "allowedFileTypes": [], "type": "FILE_PICKER_WIDGET_V2", "hideCard": false, "animateLoading": true, "parentColumnSpace": 4.86865234375, "dynamicTriggerPathList": [], "leftColumn": 16, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "isDisabled": false, "key": "h2212wpg64", "onFilesSelected": "", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "isDefaultClickDisabled": true, "widgetId": "8l6lm067zw", "defaultSelectedFiles": [], "isVisible": true, "label": "Select Files", "maxFileSize": 5, "version": 1, "fileDataType": "Base64", "parentId": "xv97g6rzgq", "selectedFiles": [], "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "files": [], "maxNumFiles": "3" }, { "boxShadow": "none", "widgetName": "folder_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 11.8955078125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 16, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "placeholderText": "folder/sub-folder", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "215nlsqncm", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "xv97g6rzgq", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "yg1iyxq9kd", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ] } } ], "slug": "s3", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "S3", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [ " 60 * 24 ", "(File_List.pageNo - 1) * File_List.pageSize", "File_List.pageSize", "search_input.text" ], "name": "ListFiles", "timeoutInMillisecond": 10000, "id": "S3_ListFiles" } ] ], "id": "S3", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1174, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 850, "containerStyle": "none", "snapRows": 129, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 900, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "boxShadow": "none", "widgetName": "Zoom_Modal2", "topRow": 89, "bottomRow": 89, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas9Copy", "rightColumn": 0, "detachFromLayout": true, "widgetId": "80wzwajsst", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "kqxoe40pg6", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon3Copy", "rightColumn": 64, "onClick": "{{closeModal('Zoom_Modal2')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "8kw9kfcd5y", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "80wzwajsst", "isLoading": false, "leftColumn": 56, "dynamicBindingPathList": [], "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text15Copy", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Zoom Image", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "vk710q1v3s", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "80wzwajsst", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button13Copy", "rightColumn": 63, "onClick": "{{closeModal('Zoom_Modal2')}}", "isDefaultClickDisabled": true, "buttonColor": "#03B365", "widgetId": "lfiwss1u3w", "topRow": 53, "bottomRow": 57, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "80wzwajsst", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 47, "dynamicBindingPathList": [], "borderRadius": "0px", "buttonVariant": "PRIMARY", "text": "Close", "isDisabled": false }, { "labelTextSize": "0.875rem", "image": "{{selected_files.selectedItem.base64}}", "boxShadow": "none", "widgetName": "Image3Copy", "rightColumn": 64, "objectFit": "contain", "widgetId": "2bewgakjx9", "topRow": 6, "bottomRow": 51, "parentRowSpace": 10, "isVisible": true, "type": "IMAGE_WIDGET", "version": 1, "parentId": "80wzwajsst", "isLoading": false, "maxZoomLevel": 8, "parentColumnSpace": 8, "dynamicTriggerPathList": [], "imageShape": "RECTANGLE", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "image" }], "borderRadius": "0px", "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png" } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "kqxoe40pg6", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container3", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 85, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "boxShadow" }, { "key": "borderRadius" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 634, "detachFromLayout": true, "widgetId": "6tz2s7ivi5", "containerStyle": "none", "topRow": 0, "bottomRow": 850, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "th4d9oxy8z", "minHeight": 830, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "template": { "DownloadIcon": { "boxShadow": "NONE", "widgetName": "DownloadIcon", "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 51, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 57, "iconName": "download", "widgetId": "ljk8fj5jc1", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" }, "CopyURLIcon": { "boxShadow": "NONE", "widgetName": "CopyURLIcon", "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 45, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 51, "iconName": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}", "widgetId": "d2z5zj56j9", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" }, "EditIcon": { "boxShadow": "NONE", "widgetName": "EditIcon", "onClick": "{{showModal('Edit_Modal')}}", "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 39, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 45, "iconName": "edit", "widgetId": "x5bft8h9vd", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" }, "Text21": { "widgetName": "Text21", "rightColumn": 24, "textAlign": "LEFT", "displayName": "Text", "iconSVG": "/static/media/icon.e6c93592.svg", "widgetId": "nu44q8kd9p", "topRow": 4, "bottomRow": 8, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "hideCard": false, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "dynamicTriggerPathList": [], "dynamicBindingPathList": [{ "key": "text" }], "leftColumn": 16, "fontSize": "PARAGRAPH", "text": "{{File_List.listData.map((currentItem) => currentItem.id)}}", "textStyle": "BODY", "key": "xvmvdekk3s" }, "Text20": { "widgetName": "Text20", "rightColumn": 28, "textAlign": "LEFT", "displayName": "Text", "iconSVG": "/static/media/icon.e6c93592.svg", "widgetId": "thgbdemmiw", "topRow": 0, "bottomRow": 4, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "hideCard": false, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "dynamicTriggerPathList": [], "dynamicBindingPathList": [{ "key": "text" }], "leftColumn": 16, "fontSize": "PARAGRAPH", "text": "{{File_List.listData.map((currentItem) => currentItem.name)}}", "textStyle": "HEADING", "key": "xvmvdekk3s" }, "Image3": { "widgetName": "Image3", "displayName": "Image", "iconSVG": "/static/media/icon.52d8fb96.svg", "topRow": 0, "bottomRow": 8.4, "type": "IMAGE_WIDGET", "hideCard": false, "dynamicTriggerPathList": [], "imageShape": "RECTANGLE", "dynamicBindingPathList": [{ "key": "image" }], "leftColumn": 0, "defaultImage": "https://assets.appsmith.com/widgets/default.png", "key": "lsc53q139g", "image": "{{File_List.listData.map((currentItem) => currentItem.img)}}", "rightColumn": 16, "objectFit": "contain", "widgetId": "2rrg354q8i", "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "maxZoomLevel": 1, "enableDownload": false, "enableRotation": false }, "FileListItemImage": { "widgetName": "FileListItemImage", "onClick": "{{showModal('Zoom_Modal')}}", "dynamicPropertyPathList": [], "topRow": 1, "bottomRow": 13, "parentRowSpace": 10, "type": "IMAGE_WIDGET", "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [{ "key": "onClick" }], "imageShape": "RECTANGLE", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "image" }], "defaultImage": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png';\n })();\n })}}", "image": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}", "rightColumn": 20, "objectFit": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", "widgetId": "lh1sjszc93", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "enableDownload": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "enableRotation": true, "defaultImage": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "isLoading": false, "maxZoomLevel": 1, "enableDownload": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "enableRotation": false }, "Container7": { "borderColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", "borderWidth": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}" }, "FileListItemName": { "widgetName": "FileListItemName", "rightColumn": 63, "textAlign": "LEFT", "widgetId": "qyqv89mu1c", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "parentColumnSpace": true, "leftColumn": true, "fontSize": true, "text": true }, "topRow": 1, "bottomRow": 8, "parentRowSpace": 10, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "shouldScroll": true, "parentId": "lcz0rhije8", "isLoading": false, "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [], "fontFamily": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", "leftColumn": 21, "dynamicBindingPathList": [{ "key": "text" }], "fontSize": "PARAGRAPH", "text": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}" }, "DeleteIcon": { "boxShadow": "NONE", "widgetName": "DeleteIcon", "onClick": "{{showModal('delete_modal')}}", "buttonColor": "#DD4B34", "dynamicPropertyPathList": [{ "key": "onClick" }], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 57, "dynamicBindingPathList": [], "isDisabled": false, "key": "8akz850h7z", "rightColumn": 63, "iconName": "trash", "widgetId": "f8ipd8gbls", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "buttonVariant": "TERTIARY" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "File_List", "listData": "{{ListFiles.data}}", "isCanvas": true, "displayName": "List", "iconSVG": "/static/media/icon.9925ee17.svg", "topRow": 10, "bottomRow": 83, "parentRowSpace": 10, "onPageChange": "{{ListFiles.run()}}", "type": "LIST_WIDGET", "hideCard": false, "gridGap": 0, "parentColumnSpace": 9.67822265625, "dynamicTriggerPathList": [ { "key": "template.DownloadIcon.onClick" }, { "key": "template.CopyURLIcon.onClick" }, { "key": "onPageChange" } ], "leftColumn": 1, "dynamicBindingPathList": [ { "key": "listData" }, { "key": "template.FileListItemImage.image" }, { "key": "template.FileListItemName.text" }, { "key": "template.EditIcon.buttonColor" }, { "key": "template.CopyURLIcon.buttonColor" }, { "key": "template.DownloadIcon.buttonColor" }, { "key": "template.Container7.borderColor" }, { "key": "template.Container7.borderWidth" }, { "key": "template.Container7.borderRadius" }, { "key": "template.CopyURLIcon.iconName" }, { "key": "accentColor" }, { "key": "template.FileListItemImage.objectFit" }, { "key": "boxShadow" }, { "key": "borderRadius" }, { "key": "template.EditIcon.borderRadius" }, { "key": "template.CopyURLIcon.borderRadius" }, { "key": "template.DownloadIcon.borderRadius" }, { "key": "template.DeleteIcon.borderRadius" }, { "key": "template.FileListItemName.fontFamily" }, { "key": "template.FileListItemImage.borderRadius" }, { "key": "template.FileListItemImage.defaultImage" } ], "gridType": "vertical", "enhancements": true, "children": [ { "boxShadow": "none", "widgetName": "Canvas14", "displayName": "Canvas", "topRow": 0, "bottomRow": 390, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": false, "hideCard": true, "dropDisabled": true, "openParentPropertyPane": true, "minHeight": 400, "noPad": true, "parentColumnSpace": 1, "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "boxShadow": "none", "widgetName": "Container7", "borderColor": "#2E3D4955", "disallowCopy": true, "isCanvas": true, "dynamicPropertyPathList": [ { "key": "borderRadius" } ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", "topRow": 0, "bottomRow": 17, "dragDisabled": true, "type": "CONTAINER_WIDGET", "hideCard": false, "openParentPropertyPane": true, "isDeletable": false, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas15", "detachFromLayout": true, "displayName": "Canvas", "widgetId": "lcz0rhije8", "topRow": 0, "bottomRow": 170, "containerStyle": "none", "parentRowSpace": 1, "isVisible": true, "type": "CANVAS_WIDGET", "canExtend": false, "version": 1, "hideCard": true, "parentId": "66oc53smx3", "renderMode": "CANVAS", "isLoading": false, "parentColumnSpace": 1, "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "EditIcon", "onClick": "{{showModal('Edit_Modal')}}", "buttonColor": "#2E3D49", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 39, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 45, "iconName": "edit", "dynamicHeight": "FIXED", "widgetId": "x5bft8h9vd", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "CopyURLIcon", "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", "buttonColor": "#2E3D49", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 45, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 51, "iconName": "duplicate", "dynamicHeight": "FIXED", "widgetId": "d2z5zj56j9", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "DownloadIcon", "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", "buttonColor": "#2E3D49", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 51, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 57, "iconName": "download", "dynamicHeight": "FIXED", "widgetId": "ljk8fj5jc1", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "DeleteIcon", "onClick": "{{showModal('delete_modal')}}", "buttonColor": "#DD4B34", "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "borderRadius" } ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.bff4eac0.svg", "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, "type": "ICON_BUTTON_WIDGET", "hideCard": false, "parentColumnSpace": 9.4658203125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "leftColumn": 57, "dynamicBindingPathList": [ { "key": "borderRadius" } ], "isDisabled": false, "key": "8akz850h7z", "labelTextSize": "0.875rem", "rightColumn": 63, "iconName": "trash", "dynamicHeight": "FIXED", "widgetId": "f8ipd8gbls", "logBlackList": { "boxShadow": true, "widgetName": true, "buttonColor": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "type": true, "hideCard": true, "minHeight": true, "parentColumnSpace": true, "leftColumn": true, "isDisabled": true, "key": true, "rightColumn": true, "iconName": true, "widgetId": true, "isVisible": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "borderRadius": true, "buttonVariant": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" }, { "boxShadow": "none", "widgetName": "FileListItemName", "topRow": 0, "bottomRow": 7, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 21, "dynamicBindingPathList": [ { "key": "text" }, { "key": "fontFamily" } ], "text": "{{currentItem.fileName}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "kmwv6dap5n", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "parentColumnSpace": true, "leftColumn": true, "fontSize": true, "text": true }, "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "lcz0rhije8", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "FileListItemImage", "onClick": "{{showModal('Zoom_Modal')}}", "dynamicPropertyPathList": [], "topRow": 0, "bottomRow": 13, "parentRowSpace": 10, "type": "IMAGE_WIDGET", "parentColumnSpace": 19.0625, "dynamicTriggerPathList": [ { "key": "onClick" } ], "imageShape": "RECTANGLE", "leftColumn": 1, "dynamicBindingPathList": [ { "key": "image" }, { "key": "borderRadius" } ], "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png", "labelTextSize": "0.875rem", "image": "{{currentItem.signedUrl}}", "rightColumn": 20, "objectFit": "contain", "dynamicHeight": "FIXED", "widgetId": "4laf7e6wer", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "enableDownload": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "enableRotation": true, "defaultImage": true }, "isVisible": true, "version": 1, "parentId": "lcz0rhije8", "isLoading": false, "maxZoomLevel": 1, "enableDownload": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "enableRotation": false } ], "key": "29vrztch46" } ], "borderWidth": "1", "key": "cw0dtdoe0g", "disablePropertyPane": true, "labelTextSize": "0.875rem", "backgroundColor": "white", "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "66oc53smx3", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "sh1yahe7kl", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "5px", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "key": "29vrztch46", "labelTextSize": "0.875rem", "rightColumn": 232.27734375, "detachFromLayout": true, "widgetId": "sh1yahe7kl", "containerStyle": "none", "isVisible": true, "version": 1, "parentId": "cjgg2thzom", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px" } ], "privateWidgets": { "undefined": true }, "key": "x51ms5k6q9", "labelTextSize": "0.875rem", "backgroundColor": "transparent", "rightColumn": 63, "itemBackgroundColor": "#F6F7F8", "widgetId": "cjgg2thzom", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "parentId": "6tz2s7ivi5", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" }, { "boxShadow": "none", "widgetName": "search_input", "dynamicPropertyPathList": [ { "key": "onTextChanged" } ], "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 16.4169921875, "dynamicTriggerPathList": [ { "key": "onTextChanged" } ], "resetOnSubmit": true, "leftColumn": 1, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "placeholderText": "Search File Prefix", "isDisabled": false, "key": "auxyd97lu3", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "onTextChanged": "{{ListFiles.run()}}", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "why172fko6", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "6tz2s7ivi5", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text6", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "template_table Bucket", "labelTextSize": "0.875rem", "rightColumn": 63, "backgroundColor": "", "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "t54ituq472", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "6tz2s7ivi5", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 37, "dynamicHeight": "FIXED", "widgetId": "th4d9oxy8z", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "delete_modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas6", "rightColumn": 0, "detachFromLayout": true, "widgetId": "ozvpoudxz2", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "9g0cw9adf8", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon2", "rightColumn": 64, "onClick": "{{closeModal('delete_modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "xkyh49z71e", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "ozvpoudxz2", "isLoading": false, "leftColumn": 56, "dynamicBindingPathList": [], "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text12", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete File", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "s1y44xm547", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "ozvpoudxz2", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button10", "rightColumn": 48, "onClick": "{{closeModal('delete_modal')}}", "isDefaultClickDisabled": true, "buttonColor": "#3f3f46", "widgetId": "pi0t67rnwh", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "ozvpoudxz2", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 36, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button11", "onClick": "{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "hp22uj3dra", "topRow": 17, "bottomRow": 21, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "ozvpoudxz2", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text13", "topRow": 5, "bottomRow": 16, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "oypa9ad1tg", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "ozvpoudxz2", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "9g0cw9adf8", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Edit_Modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas10", "rightColumn": 0, "detachFromLayout": true, "widgetId": "6i7m9kpuky", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "usealgbtyj", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text17", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Update File", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "z64z3l112n", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "6i7m9kpuky", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button15", "rightColumn": 44, "onClick": "{{closeModal('Edit_Modal')}}", "isDefaultClickDisabled": true, "buttonColor": "#3f3f46", "widgetId": "trc4e6ylcz", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "6i7m9kpuky", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 32, "dynamicBindingPathList": [], "borderRadius": "0.375rem", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "update_button", "onClick": "{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}", "rightColumn": 64, "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "isDisabled" } ], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "8lbthc9dml", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "6i7m9kpuky", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 44, "dynamicBindingPathList": [ { "key": "isDisabled" }, { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Update", "isDisabled": "{{update_file_picker.files.length == 0}}" }, { "boxShadow": "none", "widgetName": "Text18", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "File Name", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "qb26g34etr", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "6i7m9kpuky", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "update_file_picker", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "FilePicker", "iconSVG": "/static/media/icon.7c5ad9c3.svg", "topRow": 11, "bottomRow": 15, "parentRowSpace": 10, "allowedFileTypes": [], "type": "FILE_PICKER_WIDGET_V2", "hideCard": false, "animateLoading": true, "parentColumnSpace": 6.9375, "dynamicTriggerPathList": [], "leftColumn": 18, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "isDisabled": false, "key": "h2212wpg64", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 64, "isDefaultClickDisabled": true, "widgetId": "i8g6khu01a", "defaultSelectedFiles": [], "isVisible": true, "label": "Select File", "maxFileSize": "10", "version": 1, "fileDataType": "Base64", "parentId": "6i7m9kpuky", "selectedFiles": [], "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "files": [], "maxNumFiles": 1 }, { "boxShadow": "none", "widgetName": "update_file_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 6.9375, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 18, "dynamicBindingPathList": [ { "key": "defaultText" }, { "key": "accentColor" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": true, "key": "auxyd97lu3", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "uabsu3mjt3", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "6i7m9kpuky", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "{{File_List.selectedItem.fileName}}", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "usealgbtyj", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Container6", "borderColor": "#2E3D4955", "dynamicPropertyPathList": [{ "key": "borderRadius" }], "topRow": 0, "bottomRow": 85, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "parentColumnSpace": 19.8125, "dynamicTriggerPathList": [], "leftColumn": 37, "dynamicBindingPathList": [ { "key": "boxShadow" }, { "key": "borderRadius" } ], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas13", "rightColumn": 634, "detachFromLayout": true, "widgetId": "xv97g6rzgq", "containerStyle": "none", "topRow": 0, "bottomRow": 850, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "yg1iyxq9kd", "minHeight": 830, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "template": { "Canvas7": { "widgetName": "Canvas7", "rightColumn": 256, "detachFromLayout": true, "widgetId": "oqhzaygncs", "containerStyle": "none", "topRow": 0, "bottomRow": 400, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "dropDisabled": true, "parentId": "0n30419eso", "openParentPropertyPane": true, "minHeight": 340, "isLoading": false, "noPad": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": ["u3nvgafsdo"] }, "update_files_name": { "widgetName": "update_files_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 8, "bottomRow": 12, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 11.4580078125, "resetOnSubmit": true, "leftColumn": 23, "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}", "isRequired": false, "rightColumn": 43, "widgetId": "yqxzzh2oqi", "logBlackList": { "widgetName": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "autoFocus": true, "type": true, "hideCard": true, "minHeight": true, "animateLoading": true, "parentColumnSpace": true, "resetOnSubmit": true, "leftColumn": true, "labelStyle": true, "inputType": true, "isDisabled": true, "key": true, "isRequired": true, "rightColumn": true, "widgetId": true, "isVisible": true, "label": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "iconAlign": true, "defaultText": true }, "isVisible": true, "label": "", "version": 2, "parentId": "romgsruzxz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", "iconAlign": "left", "defaultText": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}" }, "Image2": { "image": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}", "widgetName": "Image2", "rightColumn": 10, "onClick": "{{showModal('Zoom_Modal2')}}", "objectFit": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", "widgetId": "ql8qs2xelx", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "defaultImage": true }, "topRow": 0, "bottomRow": 6, "parentRowSpace": 10, "isVisible": true, "type": "IMAGE_WIDGET", "version": 1, "parentId": "romgsruzxz", "isLoading": false, "maxZoomLevel": 1, "parentColumnSpace": 7.3125, "dynamicTriggerPathList": [], "imageShape": "RECTANGLE", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "image" }], "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png" }, "Container4": { "backgroundColor": "white", "widgetName": "Container4", "rightColumn": 64, "borderColor": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", "disallowCopy": true, "widgetId": "u3nvgafsdo", "containerStyle": "card", "topRow": 0, "bottomRow": 8, "dragDisabled": true, "isVisible": true, "type": "CONTAINER_WIDGET", "version": 1, "parentId": "oqhzaygncs", "openParentPropertyPane": true, "isDeletable": false, "isLoading": false, "leftColumn": 0, "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", "children": ["romgsruzxz"], "borderWidth": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}", "disablePropertyPane": true }, "Canvas8": { "widgetName": "Canvas8", "detachFromLayout": true, "widgetId": "romgsruzxz", "containerStyle": "none", "topRow": 0, "bottomRow": 180, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "u3nvgafsdo", "minHeight": 80, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ "vu7fb0dbt8", "7zziet357m", "ql8qs2xelx" ] }, "Text14": { "widgetName": "Text14", "rightColumn": 23, "textAlign": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}", "widgetId": "vu7fb0dbt8", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "dynamicTriggerPathList": true, "parentColumnSpace": true, "dynamicBindingPathList": true, "leftColumn": true, "fontSize": true, "text": true, "textStyle": true }, "topRow": 1, "bottomRow": 5, "isVisible": true, "fontStyle": "BOLD", "type": "TEXT_WIDGET", "textColor": "#231F20", "version": 1, "parentId": "romgsruzxz", "isLoading": false, "dynamicTriggerPathList": [], "fontFamily": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", "dynamicBindingPathList": [], "leftColumn": 11, "fontSize": "PARAGRAPH", "text": "File Name", "textStyle": "HEADING" } }, "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "selected_files", "listData": "{{FilePicker.files}}", "dynamicPropertyPathList": [{ "key": "isVisible" }], "topRow": 23, "bottomRow": 75, "parentRowSpace": 10, "type": "LIST_WIDGET", "gridGap": 0, "parentColumnSpace": 8, "dynamicTriggerPathList": [ { "key": "template.Image2.onClick" } ], "leftColumn": 0, "dynamicBindingPathList": [ { "key": "isVisible" }, { "key": "listData" }, { "key": "template.update_files_name.defaultText" }, { "key": "template.update_files_name.validation" }, { "key": "template.Container4.borderWidth" }, { "key": "template.Container4.borderRadius" }, { "key": "template.Container4.borderColor" }, { "key": "template.Image2.image" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "template.Text14.fontFamily" }, { "key": "template.update_files_name.borderRadius" } ], "gridType": "vertical", "enhancements": true, "children": [ { "boxShadow": "none", "widgetName": "Canvas7", "topRow": 0, "bottomRow": 510, "parentRowSpace": 1, "canExtend": false, "type": "CANVAS_WIDGET", "dropDisabled": true, "openParentPropertyPane": true, "minHeight": 520, "noPad": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "boxShadow": "none", "widgetName": "Container4", "borderColor": "#2E3D4955", "disallowCopy": true, "dynamicPropertyPathList": [ { "key": "borderRadius" } ], "topRow": 0, "bottomRow": 12, "dragDisabled": true, "type": "CONTAINER_WIDGET", "openParentPropertyPane": true, "isDeletable": false, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas8", "detachFromLayout": true, "widgetId": "romgsruzxz", "containerStyle": "none", "topRow": 0, "bottomRow": 120, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "u3nvgafsdo", "minHeight": 120, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "none", "widgetName": "Text14", "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "dynamicBindingPathList": [ { "key": "fontFamily" } ], "leftColumn": 19, "text": "File Name", "labelTextSize": "0.875rem", "rightColumn": 60, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "vu7fb0dbt8", "logBlackList": { "widgetName": true, "rightColumn": true, "textAlign": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "fontStyle": true, "type": true, "textColor": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "dynamicTriggerPathList": true, "parentColumnSpace": true, "dynamicBindingPathList": true, "leftColumn": true, "fontSize": true, "text": true, "textStyle": true }, "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "romgsruzxz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "textStyle": "HEADING", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Image2", "onClick": "{{showModal('Zoom_Modal2')}}", "topRow": 0, "bottomRow": 9, "parentRowSpace": 10, "type": "IMAGE_WIDGET", "parentColumnSpace": 7.3125, "dynamicTriggerPathList": [ { "key": "onClick" } ], "imageShape": "RECTANGLE", "leftColumn": 0, "dynamicBindingPathList": [ { "key": "image" } ], "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png", "labelTextSize": "0.875rem", "image": "{{currentItem.data}}", "rightColumn": 19, "objectFit": "contain", "dynamicHeight": "FIXED", "widgetId": "ql8qs2xelx", "logBlackList": { "image": true, "widgetName": true, "rightColumn": true, "objectFit": true, "widgetId": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "isVisible": true, "type": true, "version": true, "parentId": true, "minHeight": true, "isLoading": true, "maxZoomLevel": true, "parentColumnSpace": true, "imageShape": true, "leftColumn": true, "defaultImage": true }, "isVisible": true, "version": 1, "parentId": "romgsruzxz", "isLoading": false, "maxZoomLevel": 1, "borderRadius": "0px" }, { "boxShadow": "none", "widgetName": "update_files_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 5, "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 11.4580078125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 19, "dynamicBindingPathList": [ { "key": "defaultText" }, { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "yqxzzh2oqi", "logBlackList": { "widgetName": true, "isCanvas": true, "displayName": true, "iconSVG": true, "topRow": true, "bottomRow": true, "parentRowSpace": true, "autoFocus": true, "type": true, "hideCard": true, "minHeight": true, "animateLoading": true, "parentColumnSpace": true, "resetOnSubmit": true, "leftColumn": true, "labelStyle": true, "inputType": true, "isDisabled": true, "key": true, "isRequired": true, "rightColumn": true, "widgetId": true, "isVisible": true, "label": true, "version": true, "parentId": true, "renderMode": true, "isLoading": true, "iconAlign": true, "defaultText": true }, "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "romgsruzxz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "{{currentItem.name}}", "minDynamicHeight": 4 } ] } ], "borderWidth": "1", "disablePropertyPane": true, "labelTextSize": "0.875rem", "backgroundColor": "white", "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "u3nvgafsdo", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "oqhzaygncs", "isLoading": false, "borderRadius": "5px", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ], "labelTextSize": "0.875rem", "rightColumn": 256, "detachFromLayout": true, "widgetId": "oqhzaygncs", "containerStyle": "none", "isVisible": true, "version": 1, "parentId": "0n30419eso", "isLoading": false, "borderRadius": "0px" } ], "privateWidgets": { "undefined": true }, "childAutoComplete": { "currentItem": { "data": "", "base64": "", "name": "", "raw": "", "id": "", "text": "", "type": "" } }, "labelTextSize": "0.875rem", "backgroundColor": "", "rightColumn": 64, "itemBackgroundColor": "#F6F7F8", "widgetId": "0n30419eso", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": "{{FilePicker.files.length > 0}}", "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" }, { "boxShadow": "none", "widgetName": "Text9", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [], "text": "Upload Folder", "labelTextSize": "0.875rem", "rightColumn": 16, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "jc21bnjh92", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text7", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "Upload New Files", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "364shivyaz", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "upload_button", "onClick": "{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}", "rightColumn": 64, "dynamicPropertyPathList": [ { "key": "onClick" }, { "key": "isDisabled" } ], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "1uava20nxi", "topRow": 75, "bottomRow": 79, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "xv97g6rzgq", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 36, "dynamicBindingPathList": [ { "key": "isDisabled" }, { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Upload", "isDisabled": "{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}" }, { "boxShadow": "none", "widgetName": "Text19", "dynamicPropertyPathList": [{ "key": "isVisible" }], "topRow": 19, "bottomRow": 23, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.0458984375, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "isVisible" }], "text": "Selected files to upload", "labelTextSize": "0.875rem", "rightColumn": 52, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "9wh2ereoy9", "isVisible": "{{FilePicker.files.length > 0}}", "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "xv97g6rzgq", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "FilePicker", "dynamicPropertyPathList": [], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "FilePicker", "iconSVG": "/static/media/icon.7c5ad9c3.svg", "topRow": 13, "bottomRow": 17, "parentRowSpace": 10, "allowedFileTypes": [], "type": "FILE_PICKER_WIDGET_V2", "hideCard": false, "animateLoading": true, "parentColumnSpace": 4.86865234375, "dynamicTriggerPathList": [], "leftColumn": 16, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "isDisabled": false, "key": "h2212wpg64", "onFilesSelected": "", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "isDefaultClickDisabled": true, "widgetId": "8l6lm067zw", "defaultSelectedFiles": [], "isVisible": true, "label": "Select Files", "maxFileSize": 5, "version": 1, "fileDataType": "Base64", "parentId": "xv97g6rzgq", "selectedFiles": [], "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "files": [], "maxNumFiles": "3" }, { "boxShadow": "none", "widgetName": "folder_name", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 6, "bottomRow": 10, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 11.8955078125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 16, "dynamicBindingPathList": [ { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "TEXT", "placeholderText": "folder/sub-folder", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "215nlsqncm", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "xv97g6rzgq", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ] } ], "borderWidth": "0", "labelTextSize": "0.875rem", "backgroundColor": "#FFFFFF", "rightColumn": 64, "dynamicHeight": "FIXED", "widgetId": "yg1iyxq9kd", "containerStyle": "card", "isVisible": true, "version": 1, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "minDynamicHeight": 4 } ] } } ], "slug": "s3", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc2" }, { "publishedPage": { "name": "Redis", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [], "name": "FetchKeys", "timeoutInMillisecond": 10000, "id": "Redis_FetchKeys" } ], [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.selectedRow.result"], "name": "FetchValue", "timeoutInMillisecond": 10000, "id": "Redis_FetchValue" } ] ], "id": "Redis", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 890, "containerStyle": "none", "snapRows": 129, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "labelTextSize": "0.875rem", "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Form1", "backgroundColor": "white", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "isVisible" }], "dynamicHeight": "FIXED", "widgetId": "eer73khglm", "topRow": 1, "bottomRow": 47, "parentRowSpace": 10, "isVisible": "{{data_table.selectedRow.result}}", "type": "FORM_WIDGET", "parentId": "0", "shouldScrollContents": true, "isLoading": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "isVisible" }, { "key": "borderRadius" }, { "key": "boxShadow" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas2", "rightColumn": 528.71875, "detachFromLayout": true, "widgetId": "9nvn3gfw6q", "containerStyle": "none", "topRow": 0, "bottomRow": 460, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "eer73khglm", "minHeight": 460, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "resetFormOnClick": false, "boxShadow": "none", "widgetName": "update_button", "onClick": "{{UpdateKey.run(() => FetchKeys.run(), () => {})}}", "dynamicPropertyPathList": [], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 39, "bottomRow": 43, "type": "FORM_BUTTON_WIDGET", "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 47, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "text": "Update", "labelTextSize": "0.875rem", "rightColumn": 63, "isDefaultClickDisabled": true, "widgetId": "3apd2wkt91", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "9nvn3gfw6q", "isLoading": false, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY" }, { "resetFormOnClick": true, "boxShadow": "none", "widgetName": "reset_update_button", "onClick": "", "dynamicPropertyPathList": [], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 39, "bottomRow": 43, "type": "FORM_BUTTON_WIDGET", "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 28, "dynamicBindingPathList": [{ "key": "borderRadius" }], "text": "Reset", "labelTextSize": "0.875rem", "rightColumn": 46, "isDefaultClickDisabled": true, "widgetId": "hhh0296qfj", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "9nvn3gfw6q", "isLoading": false, "disabledWhenInvalid": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "SECONDARY" }, { "boxShadow": "none", "widgetName": "Text9", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 8, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.8963623046875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 1, "dynamicBindingPathList": [ { "key": "text" }, { "key": "fontFamily" } ], "text": "Update Key: {{data_table.selectedRow.result}}", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "uawwds1z0r", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "9nvn3gfw6q", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "update_value_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 9, "bottomRow": 37, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 10.5390625, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 1, "dynamicBindingPathList": [ { "key": "defaultText" }, { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "MULTI_LINE_TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": true, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "l3qtdja15h", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "9nvn3gfw6q", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "{{FetchValue.data[0].result}}", "minDynamicHeight": 4 } ] } ], "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "backgroundColor": "#FFFFFF", "widgetName": "Container1", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "v8nfulwuy0", "containerStyle": "card", "topRow": 1, "bottomRow": 89, "parentRowSpace": 10, "isVisible": true, "type": "CONTAINER_WIDGET", "version": 1, "parentId": "0", "isLoading": false, "shouldScrollContents": true, "parentColumnSpace": 19.75, "leftColumn": 0, "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "erkvdsolhu", "containerStyle": "none", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "v8nfulwuy0", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns._ref.computedValue" } ], "leftColumn": 0, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "id", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "_ref", "col4", "col5", "col2", "col3", "col1", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" }, { "key": "onRowSelected" } ], "primaryColumns": { "_ref": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "_ref", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "_ref", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "onRowSelected": "{{FetchValue.run()}}", "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 63, "textSize": "0.875rem", "widgetId": "dyohhtrkiy", "tableData": "{{FetchKeys.data}}", "label": "Data", "searchKey": "", "parentId": "erkvdsolhu", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "new_key_button", "onClick": "{{showModal('Insert_Modal')}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 6.8310546875, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 51, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "text": "New Key", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 64, "isDefaultClickDisabled": true, "widgetId": "2rlp4irwh0", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "erkvdsolhu", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY" }, { "boxShadow": "none", "widgetName": "refresh_button", "onClick": "{{FetchKeys.run()}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "text": "Refresh", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 51, "isDefaultClickDisabled": true, "widgetId": "o9t8fslxdi", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "erkvdsolhu", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "SECONDARY" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "Redis Data", "labelTextSize": "0.875rem", "rightColumn": 39, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "nt181ks4ci", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "erkvdsolhu", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 } ] } ], "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 0, "detachFromLayout": true, "widgetId": "re60vbuakz", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "c8fg4ubw52", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon1", "rightColumn": 64, "onClick": "{{closeModal('Insert_Modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "3tk445loxa", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "leftColumn": 56, "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text21", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "New Key", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "fgi9qp4uwr", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "rightColumn": 47, "onClick": "{{closeModal('Insert_Modal')}}", "isDefaultClickDisabled": true, "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "xnh96plcyo", "topRow": 53, "bottomRow": 57, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "re60vbuakz", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 35, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button2", "onClick": "{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "ix2dralfal", "topRow": 53, "bottomRow": 57, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "re60vbuakz", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Insert", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text22", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Key", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "kotk4wa6pe", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text23", "topRow": 16, "bottomRow": 20, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Value", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "y2dlumuetl", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "insert_key_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 8.125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 21, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "ynw4ir8luz", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "re60vbuakz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "insert_value_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 15, "bottomRow": 52, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 8.125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 21, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "MULTI_LINE_TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "6qn1qkr18d", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "re60vbuakz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "c8fg4ubw52", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "value_modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 0, "detachFromLayout": true, "widgetId": "v8n3d5aecd", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "fh14k9y353", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon2", "rightColumn": 64, "onClick": "{{closeModal('value_modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "jqaazpo3zy", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "v8n3d5aecd", "isLoading": false, "leftColumn": 56, "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text24", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "Value for Key: {{data_table.selectedRow.result}}", "labelTextSize": "0.875rem", "rightColumn": 54, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "hvb3xnk1u8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "v8n3d5aecd", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button4", "rightColumn": 64, "onClick": "{{closeModal('value_modal')}}", "isDefaultClickDisabled": true, "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "yka7b6k706", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "v8n3d5aecd", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Close", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text25", "topRow": 6, "bottomRow": 17, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "{{FetchValue.data[0].result}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "j9315vzr13", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "v8n3d5aecd", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "fh14k9y353", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas5", "rightColumn": 0, "detachFromLayout": true, "widgetId": "lwsyaz55ll", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "0skbil3ntd", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon3", "rightColumn": 64, "onClick": "{{closeModal('Delete_Modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "dtuc8ag2of", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "lwsyaz55ll", "isLoading": false, "leftColumn": 56, "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text26", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Key", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "d9ap4dp300", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "lwsyaz55ll", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button6", "onClick": "{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "2kg6lmim5m", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "lwsyaz55ll", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text27", "topRow": 7, "bottomRow": 17, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "c698jgkzjg", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "lwsyaz55ll", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button7", "onClick": "{{closeModal('Delete_Modal')}}", "buttonColor": "#3f3f46", "topRow": 18, "bottomRow": 22, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 32, "dynamicBindingPathList": [{ "key": "borderRadius" }], "text": "Cancel", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 46, "isDefaultClickDisabled": true, "widgetId": "lsvqrab5v2", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "lwsyaz55ll", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "0skbil3ntd", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 } ] } } ], "slug": "redis", "isHidden": false }, "deleted": false, "unpublishedPage": { "name": "Redis", "policies": [], "userPermissions": [], "layouts": [ { "layoutOnLoadActionErrors": [], "deleted": false, "validOnPageLoadActions": true, "policies": [], "layoutOnLoadActions": [ [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": [], "name": "FetchKeys", "timeoutInMillisecond": 10000, "id": "Redis_FetchKeys" } ], [ { "pluginType": "DB", "confirmBeforeExecute": false, "jsonPathKeys": ["data_table.selectedRow.result"], "name": "FetchValue", "timeoutInMillisecond": 10000, "id": "Redis_FetchValue" } ] ], "id": "Redis", "userPermissions": [], "viewMode": false, "dsl": { "widgetName": "MainContainer", "backgroundColor": "none", "rightColumn": 1056, "snapColumns": 64, "detachFromLayout": true, "widgetId": "0", "topRow": 0, "bottomRow": 890, "containerStyle": "none", "snapRows": 129, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, "version": 78, "minHeight": 890, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { "labelTextSize": "0.875rem", "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Form1", "backgroundColor": "white", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "isVisible" }], "dynamicHeight": "FIXED", "widgetId": "eer73khglm", "topRow": 1, "bottomRow": 47, "parentRowSpace": 10, "isVisible": "{{data_table.selectedRow.result}}", "type": "FORM_WIDGET", "parentId": "0", "shouldScrollContents": true, "isLoading": false, "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "isVisible" }, { "key": "borderRadius" }, { "key": "boxShadow" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas2", "rightColumn": 528.71875, "detachFromLayout": true, "widgetId": "9nvn3gfw6q", "containerStyle": "none", "topRow": 0, "bottomRow": 460, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "eer73khglm", "minHeight": 460, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "resetFormOnClick": false, "boxShadow": "none", "widgetName": "update_button", "onClick": "{{UpdateKey.run(() => FetchKeys.run(), () => {})}}", "dynamicPropertyPathList": [], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 39, "bottomRow": 43, "type": "FORM_BUTTON_WIDGET", "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 47, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "text": "Update", "labelTextSize": "0.875rem", "rightColumn": 63, "isDefaultClickDisabled": true, "widgetId": "3apd2wkt91", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "9nvn3gfw6q", "isLoading": false, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY" }, { "resetFormOnClick": true, "boxShadow": "none", "widgetName": "reset_update_button", "onClick": "", "dynamicPropertyPathList": [], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 39, "bottomRow": 43, "type": "FORM_BUTTON_WIDGET", "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 28, "dynamicBindingPathList": [{ "key": "borderRadius" }], "text": "Reset", "labelTextSize": "0.875rem", "rightColumn": 46, "isDefaultClickDisabled": true, "widgetId": "hhh0296qfj", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "9nvn3gfw6q", "isLoading": false, "disabledWhenInvalid": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "SECONDARY" }, { "boxShadow": "none", "widgetName": "Text9", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 8, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8.8963623046875, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 1, "dynamicBindingPathList": [ { "key": "text" }, { "key": "fontFamily" } ], "text": "Update Key: {{data_table.selectedRow.result}}", "labelTextSize": "0.875rem", "rightColumn": 63, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "uawwds1z0r", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "9nvn3gfw6q", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "update_value_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 9, "bottomRow": 37, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 10.5390625, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 1, "dynamicBindingPathList": [ { "key": "defaultText" }, { "key": "accentColor" }, { "key": "borderRadius" } ], "labelStyle": "", "inputType": "MULTI_LINE_TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": true, "rightColumn": 63, "dynamicHeight": "FIXED", "widgetId": "l3qtdja15h", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "9nvn3gfw6q", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "{{FetchValue.data[0].result}}", "minDynamicHeight": 4 } ] } ], "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "backgroundColor": "#FFFFFF", "widgetName": "Container1", "rightColumn": 40, "dynamicHeight": "FIXED", "widgetId": "v8nfulwuy0", "containerStyle": "card", "topRow": 1, "bottomRow": 89, "parentRowSpace": 10, "isVisible": true, "type": "CONTAINER_WIDGET", "version": 1, "parentId": "0", "isLoading": false, "shouldScrollContents": true, "parentColumnSpace": 19.75, "leftColumn": 0, "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas1", "rightColumn": 632, "detachFromLayout": true, "widgetId": "erkvdsolhu", "containerStyle": "none", "topRow": 0, "bottomRow": 880, "parentRowSpace": 1, "isVisible": true, "canExtend": false, "type": "CANVAS_WIDGET", "version": 1, "parentId": "v8nfulwuy0", "minHeight": 870, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "onSort": "{{SelectQuery.run()}}", "isVisibleDownload": true, "iconSVG": "/static/media/icon.db8a9cbd.svg", "topRow": 6, "isSortable": true, "onPageChange": "{{SelectQuery.run()}}", "type": "TABLE_WIDGET_V2", "animateLoading": true, "dynamicBindingPathList": [ { "key": "tableData" }, { "key": "derivedColumns.customColumn1.buttonLabel" }, { "key": "primaryColumns.customColumn1.buttonLabel" }, { "key": "accentColor" }, { "key": "borderRadius" }, { "key": "boxShadow" }, { "key": "primaryColumns.customColumn1.borderRadius" }, { "key": "primaryColumns.col1.computedValue" }, { "key": "primaryColumns.col2.computedValue" }, { "key": "primaryColumns.col3.computedValue" }, { "key": "primaryColumns.col4.computedValue" }, { "key": "primaryColumns.col5.computedValue" }, { "key": "primaryColumns._ref.computedValue" } ], "leftColumn": 0, "delimiter": ",", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisibleFilters": true, "isVisible": "true", "enableClientSideSearch": true, "version": 3, "totalRecordsCount": 0, "isLoading": false, "onSearchTextChanged": "{{SelectQuery.run()}}", "childStylesheet": { "button": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}" }, "iconButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" }, "menuButton": { "boxShadow": "none", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "menuColor": "{{appsmith.theme.colors.primaryColor}}" } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "primaryColumnId": "id", "columnSizeMap": { "task": 245, "step": 62, "status": 75 }, "widgetName": "data_table", "defaultPageSize": 0, "columnOrder": [ "_ref", "col4", "col5", "col2", "col3", "col1", "customColumn1" ], "dynamicPropertyPathList": [ { "key": "primaryColumns.customColumn1.borderRadius" } ], "displayName": "Table", "bottomRow": 85, "parentRowSpace": 10, "defaultSelectedRowIndex": "0", "hideCard": false, "parentColumnSpace": 16.3125, "dynamicTriggerPathList": [ { "key": "primaryColumns.customColumn1.onClick" }, { "key": "onPageChange" }, { "key": "onSearchTextChanged" }, { "key": "onSort" }, { "key": "onRowSelected" } ], "primaryColumns": { "_ref": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "_ref", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "_ref", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF", "sticky": "right" }, "col4": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", "textSize": "0.875rem", "index": 3, "isVisible": true, "label": "col4", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col4", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col5": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", "textSize": "0.875rem", "index": 4, "isVisible": true, "label": "col5", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col5", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col2": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", "textSize": "0.875rem", "index": 1, "isVisible": true, "label": "col2", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col2", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col3": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", "textSize": "0.875rem", "index": 2, "isVisible": true, "label": "col3", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col3", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" }, "col1": { "isCellVisible": true, "isDerived": false, "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", "textSize": "0.875rem", "index": 0, "isVisible": true, "label": "col1", "textColor": "", "columnType": "text", "horizontalAlignment": "LEFT", "width": 150, "enableFilter": true, "enableSort": true, "id": "col1", "isDisabled": false, "cellBackground": "", "verticalAlignment": "CENTER" } }, "onRowSelected": "{{FetchValue.run()}}", "key": "zba5qel0au", "derivedColumns": { "customColumn1": { "isCellVisible": true, "boxShadow": "none", "isDerived": true, "computedValue": "", "onClick": "{{showModal('Delete_Modal')}}", "buttonColor": "#DD4B34", "buttonStyle": "rgb(3, 179, 101)", "index": 5, "isVisible": true, "label": "Delete", "labelColor": "#FFFFFF", "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", "columnType": "button", "borderRadius": "0px", "menuColor": "#03B365", "width": 150, "enableFilter": true, "enableSort": true, "id": "customColumn1", "isDisabled": false, "buttonLabelColor": "#FFFFFF" } }, "labelTextSize": "0.875rem", "rightColumn": 63, "textSize": "0.875rem", "widgetId": "dyohhtrkiy", "tableData": "{{FetchKeys.data}}", "label": "Data", "searchKey": "", "parentId": "erkvdsolhu", "serverSidePaginationEnabled": true, "renderMode": "CANVAS", "horizontalAlignment": "LEFT", "isVisibleSearch": true, "isVisiblePagination": true, "verticalAlignment": "CENTER" }, { "boxShadow": "none", "widgetName": "new_key_button", "onClick": "{{showModal('Insert_Modal')}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 6.8310546875, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 51, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "text": "New Key", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 64, "isDefaultClickDisabled": true, "widgetId": "2rlp4irwh0", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "erkvdsolhu", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY" }, { "boxShadow": "none", "widgetName": "refresh_button", "onClick": "{{FetchKeys.run()}}", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 18.8828125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 40, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "text": "Refresh", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 51, "isDefaultClickDisabled": true, "widgetId": "o9t8fslxdi", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "erkvdsolhu", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "SECONDARY" }, { "boxShadow": "none", "widgetName": "Text16", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 11.78515625, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "leftColumn": 0, "dynamicBindingPathList": [{ "key": "fontFamily" }], "text": "Redis Data", "labelTextSize": "0.875rem", "rightColumn": 39, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "nt181ks4ci", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "erkvdsolhu", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 } ] } ], "maxDynamicHeight": 9000, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Insert_Modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas3", "rightColumn": 0, "detachFromLayout": true, "widgetId": "re60vbuakz", "topRow": 0, "bottomRow": 600, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "c8fg4ubw52", "shouldScrollContents": false, "minHeight": 600, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon1", "rightColumn": 64, "onClick": "{{closeModal('Insert_Modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "3tk445loxa", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "leftColumn": 56, "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text21", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "New Key", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "fgi9qp4uwr", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button1", "rightColumn": 47, "onClick": "{{closeModal('Insert_Modal')}}", "isDefaultClickDisabled": true, "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "xnh96plcyo", "topRow": 53, "bottomRow": 57, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "re60vbuakz", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 35, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY", "text": "Cancel", "isDisabled": false }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button2", "onClick": "{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "isDefaultClickDisabled": true, "widgetId": "ix2dralfal", "topRow": 53, "bottomRow": 57, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "re60vbuakz", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Insert", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text22", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Key", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "kotk4wa6pe", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Text23", "topRow": 16, "bottomRow": 20, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 8, "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Value", "labelTextSize": "0.875rem", "rightColumn": 17, "textAlign": "RIGHT", "dynamicHeight": "FIXED", "widgetId": "y2dlumuetl", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "re60vbuakz", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "insert_key_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 9, "bottomRow": 13, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 8.125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 21, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "ynw4ir8luz", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "re60vbuakz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "insert_value_input", "displayName": "Input", "iconSVG": "/static/media/icon.9f505595.svg", "topRow": 15, "bottomRow": 52, "parentRowSpace": 10, "autoFocus": false, "type": "INPUT_WIDGET_V2", "hideCard": false, "animateLoading": false, "parentColumnSpace": 8.125, "dynamicTriggerPathList": [], "resetOnSubmit": true, "leftColumn": 21, "dynamicBindingPathList": [{ "key": "accentColor" }], "labelStyle": "", "inputType": "MULTI_LINE_TEXT", "isDisabled": false, "key": "om9y3ljmtt", "validation": "true", "labelTextSize": "0.875rem", "isRequired": false, "rightColumn": 62, "dynamicHeight": "FIXED", "widgetId": "6qn1qkr18d", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "label": "", "version": 2, "parentId": "re60vbuakz", "renderMode": "CANVAS", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "iconAlign": "left", "defaultText": "", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 600, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "c8fg4ubw52", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 532, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "value_modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas4", "rightColumn": 0, "detachFromLayout": true, "widgetId": "v8n3d5aecd", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "fh14k9y353", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon2", "rightColumn": 64, "onClick": "{{closeModal('value_modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "jqaazpo3zy", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "v8n3d5aecd", "isLoading": false, "leftColumn": 56, "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text24", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "Value for Key: {{data_table.selectedRow.result}}", "labelTextSize": "0.875rem", "rightColumn": 54, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "hvb3xnk1u8", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "v8n3d5aecd", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button4", "rightColumn": 64, "onClick": "{{closeModal('value_modal')}}", "isDefaultClickDisabled": true, "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "widgetId": "yka7b6k706", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "v8n3d5aecd", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 48, "dynamicBindingPathList": [ { "key": "borderRadius" }, { "key": "buttonColor" } ], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Close", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text25", "topRow": 6, "bottomRow": 17, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "{{FetchValue.data[0].result}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "j9315vzr13", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "v8n3d5aecd", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "fh14k9y353", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Delete_Modal", "topRow": 0, "bottomRow": 0, "parentRowSpace": 1, "type": "MODAL_WIDGET", "shouldScrollContents": true, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [{ "key": "borderRadius" }], "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Canvas5", "rightColumn": 0, "detachFromLayout": true, "widgetId": "lwsyaz55ll", "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, "isVisible": true, "canExtend": true, "type": "CANVAS_WIDGET", "version": 1, "parentId": "0skbil3ntd", "shouldScrollContents": false, "minHeight": 240, "isLoading": false, "parentColumnSpace": 1, "dynamicTriggerPathList": [], "leftColumn": 0, "dynamicBindingPathList": [], "borderRadius": "0px", "children": [ { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Icon3", "rightColumn": 64, "onClick": "{{closeModal('Delete_Modal')}}", "iconName": "cross", "buttonColor": "#2E3D49", "widgetId": "dtuc8ag2of", "topRow": 1, "bottomRow": 5, "isVisible": true, "type": "ICON_BUTTON_WIDGET", "version": 1, "parentId": "lwsyaz55ll", "isLoading": false, "leftColumn": 56, "borderRadius": "0px", "buttonVariant": "TERTIARY", "iconSize": 24 }, { "boxShadow": "none", "widgetName": "Text26", "dynamicPropertyPathList": [{ "key": "fontSize" }], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", "dynamicTriggerPathList": [], "overflow": "NONE", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [], "text": "Delete Key", "labelTextSize": "0.875rem", "rightColumn": 41, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "d9ap4dp300", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "lwsyaz55ll", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "1.5rem", "minDynamicHeight": 4 }, { "labelTextSize": "0.875rem", "boxShadow": "none", "widgetName": "Button6", "onClick": "{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}", "rightColumn": 64, "dynamicPropertyPathList": [{ "key": "onClick" }], "buttonColor": "#DD4B34", "isDefaultClickDisabled": true, "widgetId": "2kg6lmim5m", "topRow": 18, "bottomRow": 22, "isVisible": true, "type": "BUTTON_WIDGET", "version": 1, "recaptchaType": "V3", "parentId": "lwsyaz55ll", "isLoading": false, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 46, "dynamicBindingPathList": [{ "key": "borderRadius" }], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "PRIMARY", "text": "Confirm", "isDisabled": false }, { "boxShadow": "none", "widgetName": "Text27", "topRow": 7, "bottomRow": 17, "parentRowSpace": 10, "type": "TEXT_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [], "overflow": "SCROLL", "fontFamily": "System Default", "leftColumn": 1, "dynamicBindingPathList": [{ "key": "text" }], "text": "Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}", "labelTextSize": "0.875rem", "rightColumn": 64, "textAlign": "LEFT", "dynamicHeight": "FIXED", "widgetId": "c698jgkzjg", "isVisible": true, "fontStyle": "BOLD", "textColor": "#231F20", "version": 1, "parentId": "lwsyaz55ll", "isLoading": false, "borderRadius": "0px", "maxDynamicHeight": 9000, "fontSize": "0.875rem", "minDynamicHeight": 4 }, { "boxShadow": "none", "widgetName": "Button7", "onClick": "{{closeModal('Delete_Modal')}}", "buttonColor": "#3f3f46", "topRow": 18, "bottomRow": 22, "parentRowSpace": 10, "type": "BUTTON_WIDGET", "parentColumnSpace": 6.8125, "dynamicTriggerPathList": [{ "key": "onClick" }], "leftColumn": 32, "dynamicBindingPathList": [{ "key": "borderRadius" }], "text": "Cancel", "isDisabled": false, "labelTextSize": "0.875rem", "rightColumn": 46, "isDefaultClickDisabled": true, "widgetId": "lsvqrab5v2", "isVisible": true, "version": 1, "recaptchaType": "V3", "parentId": "lwsyaz55ll", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "buttonVariant": "TERTIARY" } ], "isDisabled": false } ], "height": 240, "labelTextSize": "0.875rem", "rightColumn": 0, "detachFromLayout": true, "dynamicHeight": "FIXED", "widgetId": "0skbil3ntd", "canOutsideClickClose": true, "canEscapeKeyClose": true, "version": 2, "parentId": "0", "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, "width": 456, "minDynamicHeight": 4 } ] } } ], "slug": "redis", "isHidden": false }, "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc6" } ], "actionCollectionList": [ { "deleted": false, "publishedCollection": { "variables": [], "pluginType": "JS", "pluginId": "js-plugin", "name": "Utils", "archivedActions": [], "userPermissions": [], "pageId": "Admin", "body": "export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}", "actions": [] }, "unpublishedCollection": { "variables": [], "pluginType": "JS", "pluginId": "js-plugin", "name": "Utils", "archivedActions": [], "userPermissions": [], "pageId": "Admin", "body": "export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}", "actions": [] }, "id": "Admin_Utils", "gitSyncId": "61764fbeba7e887d03bc3631_624e8fab729a2b0934685de2" } ], "clientSchemaVersion": 1, "exportedApplication": { "publishedCustomJSLibs": [], "applicationVersion": 2, "color": "#D9E7FF", "unpublishedAppLayout": { "type": "FLUID" }, "icon": "bag", "unpublishedCustomJSLibs": [], "viewMode": false, "isManualUpdate": false, "pages": [ { "isDefault": true, "id": "Admin" }, { "isDefault": false, "id": "PostgreSQL" }, { "isDefault": false, "id": "Page Generator" }, { "isDefault": false, "id": "MongoDB" }, { "isDefault": false, "id": "SQL" }, { "isDefault": false, "id": "Google Sheets" }, { "isDefault": false, "id": "Firestore" }, { "isDefault": false, "id": "S3" }, { "isDefault": false, "id": "Redis" } ], "deleted": false, "name": "CRUD App Templates", "appIsExample": false, "isPublic": false, "publishedAppLayout": { "type": "FLUID" }, "publishedPages": [ { "isDefault": true, "id": "Admin" }, { "isDefault": false, "id": "PostgreSQL" }, { "isDefault": false, "id": "Page Generator" }, { "isDefault": false, "id": "MongoDB" }, { "isDefault": false, "id": "SQL" }, { "isDefault": false, "id": "Google Sheets" }, { "isDefault": false, "id": "Firestore" }, { "isDefault": false, "id": "S3" }, { "isDefault": false, "id": "Redis" } ], "unreadCommentThreads": 0, "slug": "crud-app-templates" } } \ No newline at end of file +{ + "customJSLibList": [], + "updatedResources": { + "actionList": [ + "InsertQuery##ENTITY_SEPARATOR##SQL", + "InsertQuery##ENTITY_SEPARATOR##Firestore", + "InsertQuery##ENTITY_SEPARATOR##PostgreSQL", + "update_template##ENTITY_SEPARATOR##Admin", + "get_exported_app##ENTITY_SEPARATOR##Admin", + "generate_mongo_app##ENTITY_SEPARATOR##Page Generator", + "UpdateKey##ENTITY_SEPARATOR##Redis", + "InsertQuery##ENTITY_SEPARATOR##Google Sheets", + "UpdateQuery##ENTITY_SEPARATOR##Google Sheets", + "SelectQuery##ENTITY_SEPARATOR##PostgreSQL", + "Utils.myFun2##ENTITY_SEPARATOR##Admin", + "UpdateQuery##ENTITY_SEPARATOR##SQL", + "UpdateFile##ENTITY_SEPARATOR##S3", + "FetchValue##ENTITY_SEPARATOR##Redis", + "SelectQuery##ENTITY_SEPARATOR##SQL", + "get_user##ENTITY_SEPARATOR##Admin", + "generate_gsheet_app##ENTITY_SEPARATOR##Page Generator", + "ListFiles##ENTITY_SEPARATOR##S3", + "UpdateQuery##ENTITY_SEPARATOR##MongoDB", + "InsertQuery##ENTITY_SEPARATOR##MongoDB", + "ReadFile##ENTITY_SEPARATOR##S3", + "DeleteKey##ENTITY_SEPARATOR##Redis", + "get_datasource_structure##ENTITY_SEPARATOR##Admin", + "FetchKeys##ENTITY_SEPARATOR##Redis", + "SelectQuery##ENTITY_SEPARATOR##Firestore", + "UpdateQuery##ENTITY_SEPARATOR##Firestore", + "DeleteQuery##ENTITY_SEPARATOR##MongoDB", + "DeleteQuery##ENTITY_SEPARATOR##PostgreSQL", + "DeleteQuery##ENTITY_SEPARATOR##SQL", + "UpdateQuery##ENTITY_SEPARATOR##PostgreSQL", + "DeleteQuery##ENTITY_SEPARATOR##Google Sheets", + "SelectQuery##ENTITY_SEPARATOR##Google Sheets", + "CreateFile##ENTITY_SEPARATOR##S3", + "InsertKey##ENTITY_SEPARATOR##Redis", + "DeleteFile##ENTITY_SEPARATOR##S3", + "generate_sql_app##ENTITY_SEPARATOR##Page Generator", + "FindQuery##ENTITY_SEPARATOR##MongoDB", + "DeleteQuery##ENTITY_SEPARATOR##Firestore" + ], + "pageList": [ + "Google Sheets", + "S3", + "Page Generator", + "PostgreSQL", + "Firestore", + "Redis", + "MongoDB", + "Admin", + "SQL" + ], + "actionCollectionList": ["Utils##ENTITY_SEPARATOR##Admin"] + }, + "publishedTheme": { + "isSystemTheme": true, + "deleted": false, + "displayName": "Modern", + "name": "Default" + }, + "serverSchemaVersion": 6, + "datasourceConfigurationStructureList": [ + { "datasourceId": "AmazonS3 CRUD", "structure": {} }, + { "datasourceId": "Appsmith Release", "structure": {} }, + { "datasourceId": "FBTemplateDB", "structure": {} }, + { "datasourceId": "Google Sheet", "structure": {} }, + { + "datasourceId": "Internal DB", + "structure": { + "tables": [ + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('aforce_roster_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "email", "type": "text", "isAutogenerated": false }, + { "name": "name", "type": "text", "isAutogenerated": false }, + { + "name": "registration_date", + "type": "date", + "isAutogenerated": false + } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "aforce_roster_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"aforce_heroes\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"aforce_heroes\" (\"email\", \"name\", \"registration_date\")\n VALUES ('', '', '2019-07-01');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"aforce_heroes\" SET\n \"email\" = '',\n \"name\" = '',\n \"registration_date\" = '2019-07-01'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"aforce_heroes\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.aforce_heroes", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('aforce_issue_upvote_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "link", "type": "text", "isAutogenerated": false }, + { "name": "comment", "type": "text", "isAutogenerated": false }, + { "name": "author", "type": "text", "isAutogenerated": false }, + { + "defaultValue": "CURRENT_TIMESTAMP", + "name": "created_at", + "type": "timestamp", + "isAutogenerated": false + }, + { "name": "issue_id", "type": "int4", "isAutogenerated": false }, + { + "defaultValue": "'None'::text", + "name": "comm_status", + "type": "text", + "isAutogenerated": false + } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "aforce_issue_upvote_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"aforce_issue_upvote\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"aforce_issue_upvote\" (\"link\", \"comment\", \"author\", \"issue_id\")\n VALUES ('', '', '', 1);" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"aforce_issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"aforce_issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.aforce_issue_upvote", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('aforce_roster_id_seq1'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { + "name": "start_date", + "type": "date", + "isAutogenerated": false + }, + { "name": "hero_id", "type": "int4", "isAutogenerated": false }, + { "name": "end_date", "type": "date", "isAutogenerated": false }, + { + "name": "support_team", + "type": "text", + "isAutogenerated": false + }, + { "name": "pod", "type": "text", "isAutogenerated": false } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "aforce_roster_pkey1", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"aforce_roster\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"aforce_roster\" (\"start_date\", \"hero_id\", \"end_date\", \"support_team\", \"pod\")\n VALUES ('2019-07-01', 1, '2019-07-01', '', '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"aforce_roster\" SET\n \"start_date\" = '2019-07-01',\n \"hero_id\" = 1,\n \"end_date\" = '2019-07-01',\n \"support_team\" = '',\n \"pod\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"aforce_roster\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.aforce_roster", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('discord_messages_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "msg_id", "type": "text", "isAutogenerated": false }, + { + "name": "created_at", + "type": "date", + "isAutogenerated": false + }, + { "name": "author", "type": "text", "isAutogenerated": false } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "discord_messages_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"discord_messages\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"discord_messages\" (\"msg_id\", \"created_at\", \"author\")\n VALUES ('', '2019-07-01', '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"discord_messages\" SET\n \"msg_id\" = '',\n \"created_at\" = '2019-07-01',\n \"author\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"discord_messages\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.discord_messages", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('email_issues_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "from", "type": "text", "isAutogenerated": false }, + { "name": "body", "type": "text", "isAutogenerated": false }, + { + "name": "created_at", + "type": "timestamptz", + "isAutogenerated": false + }, + { "name": "subject", "type": "text", "isAutogenerated": false }, + { "name": "is_tagged", "type": "bool", "isAutogenerated": false }, + { "name": "assignee", "type": "text", "isAutogenerated": false } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "email_issues_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"email_issues\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"email_issues\" (\"from\", \"body\", \"created_at\", \"subject\", \"is_tagged\", \"assignee\")\n VALUES ('', '', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"email_issues\" SET\n \"from\" = '',\n \"body\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"subject\" = '',\n \"is_tagged\" = '',\n \"assignee\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"email_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.email_issues", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('github_issues_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "upvotes", "type": "int4", "isAutogenerated": false }, + { + "name": "closed_date", + "type": "date", + "isAutogenerated": false + }, + { + "name": "created_date", + "type": "date", + "isAutogenerated": false + }, + { "name": "assignee", "type": "text", "isAutogenerated": false }, + { "name": "state", "type": "text", "isAutogenerated": false }, + { + "name": "issue_creator_id", + "type": "text", + "isAutogenerated": false + }, + { "name": "title", "type": "text", "isAutogenerated": false }, + { + "name": "issue_number", + "type": "int4", + "isAutogenerated": false + }, + { + "name": "label_arr", + "type": "_text", + "isAutogenerated": false + }, + { + "name": "total_reactions", + "type": "int4", + "isAutogenerated": false + }, + { + "name": "unique_commentors", + "type": "int4", + "isAutogenerated": false + }, + { + "name": "updated_at", + "type": "timestamp", + "isAutogenerated": false + } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "github_issues_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"github_issues\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"github_issues\" (\"upvotes\", \"closed_date\", \"created_date\", \"assignee\", \"state\", \"issue_creator_id\", \"title\", \"issue_number\", \"label_arr\", \"total_reactions\", \"unique_commentors\", \"updated_at\")\n VALUES (1, '2019-07-01', '2019-07-01', '', '', '', '', 1, '', 1, 1, TIMESTAMP '2019-07-01 10:00:00');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"github_issues\" SET\n \"upvotes\" = 1,\n \"closed_date\" = '2019-07-01',\n \"created_date\" = '2019-07-01',\n \"assignee\" = '',\n \"state\" = '',\n \"issue_creator_id\" = '',\n \"title\" = '',\n \"issue_number\" = 1,\n \"label_arr\" = '',\n \"total_reactions\" = 1,\n \"unique_commentors\" = 1,\n \"updated_at\" = TIMESTAMP '2019-07-01 10:00:00'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"github_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.github_issues", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('issue_db_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { + "name": "github_issue_id", + "type": "int4", + "isAutogenerated": false + }, + { "name": "author", "type": "text", "isAutogenerated": false }, + { + "name": "created_at", + "type": "timestamp", + "isAutogenerated": false + }, + { "name": "title", "type": "text", "isAutogenerated": false }, + { + "name": "description", + "type": "text", + "isAutogenerated": false + }, + { "name": "labels", "type": "_text", "isAutogenerated": false }, + { "name": "type", "type": "text", "isAutogenerated": false }, + { "name": "state", "type": "text", "isAutogenerated": false }, + { "name": "answer", "type": "text", "isAutogenerated": false }, + { "name": "link", "type": "text", "isAutogenerated": false }, + { "name": "states", "type": "_text", "isAutogenerated": false }, + { + "defaultValue": "'None'::text", + "name": "priority_status", + "type": "text", + "isAutogenerated": false + }, + { + "defaultValue": "'Idle'::text", + "name": "issue_status", + "type": "text", + "isAutogenerated": false + } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "issue_db_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"global_issues\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"global_issues\" (\"github_issue_id\", \"author\", \"created_at\", \"title\", \"description\", \"labels\", \"type\", \"state\", \"answer\", \"link\", \"states\")\n VALUES (1, '', TIMESTAMP '2019-07-01 10:00:00', '', '', '', '', '', '', '', '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"global_issues\" SET\n \"github_issue_id\" = 1,\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"title\" = '',\n \"description\" = '',\n \"labels\" = '',\n \"type\" = '',\n \"state\" = '',\n \"answer\" = '',\n \"link\" = '',\n \"states\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"global_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.global_issues", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('issue_upvote_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "link", "type": "text", "isAutogenerated": false }, + { "name": "comment", "type": "text", "isAutogenerated": false }, + { "name": "author", "type": "text", "isAutogenerated": false }, + { + "name": "created_at", + "type": "timestamp", + "isAutogenerated": false + }, + { "name": "issue_id", "type": "int4", "isAutogenerated": false }, + { + "defaultValue": "'None'::text", + "name": "issue_comm_status", + "type": "text", + "isAutogenerated": false + } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "issue_upvote_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"issue_upvote\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"issue_upvote\" (\"link\", \"comment\", \"author\", \"created_at\", \"issue_id\")\n VALUES ('', '', '', TIMESTAMP '2019-07-01 10:00:00', 1);" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.issue_upvote", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('product_comments_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "comment", "type": "text", "isAutogenerated": false }, + { "name": "author", "type": "varchar", "isAutogenerated": false }, + { + "defaultValue": "CURRENT_TIMESTAMP", + "name": "created_at", + "type": "timestamp", + "isAutogenerated": false + }, + { "name": "issue_id", "type": "int4", "isAutogenerated": false } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "product_comments_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"product_comments\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"product_comments\" (\"comment\", \"author\", \"issue_id\")\n VALUES ('', '', 1);" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"product_comments\" SET\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"product_comments\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.product_comments", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('sample_apps_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "title", "type": "varchar", "isAutogenerated": false }, + { + "name": "description", + "type": "text", + "isAutogenerated": false + }, + { "name": "link", "type": "text", "isAutogenerated": false }, + { "name": "author", "type": "varchar", "isAutogenerated": false }, + { + "defaultValue": "CURRENT_DATE", + "name": "created_at", + "type": "timestamp", + "isAutogenerated": false + }, + { + "name": "categories", + "type": "text", + "isAutogenerated": false + }, + { "name": "tags", "type": "text", "isAutogenerated": false }, + { "name": "status", "type": "text", "isAutogenerated": false }, + { "name": "isdeleted", "type": "bool", "isAutogenerated": false } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "sample_apps_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"sample_apps\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"sample_apps\" (\"title\", \"description\", \"link\", \"author\", \"categories\", \"tags\", \"status\", \"isdeleted\")\n VALUES ('', '', '', '', '', '', '', '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"sample_apps\" SET\n \"title\" = '',\n \"description\" = '',\n \"link\" = '',\n \"author\" = '',\n \"categories\" = '',\n \"tags\" = '',\n \"status\" = '',\n \"isdeleted\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"sample_apps\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.sample_apps", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('standup_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "name", "type": "text", "isAutogenerated": false }, + { "name": "yesterday", "type": "text", "isAutogenerated": false }, + { "name": "today", "type": "text", "isAutogenerated": false }, + { "name": "blocked", "type": "text", "isAutogenerated": false }, + { "name": "date", "type": "date", "isAutogenerated": false }, + { "name": "pod", "type": "text", "isAutogenerated": false }, + { "name": "dayrating", "type": "int4", "isAutogenerated": false }, + { + "name": "restrating", + "type": "int4", + "isAutogenerated": false + }, + { + "name": "focusrating", + "type": "int4", + "isAutogenerated": false + } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "standup_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"standup\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"standup\" (\"name\", \"yesterday\", \"today\", \"blocked\", \"date\", \"pod\", \"dayrating\", \"restrating\", \"focusrating\")\n VALUES ('', '', '', '', '2019-07-01', '', 1, 1, 1);" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"standup\" SET\n \"name\" = '',\n \"yesterday\" = '',\n \"today\" = '',\n \"blocked\" = '',\n \"date\" = '2019-07-01',\n \"pod\" = '',\n \"dayrating\" = 1,\n \"restrating\" = 1,\n \"focusrating\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"standup\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.standup", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('support_tickets_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { + "name": "description", + "type": "varchar", + "isAutogenerated": false + }, + { + "name": "created_at", + "type": "timestamptz", + "isAutogenerated": false + }, + { "name": "author", "type": "text", "isAutogenerated": false }, + { "name": "user", "type": "text", "isAutogenerated": false }, + { "name": "comments", "type": "text", "isAutogenerated": false } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "support_tickets_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"support_tickets\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"support_tickets\" (\"description\", \"created_at\", \"author\", \"user\", \"comments\")\n VALUES ('', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"support_tickets\" SET\n \"description\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"author\" = '',\n \"user\" = '',\n \"comments\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"support_tickets\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.support_tickets", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('template_table_col1_seq'::regclass)", + "name": "col1", + "type": "int4", + "isAutogenerated": true + }, + { "name": "col2", "type": "text", "isAutogenerated": false }, + { "name": "col3", "type": "int4", "isAutogenerated": false }, + { "name": "col4", "type": "bool", "isAutogenerated": false }, + { "name": "col5", "type": "float8", "isAutogenerated": false }, + { "name": "col6", "type": "date", "isAutogenerated": false }, + { "name": "col7", "type": "json", "isAutogenerated": false }, + { "name": "col8", "type": "varchar", "isAutogenerated": false }, + { "name": "col9", "type": "numeric", "isAutogenerated": false }, + { "name": "col10", "type": "text", "isAutogenerated": false }, + { "name": "col11", "type": "text", "isAutogenerated": false }, + { "name": "col12", "type": "text", "isAutogenerated": false } + ], + "keys": [ + { + "columnNames": ["col1"], + "name": "template_table_pkey", + "type": "primary key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"template_table\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"template_table\" (\"col2\", \"col3\", \"col4\", \"col5\", \"col6\", \"col7\", \"col8\", \"col9\", \"col10\", \"col11\", \"col12\")\n VALUES ('', 1, '', 1.0, '2019-07-01', '', '', '', '', '', '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"template_table\" SET\n \"col2\" = '',\n \"col3\" = 1,\n \"col4\" = '',\n \"col5\" = 1.0,\n \"col6\" = '2019-07-01',\n \"col7\" = '',\n \"col8\" = '',\n \"col9\" = '',\n \"col10\" = '',\n \"col11\" = '',\n \"col12\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"template_table\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.template_table", + "type": "TABLE" + }, + { + "schema": "public", + "columns": [ + { + "defaultValue": "nextval('ticket_tags_id_seq'::regclass)", + "name": "id", + "type": "int4", + "isAutogenerated": true + }, + { "name": "ticket_id", "type": "int4", "isAutogenerated": false }, + { + "name": "github_tag_id", + "type": "text", + "isAutogenerated": false + } + ], + "keys": [ + { + "columnNames": ["id"], + "name": "ticket_tags_pkey", + "type": "primary key" + }, + { + "fromColumns": ["ticket_id"], + "name": "ticket_id_fk", + "toColumns": ["support_tickets.id"], + "type": "foreign key" + } + ], + "templates": [ + { + "title": "SELECT", + "body": "SELECT * FROM public.\"ticket_tags\" LIMIT 10;" + }, + { + "title": "INSERT", + "body": "INSERT INTO public.\"ticket_tags\" (\"ticket_id\", \"github_tag_id\")\n VALUES (1, '');" + }, + { + "title": "UPDATE", + "body": "UPDATE public.\"ticket_tags\" SET\n \"ticket_id\" = 1,\n \"github_tag_id\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!" + }, + { + "title": "DELETE", + "body": "DELETE FROM public.\"ticket_tags\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!" + } + ], + "name": "public.ticket_tags", + "type": "TABLE" + } + ] + } + }, + { + "datasourceId": "Mock_Mongo", + "structure": { + "tables": [ + { + "columns": [ + { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, + { "name": "col1", "type": "String", "isAutogenerated": false }, + { "name": "col2", "type": "String", "isAutogenerated": false }, + { "name": "col3", "type": "String", "isAutogenerated": false }, + { "name": "col4", "type": "String", "isAutogenerated": false } + ], + "keys": [], + "templates": [ + { + "configuration": { + "find": { + "query": { "data": "{ \"col1\": \"test\"}" }, + "limit": { "data": "10" }, + "sort": { "data": "{\"_id\": 1}" } + }, + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"find\": \"template_table\",\n \"filter\": {\n \"col1\": \"test\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find" + }, + { + "configuration": { + "find": { + "query": { + "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" + } + }, + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"find\": \"template_table\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find by ID" + }, + { + "configuration": { + "insert": { + "documents": { + "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n}]" + } + }, + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"insert\": \"template_table\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n }\n ]\n}\n" + }, + "command": { "data": "INSERT" }, + "smartSubstitution": { "data": true } + }, + "title": "Insert" + }, + { + "configuration": { + "updateMany": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" + }, + "limit": { "data": "ALL" }, + "update": { + "data": "{ \"$set\": { \"col1\": \"new value\" } }" + } + }, + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"update\": \"template_table\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"col1\": \"new value\" } }\n }\n ]\n}\n" + }, + "command": { "data": "UPDATE" }, + "smartSubstitution": { "data": true } + }, + "title": "Update" + }, + { + "configuration": { + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"delete\": \"template_table\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" + }, + "delete": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" + }, + "limit": { "data": "SINGLE" } + }, + "command": { "data": "DELETE" }, + "smartSubstitution": { "data": true } + }, + "title": "Delete" + }, + { + "configuration": { + "count": { + "query": { "data": "{\"_id\": {\"$exists\": true}}" } + }, + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"count\": \"template_table\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" + }, + "command": { "data": "COUNT" }, + "smartSubstitution": { "data": true } + }, + "title": "Count" + }, + { + "configuration": { + "distinct": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" + }, + "key": { "data": "_id" } + }, + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"distinct\": \"template_table\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" + }, + "command": { "data": "DISTINCT" }, + "smartSubstitution": { "data": true } + }, + "title": "Distinct" + }, + { + "configuration": { + "collection": { "data": "template_table" }, + "body": { + "data": "{\n \"aggregate\": \"template_table\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" + }, + "command": { "data": "AGGREGATE" }, + "smartSubstitution": { "data": true }, + "aggregate": { + "arrayPipelines": { + "data": "[ {\"$sort\" : {\"_id\": 1} } ]" + }, + "limit": { "data": "10" } + } + }, + "title": "Aggregate" + } + ], + "name": "template_table", + "type": "COLLECTION" + }, + { + "columns": [ + { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, + { "name": "createdAt", "type": "Date", "isAutogenerated": false }, + { "name": "email", "type": "String", "isAutogenerated": false }, + { "name": "name", "type": "String", "isAutogenerated": false }, + { "name": "role", "type": "String", "isAutogenerated": false }, + { "name": "status", "type": "Object", "isAutogenerated": false } + ], + "keys": [], + "templates": [ + { + "configuration": { + "find": { + "query": { "data": "{ \"email\": \"Fae14@hotmail.com\"}" }, + "limit": { "data": "10" }, + "sort": { "data": "{\"_id\": 1}" } + }, + "collection": { "data": "users" }, + "body": { + "data": "{\n \"find\": \"users\",\n \"filter\": {\n \"email\": \"Fae14@hotmail.com\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find" + }, + { + "configuration": { + "find": { + "query": { + "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" + } + }, + "collection": { "data": "users" }, + "body": { + "data": "{\n \"find\": \"users\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find by ID" + }, + { + "configuration": { + "insert": { + "documents": { + "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n}]" + } + }, + "collection": { "data": "users" }, + "body": { + "data": "{\n \"insert\": \"users\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n }\n ]\n}\n" + }, + "command": { "data": "INSERT" }, + "smartSubstitution": { "data": true } + }, + "title": "Insert" + }, + { + "configuration": { + "updateMany": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" + }, + "limit": { "data": "ALL" }, + "update": { + "data": "{ \"$set\": { \"email\": \"new value\" } }" + } + }, + "collection": { "data": "users" }, + "body": { + "data": "{\n \"update\": \"users\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"email\": \"new value\" } }\n }\n ]\n}\n" + }, + "command": { "data": "UPDATE" }, + "smartSubstitution": { "data": true } + }, + "title": "Update" + }, + { + "configuration": { + "collection": { "data": "users" }, + "body": { + "data": "{\n \"delete\": \"users\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" + }, + "delete": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" + }, + "limit": { "data": "SINGLE" } + }, + "command": { "data": "DELETE" }, + "smartSubstitution": { "data": true } + }, + "title": "Delete" + }, + { + "configuration": { + "count": { + "query": { "data": "{\"_id\": {\"$exists\": true}}" } + }, + "collection": { "data": "users" }, + "body": { + "data": "{\n \"count\": \"users\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" + }, + "command": { "data": "COUNT" }, + "smartSubstitution": { "data": true } + }, + "title": "Count" + }, + { + "configuration": { + "distinct": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" + }, + "key": { "data": "_id" } + }, + "collection": { "data": "users" }, + "body": { + "data": "{\n \"distinct\": \"users\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" + }, + "command": { "data": "DISTINCT" }, + "smartSubstitution": { "data": true } + }, + "title": "Distinct" + }, + { + "configuration": { + "collection": { "data": "users" }, + "body": { + "data": "{\n \"aggregate\": \"users\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" + }, + "command": { "data": "AGGREGATE" }, + "smartSubstitution": { "data": true }, + "aggregate": { + "arrayPipelines": { + "data": "[ {\"$sort\" : {\"_id\": 1} } ]" + }, + "limit": { "data": "10" } + } + }, + "title": "Aggregate" + } + ], + "name": "users", + "type": "COLLECTION" + }, + { + "columns": [ + { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, + { "name": "createdAt", "type": "Date", "isAutogenerated": false }, + { + "name": "currentLimit", + "type": "Integer", + "isAutogenerated": false + }, + { + "name": "featureName", + "type": "String", + "isAutogenerated": false + }, + { "name": "key", "type": "Integer", "isAutogenerated": false }, + { "name": "limit", "type": "Integer", "isAutogenerated": false }, + { + "name": "subscriptionId", + "type": "ObjectId", + "isAutogenerated": true + } + ], + "keys": [], + "templates": [ + { + "configuration": { + "find": { + "query": { "data": "{ \"featureName\": \"Okuneva Inc\"}" }, + "limit": { "data": "10" }, + "sort": { "data": "{\"_id\": 1}" } + }, + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"find\": \"orgs\",\n \"filter\": {\n \"featureName\": \"Okuneva Inc\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find" + }, + { + "configuration": { + "find": { + "query": { + "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" + } + }, + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"find\": \"orgs\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find by ID" + }, + { + "configuration": { + "insert": { + "documents": { + "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n}]" + } + }, + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"insert\": \"orgs\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n" + }, + "command": { "data": "INSERT" }, + "smartSubstitution": { "data": true } + }, + "title": "Insert" + }, + { + "configuration": { + "updateMany": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" + }, + "limit": { "data": "ALL" }, + "update": { + "data": "{ \"$set\": { \"featureName\": \"new value\" } }" + } + }, + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"update\": \"orgs\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"featureName\": \"new value\" } }\n }\n ]\n}\n" + }, + "command": { "data": "UPDATE" }, + "smartSubstitution": { "data": true } + }, + "title": "Update" + }, + { + "configuration": { + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"delete\": \"orgs\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" + }, + "delete": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" + }, + "limit": { "data": "SINGLE" } + }, + "command": { "data": "DELETE" }, + "smartSubstitution": { "data": true } + }, + "title": "Delete" + }, + { + "configuration": { + "count": { + "query": { "data": "{\"_id\": {\"$exists\": true}}" } + }, + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"count\": \"orgs\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" + }, + "command": { "data": "COUNT" }, + "smartSubstitution": { "data": true } + }, + "title": "Count" + }, + { + "configuration": { + "distinct": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" + }, + "key": { "data": "_id" } + }, + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"distinct\": \"orgs\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" + }, + "command": { "data": "DISTINCT" }, + "smartSubstitution": { "data": true } + }, + "title": "Distinct" + }, + { + "configuration": { + "collection": { "data": "orgs" }, + "body": { + "data": "{\n \"aggregate\": \"orgs\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" + }, + "command": { "data": "AGGREGATE" }, + "smartSubstitution": { "data": true }, + "aggregate": { + "arrayPipelines": { + "data": "[ {\"$sort\" : {\"_id\": 1} } ]" + }, + "limit": { "data": "10" } + } + }, + "title": "Aggregate" + } + ], + "name": "orgs", + "type": "COLLECTION" + }, + { + "columns": [ + { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, + { "name": "createdAt", "type": "Date", "isAutogenerated": false }, + { + "name": "createdBy", + "type": "ObjectId", + "isAutogenerated": true + }, + { "name": "domain", "type": "String", "isAutogenerated": false }, + { "name": "name", "type": "String", "isAutogenerated": false }, + { + "name": "numUsers", + "type": "Integer", + "isAutogenerated": false + }, + { "name": "orgId", "type": "ObjectId", "isAutogenerated": true } + ], + "keys": [], + "templates": [ + { + "configuration": { + "find": { + "query": { "data": "{ \"domain\": \"gunner.name\"}" }, + "limit": { "data": "10" }, + "sort": { "data": "{\"_id\": 1}" } + }, + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"find\": \"apps\",\n \"filter\": {\n \"domain\": \"gunner.name\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find" + }, + { + "configuration": { + "find": { + "query": { + "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" + } + }, + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"find\": \"apps\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find by ID" + }, + { + "configuration": { + "insert": { + "documents": { + "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n}]" + } + }, + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"insert\": \"apps\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n" + }, + "command": { "data": "INSERT" }, + "smartSubstitution": { "data": true } + }, + "title": "Insert" + }, + { + "configuration": { + "updateMany": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" + }, + "limit": { "data": "ALL" }, + "update": { + "data": "{ \"$set\": { \"domain\": \"new value\" } }" + } + }, + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"update\": \"apps\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"domain\": \"new value\" } }\n }\n ]\n}\n" + }, + "command": { "data": "UPDATE" }, + "smartSubstitution": { "data": true } + }, + "title": "Update" + }, + { + "configuration": { + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"delete\": \"apps\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" + }, + "delete": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" + }, + "limit": { "data": "SINGLE" } + }, + "command": { "data": "DELETE" }, + "smartSubstitution": { "data": true } + }, + "title": "Delete" + }, + { + "configuration": { + "count": { + "query": { "data": "{\"_id\": {\"$exists\": true}}" } + }, + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"count\": \"apps\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" + }, + "command": { "data": "COUNT" }, + "smartSubstitution": { "data": true } + }, + "title": "Count" + }, + { + "configuration": { + "distinct": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" + }, + "key": { "data": "_id" } + }, + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"distinct\": \"apps\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" + }, + "command": { "data": "DISTINCT" }, + "smartSubstitution": { "data": true } + }, + "title": "Distinct" + }, + { + "configuration": { + "collection": { "data": "apps" }, + "body": { + "data": "{\n \"aggregate\": \"apps\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" + }, + "command": { "data": "AGGREGATE" }, + "smartSubstitution": { "data": true }, + "aggregate": { + "arrayPipelines": { + "data": "[ {\"$sort\" : {\"_id\": 1} } ]" + }, + "limit": { "data": "10" } + } + }, + "title": "Aggregate" + } + ], + "name": "apps", + "type": "COLLECTION" + }, + { + "columns": [ + { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, + { "name": "genres", "type": "String", "isAutogenerated": false } + ], + "keys": [], + "templates": [ + { + "configuration": { + "find": { + "query": { + "data": "{ \"genres\": \"https://release.app.appsmith.com/app/scratchpad/mongo-625418abb49da04657c566c5/edit\"}" + }, + "limit": { "data": "10" }, + "sort": { "data": "{\"_id\": 1}" } + }, + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"find\": \"movies\",\n \"filter\": {\n \"genres\": \"https://release.app.appsmith.com/app/scratchpad/mongo-625418abb49da04657c566c5/edit\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find" + }, + { + "configuration": { + "find": { + "query": { + "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" + } + }, + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"find\": \"movies\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find by ID" + }, + { + "configuration": { + "insert": { + "documents": { + "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"genres\": \"new value\",\n}]" + } + }, + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"insert\": \"movies\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"genres\": \"new value\",\n }\n ]\n}\n" + }, + "command": { "data": "INSERT" }, + "smartSubstitution": { "data": true } + }, + "title": "Insert" + }, + { + "configuration": { + "updateMany": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" + }, + "limit": { "data": "ALL" }, + "update": { + "data": "{ \"$set\": { \"genres\": \"new value\" } }" + } + }, + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"update\": \"movies\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"genres\": \"new value\" } }\n }\n ]\n}\n" + }, + "command": { "data": "UPDATE" }, + "smartSubstitution": { "data": true } + }, + "title": "Update" + }, + { + "configuration": { + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"delete\": \"movies\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" + }, + "delete": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" + }, + "limit": { "data": "SINGLE" } + }, + "command": { "data": "DELETE" }, + "smartSubstitution": { "data": true } + }, + "title": "Delete" + }, + { + "configuration": { + "count": { + "query": { "data": "{\"_id\": {\"$exists\": true}}" } + }, + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"count\": \"movies\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" + }, + "command": { "data": "COUNT" }, + "smartSubstitution": { "data": true } + }, + "title": "Count" + }, + { + "configuration": { + "distinct": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" + }, + "key": { "data": "_id" } + }, + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"distinct\": \"movies\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" + }, + "command": { "data": "DISTINCT" }, + "smartSubstitution": { "data": true } + }, + "title": "Distinct" + }, + { + "configuration": { + "collection": { "data": "movies" }, + "body": { + "data": "{\n \"aggregate\": \"movies\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" + }, + "command": { "data": "AGGREGATE" }, + "smartSubstitution": { "data": true }, + "aggregate": { + "arrayPipelines": { + "data": "[ {\"$sort\" : {\"_id\": 1} } ]" + }, + "limit": { "data": "10" } + } + }, + "title": "Aggregate" + } + ], + "name": "movies", + "type": "COLLECTION" + }, + { + "columns": [ + { "name": "_id", "type": "ObjectId", "isAutogenerated": true }, + { "name": "createdAt", "type": "Date", "isAutogenerated": false }, + { + "name": "currency", + "type": "String", + "isAutogenerated": false + }, + { "name": "mrr", "type": "String", "isAutogenerated": false }, + { "name": "name", "type": "String", "isAutogenerated": false }, + { + "name": "renewalDate", + "type": "Date", + "isAutogenerated": false + }, + { "name": "status", "type": "String", "isAutogenerated": false }, + { + "name": "statusOfApp", + "type": "Object", + "isAutogenerated": false + } + ], + "keys": [], + "templates": [ + { + "configuration": { + "find": { + "query": { "data": "{ \"currency\": \"MRO\"}" }, + "limit": { "data": "10" }, + "sort": { "data": "{\"_id\": 1}" } + }, + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"currency\": \"MRO\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find" + }, + { + "configuration": { + "find": { + "query": { + "data": "{\"_id\": ObjectId(\"id_to_query_with\")}" + } + }, + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n" + }, + "command": { "data": "FIND" }, + "smartSubstitution": { "data": true } + }, + "title": "Find by ID" + }, + { + "configuration": { + "insert": { + "documents": { + "data": "[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n}]" + } + }, + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"insert\": \"subscriptions\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n }\n ]\n}\n" + }, + "command": { "data": "INSERT" }, + "smartSubstitution": { "data": true } + }, + "title": "Insert" + }, + { + "configuration": { + "updateMany": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_update\") }" + }, + "limit": { "data": "ALL" }, + "update": { + "data": "{ \"$set\": { \"currency\": \"new value\" } }" + } + }, + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"update\": \"subscriptions\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"currency\": \"new value\" } }\n }\n ]\n}\n" + }, + "command": { "data": "UPDATE" }, + "smartSubstitution": { "data": true } + }, + "title": "Update" + }, + { + "configuration": { + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"delete\": \"subscriptions\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n" + }, + "delete": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_delete\") }" + }, + "limit": { "data": "SINGLE" } + }, + "command": { "data": "DELETE" }, + "smartSubstitution": { "data": true } + }, + "title": "Delete" + }, + { + "configuration": { + "count": { + "query": { "data": "{\"_id\": {\"$exists\": true}}" } + }, + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"count\": \"subscriptions\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n" + }, + "command": { "data": "COUNT" }, + "smartSubstitution": { "data": true } + }, + "title": "Count" + }, + { + "configuration": { + "distinct": { + "query": { + "data": "{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }" + }, + "key": { "data": "_id" } + }, + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"distinct\": \"subscriptions\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n" + }, + "command": { "data": "DISTINCT" }, + "smartSubstitution": { "data": true } + }, + "title": "Distinct" + }, + { + "configuration": { + "collection": { "data": "subscriptions" }, + "body": { + "data": "{\n \"aggregate\": \"subscriptions\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n" + }, + "command": { "data": "AGGREGATE" }, + "smartSubstitution": { "data": true }, + "aggregate": { + "arrayPipelines": { + "data": "[ {\"$sort\" : {\"_id\": 1} } ]" + }, + "limit": { "data": "10" } + } + }, + "title": "Aggregate" + } + ], + "name": "subscriptions", + "type": "COLLECTION" + } + ] + } + }, + { "datasourceId": "RedisTemplateApps", "structure": {} } + ], + "editModeTheme": { + "isSystemTheme": true, + "deleted": false, + "displayName": "Modern", + "name": "Default" + }, + "datasourceList": [ + { + "deleted": false, + "pluginId": "amazons3-plugin", + "name": "AmazonS3 CRUD", + "messages": [], + "isAutoGenerated": false, + "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528942" + }, + { + "deleted": false, + "pluginId": "restapi-plugin", + "name": "Appsmith Release", + "messages": [], + "isAutoGenerated": false, + "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528a53" + }, + { + "deleted": false, + "pluginId": "firestore-plugin", + "name": "FBTemplateDB", + "messages": [], + "isAutoGenerated": false, + "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893f" + }, + { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "messages": [], + "isAutoGenerated": false, + "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528941" + }, + { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "messages": [], + "isAutoGenerated": false, + "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893c" + }, + { + "deleted": false, + "pluginId": "mongo-plugin", + "name": "Mock_Mongo", + "messages": [], + "isAutoGenerated": false, + "gitSyncId": "5f7add8687af934ed846dd6a_61c43332e89bc475f3cae797" + }, + { + "deleted": false, + "pluginId": "redis-plugin", + "name": "RedisTemplateApps", + "messages": [], + "isAutoGenerated": false, + "gitSyncId": "6171a062b7de236aa183ee0e_61bb76c8cd5d704509528943" + } + ], + "actionList": [ + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow.col1"], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "SQL_DeleteQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow.col1"], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f01" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || \"ASC\"" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "SQL_SelectQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || \"ASC\"" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef8" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow.col1", + "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", + "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", + "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", + "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", + "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", + "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", + "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", + "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", + "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", + "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", + "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "SQL_UpdateQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow.col1", + "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", + "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", + "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", + "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", + "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", + "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", + "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", + "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", + "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", + "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", + "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f03" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_form.formData.col1", + "insert_form.formData.col10", + "insert_form.formData.col11", + "insert_form.formData.col12", + "insert_form.formData.col2", + "insert_form.formData.col3", + "insert_form.formData.col4", + "insert_form.formData.col5", + "insert_form.formData.col6", + "insert_form.formData.col7", + "insert_form.formData.col8", + "insert_form.formData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "SQL_InsertQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "SQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_form.formData.col1", + "insert_form.formData.col10", + "insert_form.formData.col11", + "insert_form.formData.col12", + "insert_form.formData.col2", + "insert_form.formData.col3", + "insert_form.formData.col4", + "insert_form.formData.col5", + "insert_form.formData.col6", + "insert_form.formData.col7", + "insert_form.formData.col8", + "insert_form.formData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef9" + }, + { + "pluginType": "SAAS", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "rowObjects": { + "data": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", + "viewType": "component", + "componentData": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}" + }, + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "UPDATE_ONE", + "viewType": "component", + "componentData": "UPDATE_ONE" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + }, + "pluginSpecifiedTemplates": [ + { "value": "UPDATE", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { "value": "", "key": "rowOffset" }, + { + "value": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", + "key": "rowObject" + }, + { "key": "rowObjects" }, + { "value": "", "key": "rowIndex" }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": true, "key": "smartSubstitution" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n" + ], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "google-sheets-plugin", + "id": "Google Sheets_UpdateQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "rowObjects": { + "data": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", + "viewType": "component", + "componentData": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}" + }, + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "UPDATE_ONE", + "viewType": "component", + "componentData": "UPDATE_ONE" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + }, + "pluginSpecifiedTemplates": [ + { "value": "UPDATE", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { "value": "", "key": "rowOffset" }, + { + "value": "{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}", + "key": "rowObject" + }, + { "key": "rowObjects" }, + { "value": "", "key": "rowIndex" }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": true, "key": "smartSubstitution" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n" + ], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efa" + }, + { + "pluginType": "SAAS", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "pagination": { + "data": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + }, + "viewType": "component", + "componentData": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + } + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "range": { "data": "" }, + "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, + "where": { + "data": { "condition": "AND", "children": [{}] }, + "viewType": "component", + "componentData": { "condition": "AND", "children": [{}] } + }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "FETCH_MANY", + "viewType": "component", + "componentData": "FETCH_MANY" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": false, + "viewType": "component", + "componentData": false + } + }, + "pluginSpecifiedTemplates": [ + { "value": "GET", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { + "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "key": "rowOffset" + }, + { "key": "rowObject" }, + { "key": "rowObjects" }, + { "value": "", "key": "rowIndex" }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": false, "key": "smartSubstitution" }, + { "value": [{}], "key": "where" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize" + ], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "google-sheets-plugin", + "id": "Google Sheets_SelectQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "pagination": { + "data": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + }, + "viewType": "component", + "componentData": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + } + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "range": { "data": "" }, + "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, + "where": { + "data": { "condition": "AND", "children": [{}] }, + "viewType": "component", + "componentData": { "condition": "AND", "children": [{}] } + }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "FETCH_MANY", + "viewType": "component", + "componentData": "FETCH_MANY" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": false, + "viewType": "component", + "componentData": false + } + }, + "pluginSpecifiedTemplates": [ + { "value": "GET", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { + "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "key": "rowOffset" + }, + { "key": "rowObject" }, + { "key": "rowObjects" }, + { "value": "", "key": "rowIndex" }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": false, "key": "smartSubstitution" }, + { "value": [{}], "key": "where" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize" + ], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f02" + }, + { + "pluginType": "SAAS", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "pagination": { + "data": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + }, + "viewType": "component", + "componentData": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + } + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "range": { "data": "" }, + "rowIndex": { + "data": "{{data_table.triggeredRow.rowIndex}}", + "viewType": "component", + "componentData": "{{data_table.triggeredRow.rowIndex}}" + }, + "where": { "data": { "condition": "AND" } }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "DELETE_ONE", + "viewType": "component", + "componentData": "DELETE_ONE" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": false, + "viewType": "component", + "componentData": false + } + }, + "pluginSpecifiedTemplates": [ + { "value": "DELETE_ROW", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { + "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "key": "rowOffset" + }, + { "key": "rowObject" }, + { "key": "rowObjects" }, + { + "value": "{{data_table.triggeredRow.rowIndex}}", + "key": "rowIndex" + }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": false, "key": "smartSubstitution" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.triggeredRow.rowIndex" + ], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "google-sheets-plugin", + "id": "Google Sheets_DeleteQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "pagination": { + "data": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + }, + "viewType": "component", + "componentData": { + "offset": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "limit": "{{data_table.pageSize}}" + } + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "range": { "data": "" }, + "rowIndex": { + "data": "{{data_table.triggeredRow.rowIndex}}", + "viewType": "component", + "componentData": "{{data_table.triggeredRow.rowIndex}}" + }, + "where": { "data": { "condition": "AND" } }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "DELETE_ONE", + "viewType": "component", + "componentData": "DELETE_ONE" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": false, + "viewType": "component", + "componentData": false + } + }, + "pluginSpecifiedTemplates": [ + { "value": "DELETE_ROW", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "{{data_table.pageSize}}", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { + "value": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "key": "rowOffset" + }, + { "key": "rowObject" }, + { "key": "rowObjects" }, + { + "value": "{{data_table.triggeredRow.rowIndex}}", + "key": "rowIndex" + }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": false, "key": "smartSubstitution" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.triggeredRow.rowIndex" + ], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f04" + }, + { + "pluginType": "SAAS", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "rowObjects": { + "data": "{{insert_form.formData}}", + "viewType": "component", + "componentData": "{{insert_form.formData}}" + }, + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "range": { "data": "" }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "INSERT_ONE", + "viewType": "component", + "componentData": "INSERT_ONE" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + }, + "pluginSpecifiedTemplates": [ + { "value": "APPEND", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { "value": "", "key": "rowOffset" }, + { "value": "{{insert_form.formData}}", "key": "rowObject" }, + { "key": "rowObjects" }, + { "value": "", "key": "rowIndex" }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": true, "key": "smartSubstitution" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": ["insert_form.formData"], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "google-sheets-plugin", + "id": "Google Sheets_InsertQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "rowObjects": { + "data": "{{insert_form.formData}}", + "viewType": "component", + "componentData": "{{insert_form.formData}}" + }, + "tableHeaderIndex": { + "data": "1", + "viewType": "component", + "componentData": "1" + }, + "sheetName": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "entityType": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "range": { "data": "" }, + "projection": { "data": [] }, + "sheetUrl": { + "data": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit", + "viewType": "component", + "componentData": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit" + }, + "command": { + "data": "INSERT_ONE", + "viewType": "component", + "componentData": "INSERT_ONE" + }, + "queryFormat": { + "data": "ROWS", + "viewType": "component", + "componentData": "ROWS" + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + }, + "pluginSpecifiedTemplates": [ + { "value": "APPEND", "key": "method" }, + { + "value": "https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0", + "key": "sheetUrl" + }, + { "value": "", "key": "range" }, + { "value": "", "key": "spreadsheetName" }, + { "value": "1", "key": "tableHeaderIndex" }, + { "value": "ROWS", "key": "queryFormat" }, + { "value": "", "key": "rowLimit" }, + { "value": "template_table", "key": "sheetName" }, + { "value": "", "key": "rowOffset" }, + { "value": "{{insert_form.formData}}", "key": "rowObject" }, + { "key": "rowObjects" }, + { "value": "", "key": "rowIndex" }, + { "value": "SHEET", "key": "deleteFormat" }, + { "value": true, "key": "smartSubstitution" } + ] + }, + "policies": [], + "userPermissions": [], + "pageId": "Google Sheets", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": ["insert_form.formData"], + "datasource": { + "deleted": false, + "pluginId": "google-sheets-plugin", + "name": "Google Sheet", + "policies": [], + "messages": [], + "id": "Google Sheet", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efb" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 100000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}", + "viewType": "component", + "componentData": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}" + }, + "create": { + "dataType": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + }, + "expiry": { + "data": "5", + "viewType": "component", + "componentData": "5" + } + }, + "body": { + "data": "{{FilePicker.files[this.params.fileIndex]}}", + "viewType": "component", + "componentData": "{{FilePicker.files[this.params.fileIndex]}}" + }, + "command": { + "data": "UPLOAD_FILE_FROM_BODY", + "viewType": "component", + "componentData": "UPLOAD_FILE_FROM_BODY" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [ + "'Query timeout' field must be an integer between 0 and 60000" + ], + "dynamicBindingPathList": [ + { "key": "formData.body.data" }, + { "key": "formData.path.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name", + "FilePicker.files[this.params.fileIndex]" + ], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "CreateFile", + "messages": [] + }, + "deleted": false, + "pluginId": "amazons3-plugin", + "id": "S3_CreateFile", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 100000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}", + "viewType": "component", + "componentData": "{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}" + }, + "create": { + "dataType": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + }, + "expiry": { + "data": "5", + "viewType": "component", + "componentData": "5" + } + }, + "body": { + "data": "{{FilePicker.files[this.params.fileIndex]}}", + "viewType": "component", + "componentData": "{{FilePicker.files[this.params.fileIndex]}}" + }, + "command": { + "data": "UPLOAD_FILE_FROM_BODY", + "viewType": "component", + "componentData": "UPLOAD_FILE_FROM_BODY" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [ + "'Query timeout' field must be an integer between 0 and 60000" + ], + "dynamicBindingPathList": [ + { "key": "formData.body.data" }, + { "key": "formData.path.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name", + "FilePicker.files[this.params.fileIndex]" + ], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "CreateFile", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efc" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "path": "", + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "body": { + "data": "{\n\t\"data\": \"\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"\"\n}" + }, + "list": { + "pagination": { + "data": { + "offset": "{{(File_List.pageNo - 1) * File_List.pageSize}}", + "limit": "{{File_List.pageSize}}" + } + }, + "prefix": { + "data": "{{search_input.text}}", + "viewType": "component", + "componentData": "{{search_input.text}}" + }, + "where": { + "data": { + "condition": "AND", + "children": [{ "condition": "EQ" }] + }, + "viewType": "component", + "componentData": { + "condition": "AND", + "children": [{ "condition": "EQ" }] + } + }, + "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, + "expiry": { + "data": "{{ 60 * 24 }}", + "viewType": "component", + "componentData": "{{ 60 * 24 }}" + }, + "signedUrl": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + }, + "unSignedUrl": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + } + }, + "command": { + "data": "LIST", + "viewType": "component", + "componentData": "LIST" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.list.prefix.data" }, + { "key": "formData.list.expiry.data" }, + { "key": "formData.list.pagination.data.offset" }, + { "key": "formData.list.pagination.data.limit" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + " 60 * 24 ", + "(File_List.pageNo - 1) * File_List.pageSize", + "File_List.pageSize", + "search_input.text" + ], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "name": "AmazonS3 CRUD", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "ListFiles", + "messages": [] + }, + "deleted": false, + "pluginId": "amazons3-plugin", + "id": "S3_ListFiles", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "path": "", + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "body": { + "data": "{\n\t\"data\": \"\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"\"\n}" + }, + "list": { + "pagination": { + "data": { + "offset": "{{(File_List.pageNo - 1) * File_List.pageSize}}", + "limit": "{{File_List.pageSize}}" + } + }, + "prefix": { + "data": "{{search_input.text}}", + "viewType": "component", + "componentData": "{{search_input.text}}" + }, + "where": { + "data": { + "condition": "AND", + "children": [{ "condition": "EQ" }] + }, + "viewType": "component", + "componentData": { + "condition": "AND", + "children": [{ "condition": "EQ" }] + } + }, + "sortBy": { "data": [{ "column": "", "order": "Ascending" }] }, + "expiry": { + "data": "{{ 60 * 24 }}", + "viewType": "component", + "componentData": "{{ 60 * 24 }}" + }, + "signedUrl": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + }, + "unSignedUrl": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + } + }, + "command": { + "data": "LIST", + "viewType": "component", + "componentData": "LIST" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.list.prefix.data" }, + { "key": "formData.list.expiry.data" }, + { "key": "formData.list.pagination.data.offset" }, + { "key": "formData.list.pagination.data.limit" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + " 60 * 24 ", + "(File_List.pageNo - 1) * File_List.pageSize", + "File_List.pageSize", + "search_input.text" + ], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "name": "AmazonS3 CRUD", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "ListFiles", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efd" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{File_List.selectedItem.fileName}}", + "viewType": "component", + "componentData": "{{File_List.selectedItem.fileName}}" + }, + "body": { + "data": "{\n\t\"data\": \"null\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"null\"\n}" + }, + "command": { + "data": "DELETE_FILE", + "viewType": "component", + "componentData": "DELETE_FILE" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.path.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["File_List.selectedItem.fileName"], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteFile", + "messages": [] + }, + "deleted": false, + "pluginId": "amazons3-plugin", + "id": "S3_DeleteFile", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{File_List.selectedItem.fileName}}", + "viewType": "component", + "componentData": "{{File_List.selectedItem.fileName}}" + }, + "body": { + "data": "{\n\t\"data\": \"null\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"null\"\n}" + }, + "command": { + "data": "DELETE_FILE", + "viewType": "component", + "componentData": "DELETE_FILE" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.path.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["File_List.selectedItem.fileName"], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteFile", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0c" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{File_List.selectedItem.fileName}}", + "viewType": "component", + "componentData": "{{File_List.selectedItem.fileName}}" + }, + "read": { + "dataType": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + } + }, + "body": { + "data": "{\n\t\"data\": \"\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"\"\n}" + }, + "command": { + "data": "READ_FILE", + "viewType": "component", + "componentData": "READ_FILE" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.path.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["File_List.selectedItem.fileName"], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "ReadFile", + "messages": [] + }, + "deleted": false, + "pluginId": "amazons3-plugin", + "id": "S3_ReadFile", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{File_List.selectedItem.fileName}}", + "viewType": "component", + "componentData": "{{File_List.selectedItem.fileName}}" + }, + "read": { + "dataType": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + } + }, + "body": { + "data": "{\n\t\"data\": \"\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"\"\n}" + }, + "command": { + "data": "READ_FILE", + "viewType": "component", + "componentData": "READ_FILE" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.path.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["File_List.selectedItem.fileName"], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "ReadFile", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0d" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{update_file_name.text}}", + "viewType": "component", + "componentData": "{{update_file_name.text}}" + }, + "create": { + "dataType": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + }, + "expiry": { + "data": "5", + "viewType": "component", + "componentData": "5" + } + }, + "body": { + "data": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}" + }, + "command": { + "data": "UPLOAD_FILE_FROM_BODY", + "viewType": "component", + "componentData": "UPLOAD_FILE_FROM_BODY" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.body.data" }, + { "key": "formData.path.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "update_file_name.text", + "update_file_picker.files.length ? update_file_picker.files[0].data : \"\"" + ], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateFile", + "messages": [] + }, + "deleted": false, + "pluginId": "amazons3-plugin", + "id": "S3_UpdateFile", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "bucket": { + "data": "assets-test.appsmith.com", + "viewType": "component", + "componentData": "assets-test.appsmith.com" + }, + "path": { + "data": "{{update_file_name.text}}", + "viewType": "component", + "componentData": "{{update_file_name.text}}" + }, + "create": { + "dataType": { + "data": "YES", + "viewType": "component", + "componentData": "YES" + }, + "expiry": { + "data": "5", + "viewType": "component", + "componentData": "5" + } + }, + "body": { + "data": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}", + "viewType": "component", + "componentData": "{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}" + }, + "command": { + "data": "UPLOAD_FILE_FROM_BODY", + "viewType": "component", + "componentData": "UPLOAD_FILE_FROM_BODY" + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "S3", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.body.data" }, + { "key": "formData.path.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "update_file_name.text", + "update_file_picker.files.length ? update_file_picker.files[0].data : \"\"" + ], + "datasource": { + "deleted": false, + "pluginId": "amazons3-plugin", + "policies": [], + "messages": [], + "id": "AmazonS3 CRUD", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateFile", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0e" + }, + { + "pluginType": "API", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "autoGeneratedHeaders": [], + "path": "/api/v1/datasources/{{this.params.id}}/structure", + "headers": [], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "httpMethod": "GET", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [{ "key": "path" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["this.params.id"], + "datasource": { + "deleted": false, + "pluginId": "restapi-plugin", + "name": "Appsmith Release", + "policies": [], + "messages": [], + "id": "Appsmith Release", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "get_datasource_structure", + "messages": [] + }, + "deleted": false, + "pluginId": "restapi-plugin", + "id": "Admin_get_datasource_structure", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "autoGeneratedHeaders": [], + "path": "/api/v1/datasources/{{this.params.id}}/structure", + "headers": [], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "httpMethod": "GET", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [{ "key": "path" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["this.params.id"], + "datasource": { + "deleted": false, + "pluginId": "restapi-plugin", + "name": "Appsmith Release", + "policies": [], + "messages": [], + "id": "Appsmith Release", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "get_datasource_structure", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f00" + }, + { + "pluginType": "API", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "autoGeneratedHeaders": [ + { "value": "application/json", "key": "content-type" } + ], + "path": "/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf", + "headers": [{ "value": "application/json", "key": "content-type" }], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { "apiContentType": "application/json" }, + "body": "{\n\t\"app\": {{ { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }}, \n\t\"branch\": \"update-crud-template\" \n}", + "httpMethod": "POST", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": true, + "jsonPathKeys": [ + " { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } " + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { "url": "https://hook.eu1.make.com" }, + "isAutoGenerated": false + }, + "name": "update_template", + "messages": [] + }, + "deleted": false, + "pluginId": "restapi-plugin", + "id": "Admin_update_template", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "autoGeneratedHeaders": [ + { "value": "application/json", "key": "content-type" } + ], + "path": "/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf", + "headers": [{ "value": "application/json", "key": "content-type" }], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { "apiContentType": "application/json" }, + "body": "{\n\t\"app\": {{ { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }}, \n\t\"branch\": \"update-crud-template\" \n}", + "httpMethod": "POST", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": true, + "jsonPathKeys": [ + " { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } " + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { "url": "https://hook.eu1.make.com" }, + "isAutoGenerated": false + }, + "name": "update_template", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531efe" + }, + { + "pluginType": "API", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "autoGeneratedHeaders": [ + { "value": "text/plain", "key": "content-type" } + ], + "path": "/api/v1/applications/export/61764fbeba7e887d03bc3631", + "headers": [{ "value": "text/plain", "key": "content-type" }], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 100000, + "encodeParamsToggle": true, + "formData": { "apiContentType": "text/plain" }, + "httpMethod": "GET", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [ + "'Query timeout' field must be an integer between 0 and 60000" + ], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "datasource": { + "deleted": false, + "pluginId": "restapi-plugin", + "name": "Appsmith Release", + "policies": [], + "messages": [], + "id": "Appsmith Release", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "get_exported_app", + "messages": [] + }, + "deleted": false, + "pluginId": "restapi-plugin", + "id": "Admin_get_exported_app", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "autoGeneratedHeaders": [ + { "value": "text/plain", "key": "content-type" } + ], + "path": "/api/v1/applications/export/61764fbeba7e887d03bc3631", + "headers": [{ "value": "text/plain", "key": "content-type" }], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 100000, + "encodeParamsToggle": true, + "formData": { "apiContentType": "text/plain" }, + "httpMethod": "GET", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [ + "'Query timeout' field must be an integer between 0 and 60000" + ], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "datasource": { + "deleted": false, + "pluginId": "restapi-plugin", + "name": "Appsmith Release", + "policies": [], + "messages": [], + "id": "Appsmith Release", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "get_exported_app", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531eff" + }, + { + "pluginType": "API", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/users/me", + "headers": [ + { + "value": "_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; ajs_user_id=nidhi@appsmith.com; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1", + "key": "Cookie" + } + ], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "httpMethod": "GET", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "datasource": { + "deleted": false, + "pluginId": "restapi-plugin", + "name": "Appsmith Release", + "policies": [], + "messages": [], + "id": "Appsmith Release", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "get_user", + "messages": [] + }, + "deleted": false, + "pluginId": "restapi-plugin", + "id": "Admin_get_user", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/users/me", + "headers": [ + { + "value": "_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; ajs_user_id=nidhi@appsmith.com; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1", + "key": "Cookie" + } + ], + "paginationType": "NONE", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "httpMethod": "GET", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "datasource": { + "deleted": false, + "pluginId": "restapi-plugin", + "name": "Appsmith Release", + "policies": [], + "messages": [], + "id": "Appsmith Release", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "get_user", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb773acd5d7045095322ff" + }, + { + "pluginType": "JS", + "unpublishedAction": { + "userSetOnLoad": true, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "jsArguments": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" + }, + "policies": [], + "userPermissions": [], + "fullyQualifiedName": "Utils.myFun2", + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "deleted": false, + "pluginId": "js-plugin", + "name": "UNUSED_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "isAutoGenerated": false + }, + "clientSideExecution": true, + "name": "myFun2", + "messages": [], + "collectionId": "Admin_Utils" + }, + "deleted": false, + "pluginId": "js-plugin", + "id": "Admin_Utils.myFun2", + "publishedAction": { + "userSetOnLoad": true, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "jsArguments": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" + }, + "policies": [], + "userPermissions": [], + "fullyQualifiedName": "Utils.myFun2", + "pageId": "Admin", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "deleted": false, + "pluginId": "js-plugin", + "name": "UNUSED_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "isAutoGenerated": false + }, + "clientSideExecution": true, + "name": "myFun2", + "messages": [], + "collectionId": "Admin_Utils" + }, + "gitSyncId": "61764fbeba7e887d03bc3631_624e8fab729a2b0934685de0" + }, + { + "pluginType": "API", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/pages/crud-page", + "headers": [ + { "value": "application/json", "key": "Content-Type" }, + { + "value": "SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;", + "key": "Cookie" + } + ], + "paginationType": "PAGE_NO", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}", + "httpMethod": "POST" + }, + "policies": [], + "userPermissions": [], + "pageId": "Page Generator", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "app_input.text", + "datasource_input.text", + "search_col_input.text", + "select_cols_input.text", + "tableName_input.text" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { + "url": "https://release.app.appsmith.com" + }, + "isAutoGenerated": false + }, + "name": "generate_sql_app", + "messages": [] + }, + "deleted": false, + "pluginId": "restapi-plugin", + "id": "Page Generator_generate_sql_app", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/pages/crud-page", + "headers": [ + { "value": "application/json", "key": "Content-Type" }, + { + "value": "SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;", + "key": "Cookie" + } + ], + "paginationType": "PAGE_NO", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}", + "httpMethod": "POST" + }, + "policies": [], + "userPermissions": [], + "pageId": "Page Generator", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "app_input.text", + "datasource_input.text", + "search_col_input.text", + "select_cols_input.text", + "tableName_input.text" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { + "url": "https://release.app.appsmith.com" + }, + "isAutoGenerated": false + }, + "name": "generate_sql_app", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f05" + }, + { + "pluginType": "API", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/pages/crud-page", + "headers": [ + { "value": "application/json", "key": "Content-Type" }, + { + "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", + "key": "Cookie" + } + ], + "paginationType": "PAGE_NO", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}", + "httpMethod": "POST" + }, + "policies": [], + "userPermissions": [], + "pageId": "Page Generator", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "collection_input.text", + "mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]", + "search_keys_input.text" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { + "url": "https://release.app.appsmith.com" + }, + "isAutoGenerated": false + }, + "name": "generate_mongo_app", + "messages": [] + }, + "deleted": false, + "pluginId": "restapi-plugin", + "id": "Page Generator_generate_mongo_app", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/pages/crud-page", + "headers": [ + { "value": "application/json", "key": "Content-Type" }, + { + "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", + "key": "Cookie" + } + ], + "paginationType": "PAGE_NO", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}", + "httpMethod": "POST" + }, + "policies": [], + "userPermissions": [], + "pageId": "Page Generator", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "collection_input.text", + "mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]", + "search_keys_input.text" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { + "url": "https://release.app.appsmith.com" + }, + "isAutoGenerated": false + }, + "name": "generate_mongo_app", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0a" + }, + { + "pluginType": "API", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/pages/crud-page", + "headers": [ + { "value": "application/json", "key": "Content-Type" }, + { + "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", + "key": "Cookie" + } + ], + "paginationType": "PAGE_NO", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}", + "httpMethod": "POST" + }, + "policies": [], + "userPermissions": [], + "pageId": "Page Generator", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "collection_input.text", + "gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]", + "gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { + "url": "https://release.app.appsmith.com" + }, + "isAutoGenerated": false + }, + "name": "generate_gsheet_app", + "messages": [] + }, + "deleted": false, + "pluginId": "restapi-plugin", + "id": "Page Generator_generate_gsheet_app", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "/api/v1/pages/crud-page", + "headers": [ + { "value": "application/json", "key": "Content-Type" }, + { + "value": "SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc", + "key": "Cookie" + } + ], + "paginationType": "PAGE_NO", + "queryParameters": [], + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}", + "httpMethod": "POST" + }, + "policies": [], + "userPermissions": [], + "pageId": "Page Generator", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "collection_input.text", + "gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]", + "gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]" + ], + "datasource": { + "organizationId": "6171a062b7de236aa183ee0e", + "invalids": [], + "deleted": false, + "pluginId": "restapi-plugin", + "name": "DEFAULT_REST_DATASOURCE", + "policies": [], + "messages": [], + "userPermissions": [], + "datasourceConfiguration": { + "url": "https://release.app.appsmith.com" + }, + "isAutoGenerated": false + }, + "name": "generate_gsheet_app", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0b" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "updateMany": { + "query": { + "data": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }", + "viewType": "component", + "componentData": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }" + }, + "limit": { + "data": "SINGLE", + "viewType": "component", + "componentData": "SINGLE" + }, + "update": { + "data": "{\n $set:{{update_form.formData}}\n}", + "viewType": "component", + "componentData": "{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}" + } + }, + "find": { + "query": { "data": "" }, + "limit": { "data": "" }, + "skip": { "data": "" }, + "sort": { "data": "" }, + "projection": { "data": "" } + }, + "count": { "query": { "data": "" } }, + "distinct": { "query": { "data": "" }, "key": { "data": "" } }, + "insert": { "documents": { "data": "" } }, + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "delete": { + "query": { "data": "" }, + "limit": { "data": "SINGLE" } + }, + "command": { + "data": "UPDATE", + "viewType": "component", + "componentData": "UPDATE" + }, + "aggregate": { + "limit": { "data": "10" }, + "arrayPipelines": { "data": "" } + }, + "misc": { + "formToNativeQuery": { + "data": "{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n", + "status": "SUCCESS" + } + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.updateMany.update.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow._id", + "update_col_1.text", + "update_col_2.text", + "update_col_3.text", + "update_col_4.text", + "update_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "name": "Mock_Mongo", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "mongo-plugin", + "id": "MongoDB_UpdateQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "updateMany": { + "query": { + "data": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }", + "viewType": "component", + "componentData": "{ _id: ObjectId('{{data_table.selectedRow._id}}') }" + }, + "limit": { + "data": "SINGLE", + "viewType": "component", + "componentData": "SINGLE" + }, + "update": { + "data": "{\n $set:{{update_form.formData}}\n}", + "viewType": "component", + "componentData": "{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}" + } + }, + "find": { + "query": { "data": "" }, + "limit": { "data": "" }, + "skip": { "data": "" }, + "sort": { "data": "" }, + "projection": { "data": "" } + }, + "count": { "query": { "data": "" } }, + "distinct": { "query": { "data": "" }, "key": { "data": "" } }, + "insert": { "documents": { "data": "" } }, + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "delete": { + "query": { "data": "" }, + "limit": { "data": "SINGLE" } + }, + "command": { + "data": "UPDATE", + "viewType": "component", + "componentData": "UPDATE" + }, + "aggregate": { + "limit": { "data": "10" }, + "arrayPipelines": { "data": "" } + }, + "misc": { + "formToNativeQuery": { + "data": "{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n", + "status": "SUCCESS" + } + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.updateMany.update.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow._id", + "update_col_1.text", + "update_col_2.text", + "update_col_3.text", + "update_col_4.text", + "update_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "name": "Mock_Mongo", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f08" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "insert": { + "documents": { + "data": "{{insert_form.formData}}", + "viewType": "component", + "componentData": "{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}" + } + }, + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "command": { + "data": "INSERT", + "viewType": "component", + "componentData": "INSERT" + }, + "misc": { + "formToNativeQuery": { + "data": "{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n", + "status": "SUCCESS" + } + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.insert.documents.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_col_input1.text", + "insert_col_input2.text", + "insert_col_input3.text", + "insert_col_input4.text", + "insert_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "mongo-plugin", + "id": "MongoDB_InsertQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "insert": { + "documents": { + "data": "{{insert_form.formData}}", + "viewType": "component", + "componentData": "{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}" + } + }, + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "command": { + "data": "INSERT", + "viewType": "component", + "componentData": "INSERT" + }, + "misc": { + "formToNativeQuery": { + "data": "{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n", + "status": "SUCCESS" + } + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.insert.documents.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_col_input1.text", + "insert_col_input2.text", + "insert_col_input3.text", + "insert_col_input4.text", + "insert_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f09" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "updateMany": { + "query": { "data": "" }, + "limit": { "data": "SINGLE" }, + "update": { "data": "" } + }, + "find": { + "query": { + "data": "{ col2: /{{data_table.searchText||\"\"}}/i }", + "viewType": "component", + "componentData": "{ col2: /{{data_table.searchText||\"\"}}/i }" + }, + "limit": { + "data": "{{data_table.pageSize}}", + "viewType": "component", + "componentData": "{{data_table.pageSize}}" + }, + "skip": { + "data": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "viewType": "component", + "componentData": "{{(data_table.pageNo - 1) * data_table.pageSize}}" + }, + "sort": { + "data": "{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}", + "viewType": "component", + "componentData": "{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}" + }, + "projection": { "data": "" } + }, + "count": { "query": { "data": "" } }, + "distinct": { "query": { "data": "" }, "key": { "data": "" } }, + "insert": { "documents": { "data": "" } }, + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "delete": { + "query": { "data": "" }, + "limit": { "data": "SINGLE" } + }, + "command": { + "data": "FIND", + "viewType": "component", + "componentData": "FIND" + }, + "aggregate": { + "limit": { "data": "10" }, + "arrayPipelines": { "data": "" } + }, + "misc": { + "formToNativeQuery": { + "data": "{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n", + "status": "SUCCESS" + } + }, + "smartSubstitution": { + "data": false, + "viewType": "component", + "componentData": false + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.find.sort.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText||\"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order == \"desc\" ? -1 : 1", + "key_select.selectedOptionValue", + "order_select.selectedOptionValue" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "name": "Mock_Mongo", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "FindQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "mongo-plugin", + "id": "MongoDB_FindQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "updateMany": { + "query": { "data": "" }, + "limit": { "data": "SINGLE" }, + "update": { "data": "" } + }, + "find": { + "query": { + "data": "{ col2: /{{data_table.searchText||\"\"}}/i }", + "viewType": "component", + "componentData": "{ col2: /{{data_table.searchText||\"\"}}/i }" + }, + "limit": { + "data": "{{data_table.pageSize}}", + "viewType": "component", + "componentData": "{{data_table.pageSize}}" + }, + "skip": { + "data": "{{(data_table.pageNo - 1) * data_table.pageSize}}", + "viewType": "component", + "componentData": "{{(data_table.pageNo - 1) * data_table.pageSize}}" + }, + "sort": { + "data": "{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}", + "viewType": "component", + "componentData": "{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}" + }, + "projection": { "data": "" } + }, + "count": { "query": { "data": "" } }, + "distinct": { "query": { "data": "" }, "key": { "data": "" } }, + "insert": { "documents": { "data": "" } }, + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "delete": { + "query": { "data": "" }, + "limit": { "data": "SINGLE" } + }, + "command": { + "data": "FIND", + "viewType": "component", + "componentData": "FIND" + }, + "aggregate": { + "limit": { "data": "10" }, + "arrayPipelines": { "data": "" } + }, + "misc": { + "formToNativeQuery": { + "data": "{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n", + "status": "SUCCESS" + } + }, + "smartSubstitution": { + "data": false, + "viewType": "component", + "componentData": false + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.find.sort.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText||\"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order == \"desc\" ? -1 : 1", + "key_select.selectedOptionValue", + "order_select.selectedOptionValue" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "name": "Mock_Mongo", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "FindQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f06" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "template_table/{{data_table.selectedRow._ref}}", + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "delete": { + "query": { + "data": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }", + "viewType": "component", + "componentData": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }" + }, + "limit": { + "data": "SINGLE", + "viewType": "component", + "componentData": "SINGLE" + } + }, + "command": { + "data": "DELETE", + "viewType": "component", + "componentData": "DELETE" + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow._ref", + "data_table.triggeredRow._id" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "mongo-plugin", + "id": "MongoDB_DeleteQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "path": "template_table/{{data_table.selectedRow._ref}}", + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "collection": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "delete": { + "query": { + "data": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }", + "viewType": "component", + "componentData": "{ _id: ObjectId('{{data_table.triggeredRow._id}}') }" + }, + "limit": { + "data": "SINGLE", + "viewType": "component", + "componentData": "SINGLE" + } + }, + "command": { + "data": "DELETE", + "viewType": "component", + "componentData": "DELETE" + }, + "smartSubstitution": { + "data": true, + "viewType": "component", + "componentData": true + } + } + }, + "policies": [], + "userPermissions": [], + "pageId": "MongoDB", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow._ref", + "data_table.triggeredRow._id" + ], + "datasource": { + "deleted": false, + "pluginId": "mongo-plugin", + "policies": [], + "messages": [], + "id": "Mock_Mongo", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f07" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "path": { + "data": "{{data_table.selectedRow._ref.path}}", + "viewType": "component", + "componentData": "{{data_table.selectedRow._ref.path}}" + }, + "prev": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "orderBy": { + "data": "FORM", + "viewType": "component", + "componentData": "FORM" + }, + "limitDocuments": { + "data": "UPDATE", + "viewType": "component", + "componentData": "UPDATE" + }, + "body": { + "data": "{{update_form.formData}}", + "viewType": "component", + "componentData": "{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}" + }, + "command": { + "data": "UPDATE_DOCUMENT", + "viewType": "component", + "componentData": "UPDATE_DOCUMENT" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.body.data" }, + { "key": "formData.path.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow._ref.path", + "update_col_1.text", + "update_col_2.text", + "update_col_3.text", + "update_col_4.text", + "update_col_5.text", + "update_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "name": "FBTemplateDB", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "firestore-plugin", + "id": "Firestore_UpdateQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "path": { + "data": "{{data_table.selectedRow._ref.path}}", + "viewType": "component", + "componentData": "{{data_table.selectedRow._ref.path}}" + }, + "prev": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "orderBy": { + "data": "FORM", + "viewType": "component", + "componentData": "FORM" + }, + "limitDocuments": { + "data": "UPDATE", + "viewType": "component", + "componentData": "UPDATE" + }, + "body": { + "data": "{{update_form.formData}}", + "viewType": "component", + "componentData": "{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}" + }, + "command": { + "data": "UPDATE_DOCUMENT", + "viewType": "component", + "componentData": "UPDATE_DOCUMENT" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.body.data" }, + { "key": "formData.path.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow._ref.path", + "update_col_1.text", + "update_col_2.text", + "update_col_3.text", + "update_col_4.text", + "update_col_5.text", + "update_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "name": "FBTemplateDB", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0f" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{{data_table.tableData[data_table.tableData.length - 1]}}", + "viewType": "component", + "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" + }, + "path": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "timestampValuePath": { + "data": "", + "viewType": "component", + "componentData": "" + }, + "startAfter": { + "data": "{{SelectQuery.data[SelectQuery.data.length - 1]}}", + "viewType": "component", + "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" + }, + "endBefore": { + "data": "{{SelectQuery.data[0]}}", + "viewType": "component", + "componentData": "{{SelectQuery.data[0]}}" + }, + "deleteKeyPath": { + "data": "", + "viewType": "component", + "componentData": "" + }, + "prev": { + "data": "{{data_table.tableData[0]}} ", + "viewType": "component", + "componentData": "{{SelectQuery.data[0]}}" + }, + "orderBy": { + "data": "[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]", + "viewType": "component", + "componentData": "[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]" + }, + "where": { + "data": { "children": [{ "condition": "EQ" }] }, + "viewType": "component" + }, + "limitDocuments": { + "data": "{{data_table.pageSize}}", + "viewType": "component", + "componentData": "1" + }, + "command": { + "data": "GET_COLLECTION", + "viewType": "component", + "componentData": "GET_COLLECTION" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.startAfter.data" }, + { "key": "formData.endBefore.data" }, + { "key": "formData.orderBy.data" }, + { "key": "formData.next.data" }, + { "key": "formData.prev.data" }, + { "key": "formData.limitDocuments.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", + "SelectQuery.data[0]", + "SelectQuery.data[SelectQuery.data.length - 1]", + "data_table.pageSize", + "data_table.tableData[0]", + "data_table.tableData[data_table.tableData.length - 1]", + "order_select.selectedOptionValue + key_select.selectedOptionValue" + ], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "name": "FBTemplateDB", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "firestore-plugin", + "id": "Firestore_SelectQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{{data_table.tableData[data_table.tableData.length - 1]}}", + "viewType": "component", + "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" + }, + "path": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "timestampValuePath": { + "data": "", + "viewType": "component", + "componentData": "" + }, + "startAfter": { + "data": "{{SelectQuery.data[SelectQuery.data.length - 1]}}", + "viewType": "component", + "componentData": "{{SelectQuery.data[SelectQuery.data.length - 1]}}" + }, + "endBefore": { + "data": "{{SelectQuery.data[0]}}", + "viewType": "component", + "componentData": "{{SelectQuery.data[0]}}" + }, + "deleteKeyPath": { + "data": "", + "viewType": "component", + "componentData": "" + }, + "prev": { + "data": "{{data_table.tableData[0]}} ", + "viewType": "component", + "componentData": "{{SelectQuery.data[0]}}" + }, + "orderBy": { + "data": "[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]", + "viewType": "component", + "componentData": "[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]" + }, + "where": { + "data": { "children": [{ "condition": "EQ" }] }, + "viewType": "component" + }, + "limitDocuments": { + "data": "{{data_table.pageSize}}", + "viewType": "component", + "componentData": "1" + }, + "command": { + "data": "GET_COLLECTION", + "viewType": "component", + "componentData": "GET_COLLECTION" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [ + { "key": "formData.startAfter.data" }, + { "key": "formData.endBefore.data" }, + { "key": "formData.orderBy.data" }, + { "key": "formData.next.data" }, + { "key": "formData.prev.data" }, + { "key": "formData.limitDocuments.data" } + ], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", + "SelectQuery.data[0]", + "SelectQuery.data[SelectQuery.data.length - 1]", + "data_table.pageSize", + "data_table.tableData[0]", + "data_table.tableData[data_table.tableData.length - 1]", + "order_select.selectedOptionValue + key_select.selectedOptionValue" + ], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "name": "FBTemplateDB", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f12" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "path": { + "data": "{{data_table.triggeredRow._ref.path}}", + "viewType": "component", + "componentData": "{{data_table.triggeredRow._ref.path}}" + }, + "prev": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "orderBy": { + "data": "FORM", + "viewType": "component", + "componentData": "FORM" + }, + "limitDocuments": { + "data": "DELETE", + "viewType": "component", + "componentData": "DELETE" + }, + "command": { + "data": "DELETE_DOCUMENT", + "viewType": "component", + "componentData": "DELETE_DOCUMENT" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.path.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow._ref.path"], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "name": "FBTemplateDB", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "firestore-plugin", + "id": "Firestore_DeleteQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "path": { + "data": "{{data_table.triggeredRow._ref.path}}", + "viewType": "component", + "componentData": "{{data_table.triggeredRow._ref.path}}" + }, + "prev": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "orderBy": { + "data": "FORM", + "viewType": "component", + "componentData": "FORM" + }, + "limitDocuments": { + "data": "DELETE", + "viewType": "component", + "componentData": "DELETE" + }, + "command": { + "data": "DELETE_DOCUMENT", + "viewType": "component", + "componentData": "DELETE_DOCUMENT" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.path.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow._ref.path"], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "name": "FBTemplateDB", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f10" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "path": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "prev": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "orderBy": { + "data": "FORM", + "viewType": "component", + "componentData": "FORM" + }, + "limitDocuments": { + "data": "INSERT", + "viewType": "component", + "componentData": "INSERT" + }, + "body": { + "data": "{{insert_form.formData}}", + "viewType": "component", + "componentData": "{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}" + }, + "command": { + "data": "ADD_TO_COLLECTION", + "viewType": "component", + "componentData": "ADD_TO_COLLECTION" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.body.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_col_input1.text", + "insert_col_input2.text", + "insert_col_input3.text", + "insert_col_input4.text", + "insert_col_input5.text", + "insert_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "firestore-plugin", + "id": "Firestore_InsertQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "formData": { + "next": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "path": { + "data": "template_table", + "viewType": "component", + "componentData": "template_table" + }, + "prev": { + "data": "{}", + "viewType": "component", + "componentData": "{}" + }, + "orderBy": { + "data": "FORM", + "viewType": "component", + "componentData": "FORM" + }, + "limitDocuments": { + "data": "INSERT", + "viewType": "component", + "componentData": "INSERT" + }, + "body": { + "data": "{{insert_form.formData}}", + "viewType": "component", + "componentData": "{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}" + }, + "command": { + "data": "ADD_TO_COLLECTION", + "viewType": "component", + "componentData": "ADD_TO_COLLECTION" + }, + "smartSubstitution": "false" + } + }, + "policies": [], + "userPermissions": [], + "pageId": "Firestore", + "invalids": [], + "dynamicBindingPathList": [{ "key": "formData.body.data" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_col_input1.text", + "insert_col_input2.text", + "insert_col_input3.text", + "insert_col_input4.text", + "insert_col_input5.text", + "insert_form.formData" + ], + "datasource": { + "deleted": false, + "pluginId": "firestore-plugin", + "policies": [], + "messages": [], + "id": "FBTemplateDB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f11" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "keys *" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "name": "RedisTemplateApps", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "FetchKeys", + "messages": [] + }, + "deleted": false, + "pluginId": "redis-plugin", + "id": "Redis_FetchKeys", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "keys *" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [], + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "name": "RedisTemplateApps", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "FetchKeys", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f13" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "set {{insert_key_input.text}} \"{{insert_value_input.text}}\"" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["insert_key_input.text", "insert_value_input.text"], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertKey", + "messages": [] + }, + "deleted": false, + "pluginId": "redis-plugin", + "id": "Redis_InsertKey", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "set {{insert_key_input.text}} \"{{insert_value_input.text}}\"" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["insert_key_input.text", "insert_value_input.text"], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertKey", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f14" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\"" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow.result", + "update_value_input.text" + ], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateKey", + "messages": [] + }, + "deleted": false, + "pluginId": "redis-plugin", + "id": "Redis_UpdateKey", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\"" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow.result", + "update_value_input.text" + ], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateKey", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f15" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "del {{data_table.triggeredRow.result}}" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow.result"], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteKey", + "messages": [] + }, + "deleted": false, + "pluginId": "redis-plugin", + "id": "Redis_DeleteKey", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "del {{data_table.triggeredRow.result}}" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow.result"], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteKey", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f16" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "GET {{data_table.selectedRow.result}}" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.selectedRow.result"], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "FetchValue", + "messages": [] + }, + "deleted": false, + "pluginId": "redis-plugin", + "id": "Redis_FetchValue", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "GET {{data_table.selectedRow.result}}" + }, + "policies": [], + "userPermissions": [], + "pageId": "Redis", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.selectedRow.result"], + "datasource": { + "deleted": false, + "pluginId": "redis-plugin", + "policies": [], + "messages": [], + "id": "RedisTemplateApps", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "FetchValue", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f17" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || 'ASC'" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "PostgreSQL_SelectQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": true, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};", + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || 'ASC'" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "SelectQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1a" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_form.formData.col1", + "insert_form.formData.col10", + "insert_form.formData.col11", + "insert_form.formData.col12", + "insert_form.formData.col2", + "insert_form.formData.col3", + "insert_form.formData.col4", + "insert_form.formData.col5", + "insert_form.formData.col6", + "insert_form.formData.col7", + "insert_form.formData.col8", + "insert_form.formData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "PostgreSQL_InsertQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "insert_form.formData.col1", + "insert_form.formData.col10", + "insert_form.formData.col11", + "insert_form.formData.col12", + "insert_form.formData.col2", + "insert_form.formData.col3", + "insert_form.formData.col4", + "insert_form.formData.col5", + "insert_form.formData.col6", + "insert_form.formData.col7", + "insert_form.formData.col8", + "insert_form.formData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "InsertQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1b" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow.col1"], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "PostgreSQL_DeleteQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.triggeredRow.col1"], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "DeleteQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f18" + }, + { + "pluginType": "DB", + "unpublishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow.col1", + "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", + "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", + "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", + "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", + "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", + "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", + "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", + "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", + "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", + "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", + "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "deleted": false, + "pluginId": "postgres-plugin", + "id": "PostgreSQL_UpdateQuery", + "publishedAction": { + "userSetOnLoad": false, + "executeOnLoad": false, + "isValid": true, + "actionConfiguration": { + "paginationType": "NONE", + "selfReferencingDataPaths": [], + "timeoutInMillisecond": 10000, + "encodeParamsToggle": true, + "body": "UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};", + "pluginSpecifiedTemplates": [{ "value": true }] + }, + "policies": [], + "userPermissions": [], + "pageId": "PostgreSQL", + "invalids": [], + "dynamicBindingPathList": [{ "key": "body" }], + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.selectedRow.col1", + "update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10", + "update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11", + "update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12", + "update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2", + "update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3", + "update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4", + "update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5", + "update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6", + "update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7", + "update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8", + "update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9" + ], + "datasource": { + "deleted": false, + "pluginId": "postgres-plugin", + "name": "Internal DB", + "policies": [], + "messages": [], + "id": "Internal DB", + "userPermissions": [], + "isAutoGenerated": false + }, + "name": "UpdateQuery", + "messages": [] + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb7738cd5d704509531f19" + } + ], + "pageList": [ + { + "publishedPage": { + "name": "Admin", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "API", + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "name": "get_exported_app", + "timeoutInMillisecond": 100000, + "id": "Admin_get_exported_app" + } + ], + [ + { + "pluginType": "JS", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" + ], + "clientSideExecution": true, + "name": "Utils.myFun2", + "timeoutInMillisecond": 10000, + "id": "Admin_Utils.myFun2", + "collectionId": "Admin_Utils" + } + ] + ], + "id": "Admin", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 940, + "containerStyle": "none", + "snapRows": 129, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "NONE", + "widgetName": "Container7", + "borderColor": "transparent", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 87, + "bottomRow": 94, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 11, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "Canvas12", + "rightColumn": 430.5, + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "f5ga14rmty", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 70, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "hideCard": true, + "parentId": "9ervv0ae6d", + "minHeight": 400, + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "leftColumn": 0, + "children": [ + { + "widgetName": "Text38", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 3.05078125, + "dynamicTriggerPathList": [], + "leftColumn": 1, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "YourCompany", + "key": "gbfdctoduz", + "rightColumn": 14, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "jd3kv1k6ou", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "shouldScroll": false, + "version": 1, + "parentId": "f5ga14rmty", + "renderMode": "CANVAS", + "isLoading": false, + "maxDynamicHeight": 9000, + "fontSize": "HEADING2", + "minDynamicHeight": 4 + }, + { + "widgetName": "Button5", + "onClick": "{{navigateTo('1 Track Applications', {})}}", + "buttonColor": "#FFFFFF", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 11.93359375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 50, + "dynamicBindingPathList": [], + "text": "Track Applications", + "isDisabled": false, + "key": "c3vy6jijoj", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "txbmxg3r0f", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "f5ga14rmty", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "ROUNDED", + "buttonVariant": "PRIMARY", + "placement": "CENTER" + }, + { + "widgetName": "Button5Copy", + "onClick": "{{navigateTo('2 Application Upload', {})}}", + "buttonColor": "#FFFFFF", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 11.93359375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 33, + "dynamicBindingPathList": [], + "text": "Application Upload", + "isDisabled": false, + "key": "c3vy6jijoj", + "rightColumn": 50, + "isDefaultClickDisabled": true, + "widgetId": "u16z17a8jy", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "f5ga14rmty", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "ROUNDED", + "buttonVariant": "PRIMARY", + "placement": "CENTER" + } + ], + "key": "zogzl76zd8" + } + ], + "borderWidth": "0", + "key": "zhft13af0w", + "backgroundColor": "#FFFFFF", + "rightColumn": 55, + "dynamicHeight": "FIXED", + "widgetId": "9ervv0ae6d", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "15", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Form1", + "borderColor": "#2E3D49", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 5, + "bottomRow": 86, + "parentRowSpace": 10, + "type": "FORM_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 554.75, + "detachFromLayout": true, + "widgetId": "kwx6oz4fub", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 810, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "hdpwx2szs0", + "minHeight": 810, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text1", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Update App Template", + "labelTextSize": "0.875rem", + "rightColumn": 44, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "7fqtlu52np", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#2E3D49", + "version": 1, + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text2", + "topRow": 10, + "bottomRow": 71, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "animateLoading": true, + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{get_exported_app.data}}", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "w2l08fshj2", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#2E3D49", + "version": 1, + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{Utils.myFun2()}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#2E3D49", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 44, + "dynamicBindingPathList": [], + "text": "Refresh", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "iconName": "refresh", + "widgetId": "2vtg0qdlqv", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0.375rem", + "buttonVariant": "SECONDARY", + "iconAlign": "left" + }, + { + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}", + "dynamicPropertyPathList": [{ "key": "isDisabled" }], + "buttonColor": "#2E3D49", + "topRow": 73, + "bottomRow": 77, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Deploy", + "isDisabled": "{{get_exported_app.data.exportedApplication === undefined}}", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "iconName": "airplane", + "widgetId": "jg23u09rwk", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0.375rem", + "buttonVariant": "PRIMARY", + "iconAlign": "left" + }, + { + "boxShadow": "none", + "widgetName": "Text4", + "topRow": 5, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "⚠️ Please create a branch named update-crud-template before deploying and run test cases on it", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "backgroundColor": "#DD4B34", + "textAlign": "CENTER", + "dynamicHeight": "FIXED", + "widgetId": "fanskapltd", + "isVisible": true, + "fontStyle": "", + "textColor": "#FFFFFF", + "version": 1, + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "1", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 45, + "dynamicHeight": "FIXED", + "widgetId": "hdpwx2szs0", + "isVisible": true, + "parentId": "0", + "isLoading": false, + "borderRadius": "5px", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "datasource_arr", + "topRow": 1, + "bottomRow": 35, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]", + "labelTextSize": "0.875rem", + "rightColumn": 12, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "znji9afu2q", + "isVisible": false, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "widgetName": "Text39", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph", "label"], + "topRow": 27, + "bottomRow": 47, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 12.5625, + "dynamicTriggerPathList": [], + "leftColumn": 48, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" }, + { "key": "text" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "{{Api1.data}}", + "key": "7wpupobwee", + "isDeprecated": false, + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "frbxrzzmng", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "admin", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "Admin", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "API", + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "name": "get_exported_app", + "timeoutInMillisecond": 100000, + "id": "Admin_get_exported_app" + } + ], + [ + { + "pluginType": "JS", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}" + ], + "clientSideExecution": true, + "name": "Utils.myFun2", + "timeoutInMillisecond": 10000, + "id": "Admin_Utils.myFun2", + "collectionId": "Admin_Utils" + } + ] + ], + "id": "Admin", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 940, + "containerStyle": "none", + "snapRows": 129, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "NONE", + "widgetName": "Container7", + "borderColor": "transparent", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 87, + "bottomRow": 94, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 11, + "dynamicBindingPathList": [], + "children": [ + { + "widgetName": "Canvas12", + "rightColumn": 430.5, + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "f5ga14rmty", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 70, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "hideCard": true, + "parentId": "9ervv0ae6d", + "minHeight": 400, + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "leftColumn": 0, + "children": [ + { + "widgetName": "Text38", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 3.05078125, + "dynamicTriggerPathList": [], + "leftColumn": 1, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "YourCompany", + "key": "gbfdctoduz", + "rightColumn": 14, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "jd3kv1k6ou", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "shouldScroll": false, + "version": 1, + "parentId": "f5ga14rmty", + "renderMode": "CANVAS", + "isLoading": false, + "maxDynamicHeight": 9000, + "fontSize": "HEADING2", + "minDynamicHeight": 4 + }, + { + "widgetName": "Button5", + "onClick": "{{navigateTo('1 Track Applications', {})}}", + "buttonColor": "#FFFFFF", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 11.93359375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 50, + "dynamicBindingPathList": [], + "text": "Track Applications", + "isDisabled": false, + "key": "c3vy6jijoj", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "txbmxg3r0f", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "f5ga14rmty", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "ROUNDED", + "buttonVariant": "PRIMARY", + "placement": "CENTER" + }, + { + "widgetName": "Button5Copy", + "onClick": "{{navigateTo('2 Application Upload', {})}}", + "buttonColor": "#FFFFFF", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca02633.svg", + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 11.93359375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 33, + "dynamicBindingPathList": [], + "text": "Application Upload", + "isDisabled": false, + "key": "c3vy6jijoj", + "rightColumn": 50, + "isDefaultClickDisabled": true, + "widgetId": "u16z17a8jy", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "f5ga14rmty", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "ROUNDED", + "buttonVariant": "PRIMARY", + "placement": "CENTER" + } + ], + "key": "zogzl76zd8" + } + ], + "borderWidth": "0", + "key": "zhft13af0w", + "backgroundColor": "#FFFFFF", + "rightColumn": 55, + "dynamicHeight": "FIXED", + "widgetId": "9ervv0ae6d", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "15", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Form1", + "borderColor": "#2E3D49", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 5, + "bottomRow": 86, + "parentRowSpace": 10, + "type": "FORM_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 554.75, + "detachFromLayout": true, + "widgetId": "kwx6oz4fub", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 810, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "hdpwx2szs0", + "minHeight": 810, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text1", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Update App Template", + "labelTextSize": "0.875rem", + "rightColumn": 44, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "7fqtlu52np", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#2E3D49", + "version": 1, + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text2", + "topRow": 10, + "bottomRow": 71, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "animateLoading": true, + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{get_exported_app.data}}", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "w2l08fshj2", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#2E3D49", + "version": 1, + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{Utils.myFun2()}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#2E3D49", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 44, + "dynamicBindingPathList": [], + "text": "Refresh", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "iconName": "refresh", + "widgetId": "2vtg0qdlqv", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0.375rem", + "buttonVariant": "SECONDARY", + "iconAlign": "left" + }, + { + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}", + "dynamicPropertyPathList": [{ "key": "isDisabled" }], + "buttonColor": "#2E3D49", + "topRow": 73, + "bottomRow": 77, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "isDisabled" }], + "text": "Deploy", + "isDisabled": "{{get_exported_app.data.exportedApplication === undefined}}", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "iconName": "airplane", + "widgetId": "jg23u09rwk", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0.375rem", + "buttonVariant": "PRIMARY", + "iconAlign": "left" + }, + { + "boxShadow": "none", + "widgetName": "Text4", + "topRow": 5, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "⚠️ Please create a branch named update-crud-template before deploying and run test cases on it", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "backgroundColor": "#DD4B34", + "textAlign": "CENTER", + "dynamicHeight": "FIXED", + "widgetId": "fanskapltd", + "isVisible": true, + "fontStyle": "", + "textColor": "#FFFFFF", + "version": 1, + "parentId": "kwx6oz4fub", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "1", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 45, + "dynamicHeight": "FIXED", + "widgetId": "hdpwx2szs0", + "isVisible": true, + "parentId": "0", + "isLoading": false, + "borderRadius": "5px", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "datasource_arr", + "topRow": 1, + "bottomRow": 35, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]", + "labelTextSize": "0.875rem", + "rightColumn": 12, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "znji9afu2q", + "isVisible": false, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "widgetName": "Text39", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph", "label"], + "topRow": 27, + "bottomRow": 47, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 12.5625, + "dynamicTriggerPathList": [], + "leftColumn": 48, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" }, + { "key": "text" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "{{Api1.data}}", + "key": "7wpupobwee", + "isDeprecated": false, + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "frbxrzzmng", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "admin", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc3" + }, + { + "publishedPage": { + "name": "Google Sheets", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "SAAS", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "Google Sheets_SelectQuery" + } + ] + ], + "id": "Google Sheets", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 870, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": { + "task": { + "labelTextSize": "0.875rem", + "identifier": "task", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.task))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "task", + "isVisible": true, + "label": "Task", + "originalIdentifier": "task", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "Drop a table", + "fieldType": "Text Input" + }, + "step": { + "labelTextSize": "0.875rem", + "identifier": "step", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.step))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "step", + "isVisible": true, + "label": "Step", + "originalIdentifier": "step", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "#1", + "fieldType": "Text Input" + }, + "status": { + "labelTextSize": "0.875rem", + "identifier": "status", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "status", + "isVisible": true, + "label": "Status", + "originalIdentifier": "status", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "✅", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "entry 5", + "col2": "is 2", + "col3": "new 3", + "col1": "This 12" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row Id: {{data_table.selectedRow.rowIndex}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { "key": "isVisible" }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { "key": "title" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "boxShadow" }, + { "key": "borderRadius" }, + { + "key": "schema.__root_schema__.children.step.defaultValue" + }, + { + "key": "schema.__root_schema__.children.step.accentColor" + }, + { + "key": "schema.__root_schema__.children.step.borderRadius" + }, + { + "key": "schema.__root_schema__.children.task.defaultValue" + }, + { + "key": "schema.__root_schema__.children.task.accentColor" + }, + { + "key": "schema.__root_schema__.children.task.borderRadius" + }, + { + "key": "schema.__root_schema__.children.status.defaultValue" + }, + { + "key": "schema.__root_schema__.children.status.accentColor" + }, + { + "key": "schema.__root_schema__.children.status.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "tn9ri7ylp2", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{data_table.selectedRow!==undefined}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 87, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 870, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns.col6.computedValue" }, + { "key": "primaryColumns.col7.computedValue" }, + { "key": "primaryColumns.col8.computedValue" }, + { "key": "primaryColumns.col9.computedValue" }, + { "key": "primaryColumns.col10.computedValue" }, + { "key": "primaryColumns.col11.computedValue" }, + { "key": "primaryColumns.col12.computedValue" } + ], + "leftColumn": 1, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "id", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "col1", + "col2", + "col3", + "col4", + "col5", + "col6", + "col7", + "col8", + "col9", + "col10", + "col11", + "col12", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "col12": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "col12", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col12", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col11": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "col11", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col11", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col8": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "col8", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col8", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col9": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "col9", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col9", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col6": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "col6", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col6", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col10": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "col10", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col10", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col7": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", + "textSize": "0.875rem", + "index": 6, + "isVisible": true, + "label": "col7", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col7", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textSize": "0.875rem", + "widgetId": "icx7cf3936", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 39, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "typ9jslblf", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "8b67sbqskr", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text11", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 48, + "dynamicPropertyPathList": [], + "buttonColor": "#3f3f46", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 36, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "delete_button", + "onClick": "{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "entry 5", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "rowIndex": { + "labelTextSize": "0.875rem", + "identifier": "rowIndex", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "rowIndex", + "isVisible": false, + "label": "Row Index", + "originalIdentifier": "rowIndex", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "sourceData": "0", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "is 2", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "new 3", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "This 12", + "cellBoxShadow": "none", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "entry 5", + "rowIndex": "0", + "col2": "is 2", + "col3": "new 3", + "col1": "This 12" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "onSubmit" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 59, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { + "key": "schema.__root_schema__.children.rowIndex.defaultValue" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.rowIndex.accentColor" + }, + { + "key": "schema.__root_schema__.children.rowIndex.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "4amgm2y5ph", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "google-sheets", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "Google Sheets", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "SAAS", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "Google Sheets_SelectQuery" + } + ] + ], + "id": "Google Sheets", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 870, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": { + "task": { + "labelTextSize": "0.875rem", + "identifier": "task", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.task))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "task", + "isVisible": true, + "label": "Task", + "originalIdentifier": "task", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "Drop a table", + "fieldType": "Text Input" + }, + "step": { + "labelTextSize": "0.875rem", + "identifier": "step", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.step))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "step", + "isVisible": true, + "label": "Step", + "originalIdentifier": "step", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "#1", + "fieldType": "Text Input" + }, + "status": { + "labelTextSize": "0.875rem", + "identifier": "status", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.status))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "status", + "isVisible": true, + "label": "Status", + "originalIdentifier": "status", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "✅", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "entry 5", + "col2": "is 2", + "col3": "new 3", + "col1": "This 12" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row Id: {{data_table.selectedRow.rowIndex}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { "key": "isVisible" }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { "key": "title" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "boxShadow" }, + { "key": "borderRadius" }, + { + "key": "schema.__root_schema__.children.step.defaultValue" + }, + { + "key": "schema.__root_schema__.children.step.accentColor" + }, + { + "key": "schema.__root_schema__.children.step.borderRadius" + }, + { + "key": "schema.__root_schema__.children.task.defaultValue" + }, + { + "key": "schema.__root_schema__.children.task.accentColor" + }, + { + "key": "schema.__root_schema__.children.task.borderRadius" + }, + { + "key": "schema.__root_schema__.children.status.defaultValue" + }, + { + "key": "schema.__root_schema__.children.status.accentColor" + }, + { + "key": "schema.__root_schema__.children.status.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "tn9ri7ylp2", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{data_table.selectedRow!==undefined}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 87, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 870, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns.col6.computedValue" }, + { "key": "primaryColumns.col7.computedValue" }, + { "key": "primaryColumns.col8.computedValue" }, + { "key": "primaryColumns.col9.computedValue" }, + { "key": "primaryColumns.col10.computedValue" }, + { "key": "primaryColumns.col11.computedValue" }, + { "key": "primaryColumns.col12.computedValue" } + ], + "leftColumn": 1, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "id", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "col1", + "col2", + "col3", + "col4", + "col5", + "col6", + "col7", + "col8", + "col9", + "col10", + "col11", + "col12", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "col12": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "col12", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col12", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col11": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "col11", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col11", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col8": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "col8", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col8", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col9": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "col9", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col9", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col6": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "col6", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col6", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col10": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "col10", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col10", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col7": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", + "textSize": "0.875rem", + "index": 6, + "isVisible": true, + "label": "col7", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col7", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textSize": "0.875rem", + "widgetId": "icx7cf3936", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 39, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "typ9jslblf", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "8b67sbqskr", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text11", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 48, + "dynamicPropertyPathList": [], + "buttonColor": "#3f3f46", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 36, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "delete_button", + "onClick": "{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "entry 5", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "rowIndex": { + "labelTextSize": "0.875rem", + "identifier": "rowIndex", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "rowIndex", + "isVisible": false, + "label": "Row Index", + "originalIdentifier": "rowIndex", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "sourceData": "0", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "is 2", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "new 3", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "This 12", + "cellBoxShadow": "none", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "entry 5", + "rowIndex": "0", + "col2": "is 2", + "col3": "new 3", + "col1": "This 12" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "onSubmit" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 59, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { + "key": "schema.__root_schema__.children.rowIndex.defaultValue" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.rowIndex.accentColor" + }, + { + "key": "schema.__root_schema__.children.rowIndex.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "4amgm2y5ph", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "google-sheets", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc1" + }, + { + "publishedPage": { + "name": "Firestore", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", + "SelectQuery.data[0]", + "SelectQuery.data[SelectQuery.data.length - 1]", + "data_table.pageSize", + "data_table.tableData[0]", + "data_table.tableData[data_table.tableData.length - 1]", + "order_select.selectedOptionValue + key_select.selectedOptionValue" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "Firestore_SelectQuery" + } + ] + ], + "id": "Firestore", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 880, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "#03B365", + "dataType": "object", + "cellBorderRadius": "0px", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "0px", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "duh", + "fieldType": "Text Input" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "sourceData": "new", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "", + "cellBoxShadow": "none", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "", + "col5": "", + "col2": "", + "col3": "", + "__primaryKey__": "", + "col1": "" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.children.key2.defaultValue" + }, + { "key": "isVisible" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "pfyg9tlwj1", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow.col1}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 88, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "boxShadow" }, + { "key": "borderRadius" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 7, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns._ref.computedValue" } + ], + "leftColumn": 0, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "id", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "_ref", + "col4", + "col5", + "col2", + "col3", + "col1", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 86, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "_ref": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "_ref", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "_ref", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "27p4k3jpj3", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "lqa75t4x8s", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "rc610d47lm", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 53, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button12", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 46, + "dynamicPropertyPathList": [], + "buttonColor": "#3f3f46", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 34, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "#03B365", + "dataType": "object", + "cellBorderRadius": "0px", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "0px", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "4", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "sourceData": "5", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "new", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "neighbour", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "Hello", + "cellBoxShadow": "none", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "4", + "col5": "5", + "col2": "new", + "col3": "neighbour", + "col1": "Hello" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "onSubmit" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}", + "topRow": 0, + "bottomRow": 59, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "qljqxmx394", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "firestore", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "Firestore", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')", + "SelectQuery.data[0]", + "SelectQuery.data[SelectQuery.data.length - 1]", + "data_table.pageSize", + "data_table.tableData[0]", + "data_table.tableData[data_table.tableData.length - 1]", + "order_select.selectedOptionValue + key_select.selectedOptionValue" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "Firestore_SelectQuery" + } + ] + ], + "id": "Firestore", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 880, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "#03B365", + "dataType": "object", + "cellBorderRadius": "0px", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "0px", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "duh", + "fieldType": "Text Input" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "string", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "sourceData": "new", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "", + "cellBoxShadow": "none", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "", + "col5": "", + "col2": "", + "col3": "", + "__primaryKey__": "", + "col1": "" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.children.key2.defaultValue" + }, + { "key": "isVisible" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "pfyg9tlwj1", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow.col1}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 88, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "boxShadow" }, + { "key": "borderRadius" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 7, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns._ref.computedValue" } + ], + "leftColumn": 0, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "id", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "_ref", + "col4", + "col5", + "col2", + "col3", + "col1", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 86, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "_ref": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "_ref", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "_ref", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "27p4k3jpj3", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "lqa75t4x8s", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "rc610d47lm", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 53, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button12", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 46, + "dynamicPropertyPathList": [], + "buttonColor": "#3f3f46", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 34, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "#03B365", + "dataType": "object", + "cellBorderRadius": "0px", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "0px", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "4", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "sourceData": "5", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "new", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "neighbour", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "Hello", + "cellBoxShadow": "none", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "4", + "col5": "5", + "col2": "new", + "col3": "neighbour", + "col1": "Hello" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "onSubmit" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}", + "topRow": 0, + "bottomRow": 59, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "qljqxmx394", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "firestore", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc7" + }, + { + "publishedPage": { + "name": "PostgreSQL", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || 'ASC'" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "PostgreSQL_SelectQuery" + } + ] + ], + "id": "PostgreSQL", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 860, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 900, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#fff", + "dynamicPropertyPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "topRow": 0, + "bottomRow": 86, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 860, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns.col6.computedValue" }, + { "key": "primaryColumns.col7.computedValue" }, + { "key": "primaryColumns.col8.computedValue" }, + { "key": "primaryColumns.col9.computedValue" }, + { "key": "primaryColumns.col10.computedValue" }, + { "key": "primaryColumns.col11.computedValue" }, + { "key": "primaryColumns.col12.computedValue" } + ], + "leftColumn": 0, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "col1", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "col1", + "col2", + "col3", + "col4", + "col5", + "col6", + "col7", + "col8", + "col9", + "col10", + "col11", + "col12", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "col12": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "col12", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col12", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col11": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "col11", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col11", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col8": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "col8", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col8", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col9": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "col9", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col9", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col6": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "col6", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col6", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col10": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "col10", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col10", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col7": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", + "textSize": "0.875rem", + "index": 6, + "isVisible": true, + "label": "col7", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col7", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "hpy3pb4xft", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 54, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "xp5u9a9nzq", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "nh3cu4lb1g", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 39, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 46, + "dynamicPropertyPathList": [], + "buttonColor": "#2E3D49", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 34, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 884, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "boolean", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "borderRadius": "0px", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": true, + "cellBoxShadow": "none", + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 9, + "cellBoxShadow": "none", + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 5, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "none", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 81, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 8.125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "borderRadius" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + } + ], + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "o8oiq6vwkk", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 884, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + }, + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "boolean", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": true, + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 9, + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 5, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#fff", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row col1: {{data_table.selectedRow.col1}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "title" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "submitButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "y5cjzuxnb3", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow.col1}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "postgresql", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "PostgreSQL", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || 'ASC'" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "PostgreSQL_SelectQuery" + } + ] + ], + "id": "PostgreSQL", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 860, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 900, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#fff", + "dynamicPropertyPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "topRow": 0, + "bottomRow": 86, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 860, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns.col6.computedValue" }, + { "key": "primaryColumns.col7.computedValue" }, + { "key": "primaryColumns.col8.computedValue" }, + { "key": "primaryColumns.col9.computedValue" }, + { "key": "primaryColumns.col10.computedValue" }, + { "key": "primaryColumns.col11.computedValue" }, + { "key": "primaryColumns.col12.computedValue" } + ], + "leftColumn": 0, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "col1", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "col1", + "col2", + "col3", + "col4", + "col5", + "col6", + "col7", + "col8", + "col9", + "col10", + "col11", + "col12", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "col12": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "col12", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col12", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col11": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "col11", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col11", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col8": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "col8", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col8", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col9": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "col9", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col9", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col6": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "col6", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col6", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col10": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "col10", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col10", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col7": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", + "textSize": "0.875rem", + "index": 6, + "isVisible": true, + "label": "col7", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col7", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "hpy3pb4xft", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 54, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "xp5u9a9nzq", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "nh3cu4lb1g", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 39, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 46, + "dynamicPropertyPathList": [], + "buttonColor": "#2E3D49", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 34, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 884, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "boolean", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "borderRadius": "0px", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": true, + "cellBoxShadow": "none", + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 9, + "cellBoxShadow": "none", + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 5, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "none", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 81, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 8.125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "borderRadius" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + } + ], + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "o8oiq6vwkk", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 884, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + }, + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "boolean", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": true, + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 9, + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 5, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#fff", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row col1: {{data_table.selectedRow.col1}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "title" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "submitButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "y5cjzuxnb3", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow.col1}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "postgresql", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc8" + }, + { + "publishedPage": { + "name": "Page Generator", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [], + "id": "Page Generator", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 550, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Tabs1", + "topRow": 11, + "bottomRow": 55, + "parentRowSpace": 10, + "type": "TABS_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 16, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "tabId": "tab1", + "labelTextSize": "0.875rem", + "boxShadow": "none", + "tabName": "SQL", + "rightColumn": 634, + "widgetName": "Canvas2", + "detachFromLayout": true, + "widgetId": "nyka98xqpv", + "topRow": 0, + "bottomRow": 400, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "parentId": "jalvzswyyk", + "isLoading": false, + "renderMode": "CANVAS", + "minHeight": 410, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text2", + "topRow": 3, + "bottomRow": 7, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Datasource ID", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "957c72jpan", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text4", + "topRow": 17, + "bottomRow": 21, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Table Name", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "nz74xi3ae3", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text6", + "topRow": 21, + "bottomRow": 25, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Columns to Select", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "s1i89k31f5", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text7", + "topRow": 29, + "bottomRow": 33, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Column to Search", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "rbacxz6brz", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "resetFormOnClick": false, + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "FormButton1", + "onClick": "{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}", + "rightColumn": 63, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "n6220hgzzs", + "topRow": 33, + "bottomRow": 37, + "isVisible": true, + "type": "FORM_BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "nyka98xqpv", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 47, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Generate" + }, + { + "boxShadow": "none", + "widgetName": "datasource_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 3, + "bottomRow": 7, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "fk5njkiu28", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "tableName_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 17, + "bottomRow": 21, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "v6vho5uqct", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "select_cols_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 21, + "bottomRow": 25, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "e1j5kngy1t", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "search_col_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 29, + "bottomRow": 33, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "cqxwse0717", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "app_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 7.0791015625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "r1onz3oq9w", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "26c0iltpjr", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "parentColumnSpace": 7.0791015625, + "dynamicTriggerPathList": [], + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "App ID", + "key": "99ilu0uxi8", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "242g7dtr9t", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + } + ] + }, + { + "tabId": "tab2", + "labelTextSize": "0.875rem", + "boxShadow": "none", + "tabName": "GSheet", + "rightColumn": 634, + "widgetName": "Canvas3", + "detachFromLayout": true, + "widgetId": "neexe4fljs", + "topRow": 0, + "bottomRow": 400, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "parentId": "jalvzswyyk", + "isLoading": false, + "renderMode": "CANVAS", + "minHeight": 410, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text8", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "DataSource URL", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "3ghywz6tk6", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text9", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "SpreadSheet URL", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "r6o12im1qd", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text10", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Sheet Name", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "k0ul3uaoph", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text11", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Table Header Index", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "l1r1tfbx6y", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{generate_gsheet_app.run()}}", + "buttonColor": "#03B365", + "topRow": 30, + "bottomRow": 34, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [], + "text": "Generate", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 62, + "isDefaultClickDisabled": true, + "widgetId": "zzsh2d5rns", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "gsheet_ds_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "j61fbsst0i", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "spreadsheet_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "vm21ddffi6", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "sheet_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "5r5hxd2qs8", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "header_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "z3nz99y80l", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ] + }, + { + "tabId": "tab7qxuerb9p7", + "boxShadow": "none", + "widgetName": "Canvas4", + "topRow": 1, + "bottomRow": 400, + "parentRowSpace": 1, + "canExtend": false, + "type": "CANVAS_WIDGET", + "minHeight": 410, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Datasource URL", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "4l1uqhf2au", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text13", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Collection Name", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "0y3rz6ufib", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text14", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Keys to Fetch", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "s1fhjft9to", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text15", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Key to Search", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "rwi67ouhe1", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{generate_mongo_app.run()}}", + "buttonColor": "#03B365", + "topRow": 29, + "bottomRow": 33, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [], + "text": "Generate", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 62, + "isDefaultClickDisabled": true, + "widgetId": "6ui5kmqebf", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "mongo_ds_url", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "3iwx4ppimv", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "collection_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "82uk5g7krv", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "fetch_keys_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "jx1zxum47l", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "search_keys_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 28.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "24223uwmke", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ], + "labelTextSize": "0.875rem", + "tabName": "Mongo", + "rightColumn": 574.5625, + "detachFromLayout": true, + "widgetId": "4yqoh4fjmv", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "jalvzswyyk", + "isLoading": false, + "borderRadius": "0px" + } + ], + "labelTextSize": "0.875rem", + "rightColumn": 45, + "dynamicHeight": "FIXED", + "widgetId": "jalvzswyyk", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "defaultTab": "SQL", + "shouldShowTabs": true, + "tabsObj": { + "tab1": { + "widgetId": "nyka98xqpv", + "index": 0, + "label": "SQL", + "id": "tab1", + "isVisible": true + }, + "tab2": { + "widgetId": "neexe4fljs", + "index": 1, + "label": "GSheet", + "id": "tab2", + "isVisible": true + }, + "tab7qxuerb9p7": { + "widgetId": "4yqoh4fjmv", + "id": "tab7qxuerb9p7", + "label": "Mongo", + "isVisible": true + } + }, + "isVisible": true, + "version": 3, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "page-generator", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "Page Generator", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [], + "id": "Page Generator", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 550, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Tabs1", + "topRow": 11, + "bottomRow": 55, + "parentRowSpace": 10, + "type": "TABS_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 16, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "tabId": "tab1", + "labelTextSize": "0.875rem", + "boxShadow": "none", + "tabName": "SQL", + "rightColumn": 634, + "widgetName": "Canvas2", + "detachFromLayout": true, + "widgetId": "nyka98xqpv", + "topRow": 0, + "bottomRow": 400, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "parentId": "jalvzswyyk", + "isLoading": false, + "renderMode": "CANVAS", + "minHeight": 410, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text2", + "topRow": 3, + "bottomRow": 7, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Datasource ID", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "957c72jpan", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text4", + "topRow": 17, + "bottomRow": 21, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Table Name", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "nz74xi3ae3", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text6", + "topRow": 21, + "bottomRow": 25, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Columns to Select", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "s1i89k31f5", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text7", + "topRow": 29, + "bottomRow": 33, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.35546875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Column to Search", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "rbacxz6brz", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "resetFormOnClick": false, + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "FormButton1", + "onClick": "{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}", + "rightColumn": 63, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "n6220hgzzs", + "topRow": 33, + "bottomRow": 37, + "isVisible": true, + "type": "FORM_BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "nyka98xqpv", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 47, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Generate" + }, + { + "boxShadow": "none", + "widgetName": "datasource_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 3, + "bottomRow": 7, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "fk5njkiu28", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "tableName_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 17, + "bottomRow": 21, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "v6vho5uqct", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "select_cols_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 21, + "bottomRow": 25, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "e1j5kngy1t", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "search_col_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 29, + "bottomRow": 33, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "cqxwse0717", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "app_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 7.0791015625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "r1onz3oq9w", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "26c0iltpjr", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b52.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "parentColumnSpace": 7.0791015625, + "dynamicTriggerPathList": [], + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "App ID", + "key": "99ilu0uxi8", + "labelTextSize": "0.875rem", + "rightColumn": 14, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "242g7dtr9t", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "nyka98xqpv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + } + ] + }, + { + "tabId": "tab2", + "labelTextSize": "0.875rem", + "boxShadow": "none", + "tabName": "GSheet", + "rightColumn": 634, + "widgetName": "Canvas3", + "detachFromLayout": true, + "widgetId": "neexe4fljs", + "topRow": 0, + "bottomRow": 400, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "parentId": "jalvzswyyk", + "isLoading": false, + "renderMode": "CANVAS", + "minHeight": 410, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text8", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "DataSource URL", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "3ghywz6tk6", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text9", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "SpreadSheet URL", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "r6o12im1qd", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text10", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Sheet Name", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "k0ul3uaoph", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text11", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Table Header Index", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "l1r1tfbx6y", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{generate_gsheet_app.run()}}", + "buttonColor": "#03B365", + "topRow": 30, + "bottomRow": 34, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [], + "text": "Generate", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 62, + "isDefaultClickDisabled": true, + "widgetId": "zzsh2d5rns", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "neexe4fljs", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "gsheet_ds_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "j61fbsst0i", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "spreadsheet_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "vm21ddffi6", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "sheet_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "5r5hxd2qs8", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "header_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 17, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "z3nz99y80l", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "neexe4fljs", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ] + }, + { + "tabId": "tab7qxuerb9p7", + "boxShadow": "none", + "widgetName": "Canvas4", + "topRow": 1, + "bottomRow": 400, + "parentRowSpace": 1, + "canExtend": false, + "type": "CANVAS_WIDGET", + "minHeight": 410, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Datasource URL", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "4l1uqhf2au", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text13", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Collection Name", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "0y3rz6ufib", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text14", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Keys to Fetch", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "s1fhjft9to", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text15", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Key to Search", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "rwi67ouhe1", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{generate_mongo_app.run()}}", + "buttonColor": "#03B365", + "topRow": 29, + "bottomRow": 33, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 8.6650390625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [], + "text": "Generate", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 62, + "isDefaultClickDisabled": true, + "widgetId": "6ui5kmqebf", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "4yqoh4fjmv", + "isLoading": false, + "borderRadius": "0px", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "mongo_ds_url", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "3iwx4ppimv", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "collection_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "82uk5g7krv", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "fetch_keys_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 12.7998046875, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "jx1zxum47l", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "search_keys_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 28.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "0equv9lg65", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "24223uwmke", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "4yqoh4fjmv", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ], + "labelTextSize": "0.875rem", + "tabName": "Mongo", + "rightColumn": 574.5625, + "detachFromLayout": true, + "widgetId": "4yqoh4fjmv", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "jalvzswyyk", + "isLoading": false, + "borderRadius": "0px" + } + ], + "labelTextSize": "0.875rem", + "rightColumn": 45, + "dynamicHeight": "FIXED", + "widgetId": "jalvzswyyk", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "defaultTab": "SQL", + "shouldShowTabs": true, + "tabsObj": { + "tab1": { + "widgetId": "nyka98xqpv", + "index": 0, + "label": "SQL", + "id": "tab1", + "isVisible": true + }, + "tab2": { + "widgetId": "neexe4fljs", + "index": 1, + "label": "GSheet", + "id": "tab2", + "isVisible": true + }, + "tab7qxuerb9p7": { + "widgetId": "4yqoh4fjmv", + "id": "tab7qxuerb9p7", + "label": "Mongo", + "isVisible": true + } + }, + "isVisible": true, + "version": 3, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "page-generator", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc4" + }, + { + "publishedPage": { + "name": "MongoDB", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "data_table.sortOrder.column || 'col1'", + "key_select.selectedOptionValue", + "data_table.pageSize", + "data_table.sortOrder.order == \"desc\" ? -1 : 1", + "data_table.searchText||\"\"", + "(data_table.pageNo - 1) * data_table.pageSize", + "order_select.selectedOptionValue" + ], + "name": "FindQuery", + "timeoutInMillisecond": 10000, + "id": "MongoDB_FindQuery" + } + ] + ], + "id": "MongoDB", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 880, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 900, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "4444", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "22222", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "33", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "111", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "4444", + "col2": "22222", + "col3": "33", + "col1": "111" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#fff", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Document Id: {{data_table.selectedRow._id}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "title" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "0511vwn3zi", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow._id}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#fff", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 88, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "data_table", + "onSort": "{{FindQuery.run()}}", + "columnOrder": [ + "revenue", + "imdb_id", + "release_date", + "genres", + "vote_average", + "tagline", + "_id", + "title", + "vote_count", + "poster_path", + "homepage", + "status", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { "key": "onPageChange" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "isVisibleDownload": true, + "topRow": 7, + "bottomRow": 86, + "parentRowSpace": 10, + "onPageChange": "{{FindQuery.run()}}", + "isSortable": true, + "type": "TABLE_WIDGET_V2", + "defaultSelectedRowIndex": "0", + "animateLoading": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [ + { "key": "onPageChange" }, + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "dynamicBindingPathList": [ + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "primaryColumns._id.computedValue" }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.revenue.computedValue" }, + { "key": "primaryColumns.imdb_id.computedValue" }, + { + "key": "primaryColumns.release_date.computedValue" + }, + { "key": "primaryColumns.genres.computedValue" }, + { + "key": "primaryColumns.vote_average.computedValue" + }, + { "key": "primaryColumns.tagline.computedValue" }, + { "key": "primaryColumns.title.computedValue" }, + { + "key": "primaryColumns.vote_count.computedValue" + }, + { + "key": "primaryColumns.poster_path.computedValue" + }, + { "key": "primaryColumns.homepage.computedValue" }, + { "key": "primaryColumns.status.computedValue" }, + { "key": "tableData" } + ], + "leftColumn": 1, + "primaryColumns": { + "imdb_id": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.imdb_id))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "imdb_id", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "imdb_id", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "{{data_tableCopy.processedTableData.map((currentRow, currentIndex) => ( currentRow.customColumn1))}}", + "onClick": "{{showModal('Delete_Modal')}}", + "textSize": "0.875rem", + "buttonColor": "#DD4B34", + "index": 7, + "isVisible": true, + "label": "Delete", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", + "columnType": "button", + "horizontalAlignment": "LEFT", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "verticalAlignment": "CENTER", + "sticky": "right" + }, + "title": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.title))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "title", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "title", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "poster_path": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.poster_path))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "poster_path", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "poster_path", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "appsmith_mongo_escape_id": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": false, + "computedValue": "{{data_tableCopy.processedTableData.map((currentRow, currentIndex) => ( currentRow._id))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "_id", + "columnType": "text", + "horizontalAlignment": "LEFT", + "borderRadius": "0px", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "_id", + "verticalAlignment": "CENTER" + }, + "revenue": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.revenue))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "revenue", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "revenue", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "release_date": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.release_date))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "release_date", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "release_date", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "genres": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.genres))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "genres", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "genres", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "vote_average": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_average))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "vote_average", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "vote_average", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "tagline": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.tagline))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "tagline", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "tagline", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "vote_count": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_count))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "vote_count", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "vote_count", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "homepage": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.homepage))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "homepage", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "homepage", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "status": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.status))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "status", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "status", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "delimiter": ",", + "derivedColumns": { + "customColumn1": { + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{DeleteQuery.run()}}", + "textSize": "0.875rem", + "buttonStyle": "#DD4B34", + "index": 7, + "isVisible": true, + "label": "Delete", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", + "columnType": "button", + "horizontalAlignment": "LEFT", + "borderRadius": "0px", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "buttonLabelColor": "#FFFFFF", + "verticalAlignment": "CENTER" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "m04j9ji345", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "tableData": "{{FindQuery.data}}", + "isVisible": "true", + "label": "Data", + "searchKey": "", + "version": 3, + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "isLoading": false, + "isVisibleCompactMode": true, + "onSearchTextChanged": "{{FindQuery.run()}}", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "isVisiblePagination": true, + "primaryColumnId": "_id", + "verticalAlignment": "CENTER", + "columnSizeMap": { + "task": 245, + "deliveryAddress": 170, + "step": 62, + "id": 228, + "status": 75 + } + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{FindQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "nj85l57r47", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "atgojamsmw", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 39, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 45, + "dynamicPropertyPathList": [], + "buttonColor": "#3f3f46", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 33, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 45, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this document?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "4444", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "placeholderText": "", + "position": 0, + "isDisabled": false, + "sourceData": "new entry 3", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "33", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "111", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "4444", + "col2": "new entry 3", + "col3": "33", + "col1": "111" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "onSubmit" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 59, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Document", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + } + ], + "borderWidth": "", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "ktpocp4ka2", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + }, + "mongoEscapedWidgetNames": ["data_table"] + } + ], + "slug": "mongodb", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "MongoDB", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText||\"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order == \"desc\" ? -1 : 1", + "key_select.selectedOptionValue", + "order_select.selectedOptionValue" + ], + "name": "FindQuery", + "timeoutInMillisecond": 10000, + "id": "MongoDB_FindQuery" + } + ] + ], + "id": "MongoDB", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 880, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 900, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "4444", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "22222", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "33", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "111", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "4444", + "col2": "22222", + "col3": "33", + "col1": "111" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#fff", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 86, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Document Id: {{data_table.selectedRow._id}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "title" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "0511vwn3zi", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow._id}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#fff", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 88, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "data_table", + "onSort": "{{FindQuery.run()}}", + "columnOrder": [ + "revenue", + "imdb_id", + "release_date", + "genres", + "vote_average", + "tagline", + "_id", + "title", + "vote_count", + "poster_path", + "homepage", + "status", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { "key": "onPageChange" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "isVisibleDownload": true, + "topRow": 7, + "bottomRow": 86, + "parentRowSpace": 10, + "onPageChange": "{{FindQuery.run()}}", + "isSortable": true, + "type": "TABLE_WIDGET_V2", + "defaultSelectedRowIndex": "0", + "animateLoading": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [ + { "key": "onPageChange" }, + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "dynamicBindingPathList": [ + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "primaryColumns._id.computedValue" }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.revenue.computedValue" }, + { "key": "primaryColumns.imdb_id.computedValue" }, + { + "key": "primaryColumns.release_date.computedValue" + }, + { "key": "primaryColumns.genres.computedValue" }, + { + "key": "primaryColumns.vote_average.computedValue" + }, + { "key": "primaryColumns.tagline.computedValue" }, + { "key": "primaryColumns.title.computedValue" }, + { + "key": "primaryColumns.vote_count.computedValue" + }, + { + "key": "primaryColumns.poster_path.computedValue" + }, + { "key": "primaryColumns.homepage.computedValue" }, + { "key": "primaryColumns.status.computedValue" }, + { "key": "tableData" }, + { "key": "derivedColumns.customColumn1.boxShadow" }, + { "key": "primaryColumns.customColumn1.boxShadow" }, + { + "key": "derivedColumns.customColumn1.borderRadius" + }, + { + "key": "derivedColumns.customColumn1.buttonColor" + }, + { + "key": "primaryColumns.customColumn1.buttonColor" + }, + { + "key": "primaryColumns.customColumn1.computedValue" + }, + { + "key": "derivedColumns.customColumn1.computedValue" + } + ], + "leftColumn": 1, + "primaryColumns": { + "imdb_id": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.imdb_id))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "imdb_id", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "imdb_id", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}", + "isDerived": true, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.customColumn1))}}", + "onClick": "{{showModal('Delete_Modal')}}", + "textSize": "0.875rem", + "buttonColor": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}", + "iconName": "", + "index": 7, + "isVisible": true, + "label": "Delete", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", + "columnType": "button", + "horizontalAlignment": "LEFT", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "verticalAlignment": "CENTER", + "sticky": "right" + }, + "title": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.title))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "title", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "title", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "poster_path": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.poster_path))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "poster_path", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "poster_path", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "appsmith_mongo_escape_id": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._id))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "_id", + "columnType": "text", + "horizontalAlignment": "LEFT", + "borderRadius": "0px", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "_id", + "verticalAlignment": "CENTER" + }, + "revenue": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.revenue))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "revenue", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "revenue", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "release_date": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.release_date))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "release_date", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "release_date", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "genres": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.genres))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "genres", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "genres", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "vote_average": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_average))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "vote_average", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "vote_average", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "tagline": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.tagline))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "tagline", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "tagline", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "vote_count": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.vote_count))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "vote_count", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "vote_count", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "homepage": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.homepage))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "homepage", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "homepage", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "status": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.status))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "status", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "status", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "delimiter": ",", + "derivedColumns": { + "customColumn1": { + "boxShadow": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( \"none\"))}}", + "isDerived": true, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.customColumn1))}}", + "onClick": "{{DeleteQuery.run()}}", + "textSize": "0.875rem", + "buttonColor": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}", + "buttonStyle": "#DD4B34", + "index": 7, + "isVisible": true, + "label": "Delete", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => { return 'Delete'})}}", + "columnType": "button", + "horizontalAlignment": "LEFT", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "buttonLabelColor": "#FFFFFF", + "verticalAlignment": "CENTER" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "m04j9ji345", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "tableData": "{{FindQuery.data}}", + "isVisible": "true", + "label": "Data", + "searchKey": "", + "version": 3, + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "isLoading": false, + "isVisibleCompactMode": true, + "onSearchTextChanged": "{{FindQuery.run()}}", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "isVisiblePagination": true, + "primaryColumnId": "_id", + "verticalAlignment": "CENTER", + "columnSizeMap": { + "task": 245, + "deliveryAddress": 170, + "step": 62, + "id": 228, + "status": 75 + } + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{FindQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "nj85l57r47", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "atgojamsmw", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 39, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 45, + "dynamicPropertyPathList": [], + "buttonColor": "#3f3f46", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 33, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 45, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this document?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "originalIdentifier": "col4", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "4444", + "fieldType": "Text Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "placeholderText": "", + "position": 0, + "isDisabled": false, + "sourceData": "new entry 3", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": "33", + "fieldType": "Text Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 3, + "isDisabled": false, + "sourceData": "111", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": "4444", + "col2": "new entry 3", + "col3": "33", + "col1": "111" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "onSubmit" }, + { "key": "borderRadius" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 59, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Document", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col4.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.buttonColor" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + } + ], + "borderWidth": "", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "ktpocp4ka2", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + }, + "mongoEscapedWidgetNames": ["data_table"] + } + ], + "slug": "mongodb", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc5" + }, + { + "publishedPage": { + "name": "SQL", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || \"ASC\"" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "SQL_SelectQuery" + } + ] + ], + "id": "SQL", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 890, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "boolean", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": false, + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "col2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 1003, + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 1000, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 89, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row col1: {{data_table.selectedRow.col1}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "title" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "6g4ewsx2v0", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow.col1}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#fff", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 89, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 890, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns.col6.computedValue" }, + { "key": "primaryColumns.col7.computedValue" }, + { "key": "primaryColumns.col8.computedValue" }, + { "key": "primaryColumns.col9.computedValue" }, + { "key": "primaryColumns.col10.computedValue" }, + { "key": "primaryColumns.col11.computedValue" }, + { "key": "primaryColumns.col12.computedValue" } + ], + "leftColumn": 1, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "col1", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "col1", + "col2", + "col3", + "col4", + "col5", + "col6", + "col7", + "col8", + "col9", + "col10", + "col11", + "col12", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "col12": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "col12", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col12", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col11": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "col11", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col11", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col8": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "col8", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col8", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col9": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "col9", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col9", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col6": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "col6", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col6", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col10": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "col10", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col10", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col7": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", + "textSize": "0.875rem", + "index": 6, + "isVisible": true, + "label": "col7", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col7", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "uji69u6swx", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 55, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "2jj0197tff", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "kby34l9nbb", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 39, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 46, + "dynamicPropertyPathList": [], + "buttonColor": "#2E3D49", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 34, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "boolean", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "borderRadius": "0px", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": true, + "cellBoxShadow": "none", + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "cellBorderRadius": "0px", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 9, + "cellBoxShadow": "none", + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 5, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 58, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + } + ], + "borderWidth": "", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "w10l8merz2", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "sql", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "SQL", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + "(data_table.pageNo - 1) * data_table.pageSize", + "data_table.pageSize", + "data_table.searchText || \"\"", + "data_table.sortOrder.column || 'col1'", + "data_table.sortOrder.order || \"ASC\"" + ], + "name": "SelectQuery", + "timeoutInMillisecond": 10000, + "id": "SQL_SelectQuery" + } + ] + ], + "id": "SQL", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 890, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "boolean", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": false, + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "col2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 1003, + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 1000, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "update_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}", + "topRow": 0, + "bottomRow": 89, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Update Row col1: {{data_table.selectedRow.col1}}", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "isVisible" }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { "key": "schema.__root_schema__.cellBorderRadius" }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "title" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "borderWidth": "0", + "sourceData": "{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "6g4ewsx2v0", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": "{{!!data_table.selectedRow.col1}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Update", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container1", + "borderColor": "#fff", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 89, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "59rw5mx0bq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 890, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "mvubsemxfo", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns.col6.computedValue" }, + { "key": "primaryColumns.col7.computedValue" }, + { "key": "primaryColumns.col8.computedValue" }, + { "key": "primaryColumns.col9.computedValue" }, + { "key": "primaryColumns.col10.computedValue" }, + { "key": "primaryColumns.col11.computedValue" }, + { "key": "primaryColumns.col12.computedValue" } + ], + "leftColumn": 1, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "col1", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "col1", + "col2", + "col3", + "col4", + "col5", + "col6", + "col7", + "col8", + "col9", + "col10", + "col11", + "col12", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" } + ], + "primaryColumns": { + "col12": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col12))}}", + "textSize": "0.875rem", + "index": 11, + "isVisible": true, + "label": "col12", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col12", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col11": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col11))}}", + "textSize": "0.875rem", + "index": 10, + "isVisible": true, + "label": "col11", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col11", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col8": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col8))}}", + "textSize": "0.875rem", + "index": 7, + "isVisible": true, + "label": "col8", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col8", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col9": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col9))}}", + "textSize": "0.875rem", + "index": 8, + "isVisible": true, + "label": "col9", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col9", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col6": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col6))}}", + "textSize": "0.875rem", + "index": 5, + "isVisible": true, + "label": "col6", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col6", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col10": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col10))}}", + "textSize": "0.875rem", + "index": 9, + "isVisible": true, + "label": "col10", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col10", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col7": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col7))}}", + "textSize": "0.875rem", + "index": 6, + "isVisible": true, + "label": "col7", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col7", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "uji69u6swx", + "tableData": "{{SelectQuery.data}}", + "label": "Data", + "searchKey": "", + "parentId": "59rw5mx0bq", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "template_table Data", + "labelTextSize": "0.875rem", + "rightColumn": 55, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "urzv99hdc8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "refresh_btn", + "rightColumn": 64, + "onClick": "{{SelectQuery.run()}}", + "iconName": "refresh", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "2jj0197tff", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 60, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "add_btn", + "rightColumn": 59, + "onClick": "{{showModal('Insert_Modal')}}", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "kby34l9nbb", + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "59rw5mx0bq", + "isLoading": false, + "parentColumnSpace": 12.0703125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "leftColumn": 55, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "buttonVariant": "PRIMARY", + "isDisabled": false + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 39, + "dynamicHeight": "FIXED", + "widgetId": "mvubsemxfo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 13, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "zi8fjakv8o", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "i3whp03wf0", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Alert_text", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Row", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "35yoxo4oec", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{closeModal('Delete_Modal')}}", + "rightColumn": 46, + "dynamicPropertyPathList": [], + "buttonColor": "#2E3D49", + "isDefaultClickDisabled": true, + "widgetId": "lryg8kw537", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 34, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Delete_Button", + "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "qq02lh7ust", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "zi8fjakv8o", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Are you sure you want to delete this item?", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "48uac29g6e", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "zi8fjakv8o", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "i3whp03wf0", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 16, + "bottomRow": 40, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "shouldScrollContents": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 453.1875, + "detachFromLayout": true, + "widgetId": "9rhv3ioohq", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "vmorzie6eq", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "schema": { + "__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": { + "col8": { + "labelTextSize": "0.875rem", + "identifier": "col8", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col8", + "isVisible": true, + "label": "Col 8", + "originalIdentifier": "col8", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 7, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col12": { + "labelTextSize": "0.875rem", + "identifier": "col12", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col12", + "isVisible": true, + "label": "Col 12", + "originalIdentifier": "col12", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 11, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col9": { + "labelTextSize": "0.875rem", + "identifier": "col9", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col9", + "isVisible": true, + "label": "Col 9", + "originalIdentifier": "col9", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 8, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col11": { + "labelTextSize": "0.875rem", + "identifier": "col11", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col11", + "isVisible": true, + "label": "Col 11", + "originalIdentifier": "col11", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 10, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col6": { + "labelTextSize": "0.875rem", + "identifier": "col6", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col6", + "isVisible": true, + "label": "Col 6", + "originalIdentifier": "col6", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 5, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col10": { + "labelTextSize": "0.875rem", + "identifier": "col10", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col10", + "isVisible": true, + "label": "Col 10", + "originalIdentifier": "col10", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 9, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col7": { + "labelTextSize": "0.875rem", + "identifier": "col7", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "null", + "cellBorderRadius": "0px", + "accessor": "col7", + "isVisible": true, + "label": "Col 7", + "originalIdentifier": "col7", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 6, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col4": { + "labelTextSize": "0.875rem", + "identifier": "col4", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "boolean", + "cellBorderRadius": "0px", + "accessor": "col4", + "isVisible": true, + "label": "Col 4", + "alignWidget": "LEFT", + "originalIdentifier": "col4", + "borderRadius": "0px", + "children": {}, + "position": 3, + "isDisabled": false, + "sourceData": true, + "cellBoxShadow": "none", + "fieldType": "Switch" + }, + "col5": { + "labelTextSize": "0.875rem", + "identifier": "col5", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "cellBorderRadius": "0px", + "accessor": "col5", + "isVisible": true, + "label": "Col 5", + "originalIdentifier": "col5", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 4, + "isDisabled": false, + "cellBoxShadow": "none", + "fieldType": "Number Input" + }, + "col2": { + "labelTextSize": "0.875rem", + "identifier": "col2", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "string", + "cellBorderRadius": "0px", + "accessor": "col2", + "isVisible": true, + "label": "Col 2", + "originalIdentifier": "col2", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 1, + "isDisabled": false, + "sourceData": "skill B", + "cellBoxShadow": "none", + "fieldType": "Text Input" + }, + "col3": { + "labelTextSize": "0.875rem", + "identifier": "col3", + "isRequired": false, + "boxShadow": "none", + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "cellBorderRadius": "0px", + "accessor": "col3", + "isVisible": true, + "label": "Col 3", + "originalIdentifier": "col3", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 9, + "cellBoxShadow": "none", + "fieldType": "Number Input" + }, + "col1": { + "labelTextSize": "0.875rem", + "identifier": "col1", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "dataType": "number", + "accessor": "col1", + "isVisible": true, + "label": "Col 1", + "originalIdentifier": "col1", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": 5, + "fieldType": "Number Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "col4": true, + "col2": "skill B", + "col3": 9, + "col1": 5 + }, + "cellBoxShadow": "none", + "fieldType": "Object" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "insert_form", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "dynamicPropertyPathList": [ + { + "key": "schema.__root_schema__.children.date_of_birth.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { "key": "borderRadius" }, + { "key": "onSubmit" } + ], + "displayName": "JSON Form", + "iconSVG": "/static/media/icon.6bacf7df.svg", + "onSubmit": "{{InsertQuery.run(\n\t() => SelectQuery.run()\n\t\t\t\t\t.then(() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n ${error}`,'error'))\n}}", + "topRow": 0, + "bottomRow": 58, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Insert Row", + "type": "JSON_FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [{ "key": "onSubmit" }], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "schema.__root_schema__.defaultValue" }, + { + "key": "schema.__root_schema__.children.col3.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col4.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col5.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col2.defaultValue" + }, + { "key": "sourceData" }, + { + "key": "schema.__root_schema__.children.col6.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col7.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col8.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col9.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col10.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col11.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col12.defaultValue" + }, + { "key": "schema.__root_schema__.borderRadius" }, + { + "key": "schema.__root_schema__.cellBorderRadius" + }, + { + "key": "schema.__root_schema__.children.col1.defaultValue" + }, + { + "key": "schema.__root_schema__.children.col1.accentColor" + }, + { + "key": "schema.__root_schema__.children.col1.borderRadius" + }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "submitButtonStyles.buttonColor" }, + { "key": "submitButtonStyles.borderRadius" }, + { "key": "resetButtonStyles.buttonColor" }, + { "key": "resetButtonStyles.borderRadius" }, + { + "key": "schema.__root_schema__.children.col2.accentColor" + }, + { + "key": "schema.__root_schema__.children.col2.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col3.accentColor" + }, + { + "key": "schema.__root_schema__.children.col3.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col4.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.accentColor" + }, + { + "key": "schema.__root_schema__.children.col5.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col6.accentColor" + }, + { + "key": "schema.__root_schema__.children.col6.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col7.accentColor" + }, + { + "key": "schema.__root_schema__.children.col7.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col8.accentColor" + }, + { + "key": "schema.__root_schema__.children.col8.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col9.accentColor" + }, + { + "key": "schema.__root_schema__.children.col9.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col10.accentColor" + }, + { + "key": "schema.__root_schema__.children.col10.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col11.accentColor" + }, + { + "key": "schema.__root_schema__.children.col11.borderRadius" + }, + { + "key": "schema.__root_schema__.children.col12.accentColor" + }, + { + "key": "schema.__root_schema__.children.col12.borderRadius" + } + ], + "borderWidth": "", + "sourceData": "{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}", + "showReset": true, + "resetButtonLabel": "Reset", + "key": "h9l9ozr8op", + "labelTextSize": "0.875rem", + "backgroundColor": "#fff", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "autoGenerateForm": true, + "widgetId": "w10l8merz2", + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "parentId": "9rhv3ioohq", + "renderMode": "CANVAS", + "isLoading": false, + "scrollContents": true, + "fixedFooter": true, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 41, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "vmorzie6eq", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "sql", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc0" + }, + { + "publishedPage": { + "name": "S3", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + " 60 * 24 ", + "search_input.text", + "(File_List.pageNo - 1) * File_List.pageSize", + "File_List.pageSize" + ], + "name": "ListFiles", + "timeoutInMillisecond": 10000, + "id": "S3_ListFiles" + } + ] + ], + "id": "S3", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 850, + "containerStyle": "none", + "snapRows": 129, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 900, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "none", + "widgetName": "Zoom_Modal2", + "topRow": 89, + "bottomRow": 89, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas9Copy", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "80wzwajsst", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "kqxoe40pg6", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon3Copy", + "rightColumn": 64, + "onClick": "{{closeModal('Zoom_Modal2')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "8kw9kfcd5y", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "80wzwajsst", + "isLoading": false, + "leftColumn": 56, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text15Copy", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Zoom Image", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "vk710q1v3s", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "80wzwajsst", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button13Copy", + "rightColumn": 63, + "onClick": "{{closeModal('Zoom_Modal2')}}", + "isDefaultClickDisabled": true, + "buttonColor": "#03B365", + "widgetId": "lfiwss1u3w", + "topRow": 53, + "bottomRow": 57, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "80wzwajsst", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 47, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "buttonVariant": "PRIMARY", + "text": "Close", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "image": "{{selected_files.selectedItem.base64}}", + "boxShadow": "none", + "widgetName": "Image3Copy", + "rightColumn": 64, + "objectFit": "contain", + "widgetId": "2bewgakjx9", + "topRow": 6, + "bottomRow": 51, + "parentRowSpace": 10, + "isVisible": true, + "type": "IMAGE_WIDGET", + "version": 1, + "parentId": "80wzwajsst", + "isLoading": false, + "maxZoomLevel": 8, + "parentColumnSpace": 8, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "image" }], + "borderRadius": "0px", + "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png" + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "kqxoe40pg6", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container3", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 85, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "boxShadow" }, + { "key": "borderRadius" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 634, + "detachFromLayout": true, + "widgetId": "6tz2s7ivi5", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 850, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "th4d9oxy8z", + "minHeight": 830, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "template": { + "DownloadIcon": { + "boxShadow": "NONE", + "widgetName": "DownloadIcon", + "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", + "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 51, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 57, + "iconName": "download", + "widgetId": "ljk8fj5jc1", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + }, + "CopyURLIcon": { + "boxShadow": "NONE", + "widgetName": "CopyURLIcon", + "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", + "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 45, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 51, + "iconName": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}", + "widgetId": "d2z5zj56j9", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + }, + "EditIcon": { + "boxShadow": "NONE", + "widgetName": "EditIcon", + "onClick": "{{showModal('Edit_Modal')}}", + "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 39, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 45, + "iconName": "edit", + "widgetId": "x5bft8h9vd", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + }, + "Text21": { + "widgetName": "Text21", + "rightColumn": 24, + "textAlign": "LEFT", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "widgetId": "nu44q8kd9p", + "topRow": 4, + "bottomRow": 8, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "hideCard": false, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 16, + "fontSize": "PARAGRAPH", + "text": "{{File_List.listData.map((currentItem) => currentItem.id)}}", + "textStyle": "BODY", + "key": "xvmvdekk3s" + }, + "Text20": { + "widgetName": "Text20", + "rightColumn": 28, + "textAlign": "LEFT", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "widgetId": "thgbdemmiw", + "topRow": 0, + "bottomRow": 4, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "hideCard": false, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 16, + "fontSize": "PARAGRAPH", + "text": "{{File_List.listData.map((currentItem) => currentItem.name)}}", + "textStyle": "HEADING", + "key": "xvmvdekk3s" + }, + "Image3": { + "widgetName": "Image3", + "displayName": "Image", + "iconSVG": "/static/media/icon.52d8fb96.svg", + "topRow": 0, + "bottomRow": 8.4, + "type": "IMAGE_WIDGET", + "hideCard": false, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "dynamicBindingPathList": [{ "key": "image" }], + "leftColumn": 0, + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "lsc53q139g", + "image": "{{File_List.listData.map((currentItem) => currentItem.img)}}", + "rightColumn": 16, + "objectFit": "contain", + "widgetId": "2rrg354q8i", + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "enableRotation": false + }, + "FileListItemImage": { + "widgetName": "FileListItemImage", + "onClick": "{{showModal('Zoom_Modal')}}", + "dynamicPropertyPathList": [], + "topRow": 1, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "image" }], + "defaultImage": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png';\n })();\n })}}", + "image": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}", + "rightColumn": 20, + "objectFit": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", + "widgetId": "lh1sjszc93", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "enableDownload": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "enableRotation": true, + "defaultImage": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "enableRotation": false + }, + "Container7": { + "borderColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", + "borderWidth": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}" + }, + "FileListItemName": { + "widgetName": "FileListItemName", + "rightColumn": 63, + "textAlign": "LEFT", + "widgetId": "qyqv89mu1c", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "parentColumnSpace": true, + "leftColumn": true, + "fontSize": true, + "text": true + }, + "topRow": 1, + "bottomRow": 8, + "parentRowSpace": 10, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "shouldScroll": true, + "parentId": "lcz0rhije8", + "isLoading": false, + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [], + "fontFamily": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "text" }], + "fontSize": "PARAGRAPH", + "text": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}" + }, + "DeleteIcon": { + "boxShadow": "NONE", + "widgetName": "DeleteIcon", + "onClick": "{{showModal('delete_modal')}}", + "buttonColor": "#DD4B34", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 57, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 63, + "iconName": "trash", + "widgetId": "f8ipd8gbls", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "File_List", + "listData": "{{ListFiles.data}}", + "isCanvas": true, + "displayName": "List", + "iconSVG": "/static/media/icon.9925ee17.svg", + "topRow": 10, + "bottomRow": 83, + "parentRowSpace": 10, + "onPageChange": "{{ListFiles.run()}}", + "type": "LIST_WIDGET", + "hideCard": false, + "gridGap": 0, + "parentColumnSpace": 9.67822265625, + "dynamicTriggerPathList": [ + { "key": "template.DownloadIcon.onClick" }, + { "key": "template.CopyURLIcon.onClick" }, + { "key": "onPageChange" } + ], + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "listData" }, + { "key": "template.FileListItemImage.image" }, + { "key": "template.FileListItemName.text" }, + { "key": "template.EditIcon.buttonColor" }, + { "key": "template.CopyURLIcon.buttonColor" }, + { "key": "template.DownloadIcon.buttonColor" }, + { "key": "template.Container7.borderColor" }, + { "key": "template.Container7.borderWidth" }, + { "key": "template.Container7.borderRadius" }, + { "key": "template.CopyURLIcon.iconName" }, + { "key": "accentColor" }, + { "key": "template.FileListItemImage.objectFit" }, + { "key": "boxShadow" }, + { "key": "borderRadius" }, + { "key": "template.EditIcon.borderRadius" }, + { "key": "template.CopyURLIcon.borderRadius" }, + { "key": "template.DownloadIcon.borderRadius" }, + { "key": "template.DeleteIcon.borderRadius" }, + { "key": "template.FileListItemName.fontFamily" }, + { + "key": "template.FileListItemImage.borderRadius" + }, + { "key": "template.FileListItemImage.defaultImage" } + ], + "gridType": "vertical", + "enhancements": true, + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas14", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 390, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 400, + "noPad": true, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Container7", + "borderColor": "#2E3D4955", + "disallowCopy": true, + "isCanvas": true, + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 0, + "bottomRow": 17, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "openParentPropertyPane": true, + "isDeletable": false, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas15", + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "lcz0rhije8", + "topRow": 0, + "bottomRow": 170, + "containerStyle": "none", + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "hideCard": true, + "parentId": "66oc53smx3", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "EditIcon", + "onClick": "{{showModal('Edit_Modal')}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 45, + "iconName": "edit", + "dynamicHeight": "FIXED", + "widgetId": "x5bft8h9vd", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "CopyURLIcon", + "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 45, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 51, + "iconName": "duplicate", + "dynamicHeight": "FIXED", + "widgetId": "d2z5zj56j9", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "DownloadIcon", + "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 51, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 57, + "iconName": "download", + "dynamicHeight": "FIXED", + "widgetId": "ljk8fj5jc1", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "DeleteIcon", + "onClick": "{{showModal('delete_modal')}}", + "buttonColor": "#DD4B34", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 57, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "iconName": "trash", + "dynamicHeight": "FIXED", + "widgetId": "f8ipd8gbls", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "FileListItemName", + "topRow": 0, + "bottomRow": 7, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 21, + "dynamicBindingPathList": [ + { "key": "text" }, + { "key": "fontFamily" } + ], + "text": "{{currentItem.fileName}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "kmwv6dap5n", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "parentColumnSpace": true, + "leftColumn": true, + "fontSize": true, + "text": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "lcz0rhije8", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "FileListItemImage", + "onClick": "{{showModal('Zoom_Modal')}}", + "dynamicPropertyPathList": [], + "topRow": 0, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "image" }, + { "key": "borderRadius" } + ], + "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png", + "labelTextSize": "0.875rem", + "image": "{{currentItem.signedUrl}}", + "rightColumn": 20, + "objectFit": "contain", + "dynamicHeight": "FIXED", + "widgetId": "4laf7e6wer", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "enableDownload": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "enableRotation": true, + "defaultImage": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "enableRotation": false + } + ], + "key": "29vrztch46" + } + ], + "borderWidth": "1", + "key": "cw0dtdoe0g", + "disablePropertyPane": true, + "labelTextSize": "0.875rem", + "backgroundColor": "white", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "66oc53smx3", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "sh1yahe7kl", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "5px", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "key": "29vrztch46", + "labelTextSize": "0.875rem", + "rightColumn": 232.27734375, + "detachFromLayout": true, + "widgetId": "sh1yahe7kl", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "cjgg2thzom", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "privateWidgets": { "undefined": true }, + "key": "x51ms5k6q9", + "labelTextSize": "0.875rem", + "backgroundColor": "transparent", + "rightColumn": 63, + "itemBackgroundColor": "#F6F7F8", + "widgetId": "cjgg2thzom", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "parentId": "6tz2s7ivi5", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + { + "boxShadow": "none", + "widgetName": "search_input", + "dynamicPropertyPathList": [ + { "key": "onTextChanged" } + ], + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 16.4169921875, + "dynamicTriggerPathList": [ + { "key": "onTextChanged" } + ], + "resetOnSubmit": true, + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Search File Prefix", + "isDisabled": false, + "key": "auxyd97lu3", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "onTextChanged": "{{ListFiles.run()}}", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "why172fko6", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "6tz2s7ivi5", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text6", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Bucket", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "backgroundColor": "", + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "t54ituq472", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "6tz2s7ivi5", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 37, + "dynamicHeight": "FIXED", + "widgetId": "th4d9oxy8z", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "delete_modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas6", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "ozvpoudxz2", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "9g0cw9adf8", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon2", + "rightColumn": 64, + "onClick": "{{closeModal('delete_modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "xkyh49z71e", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "ozvpoudxz2", + "isLoading": false, + "leftColumn": 56, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete File", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "s1y44xm547", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ozvpoudxz2", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button10", + "rightColumn": 48, + "onClick": "{{closeModal('delete_modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "#3f3f46", + "widgetId": "pi0t67rnwh", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "ozvpoudxz2", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 36, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button11", + "onClick": "{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "hp22uj3dra", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "ozvpoudxz2", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text13", + "topRow": 5, + "bottomRow": 16, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "oypa9ad1tg", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ozvpoudxz2", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "9g0cw9adf8", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Edit_Modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas10", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "6i7m9kpuky", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "usealgbtyj", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text17", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 4, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Update File", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "z64z3l112n", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "6i7m9kpuky", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button15", + "rightColumn": 44, + "onClick": "{{closeModal('Edit_Modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "#3f3f46", + "widgetId": "trc4e6ylcz", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "6i7m9kpuky", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 32, + "dynamicBindingPathList": [], + "borderRadius": "0.375rem", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "update_button", + "onClick": "{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "8lbthc9dml", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "6i7m9kpuky", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 44, + "dynamicBindingPathList": [ + { "key": "isDisabled" }, + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Update", + "isDisabled": "{{update_file_picker.files.length == 0}}" + }, + { + "boxShadow": "none", + "widgetName": "Text18", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "File Name", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "qb26g34etr", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "6i7m9kpuky", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "update_file_picker", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "FilePicker", + "iconSVG": "/static/media/icon.7c5ad9c3.svg", + "topRow": 11, + "bottomRow": 15, + "parentRowSpace": 10, + "allowedFileTypes": [], + "type": "FILE_PICKER_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 18, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "h2212wpg64", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 64, + "isDefaultClickDisabled": true, + "widgetId": "i8g6khu01a", + "defaultSelectedFiles": [], + "isVisible": true, + "label": "Select File", + "maxFileSize": "10", + "version": 1, + "fileDataType": "Base64", + "parentId": "6i7m9kpuky", + "selectedFiles": [], + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "files": [], + "maxNumFiles": 1 + }, + { + "boxShadow": "none", + "widgetName": "update_file_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": true, + "key": "auxyd97lu3", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "uabsu3mjt3", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "6i7m9kpuky", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "{{File_List.selectedItem.fileName}}", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "usealgbtyj", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container6", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 85, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 37, + "dynamicBindingPathList": [ + { "key": "boxShadow" }, + { "key": "borderRadius" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas13", + "rightColumn": 634, + "detachFromLayout": true, + "widgetId": "xv97g6rzgq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 850, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "yg1iyxq9kd", + "minHeight": 830, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "template": { + "Canvas7": { + "widgetName": "Canvas7", + "rightColumn": 256, + "detachFromLayout": true, + "widgetId": "oqhzaygncs", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 400, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "dropDisabled": true, + "parentId": "0n30419eso", + "openParentPropertyPane": true, + "minHeight": 340, + "isLoading": false, + "noPad": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": ["u3nvgafsdo"] + }, + "update_files_name": { + "widgetName": "update_files_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 11.4580078125, + "resetOnSubmit": true, + "leftColumn": 23, + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}", + "isRequired": false, + "rightColumn": 43, + "widgetId": "yqxzzh2oqi", + "logBlackList": { + "widgetName": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "autoFocus": true, + "type": true, + "hideCard": true, + "minHeight": true, + "animateLoading": true, + "parentColumnSpace": true, + "resetOnSubmit": true, + "leftColumn": true, + "labelStyle": true, + "inputType": true, + "isDisabled": true, + "key": true, + "isRequired": true, + "rightColumn": true, + "widgetId": true, + "isVisible": true, + "label": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "iconAlign": true, + "defaultText": true + }, + "isVisible": true, + "label": "", + "version": 2, + "parentId": "romgsruzxz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "iconAlign": "left", + "defaultText": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}" + }, + "Image2": { + "image": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}", + "widgetName": "Image2", + "rightColumn": 10, + "onClick": "{{showModal('Zoom_Modal2')}}", + "objectFit": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", + "widgetId": "ql8qs2xelx", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "defaultImage": true + }, + "topRow": 0, + "bottomRow": 6, + "parentRowSpace": 10, + "isVisible": true, + "type": "IMAGE_WIDGET", + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "maxZoomLevel": 1, + "parentColumnSpace": 7.3125, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "image" }], + "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png" + }, + "Container4": { + "backgroundColor": "white", + "widgetName": "Container4", + "rightColumn": 64, + "borderColor": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", + "disallowCopy": true, + "widgetId": "u3nvgafsdo", + "containerStyle": "card", + "topRow": 0, + "bottomRow": 8, + "dragDisabled": true, + "isVisible": true, + "type": "CONTAINER_WIDGET", + "version": 1, + "parentId": "oqhzaygncs", + "openParentPropertyPane": true, + "isDeletable": false, + "isLoading": false, + "leftColumn": 0, + "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", + "children": ["romgsruzxz"], + "borderWidth": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}", + "disablePropertyPane": true + }, + "Canvas8": { + "widgetName": "Canvas8", + "detachFromLayout": true, + "widgetId": "romgsruzxz", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 180, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "u3nvgafsdo", + "minHeight": 80, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + "vu7fb0dbt8", + "7zziet357m", + "ql8qs2xelx" + ] + }, + "Text14": { + "widgetName": "Text14", + "rightColumn": 23, + "textAlign": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}", + "widgetId": "vu7fb0dbt8", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "dynamicTriggerPathList": true, + "parentColumnSpace": true, + "dynamicBindingPathList": true, + "leftColumn": true, + "fontSize": true, + "text": true, + "textStyle": true + }, + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "dynamicTriggerPathList": [], + "fontFamily": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", + "dynamicBindingPathList": [], + "leftColumn": 11, + "fontSize": "PARAGRAPH", + "text": "File Name", + "textStyle": "HEADING" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "selected_files", + "listData": "{{FilePicker.files}}", + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "topRow": 23, + "bottomRow": 75, + "parentRowSpace": 10, + "type": "LIST_WIDGET", + "gridGap": 0, + "parentColumnSpace": 8, + "dynamicTriggerPathList": [ + { "key": "template.Image2.onClick" } + ], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "isVisible" }, + { "key": "listData" }, + { "key": "template.update_files_name.defaultText" }, + { "key": "template.update_files_name.validation" }, + { "key": "template.Container4.borderWidth" }, + { "key": "template.Container4.borderRadius" }, + { "key": "template.Container4.borderColor" }, + { "key": "template.Image2.image" }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "template.Text14.fontFamily" }, + { "key": "template.update_files_name.borderRadius" } + ], + "gridType": "vertical", + "enhancements": true, + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas7", + "topRow": 0, + "bottomRow": 510, + "parentRowSpace": 1, + "canExtend": false, + "type": "CANVAS_WIDGET", + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 520, + "noPad": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Container4", + "borderColor": "#2E3D4955", + "disallowCopy": true, + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "topRow": 0, + "bottomRow": 12, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "openParentPropertyPane": true, + "isDeletable": false, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas8", + "detachFromLayout": true, + "widgetId": "romgsruzxz", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 120, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "u3nvgafsdo", + "minHeight": 120, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text14", + "topRow": 0, + "bottomRow": 4, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "dynamicBindingPathList": [ + { "key": "fontFamily" } + ], + "leftColumn": 19, + "text": "File Name", + "labelTextSize": "0.875rem", + "rightColumn": 60, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "vu7fb0dbt8", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "dynamicTriggerPathList": true, + "parentColumnSpace": true, + "dynamicBindingPathList": true, + "leftColumn": true, + "fontSize": true, + "text": true, + "textStyle": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "textStyle": "HEADING", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Image2", + "onClick": "{{showModal('Zoom_Modal2')}}", + "topRow": 0, + "bottomRow": 9, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "parentColumnSpace": 7.3125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "imageShape": "RECTANGLE", + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "image" } + ], + "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png", + "labelTextSize": "0.875rem", + "image": "{{currentItem.data}}", + "rightColumn": 19, + "objectFit": "contain", + "dynamicHeight": "FIXED", + "widgetId": "ql8qs2xelx", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "defaultImage": true + }, + "isVisible": true, + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "maxZoomLevel": 1, + "borderRadius": "0px" + }, + { + "boxShadow": "none", + "widgetName": "update_files_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 5, + "bottomRow": 9, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 11.4580078125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 19, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "yqxzzh2oqi", + "logBlackList": { + "widgetName": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "autoFocus": true, + "type": true, + "hideCard": true, + "minHeight": true, + "animateLoading": true, + "parentColumnSpace": true, + "resetOnSubmit": true, + "leftColumn": true, + "labelStyle": true, + "inputType": true, + "isDisabled": true, + "key": true, + "isRequired": true, + "rightColumn": true, + "widgetId": true, + "isVisible": true, + "label": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "iconAlign": true, + "defaultText": true + }, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "romgsruzxz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "{{currentItem.name}}", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "1", + "disablePropertyPane": true, + "labelTextSize": "0.875rem", + "backgroundColor": "white", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "u3nvgafsdo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "oqhzaygncs", + "isLoading": false, + "borderRadius": "5px", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "labelTextSize": "0.875rem", + "rightColumn": 256, + "detachFromLayout": true, + "widgetId": "oqhzaygncs", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "0n30419eso", + "isLoading": false, + "borderRadius": "0px" + } + ], + "privateWidgets": { "undefined": true }, + "childAutoComplete": { + "currentItem": { + "data": "", + "base64": "", + "name": "", + "raw": "", + "id": "", + "text": "", + "type": "" + } + }, + "labelTextSize": "0.875rem", + "backgroundColor": "", + "rightColumn": 64, + "itemBackgroundColor": "#F6F7F8", + "widgetId": "0n30419eso", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": "{{FilePicker.files.length > 0}}", + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + { + "boxShadow": "none", + "widgetName": "Text9", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Upload Folder", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "jc21bnjh92", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text7", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "Upload New Files", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "364shivyaz", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "upload_button", + "onClick": "{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}", + "rightColumn": 64, + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "1uava20nxi", + "topRow": 75, + "bottomRow": 79, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "xv97g6rzgq", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 36, + "dynamicBindingPathList": [ + { "key": "isDisabled" }, + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Upload", + "isDisabled": "{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}" + }, + { + "boxShadow": "none", + "widgetName": "Text19", + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "topRow": 19, + "bottomRow": 23, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.0458984375, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "text": "Selected files to upload", + "labelTextSize": "0.875rem", + "rightColumn": 52, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "9wh2ereoy9", + "isVisible": "{{FilePicker.files.length > 0}}", + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "FilePicker", + "dynamicPropertyPathList": [], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "FilePicker", + "iconSVG": "/static/media/icon.7c5ad9c3.svg", + "topRow": 13, + "bottomRow": 17, + "parentRowSpace": 10, + "allowedFileTypes": [], + "type": "FILE_PICKER_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.86865234375, + "dynamicTriggerPathList": [], + "leftColumn": 16, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "h2212wpg64", + "onFilesSelected": "", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "8l6lm067zw", + "defaultSelectedFiles": [], + "isVisible": true, + "label": "Select Files", + "maxFileSize": 5, + "version": 1, + "fileDataType": "Base64", + "parentId": "xv97g6rzgq", + "selectedFiles": [], + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "files": [], + "maxNumFiles": "3" + }, + { + "boxShadow": "none", + "widgetName": "folder_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 11.8955078125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 16, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "folder/sub-folder", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "215nlsqncm", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "xv97g6rzgq", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "yg1iyxq9kd", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "s3", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "S3", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [ + " 60 * 24 ", + "(File_List.pageNo - 1) * File_List.pageSize", + "File_List.pageSize", + "search_input.text" + ], + "name": "ListFiles", + "timeoutInMillisecond": 10000, + "id": "S3_ListFiles" + } + ] + ], + "id": "S3", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1174, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 850, + "containerStyle": "none", + "snapRows": 129, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 900, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "boxShadow": "none", + "widgetName": "Zoom_Modal2", + "topRow": 89, + "bottomRow": 89, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas9Copy", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "80wzwajsst", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "kqxoe40pg6", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon3Copy", + "rightColumn": 64, + "onClick": "{{closeModal('Zoom_Modal2')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "8kw9kfcd5y", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "80wzwajsst", + "isLoading": false, + "leftColumn": 56, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text15Copy", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Zoom Image", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "vk710q1v3s", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "80wzwajsst", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button13Copy", + "rightColumn": 63, + "onClick": "{{closeModal('Zoom_Modal2')}}", + "isDefaultClickDisabled": true, + "buttonColor": "#03B365", + "widgetId": "lfiwss1u3w", + "topRow": 53, + "bottomRow": 57, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "80wzwajsst", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 47, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "buttonVariant": "PRIMARY", + "text": "Close", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "image": "{{selected_files.selectedItem.base64}}", + "boxShadow": "none", + "widgetName": "Image3Copy", + "rightColumn": 64, + "objectFit": "contain", + "widgetId": "2bewgakjx9", + "topRow": 6, + "bottomRow": 51, + "parentRowSpace": 10, + "isVisible": true, + "type": "IMAGE_WIDGET", + "version": 1, + "parentId": "80wzwajsst", + "isLoading": false, + "maxZoomLevel": 8, + "parentColumnSpace": 8, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "image" }], + "borderRadius": "0px", + "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png" + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "kqxoe40pg6", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container3", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 85, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "boxShadow" }, + { "key": "borderRadius" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 634, + "detachFromLayout": true, + "widgetId": "6tz2s7ivi5", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 850, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "th4d9oxy8z", + "minHeight": 830, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "template": { + "DownloadIcon": { + "boxShadow": "NONE", + "widgetName": "DownloadIcon", + "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", + "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 51, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 57, + "iconName": "download", + "widgetId": "ljk8fj5jc1", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + }, + "CopyURLIcon": { + "boxShadow": "NONE", + "widgetName": "CopyURLIcon", + "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", + "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 45, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 51, + "iconName": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}", + "widgetId": "d2z5zj56j9", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + }, + "EditIcon": { + "boxShadow": "NONE", + "widgetName": "EditIcon", + "onClick": "{{showModal('Edit_Modal')}}", + "buttonColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 39, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 45, + "iconName": "edit", + "widgetId": "x5bft8h9vd", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + }, + "Text21": { + "widgetName": "Text21", + "rightColumn": 24, + "textAlign": "LEFT", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "widgetId": "nu44q8kd9p", + "topRow": 4, + "bottomRow": 8, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "hideCard": false, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 16, + "fontSize": "PARAGRAPH", + "text": "{{File_List.listData.map((currentItem) => currentItem.id)}}", + "textStyle": "BODY", + "key": "xvmvdekk3s" + }, + "Text20": { + "widgetName": "Text20", + "rightColumn": 28, + "textAlign": "LEFT", + "displayName": "Text", + "iconSVG": "/static/media/icon.e6c93592.svg", + "widgetId": "thgbdemmiw", + "topRow": 0, + "bottomRow": 4, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "hideCard": false, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [{ "key": "text" }], + "leftColumn": 16, + "fontSize": "PARAGRAPH", + "text": "{{File_List.listData.map((currentItem) => currentItem.name)}}", + "textStyle": "HEADING", + "key": "xvmvdekk3s" + }, + "Image3": { + "widgetName": "Image3", + "displayName": "Image", + "iconSVG": "/static/media/icon.52d8fb96.svg", + "topRow": 0, + "bottomRow": 8.4, + "type": "IMAGE_WIDGET", + "hideCard": false, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "dynamicBindingPathList": [{ "key": "image" }], + "leftColumn": 0, + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "lsc53q139g", + "image": "{{File_List.listData.map((currentItem) => currentItem.img)}}", + "rightColumn": 16, + "objectFit": "contain", + "widgetId": "2rrg354q8i", + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "enableRotation": false + }, + "FileListItemImage": { + "widgetName": "FileListItemImage", + "onClick": "{{showModal('Zoom_Modal')}}", + "dynamicPropertyPathList": [], + "topRow": 1, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "image" }], + "defaultImage": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png';\n })();\n })}}", + "image": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}", + "rightColumn": 20, + "objectFit": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", + "widgetId": "lh1sjszc93", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "enableDownload": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "enableRotation": true, + "defaultImage": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "enableRotation": false + }, + "Container7": { + "borderColor": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", + "borderWidth": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}" + }, + "FileListItemName": { + "widgetName": "FileListItemName", + "rightColumn": 63, + "textAlign": "LEFT", + "widgetId": "qyqv89mu1c", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "parentColumnSpace": true, + "leftColumn": true, + "fontSize": true, + "text": true + }, + "topRow": 1, + "bottomRow": 8, + "parentRowSpace": 10, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "shouldScroll": true, + "parentId": "lcz0rhije8", + "isLoading": false, + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [], + "fontFamily": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "text" }], + "fontSize": "PARAGRAPH", + "text": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}" + }, + "DeleteIcon": { + "boxShadow": "NONE", + "widgetName": "DeleteIcon", + "onClick": "{{showModal('delete_modal')}}", + "buttonColor": "#DD4B34", + "dynamicPropertyPathList": [{ "key": "onClick" }], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 57, + "dynamicBindingPathList": [], + "isDisabled": false, + "key": "8akz850h7z", + "rightColumn": 63, + "iconName": "trash", + "widgetId": "f8ipd8gbls", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "buttonVariant": "TERTIARY" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "File_List", + "listData": "{{ListFiles.data}}", + "isCanvas": true, + "displayName": "List", + "iconSVG": "/static/media/icon.9925ee17.svg", + "topRow": 10, + "bottomRow": 83, + "parentRowSpace": 10, + "onPageChange": "{{ListFiles.run()}}", + "type": "LIST_WIDGET", + "hideCard": false, + "gridGap": 0, + "parentColumnSpace": 9.67822265625, + "dynamicTriggerPathList": [ + { "key": "template.DownloadIcon.onClick" }, + { "key": "template.CopyURLIcon.onClick" }, + { "key": "onPageChange" } + ], + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "listData" }, + { "key": "template.FileListItemImage.image" }, + { "key": "template.FileListItemName.text" }, + { "key": "template.EditIcon.buttonColor" }, + { "key": "template.CopyURLIcon.buttonColor" }, + { "key": "template.DownloadIcon.buttonColor" }, + { "key": "template.Container7.borderColor" }, + { "key": "template.Container7.borderWidth" }, + { "key": "template.Container7.borderRadius" }, + { "key": "template.CopyURLIcon.iconName" }, + { "key": "accentColor" }, + { "key": "template.FileListItemImage.objectFit" }, + { "key": "boxShadow" }, + { "key": "borderRadius" }, + { "key": "template.EditIcon.borderRadius" }, + { "key": "template.CopyURLIcon.borderRadius" }, + { "key": "template.DownloadIcon.borderRadius" }, + { "key": "template.DeleteIcon.borderRadius" }, + { "key": "template.FileListItemName.fontFamily" }, + { + "key": "template.FileListItemImage.borderRadius" + }, + { "key": "template.FileListItemImage.defaultImage" } + ], + "gridType": "vertical", + "enhancements": true, + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas14", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 390, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 400, + "noPad": true, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Container7", + "borderColor": "#2E3D4955", + "disallowCopy": true, + "isCanvas": true, + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3.svg", + "topRow": 0, + "bottomRow": 17, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "openParentPropertyPane": true, + "isDeletable": false, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas15", + "detachFromLayout": true, + "displayName": "Canvas", + "widgetId": "lcz0rhije8", + "topRow": 0, + "bottomRow": 170, + "containerStyle": "none", + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "hideCard": true, + "parentId": "66oc53smx3", + "renderMode": "CANVAS", + "isLoading": false, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "EditIcon", + "onClick": "{{showModal('Edit_Modal')}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 39, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 45, + "iconName": "edit", + "dynamicHeight": "FIXED", + "widgetId": "x5bft8h9vd", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "CopyURLIcon", + "onClick": "{{copyToClipboard(currentItem.signedUrl)}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 45, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 51, + "iconName": "duplicate", + "dynamicHeight": "FIXED", + "widgetId": "d2z5zj56j9", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "DownloadIcon", + "onClick": "{{navigateTo(currentItem.signedUrl, {})}}", + "buttonColor": "#2E3D49", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 51, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 57, + "iconName": "download", + "dynamicHeight": "FIXED", + "widgetId": "ljk8fj5jc1", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "DeleteIcon", + "onClick": "{{showModal('delete_modal')}}", + "buttonColor": "#DD4B34", + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "borderRadius" } + ], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.bff4eac0.svg", + "topRow": 10, + "bottomRow": 14, + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "parentColumnSpace": 9.4658203125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "leftColumn": 57, + "dynamicBindingPathList": [ + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "8akz850h7z", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "iconName": "trash", + "dynamicHeight": "FIXED", + "widgetId": "f8ipd8gbls", + "logBlackList": { + "boxShadow": true, + "widgetName": true, + "buttonColor": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "type": true, + "hideCard": true, + "minHeight": true, + "parentColumnSpace": true, + "leftColumn": true, + "isDisabled": true, + "key": true, + "rightColumn": true, + "iconName": true, + "widgetId": true, + "isVisible": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "borderRadius": true, + "buttonVariant": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + }, + { + "boxShadow": "none", + "widgetName": "FileListItemName", + "topRow": 0, + "bottomRow": 7, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 21, + "dynamicBindingPathList": [ + { "key": "text" }, + { "key": "fontFamily" } + ], + "text": "{{currentItem.fileName}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "kmwv6dap5n", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "parentColumnSpace": true, + "leftColumn": true, + "fontSize": true, + "text": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "lcz0rhije8", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "FileListItemImage", + "onClick": "{{showModal('Zoom_Modal')}}", + "dynamicPropertyPathList": [], + "topRow": 0, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "parentColumnSpace": 19.0625, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "imageShape": "RECTANGLE", + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "image" }, + { "key": "borderRadius" } + ], + "defaultImage": "https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png", + "labelTextSize": "0.875rem", + "image": "{{currentItem.signedUrl}}", + "rightColumn": 20, + "objectFit": "contain", + "dynamicHeight": "FIXED", + "widgetId": "4laf7e6wer", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "enableDownload": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "enableRotation": true, + "defaultImage": true + }, + "isVisible": true, + "version": 1, + "parentId": "lcz0rhije8", + "isLoading": false, + "maxZoomLevel": 1, + "enableDownload": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "enableRotation": false + } + ], + "key": "29vrztch46" + } + ], + "borderWidth": "1", + "key": "cw0dtdoe0g", + "disablePropertyPane": true, + "labelTextSize": "0.875rem", + "backgroundColor": "white", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "66oc53smx3", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "sh1yahe7kl", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "5px", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "key": "29vrztch46", + "labelTextSize": "0.875rem", + "rightColumn": 232.27734375, + "detachFromLayout": true, + "widgetId": "sh1yahe7kl", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "cjgg2thzom", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px" + } + ], + "privateWidgets": { "undefined": true }, + "key": "x51ms5k6q9", + "labelTextSize": "0.875rem", + "backgroundColor": "transparent", + "rightColumn": 63, + "itemBackgroundColor": "#F6F7F8", + "widgetId": "cjgg2thzom", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "parentId": "6tz2s7ivi5", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + { + "boxShadow": "none", + "widgetName": "search_input", + "dynamicPropertyPathList": [ + { "key": "onTextChanged" } + ], + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 16.4169921875, + "dynamicTriggerPathList": [ + { "key": "onTextChanged" } + ], + "resetOnSubmit": true, + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Search File Prefix", + "isDisabled": false, + "key": "auxyd97lu3", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "onTextChanged": "{{ListFiles.run()}}", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "why172fko6", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "6tz2s7ivi5", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text6", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "template_table Bucket", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "backgroundColor": "", + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "t54ituq472", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "6tz2s7ivi5", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 37, + "dynamicHeight": "FIXED", + "widgetId": "th4d9oxy8z", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "delete_modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas6", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "ozvpoudxz2", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "9g0cw9adf8", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon2", + "rightColumn": 64, + "onClick": "{{closeModal('delete_modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "xkyh49z71e", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "ozvpoudxz2", + "isLoading": false, + "leftColumn": 56, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text12", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete File", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "s1y44xm547", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ozvpoudxz2", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button10", + "rightColumn": 48, + "onClick": "{{closeModal('delete_modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "#3f3f46", + "widgetId": "pi0t67rnwh", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "ozvpoudxz2", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 36, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button11", + "onClick": "{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "hp22uj3dra", + "topRow": 17, + "bottomRow": 21, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "ozvpoudxz2", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text13", + "topRow": 5, + "bottomRow": 16, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "oypa9ad1tg", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ozvpoudxz2", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "9g0cw9adf8", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Edit_Modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas10", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "6i7m9kpuky", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "usealgbtyj", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text17", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 4, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Update File", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "z64z3l112n", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "6i7m9kpuky", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button15", + "rightColumn": 44, + "onClick": "{{closeModal('Edit_Modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "#3f3f46", + "widgetId": "trc4e6ylcz", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "6i7m9kpuky", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 32, + "dynamicBindingPathList": [], + "borderRadius": "0.375rem", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "update_button", + "onClick": "{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "8lbthc9dml", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "6i7m9kpuky", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 44, + "dynamicBindingPathList": [ + { "key": "isDisabled" }, + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Update", + "isDisabled": "{{update_file_picker.files.length == 0}}" + }, + { + "boxShadow": "none", + "widgetName": "Text18", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "File Name", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "qb26g34etr", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "6i7m9kpuky", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "update_file_picker", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "FilePicker", + "iconSVG": "/static/media/icon.7c5ad9c3.svg", + "topRow": 11, + "bottomRow": 15, + "parentRowSpace": 10, + "allowedFileTypes": [], + "type": "FILE_PICKER_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 18, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "h2212wpg64", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 64, + "isDefaultClickDisabled": true, + "widgetId": "i8g6khu01a", + "defaultSelectedFiles": [], + "isVisible": true, + "label": "Select File", + "maxFileSize": "10", + "version": 1, + "fileDataType": "Base64", + "parentId": "6i7m9kpuky", + "selectedFiles": [], + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "files": [], + "maxNumFiles": 1 + }, + { + "boxShadow": "none", + "widgetName": "update_file_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 18, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": true, + "key": "auxyd97lu3", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "uabsu3mjt3", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "6i7m9kpuky", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "{{File_List.selectedItem.fileName}}", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "usealgbtyj", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container6", + "borderColor": "#2E3D4955", + "dynamicPropertyPathList": [{ "key": "borderRadius" }], + "topRow": 0, + "bottomRow": 85, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "leftColumn": 37, + "dynamicBindingPathList": [ + { "key": "boxShadow" }, + { "key": "borderRadius" } + ], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas13", + "rightColumn": 634, + "detachFromLayout": true, + "widgetId": "xv97g6rzgq", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 850, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "yg1iyxq9kd", + "minHeight": 830, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "template": { + "Canvas7": { + "widgetName": "Canvas7", + "rightColumn": 256, + "detachFromLayout": true, + "widgetId": "oqhzaygncs", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 400, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "dropDisabled": true, + "parentId": "0n30419eso", + "openParentPropertyPane": true, + "minHeight": 340, + "isLoading": false, + "noPad": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": ["u3nvgafsdo"] + }, + "update_files_name": { + "widgetName": "update_files_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 11.4580078125, + "resetOnSubmit": true, + "leftColumn": 23, + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}", + "isRequired": false, + "rightColumn": 43, + "widgetId": "yqxzzh2oqi", + "logBlackList": { + "widgetName": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "autoFocus": true, + "type": true, + "hideCard": true, + "minHeight": true, + "animateLoading": true, + "parentColumnSpace": true, + "resetOnSubmit": true, + "leftColumn": true, + "labelStyle": true, + "inputType": true, + "isDisabled": true, + "key": true, + "isRequired": true, + "rightColumn": true, + "widgetId": true, + "isVisible": true, + "label": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "iconAlign": true, + "defaultText": true + }, + "isVisible": true, + "label": "", + "version": 2, + "parentId": "romgsruzxz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}", + "iconAlign": "left", + "defaultText": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}" + }, + "Image2": { + "image": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}", + "widgetName": "Image2", + "rightColumn": 10, + "onClick": "{{showModal('Zoom_Modal2')}}", + "objectFit": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}", + "widgetId": "ql8qs2xelx", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "defaultImage": true + }, + "topRow": 0, + "bottomRow": 6, + "parentRowSpace": 10, + "isVisible": true, + "type": "IMAGE_WIDGET", + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "maxZoomLevel": 1, + "parentColumnSpace": 7.3125, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "image" }], + "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png" + }, + "Container4": { + "backgroundColor": "white", + "widgetName": "Container4", + "rightColumn": 64, + "borderColor": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}", + "disallowCopy": true, + "widgetId": "u3nvgafsdo", + "containerStyle": "card", + "topRow": 0, + "bottomRow": 8, + "dragDisabled": true, + "isVisible": true, + "type": "CONTAINER_WIDGET", + "version": 1, + "parentId": "oqhzaygncs", + "openParentPropertyPane": true, + "isDeletable": false, + "isLoading": false, + "leftColumn": 0, + "borderRadius": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}", + "children": ["romgsruzxz"], + "borderWidth": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}", + "disablePropertyPane": true + }, + "Canvas8": { + "widgetName": "Canvas8", + "detachFromLayout": true, + "widgetId": "romgsruzxz", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 180, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "u3nvgafsdo", + "minHeight": 80, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + "vu7fb0dbt8", + "7zziet357m", + "ql8qs2xelx" + ] + }, + "Text14": { + "widgetName": "Text14", + "rightColumn": 23, + "textAlign": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}", + "widgetId": "vu7fb0dbt8", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "dynamicTriggerPathList": true, + "parentColumnSpace": true, + "dynamicBindingPathList": true, + "leftColumn": true, + "fontSize": true, + "text": true, + "textStyle": true + }, + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "fontStyle": "BOLD", + "type": "TEXT_WIDGET", + "textColor": "#231F20", + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "dynamicTriggerPathList": [], + "fontFamily": "{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}", + "dynamicBindingPathList": [], + "leftColumn": 11, + "fontSize": "PARAGRAPH", + "text": "File Name", + "textStyle": "HEADING" + } + }, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "selected_files", + "listData": "{{FilePicker.files}}", + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "topRow": 23, + "bottomRow": 75, + "parentRowSpace": 10, + "type": "LIST_WIDGET", + "gridGap": 0, + "parentColumnSpace": 8, + "dynamicTriggerPathList": [ + { "key": "template.Image2.onClick" } + ], + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "isVisible" }, + { "key": "listData" }, + { "key": "template.update_files_name.defaultText" }, + { "key": "template.update_files_name.validation" }, + { "key": "template.Container4.borderWidth" }, + { "key": "template.Container4.borderRadius" }, + { "key": "template.Container4.borderColor" }, + { "key": "template.Image2.image" }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "template.Text14.fontFamily" }, + { "key": "template.update_files_name.borderRadius" } + ], + "gridType": "vertical", + "enhancements": true, + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas7", + "topRow": 0, + "bottomRow": 510, + "parentRowSpace": 1, + "canExtend": false, + "type": "CANVAS_WIDGET", + "dropDisabled": true, + "openParentPropertyPane": true, + "minHeight": 520, + "noPad": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "boxShadow": "none", + "widgetName": "Container4", + "borderColor": "#2E3D4955", + "disallowCopy": true, + "dynamicPropertyPathList": [ + { "key": "borderRadius" } + ], + "topRow": 0, + "bottomRow": 12, + "dragDisabled": true, + "type": "CONTAINER_WIDGET", + "openParentPropertyPane": true, + "isDeletable": false, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas8", + "detachFromLayout": true, + "widgetId": "romgsruzxz", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 120, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "u3nvgafsdo", + "minHeight": 120, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "none", + "widgetName": "Text14", + "topRow": 0, + "bottomRow": 4, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "dynamicBindingPathList": [ + { "key": "fontFamily" } + ], + "leftColumn": 19, + "text": "File Name", + "labelTextSize": "0.875rem", + "rightColumn": 60, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "vu7fb0dbt8", + "logBlackList": { + "widgetName": true, + "rightColumn": true, + "textAlign": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "fontStyle": true, + "type": true, + "textColor": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "dynamicTriggerPathList": true, + "parentColumnSpace": true, + "dynamicBindingPathList": true, + "leftColumn": true, + "fontSize": true, + "text": true, + "textStyle": true + }, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "textStyle": "HEADING", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Image2", + "onClick": "{{showModal('Zoom_Modal2')}}", + "topRow": 0, + "bottomRow": 9, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "parentColumnSpace": 7.3125, + "dynamicTriggerPathList": [ + { "key": "onClick" } + ], + "imageShape": "RECTANGLE", + "leftColumn": 0, + "dynamicBindingPathList": [ + { "key": "image" } + ], + "defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png", + "labelTextSize": "0.875rem", + "image": "{{currentItem.data}}", + "rightColumn": 19, + "objectFit": "contain", + "dynamicHeight": "FIXED", + "widgetId": "ql8qs2xelx", + "logBlackList": { + "image": true, + "widgetName": true, + "rightColumn": true, + "objectFit": true, + "widgetId": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "isVisible": true, + "type": true, + "version": true, + "parentId": true, + "minHeight": true, + "isLoading": true, + "maxZoomLevel": true, + "parentColumnSpace": true, + "imageShape": true, + "leftColumn": true, + "defaultImage": true + }, + "isVisible": true, + "version": 1, + "parentId": "romgsruzxz", + "isLoading": false, + "maxZoomLevel": 1, + "borderRadius": "0px" + }, + { + "boxShadow": "none", + "widgetName": "update_files_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 5, + "bottomRow": 9, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 11.4580078125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 19, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "yqxzzh2oqi", + "logBlackList": { + "widgetName": true, + "isCanvas": true, + "displayName": true, + "iconSVG": true, + "topRow": true, + "bottomRow": true, + "parentRowSpace": true, + "autoFocus": true, + "type": true, + "hideCard": true, + "minHeight": true, + "animateLoading": true, + "parentColumnSpace": true, + "resetOnSubmit": true, + "leftColumn": true, + "labelStyle": true, + "inputType": true, + "isDisabled": true, + "key": true, + "isRequired": true, + "rightColumn": true, + "widgetId": true, + "isVisible": true, + "label": true, + "version": true, + "parentId": true, + "renderMode": true, + "isLoading": true, + "iconAlign": true, + "defaultText": true + }, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "romgsruzxz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "{{currentItem.name}}", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "1", + "disablePropertyPane": true, + "labelTextSize": "0.875rem", + "backgroundColor": "white", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "u3nvgafsdo", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "oqhzaygncs", + "isLoading": false, + "borderRadius": "5px", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ], + "labelTextSize": "0.875rem", + "rightColumn": 256, + "detachFromLayout": true, + "widgetId": "oqhzaygncs", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "0n30419eso", + "isLoading": false, + "borderRadius": "0px" + } + ], + "privateWidgets": { "undefined": true }, + "childAutoComplete": { + "currentItem": { + "data": "", + "base64": "", + "name": "", + "raw": "", + "id": "", + "text": "", + "type": "" + } + }, + "labelTextSize": "0.875rem", + "backgroundColor": "", + "rightColumn": 64, + "itemBackgroundColor": "#F6F7F8", + "widgetId": "0n30419eso", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": "{{FilePicker.files.length > 0}}", + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + { + "boxShadow": "none", + "widgetName": "Text9", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [], + "text": "Upload Folder", + "labelTextSize": "0.875rem", + "rightColumn": 16, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "jc21bnjh92", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text7", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "Upload New Files", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "364shivyaz", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "upload_button", + "onClick": "{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}", + "rightColumn": 64, + "dynamicPropertyPathList": [ + { "key": "onClick" }, + { "key": "isDisabled" } + ], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "1uava20nxi", + "topRow": 75, + "bottomRow": 79, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "xv97g6rzgq", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 36, + "dynamicBindingPathList": [ + { "key": "isDisabled" }, + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Upload", + "isDisabled": "{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}" + }, + { + "boxShadow": "none", + "widgetName": "Text19", + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "topRow": 19, + "bottomRow": 23, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.0458984375, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "isVisible" }], + "text": "Selected files to upload", + "labelTextSize": "0.875rem", + "rightColumn": 52, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "9wh2ereoy9", + "isVisible": "{{FilePicker.files.length > 0}}", + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "xv97g6rzgq", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "FilePicker", + "dynamicPropertyPathList": [], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "FilePicker", + "iconSVG": "/static/media/icon.7c5ad9c3.svg", + "topRow": 13, + "bottomRow": 17, + "parentRowSpace": 10, + "allowedFileTypes": [], + "type": "FILE_PICKER_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.86865234375, + "dynamicTriggerPathList": [], + "leftColumn": 16, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "isDisabled": false, + "key": "h2212wpg64", + "onFilesSelected": "", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "8l6lm067zw", + "defaultSelectedFiles": [], + "isVisible": true, + "label": "Select Files", + "maxFileSize": 5, + "version": 1, + "fileDataType": "Base64", + "parentId": "xv97g6rzgq", + "selectedFiles": [], + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "files": [], + "maxNumFiles": "3" + }, + { + "boxShadow": "none", + "widgetName": "folder_name", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 11.8955078125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 16, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "folder/sub-folder", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "215nlsqncm", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "xv97g6rzgq", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ] + } + ], + "borderWidth": "0", + "labelTextSize": "0.875rem", + "backgroundColor": "#FFFFFF", + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "yg1iyxq9kd", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "s3", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc2" + }, + { + "publishedPage": { + "name": "Redis", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "name": "FetchKeys", + "timeoutInMillisecond": 10000, + "id": "Redis_FetchKeys" + } + ], + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.selectedRow.result"], + "name": "FetchValue", + "timeoutInMillisecond": 10000, + "id": "Redis_FetchValue" + } + ] + ], + "id": "Redis", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 890, + "containerStyle": "none", + "snapRows": 129, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Form1", + "backgroundColor": "white", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "dynamicHeight": "FIXED", + "widgetId": "eer73khglm", + "topRow": 1, + "bottomRow": 47, + "parentRowSpace": 10, + "isVisible": "{{data_table.selectedRow.result}}", + "type": "FORM_WIDGET", + "parentId": "0", + "shouldScrollContents": true, + "isLoading": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "isVisible" }, + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas2", + "rightColumn": 528.71875, + "detachFromLayout": true, + "widgetId": "9nvn3gfw6q", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 460, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "eer73khglm", + "minHeight": 460, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "update_button", + "onClick": "{{UpdateKey.run(() => FetchKeys.run(), () => {})}}", + "dynamicPropertyPathList": [], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 39, + "bottomRow": 43, + "type": "FORM_BUTTON_WIDGET", + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 47, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "text": "Update", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "3apd2wkt91", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "9nvn3gfw6q", + "isLoading": false, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY" + }, + { + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "reset_update_button", + "onClick": "", + "dynamicPropertyPathList": [], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 39, + "bottomRow": 43, + "type": "FORM_BUTTON_WIDGET", + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 28, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "text": "Reset", + "labelTextSize": "0.875rem", + "rightColumn": 46, + "isDefaultClickDisabled": true, + "widgetId": "hhh0296qfj", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "9nvn3gfw6q", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "SECONDARY" + }, + { + "boxShadow": "none", + "widgetName": "Text9", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 8, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.8963623046875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "text" }, + { "key": "fontFamily" } + ], + "text": "Update Key: {{data_table.selectedRow.result}}", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "uawwds1z0r", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "9nvn3gfw6q", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "update_value_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 9, + "bottomRow": 37, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 10.5390625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "MULTI_LINE_TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "l3qtdja15h", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "9nvn3gfw6q", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "{{FetchValue.data[0].result}}", + "minDynamicHeight": 4 + } + ] + } + ], + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "backgroundColor": "#FFFFFF", + "widgetName": "Container1", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "v8nfulwuy0", + "containerStyle": "card", + "topRow": 1, + "bottomRow": 89, + "parentRowSpace": 10, + "isVisible": true, + "type": "CONTAINER_WIDGET", + "version": 1, + "parentId": "0", + "isLoading": false, + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "leftColumn": 0, + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "erkvdsolhu", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "v8nfulwuy0", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns._ref.computedValue" } + ], + "leftColumn": 0, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "id", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "_ref", + "col4", + "col5", + "col2", + "col3", + "col1", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" }, + { "key": "onRowSelected" } + ], + "primaryColumns": { + "_ref": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "_ref", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "_ref", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "onRowSelected": "{{FetchValue.run()}}", + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textSize": "0.875rem", + "widgetId": "dyohhtrkiy", + "tableData": "{{FetchKeys.data}}", + "label": "Data", + "searchKey": "", + "parentId": "erkvdsolhu", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "new_key_button", + "onClick": "{{showModal('Insert_Modal')}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 6.8310546875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 51, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "text": "New Key", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "isDefaultClickDisabled": true, + "widgetId": "2rlp4irwh0", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "erkvdsolhu", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "refresh_button", + "onClick": "{{FetchKeys.run()}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "text": "Refresh", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 51, + "isDefaultClickDisabled": true, + "widgetId": "o9t8fslxdi", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "erkvdsolhu", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "SECONDARY" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "Redis Data", + "labelTextSize": "0.875rem", + "rightColumn": 39, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "nt181ks4ci", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "erkvdsolhu", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + } + ] + } + ], + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "re60vbuakz", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "c8fg4ubw52", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon1", + "rightColumn": 64, + "onClick": "{{closeModal('Insert_Modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "3tk445loxa", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "leftColumn": 56, + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text21", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "New Key", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "fgi9qp4uwr", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "rightColumn": 47, + "onClick": "{{closeModal('Insert_Modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "xnh96plcyo", + "topRow": 53, + "bottomRow": 57, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "re60vbuakz", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 35, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "ix2dralfal", + "topRow": 53, + "bottomRow": 57, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "re60vbuakz", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Insert", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text22", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Key", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "kotk4wa6pe", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text23", + "topRow": 16, + "bottomRow": 20, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Value", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "y2dlumuetl", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "insert_key_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 8.125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "ynw4ir8luz", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "re60vbuakz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "insert_value_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 15, + "bottomRow": 52, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 8.125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "MULTI_LINE_TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "6qn1qkr18d", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "re60vbuakz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "c8fg4ubw52", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "value_modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "v8n3d5aecd", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "fh14k9y353", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon2", + "rightColumn": 64, + "onClick": "{{closeModal('value_modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "jqaazpo3zy", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "v8n3d5aecd", + "isLoading": false, + "leftColumn": 56, + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text24", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Value for Key: {{data_table.selectedRow.result}}", + "labelTextSize": "0.875rem", + "rightColumn": 54, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "hvb3xnk1u8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "v8n3d5aecd", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button4", + "rightColumn": 64, + "onClick": "{{closeModal('value_modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "yka7b6k706", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "v8n3d5aecd", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Close", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text25", + "topRow": 6, + "bottomRow": 17, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{FetchValue.data[0].result}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "j9315vzr13", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "v8n3d5aecd", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "fh14k9y353", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas5", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "lwsyaz55ll", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "0skbil3ntd", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon3", + "rightColumn": 64, + "onClick": "{{closeModal('Delete_Modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "dtuc8ag2of", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "lwsyaz55ll", + "isLoading": false, + "leftColumn": 56, + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text26", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Key", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "d9ap4dp300", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "lwsyaz55ll", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button6", + "onClick": "{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "2kg6lmim5m", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "lwsyaz55ll", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text27", + "topRow": 7, + "bottomRow": 17, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "c698jgkzjg", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "lwsyaz55ll", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button7", + "onClick": "{{closeModal('Delete_Modal')}}", + "buttonColor": "#3f3f46", + "topRow": 18, + "bottomRow": 22, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 32, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "text": "Cancel", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 46, + "isDefaultClickDisabled": true, + "widgetId": "lsvqrab5v2", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "lwsyaz55ll", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "0skbil3ntd", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "redis", + "isHidden": false + }, + "deleted": false, + "unpublishedPage": { + "name": "Redis", + "policies": [], + "userPermissions": [], + "layouts": [ + { + "layoutOnLoadActionErrors": [], + "deleted": false, + "validOnPageLoadActions": true, + "policies": [], + "layoutOnLoadActions": [ + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": [], + "name": "FetchKeys", + "timeoutInMillisecond": 10000, + "id": "Redis_FetchKeys" + } + ], + [ + { + "pluginType": "DB", + "confirmBeforeExecute": false, + "jsonPathKeys": ["data_table.selectedRow.result"], + "name": "FetchValue", + "timeoutInMillisecond": 10000, + "id": "Redis_FetchValue" + } + ] + ], + "id": "Redis", + "userPermissions": [], + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1056, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 890, + "containerStyle": "none", + "snapRows": 129, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 78, + "minHeight": 890, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "dynamicBindingPathList": [], + "leftColumn": 0, + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Form1", + "backgroundColor": "white", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "isVisible" }], + "dynamicHeight": "FIXED", + "widgetId": "eer73khglm", + "topRow": 1, + "bottomRow": 47, + "parentRowSpace": 10, + "isVisible": "{{data_table.selectedRow.result}}", + "type": "FORM_WIDGET", + "parentId": "0", + "shouldScrollContents": true, + "isLoading": false, + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "isVisible" }, + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas2", + "rightColumn": 528.71875, + "detachFromLayout": true, + "widgetId": "9nvn3gfw6q", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 460, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "eer73khglm", + "minHeight": 460, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "update_button", + "onClick": "{{UpdateKey.run(() => FetchKeys.run(), () => {})}}", + "dynamicPropertyPathList": [], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 39, + "bottomRow": 43, + "type": "FORM_BUTTON_WIDGET", + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 47, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "text": "Update", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "3apd2wkt91", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "9nvn3gfw6q", + "isLoading": false, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY" + }, + { + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "reset_update_button", + "onClick": "", + "dynamicPropertyPathList": [], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 39, + "bottomRow": 43, + "type": "FORM_BUTTON_WIDGET", + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 28, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "text": "Reset", + "labelTextSize": "0.875rem", + "rightColumn": 46, + "isDefaultClickDisabled": true, + "widgetId": "hhh0296qfj", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "9nvn3gfw6q", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "SECONDARY" + }, + { + "boxShadow": "none", + "widgetName": "Text9", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 8, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8.8963623046875, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "text" }, + { "key": "fontFamily" } + ], + "text": "Update Key: {{data_table.selectedRow.result}}", + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "uawwds1z0r", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "9nvn3gfw6q", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "update_value_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 9, + "bottomRow": 37, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 10.5390625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 1, + "dynamicBindingPathList": [ + { "key": "defaultText" }, + { "key": "accentColor" }, + { "key": "borderRadius" } + ], + "labelStyle": "", + "inputType": "MULTI_LINE_TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": true, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "l3qtdja15h", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "9nvn3gfw6q", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "{{FetchValue.data[0].result}}", + "minDynamicHeight": 4 + } + ] + } + ], + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "backgroundColor": "#FFFFFF", + "widgetName": "Container1", + "rightColumn": 40, + "dynamicHeight": "FIXED", + "widgetId": "v8nfulwuy0", + "containerStyle": "card", + "topRow": 1, + "bottomRow": 89, + "parentRowSpace": 10, + "isVisible": true, + "type": "CONTAINER_WIDGET", + "version": 1, + "parentId": "0", + "isLoading": false, + "shouldScrollContents": true, + "parentColumnSpace": 19.75, + "leftColumn": 0, + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas1", + "rightColumn": 632, + "detachFromLayout": true, + "widgetId": "erkvdsolhu", + "containerStyle": "none", + "topRow": 0, + "bottomRow": 880, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": false, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "v8nfulwuy0", + "minHeight": 870, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "onSort": "{{SelectQuery.run()}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 6, + "isSortable": true, + "onPageChange": "{{SelectQuery.run()}}", + "type": "TABLE_WIDGET_V2", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "tableData" }, + { + "key": "derivedColumns.customColumn1.buttonLabel" + }, + { + "key": "primaryColumns.customColumn1.buttonLabel" + }, + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { + "key": "primaryColumns.customColumn1.borderRadius" + }, + { "key": "primaryColumns.col1.computedValue" }, + { "key": "primaryColumns.col2.computedValue" }, + { "key": "primaryColumns.col3.computedValue" }, + { "key": "primaryColumns.col4.computedValue" }, + { "key": "primaryColumns.col5.computedValue" }, + { "key": "primaryColumns._ref.computedValue" } + ], + "leftColumn": 0, + "delimiter": ",", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": "true", + "enableClientSideSearch": true, + "version": 3, + "totalRecordsCount": 0, + "isLoading": false, + "onSearchTextChanged": "{{SelectQuery.run()}}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "primaryColumnId": "id", + "columnSizeMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "widgetName": "data_table", + "defaultPageSize": 0, + "columnOrder": [ + "_ref", + "col4", + "col5", + "col2", + "col3", + "col1", + "customColumn1" + ], + "dynamicPropertyPathList": [ + { + "key": "primaryColumns.customColumn1.borderRadius" + } + ], + "displayName": "Table", + "bottomRow": 85, + "parentRowSpace": 10, + "defaultSelectedRowIndex": "0", + "hideCard": false, + "parentColumnSpace": 16.3125, + "dynamicTriggerPathList": [ + { "key": "primaryColumns.customColumn1.onClick" }, + { "key": "onPageChange" }, + { "key": "onSearchTextChanged" }, + { "key": "onSort" }, + { "key": "onRowSelected" } + ], + "primaryColumns": { + "_ref": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow._ref))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "_ref", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "_ref", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF", + "sticky": "right" + }, + "col4": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col4))}}", + "textSize": "0.875rem", + "index": 3, + "isVisible": true, + "label": "col4", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col4", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col5": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col5))}}", + "textSize": "0.875rem", + "index": 4, + "isVisible": true, + "label": "col5", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col5", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col2": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col2))}}", + "textSize": "0.875rem", + "index": 1, + "isVisible": true, + "label": "col2", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col2", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col3": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col3))}}", + "textSize": "0.875rem", + "index": 2, + "isVisible": true, + "label": "col3", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col3", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "col1": { + "isCellVisible": true, + "isDerived": false, + "computedValue": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow.col1))}}", + "textSize": "0.875rem", + "index": 0, + "isVisible": true, + "label": "col1", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "col1", + "isDisabled": false, + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "onRowSelected": "{{FetchValue.run()}}", + "key": "zba5qel0au", + "derivedColumns": { + "customColumn1": { + "isCellVisible": true, + "boxShadow": "none", + "isDerived": true, + "computedValue": "", + "onClick": "{{showModal('Delete_Modal')}}", + "buttonColor": "#DD4B34", + "buttonStyle": "rgb(3, 179, 101)", + "index": 5, + "isVisible": true, + "label": "Delete", + "labelColor": "#FFFFFF", + "buttonLabel": "{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}", + "columnType": "button", + "borderRadius": "0px", + "menuColor": "#03B365", + "width": 150, + "enableFilter": true, + "enableSort": true, + "id": "customColumn1", + "isDisabled": false, + "buttonLabelColor": "#FFFFFF" + } + }, + "labelTextSize": "0.875rem", + "rightColumn": 63, + "textSize": "0.875rem", + "widgetId": "dyohhtrkiy", + "tableData": "{{FetchKeys.data}}", + "label": "Data", + "searchKey": "", + "parentId": "erkvdsolhu", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + }, + { + "boxShadow": "none", + "widgetName": "new_key_button", + "onClick": "{{showModal('Insert_Modal')}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 6.8310546875, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 51, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "text": "New Key", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 64, + "isDefaultClickDisabled": true, + "widgetId": "2rlp4irwh0", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "erkvdsolhu", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY" + }, + { + "boxShadow": "none", + "widgetName": "refresh_button", + "onClick": "{{FetchKeys.run()}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 18.8828125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 40, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "text": "Refresh", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 51, + "isDefaultClickDisabled": true, + "widgetId": "o9t8fslxdi", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "erkvdsolhu", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "SECONDARY" + }, + { + "boxShadow": "none", + "widgetName": "Text16", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 11.78515625, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "fontFamily" }], + "text": "Redis Data", + "labelTextSize": "0.875rem", + "rightColumn": 39, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "nt181ks4ci", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "erkvdsolhu", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + } + ] + } + ], + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Insert_Modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas3", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "re60vbuakz", + "topRow": 0, + "bottomRow": 600, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "c8fg4ubw52", + "shouldScrollContents": false, + "minHeight": 600, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon1", + "rightColumn": 64, + "onClick": "{{closeModal('Insert_Modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "3tk445loxa", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "leftColumn": 56, + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text21", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "New Key", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "fgi9qp4uwr", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button1", + "rightColumn": 47, + "onClick": "{{closeModal('Insert_Modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "xnh96plcyo", + "topRow": 53, + "bottomRow": 57, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "re60vbuakz", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 35, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY", + "text": "Cancel", + "isDisabled": false + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "isDefaultClickDisabled": true, + "widgetId": "ix2dralfal", + "topRow": 53, + "bottomRow": 57, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "re60vbuakz", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Insert", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text22", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Key", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "kotk4wa6pe", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Text23", + "topRow": 16, + "bottomRow": 20, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 8, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Value", + "labelTextSize": "0.875rem", + "rightColumn": 17, + "textAlign": "RIGHT", + "dynamicHeight": "FIXED", + "widgetId": "y2dlumuetl", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "re60vbuakz", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "insert_key_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 8.125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "ynw4ir8luz", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "re60vbuakz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "insert_value_input", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 15, + "bottomRow": 52, + "parentRowSpace": 10, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": false, + "parentColumnSpace": 8.125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 21, + "dynamicBindingPathList": [{ "key": "accentColor" }], + "labelStyle": "", + "inputType": "MULTI_LINE_TEXT", + "isDisabled": false, + "key": "om9y3ljmtt", + "validation": "true", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "6qn1qkr18d", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2, + "parentId": "re60vbuakz", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 600, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "c8fg4ubw52", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 532, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "value_modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas4", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "v8n3d5aecd", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "fh14k9y353", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon2", + "rightColumn": 64, + "onClick": "{{closeModal('value_modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "jqaazpo3zy", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "v8n3d5aecd", + "isLoading": false, + "leftColumn": 56, + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text24", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Value for Key: {{data_table.selectedRow.result}}", + "labelTextSize": "0.875rem", + "rightColumn": 54, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "hvb3xnk1u8", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "v8n3d5aecd", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button4", + "rightColumn": 64, + "onClick": "{{closeModal('value_modal')}}", + "isDefaultClickDisabled": true, + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "yka7b6k706", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "v8n3d5aecd", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 48, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "buttonColor" } + ], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Close", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text25", + "topRow": 6, + "bottomRow": 17, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "{{FetchValue.data[0].result}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "j9315vzr13", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "v8n3d5aecd", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "fh14k9y353", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Delete_Modal", + "topRow": 0, + "bottomRow": 0, + "parentRowSpace": 1, + "type": "MODAL_WIDGET", + "shouldScrollContents": true, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Canvas5", + "rightColumn": 0, + "detachFromLayout": true, + "widgetId": "lwsyaz55ll", + "topRow": 0, + "bottomRow": 240, + "parentRowSpace": 1, + "isVisible": true, + "canExtend": true, + "type": "CANVAS_WIDGET", + "version": 1, + "parentId": "0skbil3ntd", + "shouldScrollContents": false, + "minHeight": 240, + "isLoading": false, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [], + "borderRadius": "0px", + "children": [ + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Icon3", + "rightColumn": 64, + "onClick": "{{closeModal('Delete_Modal')}}", + "iconName": "cross", + "buttonColor": "#2E3D49", + "widgetId": "dtuc8ag2of", + "topRow": 1, + "bottomRow": 5, + "isVisible": true, + "type": "ICON_BUTTON_WIDGET", + "version": 1, + "parentId": "lwsyaz55ll", + "isLoading": false, + "leftColumn": 56, + "borderRadius": "0px", + "buttonVariant": "TERTIARY", + "iconSize": 24 + }, + { + "boxShadow": "none", + "widgetName": "Text26", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [], + "text": "Delete Key", + "labelTextSize": "0.875rem", + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "d9ap4dp300", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "lwsyaz55ll", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "1.5rem", + "minDynamicHeight": 4 + }, + { + "labelTextSize": "0.875rem", + "boxShadow": "none", + "widgetName": "Button6", + "onClick": "{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}", + "rightColumn": 64, + "dynamicPropertyPathList": [{ "key": "onClick" }], + "buttonColor": "#DD4B34", + "isDefaultClickDisabled": true, + "widgetId": "2kg6lmim5m", + "topRow": 18, + "bottomRow": 22, + "isVisible": true, + "type": "BUTTON_WIDGET", + "version": 1, + "recaptchaType": "V3", + "parentId": "lwsyaz55ll", + "isLoading": false, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 46, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "text": "Confirm", + "isDisabled": false + }, + { + "boxShadow": "none", + "widgetName": "Text27", + "topRow": 7, + "bottomRow": 17, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [], + "overflow": "SCROLL", + "fontFamily": "System Default", + "leftColumn": 1, + "dynamicBindingPathList": [{ "key": "text" }], + "text": "Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}", + "labelTextSize": "0.875rem", + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "c698jgkzjg", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "lwsyaz55ll", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 + }, + { + "boxShadow": "none", + "widgetName": "Button7", + "onClick": "{{closeModal('Delete_Modal')}}", + "buttonColor": "#3f3f46", + "topRow": 18, + "bottomRow": 22, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "parentColumnSpace": 6.8125, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 32, + "dynamicBindingPathList": [{ "key": "borderRadius" }], + "text": "Cancel", + "isDisabled": false, + "labelTextSize": "0.875rem", + "rightColumn": 46, + "isDefaultClickDisabled": true, + "widgetId": "lsvqrab5v2", + "isVisible": true, + "version": 1, + "recaptchaType": "V3", + "parentId": "lwsyaz55ll", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" + } + ], + "isDisabled": false + } + ], + "height": 240, + "labelTextSize": "0.875rem", + "rightColumn": 0, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "0skbil3ntd", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 + } + ] + } + } + ], + "slug": "redis", + "isHidden": false + }, + "gitSyncId": "61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc6" + } + ], + "actionCollectionList": [ + { + "deleted": false, + "publishedCollection": { + "variables": [], + "pluginType": "JS", + "pluginId": "js-plugin", + "name": "Utils", + "archivedActions": [], + "userPermissions": [], + "pageId": "Admin", + "body": "export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}", + "actions": [] + }, + "unpublishedCollection": { + "variables": [], + "pluginType": "JS", + "pluginId": "js-plugin", + "name": "Utils", + "archivedActions": [], + "userPermissions": [], + "pageId": "Admin", + "body": "export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}", + "actions": [] + }, + "id": "Admin_Utils", + "gitSyncId": "61764fbeba7e887d03bc3631_624e8fab729a2b0934685de2" + } + ], + "clientSchemaVersion": 1, + "exportedApplication": { + "publishedCustomJSLibs": [], + "applicationVersion": 2, + "color": "#D9E7FF", + "unpublishedAppLayout": { "type": "FLUID" }, + "icon": "bag", + "unpublishedCustomJSLibs": [], + "viewMode": false, + "isManualUpdate": false, + "pages": [ + { "isDefault": true, "id": "Admin" }, + { "isDefault": false, "id": "PostgreSQL" }, + { "isDefault": false, "id": "Page Generator" }, + { "isDefault": false, "id": "MongoDB" }, + { "isDefault": false, "id": "SQL" }, + { "isDefault": false, "id": "Google Sheets" }, + { "isDefault": false, "id": "Firestore" }, + { "isDefault": false, "id": "S3" }, + { "isDefault": false, "id": "Redis" } + ], + "deleted": false, + "name": "CRUD App Templates", + "appIsExample": false, + "isPublic": false, + "publishedAppLayout": { "type": "FLUID" }, + "publishedPages": [ + { "isDefault": true, "id": "Admin" }, + { "isDefault": false, "id": "PostgreSQL" }, + { "isDefault": false, "id": "Page Generator" }, + { "isDefault": false, "id": "MongoDB" }, + { "isDefault": false, "id": "SQL" }, + { "isDefault": false, "id": "Google Sheets" }, + { "isDefault": false, "id": "Firestore" }, + { "isDefault": false, "id": "S3" }, + { "isDefault": false, "id": "Redis" } + ], + "unreadCommentThreads": 0, + "slug": "crud-app-templates" + } +} diff --git a/app/server/appsmith-server/src/main/resources/examples-organization.json b/app/server/appsmith-server/src/main/resources/examples-organization.json index aef74b6b2e7a..3dfc8dcae929 100644 --- a/app/server/appsmith-server/src/main/resources/examples-organization.json +++ b/app/server/appsmith-server/src/main/resources/examples-organization.json @@ -1191,9 +1191,7 @@ ], "isValid": true, "invalids": [], - "jsonPathKeys": [ - "ordersTable.selectedRow.id" - ], + "jsonPathKeys": ["ordersTable.selectedRow.id"], "deleted": false, "policies": [], "_class": "com.appsmith.server.domains.Action" @@ -1238,9 +1236,7 @@ ], "isValid": true, "invalids": [], - "jsonPathKeys": [ - "usersTable.selectedRow.id" - ], + "jsonPathKeys": ["usersTable.selectedRow.id"], "deleted": false, "policies": [], "_class": "com.appsmith.server.domains.Action" @@ -1334,9 +1330,7 @@ ], "isValid": true, "invalids": [], - "jsonPathKeys": [ - "ordersTable.selectedRow.id" - ], + "jsonPathKeys": ["ordersTable.selectedRow.id"], "deleted": false, "policies": [], "_class": "com.appsmith.server.domains.Action" @@ -2240,10 +2234,7 @@ ] }, { - "hiddenColumns": [ - "userId", - "orderDate" - ], + "hiddenColumns": ["userId", "orderDate"], "widgetName": "ordersTable", "rightColumn": 8, "columnOrder": [ @@ -2321,10 +2312,7 @@ "type": "CANVAS_WIDGET", "props": { "detachFromLayout": true, - "children": [ - "v8531ch9d8", - "0cz98i5vmt" - ], + "children": ["v8531ch9d8", "0cz98i5vmt"], "containerStyle": "none", "canExtend": false } @@ -3661,10 +3649,7 @@ ] }, { - "hiddenColumns": [ - "userId", - "orderDate" - ], + "hiddenColumns": ["userId", "orderDate"], "widgetName": "ordersTable", "rightColumn": 8, "columnOrder": [ @@ -3742,10 +3727,7 @@ "type": "CANVAS_WIDGET", "props": { "detachFromLayout": true, - "children": [ - "v8531ch9d8", - "0cz98i5vmt" - ], + "children": ["v8531ch9d8", "0cz98i5vmt"], "containerStyle": "none", "canExtend": false } @@ -4479,9 +4461,7 @@ "containerStyle": "none", "canExtend": false, "detachFromLayout": true, - "children": [ - "6af2mwjii8" - ], + "children": ["6af2mwjii8"], "tabId": "tab1" } }, @@ -4499,10 +4479,7 @@ "containerStyle": "none", "canExtend": false, "detachFromLayout": true, - "children": [ - "bv27fj7bs5", - "6af2mwjii8" - ], + "children": ["bv27fj7bs5", "6af2mwjii8"], "tabId": "tab2" } } @@ -4669,10 +4646,7 @@ "detachFromLayout": true, "children": [ { - "hiddenColumns": [ - "description", - "actions" - ], + "hiddenColumns": ["description", "actions"], "widgetName": "ticketsTable", "rightColumn": 16, "widgetId": "472a29heor", @@ -4747,10 +4721,7 @@ "containerStyle": "none", "canExtend": false, "detachFromLayout": true, - "children": [ - "472a29heor", - "dqzd7flg31" - ] + "children": ["472a29heor", "dqzd7flg31"] } } ] @@ -4811,9 +4782,7 @@ "containerStyle": "none", "canExtend": false, "detachFromLayout": true, - "children": [ - "6af2mwjii8" - ], + "children": ["6af2mwjii8"], "tabId": "tab1" } }, @@ -4831,10 +4800,7 @@ "containerStyle": "none", "canExtend": false, "detachFromLayout": true, - "children": [ - "bv27fj7bs5", - "6af2mwjii8" - ], + "children": ["bv27fj7bs5", "6af2mwjii8"], "tabId": "tab2" } } @@ -5001,10 +4967,7 @@ "detachFromLayout": true, "children": [ { - "hiddenColumns": [ - "description", - "actions" - ], + "hiddenColumns": ["description", "actions"], "widgetName": "ticketsTable", "rightColumn": 16, "widgetId": "472a29heor", @@ -5079,10 +5042,7 @@ "containerStyle": "none", "canExtend": false, "detachFromLayout": true, - "children": [ - "472a29heor", - "dqzd7flg31" - ] + "children": ["472a29heor", "dqzd7flg31"] } } ] @@ -8363,9 +8323,7 @@ ], "isValid": true, "invalids": [], - "jsonPathKeys": [ - "appsmith.URL.queryParams.email" - ], + "jsonPathKeys": ["appsmith.URL.queryParams.email"], "deleted": false, "policies": [], "_class": "com.appsmith.server.domains.Action" @@ -9548,9 +9506,7 @@ { "name": "fetchUserByUrlParam", "pluginType": "DB", - "jsonPathKeys": [ - "appsmith.URL.queryParams.email" - ], + "jsonPathKeys": ["appsmith.URL.queryParams.email"], "timeoutInMillisecond": 10000 } ] @@ -9560,9 +9516,7 @@ { "name": "fetchUserByUrlParam", "pluginType": "DB", - "jsonPathKeys": [ - "appsmith.URL.queryParams.email" - ], + "jsonPathKeys": ["appsmith.URL.queryParams.email"], "timeoutInMillisecond": 10000 } ] @@ -9651,9 +9605,7 @@ ], "isValid": true, "invalids": [], - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 5" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 5"], "deleted": false, "policies": [], "_class": "com.appsmith.server.domains.Action" @@ -10389,9 +10341,7 @@ { "name": "getUsers", "pluginType": "DB", - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 5" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 5"], "timeoutInMillisecond": 10000 }, { @@ -10410,9 +10360,7 @@ { "name": "getUsers", "pluginType": "DB", - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 5" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 5"], "timeoutInMillisecond": 10000 }, { @@ -11049,9 +10997,7 @@ ], "isValid": true, "invalids": [], - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 10" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 10"], "deleted": false, "policies": [], "_class": "com.appsmith.server.domains.Action" @@ -11887,9 +11833,7 @@ { "name": "getUsersDrilldown", "pluginType": "DB", - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 10" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 10"], "timeoutInMillisecond": 10000 } ] @@ -11899,9 +11843,7 @@ { "name": "getUsersDrilldown", "pluginType": "DB", - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 10" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 10"], "timeoutInMillisecond": 10000 } ] @@ -11978,9 +11920,7 @@ ], "isValid": true, "invalids": [], - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 5" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 5"], "deleted": false, "policies": [], "_class": "com.appsmith.server.domains.Action" @@ -13483,9 +13423,7 @@ { "name": "getUsersToEdit", "pluginType": "DB", - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 5" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 5"], "timeoutInMillisecond": 10000 } ] @@ -13495,9 +13433,7 @@ { "name": "getUsersToEdit", "pluginType": "DB", - "jsonPathKeys": [ - "(usersTable.pageNo - 1) * 5" - ], + "jsonPathKeys": ["(usersTable.pageNo - 1) * 5"], "timeoutInMillisecond": 10000 } ] @@ -13543,4 +13479,4 @@ "_class": "com.appsmith.server.domains.Application" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java index 8cf1762d8246..efb637ff6587 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java @@ -2153,7 +2153,8 @@ public void discardChange_addNewActionCollectionAfterImport_addedActionCollectio .filter(actionDTO -> actionDTO.getId().equals(actionCollection.getId())) .collect(Collectors.toList()) .get(0); - assertThat(actionCollection.getPolicies()).isEqualTo(currentAction.getPolicies()); + assertThat(actionCollection.getPolicies()) + .containsExactlyInAnyOrderElementsOf(currentAction.getPolicies()); } }) .verifyComplete(); @@ -4936,10 +4937,12 @@ public void mergeApplicationJsonWithApplication_WhenNoPermissionToCreatePage_Fai .createApplication(testApplication, workspaceId) .flatMap(application -> { // remove page create permission from this application for current user - application.getPolicies().removeIf(policy -> policy.getPermission() - .equals(applicationPermission - .getPageCreatePermission() - .getValue())); + application.setPolicies(application.getPolicies().stream() + .filter(policy -> !policy.getPermission() + .equals(applicationPermission + .getPageCreatePermission() + .getValue())) + .collect(Collectors.toUnmodifiableSet())); return applicationRepository.save(application); }) .flatMap(application -> { @@ -4971,10 +4974,12 @@ public void extractFileAndUpdateNonGitConnectedApplication_WhenNoPermissionToCre .createApplication(testApplication, workspaceId) .flatMap(application -> { // remove page create permission from this application for current user - application.getPolicies().removeIf(policy -> policy.getPermission() - .equals(applicationPermission - .getPageCreatePermission() - .getValue())); + application.setPolicies(application.getPolicies().stream() + .filter(policy -> !policy.getPermission() + .equals(applicationPermission + .getPageCreatePermission() + .getValue())) + .collect(Collectors.toUnmodifiableSet())); return applicationRepository.save(application); }) .flatMap(application -> { diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java index 49b5eb7b31e7..3edbf8233094 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java @@ -286,10 +286,11 @@ public void publishPages_WhenUserDoesNotHavePermissionOnPages_NotPublished() { .findFirst() .get(); - firstPage - .getPolicies() - .forEach(policy -> policy.setPermission( - pagePermission.getReadPermission().getValue())); + Set pagePolicies = firstPage.getPolicies().stream() + .peek(policy -> policy.setPermission( + pagePermission.getReadPermission().getValue())) + .collect(Collectors.toUnmodifiableSet()); + firstPage.setPolicies(pagePolicies); return newPageRepository.save(firstPage).thenMany(Flux.fromIterable(savedPages)); }) .map(NewPage::getId) diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/EnvManagerTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/EnvManagerTest.java index de9bb7eebe81..05d302d4d203 100644 --- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/EnvManagerTest.java +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/EnvManagerTest.java @@ -116,25 +116,25 @@ public void setup() { @Test public void simpleSample() { final String content = - "APPSMITH_MONGODB_URI='first value'\nAPPSMITH_REDIS_URL='second value'\n\nAPPSMITH_INSTANCE_NAME='third value'"; + "APPSMITH_DB_URL='first value'\nAPPSMITH_REDIS_URL='second value'\n\nAPPSMITH_INSTANCE_NAME='third value'"; - assertThat(envManager.transformEnvContent(content, Map.of("APPSMITH_MONGODB_URI", "new first value"))) + assertThat(envManager.transformEnvContent(content, Map.of("APPSMITH_DB_URL", "new first value"))) .containsExactly( - "APPSMITH_MONGODB_URI='new first value'", + "APPSMITH_DB_URL='new first value'", "APPSMITH_REDIS_URL='second value'", "", "APPSMITH_INSTANCE_NAME='third value'"); assertThat(envManager.transformEnvContent(content, Map.of("APPSMITH_REDIS_URL", "new second value"))) .containsExactly( - "APPSMITH_MONGODB_URI='first value'", + "APPSMITH_DB_URL='first value'", "APPSMITH_REDIS_URL='new second value'", "", "APPSMITH_INSTANCE_NAME='third value'"); assertThat(envManager.transformEnvContent(content, Map.of("APPSMITH_INSTANCE_NAME", "new third value"))) .containsExactly( - "APPSMITH_MONGODB_URI='first value'", + "APPSMITH_DB_URL='first value'", "APPSMITH_REDIS_URL='second value'", "", "APPSMITH_INSTANCE_NAME='new third value'"); @@ -142,10 +142,10 @@ public void simpleSample() { assertThat(envManager.transformEnvContent( content, Map.of( - "APPSMITH_MONGODB_URI", "new first value", + "APPSMITH_DB_URL", "new first value", "APPSMITH_INSTANCE_NAME", "new third value"))) .containsExactly( - "APPSMITH_MONGODB_URI='new first value'", + "APPSMITH_DB_URL='new first value'", "APPSMITH_REDIS_URL='second value'", "", "APPSMITH_INSTANCE_NAME='new third value'"); @@ -153,43 +153,39 @@ public void simpleSample() { @Test public void emptyValues() { - final String content = - "APPSMITH_MONGODB_URI=first value\nAPPSMITH_REDIS_URL=\n\nAPPSMITH_INSTANCE_NAME=third value"; + final String content = "APPSMITH_DB_URL=first value\nAPPSMITH_REDIS_URL=\n\nAPPSMITH_INSTANCE_NAME=third value"; assertThat(envManager.transformEnvContent(content, Map.of("APPSMITH_REDIS_URL", "new second value"))) .containsExactly( - "APPSMITH_MONGODB_URI=first value", + "APPSMITH_DB_URL=first value", "APPSMITH_REDIS_URL='new second value'", "", "APPSMITH_INSTANCE_NAME=third value"); assertThat(envManager.transformEnvContent(content, Map.of("APPSMITH_REDIS_URL", ""))) .containsExactly( - "APPSMITH_MONGODB_URI=first value", - "APPSMITH_REDIS_URL=", - "", - "APPSMITH_INSTANCE_NAME=third value"); + "APPSMITH_DB_URL=first value", "APPSMITH_REDIS_URL=", "", "APPSMITH_INSTANCE_NAME=third value"); } @Test public void quotedValues() { final String content = - "APPSMITH_MONGODB_URI='first value'\nAPPSMITH_REDIS_URL=\"quoted value\"\n\nAPPSMITH_INSTANCE_NAME='third value'"; + "APPSMITH_DB_URL='first value'\nAPPSMITH_REDIS_URL=\"quoted value\"\n\nAPPSMITH_INSTANCE_NAME='third value'"; assertThat(envManager.transformEnvContent( content, Map.of( - "APPSMITH_MONGODB_URI", "new first value", + "APPSMITH_DB_URL", "new first value", "APPSMITH_REDIS_URL", "new second value"))) .containsExactly( - "APPSMITH_MONGODB_URI='new first value'", + "APPSMITH_DB_URL='new first value'", "APPSMITH_REDIS_URL='new second value'", "", "APPSMITH_INSTANCE_NAME='third value'"); assertThat(envManager.transformEnvContent(content, Map.of("APPSMITH_REDIS_URL", ""))) .containsExactly( - "APPSMITH_MONGODB_URI='first value'", + "APPSMITH_DB_URL='first value'", "APPSMITH_REDIS_URL=", "", "APPSMITH_INSTANCE_NAME='third value'"); @@ -200,7 +196,7 @@ public void quotedValues() { "APPSMITH_INSTANCE_NAME", "Sponge-bob's Instance", "APPSMITH_REDIS_URL", "value with \" char in it"))) .containsExactly( - "APPSMITH_MONGODB_URI='first value'", + "APPSMITH_DB_URL='first value'", "APPSMITH_REDIS_URL='value with \" char in it'", "", "APPSMITH_INSTANCE_NAME='Sponge-bob'\"'\"'s Instance'"); @@ -209,11 +205,10 @@ public void quotedValues() { @Test public void parseEmptyValues() { - assertThat( - envManager.parseToMap( - "APPSMITH_MONGODB_URI='first value'\nAPPSMITH_REDIS_URL=\n\nAPPSMITH_INSTANCE_NAME='third value'")) + assertThat(envManager.parseToMap( + "APPSMITH_DB_URL='first value'\nAPPSMITH_REDIS_URL=\n\nAPPSMITH_INSTANCE_NAME='third value'")) .containsExactlyInAnyOrderEntriesOf(Map.of( - "APPSMITH_MONGODB_URI", "first value", + "APPSMITH_DB_URL", "first value", "APPSMITH_REDIS_URL", "", "APPSMITH_INSTANCE_NAME", "third value")); } @@ -223,9 +218,9 @@ public void parseQuotedValues() { assertThat( envManager.parseToMap( - "APPSMITH_MONGODB_URI=first\nAPPSMITH_REDIS_URL=\"quoted value\"\n\nAPPSMITH_INSTANCE_NAME='third value'")) + "APPSMITH_DB_URL=first\nAPPSMITH_REDIS_URL=\"quoted value\"\n\nAPPSMITH_INSTANCE_NAME='third value'")) .containsExactlyInAnyOrderEntriesOf(Map.of( - "APPSMITH_MONGODB_URI", "first", + "APPSMITH_DB_URL", "first", "APPSMITH_REDIS_URL", "quoted value", "APPSMITH_INSTANCE_NAME", "third value")); @@ -245,12 +240,12 @@ public void parseTestWithEscapes() { @Test public void disallowedVariable() { final String content = - "APPSMITH_MONGODB_URI=first value\nDISALLOWED_NASTY_STUFF=\"quoted value\"\n\nAPPSMITH_INSTANCE_NAME=third value"; + "APPSMITH_DB_URL=first value\nDISALLOWED_NASTY_STUFF=\"quoted value\"\n\nAPPSMITH_INSTANCE_NAME=third value"; assertThatThrownBy(() -> envManager.transformEnvContent( content, Map.of( - "APPSMITH_MONGODB_URI", "new first value", + "APPSMITH_DB_URL", "new first value", "DISALLOWED_NASTY_STUFF", "new second value"))) .matches(value -> value instanceof AppsmithException && AppsmithError.GENERIC_BAD_REQUEST.equals(((AppsmithException) value).getError())); @@ -259,15 +254,15 @@ public void disallowedVariable() { @Test public void addNewVariable() { final String content = - "APPSMITH_MONGODB_URI='first value'\nAPPSMITH_REDIS_URL='quoted value'\n\nAPPSMITH_INSTANCE_NAME='third value'"; + "APPSMITH_DB_URL='first value'\nAPPSMITH_REDIS_URL='quoted value'\n\nAPPSMITH_INSTANCE_NAME='third value'"; assertThat(envManager.transformEnvContent( content, Map.of( - "APPSMITH_MONGODB_URI", "new first value", + "APPSMITH_DB_URL", "new first value", "APPSMITH_DISABLE_TELEMETRY", "false"))) .containsExactly( - "APPSMITH_MONGODB_URI='new first value'", + "APPSMITH_DB_URL='new first value'", "APPSMITH_REDIS_URL='quoted value'", "", "APPSMITH_INSTANCE_NAME='third value'", @@ -277,15 +272,15 @@ public void addNewVariable() { @Test public void setValueWithQuotes() { final String content = - "APPSMITH_MONGODB_URI='first value'\nAPPSMITH_REDIS_URL='quoted value'\n\nAPPSMITH_INSTANCE_NAME='third value'"; + "APPSMITH_DB_URL='first value'\nAPPSMITH_REDIS_URL='quoted value'\n\nAPPSMITH_INSTANCE_NAME='third value'"; assertThat(envManager.transformEnvContent( content, Map.of( - "APPSMITH_MONGODB_URI", "'just quotes'", + "APPSMITH_DB_URL", "'just quotes'", "APPSMITH_DISABLE_TELEMETRY", "some quotes 'inside' it"))) .containsExactly( - "APPSMITH_MONGODB_URI=\"'\"'just quotes'\"'\"", + "APPSMITH_DB_URL=\"'\"'just quotes'\"'\"", "APPSMITH_REDIS_URL='quoted value'", "", "APPSMITH_INSTANCE_NAME='third value'", @@ -310,7 +305,7 @@ public void setEnv_AndGetAll() { EnvManager envManagerInner = Mockito.mock(EnvManagerImpl.class); Map envs = new HashMap<>(); - envs.put("APPSMITH_MONGODB_URI", "mongo-url"); + envs.put("APPSMITH_DB_URL", "mongo-url"); envs.put("APPSMITH_DISABLE_TELEMETRY", ""); Mockito.when(envManagerInner.getAll()).thenReturn(Mono.just(envs)); diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ce/PolicySolutionCEImplTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ce/PolicySolutionCEImplTest.java new file mode 100644 index 000000000000..8adbefd23b62 --- /dev/null +++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ce/PolicySolutionCEImplTest.java @@ -0,0 +1,97 @@ +package com.appsmith.server.solutions.ce; + +import com.appsmith.external.models.BaseDomain; +import com.appsmith.external.models.Policy; +import com.appsmith.server.solutions.PolicySolution; +import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.context.SpringBootTest; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertSame; +import static org.junit.jupiter.api.Assertions.assertTrue; + +@SpringBootTest +public class PolicySolutionCEImplTest { + + @Autowired + private PolicySolution policySolution; + + private static class TestClass extends BaseDomain { + TestClass(Set policies) { + Map policyMap = new HashMap<>(); + policies.forEach(p -> policyMap.put(p.getPermission(), p)); + this.setPolicyMap(policyMap); + } + + TestClass() {} + } + + @Test + void testAddNewPoliciesToEmptyObject() { + BaseDomain obj = new TestClass(); // Assuming BaseDomain has a default empty set of policies. + Map policyMap = new HashMap<>(); + policyMap.put("read", new Policy("read", new HashSet<>(Set.of("group1")))); + + BaseDomain result = policySolution.addPoliciesToExistingObject(policyMap, obj); + + assertTrue(result.getPolicies().containsAll(policyMap.values())); + } + + @Test + void testMergePoliciesWithExistingOnes() { + Set existingPolicies = new HashSet<>(); + existingPolicies.add(new Policy("read", new HashSet<>(Set.of("group1")))); + BaseDomain obj = new TestClass(existingPolicies); + + Map policyMap = new HashMap<>(); + policyMap.put("read", new Policy("read", new HashSet<>(Set.of("group2")))); + policyMap.put("write", new Policy("write", new HashSet<>(Set.of("group1")))); + + BaseDomain result = policySolution.addPoliciesToExistingObject(policyMap, obj); + + assertEquals(2, result.getPolicies().size()); + assertTrue(result.getPolicies().stream() + .anyMatch(p -> p.getPermission().equals("read") + && p.getPermissionGroups().containsAll(Set.of("group1", "group2")))); + assertTrue(result.getPolicies().stream() + .anyMatch(p -> p.getPermission().equals("write") + && p.getPermissionGroups().contains("group1"))); + } + + @Test + void testOriginalPolicyMapNotModified() { + Set existingPolicies = new HashSet<>(); + existingPolicies.add(new Policy("read", new HashSet<>(Set.of("group1")))); + BaseDomain obj = new TestClass(existingPolicies); + Map originalPolicyMap = new HashMap<>(); + originalPolicyMap.put("read", new Policy("read", new HashSet<>(Set.of("group2")))); + + Map policyMapToPass = new HashMap<>(originalPolicyMap); + BaseDomain result = policySolution.addPoliciesToExistingObject(policyMapToPass, obj); + + assertEquals(originalPolicyMap, policyMapToPass); + assertTrue(originalPolicyMap.values().stream() + .anyMatch(p -> p.getPermission().equals("read") + && p.getPermissionGroups().contains("group2"))); + assertTrue(result.getPolicies().stream() + .anyMatch(p -> p.getPermission().equals("read") + && p.getPermissionGroups().containsAll(Set.of("group1", "group2")))); + } + + @Test + void testReturnModifiedObject() { + BaseDomain obj = new TestClass(); + Map policyMap = new HashMap<>(); + policyMap.put("read", new Policy("read", new HashSet<>(Set.of("group1")))); + + BaseDomain result = policySolution.addPoliciesToExistingObject(policyMap, obj); + + assertSame(obj, result); + } +} diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/application.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/application.json index b03aad4744f6..840989b2066d 100644 --- a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/application.json +++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/application.json @@ -104,9 +104,7 @@ { "name": "AWS", "uidString": "AWS_https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js", - "accessor": [ - "AWS" - ], + "accessor": ["AWS"], "url": "https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js", "version": "", "defs": "{\"!name\":\"LIB/AWS\",\"AWS\":{\"util\":{\"environment\":{\"!type\":\"string\"},\"engine\":{\"!type\":\"fn()\",\"prototype\":{}},\"userAgent\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscape\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscapePath\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlFormat\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryStringParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryParamsToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"readFileSync\":{\"!type\":\"fn()\",\"prototype\":{}},\"base64\":{\"encode\":{},\"decode\":{}},\"buffer\":{\"toStream\":{},\"concat\":{}},\"string\":{\"byteLength\":{},\"upperFirst\":{},\"lowerFirst\":{}},\"ini\":{\"parse\":{}},\"fn\":{\"noop\":{},\"callback\":{},\"makeAsync\":{}},\"date\":{\"getDate\":{},\"iso8601\":{},\"rfc822\":{},\"unixTimestamp\":{},\"from\":{},\"format\":{},\"parseTimestamp\":{}},\"crypto\":{\"crc32Table\":{},\"crc32\":{},\"hmac\":{},\"md5\":{},\"sha256\":{},\"hash\":{},\"toHex\":{},\"createHash\":{},\"lib\":{}},\"abort\":{},\"each\":{\"!type\":\"fn()\",\"prototype\":{}},\"arrayEach\":{\"!type\":\"fn()\",\"prototype\":{}},\"update\":{\"!type\":\"fn()\",\"prototype\":{}},\"merge\":{\"!type\":\"fn()\",\"prototype\":{}},\"copy\":{\"!type\":\"fn()\",\"prototype\":{}},\"isEmpty\":{\"!type\":\"fn()\",\"prototype\":{}},\"arraySliceFn\":{\"!type\":\"fn()\",\"prototype\":{}},\"isType\":{\"!type\":\"fn()\",\"prototype\":{}},\"typeName\":{\"!type\":\"fn()\",\"prototype\":{}},\"error\":{\"!type\":\"fn()\",\"prototype\":{}},\"inherit\":{\"!type\":\"fn()\",\"prototype\":{}},\"mixin\":{\"!type\":\"fn()\",\"prototype\":{}},\"hideProperties\":{\"!type\":\"fn()\",\"prototype\":{}},\"property\":{\"!type\":\"fn()\",\"prototype\":{}},\"memoizedProperty\":{\"!type\":\"fn()\",\"prototype\":{}},\"hoistPayloadMember\":{\"!type\":\"fn()\",\"prototype\":{}},\"computeSha256\":{\"!type\":\"fn()\",\"prototype\":{}},\"isClockSkewed\":{\"!type\":\"fn()\",\"prototype\":{}},\"applyClockOffset\":{\"!type\":\"fn()\",\"prototype\":{}},\"extractRequestId\":{\"!type\":\"fn()\",\"prototype\":{}},\"addPromises\":{\"!type\":\"fn()\",\"prototype\":{}},\"promisifyMethod\":{\"!type\":\"fn()\",\"prototype\":{}},\"isDualstackAvailable\":{\"!type\":\"fn()\",\"prototype\":{}},\"calculateRetryDelay\":{\"!type\":\"fn()\",\"prototype\":{}},\"handleRequestWithRetries\":{\"!type\":\"fn()\",\"prototype\":{}},\"uuid\":{\"v4\":{}},\"convertPayloadToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"defer\":{\"!type\":\"fn()\",\"prototype\":{}},\"defaultProfile\":{\"!type\":\"string\"},\"configOptInEnv\":{\"!type\":\"string\"},\"sharedCredentialsFileEnv\":{\"!type\":\"string\"},\"sharedConfigFileEnv\":{\"!type\":\"string\"},\"imdsDisabledEnv\":{\"!type\":\"string\"},\"Buffer\":{\"!type\":\"fn()\",\"prototype\":{},\"TYPED_ARRAY_SUPPORT\":{},\"poolSize\":{},\"_augment\":{},\"from\":{},\"alloc\":{},\"allocUnsafe\":{},\"allocUnsafeSlow\":{},\"isBuffer\":{},\"compare\":{},\"isEncoding\":{},\"concat\":{},\"byteLength\":{}},\"url\":{\"parse\":{},\"resolve\":{},\"resolveObject\":{},\"format\":{},\"Url\":{}},\"querystring\":{\"parse\":{},\"decode\":{},\"stringify\":{},\"encode\":{}},\"realClock\":{\"now\":{}},\"createEventStream\":{\"!type\":\"fn()\",\"prototype\":{}},\"isBrowser\":{\"!type\":\"fn()\",\"prototype\":{}},\"isNode\":{\"!type\":\"fn()\",\"prototype\":{}}},\"VERSION\":{\"!type\":\"string\"},\"Signers\":{\"RequestSigner\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getVersion\":{}},\"V2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3Https\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V4\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Presign\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}}},\"Protocol\":{\"Json\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Query\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Rest\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{},\"generateURI\":{}},\"RestJson\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"RestXml\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}}},\"XML\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"JSON\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"Model\":{\"Api\":{\"!type\":\"fn()\",\"prototype\":{}},\"Operation\":{\"!type\":\"fn()\",\"prototype\":{}},\"Shape\":{\"!type\":\"fn()\",\"prototype\":{},\"normalizedTypes\":{},\"types\":{},\"resolve\":{},\"create\":{},\"shapes\":{}},\"Paginator\":{\"!type\":\"fn()\",\"prototype\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{}}},\"apiLoader\":{\"!type\":\"fn()\",\"prototype\":{},\"services\":{\"sts\":{},\"cognitoidentity\":{},\"acm\":{},\"apigateway\":{},\"applicationautoscaling\":{},\"autoscaling\":{},\"cloudformation\":{},\"cloudfront\":{},\"cloudhsm\":{},\"cloudtrail\":{},\"cloudwatch\":{},\"cloudwatchevents\":{},\"cloudwatchlogs\":{},\"codebuild\":{},\"codecommit\":{},\"codedeploy\":{},\"codepipeline\":{},\"cognitoidentityserviceprovider\":{},\"cognitosync\":{},\"configservice\":{},\"cur\":{},\"devicefarm\":{},\"directconnect\":{},\"dynamodb\":{},\"dynamodbstreams\":{},\"ec2\":{},\"ecr\":{},\"ecs\":{},\"efs\":{},\"elasticache\":{},\"elasticbeanstalk\":{},\"elb\":{},\"elbv2\":{},\"emr\":{},\"elastictranscoder\":{},\"firehose\":{},\"gamelift\":{},\"inspector\":{},\"iot\":{},\"iotdata\":{},\"kinesis\":{},\"kms\":{},\"lambda\":{},\"lexruntime\":{},\"machinelearning\":{},\"marketplacecommerceanalytics\":{},\"mturk\":{},\"mobileanalytics\":{},\"opsworks\":{},\"polly\":{},\"rds\":{},\"redshift\":{},\"rekognition\":{},\"route53\":{},\"route53domains\":{},\"s3\":{},\"servicecatalog\":{},\"ses\":{},\"sns\":{},\"sqs\":{},\"ssm\":{},\"storagegateway\":{},\"waf\":{},\"workdocs\":{},\"lexmodelbuildingservice\":{},\"pricing\":{},\"mediastoredata\":{},\"comprehend\":{},\"kinesisvideoarchivedmedia\":{},\"kinesisvideomedia\":{},\"kinesisvideo\":{},\"translate\":{},\"secretsmanager\":{}}},\"EndpointCache\":{\"!type\":\"fn()\",\"prototype\":{\"size\":{}},\"getKeyString\":{}},\"SequentialExecutor\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Service\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defineMethods\":{},\"defineService\":{},\"addVersions\":{},\"defineServiceApi\":{},\"hasService\":{},\"addDefaultMonitoringListeners\":{},\"_serviceMap\":{}},\"Credentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"CredentialProviderChain\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defaultProviders\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Config\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"config\":{\"credentials\":{},\"credentialProvider\":{},\"region\":{},\"logger\":{},\"apiVersions\":{},\"apiVersion\":{},\"endpoint\":{},\"httpOptions\":{},\"maxRetries\":{},\"maxRedirects\":{},\"paramValidation\":{},\"sslEnabled\":{},\"s3ForcePathStyle\":{},\"s3BucketEndpoint\":{},\"s3DisableBodySigning\":{},\"computeChecksums\":{},\"convertResponseTypes\":{},\"correctClockSkew\":{},\"customUserAgent\":{},\"dynamoDbCrc32\":{},\"systemClockOffset\":{},\"signatureVersion\":{},\"signatureCache\":{},\"retryDelayOptions\":{},\"useAccelerateEndpoint\":{},\"clientSideMonitoring\":{},\"endpointDiscoveryEnabled\":{},\"endpointCacheSize\":{},\"hostPrefixEnabled\":{},\"getCredentials\":{},\"update\":{},\"loadFromPath\":{},\"clear\":{},\"set\":{},\"keys\":{},\"extractCredentials\":{},\"setPromisesDependency\":{},\"getPromisesDependency\":{}},\"Endpoint\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpRequest\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpResponse\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getInstance\":{},\"streamsApiVersion\":{}},\"EventListeners\":{\"Core\":{},\"CorePost\":{},\"Logger\":{},\"Json\":{},\"Rest\":{},\"RestJson\":{},\"RestXml\":{},\"Query\":{}},\"Request\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Response\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ParamValidator\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"events\":{\"_events\":{},\"listeners\":{},\"on\":{},\"onAsync\":{},\"removeListener\":{},\"removeAllListeners\":{},\"emit\":{},\"callListeners\":{},\"addListeners\":{},\"addNamedListener\":{},\"addNamedAsyncListener\":{},\"addNamedListeners\":{},\"addListener\":{}},\"endpointCache\":{\"maxSize\":{},\"cache\":{},\"size\":{},\"put\":{},\"get\":{},\"populateValue\":{},\"empty\":{},\"remove\":{}},\"STS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"TemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ChainableTemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"WebIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"CognitoIdentity\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"SAMLCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"XHRClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ACM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"APIGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ApplicationAutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"AutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFormation\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFront\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"CloudHSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudTrail\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatch\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchEvents\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchLogs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeBuild\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeCommit\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeDeploy\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodePipeline\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityServiceProvider\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoSync\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ConfigService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CUR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DeviceFarm\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DirectConnect\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DynamoDB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Converter\":{},\"DocumentClient\":{}},\"DynamoDBStreams\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EC2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EFS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElastiCache\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticBeanstalk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELBv2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EMR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticTranscoder\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Firehose\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"GameLift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Inspector\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Iot\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"IotData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Kinesis\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KMS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Lambda\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexRuntime\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MachineLearning\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MarketplaceCommerceAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MTurk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MobileAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"OpsWorks\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Polly\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Presigner\":{}},\"RDS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"Redshift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Rekognition\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53Domains\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"ManagedUpload\":{}},\"ServiceCatalog\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SES\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SNS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SQS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"StorageGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WAF\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WorkDocs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexModelBuildingService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Pricing\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MediaStoreData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Comprehend\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoArchivedMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideo\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Translate\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SecretsManager\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}}}}", @@ -117,9 +115,7 @@ { "name": "uuidjs", "uidString": "UUID_https://cdn.jsdelivr.net/npm/uuidjs@4.2.12/src/uuid.min.js", - "accessor": [ - "UUID" - ], + "accessor": ["UUID"], "url": "https://cdn.jsdelivr.net/npm/uuidjs@4.2.12/src/uuid.min.js", "version": "4.2.12", "defs": "{\"!name\":\"LIB/UUID\",\"UUID\":{\"!type\":\"fn()\",\"prototype\":{\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"generate\":{\"!type\":\"fn()\",\"prototype\":{}},\"_getRandomInt\":{\"!type\":\"fn()\",\"prototype\":{}},\"_hexAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"overwrittenUUID\":{\"!type\":\"?\"},\"useMathRandom\":{\"!type\":\"fn()\",\"prototype\":{}},\"FIELD_NAMES\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"FIELD_SIZES\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"genV4\":{\"!type\":\"fn()\",\"prototype\":{}},\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"_binAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"NIL\":{\"intFields\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"timeLow\":{\"!type\":\"number\"},\"timeMid\":{\"!type\":\"number\"},\"timeHiAndVersion\":{\"!type\":\"number\"},\"clockSeqHiAndReserved\":{\"!type\":\"number\"},\"clockSeqLow\":{\"!type\":\"number\"},\"node\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"bitFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"hexFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"version\":{\"!type\":\"number\"},\"bitString\":{\"!type\":\"string\"},\"hexNoDelim\":{\"!type\":\"string\"},\"hexString\":{\"!type\":\"string\"},\"urn\":{\"!type\":\"string\"},\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"genV1\":{\"!type\":\"fn()\",\"prototype\":{}},\"resetState\":{\"!type\":\"fn()\",\"prototype\":{}},\"_tsRatio\":{\"!type\":\"number\"},\"_state\":{\"!type\":\"?\"},\"_getTimeFieldValues\":{\"!type\":\"fn()\",\"prototype\":{}}}}", @@ -130,9 +126,7 @@ { "name": "@amplitude/analytics-browser", "uidString": "amplitude_https://cdn.jsdelivr.net/npm/@amplitude/analytics-browser@1.6.1/lib/scripts/amplitude-min.umd.js", - "accessor": [ - "amplitude" - ], + "accessor": ["amplitude"], "url": "https://cdn.jsdelivr.net/npm/@amplitude/analytics-browser@1.6.1/lib/scripts/amplitude-min.umd.js", "version": "1.6.1", "defs": "{\"!name\":\"LIB/amplitude\",\"amplitude\":{\"Identify\":{\"!type\":\"fn()\",\"prototype\":{}},\"Revenue\":{\"!type\":\"fn()\",\"prototype\":{}},\"Types\":{\"ServerZone\":{},\"SpecialEventType\":{},\"IdentifyOperation\":{},\"RevenueProperty\":{},\"LogLevel\":{},\"PluginType\":{},\"Status\":{},\"TransportType\":{}},\"add\":{},\"createInstance\":{},\"flush\":{},\"getDeviceId\":{},\"getSessionId\":{},\"getUserId\":{},\"groupIdentify\":{},\"identify\":{},\"init\":{},\"logEvent\":{},\"remove\":{},\"reset\":{},\"revenue\":{},\"runQueuedFunctions\":{},\"setDeviceId\":{},\"setGroup\":{},\"setOptOut\":{},\"setSessionId\":{},\"setTransport\":{},\"setUserId\":{},\"track\":{},\"__esModule\":{}}}", @@ -143,9 +137,7 @@ { "name": "jsonwebtoken", "uidString": "jsonwebtoken_/libraries/jsonwebtoken@8.5.1.js", - "accessor": [ - "jsonwebtoken" - ], + "accessor": ["jsonwebtoken"], "url": "/libraries/jsonwebtoken@8.5.1.js", "version": "8.5.1", "defs": "{\"!name\":\"LIB/jsonwebtoken\",\"jsonwebtoken\":{\"decode\":{\"!type\":\"fn()\",\"prototype\":{}},\"verify\":{\"!type\":\"fn()\",\"prototype\":{}},\"sign\":{\"!type\":\"fn()\",\"prototype\":{}},\"JsonWebTokenError\":{\"!type\":\"fn()\",\"prototype\":{\"toString\":{\"!type\":\"fn()\"},\"message\":{\"!type\":\"string\"},\"stack\":{\"!type\":\"string\"}}},\"NotBeforeError\":{\"!type\":\"fn()\",\"prototype\":{}},\"TokenExpiredError\":{\"!type\":\"fn()\",\"prototype\":{}}}}", @@ -156,9 +148,7 @@ { "name": "xmlParser", "uidString": "xmlParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js", - "accessor": [ - "xmlParser" - ], + "accessor": ["xmlParser"], "url": "https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js", "version": "3.17.5", "defs": "{\"!name\":\"LIB/xmlParser\",\"xmlParser\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertTonimn\":{\"!type\":\"fn()\",\"prototype\":{}},\"getTraversalObj\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJson\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJsonString\":{\"!type\":\"fn()\",\"prototype\":{}},\"validate\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2xParser\":{\"!type\":\"fn()\",\"prototype\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2x\":{\"!type\":\"fn()\",\"prototype\":{}}}},\"parseToNimn\":{\"!type\":\"fn()\",\"prototype\":{}}}}", @@ -199,11 +189,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 5, "bottomRow": 19, "parentRowSpace": 10, @@ -289,11 +275,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 5, "bottomRow": 19, "parentRowSpace": 10, @@ -383,11 +365,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, @@ -473,11 +451,7 @@ "widgetName": "Text6Copy", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -578,10 +552,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -888,10 +859,7 @@ "widgetName": "Text2Copy1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 51, "bottomRow": 67, "parentRowSpace": 10, @@ -1018,9 +986,7 @@ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg", "tooltipAlwaysOn": false, "labelText": "Refresh duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 77, "bottomRow": 81, "parentRowSpace": 10, @@ -1070,11 +1036,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 9, "bottomRow": 16, "parentRowSpace": 10, @@ -1136,10 +1098,7 @@ ], "displayName": "Button", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 2, "bottomRow": 6, "parentRowSpace": 10, @@ -1262,10 +1221,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -1363,12 +1319,7 @@ }, "widgetName": "Table2Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 46, @@ -1525,12 +1476,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table1Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -1805,12 +1751,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table2", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -2218,11 +2159,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -2355,11 +2292,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, @@ -2445,11 +2378,7 @@ "widgetName": "Text6Copy", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -2550,10 +2479,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -2860,10 +2786,7 @@ "widgetName": "Text2Copy1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 51, "bottomRow": 67, "parentRowSpace": 10, @@ -2990,9 +2913,7 @@ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg", "tooltipAlwaysOn": false, "labelText": "Refresh duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 77, "bottomRow": 81, "parentRowSpace": 10, @@ -3042,11 +2963,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 9, "bottomRow": 16, "parentRowSpace": 10, @@ -3108,10 +3025,7 @@ ], "displayName": "Button", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 2, "bottomRow": 6, "parentRowSpace": 10, @@ -3234,10 +3148,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -3335,12 +3246,7 @@ }, "widgetName": "Table2Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 46, @@ -3497,12 +3403,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table1Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -3777,12 +3678,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table2", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -4190,11 +4086,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -4265,9 +4157,7 @@ "name": "petImages", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "appsmith.store.imageApi" - ], + "jsonPathKeys": ["appsmith.store.imageApi"], "timeoutInMillisecond": 10000 } ], @@ -4277,9 +4167,7 @@ "name": "petFacts", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "appsmith.store.factsApi" - ], + "jsonPathKeys": ["appsmith.store.factsApi"], "timeoutInMillisecond": 10000 } ] @@ -4334,11 +4222,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 1, "bottomRow": 59, "parentRowSpace": 10, @@ -4390,10 +4274,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -4427,11 +4308,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 50, "bottomRow": 55, "parentRowSpace": 10, @@ -4540,11 +4417,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 13, "bottomRow": 46, "parentRowSpace": 10, @@ -4646,10 +4519,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, @@ -4701,9 +4571,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "pick countdown duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 15, "bottomRow": 22, "parentRowSpace": 10, @@ -4751,9 +4619,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "select a number you want to countdown from", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 7, "bottomRow": 15, "parentRowSpace": 10, @@ -4941,11 +4807,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 64, "bottomRow": 122, "parentRowSpace": 10, @@ -4997,10 +4859,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -5081,11 +4940,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 20, "bottomRow": 24, "parentRowSpace": 10, @@ -5203,11 +5058,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 1, "bottomRow": 59, "parentRowSpace": 10, @@ -5259,10 +5110,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -5296,11 +5144,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 50, "bottomRow": 55, "parentRowSpace": 10, @@ -5409,11 +5253,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 13, "bottomRow": 46, "parentRowSpace": 10, @@ -5515,10 +5355,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, @@ -5570,9 +5407,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "pick countdown duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 15, "bottomRow": 22, "parentRowSpace": 10, @@ -5620,9 +5455,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "select a number you want to countdown from", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 7, "bottomRow": 15, "parentRowSpace": 10, @@ -5810,11 +5643,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 64, "bottomRow": 122, "parentRowSpace": 10, @@ -5866,10 +5695,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -5950,11 +5776,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 20, "bottomRow": 24, "parentRowSpace": 10, @@ -6109,9 +5931,7 @@ ], "displayName": "Checkbox", "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", - "searchTags": [ - "boolean" - ], + "searchTags": ["boolean"], "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, @@ -6181,10 +6001,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 12, "parentRowSpace": 10, @@ -6271,10 +6088,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 16, "parentRowSpace": 10, @@ -6408,9 +6222,7 @@ "displayName": "Category Slider", "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 18, "bottomRow": 26, "parentRowSpace": 10, @@ -6480,11 +6292,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 27, "bottomRow": 40, "parentRowSpace": 10, @@ -6540,10 +6348,7 @@ ], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 4, "bottomRow": 11, "parentRowSpace": 10, @@ -6592,11 +6397,7 @@ ], "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -6680,12 +6481,7 @@ ], "displayName": "Audio", "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", - "searchTags": [ - "mp3", - "sound", - "wave", - "player" - ], + "searchTags": ["mp3", "sound", "wave", "player"], "topRow": 44, "bottomRow": 48, "parentRowSpace": 10, @@ -6820,16 +6616,10 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 65, "columnUpdatedAt": 1676634128648, - "defaultSelectedRowIndices": [ - 0 - ], + "defaultSelectedRowIndices": [0], "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "task", - "status", - "action" - ], + "columnOrder": ["task", "status", "action"], "dynamicPropertyPathList": [ { "key": "cellBackground" @@ -7020,9 +6810,7 @@ ], "displayName": "Checkbox", "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", - "searchTags": [ - "boolean" - ], + "searchTags": ["boolean"], "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, @@ -7092,10 +6880,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 12, "parentRowSpace": 10, @@ -7182,10 +6967,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 16, "parentRowSpace": 10, @@ -7319,9 +7101,7 @@ "displayName": "Category Slider", "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 18, "bottomRow": 26, "parentRowSpace": 10, @@ -7391,11 +7171,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 27, "bottomRow": 40, "parentRowSpace": 10, @@ -7451,10 +7227,7 @@ ], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 4, "bottomRow": 11, "parentRowSpace": 10, @@ -7503,11 +7276,7 @@ ], "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -7591,12 +7360,7 @@ ], "displayName": "Audio", "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", - "searchTags": [ - "mp3", - "sound", - "wave", - "player" - ], + "searchTags": ["mp3", "sound", "wave", "player"], "topRow": 44, "bottomRow": 48, "parentRowSpace": 10, @@ -7731,16 +7495,10 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 65, "columnUpdatedAt": 1676634128648, - "defaultSelectedRowIndices": [ - 0 - ], + "defaultSelectedRowIndices": [0], "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "task", - "status", - "action" - ], + "columnOrder": ["task", "status", "action"], "dynamicPropertyPathList": [ { "key": "cellBackground" @@ -7934,11 +7692,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 66, "bottomRow": 140, "parentRowSpace": 10, @@ -7989,11 +7743,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 31, "bottomRow": 42, "parentRowSpace": 10, @@ -8196,10 +7946,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -8245,10 +7992,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -8372,10 +8116,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 24, "bottomRow": 29, "parentRowSpace": 10, @@ -8422,10 +8163,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 19, "bottomRow": 24, "parentRowSpace": 10, @@ -8472,10 +8210,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -8558,10 +8293,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, @@ -8669,9 +8401,7 @@ ], "displayName": "DatePicker", "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg", - "searchTags": [ - "calendar" - ], + "searchTags": ["calendar"], "topRow": 49, "bottomRow": 53, "shortcuts": true, @@ -8728,9 +8458,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 54, "bottomRow": 58, "parentRowSpace": 10, @@ -8788,9 +8516,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 59, "bottomRow": 63, "parentRowSpace": 10, @@ -8846,9 +8572,7 @@ "widgetName": "RadioGroup", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 64, "bottomRow": 72, "parentRowSpace": 10, @@ -9101,12 +8825,7 @@ }, "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 48, @@ -9442,10 +9161,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -9485,9 +9201,7 @@ "widgetName": "RadioGroup1", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 23, "bottomRow": 32, "parentRowSpace": 10, @@ -9562,11 +9276,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -9672,11 +9382,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 66, "bottomRow": 140, "parentRowSpace": 10, @@ -9727,11 +9433,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 31, "bottomRow": 42, "parentRowSpace": 10, @@ -9934,10 +9636,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -9983,10 +9682,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -10110,10 +9806,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 24, "bottomRow": 29, "parentRowSpace": 10, @@ -10160,10 +9853,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 19, "bottomRow": 24, "parentRowSpace": 10, @@ -10210,10 +9900,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -10296,10 +9983,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, @@ -10407,9 +10091,7 @@ ], "displayName": "DatePicker", "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg", - "searchTags": [ - "calendar" - ], + "searchTags": ["calendar"], "topRow": 49, "bottomRow": 53, "shortcuts": true, @@ -10466,9 +10148,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 54, "bottomRow": 58, "parentRowSpace": 10, @@ -10526,9 +10206,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 59, "bottomRow": 63, "parentRowSpace": 10, @@ -10584,9 +10262,7 @@ "widgetName": "RadioGroup", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 64, "bottomRow": 72, "parentRowSpace": 10, @@ -10839,12 +10515,7 @@ }, "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 48, @@ -11180,10 +10851,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -11223,9 +10891,7 @@ "widgetName": "RadioGroup1", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 23, "bottomRow": 32, "parentRowSpace": 10, @@ -11300,11 +10966,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -11501,10 +11163,7 @@ "widgetName": "CurrencyInput1", "displayName": "Currency Input", "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "topRow": 6, "bottomRow": 13, "defaultCurrencyCode": "USD", @@ -11562,10 +11221,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, @@ -11600,9 +11256,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 17, @@ -11620,11 +11274,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -11666,10 +11316,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -11696,9 +11343,7 @@ "isVisible": true, "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -11712,11 +11357,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -11752,10 +11393,7 @@ "textColor": "#231F20", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -11775,10 +11413,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -11807,9 +11442,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -11828,10 +11461,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -11860,9 +11490,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -11903,9 +11531,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -11961,10 +11587,7 @@ "widgetName": "CurrencyInput1", "displayName": "Currency Input", "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "topRow": 6, "bottomRow": 13, "defaultCurrencyCode": "USD", @@ -12022,10 +11645,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, @@ -12060,9 +11680,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 17, @@ -12080,11 +11698,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -12126,10 +11740,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -12156,9 +11767,7 @@ "isVisible": true, "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -12172,11 +11781,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -12212,10 +11817,7 @@ "textColor": "#231F20", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -12235,10 +11837,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -12267,9 +11866,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -12288,10 +11885,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -12320,9 +11914,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -12363,9 +11955,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -12476,10 +12066,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -12570,9 +12157,7 @@ "displayName": "Select", "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", "labelText": "Pick an astronaut to display their information", - "searchTags": [ - "dropdown" - ], + "searchTags": ["dropdown"], "topRow": 8, "bottomRow": 15, "parentRowSpace": 10, @@ -14236,9 +13821,7 @@ "widgetName": "Iframe2", "displayName": "Iframe", "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg", - "searchTags": [ - "embed" - ], + "searchTags": ["embed"], "topRow": 17, "bottomRow": 37, "parentRowSpace": 10, @@ -14376,11 +13959,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 17, "bottomRow": 24, "parentRowSpace": 10, @@ -14511,11 +14090,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 75, "bottomRow": 89, "parentRowSpace": 10, @@ -14572,10 +14147,7 @@ ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 9, "bottomRow": 14, "parentRowSpace": 10, @@ -14619,9 +14191,7 @@ ], "displayName": "Progress", "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg", - "searchTags": [ - "percent" - ], + "searchTags": ["percent"], "topRow": 81, "bottomRow": 85, "parentRowSpace": 10, @@ -14656,9 +14226,7 @@ "widgetName": "Rating1", "displayName": "Rating", "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg", - "searchTags": [ - "stars" - ], + "searchTags": ["stars"], "topRow": 86, "bottomRow": 90, "parentRowSpace": 10, @@ -14701,11 +14269,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 91, "bottomRow": 119, "parentRowSpace": 10, @@ -14871,10 +14435,7 @@ } ], "displayName": "Currency Input", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, @@ -14914,10 +14475,7 @@ ], "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, @@ -14991,11 +14549,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15033,10 +14587,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15071,11 +14622,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15126,10 +14673,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15172,10 +14716,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15252,11 +14793,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15299,10 +14836,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15337,11 +14871,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15392,10 +14922,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15438,10 +14965,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15519,11 +15043,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15561,10 +15081,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15599,11 +15116,7 @@ "widgetName": "Text8", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15654,10 +15167,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15700,10 +15210,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15780,11 +15287,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15822,10 +15325,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15860,11 +15360,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15915,10 +15411,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15961,10 +15454,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16046,11 +15536,7 @@ ], "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -16093,10 +15579,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -16131,11 +15614,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -16186,10 +15665,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16232,10 +15708,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16313,11 +15786,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -16355,10 +15824,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -16393,11 +15859,7 @@ "widgetName": "Text11", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -16448,10 +15910,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16494,10 +15953,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16574,10 +16030,7 @@ "dynamicPropertyPathList": [], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 160, "bottomRow": 167, "parentRowSpace": 10, @@ -16658,9 +16111,7 @@ "name": "filteredAstronauts_really_long", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "timeoutInMillisecond": 10000 } ] @@ -16759,10 +16210,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -16853,9 +16301,7 @@ "displayName": "Select", "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", "labelText": "Pick an astronaut to display their information", - "searchTags": [ - "dropdown" - ], + "searchTags": ["dropdown"], "topRow": 8, "bottomRow": 15, "parentRowSpace": 10, @@ -18519,9 +17965,7 @@ "widgetName": "Iframe2", "displayName": "Iframe", "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg", - "searchTags": [ - "embed" - ], + "searchTags": ["embed"], "topRow": 17, "bottomRow": 37, "parentRowSpace": 10, @@ -18659,11 +18103,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 17, "bottomRow": 24, "parentRowSpace": 10, @@ -18794,11 +18234,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 75, "bottomRow": 89, "parentRowSpace": 10, @@ -18855,10 +18291,7 @@ ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 9, "bottomRow": 14, "parentRowSpace": 10, @@ -18902,9 +18335,7 @@ ], "displayName": "Progress", "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg", - "searchTags": [ - "percent" - ], + "searchTags": ["percent"], "topRow": 81, "bottomRow": 85, "parentRowSpace": 10, @@ -18939,9 +18370,7 @@ "widgetName": "Rating1", "displayName": "Rating", "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg", - "searchTags": [ - "stars" - ], + "searchTags": ["stars"], "topRow": 86, "bottomRow": 90, "parentRowSpace": 10, @@ -18984,11 +18413,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 91, "bottomRow": 119, "parentRowSpace": 10, @@ -19154,10 +18579,7 @@ } ], "displayName": "Currency Input", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, @@ -19197,10 +18619,7 @@ ], "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, @@ -19274,11 +18693,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -19316,10 +18731,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -19354,11 +18766,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -19409,10 +18817,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19455,10 +18860,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19535,11 +18937,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -19582,10 +18980,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -19620,11 +19015,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -19675,10 +19066,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19721,10 +19109,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19802,11 +19187,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -19844,10 +19225,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -19882,11 +19260,7 @@ "widgetName": "Text8", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -19937,10 +19311,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19983,10 +19354,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20063,11 +19431,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -20105,10 +19469,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -20143,11 +19504,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -20198,10 +19555,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20244,10 +19598,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20329,11 +19680,7 @@ ], "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -20376,10 +19723,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -20414,11 +19758,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -20469,10 +19809,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20515,10 +19852,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20596,11 +19930,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -20638,10 +19968,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -20676,11 +20003,7 @@ "widgetName": "Text11", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -20731,10 +20054,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20777,10 +20097,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20857,10 +20174,7 @@ "dynamicPropertyPathList": [], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 160, "bottomRow": 167, "parentRowSpace": 10, @@ -20941,9 +20255,7 @@ "name": "filteredAstronauts_really_long", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "timeoutInMillisecond": 10000 } ] @@ -21000,9 +20312,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {}" - ], + "jsonPathKeys": ["() => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21087,9 +20397,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n\t\t\n\t}" - ], + "jsonPathKeys": ["() => {\n\t\t\n\t}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21263,9 +20571,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "async () => {}" - ], + "jsonPathKeys": ["async () => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21716,9 +21022,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {}" - ], + "jsonPathKeys": ["() => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21805,9 +21109,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n showAlert('namaskara');\n}" - ], + "jsonPathKeys": ["() => {\n showAlert('namaskara');\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21981,9 +21283,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n amplitude.Identify();\n}" - ], + "jsonPathKeys": ["() => {\n amplitude.Identify();\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22614,9 +21914,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "async function () {}" - ], + "jsonPathKeys": ["async function () {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22703,9 +22001,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n\t\t\n\t}" - ], + "jsonPathKeys": ["() => {\n\t\t\n\t}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22790,9 +22086,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {}" - ], + "jsonPathKeys": ["() => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22968,9 +22262,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() =>n" - ], + "jsonPathKeys": ["() =>n"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -23235,9 +22527,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "async () => {}" - ], + "jsonPathKeys": ["async () => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -23411,9 +22701,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n showAlert('namaste');\n}" - ], + "jsonPathKeys": ["() => {\n showAlert('namaste');\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -23589,9 +22877,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "function () {\n Button2;\n}" - ], + "jsonPathKeys": ["function () {\n Button2;\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -24856,9 +24142,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.imageApi" - ], + "jsonPathKeys": ["appsmith.store.imageApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -24909,9 +24193,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.imageApi" - ], + "jsonPathKeys": ["appsmith.store.imageApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25110,9 +24392,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.factsApi" - ], + "jsonPathKeys": ["appsmith.store.factsApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25167,9 +24447,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.factsApi" - ], + "jsonPathKeys": ["appsmith.store.factsApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25712,9 +24990,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25755,9 +25031,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -26143,9 +25417,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -26201,9 +25473,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -27925,5 +27195,5 @@ "isSystemTheme": false, "deleted": false }, - "modifiedResources" : {"isAllModified": true} + "modifiedResources": { "isAllModified": true } } diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/autocommit.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/autocommit.json index c6d910ef10f4..73e16644d823 100644 --- a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/autocommit.json +++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/autocommit/autocommit.json @@ -197,9 +197,7 @@ { "name": "fast-xml-parser", "uidString": "XMLParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.3.2/fxparser.min.js", - "accessor": [ - "XMLParser" - ], + "accessor": ["XMLParser"], "url": "https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/4.3.2/fxparser.min.js", "version": "4.3.2", "defs": "{\"!name\":\"LIB/XMLParser\",\"XMLParser\":{\"!type\":\"fn()\",\"prototype\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"addEntity\":{\"!type\":\"fn()\",\"prototype\":{}}}}}", @@ -210,9 +208,7 @@ { "name": "jsonwebtoken", "uidString": "jsonwebtoken_/libraries/jsonwebtoken@8.5.1.js", - "accessor": [ - "jsonwebtoken" - ], + "accessor": ["jsonwebtoken"], "url": "/libraries/jsonwebtoken@8.5.1.js", "version": "8.5.1", "defs": "{\"!name\":\"LIB/jsonwebtoken\",\"jsonwebtoken\":{\"decode\":{\"!type\":\"fn()\",\"prototype\":{}},\"verify\":{\"!type\":\"fn()\",\"prototype\":{}},\"sign\":{\"!type\":\"fn()\",\"prototype\":{}},\"JsonWebTokenError\":{\"!type\":\"fn()\",\"prototype\":{\"toString\":{\"!type\":\"fn()\"},\"message\":{\"!type\":\"string\"},\"stack\":{\"!type\":\"string\"}}},\"NotBeforeError\":{\"!type\":\"fn()\",\"prototype\":{}},\"TokenExpiredError\":{\"!type\":\"fn()\",\"prototype\":{}}}}", @@ -356,21 +352,13 @@ "showStepArrows": false, "isVisible": true, "version": 2.0, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 8.0, "widgetName": "Input1", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 8.0, "parentRowSpace": 10.0, "autoFocus": false, @@ -422,21 +410,13 @@ "showStepArrows": false, "isVisible": true, "version": 2.0, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 43.0, "widgetName": "Input2", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 42.0, "parentRowSpace": 10.0, "autoFocus": false, @@ -488,21 +468,13 @@ "showStepArrows": false, "isVisible": true, "version": 2.0, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 57.0, "widgetName": "Input3", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 49.0, "parentRowSpace": 10.0, "autoFocus": false, @@ -535,10 +507,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 36.0, "bottomRow": 40.0, "parentRowSpace": 10.0, @@ -566,9 +535,7 @@ "isVisible": true, "version": 1.0, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 36.0, @@ -669,10 +636,7 @@ "enableClientSideSearch": true, "version": 2.0, "totalRecordsCount": "{{Total_record_public_users1.data[0].count}}", - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "isLoading": false, "childStylesheet": { "button": { @@ -698,11 +662,9 @@ } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "columnUpdatedAt": 1.714726905161E12, + "columnUpdatedAt": 1.714726905161e12, "primaryColumnId": "id", - "defaultSelectedRowIndices": [ - 0.0 - ], + "defaultSelectedRowIndices": [0.0], "mobileBottomRow": 36.0, "widgetName": "Table1", "defaultPageSize": 0.0, @@ -1307,21 +1269,13 @@ "showStepArrows": false, "isVisible": true, "version": 2.0, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 8.0, "widgetName": "Input1", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 8.0, "parentRowSpace": 10.0, "autoFocus": false, @@ -1373,21 +1327,13 @@ "showStepArrows": false, "isVisible": true, "version": 2.0, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 43.0, "widgetName": "Input2", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 42.0, "parentRowSpace": 10.0, "autoFocus": false, @@ -1439,21 +1385,13 @@ "showStepArrows": false, "isVisible": true, "version": 2.0, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 57.0, "widgetName": "Input3", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 49.0, "parentRowSpace": 10.0, "autoFocus": false, @@ -1486,10 +1424,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 36.0, "bottomRow": 40.0, "parentRowSpace": 10.0, @@ -1517,9 +1452,7 @@ "isVisible": true, "version": 1.0, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 36.0, @@ -1620,10 +1553,7 @@ "enableClientSideSearch": true, "version": 2.0, "totalRecordsCount": "{{Total_record_public_users1.data[0].count}}", - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "isLoading": false, "childStylesheet": { "button": { @@ -1649,11 +1579,9 @@ } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "columnUpdatedAt": 1.714726905161E12, + "columnUpdatedAt": 1.714726905161e12, "primaryColumnId": "id", - "defaultSelectedRowIndices": [ - 0.0 - ], + "defaultSelectedRowIndices": [0.0], "mobileBottomRow": 36.0, "widgetName": "Table1", "defaultPageSize": 0.0, @@ -2234,9 +2162,7 @@ "executeOnLoad": false, "clientSideExecution": true, "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, @@ -2262,9 +2188,7 @@ "executeOnLoad": false, "clientSideExecution": true, "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, @@ -2300,9 +2224,7 @@ "executeOnLoad": false, "clientSideExecution": true, "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, @@ -2328,9 +2250,7 @@ "executeOnLoad": false, "clientSideExecution": true, "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, @@ -2363,9 +2283,7 @@ "pageId": "Page2", "contextType": "PAGE", "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, @@ -2388,9 +2306,7 @@ "pageId": "Page2", "contextType": "PAGE", "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, @@ -2611,9 +2527,7 @@ "pageId": "Page1", "contextType": "PAGE", "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, @@ -2636,9 +2550,7 @@ "pageId": "Page1", "contextType": "PAGE", "isValid": false, - "invalids": [ - "No configurations found in this action" - ], + "invalids": ["No configurations found in this action"], "messages": [], "userSetOnLoad": false, "confirmBeforeExecute": false, diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json index 39b3207748c6..e32443e002c1 100644 --- a/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json +++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/git/ce-automation-test.json @@ -104,9 +104,7 @@ { "name": "AWS", "uidString": "AWS_https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js", - "accessor": [ - "AWS" - ], + "accessor": ["AWS"], "url": "https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js", "version": "", "defs": "{\"!name\":\"LIB/AWS\",\"AWS\":{\"util\":{\"environment\":{\"!type\":\"string\"},\"engine\":{\"!type\":\"fn()\",\"prototype\":{}},\"userAgent\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscape\":{\"!type\":\"fn()\",\"prototype\":{}},\"uriEscapePath\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"urlFormat\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryStringParse\":{\"!type\":\"fn()\",\"prototype\":{}},\"queryParamsToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"readFileSync\":{\"!type\":\"fn()\",\"prototype\":{}},\"base64\":{\"encode\":{},\"decode\":{}},\"buffer\":{\"toStream\":{},\"concat\":{}},\"string\":{\"byteLength\":{},\"upperFirst\":{},\"lowerFirst\":{}},\"ini\":{\"parse\":{}},\"fn\":{\"noop\":{},\"callback\":{},\"makeAsync\":{}},\"date\":{\"getDate\":{},\"iso8601\":{},\"rfc822\":{},\"unixTimestamp\":{},\"from\":{},\"format\":{},\"parseTimestamp\":{}},\"crypto\":{\"crc32Table\":{},\"crc32\":{},\"hmac\":{},\"md5\":{},\"sha256\":{},\"hash\":{},\"toHex\":{},\"createHash\":{},\"lib\":{}},\"abort\":{},\"each\":{\"!type\":\"fn()\",\"prototype\":{}},\"arrayEach\":{\"!type\":\"fn()\",\"prototype\":{}},\"update\":{\"!type\":\"fn()\",\"prototype\":{}},\"merge\":{\"!type\":\"fn()\",\"prototype\":{}},\"copy\":{\"!type\":\"fn()\",\"prototype\":{}},\"isEmpty\":{\"!type\":\"fn()\",\"prototype\":{}},\"arraySliceFn\":{\"!type\":\"fn()\",\"prototype\":{}},\"isType\":{\"!type\":\"fn()\",\"prototype\":{}},\"typeName\":{\"!type\":\"fn()\",\"prototype\":{}},\"error\":{\"!type\":\"fn()\",\"prototype\":{}},\"inherit\":{\"!type\":\"fn()\",\"prototype\":{}},\"mixin\":{\"!type\":\"fn()\",\"prototype\":{}},\"hideProperties\":{\"!type\":\"fn()\",\"prototype\":{}},\"property\":{\"!type\":\"fn()\",\"prototype\":{}},\"memoizedProperty\":{\"!type\":\"fn()\",\"prototype\":{}},\"hoistPayloadMember\":{\"!type\":\"fn()\",\"prototype\":{}},\"computeSha256\":{\"!type\":\"fn()\",\"prototype\":{}},\"isClockSkewed\":{\"!type\":\"fn()\",\"prototype\":{}},\"applyClockOffset\":{\"!type\":\"fn()\",\"prototype\":{}},\"extractRequestId\":{\"!type\":\"fn()\",\"prototype\":{}},\"addPromises\":{\"!type\":\"fn()\",\"prototype\":{}},\"promisifyMethod\":{\"!type\":\"fn()\",\"prototype\":{}},\"isDualstackAvailable\":{\"!type\":\"fn()\",\"prototype\":{}},\"calculateRetryDelay\":{\"!type\":\"fn()\",\"prototype\":{}},\"handleRequestWithRetries\":{\"!type\":\"fn()\",\"prototype\":{}},\"uuid\":{\"v4\":{}},\"convertPayloadToString\":{\"!type\":\"fn()\",\"prototype\":{}},\"defer\":{\"!type\":\"fn()\",\"prototype\":{}},\"defaultProfile\":{\"!type\":\"string\"},\"configOptInEnv\":{\"!type\":\"string\"},\"sharedCredentialsFileEnv\":{\"!type\":\"string\"},\"sharedConfigFileEnv\":{\"!type\":\"string\"},\"imdsDisabledEnv\":{\"!type\":\"string\"},\"Buffer\":{\"!type\":\"fn()\",\"prototype\":{},\"TYPED_ARRAY_SUPPORT\":{},\"poolSize\":{},\"_augment\":{},\"from\":{},\"alloc\":{},\"allocUnsafe\":{},\"allocUnsafeSlow\":{},\"isBuffer\":{},\"compare\":{},\"isEncoding\":{},\"concat\":{},\"byteLength\":{}},\"url\":{\"parse\":{},\"resolve\":{},\"resolveObject\":{},\"format\":{},\"Url\":{}},\"querystring\":{\"parse\":{},\"decode\":{},\"stringify\":{},\"encode\":{}},\"realClock\":{\"now\":{}},\"createEventStream\":{\"!type\":\"fn()\",\"prototype\":{}},\"isBrowser\":{\"!type\":\"fn()\",\"prototype\":{}},\"isNode\":{\"!type\":\"fn()\",\"prototype\":{}}},\"VERSION\":{\"!type\":\"string\"},\"Signers\":{\"RequestSigner\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getVersion\":{}},\"V2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V3Https\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"V4\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Presign\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}}},\"Protocol\":{\"Json\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Query\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"Rest\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{},\"generateURI\":{}},\"RestJson\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}},\"RestXml\":{\"buildRequest\":{},\"extractError\":{},\"extractData\":{}}},\"XML\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"JSON\":{\"Builder\":{\"!type\":\"fn()\",\"prototype\":{}},\"Parser\":{\"!type\":\"fn()\",\"prototype\":{}}},\"Model\":{\"Api\":{\"!type\":\"fn()\",\"prototype\":{}},\"Operation\":{\"!type\":\"fn()\",\"prototype\":{}},\"Shape\":{\"!type\":\"fn()\",\"prototype\":{},\"normalizedTypes\":{},\"types\":{},\"resolve\":{},\"create\":{},\"shapes\":{}},\"Paginator\":{\"!type\":\"fn()\",\"prototype\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{}}},\"apiLoader\":{\"!type\":\"fn()\",\"prototype\":{},\"services\":{\"sts\":{},\"cognitoidentity\":{},\"acm\":{},\"apigateway\":{},\"applicationautoscaling\":{},\"autoscaling\":{},\"cloudformation\":{},\"cloudfront\":{},\"cloudhsm\":{},\"cloudtrail\":{},\"cloudwatch\":{},\"cloudwatchevents\":{},\"cloudwatchlogs\":{},\"codebuild\":{},\"codecommit\":{},\"codedeploy\":{},\"codepipeline\":{},\"cognitoidentityserviceprovider\":{},\"cognitosync\":{},\"configservice\":{},\"cur\":{},\"devicefarm\":{},\"directconnect\":{},\"dynamodb\":{},\"dynamodbstreams\":{},\"ec2\":{},\"ecr\":{},\"ecs\":{},\"efs\":{},\"elasticache\":{},\"elasticbeanstalk\":{},\"elb\":{},\"elbv2\":{},\"emr\":{},\"elastictranscoder\":{},\"firehose\":{},\"gamelift\":{},\"inspector\":{},\"iot\":{},\"iotdata\":{},\"kinesis\":{},\"kms\":{},\"lambda\":{},\"lexruntime\":{},\"machinelearning\":{},\"marketplacecommerceanalytics\":{},\"mturk\":{},\"mobileanalytics\":{},\"opsworks\":{},\"polly\":{},\"rds\":{},\"redshift\":{},\"rekognition\":{},\"route53\":{},\"route53domains\":{},\"s3\":{},\"servicecatalog\":{},\"ses\":{},\"sns\":{},\"sqs\":{},\"ssm\":{},\"storagegateway\":{},\"waf\":{},\"workdocs\":{},\"lexmodelbuildingservice\":{},\"pricing\":{},\"mediastoredata\":{},\"comprehend\":{},\"kinesisvideoarchivedmedia\":{},\"kinesisvideomedia\":{},\"kinesisvideo\":{},\"translate\":{},\"secretsmanager\":{}}},\"EndpointCache\":{\"!type\":\"fn()\",\"prototype\":{\"size\":{}},\"getKeyString\":{}},\"SequentialExecutor\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"Service\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defineMethods\":{},\"defineService\":{},\"addVersions\":{},\"defineServiceApi\":{},\"hasService\":{},\"addDefaultMonitoringListeners\":{},\"_serviceMap\":{}},\"Credentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"CredentialProviderChain\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"defaultProviders\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Config\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"config\":{\"credentials\":{},\"credentialProvider\":{},\"region\":{},\"logger\":{},\"apiVersions\":{},\"apiVersion\":{},\"endpoint\":{},\"httpOptions\":{},\"maxRetries\":{},\"maxRedirects\":{},\"paramValidation\":{},\"sslEnabled\":{},\"s3ForcePathStyle\":{},\"s3BucketEndpoint\":{},\"s3DisableBodySigning\":{},\"computeChecksums\":{},\"convertResponseTypes\":{},\"correctClockSkew\":{},\"customUserAgent\":{},\"dynamoDbCrc32\":{},\"systemClockOffset\":{},\"signatureVersion\":{},\"signatureCache\":{},\"retryDelayOptions\":{},\"useAccelerateEndpoint\":{},\"clientSideMonitoring\":{},\"endpointDiscoveryEnabled\":{},\"endpointCacheSize\":{},\"hostPrefixEnabled\":{},\"getCredentials\":{},\"update\":{},\"loadFromPath\":{},\"clear\":{},\"set\":{},\"keys\":{},\"extractCredentials\":{},\"setPromisesDependency\":{},\"getPromisesDependency\":{}},\"Endpoint\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpRequest\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpResponse\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"HttpClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"getInstance\":{},\"streamsApiVersion\":{}},\"EventListeners\":{\"Core\":{},\"CorePost\":{},\"Logger\":{},\"Json\":{},\"Rest\":{},\"RestJson\":{},\"RestXml\":{},\"Query\":{}},\"Request\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"addPromisesToClass\":{},\"deletePromisesFromClass\":{}},\"Response\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ResourceWaiter\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ParamValidator\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"events\":{\"_events\":{},\"listeners\":{},\"on\":{},\"onAsync\":{},\"removeListener\":{},\"removeAllListeners\":{},\"emit\":{},\"callListeners\":{},\"addListeners\":{},\"addNamedListener\":{},\"addNamedAsyncListener\":{},\"addNamedListeners\":{},\"addListener\":{}},\"endpointCache\":{\"maxSize\":{},\"cache\":{},\"size\":{},\"put\":{},\"get\":{},\"populateValue\":{},\"empty\":{},\"remove\":{}},\"STS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"TemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ChainableTemporaryCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"WebIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"CognitoIdentity\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"SAMLCredentials\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"XHRClient\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{}},\"ACM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"APIGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ApplicationAutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"AutoScaling\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFormation\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudFront\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"CloudHSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudTrail\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatch\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchEvents\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CloudWatchLogs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeBuild\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeCommit\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodeDeploy\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CodePipeline\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoIdentityServiceProvider\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CognitoSync\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ConfigService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"CUR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DeviceFarm\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DirectConnect\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"DynamoDB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Converter\":{},\"DocumentClient\":{}},\"DynamoDBStreams\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EC2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ECS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EFS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElastiCache\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticBeanstalk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELB\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ELBv2\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"EMR\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"ElasticTranscoder\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Firehose\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"GameLift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Inspector\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Iot\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"IotData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Kinesis\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KMS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Lambda\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexRuntime\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MachineLearning\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MarketplaceCommerceAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MTurk\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MobileAnalytics\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"OpsWorks\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Polly\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Presigner\":{}},\"RDS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"Signer\":{}},\"Redshift\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Rekognition\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Route53Domains\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"S3\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{},\"ManagedUpload\":{}},\"ServiceCatalog\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SES\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SNS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SQS\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SSM\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"StorageGateway\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WAF\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"WorkDocs\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"LexModelBuildingService\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Pricing\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"MediaStoreData\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Comprehend\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoArchivedMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideoMedia\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"KinesisVideo\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"Translate\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}},\"SecretsManager\":{\"!type\":\"fn()\",\"prototype\":{},\"__super__\":{},\"services\":{},\"apiVersions\":{},\"serviceIdentifier\":{}}}}", @@ -117,9 +115,7 @@ { "name": "uuidjs", "uidString": "UUID_https://cdn.jsdelivr.net/npm/uuidjs@4.2.12/src/uuid.min.js", - "accessor": [ - "UUID" - ], + "accessor": ["UUID"], "url": "https://cdn.jsdelivr.net/npm/uuidjs@4.2.12/src/uuid.min.js", "version": "4.2.12", "defs": "{\"!name\":\"LIB/UUID\",\"UUID\":{\"!type\":\"fn()\",\"prototype\":{\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"generate\":{\"!type\":\"fn()\",\"prototype\":{}},\"_getRandomInt\":{\"!type\":\"fn()\",\"prototype\":{}},\"_hexAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"overwrittenUUID\":{\"!type\":\"?\"},\"useMathRandom\":{\"!type\":\"fn()\",\"prototype\":{}},\"FIELD_NAMES\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"FIELD_SIZES\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"genV4\":{\"!type\":\"fn()\",\"prototype\":{}},\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"_binAligner\":{\"!type\":\"fn()\",\"prototype\":{}},\"NIL\":{\"intFields\":{\"0\":{\"!type\":\"number\"},\"1\":{\"!type\":\"number\"},\"2\":{\"!type\":\"number\"},\"3\":{\"!type\":\"number\"},\"4\":{\"!type\":\"number\"},\"5\":{\"!type\":\"number\"},\"timeLow\":{\"!type\":\"number\"},\"timeMid\":{\"!type\":\"number\"},\"timeHiAndVersion\":{\"!type\":\"number\"},\"clockSeqHiAndReserved\":{\"!type\":\"number\"},\"clockSeqLow\":{\"!type\":\"number\"},\"node\":{\"!type\":\"number\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"bitFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"hexFields\":{\"0\":{\"!type\":\"string\"},\"1\":{\"!type\":\"string\"},\"2\":{\"!type\":\"string\"},\"3\":{\"!type\":\"string\"},\"4\":{\"!type\":\"string\"},\"5\":{\"!type\":\"string\"},\"timeLow\":{\"!type\":\"string\"},\"timeMid\":{\"!type\":\"string\"},\"timeHiAndVersion\":{\"!type\":\"string\"},\"clockSeqHiAndReserved\":{\"!type\":\"string\"},\"clockSeqLow\":{\"!type\":\"string\"},\"node\":{\"!type\":\"string\"},\"at\":{\"!type\":\"fn()\"},\"concat\":{\"!type\":\"fn()\"},\"copyWithin\":{\"!type\":\"fn()\"},\"fill\":{\"!type\":\"fn()\"},\"find\":{\"!type\":\"fn()\"},\"findIndex\":{\"!type\":\"fn()\"},\"lastIndexOf\":{\"!type\":\"fn()\"},\"pop\":{\"!type\":\"fn()\"},\"push\":{\"!type\":\"fn()\"},\"reverse\":{\"!type\":\"fn()\"},\"shift\":{\"!type\":\"fn()\"},\"unshift\":{\"!type\":\"fn()\"},\"slice\":{\"!type\":\"fn()\"},\"sort\":{\"!type\":\"fn()\"},\"splice\":{\"!type\":\"fn()\"},\"includes\":{\"!type\":\"fn()\"},\"indexOf\":{\"!type\":\"fn()\"},\"join\":{\"!type\":\"fn()\"},\"keys\":{\"!type\":\"fn()\"},\"entries\":{\"!type\":\"fn()\"},\"values\":{\"!type\":\"fn()\"},\"forEach\":{\"!type\":\"fn()\"},\"filter\":{\"!type\":\"fn()\"},\"flat\":{\"!type\":\"fn()\"},\"flatMap\":{\"!type\":\"fn()\"},\"map\":{\"!type\":\"fn()\"},\"every\":{\"!type\":\"fn()\"},\"some\":{\"!type\":\"fn()\"},\"reduce\":{\"!type\":\"fn()\"},\"reduceRight\":{\"!type\":\"fn()\"},\"toLocaleString\":{\"!type\":\"fn()\"},\"toString\":{\"!type\":\"fn()\"},\"findLast\":{\"!type\":\"fn()\"},\"findLastIndex\":{\"!type\":\"fn()\"},\"toReversed\":{\"!type\":\"fn()\"},\"toSorted\":{\"!type\":\"fn()\"},\"toSpliced\":{\"!type\":\"fn()\"},\"with\":{\"!type\":\"fn()\"}},\"version\":{\"!type\":\"number\"},\"bitString\":{\"!type\":\"string\"},\"hexNoDelim\":{\"!type\":\"string\"},\"hexString\":{\"!type\":\"string\"},\"urn\":{\"!type\":\"string\"},\"_init\":{\"!type\":\"fn()\",\"prototype\":{}},\"toString\":{\"!type\":\"fn()\",\"prototype\":{}},\"equals\":{\"!type\":\"fn()\",\"prototype\":{}}},\"genV1\":{\"!type\":\"fn()\",\"prototype\":{}},\"resetState\":{\"!type\":\"fn()\",\"prototype\":{}},\"_tsRatio\":{\"!type\":\"number\"},\"_state\":{\"!type\":\"?\"},\"_getTimeFieldValues\":{\"!type\":\"fn()\",\"prototype\":{}}}}", @@ -130,9 +126,7 @@ { "name": "@amplitude/analytics-browser", "uidString": "amplitude_https://cdn.jsdelivr.net/npm/@amplitude/analytics-browser@1.6.1/lib/scripts/amplitude-min.umd.js", - "accessor": [ - "amplitude" - ], + "accessor": ["amplitude"], "url": "https://cdn.jsdelivr.net/npm/@amplitude/analytics-browser@1.6.1/lib/scripts/amplitude-min.umd.js", "version": "1.6.1", "defs": "{\"!name\":\"LIB/amplitude\",\"amplitude\":{\"Identify\":{\"!type\":\"fn()\",\"prototype\":{}},\"Revenue\":{\"!type\":\"fn()\",\"prototype\":{}},\"Types\":{\"ServerZone\":{},\"SpecialEventType\":{},\"IdentifyOperation\":{},\"RevenueProperty\":{},\"LogLevel\":{},\"PluginType\":{},\"Status\":{},\"TransportType\":{}},\"add\":{},\"createInstance\":{},\"flush\":{},\"getDeviceId\":{},\"getSessionId\":{},\"getUserId\":{},\"groupIdentify\":{},\"identify\":{},\"init\":{},\"logEvent\":{},\"remove\":{},\"reset\":{},\"revenue\":{},\"runQueuedFunctions\":{},\"setDeviceId\":{},\"setGroup\":{},\"setOptOut\":{},\"setSessionId\":{},\"setTransport\":{},\"setUserId\":{},\"track\":{},\"__esModule\":{}}}", @@ -143,9 +137,7 @@ { "name": "jsonwebtoken", "uidString": "jsonwebtoken_/libraries/jsonwebtoken@8.5.1.js", - "accessor": [ - "jsonwebtoken" - ], + "accessor": ["jsonwebtoken"], "url": "/libraries/jsonwebtoken@8.5.1.js", "version": "8.5.1", "defs": "{\"!name\":\"LIB/jsonwebtoken\",\"jsonwebtoken\":{\"decode\":{\"!type\":\"fn()\",\"prototype\":{}},\"verify\":{\"!type\":\"fn()\",\"prototype\":{}},\"sign\":{\"!type\":\"fn()\",\"prototype\":{}},\"JsonWebTokenError\":{\"!type\":\"fn()\",\"prototype\":{\"toString\":{\"!type\":\"fn()\"},\"message\":{\"!type\":\"string\"},\"stack\":{\"!type\":\"string\"}}},\"NotBeforeError\":{\"!type\":\"fn()\",\"prototype\":{}},\"TokenExpiredError\":{\"!type\":\"fn()\",\"prototype\":{}}}}", @@ -156,9 +148,7 @@ { "name": "xmlParser", "uidString": "xmlParser_https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js", - "accessor": [ - "xmlParser" - ], + "accessor": ["xmlParser"], "url": "https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js", "version": "3.17.5", "defs": "{\"!name\":\"LIB/xmlParser\",\"xmlParser\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertTonimn\":{\"!type\":\"fn()\",\"prototype\":{}},\"getTraversalObj\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJson\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJsonString\":{\"!type\":\"fn()\",\"prototype\":{}},\"validate\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2xParser\":{\"!type\":\"fn()\",\"prototype\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2x\":{\"!type\":\"fn()\",\"prototype\":{}}}},\"parseToNimn\":{\"!type\":\"fn()\",\"prototype\":{}}}}", @@ -199,11 +189,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 5, "bottomRow": 19, "parentRowSpace": 10, @@ -289,11 +275,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 5, "bottomRow": 19, "parentRowSpace": 10, @@ -383,11 +365,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, @@ -473,11 +451,7 @@ "widgetName": "Text6Copy", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -578,10 +552,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -888,10 +859,7 @@ "widgetName": "Text2Copy1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 51, "bottomRow": 67, "parentRowSpace": 10, @@ -1018,9 +986,7 @@ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg", "tooltipAlwaysOn": false, "labelText": "Refresh duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 77, "bottomRow": 81, "parentRowSpace": 10, @@ -1070,11 +1036,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 9, "bottomRow": 16, "parentRowSpace": 10, @@ -1136,10 +1098,7 @@ ], "displayName": "Button", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 2, "bottomRow": 6, "parentRowSpace": 10, @@ -1262,10 +1221,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -1363,12 +1319,7 @@ }, "widgetName": "Table2Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 46, @@ -1525,12 +1476,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table1Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -1805,12 +1751,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table2", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -2218,11 +2159,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -2355,11 +2292,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 5, "parentRowSpace": 10, @@ -2445,11 +2378,7 @@ "widgetName": "Text6Copy", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -2550,10 +2479,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -2860,10 +2786,7 @@ "widgetName": "Text2Copy1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b52.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 51, "bottomRow": 67, "parentRowSpace": 10, @@ -2990,9 +2913,7 @@ "iconSVG": "/static/media/icon.9b32c922c2540d18f7a13976d9cb2f24.svg", "tooltipAlwaysOn": false, "labelText": "Refresh duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 77, "bottomRow": 81, "parentRowSpace": 10, @@ -3042,11 +2963,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 9, "bottomRow": 16, "parentRowSpace": 10, @@ -3108,10 +3025,7 @@ ], "displayName": "Button", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 2, "bottomRow": 6, "parentRowSpace": 10, @@ -3234,10 +3148,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -3335,12 +3246,7 @@ }, "widgetName": "Table2Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 46, @@ -3497,12 +3403,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table1Copy", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -3777,12 +3678,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", "widgetName": "Table2", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "isVisibleDownload": true, "dynamicPropertyPathList": [], "displayName": "Table", @@ -4190,11 +4086,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 93, "bottomRow": 105, "parentRowSpace": 10, @@ -4265,9 +4157,7 @@ "name": "petImages", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "appsmith.store.imageApi" - ], + "jsonPathKeys": ["appsmith.store.imageApi"], "timeoutInMillisecond": 10000 } ], @@ -4277,9 +4167,7 @@ "name": "petFacts", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "appsmith.store.factsApi" - ], + "jsonPathKeys": ["appsmith.store.factsApi"], "timeoutInMillisecond": 10000 } ] @@ -4334,11 +4222,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 1, "bottomRow": 59, "parentRowSpace": 10, @@ -4390,10 +4274,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -4427,11 +4308,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 50, "bottomRow": 55, "parentRowSpace": 10, @@ -4540,11 +4417,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 13, "bottomRow": 46, "parentRowSpace": 10, @@ -4646,10 +4519,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, @@ -4701,9 +4571,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "pick countdown duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 15, "bottomRow": 22, "parentRowSpace": 10, @@ -4751,9 +4619,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "select a number you want to countdown from", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 7, "bottomRow": 15, "parentRowSpace": 10, @@ -4941,11 +4807,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 64, "bottomRow": 122, "parentRowSpace": 10, @@ -4997,10 +4859,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -5081,11 +4940,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 20, "bottomRow": 24, "parentRowSpace": 10, @@ -5203,11 +5058,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 1, "bottomRow": 59, "parentRowSpace": 10, @@ -5259,10 +5110,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -5296,11 +5144,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 50, "bottomRow": 55, "parentRowSpace": 10, @@ -5409,11 +5253,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 13, "bottomRow": 46, "parentRowSpace": 10, @@ -5515,10 +5355,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 22, "bottomRow": 26, "parentRowSpace": 10, @@ -5570,9 +5407,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "pick countdown duration", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 15, "bottomRow": 22, "parentRowSpace": 10, @@ -5620,9 +5455,7 @@ "iconSVG": "/static/media/icon.f122000eb591fcd1410a4775a54f9f0d.svg", "tooltipAlwaysOn": false, "labelText": "select a number you want to countdown from", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 7, "bottomRow": 15, "parentRowSpace": 10, @@ -5810,11 +5643,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 64, "bottomRow": 122, "parentRowSpace": 10, @@ -5866,10 +5695,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -5950,11 +5776,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "https://release-appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 20, "bottomRow": 24, "parentRowSpace": 10, @@ -6109,9 +5931,7 @@ ], "displayName": "Checkbox", "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", - "searchTags": [ - "boolean" - ], + "searchTags": ["boolean"], "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, @@ -6181,10 +6001,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 12, "parentRowSpace": 10, @@ -6271,10 +6088,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 16, "parentRowSpace": 10, @@ -6408,9 +6222,7 @@ "displayName": "Category Slider", "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 18, "bottomRow": 26, "parentRowSpace": 10, @@ -6480,11 +6292,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 27, "bottomRow": 40, "parentRowSpace": 10, @@ -6540,10 +6348,7 @@ ], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 4, "bottomRow": 11, "parentRowSpace": 10, @@ -6592,11 +6397,7 @@ ], "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -6680,12 +6481,7 @@ ], "displayName": "Audio", "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", - "searchTags": [ - "mp3", - "sound", - "wave", - "player" - ], + "searchTags": ["mp3", "sound", "wave", "player"], "topRow": 44, "bottomRow": 48, "parentRowSpace": 10, @@ -6820,16 +6616,10 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 65, "columnUpdatedAt": 1676634128648, - "defaultSelectedRowIndices": [ - 0 - ], + "defaultSelectedRowIndices": [0], "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "task", - "status", - "action" - ], + "columnOrder": ["task", "status", "action"], "dynamicPropertyPathList": [ { "key": "cellBackground" @@ -7020,9 +6810,7 @@ ], "displayName": "Checkbox", "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", - "searchTags": [ - "boolean" - ], + "searchTags": ["boolean"], "topRow": 3, "bottomRow": 7, "parentRowSpace": 10, @@ -7092,10 +6880,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 12, "parentRowSpace": 10, @@ -7182,10 +6967,7 @@ ], "displayName": "Button Group", "iconSVG": "/static/media/icon.d6773218cfb61dcfa5f460d43371e30d.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 3, "bottomRow": 16, "parentRowSpace": 10, @@ -7319,9 +7101,7 @@ "displayName": "Category Slider", "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", "labelText": "{{(moment().format('dddd') === ('Sunday' || 'Saturday')) ? \"It's the weekend\" : \"Weekend is a few days away!\" }}", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 18, "bottomRow": 26, "parentRowSpace": 10, @@ -7391,11 +7171,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 27, "bottomRow": 40, "parentRowSpace": 10, @@ -7451,10 +7227,7 @@ ], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 4, "bottomRow": 11, "parentRowSpace": 10, @@ -7503,11 +7276,7 @@ ], "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -7591,12 +7360,7 @@ ], "displayName": "Audio", "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", - "searchTags": [ - "mp3", - "sound", - "wave", - "player" - ], + "searchTags": ["mp3", "sound", "wave", "player"], "topRow": 44, "bottomRow": 48, "parentRowSpace": 10, @@ -7731,16 +7495,10 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 65, "columnUpdatedAt": 1676634128648, - "defaultSelectedRowIndices": [ - 0 - ], + "defaultSelectedRowIndices": [0], "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "task", - "status", - "action" - ], + "columnOrder": ["task", "status", "action"], "dynamicPropertyPathList": [ { "key": "cellBackground" @@ -7934,11 +7692,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 66, "bottomRow": 140, "parentRowSpace": 10, @@ -7989,11 +7743,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 31, "bottomRow": 42, "parentRowSpace": 10, @@ -8196,10 +7946,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -8245,10 +7992,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -8372,10 +8116,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 24, "bottomRow": 29, "parentRowSpace": 10, @@ -8422,10 +8163,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 19, "bottomRow": 24, "parentRowSpace": 10, @@ -8472,10 +8210,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -8558,10 +8293,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, @@ -8669,9 +8401,7 @@ ], "displayName": "DatePicker", "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg", - "searchTags": [ - "calendar" - ], + "searchTags": ["calendar"], "topRow": 49, "bottomRow": 53, "shortcuts": true, @@ -8728,9 +8458,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 54, "bottomRow": 58, "parentRowSpace": 10, @@ -8788,9 +8516,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 59, "bottomRow": 63, "parentRowSpace": 10, @@ -8846,9 +8572,7 @@ "widgetName": "RadioGroup", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 64, "bottomRow": 72, "parentRowSpace": 10, @@ -9101,12 +8825,7 @@ }, "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 48, @@ -9442,10 +9161,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -9485,9 +9201,7 @@ "widgetName": "RadioGroup1", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 23, "bottomRow": 32, "parentRowSpace": 10, @@ -9562,11 +9276,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -9672,11 +9382,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 66, "bottomRow": 140, "parentRowSpace": 10, @@ -9727,11 +9433,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 31, "bottomRow": 42, "parentRowSpace": 10, @@ -9934,10 +9636,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -9983,10 +9682,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -10110,10 +9806,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 24, "bottomRow": 29, "parentRowSpace": 10, @@ -10160,10 +9853,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 19, "bottomRow": 24, "parentRowSpace": 10, @@ -10210,10 +9900,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.cca02633.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 8, "bottomRow": 13, "parentRowSpace": 10, @@ -10296,10 +9983,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph" - ], + "searchTags": ["typography", "paragraph"], "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, @@ -10407,9 +10091,7 @@ ], "displayName": "DatePicker", "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg", - "searchTags": [ - "calendar" - ], + "searchTags": ["calendar"], "topRow": 49, "bottomRow": 53, "shortcuts": true, @@ -10466,9 +10148,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 54, "bottomRow": 58, "parentRowSpace": 10, @@ -10526,9 +10206,7 @@ "dynamicPropertyPathList": [], "displayName": "Phone Input", "iconSVG": "/static/media/icon.108789d7165de30306435ab3c24e6cad.svg", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "topRow": 59, "bottomRow": 63, "parentRowSpace": 10, @@ -10584,9 +10262,7 @@ "widgetName": "RadioGroup", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 64, "bottomRow": 72, "parentRowSpace": 10, @@ -10839,12 +10515,7 @@ }, "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "userId", - "id", - "title", - "body" - ], + "columnOrder": ["userId", "id", "title", "body"], "dynamicPropertyPathList": [], "displayName": "Table", "bottomRow": 48, @@ -11180,10 +10851,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 6, "type": "ICON_BUTTON_WIDGET", @@ -11223,9 +10891,7 @@ "widgetName": "RadioGroup1", "displayName": "Radio Group", "iconSVG": "/static/media/icon.ba2b2ee006e51a5c681d7964d7777481.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 23, "bottomRow": 32, "parentRowSpace": 10, @@ -11300,11 +10966,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -11501,10 +11163,7 @@ "widgetName": "CurrencyInput1", "displayName": "Currency Input", "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "topRow": 6, "bottomRow": 13, "defaultCurrencyCode": "USD", @@ -11562,10 +11221,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, @@ -11600,9 +11256,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 17, @@ -11620,11 +11274,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -11666,10 +11316,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -11696,9 +11343,7 @@ "isVisible": true, "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -11712,11 +11357,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -11752,10 +11393,7 @@ "textColor": "#231F20", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -11775,10 +11413,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -11807,9 +11442,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -11828,10 +11461,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -11860,9 +11490,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -11903,9 +11531,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -11961,10 +11587,7 @@ "widgetName": "CurrencyInput1", "displayName": "Currency Input", "iconSVG": "/static/media/icon.f312efcb48ce4dafb08c20291635b30b.svg", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "topRow": 6, "bottomRow": 13, "defaultCurrencyCode": "USD", @@ -12022,10 +11645,7 @@ "dynamicPropertyPathList": [], "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 17, "bottomRow": 21, "parentRowSpace": 10, @@ -12060,9 +11680,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 17, @@ -12080,11 +11698,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -12126,10 +11740,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -12156,9 +11767,7 @@ "isVisible": true, "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -12172,11 +11781,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -12212,10 +11817,7 @@ "textColor": "#231F20", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -12235,10 +11837,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -12267,9 +11866,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -12288,10 +11885,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -12320,9 +11914,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "34u4b3ypqt", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -12363,9 +11955,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -12476,10 +12066,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -12570,9 +12157,7 @@ "displayName": "Select", "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", "labelText": "Pick an astronaut to display their information", - "searchTags": [ - "dropdown" - ], + "searchTags": ["dropdown"], "topRow": 8, "bottomRow": 15, "parentRowSpace": 10, @@ -14236,9 +13821,7 @@ "widgetName": "Iframe2", "displayName": "Iframe", "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg", - "searchTags": [ - "embed" - ], + "searchTags": ["embed"], "topRow": 17, "bottomRow": 37, "parentRowSpace": 10, @@ -14376,11 +13959,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 17, "bottomRow": 24, "parentRowSpace": 10, @@ -14511,11 +14090,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 75, "bottomRow": 89, "parentRowSpace": 10, @@ -14572,10 +14147,7 @@ ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 9, "bottomRow": 14, "parentRowSpace": 10, @@ -14619,9 +14191,7 @@ ], "displayName": "Progress", "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg", - "searchTags": [ - "percent" - ], + "searchTags": ["percent"], "topRow": 81, "bottomRow": 85, "parentRowSpace": 10, @@ -14656,9 +14226,7 @@ "widgetName": "Rating1", "displayName": "Rating", "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg", - "searchTags": [ - "stars" - ], + "searchTags": ["stars"], "topRow": 86, "bottomRow": 90, "parentRowSpace": 10, @@ -14701,11 +14269,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 91, "bottomRow": 119, "parentRowSpace": 10, @@ -14871,10 +14435,7 @@ } ], "displayName": "Currency Input", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, @@ -14914,10 +14475,7 @@ ], "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, @@ -14991,11 +14549,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15033,10 +14587,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15071,11 +14622,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15126,10 +14673,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15172,10 +14716,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15252,11 +14793,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15299,10 +14836,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15337,11 +14871,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15392,10 +14922,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15438,10 +14965,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15519,11 +15043,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15561,10 +15081,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15599,11 +15116,7 @@ "widgetName": "Text8", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15654,10 +15167,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15700,10 +15210,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15780,11 +15287,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -15822,10 +15325,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -15860,11 +15360,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -15915,10 +15411,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -15961,10 +15454,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16046,11 +15536,7 @@ ], "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -16093,10 +15579,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -16131,11 +15614,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -16186,10 +15665,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16232,10 +15708,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16313,11 +15786,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -16355,10 +15824,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -16393,11 +15859,7 @@ "widgetName": "Text11", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -16448,10 +15910,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16494,10 +15953,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -16574,10 +16030,7 @@ "dynamicPropertyPathList": [], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 160, "bottomRow": 167, "parentRowSpace": 10, @@ -16658,9 +16111,7 @@ "name": "filteredAstronauts_really_long", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "timeoutInMillisecond": 10000 } ] @@ -16759,10 +16210,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 1, "bottomRow": 7, "type": "ICON_BUTTON_WIDGET", @@ -16853,9 +16301,7 @@ "displayName": "Select", "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", "labelText": "Pick an astronaut to display their information", - "searchTags": [ - "dropdown" - ], + "searchTags": ["dropdown"], "topRow": 8, "bottomRow": 15, "parentRowSpace": 10, @@ -18519,9 +17965,7 @@ "widgetName": "Iframe2", "displayName": "Iframe", "iconSVG": "/static/media/icon.34169b6acebc8ace125dd1f638974aae.svg", - "searchTags": [ - "embed" - ], + "searchTags": ["embed"], "topRow": 17, "bottomRow": 37, "parentRowSpace": 10, @@ -18659,11 +18103,7 @@ ], "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 17, "bottomRow": 24, "parentRowSpace": 10, @@ -18794,11 +18234,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 75, "bottomRow": 89, "parentRowSpace": 10, @@ -18855,10 +18291,7 @@ ], "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 9, "bottomRow": 14, "parentRowSpace": 10, @@ -18902,9 +18335,7 @@ ], "displayName": "Progress", "iconSVG": "/static/media/icon.9b0d7b96a0223e8120bf6f14aca4154a.svg", - "searchTags": [ - "percent" - ], + "searchTags": ["percent"], "topRow": 81, "bottomRow": 85, "parentRowSpace": 10, @@ -18939,9 +18370,7 @@ "widgetName": "Rating1", "displayName": "Rating", "iconSVG": "/static/media/icon.914eb943f3f3762263872a333aff727d.svg", - "searchTags": [ - "stars" - ], + "searchTags": ["stars"], "topRow": 86, "bottomRow": 90, "parentRowSpace": 10, @@ -18984,11 +18413,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 91, "bottomRow": 119, "parentRowSpace": 10, @@ -19154,10 +18579,7 @@ } ], "displayName": "Currency Input", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, @@ -19197,10 +18619,7 @@ ], "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 10, "bottomRow": 14, "parentRowSpace": 10, @@ -19274,11 +18693,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -19316,10 +18731,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -19354,11 +18766,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -19409,10 +18817,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19455,10 +18860,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19535,11 +18937,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -19582,10 +18980,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -19620,11 +19015,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -19675,10 +19066,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19721,10 +19109,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19802,11 +19187,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -19844,10 +19225,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -19882,11 +19260,7 @@ "widgetName": "Text8", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -19937,10 +19311,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -19983,10 +19354,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20063,11 +19431,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -20105,10 +19469,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -20143,11 +19504,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -20198,10 +19555,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20244,10 +19598,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20329,11 +19680,7 @@ ], "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -20376,10 +19723,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -20414,11 +19758,7 @@ "widgetName": "Text10", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -20469,10 +19809,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20515,10 +19852,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20596,11 +19930,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 0, "bottomRow": 240, "parentRowSpace": 1, @@ -20638,10 +19968,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon Button", "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -20676,11 +20003,7 @@ "widgetName": "Text11", "displayName": "Text", "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -20731,10 +20054,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20777,10 +20097,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -20857,10 +20174,7 @@ "dynamicPropertyPathList": [], "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 160, "bottomRow": 167, "parentRowSpace": 10, @@ -20941,9 +20255,7 @@ "name": "filteredAstronauts_really_long", "confirmBeforeExecute": false, "pluginType": "API", - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "timeoutInMillisecond": 10000 } ] @@ -21000,9 +20312,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {}" - ], + "jsonPathKeys": ["() => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21087,9 +20397,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n\t\t\n\t}" - ], + "jsonPathKeys": ["() => {\n\t\t\n\t}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21263,9 +20571,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "async () => {}" - ], + "jsonPathKeys": ["async () => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21716,9 +21022,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {}" - ], + "jsonPathKeys": ["() => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21805,9 +21109,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n showAlert('namaskara');\n}" - ], + "jsonPathKeys": ["() => {\n showAlert('namaskara');\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -21981,9 +21283,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n amplitude.Identify();\n}" - ], + "jsonPathKeys": ["() => {\n amplitude.Identify();\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22614,9 +21914,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "async function () {}" - ], + "jsonPathKeys": ["async function () {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22703,9 +22001,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n\t\t\n\t}" - ], + "jsonPathKeys": ["() => {\n\t\t\n\t}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22790,9 +22086,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {}" - ], + "jsonPathKeys": ["() => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -22968,9 +22262,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() =>n" - ], + "jsonPathKeys": ["() =>n"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -23235,9 +22527,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "async () => {}" - ], + "jsonPathKeys": ["async () => {}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -23411,9 +22701,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "() => {\n showAlert('namaste');\n}" - ], + "jsonPathKeys": ["() => {\n showAlert('namaste');\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -23589,9 +22877,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "function () {\n Button2;\n}" - ], + "jsonPathKeys": ["function () {\n Button2;\n}"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -24856,9 +24142,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.imageApi" - ], + "jsonPathKeys": ["appsmith.store.imageApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -24909,9 +24193,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.imageApi" - ], + "jsonPathKeys": ["appsmith.store.imageApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25110,9 +24392,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.factsApi" - ], + "jsonPathKeys": ["appsmith.store.factsApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25167,9 +24447,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "appsmith.store.factsApi" - ], + "jsonPathKeys": ["appsmith.store.factsApi"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25712,9 +24990,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -25755,9 +25031,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -26143,9 +25417,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], @@ -26201,9 +25473,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "Select1.selectedOptionLabel" - ], + "jsonPathKeys": ["Select1.selectedOptionLabel"], "userSetOnLoad": false, "confirmBeforeExecute": false, "policies": [], diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgets.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgets.json index f40b37733dfe..cc114ef4f7a1 100644 --- a/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgets.json +++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgets.json @@ -371,4 +371,4 @@ "widgetId": "vrcp6kbiz8" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewList.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewList.json index 96bf05b94e94..5c0c9b9fcaca 100644 --- a/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewList.json +++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewList.json @@ -371,4 +371,4 @@ "widgetId": "vrcp6kbiz8" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewText.json b/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewText.json index 27f05d9c779c..7c28612fc167 100644 --- a/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewText.json +++ b/app/server/appsmith-server/src/test/resources/com/appsmith/server/widgets/refactors/refactorDslWithOnlyWidgetsWithNewText.json @@ -371,4 +371,4 @@ "widgetId": "vrcp6kbiz8" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/productAlerts/productAlertMessages.json b/app/server/appsmith-server/src/test/resources/productAlerts/productAlertMessages.json index f21537c54d33..4b38f408f6c2 100644 --- a/app/server/appsmith-server/src/test/resources/productAlerts/productAlertMessages.json +++ b/app/server/appsmith-server/src/test/resources/productAlerts/productAlertMessages.json @@ -29,4 +29,4 @@ "applicabilityExpression": "isCloudHosting && (getCurrentTimeInstantEpochMilli < 1691300700000L)", "precedenceIndex": 2 } -] \ No newline at end of file +] diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ActionCollectionServiceTest/mockObjects.json b/app/server/appsmith-server/src/test/resources/test_assets/ActionCollectionServiceTest/mockObjects.json index bbfcf8faba9c..7e2bed79d236 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ActionCollectionServiceTest/mockObjects.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ActionCollectionServiceTest/mockObjects.json @@ -13,9 +13,7 @@ "children": [] }, "layoutOnLoadActions": [], - "widgetNames": [ - "MainContainer" - ], + "widgetNames": ["MainContainer"], "allOnPageLoadActionNames": [], "actionsUsedInDynamicBindings": [], "policies": [] @@ -32,9 +30,7 @@ "widgetName": "MainContainer", "children": [] }, - "widgetNames": [ - "MainContainer" - ], + "widgetNames": ["MainContainer"], "policies": [] } ] diff --git a/app/server/appsmith-server/src/test/resources/test_assets/DSLMigration/PageDSLv83.json b/app/server/appsmith-server/src/test/resources/test_assets/DSLMigration/PageDSLv83.json index 368bdd20b8b2..5b8722967bb3 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/DSLMigration/PageDSLv83.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/DSLMigration/PageDSLv83.json @@ -24,12 +24,7 @@ "widgetName": "Audio1", "displayName": "Audio", "iconSVG": "/static/media/icon.90965be2578a5c1c8e2996b65e5b6988.svg", - "searchTags": [ - "mp3", - "sound", - "wave", - "player" - ], + "searchTags": ["mp3", "sound", "wave", "player"], "topRow": 43, "bottomRow": 47, "parentRowSpace": 10, @@ -49,9 +44,7 @@ "version": 1, "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3", "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -67,10 +60,7 @@ "widgetName": "AudioRecorder1", "displayName": "Audio Recorder", "iconSVG": "/static/media/icon.c7fb58d71a30a6fbe9c922faae21e621.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], + "searchTags": ["sound recorder", "voice recorder"], "topRow": 12, "bottomRow": 19, "parentRowSpace": 10, @@ -98,9 +88,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "External" - ], + "tags": ["External"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -117,10 +105,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 20, "bottomRow": 24, "parentRowSpace": 10, @@ -150,9 +135,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -170,10 +153,7 @@ "isCanvas": false, "displayName": "Button Group", "iconSVG": "/static/media/icon.bb8db4853027d74a78963c3375841e4b.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "parentRowSpace": 10, @@ -282,9 +262,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 12, @@ -305,10 +283,7 @@ "isCanvas": false, "displayName": "Camera", "iconSVG": "/static/media/icon.c18f801ae183dba33c7a61ea80204a5d.svg", - "searchTags": [ - "photo", - "video recorder" - ], + "searchTags": ["photo", "video recorder"], "topRow": 11, "bottomRow": 44, "parentRowSpace": 10, @@ -332,9 +307,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "External" - ], + "tags": ["External"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 11, @@ -348,9 +321,7 @@ "displayName": "Category Slider", "iconSVG": "/static/media/icon.f4e7e4a6fc4a57659f2d2e736486e335.svg", "labelText": "Size", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 9, "bottomRow": 17, "parentRowSpace": 10, @@ -403,9 +374,7 @@ "shouldScroll": false, "version": 1, "parentId": "0", - "tags": [ - "Sliders" - ], + "tags": ["Sliders"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -421,11 +390,7 @@ "allowScroll": false, "displayName": "Chart", "iconSVG": "/static/media/icon.8eea39845729f7f4bfadeecd3810a09d.svg", - "searchTags": [ - "graph", - "visuals", - "visualisations" - ], + "searchTags": ["graph", "visuals", "visualisations"], "topRow": 48, "bottomRow": 80, "parentRowSpace": 10, @@ -526,9 +491,7 @@ "version": 1, "parentId": "0", "labelOrientation": "auto", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 48, @@ -585,18 +548,14 @@ "isRequired": false, "isDeprecated": false, "rightColumn": 24, - "defaultSelectedValues": [ - "BLUE" - ], + "defaultSelectedValues": ["BLUE"], "dynamicHeight": "AUTO_HEIGHT", "widgetId": "81rbplna8n", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 2, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -651,9 +610,7 @@ "label": "Scan a QR/Barcode", "version": 1, "parentId": "0", - "tags": [ - "External" - ], + "tags": ["External"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 49, @@ -691,18 +648,13 @@ "isVisible": true, "allowCurrencyChange": false, "version": 1, - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 11, "widgetName": "CurrencyInput1", "displayName": "Currency Input", - "searchTags": [ - "amount", - "total" - ], + "searchTags": ["amount", "total"], "bottomRow": 9, "parentRowSpace": 10, "autoFocus": false, @@ -753,9 +705,7 @@ "isVisible": true, "datePickerType": "DATE_PICKER", "version": 2, - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "isLoading": false, "timePrecision": "minute", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", @@ -764,9 +714,7 @@ "widgetName": "DatePicker1", "minDate": "1920-12-31T18:30:00.000Z", "displayName": "DatePicker", - "searchTags": [ - "calendar" - ], + "searchTags": ["calendar"], "bottomRow": 21, "shortcuts": false, "parentRowSpace": 10, @@ -799,9 +747,7 @@ "thickness": 2, "displayName": "Divider", "iconSVG": "/static/media/icon.3b7d47d7bd70da418a827287042cbb7f.svg", - "searchTags": [ - "line" - ], + "searchTags": ["line"], "topRow": 29, "bottomRow": 33, "parentRowSpace": 10, @@ -825,9 +771,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 27, @@ -840,9 +784,7 @@ "isCanvas": false, "displayName": "Document Viewer", "iconSVG": "/static/media/icon.9a94cf630fee10d87605f8b185b2e979.svg", - "searchTags": [ - "pdf" - ], + "searchTags": ["pdf"], "topRow": 43, "bottomRow": 83, "parentRowSpace": 10, @@ -860,9 +802,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 43, @@ -877,9 +817,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "FilePicker", "iconSVG": "/static/media/icon.715769b31db833b32f40d9c90ec02de3.svg", - "searchTags": [ - "upload" - ], + "searchTags": ["upload"], "topRow": 24, "bottomRow": 28, "parentRowSpace": 10, @@ -913,9 +851,7 @@ "version": 1, "fileDataType": "Base64", "parentId": "0", - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "selectedFiles": [], "renderMode": "CANVAS", "isLoading": false, @@ -933,10 +869,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 31, "bottomRow": 35, "parentRowSpace": 10, @@ -964,9 +897,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 31, @@ -983,9 +914,7 @@ "isCanvas": true, "displayName": "Form", "iconSVG": "/static/media/icon.e17c486a34778f3bae299c9110e00cf6.svg", - "searchTags": [ - "group" - ], + "searchTags": ["group"], "topRow": 19, "bottomRow": 58, "parentRowSpace": 10, @@ -1026,11 +955,7 @@ "widgetName": "Text1", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 7, "type": "TEXT_WIDGET", @@ -1066,10 +991,7 @@ "textColor": "#231F20", "version": 1, "parentId": "04njyajzxp", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -1090,10 +1012,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 33, "bottomRow": 37, "type": "BUTTON_WIDGET", @@ -1121,9 +1040,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "04njyajzxp", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 33, @@ -1142,10 +1059,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 33, "bottomRow": 37, "type": "BUTTON_WIDGET", @@ -1173,9 +1087,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "04njyajzxp", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 33, @@ -1216,9 +1128,7 @@ "minWidth": 450, "isVisible": true, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 19, @@ -1236,9 +1146,7 @@ "widgetName": "Iframe1", "displayName": "Iframe", "iconSVG": "/static/media/icon.a84667dbdc548d14f7c83df551151550.svg", - "searchTags": [ - "embed" - ], + "searchTags": ["embed"], "topRow": 4, "bottomRow": 9, "parentRowSpace": 10, @@ -1266,9 +1174,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4, @@ -1307,9 +1213,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 17, @@ -1345,21 +1249,13 @@ "showStepArrows": false, "isVisible": true, "version": 2, - "tags": [ - "Suggested", - "Inputs" - ], + "tags": ["Suggested", "Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 8, "widgetName": "Input1", "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], + "searchTags": ["form", "text input", "number", "textarea"], "bottomRow": 8, "parentRowSpace": 10, "autoFocus": false, @@ -1449,11 +1345,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 0, "bottomRow": 12, "dragDisabled": true, @@ -1520,9 +1412,7 @@ "isVisible": true, "version": 1, "parentId": "xm0ckgqeyy", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -1538,11 +1428,7 @@ "widgetName": "Text2", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", @@ -1585,10 +1471,7 @@ "textColor": "#231F20", "version": 1, "parentId": "xm0ckgqeyy", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -1606,11 +1489,7 @@ "widgetName": "Text3", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 4, "bottomRow": 8, "type": "TEXT_WIDGET", @@ -1653,10 +1532,7 @@ "textColor": "#231F20", "version": 1, "parentId": "xm0ckgqeyy", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4, @@ -1701,17 +1577,13 @@ "version": 1, "isListItemContainer": true, "parentId": "xtwcksp011", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, "responsiveBehavior": "fill", "noContainerOffset": true, - "disabledWidgetFeatures": [ - "dynamicHeight" - ], + "disabledWidgetFeatures": ["dynamicHeight"], "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileLeftColumn": 0, "maxDynamicHeight": 9000, @@ -1739,10 +1611,7 @@ "itemBackgroundColor": "#FFFFFF", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "hasMetaWidgets": true, "isLoading": false, "mainCanvasId": "xtwcksp011", @@ -1847,9 +1716,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Content" - ], + "tags": ["Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 58, @@ -1909,11 +1776,7 @@ "isCanvas": false, "displayName": "Map Chart", "iconSVG": "/static/media/icon.8676a101f7a7b525c93961a5fc154938.svg", - "searchTags": [ - "graph", - "visuals", - "visualisations" - ], + "searchTags": ["graph", "visuals", "visualisations"], "topRow": 86, "bottomRow": 118, "parentRowSpace": 10, @@ -1944,9 +1807,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 86, @@ -2015,9 +1876,7 @@ "label": "Open Menu", "version": 1, "parentId": "0", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 85, @@ -2034,11 +1893,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 91, "bottomRow": 331, "parentRowSpace": 10, @@ -2080,10 +1935,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -2110,9 +1962,7 @@ "isVisible": true, "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -2126,11 +1976,7 @@ "widgetName": "Text4", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -2166,10 +2012,7 @@ "textColor": "#231F20", "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -2189,10 +2032,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2221,9 +2061,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2242,10 +2080,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2274,9 +2109,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "wuk3lelfl2", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2317,9 +2150,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 91, @@ -2336,11 +2167,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 132, "bottomRow": 372, "parentRowSpace": 10, @@ -2382,10 +2209,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0, "bottomRow": 4, "type": "ICON_BUTTON_WIDGET", @@ -2412,9 +2236,7 @@ "isVisible": true, "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -2428,11 +2250,7 @@ "widgetName": "Text5", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 1, "bottomRow": 5, "type": "TEXT_WIDGET", @@ -2468,10 +2286,7 @@ "textColor": "#231F20", "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 1, @@ -2491,10 +2306,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2523,9 +2335,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2544,10 +2354,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Button", "iconSVG": "/static/media/icon.05d209fafeb13a8569e3b4e97069d9ee.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 18, "bottomRow": 22, "type": "BUTTON_WIDGET", @@ -2576,9 +2383,7 @@ "recaptchaType": "V3", "version": 1, "parentId": "qc7xr9bi2u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 18, @@ -2619,9 +2424,7 @@ "canEscapeKeyClose": true, "version": 2, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 132, @@ -2639,9 +2442,7 @@ "labelWidth": 5, "type": "MULTI_SELECT_TREE_WIDGET", "mode": "SHOW_ALL", - "defaultOptionValue": [ - "GREEN" - ], + "defaultOptionValue": ["GREEN"], "animateLoading": true, "leftColumn": 0, "dynamicBindingPathList": [ @@ -2684,19 +2485,14 @@ "isVisible": true, "version": 1, "expandAll": false, - "tags": [ - "Select" - ], + "tags": ["Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 136, "mobileBottomRow": 136, "widgetName": "MultiTreeSelect1", "displayName": "Multi TreeSelect", - "searchTags": [ - "dropdown", - "multiselecttree" - ], + "searchTags": ["dropdown", "multiselecttree"], "bottomRow": 136, "parentRowSpace": 10, "hideCard": false, @@ -2728,10 +2524,7 @@ "labelWidth": 5, "type": "MULTI_SELECT_WIDGET_V2", "serverSideFiltering": false, - "defaultOptionValue": [ - "GREEN", - "RED" - ], + "defaultOptionValue": ["GREEN", "RED"], "animateLoading": true, "leftColumn": 9, "dynamicBindingPathList": [ @@ -2749,9 +2542,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Select" - ], + "tags": ["Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 137, @@ -2759,10 +2550,7 @@ "widgetName": "MultiSelect1", "isFilterable": true, "displayName": "MultiSelect", - "searchTags": [ - "dropdown", - "tags" - ], + "searchTags": ["dropdown", "tags"], "bottomRow": 137, "parentRowSpace": 10, "hideCard": false, @@ -2809,9 +2597,7 @@ "iconSVG": "/static/media/icon.0e730017fc6034faa535c7c3ff261daa.svg", "tooltipAlwaysOn": false, "labelText": "Percentage", - "searchTags": [ - "range" - ], + "searchTags": ["range"], "topRow": 121, "bottomRow": 129, "parentRowSpace": 10, @@ -2857,9 +2643,7 @@ "shouldScroll": false, "version": 1, "parentId": "0", - "tags": [ - "Sliders" - ], + "tags": ["Sliders"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -2895,17 +2679,13 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 101, "widgetName": "PhoneInput1", "displayName": "Phone Input", - "searchTags": [ - "call" - ], + "searchTags": ["call"], "bottomRow": 101, "parentRowSpace": 10, "defaultDialCode": "+1", @@ -2941,9 +2721,7 @@ "isCanvas": false, "displayName": "Progress", "iconSVG": "/static/media/icon.d957681553199f5445fe4fb3038b7a64.svg", - "searchTags": [ - "percent" - ], + "searchTags": ["percent"], "topRow": 140, "bottomRow": 144, "parentRowSpace": 10, @@ -2972,9 +2750,7 @@ "steps": 1, "version": 1, "parentId": "0", - "tags": [ - "Content" - ], + "tags": ["Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 140, @@ -2991,9 +2767,7 @@ "widgetName": "RadioGroup1", "displayName": "Radio Group", "iconSVG": "/static/media/icon.99c101b3b70073f9c00e9af6523f9427.svg", - "searchTags": [ - "choice" - ], + "searchTags": ["choice"], "topRow": 140, "bottomRow": 153, "parentRowSpace": 10, @@ -3034,9 +2808,7 @@ "label": "Label", "version": 1, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -3068,9 +2840,7 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Sliders" - ], + "tags": ["Sliders"], "isLoading": false, "originalBottomRow": 166, "minRange": 5, @@ -3123,10 +2893,7 @@ "widgetName": "Rating1", "displayName": "Rating", "iconSVG": "/static/media/icon.2281d0260761c25b3504117eddb50d8d.svg", - "searchTags": [ - "stars", - "rate" - ], + "searchTags": ["stars", "rate"], "topRow": 154, "bottomRow": 158, "parentRowSpace": 10, @@ -3153,9 +2920,7 @@ "widgetId": "m2hxtimc8p", "isVisible": true, "parentId": "0", - "tags": [ - "Content" - ], + "tags": ["Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 147, @@ -3168,13 +2933,7 @@ "isAllowHalf": false, "originalBottomRow": 158, "minDynamicHeight": 4, - "tooltips": [ - "Terrible", - "Bad", - "Neutral", - "Good", - "Great" - ] + "tooltips": ["Terrible", "Bad", "Neutral", "Good", "Great"] }, { "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", @@ -3183,10 +2942,7 @@ "displayName": "Rich Text Editor", "iconSVG": "/static/media/icon.074d534389d0f6262ecfbd8e81539d08.svg", "labelText": "Label", - "searchTags": [ - "input", - "rte" - ], + "searchTags": ["input", "rte"], "topRow": 145, "bottomRow": 165, "parentRowSpace": 10, @@ -3219,9 +2975,7 @@ "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Inputs" - ], + "tags": ["Inputs"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -3261,19 +3015,14 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, - "tags": [ - "Suggested", - "Select" - ], + "tags": ["Suggested", "Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileBottomRow": 110, "widgetName": "Select1", "isFilterable": true, "displayName": "Select", - "searchTags": [ - "dropdown" - ], + "searchTags": ["dropdown"], "bottomRow": 110, "parentRowSpace": 10, "hideCard": false, @@ -3319,9 +3068,7 @@ "isCanvas": true, "displayName": "Stats Box", "iconSVG": "/static/media/icon.182a90a0c52d97288bf067cc9c4186d4.svg", - "searchTags": [ - "statbox" - ], + "searchTags": ["statbox"], "topRow": 125, "bottomRow": 140, "parentRowSpace": 10, @@ -3362,11 +3109,7 @@ "widgetName": "Text6", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0, "bottomRow": 4, "type": "TEXT_WIDGET", @@ -3402,10 +3145,7 @@ "textColor": "#999999", "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0, @@ -3421,11 +3161,7 @@ "widgetName": "Text7", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 4, "bottomRow": 8, "type": "TEXT_WIDGET", @@ -3461,10 +3197,7 @@ "textColor": "#231F20", "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4, @@ -3482,10 +3215,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 2, "bottomRow": 10, "type": "ICON_BUTTON_WIDGET", @@ -3512,9 +3242,7 @@ "isVisible": true, "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 2, @@ -3528,11 +3256,7 @@ "widgetName": "Text8", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 8, "bottomRow": 13, "type": "TEXT_WIDGET", @@ -3568,10 +3292,7 @@ "textColor": "#03B365", "version": 1, "parentId": "6p1oisvt4u", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 8, @@ -3613,9 +3334,7 @@ "widgetId": "16h9hj28au", "isVisible": true, "parentId": "0", - "tags": [ - "Display" - ], + "tags": ["Display"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 125, @@ -3633,9 +3352,7 @@ "widgetName": "Switch1", "displayName": "Switch", "iconSVG": "/static/media/icon.afbd826fee9d09b12c5cde30a8c6fe62.svg", - "searchTags": [ - "boolean" - ], + "searchTags": ["boolean"], "topRow": 126, "bottomRow": 130, "parentRowSpace": 10, @@ -3664,9 +3381,7 @@ "defaultSwitchState": true, "version": 1, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 126, @@ -3718,18 +3433,14 @@ "isRequired": false, "isDeprecated": false, "rightColumn": 36, - "defaultSelectedValues": [ - "BLUE" - ], + "defaultSelectedValues": ["BLUE"], "dynamicHeight": "AUTO_HEIGHT", "widgetId": "lahfh6aqh8", "accentColor": "{{appsmith.theme.colors.primaryColor}}", "isVisible": true, "version": 1, "parentId": "0", - "tags": [ - "Toggles" - ], + "tags": ["Toggles"], "labelAlignment": "left", "renderMode": "CANVAS", "isLoading": false, @@ -3877,9 +3588,7 @@ "isVisible": true, "version": 3, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 173, @@ -3896,11 +3605,7 @@ "widgetName": "Text9", "displayName": "Text", "iconSVG": "/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 171, "bottomRow": 175, "parentRowSpace": 10, @@ -3941,10 +3646,7 @@ "textColor": "#231F20", "version": 1, "parentId": "0", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 171, @@ -4007,19 +3709,14 @@ "isVisible": true, "version": 1, "expandAll": false, - "tags": [ - "Select" - ], + "tags": ["Select"], "isLoading": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "originalBottomRow": 207, "mobileBottomRow": 207, "widgetName": "TreeSelect1", "displayName": "TreeSelect", - "searchTags": [ - "dropdown", - "singleselecttree" - ], + "searchTags": ["dropdown", "singleselecttree"], "bottomRow": 207, "parentRowSpace": 10, "hideCard": false, @@ -4049,9 +3746,7 @@ "widgetName": "Video1", "displayName": "Video", "iconSVG": "/static/media/icon.e3e5dfc92ff10e68a8a2b3c94ab4a4a4.svg", - "searchTags": [ - "youtube" - ], + "searchTags": ["youtube"], "topRow": 199, "bottomRow": 227, "parentRowSpace": 10, @@ -4078,9 +3773,7 @@ "version": 1, "url": "https://assets.appsmith.com/widgets/bird.mp4", "parentId": "0", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 199, @@ -4122,10 +3815,7 @@ "enableClientSideSearch": true, "version": 2, "totalRecordsCount": 0, - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "isLoading": false, "childStylesheet": { "button": { @@ -4153,9 +3843,7 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "columnUpdatedAt": 1691735653044, "originalBottomRow": 260, - "defaultSelectedRowIndices": [ - 0 - ], + "defaultSelectedRowIndices": [0], "mobileBottomRow": 260, "widgetName": "Table1", "defaultPageSize": 0, @@ -4192,4 +3880,4 @@ "verticalAlignment": "CENTER" } ] -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/application.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/application.json index 7e9bf5cabd1c..81a17ac71cf6 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/application.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/application.json @@ -1,3 +1,3 @@ { "applicationKey": "applicationValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/datasources/Datasource1.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/datasources/Datasource1.json index 78568813db9c..90a46d457c98 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/datasources/Datasource1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/datasources/Datasource1.json @@ -1,3 +1,3 @@ { "datasourceKey": "datasourceValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/jsobjects/JSObject1_Page1.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/jsobjects/JSObject1_Page1.json index 8611bce5d6fa..0e8033103600 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/jsobjects/JSObject1_Page1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/jsobjects/JSObject1_Page1.json @@ -1,3 +1,3 @@ { "jsobjectKey": "jsobjectValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/metadata.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/metadata.json index 73265b703c6d..a1bce3e15634 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/metadata.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/metadata.json @@ -1,4 +1,4 @@ { "fileFormatVersion": 1, "key": "value" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/pages/Page1.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/pages/Page1.json index d02d1373738f..7ff8807c7720 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/pages/Page1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/pages/Page1.json @@ -1,3 +1,3 @@ { "pageKey": "pageValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/queries/Query1_Page1.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/queries/Query1_Page1.json index a5c21b6ab673..47fc75076165 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/queries/Query1_Page1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v1/queries/Query1_Page1.json @@ -1,3 +1,3 @@ { "queryKey": "queryValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/application.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/application.json index 7e9bf5cabd1c..81a17ac71cf6 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/application.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/application.json @@ -1,3 +1,3 @@ { "applicationKey": "applicationValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/datasources/Datasource1.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/datasources/Datasource1.json index 78568813db9c..90a46d457c98 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/datasources/Datasource1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/datasources/Datasource1.json @@ -1,3 +1,3 @@ { "datasourceKey": "datasourceValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/metadata.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/metadata.json index c3148b841037..77f50bec1ad9 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/metadata.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/metadata.json @@ -1,4 +1,4 @@ { "fileFormatVersion": 2, "key": "value" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/canvas.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/canvas.json index d02d1373738f..7ff8807c7720 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/canvas.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/canvas.json @@ -1,3 +1,3 @@ { "pageKey": "pageValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/jsobjects/JSObject1.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/jsobjects/JSObject1.json index 8611bce5d6fa..0e8033103600 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/jsobjects/JSObject1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/jsobjects/JSObject1.json @@ -1,3 +1,3 @@ { "jsobjectKey": "jsobjectValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/queries/Query1.json b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/queries/Query1.json index a5c21b6ab673..47fc75076165 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/queries/Query1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/GitExecutorTests/FileFormatVersions/v2/pages/Page1/queries/Query1.json @@ -1,3 +1,3 @@ { "queryKey": "queryValue" -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/building-block.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/building-block.json index 851915f6b15d..0beb73bdf172 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/building-block.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/building-block.json @@ -111,11 +111,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 1.0, "bottomRow": 89.0, "parentRowSpace": 10.0, @@ -165,11 +161,7 @@ "widgetName": "txt_title", "displayName": "Text", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 2.0, "bottomRow": 7.0, "parentRowSpace": 10.0, @@ -208,10 +200,7 @@ "textColor": "#231F20", "version": 1.0, "parentId": "06dn98c6oy", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4.0, @@ -304,10 +293,7 @@ "enableClientSideSearch": true, "version": 2.0, "totalRecordsCount": 0.0, - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "isLoading": false, "childStylesheet": { "button": { @@ -333,12 +319,10 @@ } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "columnUpdatedAt": 1.700724596396E12, + "columnUpdatedAt": 1.700724596396e12, "originalBottomRow": 85.0, "primaryColumnId": "id", - "defaultSelectedRowIndices": [ - 0.0 - ], + "defaultSelectedRowIndices": [0.0], "mobileBottomRow": 36.0, "widgetName": "tbl_products", "defaultPageSize": 0.0, @@ -805,9 +789,7 @@ "isVisible": true, "version": 1.0, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 9.0, @@ -824,11 +806,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 102.0, "bottomRow": 772.0, "parentRowSpace": 10.0, @@ -1030,10 +1008,7 @@ }, "isVisible": true, "version": 1.0, - "tags": [ - "Suggested", - "Layout" - ], + "tags": ["Suggested", "Layout"], "isLoading": false, "submitButtonLabel": "Update", "childStylesheet": { @@ -1494,9 +1469,7 @@ "isVisible": true, "version": 1.0, "parentId": "37glzo1i9w", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 40.0, @@ -1513,11 +1486,7 @@ "widgetName": "txt_updateProductTitle", "displayName": "Text", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0.0, "bottomRow": 4.0, "parentRowSpace": 10.0, @@ -1556,10 +1525,7 @@ "textColor": "#231F20", "version": 1.0, "parentId": "37glzo1i9w", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0.0, @@ -1580,10 +1546,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0.0, "bottomRow": 4.0, "parentRowSpace": 10.0, @@ -1616,9 +1579,7 @@ "isVisible": true, "version": 1.0, "parentId": "37glzo1i9w", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0.0, @@ -1661,9 +1622,7 @@ "canEscapeKeyClose": true, "version": 2.0, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 101.0, @@ -1736,11 +1695,7 @@ "isCanvas": true, "displayName": "Container", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.daebf68875b6c8e909e9e8ac8bee0c02.svg", - "searchTags": [ - "div", - "parent", - "group" - ], + "searchTags": ["div", "parent", "group"], "topRow": 1.0, "bottomRow": 89.0, "parentRowSpace": 10.0, @@ -1790,11 +1745,7 @@ "widgetName": "txt_title", "displayName": "Text", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 2.0, "bottomRow": 7.0, "parentRowSpace": 10.0, @@ -1833,10 +1784,7 @@ "textColor": "#231F20", "version": 1.0, "parentId": "06dn98c6oy", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 4.0, @@ -1929,10 +1877,7 @@ "enableClientSideSearch": true, "version": 2.0, "totalRecordsCount": 0.0, - "tags": [ - "Suggested", - "Display" - ], + "tags": ["Suggested", "Display"], "isLoading": false, "childStylesheet": { "button": { @@ -1958,12 +1903,10 @@ } }, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "columnUpdatedAt": 1.700724596396E12, + "columnUpdatedAt": 1.700724596396e12, "originalBottomRow": 85.0, "primaryColumnId": "id", - "defaultSelectedRowIndices": [ - 0.0 - ], + "defaultSelectedRowIndices": [0.0], "mobileBottomRow": 36.0, "widgetName": "tbl_products", "defaultPageSize": 0.0, @@ -2430,9 +2373,7 @@ "isVisible": true, "version": 1.0, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 9.0, @@ -2449,11 +2390,7 @@ "isCanvas": true, "displayName": "Modal", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.b374721fa8e1aeab7cf326c2d865506f.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], + "searchTags": ["dialog", "popup", "notification"], "topRow": 102.0, "bottomRow": 772.0, "parentRowSpace": 10.0, @@ -2655,10 +2592,7 @@ }, "isVisible": true, "version": 1.0, - "tags": [ - "Suggested", - "Layout" - ], + "tags": ["Suggested", "Layout"], "isLoading": false, "submitButtonLabel": "Update", "childStylesheet": { @@ -3119,9 +3053,7 @@ "isVisible": true, "version": 1.0, "parentId": "37glzo1i9w", - "tags": [ - "Media" - ], + "tags": ["Media"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 40.0, @@ -3138,11 +3070,7 @@ "widgetName": "txt_updateProductTitle", "displayName": "Text", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.a47d6d5dbbb718c4dc4b2eb4f218c1b7.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], + "searchTags": ["typography", "paragraph", "label"], "topRow": 0.0, "bottomRow": 4.0, "parentRowSpace": 10.0, @@ -3181,10 +3109,7 @@ "textColor": "#231F20", "version": 1.0, "parentId": "37glzo1i9w", - "tags": [ - "Suggested", - "Content" - ], + "tags": ["Suggested", "Content"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0.0, @@ -3205,10 +3130,7 @@ "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "displayName": "Icon button", "iconSVG": "https://appcdn.appsmith.com/static/media/icon.b08054586989b185a0801e9a34f8ad49.svg", - "searchTags": [ - "click", - "submit" - ], + "searchTags": ["click", "submit"], "topRow": 0.0, "bottomRow": 4.0, "parentRowSpace": 10.0, @@ -3241,9 +3163,7 @@ "isVisible": true, "version": 1.0, "parentId": "37glzo1i9w", - "tags": [ - "Buttons" - ], + "tags": ["Buttons"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 0.0, @@ -3286,9 +3206,7 @@ "canEscapeKeyClose": true, "version": 2.0, "parentId": "0", - "tags": [ - "Layout" - ], + "tags": ["Layout"], "renderMode": "CANVAS", "isLoading": false, "mobileTopRow": 101.0, diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/file-with-v1.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/file-with-v1.json index 29c5ee12b765..c9b595ecacee 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/file-with-v1.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/file-with-v1.json @@ -1,4 +1,4 @@ { - "serverSchemaVersion" : 1, - "clientSchemaVersion" : 1 -} \ No newline at end of file + "serverSchemaVersion": 1, + "clientSchemaVersion": 1 +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/incompatible_version.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/incompatible_version.json index 8ccaa6442d73..a5833b756613 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/incompatible_version.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/incompatible_version.json @@ -1,3 +1,3 @@ { - "serverSchemaVersion" : 10000 -} \ No newline at end of file + "serverSchemaVersion": 10000 +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-application-without-pageId-action-collection.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-application-without-pageId-action-collection.json index 137cfe7925eb..bda8fe57c287 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-application-without-pageId-action-collection.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-application-without-pageId-action-collection.json @@ -46,10 +46,7 @@ ], "pageList": [ { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page1_git", "applicationId": "valid_application", "unpublishedPage": { @@ -81,11 +78,7 @@ "children": [ { "widgetName": "Table1", - "columnOrder": [ - "_id", - "username", - "active" - ], + "columnOrder": ["_id", "username", "active"], "dynamicPropertyPathList": [], "topRow": 4, "bottomRow": 15, @@ -335,10 +328,7 @@ "new": true }, { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page2_git", "applicationId": "valid_application", "unpublishedPage": { @@ -369,9 +359,7 @@ "leftColumn": 0, "children": [] }, - "layoutOnLoadActions": [ - [] - ], + "layoutOnLoadActions": [[]], "new": false } ], @@ -380,10 +368,7 @@ "new": true } ], - "pageOrder": [ - "Page1", - "Page2" - ], + "pageOrder": ["Page1", "Page2"], "actionList": [ { "id": "60aca092136c4b7178f6790a", @@ -491,11 +476,7 @@ "actionCollectionList": [ { "id": "61518b8548b30155375f5276", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "unpublishedCollection": { "name": "JSObject1", "pluginId": "js-plugin", @@ -513,18 +494,13 @@ "new": false } ], - "decryptedFields": { - }, + "decryptedFields": {}, "publishedDefaultPageName": "Page1", "unpublishedDefaultPageName": "Page1", "publishedLayoutmongoEscapedWidgets": { - "60aca056136c4b7178f67906": [ - "Table1" - ] + "60aca056136c4b7178f67906": ["Table1"] }, "unpublishedLayoutmongoEscapedWidgets": { - "60aca056136c4b7178f67906": [ - "Table1" - ] + "60aca056136c4b7178f67906": ["Table1"] } } diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-app.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-app.json index 2c91f465bf40..f13c34566c11 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-app.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-app.json @@ -1,18 +1,18 @@ { - "datasourceList": [], - "pageList": [ - { - "applicationId": "test_app" - } - ], - "actionList": [ - { - "id": "randomId", - "userPermissions": [], - "unpublishedAction": {}, - "publishedAction": {} - } - ], - "decryptedFields": {}, - "mongoEscapedWidgets": {} -} \ No newline at end of file + "datasourceList": [], + "pageList": [ + { + "applicationId": "test_app" + } + ], + "actionList": [ + { + "id": "randomId", + "userPermissions": [], + "unpublishedAction": {}, + "publishedAction": {} + } + ], + "decryptedFields": {}, + "mongoEscapedWidgets": {} +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-pages.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-pages.json index 2918b2bea0e7..0542180fa04d 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-pages.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/invalid-json-without-pages.json @@ -1,12 +1,12 @@ { - "exportedApplication": {}, - "datasourceList": [], - "pageList": [], - "actionList": [ - { - "id": "randomId" - } - ], - "decryptedFields": {}, - "mongoEscapedWidgets": {} -} \ No newline at end of file + "exportedApplication": {}, + "datasourceList": [], + "pageList": [], + "actionList": [ + { + "id": "randomId" + } + ], + "decryptedFields": {}, + "mongoEscapedWidgets": {} +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-resource.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-resource.json index 5b04a1269187..05cd44022aee 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-resource.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-resource.json @@ -396,9 +396,7 @@ }, { "key": "where", - "value": [ - {} - ] + "value": [{}] } ], "formData": { @@ -548,9 +546,7 @@ }, { "key": "where", - "value": [ - {} - ] + "value": [{}] } ], "formData": { @@ -705,9 +701,7 @@ }, { "key": "where", - "value": [ - {} - ] + "value": [{}] } ], "formData": { @@ -792,9 +786,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "(data_table.pageNo - 1) * data_table.pageSize" - ], + "jsonPathKeys": ["(data_table.pageNo - 1) * data_table.pageSize"], "confirmBeforeExecute": false, "userPermissions": [], "validName": "SelectQuery", @@ -874,9 +866,7 @@ }, { "key": "where", - "value": [ - {} - ] + "value": [{}] } ], "formData": { @@ -961,9 +951,7 @@ "isValid": true, "invalids": [], "messages": [], - "jsonPathKeys": [ - "(data_table.pageNo - 1) * data_table.pageSize" - ], + "jsonPathKeys": ["(data_table.pageNo - 1) * data_table.pageSize"], "confirmBeforeExecute": false, "userPermissions": [], "validName": "SelectQuery", @@ -1049,9 +1037,7 @@ }, { "key": "where", - "value": [ - {} - ] + "value": [{}] } ], "formData": { @@ -1205,9 +1191,7 @@ }, { "key": "where", - "value": [ - {} - ] + "value": [{}] } ], "formData": { diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-valid-without-widget.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-valid-without-widget.json index 232e05ab8008..55427a4ae4ba 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-valid-without-widget.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/partial-export-valid-without-widget.json @@ -16,9 +16,7 @@ "customJSLibList": [ { "name": "xmlParser", - "accessor": [ - "xmlParser" - ], + "accessor": ["xmlParser"], "url": "https://cdnjs.cloudflare.com/ajax/libs/fast-xml-parser/3.17.5/parser.min.js", "version": "3.17.5", "defs": "{\"!name\":\"LIB/xmlParser\",\"xmlParser\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertTonimn\":{\"!type\":\"fn()\",\"prototype\":{}},\"getTraversalObj\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJson\":{\"!type\":\"fn()\",\"prototype\":{}},\"convertToJsonString\":{\"!type\":\"fn()\",\"prototype\":{}},\"validate\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2xParser\":{\"!type\":\"fn()\",\"prototype\":{\"parse\":{\"!type\":\"fn()\",\"prototype\":{}},\"j2x\":{\"!type\":\"fn()\",\"prototype\":{}}}},\"parseToNimn\":{\"!type\":\"fn()\",\"prototype\":{}}}}", diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-app-positioning.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-app-positioning.json index e678d988fb39..c7cd0cced699 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-app-positioning.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-app-positioning.json @@ -128,9 +128,7 @@ "updatedResources": { "customJSLibList": [], "actionList": [], - "pageList": [ - "Page1" - ], + "pageList": ["Page1"], "actionCollectionList": [] }, "editModeTheme": { diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-custom-themes.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-custom-themes.json index eaeb3db2c095..073790cc3722 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-custom-themes.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-custom-themes.json @@ -80,10 +80,7 @@ ], "pageList": [ { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page1_git", "applicationId": "valid_application", "unpublishedPage": { @@ -115,11 +112,7 @@ "children": [ { "widgetName": "Table1", - "columnOrder": [ - "_id", - "username", - "active" - ], + "columnOrder": ["_id", "username", "active"], "dynamicPropertyPathList": [], "topRow": 4, "bottomRow": 15, @@ -376,10 +369,7 @@ "new": true }, { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page2_git", "applicationId": "valid_application", "unpublishedPage": { @@ -410,9 +400,7 @@ "leftColumn": 0, "children": [] }, - "layoutOnLoadActions": [ - [] - ], + "layoutOnLoadActions": [[]], "new": false } ], @@ -421,10 +409,7 @@ "new": true } ], - "pageOrder": [ - "Page1", - "Page2" - ], + "pageOrder": ["Page1", "Page2"], "actionList": [ { "id": "60aca092136c4b7178f6790a", @@ -531,11 +516,7 @@ }, { "id": "61518b8548b30155375f5275", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "pluginType": "JS", "pluginId": "js-plugin", "unpublishedAction": { @@ -583,11 +564,7 @@ "actionCollectionList": [ { "id": "61518b8548b30155375f5276", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "unpublishedCollection": { "name": "JSObject1", "pageId": "Page1", @@ -621,14 +598,10 @@ "publishedDefaultPageName": "Page1", "unpublishedDefaultPageName": "Page1", "publishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] }, "unpublishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] }, "editModeTheme": { "displayName": "Custom edit theme", @@ -644,4 +617,4 @@ "applicationId": "dummy-app-id", "organizationId": "dummy-org-id" } -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-page-removed.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-page-removed.json index a7f76d16ab6f..6bede42fba8e 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-page-removed.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-page-removed.json @@ -15,10 +15,7 @@ "datasourceList": [], "pageList": [ { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "61f2706d5090aa7077cb878f_61f2706d5090aa7077cb8791", "unpublishedPage": { "name": "importedPage", @@ -50,12 +47,7 @@ { "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "step", - "task", - "status", - "action" - ], + "columnOrder": ["step", "task", "status", "action"], "isVisibleDownload": true, "displayName": "Table", "iconSVG": "/static/media/icon.db8a9cbd.svg", @@ -253,9 +245,7 @@ "new": true } ], - "pageOrder": [ - "importedPage" - ], + "pageOrder": ["importedPage"], "publishedDefaultPageName": "importedPage", "unpublishedDefaultPageName": "importedPage", "actionList": [], @@ -273,4 +263,4 @@ }, "publishedLayoutmongoEscapedWidgets": {}, "unpublishedLayoutmongoEscapedWidgets": {} -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-un-configured-datasource.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-un-configured-datasource.json index 22b4d4f04df4..524970a8dbf8 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-un-configured-datasource.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-with-un-configured-datasource.json @@ -42,10 +42,7 @@ ], "pageList": [ { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "61f2706d5090aa7077cb878f_61f2706d5090aa7077cb8791", "unpublishedPage": { "name": "Page1", @@ -77,12 +74,7 @@ { "widgetName": "Table1", "defaultPageSize": 0, - "columnOrder": [ - "step", - "task", - "status", - "action" - ], + "columnOrder": ["step", "task", "status", "action"], "isVisibleDownload": true, "displayName": "Table", "iconSVG": "/static/media/icon.db8a9cbd.svg", @@ -280,19 +272,13 @@ "new": true } ], - "pageOrder": [ - "Page1" - ], + "pageOrder": ["Page1"], "publishedDefaultPageName": "Page1", "unpublishedDefaultPageName": "Page1", "actionList": [ { "id": "Page1_testQuery", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "gitSyncId": "61f2706d5090aa7077cb878f_61f270a25090aa7077cb8795", "pluginType": "DB", "pluginId": "mongo-plugin", @@ -354,11 +340,7 @@ }, { "id": "Page1_testQuery1", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "gitSyncId": "61f2706d5090aa7077cb878f_61f271395090aa7077cb8799", "pluginType": "DB", "pluginId": "postgres-plugin", @@ -422,4 +404,4 @@ }, "publishedLayoutmongoEscapedWidgets": {}, "unpublishedLayoutmongoEscapedWidgets": {} -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-action-collection.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-action-collection.json index 29495f36eadc..4874f7b57815 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-action-collection.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-action-collection.json @@ -80,10 +80,7 @@ ], "pageList": [ { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page1_git", "applicationId": "valid_application", "unpublishedPage": { @@ -115,11 +112,7 @@ "children": [ { "widgetName": "Table1", - "columnOrder": [ - "_id", - "username", - "active" - ], + "columnOrder": ["_id", "username", "active"], "dynamicPropertyPathList": [], "topRow": 4, "bottomRow": 15, @@ -376,10 +369,7 @@ "new": true }, { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page2_git", "applicationId": "valid_application", "unpublishedPage": { @@ -410,9 +400,7 @@ "leftColumn": 0, "children": [] }, - "layoutOnLoadActions": [ - [] - ], + "layoutOnLoadActions": [[]], "new": false } ], @@ -421,10 +409,7 @@ "new": true } ], - "pageOrder": [ - "Page1", - "Page2" - ], + "pageOrder": ["Page1", "Page2"], "actionList": [ { "id": "60aca092136c4b7178f6790a", @@ -545,13 +530,9 @@ "publishedDefaultPageName": "Page1", "unpublishedDefaultPageName": "Page1", "publishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] }, "unpublishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] } } diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-app-layout.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-app-layout.json index fc28d600782b..216922f6b340 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-app-layout.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-app-layout.json @@ -119,9 +119,7 @@ "updatedResources": { "customJSLibList": [], "actionList": [], - "pageList": [ - "Page1" - ], + "pageList": ["Page1"], "actionCollectionList": [] }, "editModeTheme": { @@ -136,4 +134,4 @@ "isSystemTheme": true, "deleted": false } -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-navigation-theme-setting.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-navigation-theme-setting.json index fc28d600782b..216922f6b340 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-navigation-theme-setting.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-navigation-theme-setting.json @@ -119,9 +119,7 @@ "updatedResources": { "customJSLibList": [], "actionList": [], - "pageList": [ - "Page1" - ], + "pageList": ["Page1"], "actionCollectionList": [] }, "editModeTheme": { @@ -136,4 +134,4 @@ "isSystemTheme": true, "deleted": false } -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-theme.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-theme.json index 8c8a1aedff80..655a971465f4 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-theme.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application-without-theme.json @@ -80,10 +80,7 @@ ], "pageList": [ { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page1_git", "applicationId": "valid_application", "unpublishedPage": { @@ -115,11 +112,7 @@ "children": [ { "widgetName": "Table1", - "columnOrder": [ - "_id", - "username", - "active" - ], + "columnOrder": ["_id", "username", "active"], "dynamicPropertyPathList": [], "topRow": 4, "bottomRow": 15, @@ -376,10 +369,7 @@ "new": true }, { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page2_git", "applicationId": "valid_application", "unpublishedPage": { @@ -410,9 +400,7 @@ "leftColumn": 0, "children": [] }, - "layoutOnLoadActions": [ - [] - ], + "layoutOnLoadActions": [[]], "new": false } ], @@ -421,10 +409,7 @@ "new": true } ], - "pageOrder": [ - "Page1", - "Page2" - ], + "pageOrder": ["Page1", "Page2"], "actionList": [ { "id": "60aca092136c4b7178f6790a", @@ -531,11 +516,7 @@ }, { "id": "61518b8548b30155375f5275", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "pluginType": "JS", "pluginId": "js-plugin", "unpublishedAction": { @@ -583,11 +564,7 @@ "actionCollectionList": [ { "id": "61518b8548b30155375f5276", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "unpublishedCollection": { "name": "JSObject1", "pageId": "Page1", @@ -621,13 +598,9 @@ "publishedDefaultPageName": "Page1", "unpublishedDefaultPageName": "Page1", "publishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] }, "unpublishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] } -} \ No newline at end of file +} diff --git a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application.json b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application.json index d64ffd8ad8e7..1e886c994013 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/ImportExportServiceTest/valid-application.json @@ -14,8 +14,8 @@ "color": "#EA6179", "icon": "medical", "new": true, - "unpublishedCustomJSLibs": [{"uidString": "accessor1_url"}], - "publishedCustomJSLibs": [{"uidString": "accessor1_url"}] + "unpublishedCustomJSLibs": [{ "uidString": "accessor1_url" }], + "publishedCustomJSLibs": [{ "uidString": "accessor1_url" }] }, "datasourceList": [ { @@ -83,10 +83,7 @@ ], "pageList": [ { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page1_git", "applicationId": "valid_application", "unpublishedPage": { @@ -118,11 +115,7 @@ "children": [ { "widgetName": "Table1", - "columnOrder": [ - "_id", - "username", - "active" - ], + "columnOrder": ["_id", "username", "active"], "dynamicPropertyPathList": [], "topRow": 4, "bottomRow": 15, @@ -379,10 +372,7 @@ "new": true }, { - "userPermissions": [ - "read:pages", - "manage:pages" - ], + "userPermissions": ["read:pages", "manage:pages"], "gitSyncId": "page2_git", "applicationId": "valid_application", "unpublishedPage": { @@ -413,9 +403,7 @@ "leftColumn": 0, "children": [] }, - "layoutOnLoadActions": [ - [] - ], + "layoutOnLoadActions": [[]], "new": false } ], @@ -424,10 +412,7 @@ "new": true } ], - "pageOrder": [ - "Page1", - "Page2" - ], + "pageOrder": ["Page1", "Page2"], "actionList": [ { "id": "Page1_get_users", @@ -566,11 +551,7 @@ }, { "id": "Page1_JSObject1.run", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "pluginType": "JS", "pluginId": "installed-js-plugin", "unpublishedAction": { @@ -618,11 +599,7 @@ "actionCollectionList": [ { "id": "Page1_JSObject1", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "unpublishedCollection": { "name": "JSObject1", "pageId": "Page1", @@ -657,11 +634,7 @@ }, { "id": "Page1_JSObject2", - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], + "userPermissions": ["read:actions", "execute:actions", "manage:actions"], "unpublishedCollection": { "name": "JSObject2", "pageId": "Page1", @@ -695,14 +668,10 @@ "publishedDefaultPageName": "Page1", "unpublishedDefaultPageName": "Page1", "publishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] }, "unpublishedLayoutmongoEscapedWidgets": { - "Page1": [ - "Table1" - ] + "Page1": ["Table1"] }, "editModeTheme": { "name": "Classic", diff --git a/app/server/appsmith-server/src/test/resources/test_assets/PluginServiceTest/mock-editor.json b/app/server/appsmith-server/src/test/resources/test_assets/PluginServiceTest/mock-editor.json index 178d8e888e8e..048cbc554b56 100644 --- a/app/server/appsmith-server/src/test/resources/test_assets/PluginServiceTest/mock-editor.json +++ b/app/server/appsmith-server/src/test/resources/test_assets/PluginServiceTest/mock-editor.json @@ -20,7 +20,5 @@ ] } ], - "files": [ - "mock-example.json" - ] -} \ No newline at end of file + "files": ["mock-example.json"] +} diff --git a/app/server/pom.xml b/app/server/pom.xml index 6e408cd180cf..ccee774a5e50 100644 --- a/app/server/pom.xml +++ b/app/server/pom.xml @@ -158,6 +158,19 @@ + + + **/target/**/*.json + + + **/*.json + + + + 2 + + + pom.xml diff --git a/deploy/docker/fs/opt/appsmith/utils/bin/backup.js b/deploy/docker/fs/opt/appsmith/utils/bin/backup.js index e94c6e6407f0..a2ef2b85578f 100644 --- a/deploy/docker/fs/opt/appsmith/utils/bin/backup.js +++ b/deploy/docker/fs/opt/appsmith/utils/bin/backup.js @@ -125,7 +125,7 @@ function getEncryptionPasswordFromUser(){ async function exportDatabase(destFolder) { console.log('Exporting database'); - await executeMongoDumpCMD(destFolder, process.env.APPSMITH_DB_URL) + await executeMongoDumpCMD(destFolder, utils.getDburl()) console.log('Exporting database done.'); } @@ -141,7 +141,7 @@ async function createGitStorageArchive(destFolder) { async function createManifestFile(path) { const version = await utils.getCurrentAppsmithVersion() - const manifest_data = { "appsmithVersion": version, "dbName": utils.getDatabaseNameFromMongoURI(process.env.APPSMITH_DB_URL) } + const manifest_data = { "appsmithVersion": version, "dbName": utils.getDatabaseNameFromMongoURI(utils.getDburl()) } await fsPromises.writeFile(path + '/manifest.json', JSON.stringify(manifest_data)); } @@ -259,4 +259,4 @@ module.exports = { removeOldBackups, getEncryptionPasswordFromUser, encryptBackupArchive, -}; +}; \ No newline at end of file diff --git a/deploy/docker/fs/opt/appsmith/utils/bin/constants.js b/deploy/docker/fs/opt/appsmith/utils/bin/constants.js index bbce704de5e3..369fd5042e45 100644 --- a/deploy/docker/fs/opt/appsmith/utils/bin/constants.js +++ b/deploy/docker/fs/opt/appsmith/utils/bin/constants.js @@ -9,6 +9,8 @@ const APPSMITHCTL_LOG_PATH = "/appsmith-stacks/logs/appsmithctl" const LAST_ERROR_MAIL_TS = "/appsmith-stacks/data/backup/last-error-mail-ts" +const ENV_PATH = "/appsmith-stacks/configuration/docker.env" + const MIN_REQUIRED_DISK_SPACE_IN_BYTES = 2147483648 // 2GB const DURATION_BETWEEN_BACKUP_ERROR_MAILS_IN_MILLI_SEC = 21600000 // 6 hrs @@ -23,5 +25,6 @@ module.exports = { APPSMITHCTL_LOG_PATH, MIN_REQUIRED_DISK_SPACE_IN_BYTES, DURATION_BETWEEN_BACKUP_ERROR_MAILS_IN_MILLI_SEC, - APPSMITH_DEFAULT_BACKUP_ARCHIVE_LIMIT -} + APPSMITH_DEFAULT_BACKUP_ARCHIVE_LIMIT, + ENV_PATH +} \ No newline at end of file diff --git a/deploy/docker/fs/opt/appsmith/utils/bin/export_db.js b/deploy/docker/fs/opt/appsmith/utils/bin/export_db.js index f5e894b0c434..9072479450da 100644 --- a/deploy/docker/fs/opt/appsmith/utils/bin/export_db.js +++ b/deploy/docker/fs/opt/appsmith/utils/bin/export_db.js @@ -1,11 +1,13 @@ // Init function export mongodb const shell = require('shelljs'); const Constants = require('./constants'); +const utils = require('./utils'); function export_database() { console.log('export_database ....'); + dbUrl = utils.getDburl(); shell.mkdir('-p', [Constants.BACKUP_PATH]); - const cmd = `mongodump --uri='${process.env.APPSMITH_DB_URL}' --archive='${Constants.BACKUP_PATH}/${Constants.DUMP_FILE_NAME}' --gzip`; + const cmd = `mongodump --uri='${dbUrl}' --archive='${Constants.BACKUP_PATH}/${Constants.DUMP_FILE_NAME}' --gzip`; shell.exec(cmd); console.log('export_database done'); } @@ -61,4 +63,4 @@ module.exports = { exportDatabase: export_database, stopApplication: stop_application, startApplication: start_application, -}; +}; \ No newline at end of file diff --git a/deploy/docker/fs/opt/appsmith/utils/bin/import_db.js b/deploy/docker/fs/opt/appsmith/utils/bin/import_db.js index 57c326a0ac9b..0d575e4ff16e 100644 --- a/deploy/docker/fs/opt/appsmith/utils/bin/import_db.js +++ b/deploy/docker/fs/opt/appsmith/utils/bin/import_db.js @@ -2,11 +2,14 @@ const shell = require('shelljs'); const readlineSync = require('readline-sync'); const process = require('process'); -const Constants = require('./constants') +const Constants = require('./constants'); +const utils = require('./utils'); + function import_database() { console.log('import_database ....') - const cmd = `mongorestore --uri='${process.env.APPSMITH_DB_URL}' --drop --archive='${Constants.RESTORE_PATH}/${Constants.DUMP_FILE_NAME}' --gzip` + dbUrl = utils.getDburl(); + const cmd = `mongorestore --uri='${dbUrl}' --drop --archive='${Constants.RESTORE_PATH}/${Constants.DUMP_FILE_NAME}' --gzip` shell.exec(cmd) console.log('import_database done') } @@ -70,4 +73,4 @@ const main = (forceOption) => { module.exports = { runImportDatabase: main, -}; +} \ No newline at end of file diff --git a/deploy/docker/fs/opt/appsmith/utils/bin/restore.js b/deploy/docker/fs/opt/appsmith/utils/bin/restore.js index f79f84cf8f22..780ac3d0050c 100644 --- a/deploy/docker/fs/opt/appsmith/utils/bin/restore.js +++ b/deploy/docker/fs/opt/appsmith/utils/bin/restore.js @@ -57,12 +57,12 @@ async function extractArchive(backupFilePath, restoreRootPath) { console.log('Extracting the backup archive completed'); } -async function restoreDatabase(restoreContentsPath) { +async function restoreDatabase(restoreContentsPath, dbUrl) { console.log('Restoring database...'); - const cmd = ['mongorestore', `--uri=${process.env.APPSMITH_DB_URL}`, '--drop', `--archive=${restoreContentsPath}/mongodb-data.gz`, '--gzip'] + const cmd = ['mongorestore', `--uri=${dbUrl}`, '--drop', `--archive=${restoreContentsPath}/mongodb-data.gz`, '--gzip'] try { const fromDbName = await getBackupDatabaseName(restoreContentsPath); - const toDbName = utils.getDatabaseNameFromMongoURI(process.env.APPSMITH_DB_URL); + const toDbName = utils.getDatabaseNameFromMongoURI(dbUrl); console.log("Restoring database from " + fromDbName + " to " + toDbName) cmd.push('--nsInclude=*', `--nsFrom=${fromDbName}.*`, `--nsTo=${toDbName}.*`) } catch (error) { @@ -75,6 +75,7 @@ async function restoreDatabase(restoreContentsPath) { async function restoreDockerEnvFile(restoreContentsPath, backupName, overwriteEncryptionKeys) { console.log('Restoring docker environment file'); const dockerEnvFile = '/appsmith-stacks/configuration/docker.env'; + const updatedbUrl = utils.getDburl(); let encryptionPwd = process.env.APPSMITH_ENCRYPTION_PASSWORD; let encryptionSalt = process.env.APPSMITH_ENCRYPTION_SALT; await utils.execCommand(['mv', dockerEnvFile, dockerEnvFile + '.' + backupName]); @@ -105,10 +106,10 @@ async function restoreDockerEnvFile(restoreContentsPath, backupName, overwriteEn hideEchoBack: true }); } - await fsPromises.appendFile(dockerEnvFile, '\nAPPSMITH_ENCRYPTION_PASSWORD=' + encryptionPwd + '\nAPPSMITH_ENCRYPTION_SALT=' + encryptionSalt + '\nAPPSMITH_DB_URL=' + process.env.APPSMITH_DB_URL + + await fsPromises.appendFile(dockerEnvFile, '\nAPPSMITH_ENCRYPTION_PASSWORD=' + encryptionPwd + '\nAPPSMITH_ENCRYPTION_SALT=' + encryptionSalt + '\nAPPSMITH_DB_URL=' + utils.getDburl() + '\nAPPSMITH_MONGODB_USER=' + process.env.APPSMITH_MONGODB_USER + '\nAPPSMITH_MONGODB_PASSWORD=' + process.env.APPSMITH_MONGODB_PASSWORD ) ; } else { - await fsPromises.appendFile(dockerEnvFile, '\nAPPSMITH_DB_URL=' + process.env.APPSMITH_DB_URL + + await fsPromises.appendFile(dockerEnvFile, '\nAPPSMITH_DB_URL=' + updatedbUrl + '\nAPPSMITH_MONGODB_USER=' + process.env.APPSMITH_MONGODB_USER + '\nAPPSMITH_MONGODB_PASSWORD=' + process.env.APPSMITH_MONGODB_PASSWORD ) ; } console.log('Restoring docker environment file completed'); @@ -209,7 +210,7 @@ async function run() { console.log('****************************************************************'); console.log('Restoring Appsmith instance from the backup at ' + backupFilePath); utils.stop(['backend', 'rts']); - await restoreDatabase(restoreContentsPath); + await restoreDatabase(restoreContentsPath, utils.getDburl()); await restoreDockerEnvFile(restoreContentsPath, backupName, overwriteEncryptionKeys); await restoreGitStorageArchive(restoreContentsPath, backupName); console.log('Appsmith instance successfully restored.'); diff --git a/deploy/docker/fs/opt/appsmith/utils/bin/utils.js b/deploy/docker/fs/opt/appsmith/utils/bin/utils.js index 4e0ac665d406..997ab2fbaf6a 100644 --- a/deploy/docker/fs/opt/appsmith/utils/bin/utils.js +++ b/deploy/docker/fs/opt/appsmith/utils/bin/utils.js @@ -2,6 +2,7 @@ const shell = require("shelljs"); const fsPromises = require("fs/promises"); const Constants = require("./constants"); const childProcess = require("child_process"); +const fs = require('node:fs'); const { ConnectionString } = require("mongodb-connection-string-url"); function showHelp() { @@ -31,6 +32,27 @@ function start(apps) { console.log("Started " + appsStr); } +function getDburl() { + let dbUrl = ''; + try { + let env_array = fs.readFileSync(Constants.ENV_PATH, 'utf8').toString().split("\n"); + for (let i in env_array) { + if (env_array[i].startsWith("APPSMITH_MONGODB_URI") || env_array[i].startsWith("APPSMITH_DB_URL")) { + dbUrl = env_array[i].toString().split("=")[1]; + break; // Break early when the desired line is found + } + } + } catch (err) { + console.error("Error reading the environment file:", err); + } + let dbEnvUrl = process.env.APPSMITH_DB_URL || process.env.APPSMITH_MONGO_DB_URI; + // Make sure dbEnvUrl takes precedence over dbUrl + if (dbEnvUrl && dbEnvUrl !== "undefined") { + dbUrl = dbEnvUrl; + } + return dbUrl; +} + function execCommand(cmd, options) { return new Promise((resolve, reject) => { let isPromiseDone = false; @@ -174,4 +196,5 @@ module.exports = { preprocessMongoDBURI, execCommandSilent, getDatabaseNameFromMongoURI, + getDburl }; diff --git a/deploy/docker/fs/opt/appsmith/utils/package-lock.json b/deploy/docker/fs/opt/appsmith/utils/package-lock.json index e550bd88875a..c051315082c3 100644 --- a/deploy/docker/fs/opt/appsmith/utils/package-lock.json +++ b/deploy/docker/fs/opt/appsmith/utils/package-lock.json @@ -19,17 +19,17 @@ "appsmithctl": "bin/index.js" }, "devDependencies": { - "jest": "^29.1.2" + "jest": "^29.7.0" } }, "node_modules/@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "dev": true, "dependencies": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" @@ -700,119 +700,48 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, "dependencies": { - "@babel/highlight": "^7.22.13", - "chalk": "^2.4.2" + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/code-frame/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/code-frame/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/code-frame/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/compat-data": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz", - "integrity": "sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.2.tgz", + "integrity": "sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.3.tgz", - "integrity": "sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.3", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-module-transforms": "^7.19.0", - "@babel/helpers": "^7.19.0", - "@babel/parser": "^7.19.3", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.3", - "@babel/types": "^7.19.3", - "convert-source-map": "^1.7.0", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", + "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", - "semver": "^6.3.0" + "json5": "^2.2.3", + "semver": "^6.3.1" }, "engines": { "node": ">=6.9.0" @@ -823,200 +752,139 @@ } }, "node_modules/@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", + "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", "dev": true, "dependencies": { - "@babel/types": "^7.23.0", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.25.0", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz", - "integrity": "sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.19.3", - "@babel/helper-validator-option": "^7.18.6", - "browserslist": "^4.21.3", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" + "@babel/compat-data": "^7.25.2", + "@babel/helper-validator-option": "^7.24.8", + "browserslist": "^4.23.1", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", - "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", "dev": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz", - "integrity": "sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", "dev": true, "dependencies": { - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/helper-validator-identifier": "^7.18.6", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.0", - "@babel/types": "^7.19.0" + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.2" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz", - "integrity": "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz", - "integrity": "sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", "dev": true, "dependencies": { - "@babel/types": "^7.19.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", - "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", + "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.4.tgz", - "integrity": "sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.0.tgz", + "integrity": "sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==", "dev": true, "dependencies": { - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.4", - "@babel/types": "^7.19.4" + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", - "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", - "js-tokens": "^4.0.0" + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -1094,10 +962,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", + "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", "dev": true, + "dependencies": { + "@babel/types": "^7.25.2" + }, "bin": { "parser": "bin/babel-parser.js" }, @@ -1166,12 +1037,12 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz", - "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz", + "integrity": "sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1268,12 +1139,12 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz", - "integrity": "sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", + "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.24.7" }, "engines": { "node": ">=6.9.0" @@ -1283,34 +1154,31 @@ } }, "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", - "debug": "^4.1.0", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.3.tgz", + "integrity": "sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/parser": "^7.25.3", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.2", + "debug": "^4.3.1", "globals": "^11.1.0" }, "engines": { @@ -1318,13 +1186,13 @@ } }, "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", + "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" }, "engines": { @@ -1363,16 +1231,16 @@ } }, "node_modules/@jest/console": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.1.2.tgz", - "integrity": "sha512-ujEBCcYs82BTmRxqfHMQggSlkUZP63AE5YEaTPj7eFyJOzukkTorstOUC7L6nE3w5SYadGVAnTsQ/ZjTGL0qYQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", + "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", "dev": true, "dependencies": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0" }, "engines": { @@ -1380,37 +1248,37 @@ } }, "node_modules/@jest/core": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.1.2.tgz", - "integrity": "sha512-sCO2Va1gikvQU2ynDN8V4+6wB7iVrD2CvT0zaRst4rglf56yLly0NQ9nuRRAWFeimRf+tCdFsb1Vk1N9LrrMPA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", + "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", "dev": true, "dependencies": { - "@jest/console": "^29.1.2", - "@jest/reporters": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/console": "^29.7.0", + "@jest/reporters": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", "ci-info": "^3.2.0", "exit": "^0.1.2", "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.0.0", - "jest-config": "^29.1.2", - "jest-haste-map": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-regex-util": "^29.0.0", - "jest-resolve": "^29.1.2", - "jest-resolve-dependencies": "^29.1.2", - "jest-runner": "^29.1.2", - "jest-runtime": "^29.1.2", - "jest-snapshot": "^29.1.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", - "jest-watcher": "^29.1.2", + "jest-changed-files": "^29.7.0", + "jest-config": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-resolve-dependencies": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "jest-watcher": "^29.7.0", "micromatch": "^4.0.4", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-ansi": "^6.0.0" }, @@ -1427,89 +1295,89 @@ } }, "node_modules/@jest/environment": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.1.2.tgz", - "integrity": "sha512-rG7xZ2UeOfvOVzoLIJ0ZmvPl4tBEQ2n73CZJSlzUjPw4or1oSWC0s0Rk0ZX+pIBJ04aVr6hLWFn1DFtrnf8MhQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", + "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", "dev": true, "dependencies": { - "@jest/fake-timers": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.1.2" + "jest-mock": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/expect": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.1.2.tgz", - "integrity": "sha512-FXw/UmaZsyfRyvZw3M6POgSNqwmuOXJuzdNiMWW9LCYo0GRoRDhg+R5iq5higmRTHQY7hx32+j7WHwinRmoILQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", "dev": true, "dependencies": { - "expect": "^29.1.2", - "jest-snapshot": "^29.1.2" + "expect": "^29.7.0", + "jest-snapshot": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/expect-utils": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.1.2.tgz", - "integrity": "sha512-4a48bhKfGj/KAH39u0ppzNTABXQ8QPccWAFUFobWBaEMSMp+sB31Z2fK/l47c4a/Mu1po2ffmfAIPxXbVTXdtg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", + "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", "dev": true, "dependencies": { - "jest-get-type": "^29.0.0" + "jest-get-type": "^29.6.3" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/fake-timers": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.1.2.tgz", - "integrity": "sha512-GppaEqS+QQYegedxVMpCe2xCXxxeYwQ7RsNx55zc8f+1q1qevkZGKequfTASI7ejmg9WwI+SJCrHe9X11bLL9Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", + "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", "dev": true, "dependencies": { - "@jest/types": "^29.1.2", - "@sinonjs/fake-timers": "^9.1.2", + "@jest/types": "^29.6.3", + "@sinonjs/fake-timers": "^10.0.2", "@types/node": "*", - "jest-message-util": "^29.1.2", - "jest-mock": "^29.1.2", - "jest-util": "^29.1.2" + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/globals": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.1.2.tgz", - "integrity": "sha512-uMgfERpJYoQmykAd0ffyMq8wignN4SvLUG6orJQRe9WAlTRc9cdpCaE/29qurXixYJVZWUqIBXhSk8v5xN1V9g==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", + "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", "dev": true, "dependencies": { - "@jest/environment": "^29.1.2", - "@jest/expect": "^29.1.2", - "@jest/types": "^29.1.2", - "jest-mock": "^29.1.2" + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/types": "^29.6.3", + "jest-mock": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/reporters": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.1.2.tgz", - "integrity": "sha512-X4fiwwyxy9mnfpxL0g9DD0KcTmEIqP0jUdnc2cfa9riHy+I6Gwwp5vOZiwyg0vZxfSDxrOlK9S4+340W4d+DAA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", + "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", "dev": true, "dependencies": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", - "@jridgewell/trace-mapping": "^0.3.15", + "@jest/console": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", "@types/node": "*", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", @@ -1517,17 +1385,16 @@ "glob": "^7.1.3", "graceful-fs": "^4.2.9", "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-instrument": "^6.0.0", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2", - "jest-worker": "^29.1.2", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "slash": "^3.0.0", "string-length": "^4.0.1", "strip-ansi": "^6.0.0", - "terminal-link": "^2.0.0", "v8-to-istanbul": "^9.0.1" }, "engines": { @@ -1543,24 +1410,24 @@ } }, "node_modules/@jest/schemas": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.0.0.tgz", - "integrity": "sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", + "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", "dev": true, "dependencies": { - "@sinclair/typebox": "^0.24.1" + "@sinclair/typebox": "^0.27.8" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/source-map": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.0.0.tgz", - "integrity": "sha512-nOr+0EM8GiHf34mq2GcJyz/gYFyLQ2INDhAylrZJ9mMWoW21mLBfZa0BUVPPMxVYrLjeiRe2Z7kWXOGnS0TFhQ==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", + "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", "dev": true, "dependencies": { - "@jridgewell/trace-mapping": "^0.3.15", + "@jridgewell/trace-mapping": "^0.3.18", "callsites": "^3.0.0", "graceful-fs": "^4.2.9" }, @@ -1569,13 +1436,13 @@ } }, "node_modules/@jest/test-result": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.1.2.tgz", - "integrity": "sha512-jjYYjjumCJjH9hHCoMhA8PCl1OxNeGgAoZ7yuGYILRJX9NjgzTN0pCT5qAoYR4jfOP8htIByvAlz9vfNSSBoVg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", + "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", "dev": true, "dependencies": { - "@jest/console": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/console": "^29.7.0", + "@jest/types": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" }, @@ -1584,14 +1451,14 @@ } }, "node_modules/@jest/test-sequencer": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.1.2.tgz", - "integrity": "sha512-fU6dsUqqm8sA+cd85BmeF7Gu9DsXVWFdGn9taxM6xN1cKdcP/ivSgXh5QucFRFz1oZxKv3/9DYYbq0ULly3P/Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", + "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", "dev": true, "dependencies": { - "@jest/test-result": "^29.1.2", + "@jest/test-result": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", + "jest-haste-map": "^29.7.0", "slash": "^3.0.0" }, "engines": { @@ -1599,38 +1466,38 @@ } }, "node_modules/@jest/transform": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.1.2.tgz", - "integrity": "sha512-2uaUuVHTitmkx1tHF+eBjb4p7UuzBG7SXIaA/hNIkaMP6K+gXYGxP38ZcrofzqN0HeZ7A90oqsOa97WU7WZkSw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", "dev": true, "dependencies": { "@babel/core": "^7.11.6", - "@jest/types": "^29.1.2", - "@jridgewell/trace-mapping": "^0.3.15", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", "babel-plugin-istanbul": "^6.1.1", "chalk": "^4.0.0", - "convert-source-map": "^1.4.0", + "convert-source-map": "^2.0.0", "fast-json-stable-stringify": "^2.1.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", - "jest-regex-util": "^29.0.0", - "jest-util": "^29.1.2", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", "micromatch": "^4.0.4", "pirates": "^4.0.4", "slash": "^3.0.0", - "write-file-atomic": "^4.0.1" + "write-file-atomic": "^4.0.2" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@jest/types": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.1.2.tgz", - "integrity": "sha512-DcXGtoTykQB5jiwCmVr8H4vdg2OJhQex3qPkG+ISyDO7xQXbt/4R6dowcRyPemRnkH7JoHvZuxPBdlq+9JxFCg==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", + "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", "dev": true, "dependencies": { - "@jest/schemas": "^29.0.0", + "@jest/schemas": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", @@ -1642,46 +1509,47 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true, "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -1698,27 +1566,27 @@ } }, "node_modules/@sinclair/typebox": { - "version": "0.24.46", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.46.tgz", - "integrity": "sha512-ng4ut1z2MCBhK/NwDVwIQp3pAUOCs/KNaW3cBxdFB2xTDrOuo1xuNmpr/9HHFhxqIvHrs1NTH3KJg6q+JSy1Kw==", + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", "dev": true }, "node_modules/@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", "dev": true, "dependencies": { "type-detect": "4.0.8" } }, "node_modules/@sinonjs/fake-timers": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", - "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", "dev": true, "dependencies": { - "@sinonjs/commons": "^1.7.0" + "@sinonjs/commons": "^3.0.0" } }, "node_modules/@smithy/abort-controller": { @@ -2274,31 +2142,31 @@ } }, "node_modules/@types/babel__core": { - "version": "7.1.19", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", - "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", "dev": true, "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0", + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", "@types/babel__generator": "*", "@types/babel__template": "*", "@types/babel__traverse": "*" } }, "node_modules/@types/babel__generator": { - "version": "7.6.4", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", - "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", + "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", "dev": true, "dependencies": { "@babel/types": "^7.0.0" } }, "node_modules/@types/babel__template": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", - "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", "dev": true, "dependencies": { "@babel/parser": "^7.1.0", @@ -2306,42 +2174,42 @@ } }, "node_modules/@types/babel__traverse": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.2.tgz", - "integrity": "sha512-FcFaxOr2V5KZCviw1TnutEMVUVsGt4D2hP1TAfXZAMKuHYW3xQhe3jTxNPWutgCJ3/X1c5yX8ZoGVEItxKbwBg==", + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", + "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", "dev": true, "dependencies": { - "@babel/types": "^7.3.0" + "@babel/types": "^7.20.7" } }, "node_modules/@types/graceful-fs": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", - "integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", + "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", "dev": true, "dependencies": { "@types/node": "*" } }, "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", "dev": true }, "node_modules/@types/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", + "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", "dev": true, "dependencies": { "@types/istanbul-lib-coverage": "*" } }, "node_modules/@types/istanbul-reports": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", - "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", + "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", "dev": true, "dependencies": { "@types/istanbul-lib-report": "*" @@ -2352,16 +2220,10 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz", "integrity": "sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ==" }, - "node_modules/@types/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ri0UmynRRvZiiUJdiz38MmIblKK+oH30MztdBVR95dv/Ubw6neWSb8u1XpRb72L4qsZOhz+L+z9JD40SJmfWow==", - "dev": true - }, "node_modules/@types/stack-utils": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", "dev": true }, "node_modules/@types/webidl-conversions": { @@ -2379,18 +2241,18 @@ } }, "node_modules/@types/yargs": { - "version": "17.0.13", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.13.tgz", - "integrity": "sha512-9sWaruZk2JGxIQU+IhI1fhPYRcQ0UuTNuKuCW9bR5fp7qi2Llf7WDzNa17Cy7TKnh3cdxDOiyTu6gaLS0eDatg==", + "version": "17.0.32", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", + "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", "dev": true, "dependencies": { "@types/yargs-parser": "*" } }, "node_modules/@types/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", "dev": true }, "node_modules/ansi-escapes": { @@ -2433,9 +2295,9 @@ } }, "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, "dependencies": { "normalize-path": "^3.0.0", @@ -2455,15 +2317,15 @@ } }, "node_modules/babel-jest": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.1.2.tgz", - "integrity": "sha512-IuG+F3HTHryJb7gacC7SQ59A9kO56BctUsT67uJHp1mMCHUOMXpDwOHWGifWqdWVknN2WNkCVQELPjXx0aLJ9Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", + "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", "dev": true, "dependencies": { - "@jest/transform": "^29.1.2", + "@jest/transform": "^29.7.0", "@types/babel__core": "^7.1.14", "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.0.2", + "babel-preset-jest": "^29.6.3", "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "slash": "^3.0.0" @@ -2491,10 +2353,26 @@ "node": ">=8" } }, + "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "dev": true, + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/babel-plugin-jest-hoist": { - "version": "29.0.2", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.0.2.tgz", - "integrity": "sha512-eBr2ynAEFjcebVvu8Ktx580BD1QKCrBG1XwEUTXJe285p9HA/4hOhfWCFRQhTKSyBV0VzjhG7H91Eifz9s29hg==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", + "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", "dev": true, "dependencies": { "@babel/template": "^7.3.3", @@ -2530,12 +2408,12 @@ } }, "node_modules/babel-preset-jest": { - "version": "29.0.2", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.0.2.tgz", - "integrity": "sha512-BeVXp7rH5TK96ofyEnHjznjLMQ2nAeDJ+QzxKnHAAMs0RgrQsCywjAN8m4mOm5Di0pxU//3AoEeJJrerMH5UeA==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", + "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", "dev": true, "dependencies": { - "babel-plugin-jest-hoist": "^29.0.2", + "babel-plugin-jest-hoist": "^29.6.3", "babel-preset-current-node-syntax": "^1.0.0" }, "engines": { @@ -2579,9 +2457,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "dev": true, "funding": [ { @@ -2591,13 +2469,17 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" }, "bin": { "browserslist": "cli.js" @@ -2648,9 +2530,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001419", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001419.tgz", - "integrity": "sha512-aFO1r+g6R7TW+PNQxKzjITwLOyDhVRLjW0LcwS/HCZGUUKTGNp9+IwLC4xyDSZBygVL/mxaFR3HIV6wEKQuSzw==", + "version": "1.0.30001649", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001649.tgz", + "integrity": "sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ==", "dev": true, "funding": [ { @@ -2660,6 +2542,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -2689,15 +2575,24 @@ } }, "node_modules/ci-info": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.5.0.tgz", - "integrity": "sha512-yH4RezKOGlOhxkmhbeNuC4eYZKAUsEaGtBuBzDDP1eFUKiccDWzBABxBfOx31IDwDIXMTxWuwAxUGModvkbuVw==", - "dev": true + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "engines": { + "node": ">=8" + } }, "node_modules/cjs-module-lexer": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz", - "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", + "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", "dev": true }, "node_modules/cliui": { @@ -2725,9 +2620,9 @@ } }, "node_modules/collect-v8-coverage": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", - "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", + "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", "dev": true }, "node_modules/color-convert": { @@ -2754,11 +2649,32 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "node_modules/convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, + "node_modules/create-jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", + "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", + "dev": true, + "dependencies": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "prompts": "^2.0.1" + }, + "bin": { + "create-jest": "bin/create-jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -2774,9 +2690,9 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -2791,15 +2707,23 @@ } }, "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", + "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", + "dev": true, + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } }, "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, "engines": { "node": ">=0.10.0" @@ -2815,9 +2739,9 @@ } }, "node_modules/diff-sequences": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.0.0.tgz", - "integrity": "sha512-7Qe/zd1wxSDL4D/X/FPjOMB+ZMDt71W94KYaq05I2l0oQqgXgs7s4ftYYmV38gBSrPz2vcygxfs1xn0FT+rKNA==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", + "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", "dev": true, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -2832,15 +2756,15 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.281", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.281.tgz", - "integrity": "sha512-yer0w5wCYdFoZytfmbNhwiGI/3cW06+RV7E23ln4490DVMxs7PvYpbsrSmAiBn/V6gode8wvJlST2YfWgvzWIg==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.5.tgz", + "integrity": "sha512-QR7/A7ZkMS8tZuoftC/jfqNkZLQO779SSW3YuZHP4eXpj3EffGLFcB/Xu9AAZQzLccTiCV+EmUo3ha4mQ9wnlA==", "dev": true }, "node_modules/emittery": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz", - "integrity": "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true, "engines": { "node": ">=12" @@ -2865,9 +2789,9 @@ } }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -2928,16 +2852,16 @@ } }, "node_modules/expect": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.1.2.tgz", - "integrity": "sha512-AuAGn1uxva5YBbBlXb+2JPxJRuemZsmlGcapPXWNSBNsQtAULfjioREGBWuI0EOvYUKjDnrCy8PW5Zlr1md5mw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", "dev": true, "dependencies": { - "@jest/expect-utils": "^29.1.2", - "jest-get-type": "^29.0.0", - "jest-matcher-utils": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2" + "@jest/expect-utils": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -2950,17 +2874,17 @@ "dev": true }, "node_modules/fast-xml-parser": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz", - "integrity": "sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz", + "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==", "funding": [ - { - "type": "paypal", - "url": "https://paypal.me/naturalintelligence" - }, { "type": "github", "url": "https://github.com/sponsors/NaturalIntelligence" + }, + { + "type": "paypal", + "url": "https://paypal.me/naturalintelligence" } ], "optional": true, @@ -3012,9 +2936,9 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "hasInstallScript": true, "optional": true, @@ -3098,9 +3022,9 @@ } }, "node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, "node_modules/has": { @@ -3139,9 +3063,9 @@ } }, "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", "dev": true, "dependencies": { "pkg-dir": "^4.2.0", @@ -3256,42 +3180,54 @@ "dev": true }, "node_modules/istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, "engines": { "node": ">=8" } }, "node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" + "semver": "^7.5.4" }, "engines": { - "node": ">=8" + "node": ">=10" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, "dependencies": { "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", + "make-dir": "^4.0.0", "supports-color": "^7.1.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/istanbul-lib-source-maps": { @@ -3309,9 +3245,9 @@ } }, "node_modules/istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", + "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", "dev": true, "dependencies": { "html-escaper": "^2.0.0", @@ -3322,15 +3258,15 @@ } }, "node_modules/jest": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.1.2.tgz", - "integrity": "sha512-5wEIPpCezgORnqf+rCaYD1SK+mNN7NsstWzIsuvsnrhR/hSxXWd82oI7DkrbJ+XTD28/eG8SmxdGvukrGGK6Tw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", + "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, "dependencies": { - "@jest/core": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/core": "^29.7.0", + "@jest/types": "^29.6.3", "import-local": "^3.0.2", - "jest-cli": "^29.1.2" + "jest-cli": "^29.7.0" }, "bin": { "jest": "bin/jest.js" @@ -3348,12 +3284,13 @@ } }, "node_modules/jest-changed-files": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.0.0.tgz", - "integrity": "sha512-28/iDMDrUpGoCitTURuDqUzWQoWmOmOKOFST1mi2lwh62X4BFf6khgH3uSuo1e49X/UDjuApAj3w0wLOex4VPQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", + "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", "dev": true, "dependencies": { "execa": "^5.0.0", + "jest-util": "^29.7.0", "p-limit": "^3.1.0" }, "engines": { @@ -3361,28 +3298,29 @@ } }, "node_modules/jest-circus": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.1.2.tgz", - "integrity": "sha512-ajQOdxY6mT9GtnfJRZBRYS7toNIJayiiyjDyoZcnvPRUPwJ58JX0ci0PKAKUo2C1RyzlHw0jabjLGKksO42JGA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", + "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", "dev": true, "dependencies": { - "@jest/environment": "^29.1.2", - "@jest/expect": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", - "dedent": "^0.7.0", + "dedent": "^1.0.0", "is-generator-fn": "^2.0.0", - "jest-each": "^29.1.2", - "jest-matcher-utils": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-runtime": "^29.1.2", - "jest-snapshot": "^29.1.2", - "jest-util": "^29.1.2", + "jest-each": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "p-limit": "^3.1.0", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", + "pure-rand": "^6.0.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" }, @@ -3391,22 +3329,21 @@ } }, "node_modules/jest-cli": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.1.2.tgz", - "integrity": "sha512-vsvBfQ7oS2o4MJdAH+4u9z76Vw5Q8WBQF5MchDbkylNknZdrPTX1Ix7YRJyTlOWqRaS7ue/cEAn+E4V1MWyMzw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", + "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", "dev": true, "dependencies": { - "@jest/core": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/core": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", "chalk": "^4.0.0", + "create-jest": "^29.7.0", "exit": "^0.1.2", - "graceful-fs": "^4.2.9", "import-local": "^3.0.2", - "jest-config": "^29.1.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", - "prompts": "^2.0.1", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "yargs": "^17.3.1" }, "bin": { @@ -3425,31 +3362,31 @@ } }, "node_modules/jest-config": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.1.2.tgz", - "integrity": "sha512-EC3Zi86HJUOz+2YWQcJYQXlf0zuBhJoeyxLM6vb6qJsVmpP7KcCP1JnyF0iaqTaXdBP8Rlwsvs7hnKWQWWLwwA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", + "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", "dev": true, "dependencies": { "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.1.2", - "@jest/types": "^29.1.2", - "babel-jest": "^29.1.2", + "@jest/test-sequencer": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-jest": "^29.7.0", "chalk": "^4.0.0", "ci-info": "^3.2.0", "deepmerge": "^4.2.2", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-circus": "^29.1.2", - "jest-environment-node": "^29.1.2", - "jest-get-type": "^29.0.0", - "jest-regex-util": "^29.0.0", - "jest-resolve": "^29.1.2", - "jest-runner": "^29.1.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "micromatch": "^4.0.4", "parse-json": "^5.2.0", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-json-comments": "^3.1.1" }, @@ -3470,24 +3407,24 @@ } }, "node_modules/jest-diff": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.1.2.tgz", - "integrity": "sha512-4GQts0aUopVvecIT4IwD/7xsBaMhKTYoM4/njE/aVw9wpw+pIUVp8Vab/KnSzSilr84GnLBkaP3JLDnQYCKqVQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", + "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", "dev": true, "dependencies": { "chalk": "^4.0.0", - "diff-sequences": "^29.0.0", - "jest-get-type": "^29.0.0", - "pretty-format": "^29.1.2" + "diff-sequences": "^29.6.3", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-docblock": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.0.0.tgz", - "integrity": "sha512-s5Kpra/kLzbqu9dEjov30kj1n4tfu3e7Pl8v+f8jOkeWNqM6Ds8jRaJfZow3ducoQUrf2Z4rs2N5S3zXnb83gw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", "dev": true, "dependencies": { "detect-newline": "^3.0.0" @@ -3497,62 +3434,62 @@ } }, "node_modules/jest-each": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.1.2.tgz", - "integrity": "sha512-AmTQp9b2etNeEwMyr4jc0Ql/LIX/dhbgP21gHAizya2X6rUspHn2gysMXaj6iwWuOJ2sYRgP8c1P4cXswgvS1A==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", + "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", "dev": true, "dependencies": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "chalk": "^4.0.0", - "jest-get-type": "^29.0.0", - "jest-util": "^29.1.2", - "pretty-format": "^29.1.2" + "jest-get-type": "^29.6.3", + "jest-util": "^29.7.0", + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-environment-node": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.1.2.tgz", - "integrity": "sha512-C59yVbdpY8682u6k/lh8SUMDJPbOyCHOTgLVVi1USWFxtNV+J8fyIwzkg+RJIVI30EKhKiAGNxYaFr3z6eyNhQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", + "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", "dev": true, "dependencies": { - "@jest/environment": "^29.1.2", - "@jest/fake-timers": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.1.2", - "jest-util": "^29.1.2" + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-get-type": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.0.0.tgz", - "integrity": "sha512-83X19z/HuLKYXYHskZlBAShO7UfLFXu/vWajw9ZNJASN32li8yHMaVGAQqxFW1RCFOkB7cubaL6FaJVQqqJLSw==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", + "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", "dev": true, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-haste-map": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.1.2.tgz", - "integrity": "sha512-xSjbY8/BF11Jh3hGSPfYTa/qBFrm3TPM7WU8pU93m2gqzORVLkHFWvuZmFsTEBPRKndfewXhMOuzJNHyJIZGsw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", + "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", "dev": true, "dependencies": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/graceful-fs": "^4.1.3", "@types/node": "*", "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.0.0", - "jest-util": "^29.1.2", - "jest-worker": "^29.1.2", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "micromatch": "^4.0.4", "walker": "^1.0.8" }, @@ -3564,46 +3501,46 @@ } }, "node_modules/jest-leak-detector": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.1.2.tgz", - "integrity": "sha512-TG5gAZJpgmZtjb6oWxBLf2N6CfQ73iwCe6cofu/Uqv9iiAm6g502CAnGtxQaTfpHECBdVEMRBhomSXeLnoKjiQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", + "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", "dev": true, "dependencies": { - "jest-get-type": "^29.0.0", - "pretty-format": "^29.1.2" + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-matcher-utils": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.1.2.tgz", - "integrity": "sha512-MV5XrD3qYSW2zZSHRRceFzqJ39B2z11Qv0KPyZYxnzDHFeYZGJlgGi0SW+IXSJfOewgJp/Km/7lpcFT+cgZypw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", + "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", "dev": true, "dependencies": { "chalk": "^4.0.0", - "jest-diff": "^29.1.2", - "jest-get-type": "^29.0.0", - "pretty-format": "^29.1.2" + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-message-util": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.1.2.tgz", - "integrity": "sha512-9oJ2Os+Qh6IlxLpmvshVbGUiSkZVc2FK+uGOm6tghafnB2RyjKAxMZhtxThRMxfX1J1SOMhTn9oK3/MutRWQJQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", + "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", "dev": true, "dependencies": { "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "micromatch": "^4.0.4", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" }, @@ -3612,23 +3549,23 @@ } }, "node_modules/jest-mock": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.1.2.tgz", - "integrity": "sha512-PFDAdjjWbjPUtQPkQufvniXIS3N9Tv7tbibePEjIIprzjgo0qQlyUiVMrT4vL8FaSJo1QXifQUOuPH3HQC/aMA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", + "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", "dev": true, "dependencies": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/node": "*", - "jest-util": "^29.1.2" + "jest-util": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-pnp-resolver": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", - "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", "dev": true, "engines": { "node": ">=6" @@ -3643,28 +3580,28 @@ } }, "node_modules/jest-regex-util": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.0.0.tgz", - "integrity": "sha512-BV7VW7Sy0fInHWN93MMPtlClweYv2qrSCwfeFWmpribGZtQPWNvRSq9XOVgOEjU1iBGRKXUZil0o2AH7Iy9Lug==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", + "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", "dev": true, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-resolve": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.1.2.tgz", - "integrity": "sha512-7fcOr+k7UYSVRJYhSmJHIid3AnDBcLQX3VmT9OSbPWsWz1MfT7bcoerMhADKGvKCoMpOHUQaDHtQoNp/P9JMGg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", + "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", "dev": true, "dependencies": { "chalk": "^4.0.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", + "jest-haste-map": "^29.7.0", "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "resolve": "^1.20.0", - "resolve.exports": "^1.1.0", + "resolve.exports": "^2.0.0", "slash": "^3.0.0" }, "engines": { @@ -3672,43 +3609,43 @@ } }, "node_modules/jest-resolve-dependencies": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.1.2.tgz", - "integrity": "sha512-44yYi+yHqNmH3OoWZvPgmeeiwKxhKV/0CfrzaKLSkZG9gT973PX8i+m8j6pDrTYhhHoiKfF3YUFg/6AeuHw4HQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", + "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", "dev": true, "dependencies": { - "jest-regex-util": "^29.0.0", - "jest-snapshot": "^29.1.2" + "jest-regex-util": "^29.6.3", + "jest-snapshot": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-runner": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.1.2.tgz", - "integrity": "sha512-yy3LEWw8KuBCmg7sCGDIqKwJlULBuNIQa2eFSVgVASWdXbMYZ9H/X0tnXt70XFoGf92W2sOQDOIFAA6f2BG04Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", + "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", "dev": true, "dependencies": { - "@jest/console": "^29.1.2", - "@jest/environment": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/console": "^29.7.0", + "@jest/environment": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", - "emittery": "^0.10.2", + "emittery": "^0.13.1", "graceful-fs": "^4.2.9", - "jest-docblock": "^29.0.0", - "jest-environment-node": "^29.1.2", - "jest-haste-map": "^29.1.2", - "jest-leak-detector": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-resolve": "^29.1.2", - "jest-runtime": "^29.1.2", - "jest-util": "^29.1.2", - "jest-watcher": "^29.1.2", - "jest-worker": "^29.1.2", + "jest-docblock": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-leak-detector": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-resolve": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-util": "^29.7.0", + "jest-watcher": "^29.7.0", + "jest-worker": "^29.7.0", "p-limit": "^3.1.0", "source-map-support": "0.5.13" }, @@ -3717,31 +3654,31 @@ } }, "node_modules/jest-runtime": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.1.2.tgz", - "integrity": "sha512-jr8VJLIf+cYc+8hbrpt412n5jX3tiXmpPSYTGnwcvNemY+EOuLNiYnHJ3Kp25rkaAcTWOEI4ZdOIQcwYcXIAZw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.1.2", - "@jest/fake-timers": "^29.1.2", - "@jest/globals": "^29.1.2", - "@jest/source-map": "^29.0.0", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", + "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", + "dev": true, + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/globals": "^29.7.0", + "@jest/source-map": "^29.6.3", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "cjs-module-lexer": "^1.0.0", "collect-v8-coverage": "^1.0.0", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-mock": "^29.1.2", - "jest-regex-util": "^29.0.0", - "jest-resolve": "^29.1.2", - "jest-snapshot": "^29.1.2", - "jest-util": "^29.1.2", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0", "strip-bom": "^4.0.0" }, @@ -3750,48 +3687,41 @@ } }, "node_modules/jest-snapshot": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.1.2.tgz", - "integrity": "sha512-rYFomGpVMdBlfwTYxkUp3sjD6usptvZcONFYNqVlaz4EpHPnDvlWjvmOQ9OCSNKqYZqLM2aS3wq01tWujLg7gg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", + "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", "dev": true, "dependencies": { "@babel/core": "^7.11.6", "@babel/generator": "^7.7.2", "@babel/plugin-syntax-jsx": "^7.7.2", "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/traverse": "^7.7.2", "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", - "@types/babel__traverse": "^7.0.6", - "@types/prettier": "^2.1.5", + "@jest/expect-utils": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "babel-preset-current-node-syntax": "^1.0.0", "chalk": "^4.0.0", - "expect": "^29.1.2", + "expect": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-diff": "^29.1.2", - "jest-get-type": "^29.0.0", - "jest-haste-map": "^29.1.2", - "jest-matcher-utils": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "natural-compare": "^1.4.0", - "pretty-format": "^29.1.2", - "semver": "^7.3.5" + "pretty-format": "^29.7.0", + "semver": "^7.5.3" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, "bin": { "semver": "bin/semver.js" }, @@ -3800,12 +3730,12 @@ } }, "node_modules/jest-util": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.1.2.tgz", - "integrity": "sha512-vPCk9F353i0Ymx3WQq3+a4lZ07NXu9Ca8wya6o4Fe4/aO1e1awMMprZ3woPFpKwghEOW+UXgd15vVotuNN9ONQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", + "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", "dev": true, "dependencies": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "ci-info": "^3.2.0", @@ -3817,17 +3747,17 @@ } }, "node_modules/jest-validate": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.1.2.tgz", - "integrity": "sha512-k71pOslNlV8fVyI+mEySy2pq9KdXdgZtm7NHrBX8LghJayc3wWZH0Yr0mtYNGaCU4F1OLPXRkwZR0dBm/ClshA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", + "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", "dev": true, "dependencies": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "camelcase": "^6.2.0", "chalk": "^4.0.0", - "jest-get-type": "^29.0.0", + "jest-get-type": "^29.6.3", "leven": "^3.1.0", - "pretty-format": "^29.1.2" + "pretty-format": "^29.7.0" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -3846,18 +3776,18 @@ } }, "node_modules/jest-watcher": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.1.2.tgz", - "integrity": "sha512-6JUIUKVdAvcxC6bM8/dMgqY2N4lbT+jZVsxh0hCJRbwkIEnbr/aPjMQ28fNDI5lB51Klh00MWZZeVf27KBUj5w==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", + "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", "dev": true, "dependencies": { - "@jest/test-result": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "emittery": "^0.10.2", - "jest-util": "^29.1.2", + "emittery": "^0.13.1", + "jest-util": "^29.7.0", "string-length": "^4.0.1" }, "engines": { @@ -3865,13 +3795,13 @@ } }, "node_modules/jest-worker": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.1.2.tgz", - "integrity": "sha512-AdTZJxKjTSPHbXT/AIOjQVmoFx0LHFcVabWu0sxI7PAy7rFf8c0upyvgBKgguVXdM4vY74JdwkyD4hSmpTW8jA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", + "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", "dev": true, "dependencies": { "@types/node": "*", - "jest-util": "^29.1.2", + "jest-util": "^29.7.0", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" }, @@ -3980,32 +3910,41 @@ } }, "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" + "yallist": "^3.0.2" } }, "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "dependencies": { - "semver": "^6.0.0" + "semver": "^7.5.3" }, "engines": { - "node": ">=8" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/make-dir/node_modules/semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/makeerror": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", @@ -4028,12 +3967,12 @@ "dev": true }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "dev": true, "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -4128,9 +4067,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true }, "node_modules/nodemailer": { @@ -4286,9 +4225,9 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "node_modules/picomatch": { @@ -4304,9 +4243,9 @@ } }, "node_modules/pirates": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", "dev": true, "engines": { "node": ">= 6" @@ -4325,12 +4264,12 @@ } }, "node_modules/pretty-format": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.1.2.tgz", - "integrity": "sha512-CGJ6VVGXVRP2o2Dorl4mAwwvDWT25luIsYhkyVQW32E4nL+TgW939J7LlKT/npq5Cpq6j3s+sy+13yk7xYpBmg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", "dev": true, "dependencies": { - "@jest/schemas": "^29.0.0", + "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", "react-is": "^18.0.0" }, @@ -4371,10 +4310,26 @@ "node": ">=6" } }, + "node_modules/pure-rand": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ] + }, "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", "dev": true }, "node_modules/readline-sync": { @@ -4439,9 +4394,9 @@ } }, "node_modules/resolve.exports": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz", - "integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", + "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", "dev": true, "engines": { "node": ">=10" @@ -4571,9 +4526,9 @@ "dev": true }, "node_modules/stack-utils": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", - "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", "dev": true, "dependencies": { "escape-string-regexp": "^2.0.0" @@ -4670,35 +4625,6 @@ "node": ">=8" } }, - "node_modules/supports-hyperlinks": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", - "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/terminal-link": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", - "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", - "dev": true, - "dependencies": { - "ansi-escapes": "^4.2.1", - "supports-hyperlinks": "^2.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", @@ -4780,9 +4706,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "dev": true, "funding": [ { @@ -4792,14 +4718,18 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" }, "bin": { - "browserslist-lint": "cli.js" + "update-browserslist-db": "cli.js" }, "peerDependencies": { "browserslist": ">= 4.21.0" @@ -4816,14 +4746,14 @@ } }, "node_modules/v8-to-istanbul": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", - "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" }, "engines": { "node": ">=10.12.0" @@ -4918,15 +4848,15 @@ } }, "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true }, "node_modules/yargs": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.0.tgz", - "integrity": "sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dev": true, "dependencies": { "cliui": "^8.0.1", @@ -4935,7 +4865,7 @@ "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^21.0.0" + "yargs-parser": "^21.1.1" }, "engines": { "node": ">=12" @@ -4965,13 +4895,13 @@ }, "dependencies": { "@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", "dev": true, "requires": { - "@jridgewell/gen-mapping": "^0.1.0", - "@jridgewell/trace-mapping": "^0.3.9" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" } }, "@aws-crypto/crc32": { @@ -5272,7 +5202,7 @@ "@smithy/util-defaults-mode-node": "^2.0.1", "@smithy/util-retry": "^2.0.0", "@smithy/util-utf8": "^2.0.0", - "fast-xml-parser": "4.2.5", + "fast-xml-parser": "4.4.1", "tslib": "^2.5.0" } }, @@ -5574,251 +5504,145 @@ } }, "@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", + "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", "dev": true, "requires": { - "@babel/highlight": "^7.22.13", - "chalk": "^2.4.2" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } + "@babel/highlight": "^7.24.7", + "picocolors": "^1.0.0" } }, "@babel/compat-data": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz", - "integrity": "sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.2.tgz", + "integrity": "sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==", "dev": true }, "@babel/core": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.3.tgz", - "integrity": "sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ==", - "dev": true, - "requires": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.3", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-module-transforms": "^7.19.0", - "@babel/helpers": "^7.19.0", - "@babel/parser": "^7.19.3", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.3", - "@babel/types": "^7.19.3", - "convert-source-map": "^1.7.0", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", + "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", - "semver": "^6.3.0" + "json5": "^2.2.3", + "semver": "^6.3.1" } }, "@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", + "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", "dev": true, "requires": { - "@babel/types": "^7.23.0", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.25.0", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" - }, - "dependencies": { - "@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", - "dev": true, - "requires": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - } - } } }, "@babel/helper-compilation-targets": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz", - "integrity": "sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", + "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", "dev": true, "requires": { - "@babel/compat-data": "^7.19.3", - "@babel/helper-validator-option": "^7.18.6", - "browserslist": "^4.21.3", - "semver": "^6.3.0" - } - }, - "@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", - "dev": true - }, - "@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", - "dev": true, - "requires": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", - "dev": true, - "requires": { - "@babel/types": "^7.22.5" + "@babel/compat-data": "^7.25.2", + "@babel/helper-validator-option": "^7.24.8", + "browserslist": "^4.23.1", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" } }, "@babel/helper-module-imports": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", - "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", + "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", "dev": true, "requires": { - "@babel/types": "^7.18.6" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" } }, "@babel/helper-module-transforms": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.0.tgz", - "integrity": "sha512-3HBZ377Fe14RbLIA+ac3sY4PTgpxHVkFrESaWhoI5PuyXPBBX8+C34qblV9G89ZtycGJCmCI/Ut+VUDK4bltNQ==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", + "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", "dev": true, "requires": { - "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.18.6", - "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/helper-validator-identifier": "^7.18.6", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.0", - "@babel/types": "^7.19.0" + "@babel/helper-module-imports": "^7.24.7", + "@babel/helper-simple-access": "^7.24.7", + "@babel/helper-validator-identifier": "^7.24.7", + "@babel/traverse": "^7.25.2" } }, "@babel/helper-plugin-utils": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz", - "integrity": "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", + "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", "dev": true }, "@babel/helper-simple-access": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz", - "integrity": "sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==", - "dev": true, - "requires": { - "@babel/types": "^7.19.4" - } - }, - "@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", + "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", "dev": true, "requires": { - "@babel/types": "^7.22.5" + "@babel/traverse": "^7.24.7", + "@babel/types": "^7.24.7" } }, "@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", "dev": true }, "@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", "dev": true }, "@babel/helper-validator-option": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", - "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", + "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", "dev": true }, "@babel/helpers": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.4.tgz", - "integrity": "sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.0.tgz", + "integrity": "sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==", "dev": true, "requires": { - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.4", - "@babel/types": "^7.19.4" + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.0" } }, "@babel/highlight": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", - "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", + "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-validator-identifier": "^7.24.7", "chalk": "^2.4.2", - "js-tokens": "^4.0.0" + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "dependencies": { "ansi-styles": { @@ -5880,10 +5704,13 @@ } }, "@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", - "dev": true + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", + "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", + "dev": true, + "requires": { + "@babel/types": "^7.25.2" + } }, "@babel/plugin-syntax-async-generators": { "version": "7.8.4", @@ -5931,12 +5758,12 @@ } }, "@babel/plugin-syntax-jsx": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz", - "integrity": "sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz", + "integrity": "sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.24.7" } }, "@babel/plugin-syntax-logical-assignment-operators": { @@ -6003,51 +5830,48 @@ } }, "@babel/plugin-syntax-typescript": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz", - "integrity": "sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==", + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", + "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.24.7" } }, "@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", + "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", "dev": true, "requires": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.24.7", + "@babel/parser": "^7.25.0", + "@babel/types": "^7.25.0" } }, "@babel/traverse": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", - "debug": "^4.1.0", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.3.tgz", + "integrity": "sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/parser": "^7.25.3", + "@babel/template": "^7.25.0", + "@babel/types": "^7.25.2", + "debug": "^4.3.1", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", + "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", "dev": true, "requires": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", "to-fast-properties": "^2.0.0" } }, @@ -6077,124 +5901,124 @@ "dev": true }, "@jest/console": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.1.2.tgz", - "integrity": "sha512-ujEBCcYs82BTmRxqfHMQggSlkUZP63AE5YEaTPj7eFyJOzukkTorstOUC7L6nE3w5SYadGVAnTsQ/ZjTGL0qYQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", + "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", "dev": true, "requires": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0" } }, "@jest/core": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.1.2.tgz", - "integrity": "sha512-sCO2Va1gikvQU2ynDN8V4+6wB7iVrD2CvT0zaRst4rglf56yLly0NQ9nuRRAWFeimRf+tCdFsb1Vk1N9LrrMPA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", + "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", "dev": true, "requires": { - "@jest/console": "^29.1.2", - "@jest/reporters": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/console": "^29.7.0", + "@jest/reporters": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", "ci-info": "^3.2.0", "exit": "^0.1.2", "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.0.0", - "jest-config": "^29.1.2", - "jest-haste-map": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-regex-util": "^29.0.0", - "jest-resolve": "^29.1.2", - "jest-resolve-dependencies": "^29.1.2", - "jest-runner": "^29.1.2", - "jest-runtime": "^29.1.2", - "jest-snapshot": "^29.1.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", - "jest-watcher": "^29.1.2", + "jest-changed-files": "^29.7.0", + "jest-config": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-resolve-dependencies": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "jest-watcher": "^29.7.0", "micromatch": "^4.0.4", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-ansi": "^6.0.0" } }, "@jest/environment": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.1.2.tgz", - "integrity": "sha512-rG7xZ2UeOfvOVzoLIJ0ZmvPl4tBEQ2n73CZJSlzUjPw4or1oSWC0s0Rk0ZX+pIBJ04aVr6hLWFn1DFtrnf8MhQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", + "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", "dev": true, "requires": { - "@jest/fake-timers": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.1.2" + "jest-mock": "^29.7.0" } }, "@jest/expect": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.1.2.tgz", - "integrity": "sha512-FXw/UmaZsyfRyvZw3M6POgSNqwmuOXJuzdNiMWW9LCYo0GRoRDhg+R5iq5higmRTHQY7hx32+j7WHwinRmoILQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", "dev": true, "requires": { - "expect": "^29.1.2", - "jest-snapshot": "^29.1.2" + "expect": "^29.7.0", + "jest-snapshot": "^29.7.0" } }, "@jest/expect-utils": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.1.2.tgz", - "integrity": "sha512-4a48bhKfGj/KAH39u0ppzNTABXQ8QPccWAFUFobWBaEMSMp+sB31Z2fK/l47c4a/Mu1po2ffmfAIPxXbVTXdtg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", + "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", "dev": true, "requires": { - "jest-get-type": "^29.0.0" + "jest-get-type": "^29.6.3" } }, "@jest/fake-timers": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.1.2.tgz", - "integrity": "sha512-GppaEqS+QQYegedxVMpCe2xCXxxeYwQ7RsNx55zc8f+1q1qevkZGKequfTASI7ejmg9WwI+SJCrHe9X11bLL9Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", + "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", "dev": true, "requires": { - "@jest/types": "^29.1.2", - "@sinonjs/fake-timers": "^9.1.2", + "@jest/types": "^29.6.3", + "@sinonjs/fake-timers": "^10.0.2", "@types/node": "*", - "jest-message-util": "^29.1.2", - "jest-mock": "^29.1.2", - "jest-util": "^29.1.2" + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" } }, "@jest/globals": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.1.2.tgz", - "integrity": "sha512-uMgfERpJYoQmykAd0ffyMq8wignN4SvLUG6orJQRe9WAlTRc9cdpCaE/29qurXixYJVZWUqIBXhSk8v5xN1V9g==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", + "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", "dev": true, "requires": { - "@jest/environment": "^29.1.2", - "@jest/expect": "^29.1.2", - "@jest/types": "^29.1.2", - "jest-mock": "^29.1.2" + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/types": "^29.6.3", + "jest-mock": "^29.7.0" } }, "@jest/reporters": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.1.2.tgz", - "integrity": "sha512-X4fiwwyxy9mnfpxL0g9DD0KcTmEIqP0jUdnc2cfa9riHy+I6Gwwp5vOZiwyg0vZxfSDxrOlK9S4+340W4d+DAA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", + "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", - "@jridgewell/trace-mapping": "^0.3.15", + "@jest/console": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", "@types/node": "*", "chalk": "^4.0.0", "collect-v8-coverage": "^1.0.0", @@ -6202,94 +6026,93 @@ "glob": "^7.1.3", "graceful-fs": "^4.2.9", "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-instrument": "^6.0.0", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2", - "jest-worker": "^29.1.2", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "slash": "^3.0.0", "string-length": "^4.0.1", "strip-ansi": "^6.0.0", - "terminal-link": "^2.0.0", "v8-to-istanbul": "^9.0.1" } }, "@jest/schemas": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.0.0.tgz", - "integrity": "sha512-3Ab5HgYIIAnS0HjqJHQYZS+zXc4tUmTmBH3z83ajI6afXp8X3ZtdLX+nXx+I7LNkJD7uN9LAVhgnjDgZa2z0kA==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", + "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", "dev": true, "requires": { - "@sinclair/typebox": "^0.24.1" + "@sinclair/typebox": "^0.27.8" } }, "@jest/source-map": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.0.0.tgz", - "integrity": "sha512-nOr+0EM8GiHf34mq2GcJyz/gYFyLQ2INDhAylrZJ9mMWoW21mLBfZa0BUVPPMxVYrLjeiRe2Z7kWXOGnS0TFhQ==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", + "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", "dev": true, "requires": { - "@jridgewell/trace-mapping": "^0.3.15", + "@jridgewell/trace-mapping": "^0.3.18", "callsites": "^3.0.0", "graceful-fs": "^4.2.9" } }, "@jest/test-result": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.1.2.tgz", - "integrity": "sha512-jjYYjjumCJjH9hHCoMhA8PCl1OxNeGgAoZ7yuGYILRJX9NjgzTN0pCT5qAoYR4jfOP8htIByvAlz9vfNSSBoVg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", + "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", "dev": true, "requires": { - "@jest/console": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/console": "^29.7.0", + "@jest/types": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" } }, "@jest/test-sequencer": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.1.2.tgz", - "integrity": "sha512-fU6dsUqqm8sA+cd85BmeF7Gu9DsXVWFdGn9taxM6xN1cKdcP/ivSgXh5QucFRFz1oZxKv3/9DYYbq0ULly3P/Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", + "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", "dev": true, "requires": { - "@jest/test-result": "^29.1.2", + "@jest/test-result": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", + "jest-haste-map": "^29.7.0", "slash": "^3.0.0" } }, "@jest/transform": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.1.2.tgz", - "integrity": "sha512-2uaUuVHTitmkx1tHF+eBjb4p7UuzBG7SXIaA/hNIkaMP6K+gXYGxP38ZcrofzqN0HeZ7A90oqsOa97WU7WZkSw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", "dev": true, "requires": { "@babel/core": "^7.11.6", - "@jest/types": "^29.1.2", - "@jridgewell/trace-mapping": "^0.3.15", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", "babel-plugin-istanbul": "^6.1.1", "chalk": "^4.0.0", - "convert-source-map": "^1.4.0", + "convert-source-map": "^2.0.0", "fast-json-stable-stringify": "^2.1.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", - "jest-regex-util": "^29.0.0", - "jest-util": "^29.1.2", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", "micromatch": "^4.0.4", "pirates": "^4.0.4", "slash": "^3.0.0", - "write-file-atomic": "^4.0.1" + "write-file-atomic": "^4.0.2" } }, "@jest/types": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.1.2.tgz", - "integrity": "sha512-DcXGtoTykQB5jiwCmVr8H4vdg2OJhQex3qPkG+ISyDO7xQXbt/4R6dowcRyPemRnkH7JoHvZuxPBdlq+9JxFCg==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", + "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", "dev": true, "requires": { - "@jest/schemas": "^29.0.0", + "@jest/schemas": "^29.6.3", "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^3.0.0", "@types/node": "*", @@ -6298,37 +6121,38 @@ } }, "@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", "dev": true, "requires": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" } }, "@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true }, "@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", "dev": true }, "@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", "dev": true }, "@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", "dev": true, "requires": { "@jridgewell/resolve-uri": "^3.1.0", @@ -6345,27 +6169,27 @@ } }, "@sinclair/typebox": { - "version": "0.24.46", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.46.tgz", - "integrity": "sha512-ng4ut1z2MCBhK/NwDVwIQp3pAUOCs/KNaW3cBxdFB2xTDrOuo1xuNmpr/9HHFhxqIvHrs1NTH3KJg6q+JSy1Kw==", + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", "dev": true }, "@sinonjs/commons": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", - "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", "dev": true, "requires": { "type-detect": "4.0.8" } }, "@sinonjs/fake-timers": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", - "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", "dev": true, "requires": { - "@sinonjs/commons": "^1.7.0" + "@sinonjs/commons": "^3.0.0" } }, "@smithy/abort-controller": { @@ -6822,31 +6646,31 @@ } }, "@types/babel__core": { - "version": "7.1.19", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", - "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", "dev": true, "requires": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0", + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", "@types/babel__generator": "*", "@types/babel__template": "*", "@types/babel__traverse": "*" } }, "@types/babel__generator": { - "version": "7.6.4", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz", - "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==", + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", + "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", "dev": true, "requires": { "@babel/types": "^7.0.0" } }, "@types/babel__template": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz", - "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==", + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", "dev": true, "requires": { "@babel/parser": "^7.1.0", @@ -6854,42 +6678,42 @@ } }, "@types/babel__traverse": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.18.2.tgz", - "integrity": "sha512-FcFaxOr2V5KZCviw1TnutEMVUVsGt4D2hP1TAfXZAMKuHYW3xQhe3jTxNPWutgCJ3/X1c5yX8ZoGVEItxKbwBg==", + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", + "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", "dev": true, "requires": { - "@babel/types": "^7.3.0" + "@babel/types": "^7.20.7" } }, "@types/graceful-fs": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.5.tgz", - "integrity": "sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==", + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", + "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", "dev": true, "requires": { "@types/node": "*" } }, "@types/istanbul-lib-coverage": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz", - "integrity": "sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", "dev": true }, "@types/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", + "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "*" } }, "@types/istanbul-reports": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz", - "integrity": "sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", + "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", "dev": true, "requires": { "@types/istanbul-lib-report": "*" @@ -6900,16 +6724,10 @@ "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz", "integrity": "sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ==" }, - "@types/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ri0UmynRRvZiiUJdiz38MmIblKK+oH30MztdBVR95dv/Ubw6neWSb8u1XpRb72L4qsZOhz+L+z9JD40SJmfWow==", - "dev": true - }, "@types/stack-utils": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.1.tgz", - "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", "dev": true }, "@types/webidl-conversions": { @@ -6927,18 +6745,18 @@ } }, "@types/yargs": { - "version": "17.0.13", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.13.tgz", - "integrity": "sha512-9sWaruZk2JGxIQU+IhI1fhPYRcQ0UuTNuKuCW9bR5fp7qi2Llf7WDzNa17Cy7TKnh3cdxDOiyTu6gaLS0eDatg==", + "version": "17.0.32", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", + "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", "dev": true, "requires": { "@types/yargs-parser": "*" } }, "@types/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", "dev": true }, "ansi-escapes": { @@ -6966,9 +6784,9 @@ } }, "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, "requires": { "normalize-path": "^3.0.0", @@ -6985,15 +6803,15 @@ } }, "babel-jest": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.1.2.tgz", - "integrity": "sha512-IuG+F3HTHryJb7gacC7SQ59A9kO56BctUsT67uJHp1mMCHUOMXpDwOHWGifWqdWVknN2WNkCVQELPjXx0aLJ9Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", + "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", "dev": true, "requires": { - "@jest/transform": "^29.1.2", + "@jest/transform": "^29.7.0", "@types/babel__core": "^7.1.14", "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.0.2", + "babel-preset-jest": "^29.6.3", "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "slash": "^3.0.0" @@ -7010,12 +6828,27 @@ "@istanbuljs/schema": "^0.1.2", "istanbul-lib-instrument": "^5.0.4", "test-exclude": "^6.0.0" + }, + "dependencies": { + "istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "dev": true, + "requires": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + } + } } }, "babel-plugin-jest-hoist": { - "version": "29.0.2", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.0.2.tgz", - "integrity": "sha512-eBr2ynAEFjcebVvu8Ktx580BD1QKCrBG1XwEUTXJe285p9HA/4hOhfWCFRQhTKSyBV0VzjhG7H91Eifz9s29hg==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", + "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", "dev": true, "requires": { "@babel/template": "^7.3.3", @@ -7045,12 +6878,12 @@ } }, "babel-preset-jest": { - "version": "29.0.2", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.0.2.tgz", - "integrity": "sha512-BeVXp7rH5TK96ofyEnHjznjLMQ2nAeDJ+QzxKnHAAMs0RgrQsCywjAN8m4mOm5Di0pxU//3AoEeJJrerMH5UeA==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", + "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", "dev": true, "requires": { - "babel-plugin-jest-hoist": "^29.0.2", + "babel-plugin-jest-hoist": "^29.6.3", "babel-preset-current-node-syntax": "^1.0.0" } }, @@ -7085,15 +6918,15 @@ } }, "browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", + "update-browserslist-db": "^1.1.0" } }, "bser": { @@ -7129,9 +6962,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001419", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001419.tgz", - "integrity": "sha512-aFO1r+g6R7TW+PNQxKzjITwLOyDhVRLjW0LcwS/HCZGUUKTGNp9+IwLC4xyDSZBygVL/mxaFR3HIV6wEKQuSzw==", + "version": "1.0.30001649", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001649.tgz", + "integrity": "sha512-fJegqZZ0ZX8HOWr6rcafGr72+xcgJKI9oWfDW5DrD7ExUtgZC7a7R7ZYmZqplh7XDocFdGeIFn7roAxhOeYrPQ==", "dev": true }, "chalk": { @@ -7151,15 +6984,15 @@ "dev": true }, "ci-info": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.5.0.tgz", - "integrity": "sha512-yH4RezKOGlOhxkmhbeNuC4eYZKAUsEaGtBuBzDDP1eFUKiccDWzBABxBfOx31IDwDIXMTxWuwAxUGModvkbuVw==", + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", "dev": true }, "cjs-module-lexer": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz", - "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", + "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", "dev": true }, "cliui": { @@ -7180,9 +7013,9 @@ "dev": true }, "collect-v8-coverage": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz", - "integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", + "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", "dev": true }, "color-convert": { @@ -7206,11 +7039,26 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, "convert-source-map": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz", - "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, + "create-jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", + "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", + "dev": true, + "requires": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "prompts": "^2.0.1" + } + }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -7223,24 +7071,25 @@ } }, "debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "dev": true, "requires": { "ms": "2.1.2" } }, "dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", + "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", + "dev": true, + "requires": {} }, "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true }, "detect-newline": { @@ -7250,9 +7099,9 @@ "dev": true }, "diff-sequences": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.0.0.tgz", - "integrity": "sha512-7Qe/zd1wxSDL4D/X/FPjOMB+ZMDt71W94KYaq05I2l0oQqgXgs7s4ftYYmV38gBSrPz2vcygxfs1xn0FT+rKNA==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", + "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", "dev": true }, "dotenv": { @@ -7261,15 +7110,15 @@ "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==" }, "electron-to-chromium": { - "version": "1.4.281", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.281.tgz", - "integrity": "sha512-yer0w5wCYdFoZytfmbNhwiGI/3cW06+RV7E23ln4490DVMxs7PvYpbsrSmAiBn/V6gode8wvJlST2YfWgvzWIg==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.5.tgz", + "integrity": "sha512-QR7/A7ZkMS8tZuoftC/jfqNkZLQO779SSW3YuZHP4eXpj3EffGLFcB/Xu9AAZQzLccTiCV+EmUo3ha4mQ9wnlA==", "dev": true }, "emittery": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz", - "integrity": "sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true }, "emoji-regex": { @@ -7288,9 +7137,9 @@ } }, "escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true }, "escape-string-regexp": { @@ -7329,16 +7178,16 @@ "dev": true }, "expect": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.1.2.tgz", - "integrity": "sha512-AuAGn1uxva5YBbBlXb+2JPxJRuemZsmlGcapPXWNSBNsQtAULfjioREGBWuI0EOvYUKjDnrCy8PW5Zlr1md5mw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", "dev": true, "requires": { - "@jest/expect-utils": "^29.1.2", - "jest-get-type": "^29.0.0", - "jest-matcher-utils": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2" + "@jest/expect-utils": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" } }, "fast-json-stable-stringify": { @@ -7348,9 +7197,9 @@ "dev": true }, "fast-xml-parser": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz", - "integrity": "sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz", + "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==", "optional": true, "peer": true, "requires": { @@ -7391,9 +7240,9 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "optional": true }, @@ -7446,9 +7295,9 @@ "dev": true }, "graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true }, "has": { @@ -7478,9 +7327,9 @@ "dev": true }, "import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", "dev": true, "requires": { "pkg-dir": "^4.2.0", @@ -7562,32 +7411,40 @@ "dev": true }, "istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true }, "istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, "requires": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" + "semver": "^7.5.4" + }, + "dependencies": { + "semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true + } } }, "istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, "requires": { "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", + "make-dir": "^4.0.0", "supports-color": "^7.1.0" } }, @@ -7603,9 +7460,9 @@ } }, "istanbul-reports": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.5.tgz", - "integrity": "sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==", + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", + "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", "dev": true, "requires": { "html-escaper": "^2.0.0", @@ -7613,377 +7470,371 @@ } }, "jest": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.1.2.tgz", - "integrity": "sha512-5wEIPpCezgORnqf+rCaYD1SK+mNN7NsstWzIsuvsnrhR/hSxXWd82oI7DkrbJ+XTD28/eG8SmxdGvukrGGK6Tw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", + "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", "dev": true, "requires": { - "@jest/core": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/core": "^29.7.0", + "@jest/types": "^29.6.3", "import-local": "^3.0.2", - "jest-cli": "^29.1.2" + "jest-cli": "^29.7.0" } }, "jest-changed-files": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.0.0.tgz", - "integrity": "sha512-28/iDMDrUpGoCitTURuDqUzWQoWmOmOKOFST1mi2lwh62X4BFf6khgH3uSuo1e49X/UDjuApAj3w0wLOex4VPQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", + "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", "dev": true, "requires": { "execa": "^5.0.0", + "jest-util": "^29.7.0", "p-limit": "^3.1.0" } }, "jest-circus": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.1.2.tgz", - "integrity": "sha512-ajQOdxY6mT9GtnfJRZBRYS7toNIJayiiyjDyoZcnvPRUPwJ58JX0ci0PKAKUo2C1RyzlHw0jabjLGKksO42JGA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", + "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", "dev": true, "requires": { - "@jest/environment": "^29.1.2", - "@jest/expect": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "co": "^4.6.0", - "dedent": "^0.7.0", + "dedent": "^1.0.0", "is-generator-fn": "^2.0.0", - "jest-each": "^29.1.2", - "jest-matcher-utils": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-runtime": "^29.1.2", - "jest-snapshot": "^29.1.2", - "jest-util": "^29.1.2", + "jest-each": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "p-limit": "^3.1.0", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", + "pure-rand": "^6.0.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" } }, "jest-cli": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.1.2.tgz", - "integrity": "sha512-vsvBfQ7oS2o4MJdAH+4u9z76Vw5Q8WBQF5MchDbkylNknZdrPTX1Ix7YRJyTlOWqRaS7ue/cEAn+E4V1MWyMzw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", + "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", "dev": true, "requires": { - "@jest/core": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/core": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", "chalk": "^4.0.0", + "create-jest": "^29.7.0", "exit": "^0.1.2", - "graceful-fs": "^4.2.9", "import-local": "^3.0.2", - "jest-config": "^29.1.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", - "prompts": "^2.0.1", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "yargs": "^17.3.1" } }, "jest-config": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.1.2.tgz", - "integrity": "sha512-EC3Zi86HJUOz+2YWQcJYQXlf0zuBhJoeyxLM6vb6qJsVmpP7KcCP1JnyF0iaqTaXdBP8Rlwsvs7hnKWQWWLwwA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", + "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", "dev": true, "requires": { "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.1.2", - "@jest/types": "^29.1.2", - "babel-jest": "^29.1.2", + "@jest/test-sequencer": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-jest": "^29.7.0", "chalk": "^4.0.0", "ci-info": "^3.2.0", "deepmerge": "^4.2.2", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-circus": "^29.1.2", - "jest-environment-node": "^29.1.2", - "jest-get-type": "^29.0.0", - "jest-regex-util": "^29.0.0", - "jest-resolve": "^29.1.2", - "jest-runner": "^29.1.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "micromatch": "^4.0.4", "parse-json": "^5.2.0", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "strip-json-comments": "^3.1.1" } }, "jest-diff": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.1.2.tgz", - "integrity": "sha512-4GQts0aUopVvecIT4IwD/7xsBaMhKTYoM4/njE/aVw9wpw+pIUVp8Vab/KnSzSilr84GnLBkaP3JLDnQYCKqVQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", + "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", "dev": true, "requires": { "chalk": "^4.0.0", - "diff-sequences": "^29.0.0", - "jest-get-type": "^29.0.0", - "pretty-format": "^29.1.2" + "diff-sequences": "^29.6.3", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" } }, "jest-docblock": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.0.0.tgz", - "integrity": "sha512-s5Kpra/kLzbqu9dEjov30kj1n4tfu3e7Pl8v+f8jOkeWNqM6Ds8jRaJfZow3ducoQUrf2Z4rs2N5S3zXnb83gw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", "dev": true, "requires": { "detect-newline": "^3.0.0" } }, "jest-each": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.1.2.tgz", - "integrity": "sha512-AmTQp9b2etNeEwMyr4jc0Ql/LIX/dhbgP21gHAizya2X6rUspHn2gysMXaj6iwWuOJ2sYRgP8c1P4cXswgvS1A==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", + "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", "dev": true, "requires": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "chalk": "^4.0.0", - "jest-get-type": "^29.0.0", - "jest-util": "^29.1.2", - "pretty-format": "^29.1.2" + "jest-get-type": "^29.6.3", + "jest-util": "^29.7.0", + "pretty-format": "^29.7.0" } }, "jest-environment-node": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.1.2.tgz", - "integrity": "sha512-C59yVbdpY8682u6k/lh8SUMDJPbOyCHOTgLVVi1USWFxtNV+J8fyIwzkg+RJIVI30EKhKiAGNxYaFr3z6eyNhQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", + "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", "dev": true, "requires": { - "@jest/environment": "^29.1.2", - "@jest/fake-timers": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", - "jest-mock": "^29.1.2", - "jest-util": "^29.1.2" + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" } }, "jest-get-type": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.0.0.tgz", - "integrity": "sha512-83X19z/HuLKYXYHskZlBAShO7UfLFXu/vWajw9ZNJASN32li8yHMaVGAQqxFW1RCFOkB7cubaL6FaJVQqqJLSw==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", + "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", "dev": true }, "jest-haste-map": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.1.2.tgz", - "integrity": "sha512-xSjbY8/BF11Jh3hGSPfYTa/qBFrm3TPM7WU8pU93m2gqzORVLkHFWvuZmFsTEBPRKndfewXhMOuzJNHyJIZGsw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", + "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", "dev": true, "requires": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/graceful-fs": "^4.1.3", "@types/node": "*", "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", "fsevents": "^2.3.2", "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.0.0", - "jest-util": "^29.1.2", - "jest-worker": "^29.1.2", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", "micromatch": "^4.0.4", "walker": "^1.0.8" } }, "jest-leak-detector": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.1.2.tgz", - "integrity": "sha512-TG5gAZJpgmZtjb6oWxBLf2N6CfQ73iwCe6cofu/Uqv9iiAm6g502CAnGtxQaTfpHECBdVEMRBhomSXeLnoKjiQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", + "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", "dev": true, "requires": { - "jest-get-type": "^29.0.0", - "pretty-format": "^29.1.2" + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" } }, "jest-matcher-utils": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.1.2.tgz", - "integrity": "sha512-MV5XrD3qYSW2zZSHRRceFzqJ39B2z11Qv0KPyZYxnzDHFeYZGJlgGi0SW+IXSJfOewgJp/Km/7lpcFT+cgZypw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", + "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", "dev": true, "requires": { "chalk": "^4.0.0", - "jest-diff": "^29.1.2", - "jest-get-type": "^29.0.0", - "pretty-format": "^29.1.2" + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" } }, "jest-message-util": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.1.2.tgz", - "integrity": "sha512-9oJ2Os+Qh6IlxLpmvshVbGUiSkZVc2FK+uGOm6tghafnB2RyjKAxMZhtxThRMxfX1J1SOMhTn9oK3/MutRWQJQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", + "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", "dev": true, "requires": { "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/stack-utils": "^2.0.0", "chalk": "^4.0.0", "graceful-fs": "^4.2.9", "micromatch": "^4.0.4", - "pretty-format": "^29.1.2", + "pretty-format": "^29.7.0", "slash": "^3.0.0", "stack-utils": "^2.0.3" } }, "jest-mock": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.1.2.tgz", - "integrity": "sha512-PFDAdjjWbjPUtQPkQufvniXIS3N9Tv7tbibePEjIIprzjgo0qQlyUiVMrT4vL8FaSJo1QXifQUOuPH3HQC/aMA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", + "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", "dev": true, "requires": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/node": "*", - "jest-util": "^29.1.2" + "jest-util": "^29.7.0" } }, "jest-pnp-resolver": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", - "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", "dev": true, "requires": {} }, "jest-regex-util": { - "version": "29.0.0", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.0.0.tgz", - "integrity": "sha512-BV7VW7Sy0fInHWN93MMPtlClweYv2qrSCwfeFWmpribGZtQPWNvRSq9XOVgOEjU1iBGRKXUZil0o2AH7Iy9Lug==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", + "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", "dev": true }, "jest-resolve": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.1.2.tgz", - "integrity": "sha512-7fcOr+k7UYSVRJYhSmJHIid3AnDBcLQX3VmT9OSbPWsWz1MfT7bcoerMhADKGvKCoMpOHUQaDHtQoNp/P9JMGg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", + "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", "dev": true, "requires": { "chalk": "^4.0.0", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", + "jest-haste-map": "^29.7.0", "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.1.2", - "jest-validate": "^29.1.2", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", "resolve": "^1.20.0", - "resolve.exports": "^1.1.0", + "resolve.exports": "^2.0.0", "slash": "^3.0.0" } }, "jest-resolve-dependencies": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.1.2.tgz", - "integrity": "sha512-44yYi+yHqNmH3OoWZvPgmeeiwKxhKV/0CfrzaKLSkZG9gT973PX8i+m8j6pDrTYhhHoiKfF3YUFg/6AeuHw4HQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", + "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", "dev": true, "requires": { - "jest-regex-util": "^29.0.0", - "jest-snapshot": "^29.1.2" + "jest-regex-util": "^29.6.3", + "jest-snapshot": "^29.7.0" } }, "jest-runner": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.1.2.tgz", - "integrity": "sha512-yy3LEWw8KuBCmg7sCGDIqKwJlULBuNIQa2eFSVgVASWdXbMYZ9H/X0tnXt70XFoGf92W2sOQDOIFAA6f2BG04Q==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", + "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", "dev": true, "requires": { - "@jest/console": "^29.1.2", - "@jest/environment": "^29.1.2", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/console": "^29.7.0", + "@jest/environment": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", - "emittery": "^0.10.2", + "emittery": "^0.13.1", "graceful-fs": "^4.2.9", - "jest-docblock": "^29.0.0", - "jest-environment-node": "^29.1.2", - "jest-haste-map": "^29.1.2", - "jest-leak-detector": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-resolve": "^29.1.2", - "jest-runtime": "^29.1.2", - "jest-util": "^29.1.2", - "jest-watcher": "^29.1.2", - "jest-worker": "^29.1.2", + "jest-docblock": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-leak-detector": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-resolve": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-util": "^29.7.0", + "jest-watcher": "^29.7.0", + "jest-worker": "^29.7.0", "p-limit": "^3.1.0", "source-map-support": "0.5.13" } }, "jest-runtime": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.1.2.tgz", - "integrity": "sha512-jr8VJLIf+cYc+8hbrpt412n5jX3tiXmpPSYTGnwcvNemY+EOuLNiYnHJ3Kp25rkaAcTWOEI4ZdOIQcwYcXIAZw==", - "dev": true, - "requires": { - "@jest/environment": "^29.1.2", - "@jest/fake-timers": "^29.1.2", - "@jest/globals": "^29.1.2", - "@jest/source-map": "^29.0.0", - "@jest/test-result": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", + "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", + "dev": true, + "requires": { + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/globals": "^29.7.0", + "@jest/source-map": "^29.6.3", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "cjs-module-lexer": "^1.0.0", "collect-v8-coverage": "^1.0.0", "glob": "^7.1.3", "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-mock": "^29.1.2", - "jest-regex-util": "^29.0.0", - "jest-resolve": "^29.1.2", - "jest-snapshot": "^29.1.2", - "jest-util": "^29.1.2", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", "slash": "^3.0.0", "strip-bom": "^4.0.0" } }, "jest-snapshot": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.1.2.tgz", - "integrity": "sha512-rYFomGpVMdBlfwTYxkUp3sjD6usptvZcONFYNqVlaz4EpHPnDvlWjvmOQ9OCSNKqYZqLM2aS3wq01tWujLg7gg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", + "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", "dev": true, "requires": { "@babel/core": "^7.11.6", "@babel/generator": "^7.7.2", "@babel/plugin-syntax-jsx": "^7.7.2", "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/traverse": "^7.7.2", "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.1.2", - "@jest/transform": "^29.1.2", - "@jest/types": "^29.1.2", - "@types/babel__traverse": "^7.0.6", - "@types/prettier": "^2.1.5", + "@jest/expect-utils": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", "babel-preset-current-node-syntax": "^1.0.0", "chalk": "^4.0.0", - "expect": "^29.1.2", + "expect": "^29.7.0", "graceful-fs": "^4.2.9", - "jest-diff": "^29.1.2", - "jest-get-type": "^29.0.0", - "jest-haste-map": "^29.1.2", - "jest-matcher-utils": "^29.1.2", - "jest-message-util": "^29.1.2", - "jest-util": "^29.1.2", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", "natural-compare": "^1.4.0", - "pretty-format": "^29.1.2", - "semver": "^7.3.5" + "pretty-format": "^29.7.0", + "semver": "^7.5.3" }, "dependencies": { "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true } } }, "jest-util": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.1.2.tgz", - "integrity": "sha512-vPCk9F353i0Ymx3WQq3+a4lZ07NXu9Ca8wya6o4Fe4/aO1e1awMMprZ3woPFpKwghEOW+UXgd15vVotuNN9ONQ==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", + "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", "dev": true, "requires": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "@types/node": "*", "chalk": "^4.0.0", "ci-info": "^3.2.0", @@ -7992,17 +7843,17 @@ } }, "jest-validate": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.1.2.tgz", - "integrity": "sha512-k71pOslNlV8fVyI+mEySy2pq9KdXdgZtm7NHrBX8LghJayc3wWZH0Yr0mtYNGaCU4F1OLPXRkwZR0dBm/ClshA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", + "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", "dev": true, "requires": { - "@jest/types": "^29.1.2", + "@jest/types": "^29.6.3", "camelcase": "^6.2.0", "chalk": "^4.0.0", - "jest-get-type": "^29.0.0", + "jest-get-type": "^29.6.3", "leven": "^3.1.0", - "pretty-format": "^29.1.2" + "pretty-format": "^29.7.0" }, "dependencies": { "camelcase": { @@ -8014,29 +7865,29 @@ } }, "jest-watcher": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.1.2.tgz", - "integrity": "sha512-6JUIUKVdAvcxC6bM8/dMgqY2N4lbT+jZVsxh0hCJRbwkIEnbr/aPjMQ28fNDI5lB51Klh00MWZZeVf27KBUj5w==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", + "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", "dev": true, "requires": { - "@jest/test-result": "^29.1.2", - "@jest/types": "^29.1.2", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "emittery": "^0.10.2", - "jest-util": "^29.1.2", + "emittery": "^0.13.1", + "jest-util": "^29.7.0", "string-length": "^4.0.1" } }, "jest-worker": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.1.2.tgz", - "integrity": "sha512-AdTZJxKjTSPHbXT/AIOjQVmoFx0LHFcVabWu0sxI7PAy7rFf8c0upyvgBKgguVXdM4vY74JdwkyD4hSmpTW8jA==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", + "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", "dev": true, "requires": { "@types/node": "*", - "jest-util": "^29.1.2", + "jest-util": "^29.7.0", "merge-stream": "^2.0.0", "supports-color": "^8.0.0" }, @@ -8114,21 +7965,29 @@ } }, "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, "requires": { - "yallist": "^4.0.0" + "yallist": "^3.0.2" } }, "make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, "requires": { - "semver": "^6.0.0" + "semver": "^7.5.3" + }, + "dependencies": { + "semver": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true + } } }, "makeerror": { @@ -8153,12 +8012,12 @@ "dev": true }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", "dev": true, "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } }, @@ -8215,9 +8074,9 @@ "dev": true }, "node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", + "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", "dev": true }, "nodemailer": { @@ -8327,9 +8186,9 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "picomatch": { @@ -8339,9 +8198,9 @@ "dev": true }, "pirates": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz", - "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", "dev": true }, "pkg-dir": { @@ -8354,12 +8213,12 @@ } }, "pretty-format": { - "version": "29.1.2", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.1.2.tgz", - "integrity": "sha512-CGJ6VVGXVRP2o2Dorl4mAwwvDWT25luIsYhkyVQW32E4nL+TgW939J7LlKT/npq5Cpq6j3s+sy+13yk7xYpBmg==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", "dev": true, "requires": { - "@jest/schemas": "^29.0.0", + "@jest/schemas": "^29.6.3", "ansi-styles": "^5.0.0", "react-is": "^18.0.0" }, @@ -8387,10 +8246,16 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==" }, + "pure-rand": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", + "dev": true + }, "react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", "dev": true }, "readline-sync": { @@ -8437,9 +8302,9 @@ "dev": true }, "resolve.exports": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz", - "integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", + "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", "dev": true }, "semver": { @@ -8537,9 +8402,9 @@ "dev": true }, "stack-utils": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz", - "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", "dev": true, "requires": { "escape-string-regexp": "^2.0.0" @@ -8609,26 +8474,6 @@ "has-flag": "^4.0.0" } }, - "supports-hyperlinks": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", - "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", - "dev": true, - "requires": { - "has-flag": "^4.0.0", - "supports-color": "^7.0.0" - } - }, - "terminal-link": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", - "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", - "dev": true, - "requires": { - "ansi-escapes": "^4.2.1", - "supports-hyperlinks": "^2.0.0" - } - }, "test-exclude": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", @@ -8689,13 +8534,13 @@ "dev": true }, "update-browserslist-db": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz", - "integrity": "sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz", + "integrity": "sha512-EdRAaAyk2cUE1wOf2DkEhzxqOQvFOoRJFNS6NeyJ01Gp2beMRpBAINjM2iDXE3KCuKhwnvHIQCJm6ThL2Z+HzQ==", "dev": true, "requires": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" } }, "uuid": { @@ -8706,14 +8551,14 @@ "peer": true }, "v8-to-istanbul": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz", - "integrity": "sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^1.6.0" + "convert-source-map": "^2.0.0" } }, "walker": { @@ -8781,15 +8626,15 @@ "dev": true }, "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true }, "yargs": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.0.tgz", - "integrity": "sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dev": true, "requires": { "cliui": "^8.0.1", @@ -8798,7 +8643,7 @@ "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^21.0.0" + "yargs-parser": "^21.1.1" } }, "yargs-parser": { diff --git a/deploy/docker/fs/opt/appsmith/utils/package.json b/deploy/docker/fs/opt/appsmith/utils/package.json index ed5532a7625b..5e148f707b3e 100644 --- a/deploy/docker/fs/opt/appsmith/utils/package.json +++ b/deploy/docker/fs/opt/appsmith/utils/package.json @@ -26,5 +26,8 @@ }, "scripts": { "test": "jest" + }, + "overrides": { + "fast-xml-parser": "4.4.1" } }