@open-mercato/core 0.5.1-develop.2856.35de414092 → 0.5.1-develop.2874.77704bccbd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/api_docs/frontend/docs/api/Explorer.js +18 -18
- package/dist/modules/api_docs/frontend/docs/api/Explorer.js.map +2 -2
- package/dist/modules/api_keys/backend/api-keys/create/page.js +1 -1
- package/dist/modules/api_keys/backend/api-keys/create/page.js.map +1 -1
- package/dist/modules/attachments/components/AttachmentLibrary.js +2 -2
- package/dist/modules/attachments/components/AttachmentLibrary.js.map +2 -2
- package/dist/modules/attachments/components/AttachmentPartitionSettings.js +1 -1
- package/dist/modules/attachments/components/AttachmentPartitionSettings.js.map +1 -1
- package/dist/modules/attachments/fields/attachment.js +1 -1
- package/dist/modules/attachments/fields/attachment.js.map +1 -1
- package/dist/modules/audit_logs/components/ActionLogDetailsDialog.js +1 -1
- package/dist/modules/audit_logs/components/ActionLogDetailsDialog.js.map +2 -2
- package/dist/modules/audit_logs/lib/display-helpers.js +1 -1
- package/dist/modules/audit_logs/lib/display-helpers.js.map +1 -1
- package/dist/modules/auth/backend/users/create/page.js +1 -1
- package/dist/modules/auth/backend/users/create/page.js.map +1 -1
- package/dist/modules/business_rules/backend/rules/page.js +6 -6
- package/dist/modules/business_rules/backend/rules/page.js.map +2 -2
- package/dist/modules/business_rules/backend/sets/page.js +2 -2
- package/dist/modules/business_rules/backend/sets/page.js.map +2 -2
- package/dist/modules/business_rules/components/ActionBuilder.js +5 -5
- package/dist/modules/business_rules/components/ActionBuilder.js.map +2 -2
- package/dist/modules/business_rules/components/ActionRow.js +8 -8
- package/dist/modules/business_rules/components/ActionRow.js.map +1 -1
- package/dist/modules/business_rules/components/ConditionBuilder.js +5 -5
- package/dist/modules/business_rules/components/ConditionBuilder.js.map +2 -2
- package/dist/modules/business_rules/components/ConditionGroup.js +2 -2
- package/dist/modules/business_rules/components/ConditionGroup.js.map +1 -1
- package/dist/modules/business_rules/components/ConditionRow.js +3 -3
- package/dist/modules/business_rules/components/ConditionRow.js.map +2 -2
- package/dist/modules/business_rules/components/RuleSetMembers.js +8 -8
- package/dist/modules/business_rules/components/RuleSetMembers.js.map +2 -2
- package/dist/modules/catalog/backend/catalog/products/[id]/page.js +2 -2
- package/dist/modules/catalog/backend/catalog/products/[id]/page.js.map +1 -1
- package/dist/modules/catalog/backend/catalog/products/create/page.js +5 -5
- package/dist/modules/catalog/backend/catalog/products/create/page.js.map +1 -1
- package/dist/modules/catalog/components/products/MetadataEditor.js +1 -1
- package/dist/modules/catalog/components/products/MetadataEditor.js.map +1 -1
- package/dist/modules/catalog/components/products/ProductImageCell.js +1 -1
- package/dist/modules/catalog/components/products/ProductImageCell.js.map +1 -1
- package/dist/modules/catalog/components/products/VariantBuilder.js +1 -1
- package/dist/modules/catalog/components/products/VariantBuilder.js.map +1 -1
- package/dist/modules/catalog/widgets/injection/product-seo/widget.client.js +1 -1
- package/dist/modules/catalog/widgets/injection/product-seo/widget.client.js.map +2 -2
- package/dist/modules/currencies/components/CurrencyFetchingConfig.js +1 -1
- package/dist/modules/currencies/components/CurrencyFetchingConfig.js.map +1 -1
- package/dist/modules/customer_accounts/backend/customer_accounts/roles/page.js +2 -2
- package/dist/modules/customer_accounts/backend/customer_accounts/roles/page.js.map +2 -2
- package/dist/modules/customer_accounts/backend/customer_accounts/users/[id]/page.js +9 -9
- package/dist/modules/customer_accounts/backend/customer_accounts/users/[id]/page.js.map +2 -2
- package/dist/modules/customer_accounts/backend/customer_accounts/users/page.js +7 -7
- package/dist/modules/customer_accounts/backend/customer_accounts/users/page.js.map +2 -2
- package/dist/modules/customer_accounts/widgets/injection/account-status/widget.client.js +2 -2
- package/dist/modules/customer_accounts/widgets/injection/account-status/widget.client.js.map +1 -1
- package/dist/modules/customers/backend/config/customers/pipeline-stages/page.js +3 -3
- package/dist/modules/customers/backend/config/customers/pipeline-stages/page.js.map +1 -1
- package/dist/modules/customers/backend/customers/deals/pipeline/page.js +2 -2
- package/dist/modules/customers/backend/customers/deals/pipeline/page.js.map +1 -1
- package/dist/modules/customers/components/AddressTiles.js +1 -1
- package/dist/modules/customers/components/AddressTiles.js.map +1 -1
- package/dist/modules/customers/components/detail/ActivityForm.js +3 -3
- package/dist/modules/customers/components/detail/ActivityForm.js.map +1 -1
- package/dist/modules/customers/components/detail/AnnualRevenueField.js +2 -2
- package/dist/modules/customers/components/detail/AnnualRevenueField.js.map +1 -1
- package/dist/modules/customers/components/detail/CustomFieldValuesList.js +1 -1
- package/dist/modules/customers/components/detail/CustomFieldValuesList.js.map +1 -1
- package/dist/modules/customers/components/detail/DealForm.js +1 -1
- package/dist/modules/customers/components/detail/DealForm.js.map +2 -2
- package/dist/modules/customers/components/detail/DealsSection.js +1 -1
- package/dist/modules/customers/components/detail/DealsSection.js.map +1 -1
- package/dist/modules/customers/components/detail/DetailFieldsSection.js +1 -1
- package/dist/modules/customers/components/detail/DetailFieldsSection.js.map +1 -1
- package/dist/modules/customers/components/detail/InlineEditors.js +5 -5
- package/dist/modules/customers/components/detail/InlineEditors.js.map +2 -2
- package/dist/modules/customers/components/detail/TasksSection.js +1 -1
- package/dist/modules/customers/components/detail/TasksSection.js.map +1 -1
- package/dist/modules/customers/components/detail/TimelineItemHeader.js +1 -1
- package/dist/modules/customers/components/detail/TimelineItemHeader.js.map +1 -1
- package/dist/modules/customers/components/formConfig.js +2 -2
- package/dist/modules/customers/components/formConfig.js.map +1 -1
- package/dist/modules/customers/widgets/dashboard/customer-todos/widget.client.js +1 -1
- package/dist/modules/customers/widgets/dashboard/customer-todos/widget.client.js.map +1 -1
- package/dist/modules/customers/widgets/dashboard/new-customers/widget.client.js +2 -2
- package/dist/modules/customers/widgets/dashboard/new-customers/widget.client.js.map +1 -1
- package/dist/modules/customers/widgets/dashboard/new-deals/widget.client.js +1 -1
- package/dist/modules/customers/widgets/dashboard/new-deals/widget.client.js.map +1 -1
- package/dist/modules/customers/widgets/dashboard/next-interactions/widget.client.js +1 -1
- package/dist/modules/customers/widgets/dashboard/next-interactions/widget.client.js.map +1 -1
- package/dist/modules/dashboards/components/WidgetVisibilityEditor.js +1 -1
- package/dist/modules/dashboards/components/WidgetVisibilityEditor.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/aov-kpi/widget.client.js +1 -1
- package/dist/modules/dashboards/widgets/dashboard/aov-kpi/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/new-customers-kpi/widget.client.js +1 -1
- package/dist/modules/dashboards/widgets/dashboard/new-customers-kpi/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/orders-by-status/widget.client.js +1 -1
- package/dist/modules/dashboards/widgets/dashboard/orders-by-status/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/orders-kpi/widget.client.js +1 -1
- package/dist/modules/dashboards/widgets/dashboard/orders-kpi/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/revenue-kpi/widget.client.js +1 -1
- package/dist/modules/dashboards/widgets/dashboard/revenue-kpi/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/revenue-trend/widget.client.js +2 -2
- package/dist/modules/dashboards/widgets/dashboard/revenue-trend/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/sales-by-region/widget.client.js +1 -1
- package/dist/modules/dashboards/widgets/dashboard/sales-by-region/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/top-customers/widget.client.js +1 -1
- package/dist/modules/dashboards/widgets/dashboard/top-customers/widget.client.js.map +1 -1
- package/dist/modules/dashboards/widgets/dashboard/top-products/widget.client.js +2 -2
- package/dist/modules/dashboards/widgets/dashboard/top-products/widget.client.js.map +1 -1
- package/dist/modules/data_sync/backend/data-sync/page.js +4 -4
- package/dist/modules/data_sync/backend/data-sync/page.js.map +2 -2
- package/dist/modules/data_sync/backend/data-sync/runs/[id]/page.js +2 -2
- package/dist/modules/data_sync/backend/data-sync/runs/[id]/page.js.map +1 -1
- package/dist/modules/dictionaries/components/AppearanceSelector.js +3 -3
- package/dist/modules/dictionaries/components/AppearanceSelector.js.map +2 -2
- package/dist/modules/dictionaries/components/DictionariesManager.js +4 -4
- package/dist/modules/dictionaries/components/DictionariesManager.js.map +2 -2
- package/dist/modules/dictionaries/components/DictionaryEntriesEditor.js +2 -2
- package/dist/modules/dictionaries/components/DictionaryEntriesEditor.js.map +2 -2
- package/dist/modules/dictionaries/components/DictionaryEntrySelect.js +3 -3
- package/dist/modules/dictionaries/components/DictionaryEntrySelect.js.map +1 -1
- package/dist/modules/dictionaries/fields/dictionary.js +4 -4
- package/dist/modules/dictionaries/fields/dictionary.js.map +1 -1
- package/dist/modules/entities/components/EncryptionManager.js +3 -3
- package/dist/modules/entities/components/EncryptionManager.js.map +2 -2
- package/dist/modules/entities/components/UserEntitiesTable.js +1 -1
- package/dist/modules/entities/components/UserEntitiesTable.js.map +2 -2
- package/dist/modules/feature_toggles/components/formConfig.js +1 -1
- package/dist/modules/feature_toggles/components/formConfig.js.map +1 -1
- package/dist/modules/feature_toggles/components/overrideFormConfig.js +2 -2
- package/dist/modules/feature_toggles/components/overrideFormConfig.js.map +1 -1
- package/dist/modules/inbox_ops/backend/inbox-ops/proposals/[id]/page.js +12 -12
- package/dist/modules/inbox_ops/backend/inbox-ops/proposals/[id]/page.js.map +2 -2
- package/dist/modules/inbox_ops/components/messages/InboxEmailPreview.js +1 -1
- package/dist/modules/inbox_ops/components/messages/InboxEmailPreview.js.map +1 -1
- package/dist/modules/inbox_ops/components/proposals/ActionCard.js +12 -12
- package/dist/modules/inbox_ops/components/proposals/ActionCard.js.map +2 -2
- package/dist/modules/inbox_ops/widgets/notifications/ProposalCreatedRenderer.js +3 -3
- package/dist/modules/inbox_ops/widgets/notifications/ProposalCreatedRenderer.js.map +2 -2
- package/dist/modules/integrations/backend/integrations/[id]/page.js +6 -6
- package/dist/modules/integrations/backend/integrations/[id]/page.js.map +2 -2
- package/dist/modules/messages/components/MessagesInboxPageClient.js +1 -1
- package/dist/modules/messages/components/MessagesInboxPageClient.js.map +1 -1
- package/dist/modules/messages/components/defaults/DefaultMessageListItem.js +1 -1
- package/dist/modules/messages/components/defaults/DefaultMessageListItem.js.map +1 -1
- package/dist/modules/messages/components/defaults/MessageRecordObjectDetail.js +1 -1
- package/dist/modules/messages/components/defaults/MessageRecordObjectDetail.js.map +1 -1
- package/dist/modules/messages/components/defaults/MessageRecordObjectPreview.js +1 -1
- package/dist/modules/messages/components/defaults/MessageRecordObjectPreview.js.map +1 -1
- package/dist/modules/messages/components/message-detail/panels/MessageListComponent.js +1 -1
- package/dist/modules/messages/components/message-detail/panels/MessageListComponent.js.map +1 -1
- package/dist/modules/messages/components/message-detail/panels/attachments-panel.js +1 -1
- package/dist/modules/messages/components/message-detail/panels/attachments-panel.js.map +1 -1
- package/dist/modules/payment_gateways/backend/payment-gateways/page.js +11 -11
- package/dist/modules/payment_gateways/backend/payment-gateways/page.js.map +2 -2
- package/dist/modules/planner/components/AvailabilityRulesEditor.js +2 -2
- package/dist/modules/planner/components/AvailabilityRulesEditor.js.map +2 -2
- package/dist/modules/portal/frontend/[orgSlug]/portal/dashboard/page.js +2 -2
- package/dist/modules/portal/frontend/[orgSlug]/portal/dashboard/page.js.map +2 -2
- package/dist/modules/portal/frontend/[orgSlug]/portal/login/page.js +3 -3
- package/dist/modules/portal/frontend/[orgSlug]/portal/login/page.js.map +2 -2
- package/dist/modules/portal/frontend/[orgSlug]/portal/page.js +3 -3
- package/dist/modules/portal/frontend/[orgSlug]/portal/page.js.map +2 -2
- package/dist/modules/portal/frontend/[orgSlug]/portal/profile/page.js +4 -4
- package/dist/modules/portal/frontend/[orgSlug]/portal/profile/page.js.map +2 -2
- package/dist/modules/portal/frontend/[orgSlug]/portal/signup/page.js +4 -4
- package/dist/modules/portal/frontend/[orgSlug]/portal/signup/page.js.map +2 -2
- package/dist/modules/resources/backend/resources/resources/[id]/page.js +1 -1
- package/dist/modules/resources/backend/resources/resources/[id]/page.js.map +1 -1
- package/dist/modules/sales/backend/sales/documents/[id]/page.js +4 -4
- package/dist/modules/sales/backend/sales/documents/[id]/page.js.map +1 -1
- package/dist/modules/sales/components/DocumentNumberSettings.js +1 -1
- package/dist/modules/sales/components/DocumentNumberSettings.js.map +1 -1
- package/dist/modules/sales/components/channels/ChannelOfferForm.js +1 -1
- package/dist/modules/sales/components/channels/ChannelOfferForm.js.map +1 -1
- package/dist/modules/sales/components/documents/AdjustmentDialog.js +1 -1
- package/dist/modules/sales/components/documents/AdjustmentDialog.js.map +1 -1
- package/dist/modules/sales/components/documents/DocumentTotals.js +3 -3
- package/dist/modules/sales/components/documents/DocumentTotals.js.map +1 -1
- package/dist/modules/sales/components/documents/PaymentDialog.js +1 -1
- package/dist/modules/sales/components/documents/PaymentDialog.js.map +1 -1
- package/dist/modules/sales/components/documents/SalesDocumentForm.js +2 -2
- package/dist/modules/sales/components/documents/SalesDocumentForm.js.map +2 -2
- package/dist/modules/sales/widgets/dashboard/new-orders/widget.client.js +4 -4
- package/dist/modules/sales/widgets/dashboard/new-orders/widget.client.js.map +1 -1
- package/dist/modules/sales/widgets/dashboard/new-quotes/widget.client.js +4 -4
- package/dist/modules/sales/widgets/dashboard/new-quotes/widget.client.js.map +1 -1
- package/dist/modules/sales/widgets/injection/document-history/widget.client.js +2 -2
- package/dist/modules/sales/widgets/injection/document-history/widget.client.js.map +1 -1
- package/dist/modules/sales/widgets/messages/SalesDocumentMessageDetail.js +1 -1
- package/dist/modules/sales/widgets/messages/SalesDocumentMessageDetail.js.map +1 -1
- package/dist/modules/sales/widgets/messages/SalesDocumentMessagePreview.js +1 -1
- package/dist/modules/sales/widgets/messages/SalesDocumentMessagePreview.js.map +1 -1
- package/dist/modules/shipping_carriers/lib/shipment-wizard/components/PackageEditor.js +1 -1
- package/dist/modules/shipping_carriers/lib/shipment-wizard/components/PackageEditor.js.map +1 -1
- package/dist/modules/staff/backend/staff/team-members/[id]/page.js +1 -1
- package/dist/modules/staff/backend/staff/team-members/[id]/page.js.map +1 -1
- package/dist/modules/translations/components/TranslationDrawerAction.js +2 -2
- package/dist/modules/translations/components/TranslationDrawerAction.js.map +1 -1
- package/dist/modules/translations/components/TranslationManager.js +3 -3
- package/dist/modules/translations/components/TranslationManager.js.map +1 -1
- package/dist/modules/translations/widgets/injection/translation-manager/widget.client.js +2 -2
- package/dist/modules/translations/widgets/injection/translation-manager/widget.client.js.map +1 -1
- package/dist/modules/workflows/backend/definitions/[id]/page.js +5 -5
- package/dist/modules/workflows/backend/definitions/[id]/page.js.map +2 -2
- package/dist/modules/workflows/backend/definitions/visual-editor/page.js +2 -2
- package/dist/modules/workflows/backend/definitions/visual-editor/page.js.map +2 -2
- package/dist/modules/workflows/backend/events/[id]/page.js +4 -4
- package/dist/modules/workflows/backend/events/[id]/page.js.map +1 -1
- package/dist/modules/workflows/backend/instances/[id]/page.js +2 -2
- package/dist/modules/workflows/backend/instances/[id]/page.js.map +1 -1
- package/dist/modules/workflows/backend/tasks/[id]/page.js +20 -20
- package/dist/modules/workflows/backend/tasks/[id]/page.js.map +2 -2
- package/dist/modules/workflows/components/DefinitionTriggersEditor.js +1 -1
- package/dist/modules/workflows/components/DefinitionTriggersEditor.js.map +1 -1
- package/dist/modules/workflows/components/EdgeEditDialog.js +12 -12
- package/dist/modules/workflows/components/EdgeEditDialog.js.map +1 -1
- package/dist/modules/workflows/components/NodeEditDialog.js +26 -26
- package/dist/modules/workflows/components/NodeEditDialog.js.map +1 -1
- package/dist/modules/workflows/components/fields/FormFieldArrayEditor.js +1 -1
- package/dist/modules/workflows/components/fields/FormFieldArrayEditor.js.map +1 -1
- package/dist/modules/workflows/components/mobile/MobileDefinitionDetail.js +2 -2
- package/dist/modules/workflows/components/mobile/MobileDefinitionDetail.js.map +2 -2
- package/dist/modules/workflows/components/mobile/MobileInstanceOverview.js +7 -7
- package/dist/modules/workflows/components/mobile/MobileInstanceOverview.js.map +2 -2
- package/dist/modules/workflows/components/mobile/MobileTaskForm.js +11 -11
- package/dist/modules/workflows/components/mobile/MobileTaskForm.js.map +2 -2
- package/dist/modules/workflows/components/mobile/MobileVisualEditor.js +1 -1
- package/dist/modules/workflows/components/mobile/MobileVisualEditor.js.map +1 -1
- package/dist/modules/workflows/components/mobile/MobileWorkflowTimeline.js +23 -23
- package/dist/modules/workflows/components/mobile/MobileWorkflowTimeline.js.map +2 -2
- package/dist/modules/workflows/frontend/checkout-demo/page.js +6 -6
- package/dist/modules/workflows/frontend/checkout-demo/page.js.map +1 -1
- package/package.json +3 -3
- package/src/modules/api_docs/frontend/docs/api/Explorer.tsx +18 -18
- package/src/modules/api_keys/backend/api-keys/create/page.tsx +1 -1
- package/src/modules/attachments/components/AttachmentLibrary.tsx +3 -3
- package/src/modules/attachments/components/AttachmentPartitionSettings.tsx +1 -1
- package/src/modules/attachments/fields/attachment.tsx +1 -1
- package/src/modules/audit_logs/components/ActionLogDetailsDialog.tsx +1 -1
- package/src/modules/audit_logs/lib/display-helpers.tsx +1 -1
- package/src/modules/auth/backend/users/create/page.tsx +1 -1
- package/src/modules/business_rules/backend/rules/page.tsx +7 -7
- package/src/modules/business_rules/backend/sets/page.tsx +3 -3
- package/src/modules/business_rules/components/ActionBuilder.tsx +6 -6
- package/src/modules/business_rules/components/ActionRow.tsx +8 -8
- package/src/modules/business_rules/components/ConditionBuilder.tsx +6 -6
- package/src/modules/business_rules/components/ConditionGroup.tsx +2 -2
- package/src/modules/business_rules/components/ConditionRow.tsx +3 -3
- package/src/modules/business_rules/components/RuleSetMembers.tsx +9 -9
- package/src/modules/catalog/backend/catalog/products/[id]/page.tsx +2 -2
- package/src/modules/catalog/backend/catalog/products/create/page.tsx +5 -5
- package/src/modules/catalog/components/products/MetadataEditor.tsx +1 -1
- package/src/modules/catalog/components/products/ProductImageCell.tsx +1 -1
- package/src/modules/catalog/components/products/VariantBuilder.tsx +1 -1
- package/src/modules/catalog/widgets/injection/product-seo/widget.client.tsx +1 -1
- package/src/modules/currencies/components/CurrencyFetchingConfig.tsx +1 -1
- package/src/modules/customer_accounts/backend/customer_accounts/roles/page.tsx +2 -2
- package/src/modules/customer_accounts/backend/customer_accounts/users/[id]/page.tsx +10 -10
- package/src/modules/customer_accounts/backend/customer_accounts/users/page.tsx +9 -9
- package/src/modules/customer_accounts/widgets/injection/account-status/widget.client.tsx +2 -2
- package/src/modules/customers/backend/config/customers/pipeline-stages/page.tsx +3 -3
- package/src/modules/customers/backend/customers/deals/pipeline/page.tsx +2 -2
- package/src/modules/customers/components/AddressTiles.tsx +1 -1
- package/src/modules/customers/components/detail/ActivityForm.tsx +3 -3
- package/src/modules/customers/components/detail/AnnualRevenueField.tsx +2 -2
- package/src/modules/customers/components/detail/CustomFieldValuesList.tsx +1 -1
- package/src/modules/customers/components/detail/DealForm.tsx +1 -1
- package/src/modules/customers/components/detail/DealsSection.tsx +1 -1
- package/src/modules/customers/components/detail/DetailFieldsSection.tsx +1 -1
- package/src/modules/customers/components/detail/InlineEditors.tsx +5 -5
- package/src/modules/customers/components/detail/TasksSection.tsx +1 -1
- package/src/modules/customers/components/detail/TimelineItemHeader.tsx +1 -1
- package/src/modules/customers/components/formConfig.tsx +2 -2
- package/src/modules/customers/widgets/dashboard/customer-todos/widget.client.tsx +1 -1
- package/src/modules/customers/widgets/dashboard/new-customers/widget.client.tsx +2 -2
- package/src/modules/customers/widgets/dashboard/new-deals/widget.client.tsx +1 -1
- package/src/modules/customers/widgets/dashboard/next-interactions/widget.client.tsx +1 -1
- package/src/modules/dashboards/components/WidgetVisibilityEditor.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/aov-kpi/widget.client.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/new-customers-kpi/widget.client.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/orders-by-status/widget.client.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/orders-kpi/widget.client.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/revenue-kpi/widget.client.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/revenue-trend/widget.client.tsx +2 -2
- package/src/modules/dashboards/widgets/dashboard/sales-by-region/widget.client.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/top-customers/widget.client.tsx +1 -1
- package/src/modules/dashboards/widgets/dashboard/top-products/widget.client.tsx +2 -2
- package/src/modules/data_sync/backend/data-sync/page.tsx +4 -4
- package/src/modules/data_sync/backend/data-sync/runs/[id]/page.tsx +2 -2
- package/src/modules/dictionaries/components/AppearanceSelector.tsx +3 -3
- package/src/modules/dictionaries/components/DictionariesManager.tsx +4 -4
- package/src/modules/dictionaries/components/DictionaryEntriesEditor.tsx +2 -2
- package/src/modules/dictionaries/components/DictionaryEntrySelect.tsx +3 -3
- package/src/modules/dictionaries/fields/dictionary.tsx +4 -4
- package/src/modules/entities/components/EncryptionManager.tsx +3 -3
- package/src/modules/entities/components/UserEntitiesTable.tsx +1 -1
- package/src/modules/feature_toggles/components/formConfig.tsx +1 -1
- package/src/modules/feature_toggles/components/overrideFormConfig.tsx +2 -2
- package/src/modules/inbox_ops/backend/inbox-ops/proposals/[id]/page.tsx +12 -12
- package/src/modules/inbox_ops/components/messages/InboxEmailPreview.tsx +1 -1
- package/src/modules/inbox_ops/components/proposals/ActionCard.tsx +12 -12
- package/src/modules/inbox_ops/widgets/notifications/ProposalCreatedRenderer.tsx +4 -4
- package/src/modules/integrations/backend/integrations/[id]/page.tsx +6 -6
- package/src/modules/messages/components/MessagesInboxPageClient.tsx +1 -1
- package/src/modules/messages/components/defaults/DefaultMessageListItem.tsx +1 -1
- package/src/modules/messages/components/defaults/MessageRecordObjectDetail.tsx +1 -1
- package/src/modules/messages/components/defaults/MessageRecordObjectPreview.tsx +1 -1
- package/src/modules/messages/components/message-detail/panels/MessageListComponent.tsx +1 -1
- package/src/modules/messages/components/message-detail/panels/attachments-panel.tsx +1 -1
- package/src/modules/payment_gateways/backend/payment-gateways/page.tsx +11 -11
- package/src/modules/planner/components/AvailabilityRulesEditor.tsx +2 -2
- package/src/modules/portal/frontend/[orgSlug]/portal/dashboard/page.tsx +2 -2
- package/src/modules/portal/frontend/[orgSlug]/portal/login/page.tsx +3 -3
- package/src/modules/portal/frontend/[orgSlug]/portal/page.tsx +3 -3
- package/src/modules/portal/frontend/[orgSlug]/portal/profile/page.tsx +4 -4
- package/src/modules/portal/frontend/[orgSlug]/portal/signup/page.tsx +4 -4
- package/src/modules/resources/backend/resources/resources/[id]/page.tsx +1 -1
- package/src/modules/sales/backend/sales/documents/[id]/page.tsx +4 -4
- package/src/modules/sales/components/DocumentNumberSettings.tsx +1 -1
- package/src/modules/sales/components/channels/ChannelOfferForm.tsx +1 -1
- package/src/modules/sales/components/documents/AdjustmentDialog.tsx +1 -1
- package/src/modules/sales/components/documents/DocumentTotals.tsx +3 -3
- package/src/modules/sales/components/documents/PaymentDialog.tsx +1 -1
- package/src/modules/sales/components/documents/SalesDocumentForm.tsx +2 -2
- package/src/modules/sales/widgets/dashboard/new-orders/widget.client.tsx +4 -4
- package/src/modules/sales/widgets/dashboard/new-quotes/widget.client.tsx +4 -4
- package/src/modules/sales/widgets/injection/document-history/widget.client.tsx +2 -2
- package/src/modules/sales/widgets/messages/SalesDocumentMessageDetail.tsx +1 -1
- package/src/modules/sales/widgets/messages/SalesDocumentMessagePreview.tsx +1 -1
- package/src/modules/shipping_carriers/lib/shipment-wizard/components/PackageEditor.tsx +1 -1
- package/src/modules/staff/backend/staff/team-members/[id]/page.tsx +1 -1
- package/src/modules/translations/components/TranslationDrawerAction.tsx +2 -2
- package/src/modules/translations/components/TranslationManager.tsx +3 -3
- package/src/modules/translations/widgets/injection/translation-manager/widget.client.tsx +2 -2
- package/src/modules/workflows/backend/definitions/[id]/page.tsx +5 -5
- package/src/modules/workflows/backend/definitions/visual-editor/page.tsx +2 -2
- package/src/modules/workflows/backend/events/[id]/page.tsx +4 -4
- package/src/modules/workflows/backend/instances/[id]/page.tsx +2 -2
- package/src/modules/workflows/backend/tasks/[id]/page.tsx +23 -23
- package/src/modules/workflows/components/DefinitionTriggersEditor.tsx +1 -1
- package/src/modules/workflows/components/EdgeEditDialog.tsx +12 -12
- package/src/modules/workflows/components/NodeEditDialog.tsx +26 -26
- package/src/modules/workflows/components/fields/FormFieldArrayEditor.tsx +1 -1
- package/src/modules/workflows/components/mobile/MobileDefinitionDetail.tsx +2 -2
- package/src/modules/workflows/components/mobile/MobileInstanceOverview.tsx +7 -7
- package/src/modules/workflows/components/mobile/MobileTaskForm.tsx +14 -14
- package/src/modules/workflows/components/mobile/MobileVisualEditor.tsx +1 -1
- package/src/modules/workflows/components/mobile/MobileWorkflowTimeline.tsx +23 -23
- package/src/modules/workflows/frontend/checkout-demo/page.tsx +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/core",
|
|
3
|
-
"version": "0.5.1-develop.
|
|
3
|
+
"version": "0.5.1-develop.2874.77704bccbd",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -237,10 +237,10 @@
|
|
|
237
237
|
"ts-pattern": "^5.0.0"
|
|
238
238
|
},
|
|
239
239
|
"peerDependencies": {
|
|
240
|
-
"@open-mercato/shared": "0.5.1-develop.
|
|
240
|
+
"@open-mercato/shared": "0.5.1-develop.2874.77704bccbd"
|
|
241
241
|
},
|
|
242
242
|
"devDependencies": {
|
|
243
|
-
"@open-mercato/shared": "0.5.1-develop.
|
|
243
|
+
"@open-mercato/shared": "0.5.1-develop.2874.77704bccbd",
|
|
244
244
|
"@testing-library/dom": "^10.4.1",
|
|
245
245
|
"@testing-library/jest-dom": "^6.9.1",
|
|
246
246
|
"@testing-library/react": "^16.3.1",
|
|
@@ -445,7 +445,7 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
445
445
|
<div key={category.tag} className="space-y-2">
|
|
446
446
|
<button
|
|
447
447
|
type="button"
|
|
448
|
-
className="flex w-full items-center justify-between rounded-md bg-muted px-3 py-2 text-left font-medium text-foreground hover:bg-muted/
|
|
448
|
+
className="flex w-full items-center justify-between rounded-md bg-muted px-3 py-2 text-left font-medium text-foreground hover:bg-muted/50"
|
|
449
449
|
onClick={() =>
|
|
450
450
|
setExpanded((prev) => ({
|
|
451
451
|
...prev,
|
|
@@ -470,7 +470,7 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
470
470
|
onClick={() => handleSelectOperation(operation.id)}
|
|
471
471
|
>
|
|
472
472
|
<span
|
|
473
|
-
className={`inline-flex min-w-[3rem] justify-center rounded border px-2 py-0.5 text-
|
|
473
|
+
className={`inline-flex min-w-[3rem] justify-center rounded border px-2 py-0.5 text-overline font-semibold uppercase ${
|
|
474
474
|
METHOD_STYLES[operation.method] ?? 'border border-border bg-muted text-foreground'
|
|
475
475
|
}`}
|
|
476
476
|
>
|
|
@@ -508,7 +508,7 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
508
508
|
value={searchTerm}
|
|
509
509
|
onChange={(event) => setSearchTerm(event.target.value)}
|
|
510
510
|
placeholder="Search endpoints by path or summary"
|
|
511
|
-
className="flex-1 rounded-md border border-border bg-background px-3 py-2 text-sm focus:border-
|
|
511
|
+
className="flex-1 rounded-md border border-border bg-background px-3 py-2 text-sm focus-visible:border-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20"
|
|
512
512
|
/>
|
|
513
513
|
</div>
|
|
514
514
|
<div className="flex flex-wrap gap-2 text-xs">
|
|
@@ -581,14 +581,14 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
581
581
|
selectedOperation?.id === operation.id ? 'ring-2 ring-primary/40' : ''
|
|
582
582
|
}`}
|
|
583
583
|
>
|
|
584
|
-
<div className="flex flex-col gap-4 border-b bg-muted/
|
|
584
|
+
<div className="flex flex-col gap-4 border-b bg-muted/50 px-5 py-4 md:flex-row md:items-center md:justify-between">
|
|
585
585
|
<div className="flex items-center gap-3">
|
|
586
586
|
<span className={`rounded px-3 py-1 text-xs font-semibold uppercase ${methodClass}`}>
|
|
587
587
|
{operation.method}
|
|
588
588
|
</span>
|
|
589
589
|
<code className="text-sm text-foreground">{operation.path}</code>
|
|
590
590
|
</div>
|
|
591
|
-
<div className="flex items-center gap-2 text-
|
|
591
|
+
<div className="flex items-center gap-2 text-overline text-muted-foreground">
|
|
592
592
|
{operation.operation?.['x-require-auth'] ? (
|
|
593
593
|
<span className="rounded bg-amber-100 px-2 py-0.5 text-amber-900">Auth required</span>
|
|
594
594
|
) : null}
|
|
@@ -619,7 +619,7 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
619
619
|
</h4>
|
|
620
620
|
<div className="overflow-hidden rounded-lg border">
|
|
621
621
|
<table className="min-w-full divide-y divide-border text-left text-xs">
|
|
622
|
-
<thead className="bg-muted/
|
|
622
|
+
<thead className="bg-muted/50 text-overline uppercase tracking-wide text-muted-foreground">
|
|
623
623
|
<tr>
|
|
624
624
|
<th className="px-3 py-2 font-medium">Name</th>
|
|
625
625
|
<th className="px-3 py-2 font-medium">In</th>
|
|
@@ -687,14 +687,14 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
687
687
|
|
|
688
688
|
return (
|
|
689
689
|
<div key={status} className="rounded-lg border">
|
|
690
|
-
<div className="flex items-center justify-between border-b bg-muted/
|
|
690
|
+
<div className="flex items-center justify-between border-b bg-muted/50 px-4 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground">
|
|
691
691
|
<span>{status}</span>
|
|
692
692
|
<span className="text-muted-foreground">
|
|
693
693
|
{response?.description ?? 'Response'}
|
|
694
694
|
</span>
|
|
695
695
|
</div>
|
|
696
696
|
{responseVariant ? (
|
|
697
|
-
<div className="border-b bg-muted/
|
|
697
|
+
<div className="border-b bg-muted/50 px-4 py-2 text-overline text-muted-foreground">
|
|
698
698
|
Content-Type: {responseVariant.mediaType}
|
|
699
699
|
</div>
|
|
700
700
|
) : null}
|
|
@@ -773,7 +773,7 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
773
773
|
)
|
|
774
774
|
})}
|
|
775
775
|
{!categories.length ? (
|
|
776
|
-
<div className="rounded-lg border border-dashed bg-muted/
|
|
776
|
+
<div className="rounded-lg border border-dashed bg-muted/50 p-6 text-center text-sm text-muted-foreground">
|
|
777
777
|
No endpoints match your filters. Try adjusting the method filters or clearing the search query.
|
|
778
778
|
</div>
|
|
779
779
|
) : null}
|
|
@@ -852,7 +852,7 @@ export default function ApiDocsExplorer(props: ApiDocsExplorerProps) {
|
|
|
852
852
|
onClick={() => handleSelectOperation(operation.id)}
|
|
853
853
|
>
|
|
854
854
|
<span
|
|
855
|
-
className={`inline-flex min-w-[3rem] justify-center rounded border px-2 py-0.5 text-
|
|
855
|
+
className={`inline-flex min-w-[3rem] justify-center rounded border px-2 py-0.5 text-overline font-semibold uppercase ${
|
|
856
856
|
METHOD_STYLES[operation.method] ?? 'border border-border bg-muted text-foreground'
|
|
857
857
|
}`}
|
|
858
858
|
>
|
|
@@ -961,7 +961,7 @@ function CodeSnippetTabs(props: { snippets: CodeSnippet[] }) {
|
|
|
961
961
|
function MobileOverlay(props: { title: string; children: ReactNode; onClose: () => void }) {
|
|
962
962
|
const { title, children, onClose } = props
|
|
963
963
|
return (
|
|
964
|
-
<div className="fixed inset-0 z-
|
|
964
|
+
<div className="fixed inset-0 z-modal flex flex-col bg-background/95 backdrop-blur">
|
|
965
965
|
<div className="border-b bg-card px-6 py-4">
|
|
966
966
|
<div className="flex items-center justify-between">
|
|
967
967
|
<h2 className="text-base font-semibold text-foreground">{title}</h2>
|
|
@@ -1295,7 +1295,7 @@ function TesterPanel(props: TesterPanelProps) {
|
|
|
1295
1295
|
</p>
|
|
1296
1296
|
</div>
|
|
1297
1297
|
<span
|
|
1298
|
-
className={`inline-flex min-w-[3rem] justify-center rounded border px-2 py-0.5 text-
|
|
1298
|
+
className={`inline-flex min-w-[3rem] justify-center rounded border px-2 py-0.5 text-overline font-semibold uppercase ${
|
|
1299
1299
|
METHOD_STYLES[operation.method] ?? 'border border-border bg-muted text-foreground'
|
|
1300
1300
|
}`}
|
|
1301
1301
|
>
|
|
@@ -1313,7 +1313,7 @@ function TesterPanel(props: TesterPanelProps) {
|
|
|
1313
1313
|
<select
|
|
1314
1314
|
value={baseUrl}
|
|
1315
1315
|
onChange={(event) => setBaseUrl(event.target.value)}
|
|
1316
|
-
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus:border-
|
|
1316
|
+
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus-visible:border-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20"
|
|
1317
1317
|
>
|
|
1318
1318
|
{mergedBaseUrls.map((server) => (
|
|
1319
1319
|
<option key={server.url} value={server.url}>
|
|
@@ -1338,7 +1338,7 @@ function TesterPanel(props: TesterPanelProps) {
|
|
|
1338
1338
|
value={apiKey}
|
|
1339
1339
|
onChange={(event) => setApiKey(event.target.value)}
|
|
1340
1340
|
placeholder="Paste your API key secret (omk_…)"
|
|
1341
|
-
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus:border-
|
|
1341
|
+
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus-visible:border-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20"
|
|
1342
1342
|
/>
|
|
1343
1343
|
</label>
|
|
1344
1344
|
|
|
@@ -1362,7 +1362,7 @@ function TesterPanel(props: TesterPanelProps) {
|
|
|
1362
1362
|
}))
|
|
1363
1363
|
}
|
|
1364
1364
|
placeholder={parameter.description ?? ''}
|
|
1365
|
-
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus:border-
|
|
1365
|
+
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus-visible:border-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20"
|
|
1366
1366
|
/>
|
|
1367
1367
|
</label>
|
|
1368
1368
|
))}
|
|
@@ -1390,7 +1390,7 @@ function TesterPanel(props: TesterPanelProps) {
|
|
|
1390
1390
|
}))
|
|
1391
1391
|
}
|
|
1392
1392
|
placeholder={parameter.description ?? ''}
|
|
1393
|
-
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus:border-
|
|
1393
|
+
className="w-full rounded-md border border-border bg-background px-3 py-2 text-sm focus-visible:border-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20"
|
|
1394
1394
|
/>
|
|
1395
1395
|
</label>
|
|
1396
1396
|
))}
|
|
@@ -1408,7 +1408,7 @@ function TesterPanel(props: TesterPanelProps) {
|
|
|
1408
1408
|
value={bodyContent}
|
|
1409
1409
|
onChange={(event) => setBodyContent(event.target.value)}
|
|
1410
1410
|
rows={8}
|
|
1411
|
-
className="w-full rounded-md border border-border bg-background px-3 py-2 text-xs font-mono leading-relaxed focus:border-
|
|
1411
|
+
className="w-full rounded-md border border-border bg-background px-3 py-2 text-xs font-mono leading-relaxed focus-visible:border-ring focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20"
|
|
1412
1412
|
placeholder="Provide request payload"
|
|
1413
1413
|
/>
|
|
1414
1414
|
</section>
|
|
@@ -1431,7 +1431,7 @@ function TesterPanel(props: TesterPanelProps) {
|
|
|
1431
1431
|
type="button"
|
|
1432
1432
|
onClick={handleSubmit}
|
|
1433
1433
|
disabled={isLoading}
|
|
1434
|
-
className="inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground hover:bg-primary/90 disabled:cursor-not-allowed disabled:bg-primary/
|
|
1434
|
+
className="inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-semibold text-primary-foreground hover:bg-primary/90 disabled:cursor-not-allowed disabled:bg-primary/10"
|
|
1435
1435
|
>
|
|
1436
1436
|
{isLoading ? 'Sending…' : 'Send request'}
|
|
1437
1437
|
</button>
|
|
@@ -125,7 +125,7 @@ export default function CreateApiKeyPage() {
|
|
|
125
125
|
</p>
|
|
126
126
|
</div>
|
|
127
127
|
<div className="space-y-4 p-6">
|
|
128
|
-
<div className="rounded-md border bg-muted/
|
|
128
|
+
<div className="rounded-md border bg-muted/50 p-4 font-mono text-sm break-all">
|
|
129
129
|
{createdSecret.secret}
|
|
130
130
|
</div>
|
|
131
131
|
<div className="flex items-center justify-between text-xs text-muted-foreground">
|
|
@@ -661,8 +661,8 @@ function AttachmentUploadForm({ partitions, availableTags, onUploaded, onCancel
|
|
|
661
661
|
onSubmit={handleSubmit}
|
|
662
662
|
/>
|
|
663
663
|
{isUploading ? (
|
|
664
|
-
<div className="pointer-events-none absolute inset-0 z-20 flex items-center justify-center bg-background/
|
|
665
|
-
<div className="flex w-full max-w-sm flex-col items-center gap-4 rounded-xl border border-border/
|
|
664
|
+
<div className="pointer-events-none absolute inset-0 z-20 flex items-center justify-center bg-background/80 px-6 text-center backdrop-blur">
|
|
665
|
+
<div className="flex w-full max-w-sm flex-col items-center gap-4 rounded-xl border border-border/70 bg-card/95 px-6 py-8 shadow-2xl">
|
|
666
666
|
<Spinner size="lg" className="border-primary/50 border-t-primary" />
|
|
667
667
|
<div className="w-full space-y-3">
|
|
668
668
|
<p className="text-base font-semibold">
|
|
@@ -844,7 +844,7 @@ export function AttachmentLibrary() {
|
|
|
844
844
|
const placeholder = resolveAttachmentPlaceholder(value.mimeType, value.fileName)
|
|
845
845
|
const PlaceholderIcon = placeholder.icon
|
|
846
846
|
return (
|
|
847
|
-
<div className="flex h-16 w-16 flex-col items-center justify-center rounded border bg-muted text-
|
|
847
|
+
<div className="flex h-16 w-16 flex-col items-center justify-center rounded border bg-muted text-overline font-semibold uppercase text-muted-foreground">
|
|
848
848
|
<PlaceholderIcon className="mb-1 h-5 w-5 text-muted-foreground" aria-hidden />
|
|
849
849
|
{placeholder.label}
|
|
850
850
|
</div>
|
|
@@ -421,7 +421,7 @@ export function AttachmentPartitionSettings() {
|
|
|
421
421
|
</div>
|
|
422
422
|
)}
|
|
423
423
|
{dialog ? (
|
|
424
|
-
<div className="rounded-md border bg-muted/
|
|
424
|
+
<div className="rounded-md border bg-muted/50 px-3 py-2 text-xs text-muted-foreground">
|
|
425
425
|
<div>
|
|
426
426
|
{t('attachments.partitions.form.envKeyHelp', 'Set this env var to override storage path:')}
|
|
427
427
|
</div>
|
|
@@ -135,7 +135,7 @@ export const AttachmentInput = ({
|
|
|
135
135
|
{t('attachments.library.upload.saveFirst', 'Save the record before uploading files.')}
|
|
136
136
|
</div>
|
|
137
137
|
) : (
|
|
138
|
-
<div className="rounded-md border border-dashed border-border/70 bg-muted/
|
|
138
|
+
<div className="rounded-md border border-dashed border-border/70 bg-muted/30 px-4 py-4">
|
|
139
139
|
<div className="flex flex-wrap items-center gap-3">
|
|
140
140
|
<Button
|
|
141
141
|
type="button"
|
|
@@ -53,7 +53,7 @@ export function ActionLogDetailsDialog({ item, onClose }: { item: ActionLogItem;
|
|
|
53
53
|
if (!mounted) return null
|
|
54
54
|
|
|
55
55
|
return createPortal(
|
|
56
|
-
<div className="fixed inset-0 z-
|
|
56
|
+
<div className="fixed inset-0 z-modal flex w-full items-end justify-center bg-black/50 p-0 backdrop-blur-sm sm:items-center sm:p-6">
|
|
57
57
|
<button
|
|
58
58
|
type="button"
|
|
59
59
|
aria-label={t('audit_logs.actions.details.close')}
|
|
@@ -29,7 +29,7 @@ export function renderValue(value: unknown, fallback: string) {
|
|
|
29
29
|
if (value instanceof Date) return <span>{value.toISOString()}</span>
|
|
30
30
|
if (typeof value === 'string') return <span className="break-words">{value}</span>
|
|
31
31
|
return (
|
|
32
|
-
<pre className="max-h-40 overflow-y-auto whitespace-pre-wrap break-words rounded-md bg-muted/
|
|
32
|
+
<pre className="max-h-40 overflow-y-auto whitespace-pre-wrap break-words rounded-md bg-muted/50 px-2 py-1 text-xs leading-5 text-muted-foreground">
|
|
33
33
|
{safeStringify(value)}
|
|
34
34
|
</pre>
|
|
35
35
|
)
|
|
@@ -434,7 +434,7 @@ function DashboardWidgetSelector({
|
|
|
434
434
|
</div>
|
|
435
435
|
)}
|
|
436
436
|
{mode === 'inherit' && (
|
|
437
|
-
<div className="rounded-md border bg-muted/
|
|
437
|
+
<div className="rounded-md border bg-muted/30 px-3 py-2 text-xs text-muted-foreground">
|
|
438
438
|
{t('auth.users.widgets.mode.hint', 'New users inherit widgets from their assigned roles. Override to pick a custom set.')}
|
|
439
439
|
</div>
|
|
440
440
|
)}
|
|
@@ -210,10 +210,10 @@ export default function RulesListPage() {
|
|
|
210
210
|
accessorKey: 'ruleType',
|
|
211
211
|
cell: ({ row }) => {
|
|
212
212
|
const typeColors = {
|
|
213
|
-
GUARD: 'bg-
|
|
214
|
-
VALIDATION: 'bg-
|
|
215
|
-
CALCULATION: 'bg-
|
|
216
|
-
ACTION: 'bg-
|
|
213
|
+
GUARD: 'bg-status-error-bg text-status-error-text',
|
|
214
|
+
VALIDATION: 'bg-status-warning-bg text-status-warning-text',
|
|
215
|
+
CALCULATION: 'bg-status-info-bg text-status-info-text',
|
|
216
|
+
ACTION: 'bg-status-success-bg text-status-success-text',
|
|
217
217
|
ASSIGNMENT: 'bg-purple-100 text-purple-800',
|
|
218
218
|
}
|
|
219
219
|
const color = typeColors[row.original.ruleType] || 'bg-muted text-foreground'
|
|
@@ -244,8 +244,8 @@ export default function RulesListPage() {
|
|
|
244
244
|
onClick={() => handleToggleEnabled(row.original.id, row.original.enabled)}
|
|
245
245
|
className={`inline-flex items-center px-2 py-1 rounded text-xs font-medium cursor-pointer ${
|
|
246
246
|
row.original.enabled
|
|
247
|
-
? 'bg-
|
|
248
|
-
: 'bg-muted text-muted-foreground hover:bg-muted/
|
|
247
|
+
? 'bg-status-success-bg text-status-success-text hover:bg-status-success-bg/80'
|
|
248
|
+
: 'bg-muted text-muted-foreground hover:bg-muted/50'
|
|
249
249
|
}`}
|
|
250
250
|
title={t('business_rules.actions.toggleEnabled')}
|
|
251
251
|
>
|
|
@@ -302,7 +302,7 @@ export default function RulesListPage() {
|
|
|
302
302
|
<Page>
|
|
303
303
|
<PageBody>
|
|
304
304
|
<div className="p-8 text-center">
|
|
305
|
-
<p className="text-
|
|
305
|
+
<p className="text-status-error-text">{t('business_rules.messages.loadFailed')}</p>
|
|
306
306
|
<Button onClick={() => queryClient.invalidateQueries({ queryKey: ['business-rules'] })} className="mt-4">
|
|
307
307
|
{t('common.retry')}
|
|
308
308
|
</Button>
|
|
@@ -154,7 +154,7 @@ export default function RuleSetsListPage() {
|
|
|
154
154
|
cell: ({ row }) => (
|
|
155
155
|
<Link
|
|
156
156
|
href={`/backend/sets/${row.original.id}`}
|
|
157
|
-
className="font-mono text-sm text-
|
|
157
|
+
className="font-mono text-sm text-primary hover:underline"
|
|
158
158
|
>
|
|
159
159
|
{row.original.setId}
|
|
160
160
|
</Link>
|
|
@@ -184,8 +184,8 @@ export default function RuleSetsListPage() {
|
|
|
184
184
|
onClick={() => handleToggleEnabled(row.original.id, row.original.enabled)}
|
|
185
185
|
className={`inline-flex items-center px-2 py-1 rounded text-xs font-medium cursor-pointer ${
|
|
186
186
|
row.original.enabled
|
|
187
|
-
? 'bg-
|
|
188
|
-
: 'bg-muted text-muted-foreground hover:bg-muted/
|
|
187
|
+
? 'bg-status-success-bg text-status-success-text hover:bg-status-success-bg/80'
|
|
188
|
+
: 'bg-muted text-muted-foreground hover:bg-muted/50'
|
|
189
189
|
}`}
|
|
190
190
|
title={t('business_rules.sets.actions.toggleEnabled')}
|
|
191
191
|
>
|
|
@@ -154,7 +154,7 @@ export function ActionBuilder({
|
|
|
154
154
|
{t('business_rules.components.actionBuilder.addAction')}
|
|
155
155
|
</Button>
|
|
156
156
|
{actions.length > 1 && (
|
|
157
|
-
<Button type="button" onClick={handleClearAll} variant="outline" size="sm" className="text-
|
|
157
|
+
<Button type="button" onClick={handleClearAll} variant="outline" size="sm" className="text-status-error-text">
|
|
158
158
|
{t('business_rules.components.actionBuilder.clearAll')}
|
|
159
159
|
</Button>
|
|
160
160
|
)}
|
|
@@ -164,13 +164,13 @@ export function ActionBuilder({
|
|
|
164
164
|
|
|
165
165
|
{/* Validation Errors */}
|
|
166
166
|
{!validation.valid && (
|
|
167
|
-
<div className="p-3 bg-
|
|
168
|
-
<p className="text-sm font-medium text-
|
|
167
|
+
<div className="p-3 bg-status-error-bg border border-status-error-border rounded">
|
|
168
|
+
<p className="text-sm font-medium text-status-error-text mb-1">
|
|
169
169
|
{t('business_rules.components.actionBuilder.validationErrors')}
|
|
170
170
|
</p>
|
|
171
171
|
<ul className="list-disc list-inside space-y-0.5">
|
|
172
172
|
{validation.errors.map((err, index) => (
|
|
173
|
-
<li key={index} className="text-xs text-
|
|
173
|
+
<li key={index} className="text-xs text-status-error-text">
|
|
174
174
|
{err}
|
|
175
175
|
</li>
|
|
176
176
|
))}
|
|
@@ -180,8 +180,8 @@ export function ActionBuilder({
|
|
|
180
180
|
|
|
181
181
|
{/* External Error */}
|
|
182
182
|
{error && (
|
|
183
|
-
<div className="p-3 bg-
|
|
184
|
-
<p className="text-sm text-
|
|
183
|
+
<div className="p-3 bg-status-error-bg border border-status-error-border rounded">
|
|
184
|
+
<p className="text-sm text-status-error-text">{error}</p>
|
|
185
185
|
</div>
|
|
186
186
|
)}
|
|
187
187
|
|
|
@@ -67,7 +67,7 @@ export function ActionRow({
|
|
|
67
67
|
value={value}
|
|
68
68
|
onChange={(e) => handleConfigChange(field, e.target.value.split(',').map((s) => s.trim()))}
|
|
69
69
|
placeholder={t('business_rules.components.actionRow.config.recipients.placeholder')}
|
|
70
|
-
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
70
|
+
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
71
71
|
/>
|
|
72
72
|
<div className="col-span-4 col-start-2">
|
|
73
73
|
<p className="text-xs text-muted-foreground">{t('business_rules.components.actionRow.config.recipients.help')}</p>
|
|
@@ -83,7 +83,7 @@ export function ActionRow({
|
|
|
83
83
|
<select
|
|
84
84
|
value={value || 'info'}
|
|
85
85
|
onChange={(e) => handleConfigChange(field, e.target.value)}
|
|
86
|
-
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
86
|
+
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
87
87
|
>
|
|
88
88
|
<option value="info">{t('business_rules.components.actionRow.config.level.info')}</option>
|
|
89
89
|
<option value="warn">{t('business_rules.components.actionRow.config.level.warn')}</option>
|
|
@@ -101,7 +101,7 @@ export function ActionRow({
|
|
|
101
101
|
<select
|
|
102
102
|
value={value || 'POST'}
|
|
103
103
|
onChange={(e) => handleConfigChange(field, e.target.value)}
|
|
104
|
-
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
104
|
+
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
105
105
|
>
|
|
106
106
|
<option value="GET">GET</option>
|
|
107
107
|
<option value="POST">POST</option>
|
|
@@ -124,7 +124,7 @@ export function ActionRow({
|
|
|
124
124
|
onChange={(e) => handleConfigChange(field, e.target.value)}
|
|
125
125
|
placeholder={t('business_rules.components.actionRow.config.message.placeholder')}
|
|
126
126
|
rows={2}
|
|
127
|
-
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
127
|
+
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
128
128
|
/>
|
|
129
129
|
<div className="col-span-4 col-start-2">
|
|
130
130
|
<p className="text-xs text-muted-foreground">{t('business_rules.components.actionRow.config.message.help')}</p>
|
|
@@ -144,7 +144,7 @@ export function ActionRow({
|
|
|
144
144
|
value={value}
|
|
145
145
|
onChange={(e) => handleConfigChange(field, e.target.value)}
|
|
146
146
|
placeholder={t('business_rules.components.actionRow.config.field.placeholder', { field })}
|
|
147
|
-
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
147
|
+
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
148
148
|
/>
|
|
149
149
|
</div>
|
|
150
150
|
)
|
|
@@ -161,7 +161,7 @@ export function ActionRow({
|
|
|
161
161
|
<select
|
|
162
162
|
value={action.type || ''}
|
|
163
163
|
onChange={handleTypeChange}
|
|
164
|
-
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
164
|
+
className="col-span-3 px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring font-medium"
|
|
165
165
|
>
|
|
166
166
|
<option value="">{t('business_rules.components.actionRow.actionType.placeholder')}</option>
|
|
167
167
|
{actionTypes.map((type) => (
|
|
@@ -195,7 +195,7 @@ export function ActionRow({
|
|
|
195
195
|
type="button"
|
|
196
196
|
onClick={() => onMoveUp(index)}
|
|
197
197
|
disabled={!canMoveUp}
|
|
198
|
-
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-
|
|
198
|
+
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
|
199
199
|
title={t('business_rules.components.actionRow.moveUp')}
|
|
200
200
|
>
|
|
201
201
|
<ChevronUp className="w-4 h-4" />
|
|
@@ -206,7 +206,7 @@ export function ActionRow({
|
|
|
206
206
|
type="button"
|
|
207
207
|
onClick={() => onMoveDown(index)}
|
|
208
208
|
disabled={!canMoveDown}
|
|
209
|
-
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-
|
|
209
|
+
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
|
210
210
|
title={t('business_rules.components.actionRow.moveDown')}
|
|
211
211
|
>
|
|
212
212
|
<ChevronDown className="w-4 h-4" />
|
|
@@ -122,7 +122,7 @@ export function ConditionBuilder({
|
|
|
122
122
|
|
|
123
123
|
{/* Clear Button */}
|
|
124
124
|
<div className="flex justify-end">
|
|
125
|
-
<Button type="button" onClick={handleClear} variant="outline" size="sm" className="text-
|
|
125
|
+
<Button type="button" onClick={handleClear} variant="outline" size="sm" className="text-status-error-text">
|
|
126
126
|
{t('business_rules.components.conditionBuilder.clearAll')}
|
|
127
127
|
</Button>
|
|
128
128
|
</div>
|
|
@@ -131,13 +131,13 @@ export function ConditionBuilder({
|
|
|
131
131
|
|
|
132
132
|
{/* Validation Errors */}
|
|
133
133
|
{!validation.valid && (
|
|
134
|
-
<div className="p-3 bg-
|
|
135
|
-
<p className="text-sm font-medium text-
|
|
134
|
+
<div className="p-3 bg-status-error-bg border border-status-error-border rounded">
|
|
135
|
+
<p className="text-sm font-medium text-status-error-text mb-1">
|
|
136
136
|
{t('business_rules.components.conditionBuilder.validationErrors')}
|
|
137
137
|
</p>
|
|
138
138
|
<ul className="list-disc list-inside space-y-0.5">
|
|
139
139
|
{validation.errors.map((err, index) => (
|
|
140
|
-
<li key={index} className="text-xs text-
|
|
140
|
+
<li key={index} className="text-xs text-status-error-text">
|
|
141
141
|
{err}
|
|
142
142
|
</li>
|
|
143
143
|
))}
|
|
@@ -147,8 +147,8 @@ export function ConditionBuilder({
|
|
|
147
147
|
|
|
148
148
|
{/* External Error */}
|
|
149
149
|
{error && (
|
|
150
|
-
<div className="p-3 bg-
|
|
151
|
-
<p className="text-sm text-
|
|
150
|
+
<div className="p-3 bg-status-error-bg border border-status-error-border rounded">
|
|
151
|
+
<p className="text-sm text-status-error-text">{error}</p>
|
|
152
152
|
</div>
|
|
153
153
|
)}
|
|
154
154
|
|
|
@@ -107,7 +107,7 @@ export function ConditionGroup({ group, onChange, onDelete, depth, maxDepth = 5,
|
|
|
107
107
|
<select
|
|
108
108
|
value={group.operator}
|
|
109
109
|
onChange={handleOperatorChange}
|
|
110
|
-
className="px-3 py-1.5 text-sm font-semibold border border-border rounded bg-card focus:outline-none focus:ring-2 focus:ring-
|
|
110
|
+
className="px-3 py-1.5 text-sm font-semibold border border-border rounded bg-card focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
111
111
|
>
|
|
112
112
|
{logicalOperators.map((op) => (
|
|
113
113
|
<option key={op.value} value={op.value}>
|
|
@@ -124,7 +124,7 @@ export function ConditionGroup({ group, onChange, onDelete, depth, maxDepth = 5,
|
|
|
124
124
|
<button
|
|
125
125
|
type="button"
|
|
126
126
|
onClick={onDelete}
|
|
127
|
-
className="ml-auto p-1 text-muted-foreground hover:text-
|
|
127
|
+
className="ml-auto p-1 text-muted-foreground hover:text-status-error-text hover:bg-status-error-bg rounded transition-colors"
|
|
128
128
|
title={t('business_rules.components.conditionGroup.deleteGroup')}
|
|
129
129
|
>
|
|
130
130
|
<X className="w-4 h-4" />
|
|
@@ -77,7 +77,7 @@ export function ConditionRow({ condition, onChange, onDelete, error }: Condition
|
|
|
77
77
|
value={condition.field || ''}
|
|
78
78
|
onChange={handleFieldChange}
|
|
79
79
|
placeholder={t('business_rules.components.conditionRow.field.placeholder')}
|
|
80
|
-
className={`w-full px-2 py-1.5 text-sm border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
80
|
+
className={`w-full px-2 py-1.5 text-sm border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${
|
|
81
81
|
fieldError ? 'border-red-500' : 'border-border'
|
|
82
82
|
}`}
|
|
83
83
|
/>
|
|
@@ -96,7 +96,7 @@ export function ConditionRow({ condition, onChange, onDelete, error }: Condition
|
|
|
96
96
|
<select
|
|
97
97
|
value={condition.operator || '='}
|
|
98
98
|
onChange={handleOperatorChange}
|
|
99
|
-
className="w-full px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
99
|
+
className="w-full px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
100
100
|
>
|
|
101
101
|
{operators.map((op) => (
|
|
102
102
|
<option key={op.value} value={op.value}>
|
|
@@ -144,7 +144,7 @@ export function ConditionRow({ condition, onChange, onDelete, error }: Condition
|
|
|
144
144
|
? t('business_rules.components.conditionRow.field.comparisonPlaceholder')
|
|
145
145
|
: t('business_rules.components.conditionRow.value.placeholder')
|
|
146
146
|
}
|
|
147
|
-
className="w-full px-2 py-1.5 text-sm border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
147
|
+
className="w-full px-2 py-1.5 text-sm border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
148
148
|
/>
|
|
149
149
|
<p className="text-xs text-muted-foreground mt-0.5">
|
|
150
150
|
{useFieldComparison
|
|
@@ -103,7 +103,7 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
103
103
|
<button
|
|
104
104
|
onClick={() => handleMoveUp(member, index)}
|
|
105
105
|
disabled={index === 0}
|
|
106
|
-
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-
|
|
106
|
+
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
|
107
107
|
title={t('common.moveUp')}
|
|
108
108
|
>
|
|
109
109
|
<ChevronUp className="w-4 h-4" />
|
|
@@ -111,7 +111,7 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
111
111
|
<button
|
|
112
112
|
onClick={() => handleMoveDown(member, index)}
|
|
113
113
|
disabled={index === members.length - 1}
|
|
114
|
-
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-
|
|
114
|
+
className="p-1 text-muted-foreground hover:text-foreground hover:bg-muted rounded transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
|
|
115
115
|
title={t('common.moveDown')}
|
|
116
116
|
>
|
|
117
117
|
<ChevronDown className="w-4 h-4" />
|
|
@@ -119,7 +119,7 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
119
119
|
</div>
|
|
120
120
|
|
|
121
121
|
{/* Sequence Number */}
|
|
122
|
-
<div className="flex items-center justify-center w-8 h-8 bg-
|
|
122
|
+
<div className="flex items-center justify-center w-8 h-8 bg-status-info-bg text-status-info-text rounded font-mono text-sm font-medium">
|
|
123
123
|
{member.sequence}
|
|
124
124
|
</div>
|
|
125
125
|
|
|
@@ -139,8 +139,8 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
139
139
|
onClick={() => handleToggleEnabled(member)}
|
|
140
140
|
className={`px-2 py-1 rounded text-xs font-medium cursor-pointer ${
|
|
141
141
|
member.enabled
|
|
142
|
-
? 'bg-
|
|
143
|
-
: 'bg-muted text-muted-foreground hover:bg-muted/
|
|
142
|
+
? 'bg-status-success-bg text-status-success-text hover:bg-status-success-bg/80'
|
|
143
|
+
: 'bg-muted text-muted-foreground hover:bg-muted/50'
|
|
144
144
|
}`}
|
|
145
145
|
title={t('business_rules.sets.members.actions.toggleEnabled')}
|
|
146
146
|
>
|
|
@@ -150,7 +150,7 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
150
150
|
{/* Remove Button */}
|
|
151
151
|
<button
|
|
152
152
|
onClick={() => onRemove(member.id, member.ruleName)}
|
|
153
|
-
className="p-1.5 text-muted-foreground hover:text-
|
|
153
|
+
className="p-1.5 text-muted-foreground hover:text-status-error-text hover:bg-status-error-bg rounded transition-colors"
|
|
154
154
|
title={t('common.remove')}
|
|
155
155
|
>
|
|
156
156
|
<X className="w-4 h-4" />
|
|
@@ -162,7 +162,7 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
162
162
|
|
|
163
163
|
{/* Add Rule Form */}
|
|
164
164
|
{showAddForm ? (
|
|
165
|
-
<div className="p-4 bg-
|
|
165
|
+
<div className="p-4 bg-status-info-bg border border-status-info-border rounded space-y-3">
|
|
166
166
|
<div className="flex items-end gap-3">
|
|
167
167
|
<div className="flex-1">
|
|
168
168
|
<label className="block text-sm font-medium text-foreground mb-1">
|
|
@@ -171,7 +171,7 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
171
171
|
<select
|
|
172
172
|
value={selectedRuleId}
|
|
173
173
|
onChange={(e) => setSelectedRuleId(e.target.value)}
|
|
174
|
-
className="w-full px-3 py-2 border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
174
|
+
className="w-full px-3 py-2 border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
175
175
|
>
|
|
176
176
|
<option value="">{t('business_rules.sets.members.form.selectRulePlaceholder')}</option>
|
|
177
177
|
{rulesNotInSet.map((rule) => (
|
|
@@ -191,7 +191,7 @@ export function RuleSetMembers({ members, onAdd, onUpdate, onRemove }: RuleSetMe
|
|
|
191
191
|
value={sequence}
|
|
192
192
|
onChange={(e) => setSequence(parseInt(e.target.value) || 0)}
|
|
193
193
|
min={0}
|
|
194
|
-
className="w-full px-3 py-2 border border-border rounded bg-background focus:outline-none focus:ring-2 focus:ring-
|
|
194
|
+
className="w-full px-3 py-2 border border-border rounded bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
|
195
195
|
/>
|
|
196
196
|
</div>
|
|
197
197
|
</div>
|
|
@@ -1902,7 +1902,7 @@ function ProductOptionsSection({ values, setValue }: ProductFormGroupProps) {
|
|
|
1902
1902
|
</div>
|
|
1903
1903
|
</div>
|
|
1904
1904
|
{(Array.isArray(values.options) ? values.options : []).map((option) => (
|
|
1905
|
-
<div key={option.id} className="rounded-md bg-muted/
|
|
1905
|
+
<div key={option.id} className="rounded-md bg-muted/50 p-4">
|
|
1906
1906
|
<div className="flex items-center gap-2">
|
|
1907
1907
|
<Input
|
|
1908
1908
|
value={option.title}
|
|
@@ -2250,7 +2250,7 @@ function ProductVariantsSection({
|
|
|
2250
2250
|
</thead>
|
|
2251
2251
|
<tbody>
|
|
2252
2252
|
{variants.map((variant) => (
|
|
2253
|
-
<tr key={variant.id} className="border-t hover:bg-muted/
|
|
2253
|
+
<tr key={variant.id} className="border-t hover:bg-muted/50">
|
|
2254
2254
|
<td className="px-3 py-2">
|
|
2255
2255
|
<Link
|
|
2256
2256
|
href={`/backend/catalog/products/${productId}/variants/${variant.id}`}
|