@wix/ditto-codegen-public 1.0.249 → 1.0.250

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/out.js +84 -75
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -73590,6 +73590,78 @@ var require_DashboardPageAgent = __commonJS({
73590
73590
  }
73591
73591
  });
73592
73592
 
73593
+ // ../codegen-common-logic/dist/extensions/DashboardPlugins.js
73594
+ var require_DashboardPlugins = __commonJS({
73595
+ "../codegen-common-logic/dist/extensions/DashboardPlugins.js"(exports2) {
73596
+ "use strict";
73597
+ Object.defineProperty(exports2, "__esModule", { value: true });
73598
+ exports2.getDashboardPluginsDecisionGuide = exports2.getDashboardPluginsAgentDocumentation = void 0;
73599
+ var getDashboardPluginsAgentDocumentation = () => {
73600
+ return `<dashboard_plugins>
73601
+ #### Dashboard Plugins
73602
+ - **Description**: Interactive widgets embedded into existing Wix app dashboard pages via predefined plugin slots
73603
+ - **Slot System**: Plugins are placed in predefined page slots within existing Wix business app dashboards
73604
+ - **Use Cases**:
73605
+ - Product analytics widgets on Wix Stores Products page
73606
+ - Inventory monitoring on Wix Stores Inventory page
73607
+ - Booking insights on Wix Bookings Services or Booking List pages
73608
+ - Order details enrichment on Wix eCommerce Order page
73609
+ - **Context Access**: Automatic access to current page context (entity IDs, user permissions, page state)
73610
+ - **When to Choose**: When you need to enhance existing Wix business app dashboards with contextual functionality
73611
+
73612
+ ##### Supported Dashboard Plugin Page Slots:
73613
+
73614
+ **Wix Stores:**
73615
+ - Products page \u2013 Embed a plugin on the Products list page
73616
+ - Inventory page \u2013 Embed a plugin on the Inventory management page
73617
+
73618
+ **Wix Bookings:**
73619
+ - Staff page \u2013 Embed a plugin on the Staff management page
73620
+ - Edit Staff Profile page \u2013 Embed a plugin on a staff member's profile page
73621
+ - Services page \u2013 Embed a plugin on the Services list page
73622
+ - Booking List page \u2013 Embed a plugin on the Booking List page
73623
+
73624
+ **Wix eCommerce:**
73625
+ - Order page \u2013 Embed a plugin on the Order details page
73626
+ - Edit Order page \u2013 Embed a plugin (e.g., additional fees) on the Edit Order page
73627
+ - Orders List page \u2013 Available via more actions menu
73628
+
73629
+ **Wix Blog:**
73630
+ - Blog Overview page \u2013 Embed a plugin on the Blog Overview page
73631
+ - Categories page \u2013 Embed a plugin on the Categories page
73632
+ - Posts page \u2013 Embed a plugin on the Posts list page
73633
+ - Tags page \u2013 Embed a plugin on the Tags page
73634
+
73635
+ **Wix Events:**
73636
+ - Event Features Tab, Overview Tab, Promotion Tab, Settings Tab, Tickets & Seating Tab
73637
+
73638
+ **Wix Restaurants:**
73639
+ - Table Reservations page \u2013 Embed a plugin on the Table Reservations page
73640
+
73641
+ ##### Examples:
73642
+ - Wix Stores Products page \u2013 Product performance analytics widget
73643
+ - Wix Stores Inventory page \u2013 Low-stock alerts widget
73644
+ - Wix Bookings Services page \u2013 Service performance insights
73645
+ - Wix Bookings Booking List page \u2013 Quick rescheduling action buttons
73646
+ - Wix eCommerce Order page \u2013 Cross-sell recommendations
73647
+ - Wix Blog Posts page \u2013 SEO score widget for draft posts
73648
+ </dashboard_plugins>`;
73649
+ };
73650
+ exports2.getDashboardPluginsAgentDocumentation = getDashboardPluginsAgentDocumentation;
73651
+ var getDashboardPluginsDecisionGuide = () => {
73652
+ return `### Choose Dashboard Plugins when:
73653
+
73654
+ - \u2705 You want to enhance existing Wix app pages with contextual widgets
73655
+ - \u2705 Need to integrate with Wix Bookings, Stores, etc. within their existing UI
73656
+ - \u2705 Want to add functionality to specific business app contexts (product pages, order pages, booking lists, etc.)
73657
+ - \u2705 Need automatic access to current page context (entity IDs, user permissions, page state)
73658
+ - \u2705 Building analytics, insights, or management tools that complement existing workflows
73659
+ - \u2705 Want to avoid creating separate pages for functionality that fits within existing contexts`;
73660
+ };
73661
+ exports2.getDashboardPluginsDecisionGuide = getDashboardPluginsDecisionGuide;
73662
+ }
73663
+ });
73664
+
73593
73665
  // ../codegen-common-logic/dist/extensions/DashboardExtensions.js
73594
73666
  var require_DashboardExtensions = __commonJS({
73595
73667
  "../codegen-common-logic/dist/extensions/DashboardExtensions.js"(exports2) {
@@ -73597,10 +73669,13 @@ var require_DashboardExtensions = __commonJS({
73597
73669
  Object.defineProperty(exports2, "__esModule", { value: true });
73598
73670
  exports2.getDashboardExtensionsDocumentation = void 0;
73599
73671
  var DashboardPageAgent_1 = require_DashboardPageAgent();
73600
- var getDashboardExtensionsDocumentation = () => {
73672
+ var DashboardPlugins_1 = require_DashboardPlugins();
73673
+ var getDashboardExtensionsDocumentation = (options) => {
73601
73674
  return `### Dashboard Extensions
73602
73675
  Dashboard extensions add functionality to the Wix Dashboard for site administrators. They are not visible on live sites.
73603
- ${(0, DashboardPageAgent_1.getDashboardPageAgentDocumentation)()}`;
73676
+ ${(0, DashboardPageAgent_1.getDashboardPageAgentDocumentation)()}${options?.enableNewExtensions ? `
73677
+
73678
+ ${(0, DashboardPlugins_1.getDashboardPluginsAgentDocumentation)()}` : ""}`;
73604
73679
  };
73605
73680
  exports2.getDashboardExtensionsDocumentation = getDashboardExtensionsDocumentation;
73606
73681
  }
@@ -73775,77 +73850,6 @@ ${(0, SitePluginAgent_1.getSitePluginAgentDocumentation)()}` : ""}`;
73775
73850
  }
73776
73851
  });
73777
73852
 
73778
- // ../codegen-common-logic/dist/extensions/DashboardPlugins.js
73779
- var require_DashboardPlugins = __commonJS({
73780
- "../codegen-common-logic/dist/extensions/DashboardPlugins.js"(exports2) {
73781
- "use strict";
73782
- Object.defineProperty(exports2, "__esModule", { value: true });
73783
- exports2.getDashboardPluginsDecisionGuide = exports2.getDashboardPluginsAgentDocumentation = void 0;
73784
- var getDashboardPluginsAgentDocumentation = () => {
73785
- return `<dashboard_plugins>
73786
- #### Dashboard Plugins
73787
- - **Description**: Interactive widgets embedded into existing Wix app dashboard pages using a slot-based system
73788
- - **Slot System**: Plugins are placed in predefined slots within existing dashboards (e.g., \`stores.product.details.content\`, \`bookings.calendar.sidebar\`)
73789
- - **Use Cases**:
73790
- - Product analytics widgets in Wix Stores product pages
73791
- - Appointment insights in Wix Bookings calendar views
73792
- - Lead scoring tools in CRM contact pages
73793
- - Cross-sell recommendations in order management
73794
- - **Context Access**: Automatic access to current page context (entity IDs, user permissions, page state)
73795
- - **When to Choose**: When you need to enhance existing Wix business app dashboards with contextual functionality
73796
-
73797
- ##### Common Dashboard Plugin Slots:
73798
-
73799
- **Wix Stores:**
73800
- - \`stores.product.details.content\` - Individual product pages
73801
- - \`stores.products.list.header\` - Products list header
73802
- - \`stores.orders.list.content\` - Order management pages
73803
- - \`stores.inventory.dashboard.content\` - Inventory dashboard
73804
-
73805
- **Wix Bookings:**
73806
- - \`bookings.calendar.sidebar\` - Calendar view sidebar
73807
- - \`bookings.service.details.content\` - Service detail pages
73808
- - \`bookings.appointments.list.header\` - Appointments list
73809
-
73810
- **Wix CRM:**
73811
- - \`crm.contact.details.sidebar\` - Contact detail sidebar
73812
- - \`crm.contacts.list.header\` - Contacts list header
73813
- - \`crm.deals.list.content\` - Deals management
73814
-
73815
-
73816
- **Expanded Slot Examples:**
73817
- - \`stores.product.details.content\` \u2013 Example: Product performance analytics widget.
73818
- - \`stores.products.list.header\` \u2013 Example: Quick filters and bulk edit controls.
73819
- - \`stores.orders.list.content\` \u2013 Example: Bulk order export tool.
73820
- - \`stores.inventory.dashboard.content\` \u2013 Example: Low-stock alerts widget.
73821
- - \`bookings.calendar.sidebar\` \u2013 Example: Daily appointment summary widget.
73822
- - \`bookings.service.details.content\` \u2013 Example: Service performance insights.
73823
- - \`bookings.appointments.list.header\` \u2013 Example: Quick rescheduling action buttons.
73824
- - \`crm.contact.details.sidebar\` \u2013 Example: Lead scoring tool.
73825
- - \`crm.contacts.list.header\` \u2013 Example: Contact segmentation filters.
73826
- - \`crm.deals.list.content\` \u2013 Example: Deal stage conversion analytics.
73827
-
73828
- **Slot Placement Guidelines:**
73829
- - \`.content\` slots \u2013 For detailed interfaces, reports, or data tables.
73830
- - \`.header\` slots \u2013 For KPIs, quick actions, or filters.
73831
- - \`.sidebar\` slots \u2013 For contextual tools or secondary information related to the main view.
73832
- </dashboard_plugins>`;
73833
- };
73834
- exports2.getDashboardPluginsAgentDocumentation = getDashboardPluginsAgentDocumentation;
73835
- var getDashboardPluginsDecisionGuide = () => {
73836
- return `### Choose Dashboard Plugins when:
73837
-
73838
- - \u2705 You want to enhance existing Wix app pages with contextual widgets
73839
- - \u2705 Need to integrate with Wix Bookings, Stores, CRM, etc. within their existing UI
73840
- - \u2705 Want to add functionality to specific business app contexts (product pages, contact details, etc.)
73841
- - \u2705 Need automatic access to current page context (entity IDs, user permissions, page state)
73842
- - \u2705 Building analytics, insights, or management tools that complement existing workflows
73843
- - \u2705 Want to avoid creating separate pages for functionality that fits within existing contexts`;
73844
- };
73845
- exports2.getDashboardPluginsDecisionGuide = getDashboardPluginsDecisionGuide;
73846
- }
73847
- });
73848
-
73849
73853
  // ../codegen-common-logic/dist/extensions/DashboardMenuPlugins.js
73850
73854
  var require_DashboardMenuPlugins = __commonJS({
73851
73855
  "../codegen-common-logic/dist/extensions/DashboardMenuPlugins.js"(exports2) {
@@ -73916,6 +73920,7 @@ var require_extensionsDecisionGuide = __commonJS({
73916
73920
  Object.defineProperty(exports2, "__esModule", { value: true });
73917
73921
  exports2.getExtensionDecisionMatrix = void 0;
73918
73922
  var DashboardPageAgent_1 = require_DashboardPageAgent();
73923
+ var DashboardPlugins_1 = require_DashboardPlugins();
73919
73924
  var EmbeddedScriptAgent_1 = require_EmbeddedScriptAgent();
73920
73925
  var CustomElementAgent_1 = require_CustomElementAgent();
73921
73926
  var SiteComponentAgent_1 = require_SiteComponentAgent();
@@ -73926,7 +73931,9 @@ var require_extensionsDecisionGuide = __commonJS({
73926
73931
  var DataCollectionAgent_1 = require_DataCollectionAgent();
73927
73932
  var getExtensionDecisionMatrix = (options) => {
73928
73933
  return `## Decision Matrix
73929
- ${(0, DashboardPageAgent_1.getDashboardPageDecisionGuide)()}
73934
+ ${(0, DashboardPageAgent_1.getDashboardPageDecisionGuide)()}${options?.enableNewExtensions ? `
73935
+
73936
+ ${(0, DashboardPlugins_1.getDashboardPluginsDecisionGuide)()}` : ""}
73930
73937
 
73931
73938
  ${(0, EmbeddedScriptAgent_1.getEmbeddedScriptDecisionGuide)()}
73932
73939
 
@@ -73971,7 +73978,9 @@ var require_commonUseCasesGuide = __commonJS({
73971
73978
  | Custom shipping rates | Service Plugins (SPIs) | Checkout flow integration | Modify existing business flows |
73972
73979
  | Tax calculations | Service Plugins (SPIs) | Checkout flow integration | Custom tax logic integration |
73973
73980
  | Custom pricing logic | Service Plugins (SPIs) | Platform-level integration | Platform-level business customization |`;
73974
- const newExtensionRows = `| Product reviews on product page | Site Plugins | Predefined slots in product pages | Reviews are contextually tied to each product \u2192 Site Plugin, not Site Widget |
73981
+ const newExtensionRows = `| Product analytics in Stores | Dashboard Plugins | Wix Stores Products page slot | Contextual widget within existing Stores dashboard |
73982
+ | Booking insights | Dashboard Plugins | Wix Bookings Booking List page slot | Contextual widget within existing Bookings dashboard |
73983
+ | Product reviews on product page | Site Plugins | Predefined slots in product pages | Reviews are contextually tied to each product \u2192 Site Plugin, not Site Widget |
73975
73984
  | Product page enhancements | Site Plugins | Predefined slots in business pages | Contextual integration with Stores, Bookings, etc. |
73976
73985
  | Booking page extensions | Site Plugins | Predefined slots in business pages | Extend existing Wix business solution pages |
73977
73986
  | Checkout upsells | Site Plugins | Predefined slots in eCommerce pages | Fixed slot integration in checkout flow |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.249",
3
+ "version": "1.0.250",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -28,5 +28,5 @@
28
28
  "@wix/ditto-codegen": "1.0.0",
29
29
  "esbuild": "^0.27.2"
30
30
  },
31
- "falconPackageHash": "a6715a29eebf371de274e2ba8cb2d270fad7380d492b25d4e6ee6091"
31
+ "falconPackageHash": "de72596b83fed3d98f5f72ae3d35707e55acdf7af80a6f5a5f98a61d"
32
32
  }