@almadar/std 15.15.0 → 15.15.1
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/behaviors/registry/app/atoms/std-ap-bill.orb +423 -171
- package/behaviors/registry/app/atoms/std-applicant.orb +207 -165
- package/behaviors/registry/app/atoms/std-application.orb +300 -188
- package/behaviors/registry/app/atoms/std-approval-request.orb +370 -215
- package/behaviors/registry/app/atoms/std-campaign-goal.orb +382 -167
- package/behaviors/registry/app/atoms/std-change-order.orb +458 -194
- package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +201 -130
- package/behaviors/registry/app/atoms/std-checkin.orb +215 -151
- package/behaviors/registry/app/atoms/std-checkout-terminal.orb +322 -133
- package/behaviors/registry/app/atoms/std-class-roster.orb +343 -170
- package/behaviors/registry/app/atoms/std-class-session.orb +321 -190
- package/behaviors/registry/app/atoms/std-court-deadline.orb +353 -182
- package/behaviors/registry/app/atoms/std-customer-account.orb +376 -157
- package/behaviors/registry/app/atoms/std-donation-receipt.orb +214 -143
- package/behaviors/registry/app/atoms/std-donor.orb +191 -156
- package/behaviors/registry/app/atoms/std-drip-sequence.orb +409 -170
- package/behaviors/registry/app/atoms/std-driver.orb +440 -202
- package/behaviors/registry/app/atoms/std-dunning.orb +431 -167
- package/behaviors/registry/app/atoms/std-email-broadcast.orb +386 -143
- package/behaviors/registry/app/atoms/std-event.orb +309 -178
- package/behaviors/registry/app/atoms/std-form-builder.orb +353 -220
- package/behaviors/registry/app/atoms/std-health-score.orb +218 -183
- package/behaviors/registry/app/atoms/std-help-article.orb +425 -162
- package/behaviors/registry/app/atoms/std-help-category.orb +409 -166
- package/behaviors/registry/app/atoms/std-interview-slot.orb +311 -138
- package/behaviors/registry/app/atoms/std-invoice.orb +349 -211
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +308 -184
- package/behaviors/registry/app/atoms/std-lease.orb +411 -178
- package/behaviors/registry/app/atoms/std-ledger-entry.orb +266 -195
- package/behaviors/registry/app/atoms/std-maintenance-request.orb +396 -177
- package/behaviors/registry/app/atoms/std-matter.orb +415 -189
- package/behaviors/registry/app/atoms/std-membership.orb +387 -167
- package/behaviors/registry/app/atoms/std-menu.orb +232 -175
- package/behaviors/registry/app/atoms/std-modifier-group.orb +224 -167
- package/behaviors/registry/app/atoms/std-nps-survey.orb +390 -138
- package/behaviors/registry/app/atoms/std-offer-letter.orb +242 -133
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +428 -176
- package/behaviors/registry/app/atoms/std-question-bank.orb +211 -145
- package/behaviors/registry/app/atoms/std-receipt.orb +248 -177
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +421 -149
- package/behaviors/registry/app/atoms/std-renewal-risk.orb +382 -153
- package/behaviors/registry/app/atoms/std-rent-charge.orb +476 -176
- package/behaviors/registry/app/atoms/std-reorder-rule.orb +246 -176
- package/behaviors/registry/app/atoms/std-response-collector.orb +213 -150
- package/behaviors/registry/app/atoms/std-rfi.orb +365 -210
- package/behaviors/registry/app/atoms/std-route-optimize.orb +195 -146
- package/behaviors/registry/app/atoms/std-segment.orb +173 -139
- package/behaviors/registry/app/atoms/std-stock-level.orb +205 -135
- package/behaviors/registry/app/atoms/std-submittal.orb +323 -166
- package/behaviors/registry/app/atoms/std-table-map.orb +187 -63
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +290 -202
- package/behaviors/registry/app/atoms/std-telematics-event.orb +156 -128
- package/behaviors/registry/app/atoms/std-template-editor.orb +255 -189
- package/behaviors/registry/app/atoms/std-tenant.orb +375 -147
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +463 -150
- package/behaviors/registry/app/atoms/std-time-entry.orb +259 -150
- package/behaviors/registry/app/atoms/std-timesheet.orb +292 -183
- package/behaviors/registry/app/atoms/std-trial.orb +401 -183
- package/behaviors/registry/app/atoms/std-vehicle.orb +447 -205
- package/behaviors/registry/app/atoms/std-vendor-onboarding.orb +289 -245
- package/behaviors/registry/app/atoms/std-waitlist.orb +308 -177
- package/behaviors/registry/app/atoms/std-warehouse.orb +211 -141
- package/behaviors/registry/app/atoms/std-work-order.orb +374 -219
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +282 -195
- package/behaviors/registry/core/atoms/std-approval-gate.orb +703 -0
- package/behaviors/registry/core/atoms/std-audit-capture.orb +150 -64
- package/behaviors/registry/core/atoms/std-data-erasure.orb +546 -0
- package/behaviors/registry/core/atoms/std-lifecycle.orb +343 -0
- package/behaviors/registry/core/atoms/std-notify-on-event.orb +132 -46
- package/behaviors/registry/core/atoms/std-reminder-scheduler.orb +330 -0
- package/behaviors/registry/marketing/atoms/std-marketing-article.orb +96 -0
- package/behaviors/registry/marketing/atoms/std-marketing-case-studies.orb +243 -0
- package/behaviors/registry/marketing/atoms/std-marketing-community.orb +134 -0
- package/behaviors/registry/marketing/atoms/std-marketing-cta.orb +206 -0
- package/behaviors/registry/marketing/atoms/std-marketing-features.orb +193 -0
- package/behaviors/registry/marketing/atoms/std-marketing-footer.orb +192 -0
- package/behaviors/registry/marketing/atoms/std-marketing-hero.orb +262 -0
- package/behaviors/registry/marketing/atoms/std-marketing-nav.orb +190 -0
- package/behaviors/registry/marketing/atoms/std-marketing-pricing.orb +232 -0
- package/behaviors/registry/marketing/atoms/std-marketing-showcase.orb +276 -0
- package/behaviors/registry/marketing/atoms/std-marketing-split.orb +135 -0
- package/behaviors/registry/marketing/atoms/std-marketing-stats.orb +120 -0
- package/behaviors/registry/marketing/atoms/std-marketing-steps.orb +179 -0
- package/behaviors/registry/marketing/atoms/std-marketing-team.orb +192 -0
- package/behaviors/registry/marketing/atoms/std-marketing-testimonials.orb +124 -0
- package/behaviors/registry/marketing/molecules/std-about-page.orb +440 -0
- package/behaviors/registry/marketing/molecules/std-feature-detail-page.orb +371 -0
- package/behaviors/registry/marketing/molecules/std-landing-page.orb +521 -0
- package/behaviors/registry/marketing/molecules/std-pricing-page.orb +406 -0
- package/behaviors/registry/marketing/organisms/std-marketing-site.orb +1654 -0
- package/dist/behaviors/behaviors-registry.json +2913 -156
- package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +423 -171
- package/dist/behaviors/registry/app/atoms/std-applicant.orb +207 -165
- package/dist/behaviors/registry/app/atoms/std-application.orb +300 -188
- package/dist/behaviors/registry/app/atoms/std-approval-request.orb +370 -215
- package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +382 -167
- package/dist/behaviors/registry/app/atoms/std-change-order.orb +458 -194
- package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +201 -130
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +215 -151
- package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +322 -133
- package/dist/behaviors/registry/app/atoms/std-class-roster.orb +343 -170
- package/dist/behaviors/registry/app/atoms/std-class-session.orb +321 -190
- package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +353 -182
- package/dist/behaviors/registry/app/atoms/std-customer-account.orb +376 -157
- package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +214 -143
- package/dist/behaviors/registry/app/atoms/std-donor.orb +191 -156
- package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +409 -170
- package/dist/behaviors/registry/app/atoms/std-driver.orb +440 -202
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +431 -167
- package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +386 -143
- package/dist/behaviors/registry/app/atoms/std-event.orb +309 -178
- package/dist/behaviors/registry/app/atoms/std-form-builder.orb +353 -220
- package/dist/behaviors/registry/app/atoms/std-health-score.orb +218 -183
- package/dist/behaviors/registry/app/atoms/std-help-article.orb +425 -162
- package/dist/behaviors/registry/app/atoms/std-help-category.orb +409 -166
- package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +311 -138
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +349 -211
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +308 -184
- package/dist/behaviors/registry/app/atoms/std-lease.orb +411 -178
- package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +266 -195
- package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +396 -177
- package/dist/behaviors/registry/app/atoms/std-matter.orb +415 -189
- package/dist/behaviors/registry/app/atoms/std-membership.orb +387 -167
- package/dist/behaviors/registry/app/atoms/std-menu.orb +232 -175
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +224 -167
- package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +390 -138
- package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +242 -133
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +428 -176
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +211 -145
- package/dist/behaviors/registry/app/atoms/std-receipt.orb +248 -177
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +421 -149
- package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +382 -153
- package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +476 -176
- package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +246 -176
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +213 -150
- package/dist/behaviors/registry/app/atoms/std-rfi.orb +365 -210
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +195 -146
- package/dist/behaviors/registry/app/atoms/std-segment.orb +173 -139
- package/dist/behaviors/registry/app/atoms/std-stock-level.orb +205 -135
- package/dist/behaviors/registry/app/atoms/std-submittal.orb +323 -166
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +187 -63
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +290 -202
- package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +156 -128
- package/dist/behaviors/registry/app/atoms/std-template-editor.orb +255 -189
- package/dist/behaviors/registry/app/atoms/std-tenant.orb +375 -147
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +463 -150
- package/dist/behaviors/registry/app/atoms/std-time-entry.orb +259 -150
- package/dist/behaviors/registry/app/atoms/std-timesheet.orb +292 -183
- package/dist/behaviors/registry/app/atoms/std-trial.orb +401 -183
- package/dist/behaviors/registry/app/atoms/std-vehicle.orb +447 -205
- package/dist/behaviors/registry/app/atoms/std-vendor-onboarding.orb +289 -245
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +308 -177
- package/dist/behaviors/registry/app/atoms/std-warehouse.orb +211 -141
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +374 -219
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +282 -195
- package/dist/behaviors/registry/core/atoms/std-approval-gate.orb +703 -0
- package/dist/behaviors/registry/core/atoms/std-audit-capture.orb +150 -64
- package/dist/behaviors/registry/core/atoms/std-data-erasure.orb +546 -0
- package/dist/behaviors/registry/core/atoms/std-lifecycle.orb +343 -0
- package/dist/behaviors/registry/core/atoms/std-notify-on-event.orb +132 -46
- package/dist/behaviors/registry/core/atoms/std-reminder-scheduler.orb +330 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-article.orb +96 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-case-studies.orb +243 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-community.orb +134 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-cta.orb +206 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-features.orb +193 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-footer.orb +192 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-hero.orb +262 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-nav.orb +190 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-pricing.orb +232 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-showcase.orb +276 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-split.orb +135 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-stats.orb +120 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-steps.orb +179 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-team.orb +192 -0
- package/dist/behaviors/registry/marketing/atoms/std-marketing-testimonials.orb +124 -0
- package/dist/behaviors/registry/marketing/molecules/std-about-page.orb +440 -0
- package/dist/behaviors/registry/marketing/molecules/std-feature-detail-page.orb +371 -0
- package/dist/behaviors/registry/marketing/molecules/std-landing-page.orb +521 -0
- package/dist/behaviors/registry/marketing/molecules/std-pricing-page.orb +406 -0
- package/dist/behaviors/registry/marketing/organisms/std-marketing-site.orb +1654 -0
- package/dist/behaviors-registry.json +2913 -156
- package/dist/registry/app/atoms/std-ap-bill.orb +423 -171
- package/dist/registry/app/atoms/std-applicant.orb +207 -165
- package/dist/registry/app/atoms/std-application.orb +300 -188
- package/dist/registry/app/atoms/std-approval-request.orb +370 -215
- package/dist/registry/app/atoms/std-campaign-goal.orb +382 -167
- package/dist/registry/app/atoms/std-change-order.orb +458 -194
- package/dist/registry/app/atoms/std-chart-of-accounts.orb +201 -130
- package/dist/registry/app/atoms/std-checkin.orb +215 -151
- package/dist/registry/app/atoms/std-checkout-terminal.orb +322 -133
- package/dist/registry/app/atoms/std-class-roster.orb +343 -170
- package/dist/registry/app/atoms/std-class-session.orb +321 -190
- package/dist/registry/app/atoms/std-court-deadline.orb +353 -182
- package/dist/registry/app/atoms/std-customer-account.orb +376 -157
- package/dist/registry/app/atoms/std-donation-receipt.orb +214 -143
- package/dist/registry/app/atoms/std-donor.orb +191 -156
- package/dist/registry/app/atoms/std-drip-sequence.orb +409 -170
- package/dist/registry/app/atoms/std-driver.orb +440 -202
- package/dist/registry/app/atoms/std-dunning.orb +431 -167
- package/dist/registry/app/atoms/std-email-broadcast.orb +386 -143
- package/dist/registry/app/atoms/std-event.orb +309 -178
- package/dist/registry/app/atoms/std-form-builder.orb +353 -220
- package/dist/registry/app/atoms/std-health-score.orb +218 -183
- package/dist/registry/app/atoms/std-help-article.orb +425 -162
- package/dist/registry/app/atoms/std-help-category.orb +409 -166
- package/dist/registry/app/atoms/std-interview-slot.orb +311 -138
- package/dist/registry/app/atoms/std-invoice.orb +349 -211
- package/dist/registry/app/atoms/std-kitchen-display.orb +308 -184
- package/dist/registry/app/atoms/std-lease.orb +411 -178
- package/dist/registry/app/atoms/std-ledger-entry.orb +266 -195
- package/dist/registry/app/atoms/std-maintenance-request.orb +396 -177
- package/dist/registry/app/atoms/std-matter.orb +415 -189
- package/dist/registry/app/atoms/std-membership.orb +387 -167
- package/dist/registry/app/atoms/std-menu.orb +232 -175
- package/dist/registry/app/atoms/std-modifier-group.orb +224 -167
- package/dist/registry/app/atoms/std-nps-survey.orb +390 -138
- package/dist/registry/app/atoms/std-offer-letter.orb +242 -133
- package/dist/registry/app/atoms/std-payout-ledger.orb +428 -176
- package/dist/registry/app/atoms/std-question-bank.orb +211 -145
- package/dist/registry/app/atoms/std-receipt.orb +248 -177
- package/dist/registry/app/atoms/std-recurring-charge.orb +421 -149
- package/dist/registry/app/atoms/std-renewal-risk.orb +382 -153
- package/dist/registry/app/atoms/std-rent-charge.orb +476 -176
- package/dist/registry/app/atoms/std-reorder-rule.orb +246 -176
- package/dist/registry/app/atoms/std-response-collector.orb +213 -150
- package/dist/registry/app/atoms/std-rfi.orb +365 -210
- package/dist/registry/app/atoms/std-route-optimize.orb +195 -146
- package/dist/registry/app/atoms/std-segment.orb +173 -139
- package/dist/registry/app/atoms/std-stock-level.orb +205 -135
- package/dist/registry/app/atoms/std-submittal.orb +323 -166
- package/dist/registry/app/atoms/std-table-map.orb +187 -63
- package/dist/registry/app/atoms/std-technician-dispatch.orb +290 -202
- package/dist/registry/app/atoms/std-telematics-event.orb +156 -128
- package/dist/registry/app/atoms/std-template-editor.orb +255 -189
- package/dist/registry/app/atoms/std-tenant.orb +375 -147
- package/dist/registry/app/atoms/std-ticket-tier.orb +463 -150
- package/dist/registry/app/atoms/std-time-entry.orb +259 -150
- package/dist/registry/app/atoms/std-timesheet.orb +292 -183
- package/dist/registry/app/atoms/std-trial.orb +401 -183
- package/dist/registry/app/atoms/std-vehicle.orb +447 -205
- package/dist/registry/app/atoms/std-vendor-onboarding.orb +289 -245
- package/dist/registry/app/atoms/std-waitlist.orb +308 -177
- package/dist/registry/app/atoms/std-warehouse.orb +211 -141
- package/dist/registry/app/atoms/std-work-order.orb +374 -219
- package/dist/registry/app/organisms/std-subscription-billing.orb +282 -195
- package/dist/registry/core/atoms/std-approval-gate.orb +703 -0
- package/dist/registry/core/atoms/std-audit-capture.orb +150 -64
- package/dist/registry/core/atoms/std-data-erasure.orb +546 -0
- package/dist/registry/core/atoms/std-lifecycle.orb +343 -0
- package/dist/registry/core/atoms/std-notify-on-event.orb +132 -46
- package/dist/registry/core/atoms/std-reminder-scheduler.orb +330 -0
- package/dist/registry/marketing/atoms/std-marketing-article.orb +96 -0
- package/dist/registry/marketing/atoms/std-marketing-case-studies.orb +243 -0
- package/dist/registry/marketing/atoms/std-marketing-community.orb +134 -0
- package/dist/registry/marketing/atoms/std-marketing-cta.orb +206 -0
- package/dist/registry/marketing/atoms/std-marketing-features.orb +193 -0
- package/dist/registry/marketing/atoms/std-marketing-footer.orb +192 -0
- package/dist/registry/marketing/atoms/std-marketing-hero.orb +262 -0
- package/dist/registry/marketing/atoms/std-marketing-nav.orb +190 -0
- package/dist/registry/marketing/atoms/std-marketing-pricing.orb +232 -0
- package/dist/registry/marketing/atoms/std-marketing-showcase.orb +276 -0
- package/dist/registry/marketing/atoms/std-marketing-split.orb +135 -0
- package/dist/registry/marketing/atoms/std-marketing-stats.orb +120 -0
- package/dist/registry/marketing/atoms/std-marketing-steps.orb +179 -0
- package/dist/registry/marketing/atoms/std-marketing-team.orb +192 -0
- package/dist/registry/marketing/atoms/std-marketing-testimonials.orb +124 -0
- package/dist/registry/marketing/molecules/std-about-page.orb +440 -0
- package/dist/registry/marketing/molecules/std-feature-detail-page.orb +371 -0
- package/dist/registry/marketing/molecules/std-landing-page.orb +521 -0
- package/dist/registry/marketing/molecules/std-pricing-page.orb +406 -0
- package/dist/registry/marketing/organisms/std-marketing-site.orb +1654 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-invoice",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "std-invoice — invoice generation atom. Owns an Invoice entity (line-items + tax + total + refund tiers via config). Browses invoices in a data-grid with Send / Mark-Paid / Void / Refund actions; viewing state renders the canonical invoice pattern detail.
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "std-invoice — invoice generation atom. Owns an Invoice entity (line-items + tax + total + refund tiers via config). Browses invoices in a data-grid with Send / Mark-Paid / Void / Refund actions; viewing state renders the canonical invoice pattern detail. Listens for SET_STATUS so sibling std-lifecycle can drive automated transitions (e.g. sent → overdue after 30d). Exposes Financial-pattern knobs (currency, taxStrategy, gracePeriodDays, lateFeePolicy, …) for the questionnaire.",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "InvoiceOrbital",
|
|
@@ -502,6 +502,22 @@
|
|
|
502
502
|
}
|
|
503
503
|
]
|
|
504
504
|
},
|
|
505
|
+
{
|
|
506
|
+
"key": "SET_STATUS",
|
|
507
|
+
"name": "Set Status",
|
|
508
|
+
"payloadSchema": [
|
|
509
|
+
{
|
|
510
|
+
"name": "entityId",
|
|
511
|
+
"type": "string",
|
|
512
|
+
"required": true
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "newStatus",
|
|
516
|
+
"type": "string",
|
|
517
|
+
"required": true
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
},
|
|
505
521
|
{
|
|
506
522
|
"key": "CLOSE_VIEW",
|
|
507
523
|
"name": "Close View"
|
|
@@ -566,21 +582,21 @@
|
|
|
566
582
|
"main",
|
|
567
583
|
{
|
|
568
584
|
"direction": "vertical",
|
|
585
|
+
"gap": "md",
|
|
586
|
+
"align": "center",
|
|
569
587
|
"type": "stack",
|
|
588
|
+
"className": "py-12",
|
|
570
589
|
"children": [
|
|
571
590
|
{
|
|
572
591
|
"type": "spinner"
|
|
573
592
|
},
|
|
574
593
|
{
|
|
575
|
-
"type": "typography",
|
|
576
|
-
"content": "Loading invoices…",
|
|
577
594
|
"variant": "caption",
|
|
578
|
-
"
|
|
595
|
+
"type": "typography",
|
|
596
|
+
"color": "muted",
|
|
597
|
+
"content": "Loading invoices…"
|
|
579
598
|
}
|
|
580
|
-
]
|
|
581
|
-
"className": "py-12",
|
|
582
|
-
"gap": "md",
|
|
583
|
-
"align": "center"
|
|
599
|
+
]
|
|
584
600
|
}
|
|
585
601
|
]
|
|
586
602
|
]
|
|
@@ -596,62 +612,62 @@
|
|
|
596
612
|
{
|
|
597
613
|
"children": [
|
|
598
614
|
{
|
|
599
|
-
"type": "stack",
|
|
600
|
-
"direction": "horizontal",
|
|
601
|
-
"gap": "sm",
|
|
602
|
-
"align": "center",
|
|
603
615
|
"children": [
|
|
604
616
|
{
|
|
605
|
-
"
|
|
606
|
-
"
|
|
617
|
+
"name": "receipt",
|
|
618
|
+
"type": "icon"
|
|
607
619
|
},
|
|
608
620
|
{
|
|
609
621
|
"type": "typography",
|
|
610
622
|
"content": "@config.title",
|
|
611
623
|
"variant": "h3"
|
|
612
624
|
}
|
|
613
|
-
]
|
|
625
|
+
],
|
|
626
|
+
"type": "stack",
|
|
627
|
+
"direction": "horizontal",
|
|
628
|
+
"gap": "sm",
|
|
629
|
+
"align": "center"
|
|
614
630
|
},
|
|
615
631
|
{
|
|
616
|
-
"type": "simple-grid",
|
|
617
632
|
"children": [
|
|
618
633
|
{
|
|
619
|
-
"value": "@payload.data.length",
|
|
620
634
|
"type": "stat-display",
|
|
635
|
+
"label": "Total invoices",
|
|
621
636
|
"icon": "receipt",
|
|
622
|
-
"
|
|
637
|
+
"value": "@payload.data.length"
|
|
623
638
|
},
|
|
624
639
|
{
|
|
625
|
-
"value": "$28,400",
|
|
626
|
-
"icon": "alert-triangle",
|
|
627
640
|
"type": "stat-display",
|
|
628
|
-
"label": "Outstanding"
|
|
641
|
+
"label": "Outstanding",
|
|
642
|
+
"icon": "alert-triangle",
|
|
643
|
+
"value": "$28,400"
|
|
629
644
|
},
|
|
630
645
|
{
|
|
631
|
-
"type": "stat-display",
|
|
632
|
-
"label": "Paid this month",
|
|
633
646
|
"value": "$112,800",
|
|
634
|
-
"
|
|
647
|
+
"type": "stat-display",
|
|
648
|
+
"icon": "dollar-sign",
|
|
649
|
+
"label": "Paid this month"
|
|
635
650
|
},
|
|
636
651
|
{
|
|
637
|
-
"icon": "clock",
|
|
638
652
|
"label": "Overdue",
|
|
639
|
-
"
|
|
640
|
-
"
|
|
653
|
+
"type": "stat-display",
|
|
654
|
+
"icon": "clock",
|
|
655
|
+
"value": "9"
|
|
641
656
|
}
|
|
642
657
|
],
|
|
658
|
+
"type": "simple-grid",
|
|
643
659
|
"cols": 4.0
|
|
644
660
|
},
|
|
645
661
|
{
|
|
646
662
|
"type": "divider"
|
|
647
663
|
},
|
|
648
664
|
{
|
|
649
|
-
"
|
|
650
|
-
"
|
|
665
|
+
"fields": "@config.fields",
|
|
666
|
+
"type": "data-grid",
|
|
651
667
|
"entity": "@payload.data",
|
|
668
|
+
"gap": "sm",
|
|
652
669
|
"cols": 1.0,
|
|
653
|
-
"
|
|
654
|
-
"type": "data-grid"
|
|
670
|
+
"itemActions": "@config.itemActions"
|
|
655
671
|
}
|
|
656
672
|
],
|
|
657
673
|
"gap": "md",
|
|
@@ -670,9 +686,9 @@
|
|
|
670
686
|
"render-ui",
|
|
671
687
|
"main",
|
|
672
688
|
{
|
|
673
|
-
"type": "alert",
|
|
674
689
|
"variant": "error",
|
|
675
|
-
"message": "@payload.error"
|
|
690
|
+
"message": "@payload.error",
|
|
691
|
+
"type": "alert"
|
|
676
692
|
}
|
|
677
693
|
]
|
|
678
694
|
]
|
|
@@ -746,96 +762,97 @@
|
|
|
746
762
|
"render-ui",
|
|
747
763
|
"main",
|
|
748
764
|
{
|
|
765
|
+
"gap": "md",
|
|
749
766
|
"children": [
|
|
750
767
|
{
|
|
768
|
+
"gap": "sm",
|
|
751
769
|
"type": "stack",
|
|
752
|
-
"
|
|
770
|
+
"direction": "horizontal",
|
|
753
771
|
"children": [
|
|
754
772
|
{
|
|
755
|
-
"
|
|
773
|
+
"action": "CLOSE_VIEW",
|
|
756
774
|
"type": "button",
|
|
757
775
|
"label": "Back",
|
|
758
|
-
"
|
|
776
|
+
"variant": "ghost"
|
|
759
777
|
},
|
|
760
778
|
{
|
|
761
779
|
"name": "receipt",
|
|
762
780
|
"type": "icon"
|
|
763
781
|
},
|
|
764
782
|
{
|
|
783
|
+
"variant": "h3",
|
|
765
784
|
"type": "typography",
|
|
766
|
-
"content": "@entity.invoiceNumber"
|
|
767
|
-
"variant": "h3"
|
|
785
|
+
"content": "@entity.invoiceNumber"
|
|
768
786
|
},
|
|
769
787
|
{
|
|
770
|
-
"variant": "default",
|
|
771
788
|
"type": "badge",
|
|
789
|
+
"variant": "default",
|
|
772
790
|
"label": "@entity.status"
|
|
773
791
|
}
|
|
774
792
|
],
|
|
775
|
-
"
|
|
776
|
-
"direction": "horizontal"
|
|
793
|
+
"align": "center"
|
|
777
794
|
},
|
|
778
795
|
{
|
|
779
796
|
"type": "divider"
|
|
780
797
|
},
|
|
781
798
|
{
|
|
799
|
+
"type": "stack",
|
|
782
800
|
"children": [
|
|
783
801
|
{
|
|
784
|
-
"
|
|
802
|
+
"type": "stack",
|
|
803
|
+
"direction": "horizontal",
|
|
785
804
|
"children": [
|
|
786
805
|
{
|
|
806
|
+
"color": "muted",
|
|
787
807
|
"type": "typography",
|
|
788
808
|
"variant": "caption",
|
|
789
|
-
"content": "Customer"
|
|
790
|
-
"color": "muted"
|
|
809
|
+
"content": "Customer"
|
|
791
810
|
},
|
|
792
811
|
{
|
|
793
|
-
"type": "typography",
|
|
794
812
|
"variant": "body",
|
|
795
|
-
"content": "@entity.customerId"
|
|
813
|
+
"content": "@entity.customerId",
|
|
814
|
+
"type": "typography"
|
|
796
815
|
}
|
|
797
816
|
],
|
|
798
|
-
"
|
|
799
|
-
"type": "stack"
|
|
817
|
+
"gap": "md"
|
|
800
818
|
},
|
|
801
819
|
{
|
|
820
|
+
"type": "stack",
|
|
821
|
+
"direction": "horizontal",
|
|
822
|
+
"gap": "md",
|
|
802
823
|
"children": [
|
|
803
824
|
{
|
|
804
|
-
"
|
|
805
|
-
"variant": "caption",
|
|
825
|
+
"color": "muted",
|
|
806
826
|
"content": "Currency",
|
|
807
|
-
"
|
|
827
|
+
"variant": "caption",
|
|
828
|
+
"type": "typography"
|
|
808
829
|
},
|
|
809
830
|
{
|
|
810
|
-
"
|
|
831
|
+
"type": "typography",
|
|
811
832
|
"content": "@entity.currency",
|
|
812
|
-
"
|
|
833
|
+
"variant": "body"
|
|
813
834
|
}
|
|
814
|
-
]
|
|
815
|
-
"gap": "md",
|
|
816
|
-
"type": "stack",
|
|
817
|
-
"direction": "horizontal"
|
|
835
|
+
]
|
|
818
836
|
},
|
|
819
837
|
{
|
|
838
|
+
"gap": "md",
|
|
839
|
+
"type": "stack",
|
|
820
840
|
"direction": "horizontal",
|
|
821
841
|
"children": [
|
|
822
842
|
{
|
|
823
|
-
"type": "typography",
|
|
824
843
|
"variant": "caption",
|
|
825
844
|
"color": "muted",
|
|
826
|
-
"content": "Notes"
|
|
845
|
+
"content": "Notes",
|
|
846
|
+
"type": "typography"
|
|
827
847
|
},
|
|
828
848
|
{
|
|
849
|
+
"type": "typography",
|
|
829
850
|
"variant": "body",
|
|
830
|
-
"content": "@entity.notes"
|
|
831
|
-
"type": "typography"
|
|
851
|
+
"content": "@entity.notes"
|
|
832
852
|
}
|
|
833
|
-
]
|
|
834
|
-
"type": "stack",
|
|
835
|
-
"gap": "md"
|
|
853
|
+
]
|
|
836
854
|
}
|
|
837
855
|
],
|
|
838
|
-
"type": "stack",
|
|
839
856
|
"direction": "vertical",
|
|
840
857
|
"gap": "sm"
|
|
841
858
|
},
|
|
@@ -845,27 +862,27 @@
|
|
|
845
862
|
{
|
|
846
863
|
"children": [
|
|
847
864
|
{
|
|
848
|
-
"
|
|
865
|
+
"label": "Subtotal",
|
|
849
866
|
"icon": "dollar-sign",
|
|
850
|
-
"
|
|
851
|
-
"
|
|
867
|
+
"value": "@entity.subtotal",
|
|
868
|
+
"type": "stat-display"
|
|
852
869
|
},
|
|
853
870
|
{
|
|
854
|
-
"type": "stat-display",
|
|
855
871
|
"label": "Tax",
|
|
856
|
-
"
|
|
857
|
-
"icon": "percent"
|
|
872
|
+
"type": "stat-display",
|
|
873
|
+
"icon": "percent",
|
|
874
|
+
"value": "@entity.tax"
|
|
858
875
|
},
|
|
859
876
|
{
|
|
860
|
-
"
|
|
861
|
-
"icon": "dollar-sign",
|
|
877
|
+
"label": "Total",
|
|
862
878
|
"type": "stat-display",
|
|
863
|
-
"
|
|
879
|
+
"value": "@entity.total",
|
|
880
|
+
"icon": "dollar-sign"
|
|
864
881
|
},
|
|
865
882
|
{
|
|
866
883
|
"icon": "calendar",
|
|
867
|
-
"type": "stat-display",
|
|
868
884
|
"label": "Due",
|
|
885
|
+
"type": "stat-display",
|
|
869
886
|
"value": "@entity.dueAt"
|
|
870
887
|
}
|
|
871
888
|
],
|
|
@@ -873,52 +890,51 @@
|
|
|
873
890
|
"cols": 4.0
|
|
874
891
|
},
|
|
875
892
|
{
|
|
876
|
-
"direction": "horizontal",
|
|
877
893
|
"align": "center",
|
|
878
894
|
"type": "stack",
|
|
895
|
+
"direction": "horizontal",
|
|
879
896
|
"gap": "sm",
|
|
880
897
|
"children": [
|
|
881
898
|
{
|
|
882
|
-
"type": "button",
|
|
883
|
-
"variant": "primary",
|
|
884
|
-
"action": "SEND",
|
|
885
899
|
"actionPayload": {
|
|
886
900
|
"invoiceId": "@entity.id"
|
|
887
901
|
},
|
|
888
|
-
"label": "Send"
|
|
902
|
+
"label": "Send",
|
|
903
|
+
"variant": "primary",
|
|
904
|
+
"type": "button",
|
|
905
|
+
"action": "SEND"
|
|
889
906
|
},
|
|
890
907
|
{
|
|
891
|
-
"label": "Mark Paid",
|
|
892
|
-
"action": "MARK_PAID",
|
|
893
|
-
"variant": "primary",
|
|
894
908
|
"actionPayload": {
|
|
895
909
|
"invoiceId": "@entity.id"
|
|
896
910
|
},
|
|
911
|
+
"action": "MARK_PAID",
|
|
912
|
+
"label": "Mark Paid",
|
|
913
|
+
"variant": "primary",
|
|
897
914
|
"type": "button"
|
|
898
915
|
},
|
|
899
916
|
{
|
|
900
|
-
"type": "button",
|
|
901
917
|
"variant": "danger",
|
|
902
918
|
"action": "VOID",
|
|
903
919
|
"actionPayload": {
|
|
904
920
|
"invoiceId": "@entity.id"
|
|
905
921
|
},
|
|
906
|
-
"label": "Void"
|
|
922
|
+
"label": "Void",
|
|
923
|
+
"type": "button"
|
|
907
924
|
},
|
|
908
925
|
{
|
|
909
926
|
"type": "button",
|
|
927
|
+
"variant": "danger",
|
|
910
928
|
"label": "Refund",
|
|
911
929
|
"action": "REFUND",
|
|
912
930
|
"actionPayload": {
|
|
913
|
-
"
|
|
914
|
-
"
|
|
915
|
-
}
|
|
916
|
-
"variant": "danger"
|
|
931
|
+
"amount": 0.0,
|
|
932
|
+
"invoiceId": "@entity.id"
|
|
933
|
+
}
|
|
917
934
|
}
|
|
918
935
|
]
|
|
919
936
|
}
|
|
920
937
|
],
|
|
921
|
-
"gap": "md",
|
|
922
938
|
"direction": "vertical",
|
|
923
939
|
"type": "stack"
|
|
924
940
|
}
|
|
@@ -947,8 +963,8 @@
|
|
|
947
963
|
"@entity",
|
|
948
964
|
{
|
|
949
965
|
"emit": {
|
|
950
|
-
"
|
|
951
|
-
"
|
|
966
|
+
"success": "InvoiceUpdated",
|
|
967
|
+
"failure": "InvoiceUpdateFailed"
|
|
952
968
|
}
|
|
953
969
|
}
|
|
954
970
|
],
|
|
@@ -956,22 +972,22 @@
|
|
|
956
972
|
"render-ui",
|
|
957
973
|
"main",
|
|
958
974
|
{
|
|
959
|
-
"
|
|
975
|
+
"align": "center",
|
|
976
|
+
"type": "stack",
|
|
960
977
|
"children": [
|
|
961
978
|
{
|
|
962
979
|
"type": "spinner"
|
|
963
980
|
},
|
|
964
981
|
{
|
|
965
|
-
"variant": "caption",
|
|
966
982
|
"content": "Voiding invoice…",
|
|
967
|
-
"
|
|
968
|
-
"
|
|
983
|
+
"type": "typography",
|
|
984
|
+
"variant": "caption",
|
|
985
|
+
"color": "muted"
|
|
969
986
|
}
|
|
970
987
|
],
|
|
971
988
|
"gap": "md",
|
|
972
|
-
"
|
|
973
|
-
"
|
|
974
|
-
"align": "center"
|
|
989
|
+
"className": "py-12",
|
|
990
|
+
"direction": "vertical"
|
|
975
991
|
}
|
|
976
992
|
]
|
|
977
993
|
]
|
|
@@ -1002,9 +1018,9 @@
|
|
|
1002
1018
|
"render-ui",
|
|
1003
1019
|
"main",
|
|
1004
1020
|
{
|
|
1021
|
+
"variant": "error",
|
|
1005
1022
|
"message": "@payload.error",
|
|
1006
|
-
"type": "alert"
|
|
1007
|
-
"variant": "error"
|
|
1023
|
+
"type": "alert"
|
|
1008
1024
|
}
|
|
1009
1025
|
]
|
|
1010
1026
|
]
|
|
@@ -1035,9 +1051,60 @@
|
|
|
1035
1051
|
"render-ui",
|
|
1036
1052
|
"main",
|
|
1037
1053
|
{
|
|
1054
|
+
"message": "@payload.error",
|
|
1038
1055
|
"type": "alert",
|
|
1039
|
-
"variant": "error"
|
|
1040
|
-
|
|
1056
|
+
"variant": "error"
|
|
1057
|
+
}
|
|
1058
|
+
]
|
|
1059
|
+
]
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
"from": "browsing",
|
|
1063
|
+
"to": "loading",
|
|
1064
|
+
"event": "SET_STATUS",
|
|
1065
|
+
"effects": [
|
|
1066
|
+
[
|
|
1067
|
+
"set",
|
|
1068
|
+
"@entity.id",
|
|
1069
|
+
"@payload.entityId"
|
|
1070
|
+
],
|
|
1071
|
+
[
|
|
1072
|
+
"set",
|
|
1073
|
+
"@entity.status",
|
|
1074
|
+
"@payload.newStatus"
|
|
1075
|
+
],
|
|
1076
|
+
[
|
|
1077
|
+
"persist",
|
|
1078
|
+
"update",
|
|
1079
|
+
"InvoiceRecord",
|
|
1080
|
+
"@entity",
|
|
1081
|
+
{
|
|
1082
|
+
"emit": {
|
|
1083
|
+
"failure": "InvoiceUpdateFailed",
|
|
1084
|
+
"success": "InvoiceUpdated"
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
],
|
|
1088
|
+
[
|
|
1089
|
+
"render-ui",
|
|
1090
|
+
"main",
|
|
1091
|
+
{
|
|
1092
|
+
"gap": "md",
|
|
1093
|
+
"type": "stack",
|
|
1094
|
+
"children": [
|
|
1095
|
+
{
|
|
1096
|
+
"type": "spinner"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"type": "typography",
|
|
1100
|
+
"variant": "caption",
|
|
1101
|
+
"color": "muted",
|
|
1102
|
+
"content": "Updating invoice status…"
|
|
1103
|
+
}
|
|
1104
|
+
],
|
|
1105
|
+
"align": "center",
|
|
1106
|
+
"className": "py-12",
|
|
1107
|
+
"direction": "vertical"
|
|
1041
1108
|
}
|
|
1042
1109
|
]
|
|
1043
1110
|
]
|
|
@@ -1061,22 +1128,22 @@
|
|
|
1061
1128
|
"render-ui",
|
|
1062
1129
|
"main",
|
|
1063
1130
|
{
|
|
1131
|
+
"type": "stack",
|
|
1132
|
+
"gap": "md",
|
|
1133
|
+
"align": "center",
|
|
1134
|
+
"className": "py-12",
|
|
1135
|
+
"direction": "vertical",
|
|
1064
1136
|
"children": [
|
|
1065
1137
|
{
|
|
1066
1138
|
"type": "spinner"
|
|
1067
1139
|
},
|
|
1068
1140
|
{
|
|
1141
|
+
"content": "Loading invoices…",
|
|
1069
1142
|
"variant": "caption",
|
|
1070
1143
|
"type": "typography",
|
|
1071
|
-
"content": "Loading invoices…",
|
|
1072
1144
|
"color": "muted"
|
|
1073
1145
|
}
|
|
1074
|
-
]
|
|
1075
|
-
"gap": "md",
|
|
1076
|
-
"type": "stack",
|
|
1077
|
-
"align": "center",
|
|
1078
|
-
"className": "py-12",
|
|
1079
|
-
"direction": "vertical"
|
|
1146
|
+
]
|
|
1080
1147
|
}
|
|
1081
1148
|
]
|
|
1082
1149
|
]
|
|
@@ -1117,22 +1184,22 @@
|
|
|
1117
1184
|
"render-ui",
|
|
1118
1185
|
"main",
|
|
1119
1186
|
{
|
|
1120
|
-
"direction": "vertical",
|
|
1121
|
-
"align": "center",
|
|
1122
|
-
"type": "stack",
|
|
1123
|
-
"gap": "md",
|
|
1124
1187
|
"className": "py-12",
|
|
1125
1188
|
"children": [
|
|
1126
1189
|
{
|
|
1127
1190
|
"type": "spinner"
|
|
1128
1191
|
},
|
|
1129
1192
|
{
|
|
1130
|
-
"type": "typography",
|
|
1131
|
-
"content": "Sending invoice…",
|
|
1132
1193
|
"color": "muted",
|
|
1133
|
-
"variant": "caption"
|
|
1194
|
+
"variant": "caption",
|
|
1195
|
+
"type": "typography",
|
|
1196
|
+
"content": "Sending invoice…"
|
|
1134
1197
|
}
|
|
1135
|
-
]
|
|
1198
|
+
],
|
|
1199
|
+
"gap": "md",
|
|
1200
|
+
"type": "stack",
|
|
1201
|
+
"direction": "vertical",
|
|
1202
|
+
"align": "center"
|
|
1136
1203
|
}
|
|
1137
1204
|
]
|
|
1138
1205
|
]
|
|
@@ -1179,16 +1246,16 @@
|
|
|
1179
1246
|
},
|
|
1180
1247
|
{
|
|
1181
1248
|
"color": "muted",
|
|
1182
|
-
"variant": "caption",
|
|
1183
1249
|
"type": "typography",
|
|
1184
|
-
"content": "Marking invoice paid…"
|
|
1250
|
+
"content": "Marking invoice paid…",
|
|
1251
|
+
"variant": "caption"
|
|
1185
1252
|
}
|
|
1186
1253
|
],
|
|
1187
|
-
"
|
|
1188
|
-
"direction": "vertical",
|
|
1254
|
+
"className": "py-12",
|
|
1189
1255
|
"type": "stack",
|
|
1256
|
+
"direction": "vertical",
|
|
1190
1257
|
"gap": "md",
|
|
1191
|
-
"
|
|
1258
|
+
"align": "center"
|
|
1192
1259
|
}
|
|
1193
1260
|
]
|
|
1194
1261
|
]
|
|
@@ -1230,16 +1297,16 @@
|
|
|
1230
1297
|
"type": "spinner"
|
|
1231
1298
|
},
|
|
1232
1299
|
{
|
|
1233
|
-
"variant": "caption",
|
|
1234
|
-
"color": "muted",
|
|
1235
1300
|
"content": "Voiding invoice…",
|
|
1236
|
-
"type": "typography"
|
|
1301
|
+
"type": "typography",
|
|
1302
|
+
"variant": "caption",
|
|
1303
|
+
"color": "muted"
|
|
1237
1304
|
}
|
|
1238
1305
|
],
|
|
1239
|
-
"
|
|
1306
|
+
"gap": "md",
|
|
1240
1307
|
"align": "center",
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1308
|
+
"type": "stack",
|
|
1309
|
+
"className": "py-12"
|
|
1243
1310
|
}
|
|
1244
1311
|
]
|
|
1245
1312
|
]
|
|
@@ -1264,8 +1331,8 @@
|
|
|
1264
1331
|
},
|
|
1265
1332
|
{
|
|
1266
1333
|
"emit": {
|
|
1267
|
-
"
|
|
1268
|
-
"
|
|
1334
|
+
"failure": "InvoiceRefundFailed",
|
|
1335
|
+
"success": "InvoiceRefunded"
|
|
1269
1336
|
}
|
|
1270
1337
|
}
|
|
1271
1338
|
],
|
|
@@ -1274,21 +1341,21 @@
|
|
|
1274
1341
|
"main",
|
|
1275
1342
|
{
|
|
1276
1343
|
"type": "stack",
|
|
1277
|
-
"gap": "md",
|
|
1278
|
-
"align": "center",
|
|
1279
1344
|
"className": "py-12",
|
|
1345
|
+
"align": "center",
|
|
1346
|
+
"gap": "md",
|
|
1347
|
+
"direction": "vertical",
|
|
1280
1348
|
"children": [
|
|
1281
1349
|
{
|
|
1282
1350
|
"type": "spinner"
|
|
1283
1351
|
},
|
|
1284
1352
|
{
|
|
1353
|
+
"color": "muted",
|
|
1285
1354
|
"type": "typography",
|
|
1286
1355
|
"variant": "caption",
|
|
1287
|
-
"color": "muted",
|
|
1288
1356
|
"content": "Refunding invoice…"
|
|
1289
1357
|
}
|
|
1290
|
-
]
|
|
1291
|
-
"direction": "vertical"
|
|
1358
|
+
]
|
|
1292
1359
|
}
|
|
1293
1360
|
]
|
|
1294
1361
|
]
|
|
@@ -1303,8 +1370,8 @@
|
|
|
1303
1370
|
"InvoiceRecord",
|
|
1304
1371
|
{
|
|
1305
1372
|
"emit": {
|
|
1306
|
-
"
|
|
1307
|
-
"
|
|
1373
|
+
"failure": "InvoiceLoadFailed",
|
|
1374
|
+
"success": "InvoiceLoaded"
|
|
1308
1375
|
}
|
|
1309
1376
|
}
|
|
1310
1377
|
],
|
|
@@ -1312,8 +1379,8 @@
|
|
|
1312
1379
|
"render-ui",
|
|
1313
1380
|
"main",
|
|
1314
1381
|
{
|
|
1315
|
-
"
|
|
1316
|
-
"
|
|
1382
|
+
"size": "sm",
|
|
1383
|
+
"type": "spinner"
|
|
1317
1384
|
}
|
|
1318
1385
|
]
|
|
1319
1386
|
]
|
|
@@ -1321,6 +1388,46 @@
|
|
|
1321
1388
|
]
|
|
1322
1389
|
},
|
|
1323
1390
|
"config": {
|
|
1391
|
+
"lateFeePolicy": {
|
|
1392
|
+
"type": "string",
|
|
1393
|
+
"default": "none",
|
|
1394
|
+
"label": "Late fee policy",
|
|
1395
|
+
"description": "How late fees compute when overdue: none = no fee; flat = lateFeeAmount as flat cash; percent = lateFeeAmount as % of total. v1.2 declarative; wiring requires a late-fee compute step (gap).",
|
|
1396
|
+
"tier": "customization",
|
|
1397
|
+
"values": [
|
|
1398
|
+
"none",
|
|
1399
|
+
"flat",
|
|
1400
|
+
"percent"
|
|
1401
|
+
]
|
|
1402
|
+
},
|
|
1403
|
+
"retentionYears": {
|
|
1404
|
+
"type": "number",
|
|
1405
|
+
"default": 7.0,
|
|
1406
|
+
"label": "Retention (years)",
|
|
1407
|
+
"description": "Years to keep invoice records for compliance. Default 7 matches common regimes. Wire via sibling std-lifecycle delete rule when available.",
|
|
1408
|
+
"tier": "advanced"
|
|
1409
|
+
},
|
|
1410
|
+
"currency": {
|
|
1411
|
+
"type": "string",
|
|
1412
|
+
"default": "USD",
|
|
1413
|
+
"label": "Default currency",
|
|
1414
|
+
"description": "ISO 4217 currency code (USD, EUR, GBP, …) for new invoices.",
|
|
1415
|
+
"tier": "essential"
|
|
1416
|
+
},
|
|
1417
|
+
"complianceJurisdiction": {
|
|
1418
|
+
"type": "string",
|
|
1419
|
+
"default": "",
|
|
1420
|
+
"label": "Compliance jurisdiction",
|
|
1421
|
+
"description": "Drives tax + retention rules per locale: 'US-CA', 'EU-DE', 'UK', etc. v1.2 declarative.",
|
|
1422
|
+
"tier": "advanced"
|
|
1423
|
+
},
|
|
1424
|
+
"lateFeeAmount": {
|
|
1425
|
+
"type": "number",
|
|
1426
|
+
"default": 0.0,
|
|
1427
|
+
"label": "Late fee amount",
|
|
1428
|
+
"description": "Flat cash amount or percentage (per lateFeePolicy).",
|
|
1429
|
+
"tier": "customization"
|
|
1430
|
+
},
|
|
1324
1431
|
"refundTiersJson": {
|
|
1325
1432
|
"type": "string",
|
|
1326
1433
|
"default": "[]",
|
|
@@ -1328,58 +1435,6 @@
|
|
|
1328
1435
|
"description": "JSON list of refund options (e.g. 50% / 100%) shown on the detail view",
|
|
1329
1436
|
"tier": "customization"
|
|
1330
1437
|
},
|
|
1331
|
-
"title": {
|
|
1332
|
-
"type": "string",
|
|
1333
|
-
"default": "Invoices",
|
|
1334
|
-
"label": "Section title",
|
|
1335
|
-
"description": "Heading shown above the invoice list",
|
|
1336
|
-
"tier": "customization"
|
|
1337
|
-
},
|
|
1338
|
-
"itemActions": {
|
|
1339
|
-
"type": "[ItemAction]",
|
|
1340
|
-
"default": [
|
|
1341
|
-
{
|
|
1342
|
-
"event": "OPEN_INVOICE",
|
|
1343
|
-
"label": "Open",
|
|
1344
|
-
"variant": "primary",
|
|
1345
|
-
"icon": "arrow-right"
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
"event": "VOID",
|
|
1349
|
-
"label": "Void",
|
|
1350
|
-
"icon": "x",
|
|
1351
|
-
"variant": "danger"
|
|
1352
|
-
}
|
|
1353
|
-
],
|
|
1354
|
-
"label": "Row actions",
|
|
1355
|
-
"description": "Buttons users can click on each invoice row",
|
|
1356
|
-
"tier": "customization",
|
|
1357
|
-
"items": {
|
|
1358
|
-
"type": "object",
|
|
1359
|
-
"properties": {
|
|
1360
|
-
"label": {
|
|
1361
|
-
"name": "label",
|
|
1362
|
-
"type": "string",
|
|
1363
|
-
"required": true
|
|
1364
|
-
},
|
|
1365
|
-
"variant": {
|
|
1366
|
-
"name": "variant",
|
|
1367
|
-
"type": "string",
|
|
1368
|
-
"required": false
|
|
1369
|
-
},
|
|
1370
|
-
"icon": {
|
|
1371
|
-
"name": "icon",
|
|
1372
|
-
"type": "string",
|
|
1373
|
-
"required": false
|
|
1374
|
-
},
|
|
1375
|
-
"event": {
|
|
1376
|
-
"name": "event",
|
|
1377
|
-
"type": "string",
|
|
1378
|
-
"required": true
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
},
|
|
1383
1438
|
"fields": {
|
|
1384
1439
|
"type": "[FieldSpec]",
|
|
1385
1440
|
"default": [
|
|
@@ -1389,9 +1444,9 @@
|
|
|
1389
1444
|
"label": "Invoice #"
|
|
1390
1445
|
},
|
|
1391
1446
|
{
|
|
1447
|
+
"variant": "caption",
|
|
1392
1448
|
"name": "customerId",
|
|
1393
|
-
"label": "Customer"
|
|
1394
|
-
"variant": "caption"
|
|
1449
|
+
"label": "Customer"
|
|
1395
1450
|
},
|
|
1396
1451
|
{
|
|
1397
1452
|
"label": "Status",
|
|
@@ -1399,19 +1454,19 @@
|
|
|
1399
1454
|
"variant": "badge"
|
|
1400
1455
|
},
|
|
1401
1456
|
{
|
|
1402
|
-
"variant": "caption",
|
|
1403
1457
|
"label": "Total",
|
|
1458
|
+
"variant": "caption",
|
|
1404
1459
|
"name": "total"
|
|
1405
1460
|
},
|
|
1406
1461
|
{
|
|
1462
|
+
"variant": "badge",
|
|
1407
1463
|
"label": "Currency",
|
|
1408
|
-
"name": "currency"
|
|
1409
|
-
"variant": "badge"
|
|
1464
|
+
"name": "currency"
|
|
1410
1465
|
},
|
|
1411
1466
|
{
|
|
1412
|
-
"
|
|
1467
|
+
"label": "Due",
|
|
1413
1468
|
"variant": "caption",
|
|
1414
|
-
"
|
|
1469
|
+
"name": "dueAt"
|
|
1415
1470
|
}
|
|
1416
1471
|
],
|
|
1417
1472
|
"label": "Columns to show",
|
|
@@ -1420,18 +1475,23 @@
|
|
|
1420
1475
|
"items": {
|
|
1421
1476
|
"type": "object",
|
|
1422
1477
|
"properties": {
|
|
1423
|
-
"
|
|
1424
|
-
"name": "
|
|
1478
|
+
"variant": {
|
|
1479
|
+
"name": "variant",
|
|
1425
1480
|
"type": "string",
|
|
1426
1481
|
"required": false
|
|
1427
1482
|
},
|
|
1428
|
-
"
|
|
1429
|
-
"name": "
|
|
1483
|
+
"name": {
|
|
1484
|
+
"name": "name",
|
|
1485
|
+
"type": "string",
|
|
1486
|
+
"required": true
|
|
1487
|
+
},
|
|
1488
|
+
"label": {
|
|
1489
|
+
"name": "label",
|
|
1430
1490
|
"type": "string",
|
|
1431
1491
|
"required": false
|
|
1432
1492
|
},
|
|
1433
|
-
"
|
|
1434
|
-
"name": "
|
|
1493
|
+
"key": {
|
|
1494
|
+
"name": "key",
|
|
1435
1495
|
"type": "string",
|
|
1436
1496
|
"required": false
|
|
1437
1497
|
},
|
|
@@ -1440,13 +1500,62 @@
|
|
|
1440
1500
|
"type": "string",
|
|
1441
1501
|
"required": false
|
|
1442
1502
|
},
|
|
1443
|
-
"
|
|
1444
|
-
"name": "
|
|
1503
|
+
"header": {
|
|
1504
|
+
"name": "header",
|
|
1505
|
+
"type": "string",
|
|
1506
|
+
"required": false
|
|
1507
|
+
},
|
|
1508
|
+
"icon": {
|
|
1509
|
+
"name": "icon",
|
|
1510
|
+
"type": "string",
|
|
1511
|
+
"required": false
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
"gracePeriodDays": {
|
|
1517
|
+
"type": "number",
|
|
1518
|
+
"default": 30.0,
|
|
1519
|
+
"label": "Grace period (days)",
|
|
1520
|
+
"description": "Days after dueAt before an invoice is treated as overdue. Wire via sibling std-lifecycle rule { fromStatus: 'sent', toStatus: 'overdue', condition: { kind: 'ageDays', value: gracePeriodDays, dateField: 'dueAt' } }.",
|
|
1521
|
+
"tier": "customization"
|
|
1522
|
+
},
|
|
1523
|
+
"title": {
|
|
1524
|
+
"type": "string",
|
|
1525
|
+
"default": "Invoices",
|
|
1526
|
+
"label": "Section title",
|
|
1527
|
+
"description": "Heading shown above the invoice list",
|
|
1528
|
+
"tier": "customization"
|
|
1529
|
+
},
|
|
1530
|
+
"itemActions": {
|
|
1531
|
+
"type": "[ItemAction]",
|
|
1532
|
+
"default": [
|
|
1533
|
+
{
|
|
1534
|
+
"variant": "primary",
|
|
1535
|
+
"icon": "arrow-right",
|
|
1536
|
+
"label": "Open",
|
|
1537
|
+
"event": "OPEN_INVOICE"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"icon": "x",
|
|
1541
|
+
"label": "Void",
|
|
1542
|
+
"event": "VOID",
|
|
1543
|
+
"variant": "danger"
|
|
1544
|
+
}
|
|
1545
|
+
],
|
|
1546
|
+
"label": "Row actions",
|
|
1547
|
+
"description": "Buttons users can click on each invoice row",
|
|
1548
|
+
"tier": "customization",
|
|
1549
|
+
"items": {
|
|
1550
|
+
"type": "object",
|
|
1551
|
+
"properties": {
|
|
1552
|
+
"event": {
|
|
1553
|
+
"name": "event",
|
|
1445
1554
|
"type": "string",
|
|
1446
1555
|
"required": true
|
|
1447
1556
|
},
|
|
1448
|
-
"
|
|
1449
|
-
"name": "
|
|
1557
|
+
"variant": {
|
|
1558
|
+
"name": "variant",
|
|
1450
1559
|
"type": "string",
|
|
1451
1560
|
"required": false
|
|
1452
1561
|
},
|
|
@@ -1454,9 +1563,38 @@
|
|
|
1454
1563
|
"name": "icon",
|
|
1455
1564
|
"type": "string",
|
|
1456
1565
|
"required": false
|
|
1566
|
+
},
|
|
1567
|
+
"label": {
|
|
1568
|
+
"name": "label",
|
|
1569
|
+
"type": "string",
|
|
1570
|
+
"required": true
|
|
1457
1571
|
}
|
|
1458
1572
|
}
|
|
1459
1573
|
}
|
|
1574
|
+
},
|
|
1575
|
+
"roundingMode": {
|
|
1576
|
+
"type": "string",
|
|
1577
|
+
"default": "half-up",
|
|
1578
|
+
"label": "Rounding mode",
|
|
1579
|
+
"description": "Sub-cent rounding behavior for line items and totals.",
|
|
1580
|
+
"tier": "advanced",
|
|
1581
|
+
"values": [
|
|
1582
|
+
"bankers",
|
|
1583
|
+
"half-up",
|
|
1584
|
+
"down"
|
|
1585
|
+
]
|
|
1586
|
+
},
|
|
1587
|
+
"taxStrategy": {
|
|
1588
|
+
"type": "string",
|
|
1589
|
+
"default": "exclusive",
|
|
1590
|
+
"label": "Tax strategy",
|
|
1591
|
+
"description": "inclusive = tax baked into the line item totals; exclusive = tax added on top; none = no tax.",
|
|
1592
|
+
"tier": "customization",
|
|
1593
|
+
"values": [
|
|
1594
|
+
"inclusive",
|
|
1595
|
+
"exclusive",
|
|
1596
|
+
"none"
|
|
1597
|
+
]
|
|
1460
1598
|
}
|
|
1461
1599
|
},
|
|
1462
1600
|
"scope": "collection"
|
|
@@ -1475,4 +1613,4 @@
|
|
|
1475
1613
|
]
|
|
1476
1614
|
}
|
|
1477
1615
|
]
|
|
1478
|
-
}
|
|
1616
|
+
}
|