@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-timesheet",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "std-timesheet — weekly timesheet primitive
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "std-timesheet — weekly timesheet primitive. Listens for SET_STATUS so std-lifecycle can auto-close periods. Exposes HR knobs (backgroundCheckRequired, anonymizeOnRejection, …).",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "TimesheetOrbital",
|
|
@@ -535,6 +535,22 @@
|
|
|
535
535
|
}
|
|
536
536
|
]
|
|
537
537
|
},
|
|
538
|
+
{
|
|
539
|
+
"key": "SET_STATUS",
|
|
540
|
+
"name": "Set Status",
|
|
541
|
+
"payloadSchema": [
|
|
542
|
+
{
|
|
543
|
+
"name": "entityId",
|
|
544
|
+
"type": "string",
|
|
545
|
+
"required": true
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "newStatus",
|
|
549
|
+
"type": "string",
|
|
550
|
+
"required": true
|
|
551
|
+
}
|
|
552
|
+
]
|
|
553
|
+
},
|
|
538
554
|
{
|
|
539
555
|
"key": "CLOSE_VIEW",
|
|
540
556
|
"name": "Close View"
|
|
@@ -620,22 +636,22 @@
|
|
|
620
636
|
"render-ui",
|
|
621
637
|
"main",
|
|
622
638
|
{
|
|
623
|
-
"
|
|
639
|
+
"gap": "md",
|
|
624
640
|
"className": "py-12",
|
|
641
|
+
"type": "stack",
|
|
642
|
+
"align": "center",
|
|
625
643
|
"children": [
|
|
626
644
|
{
|
|
627
645
|
"type": "spinner"
|
|
628
646
|
},
|
|
629
647
|
{
|
|
630
|
-
"type": "typography",
|
|
631
648
|
"content": "Loading timesheets…",
|
|
649
|
+
"type": "typography",
|
|
632
650
|
"color": "muted",
|
|
633
651
|
"variant": "caption"
|
|
634
652
|
}
|
|
635
653
|
],
|
|
636
|
-
"
|
|
637
|
-
"align": "center",
|
|
638
|
-
"gap": "md"
|
|
654
|
+
"direction": "vertical"
|
|
639
655
|
}
|
|
640
656
|
]
|
|
641
657
|
]
|
|
@@ -651,12 +667,8 @@
|
|
|
651
667
|
{
|
|
652
668
|
"type": "stack",
|
|
653
669
|
"gap": "md",
|
|
654
|
-
"direction": "vertical",
|
|
655
670
|
"children": [
|
|
656
671
|
{
|
|
657
|
-
"gap": "sm",
|
|
658
|
-
"type": "stack",
|
|
659
|
-
"align": "center",
|
|
660
672
|
"children": [
|
|
661
673
|
{
|
|
662
674
|
"name": "clock",
|
|
@@ -664,13 +676,18 @@
|
|
|
664
676
|
},
|
|
665
677
|
{
|
|
666
678
|
"variant": "h3",
|
|
667
|
-
"
|
|
668
|
-
"
|
|
679
|
+
"content": "@config.title",
|
|
680
|
+
"type": "typography"
|
|
669
681
|
}
|
|
670
682
|
],
|
|
671
|
-
"
|
|
683
|
+
"gap": "sm",
|
|
684
|
+
"type": "stack",
|
|
685
|
+
"direction": "horizontal",
|
|
686
|
+
"align": "center"
|
|
672
687
|
},
|
|
673
688
|
{
|
|
689
|
+
"type": "simple-grid",
|
|
690
|
+
"cols": 4.0,
|
|
674
691
|
"children": [
|
|
675
692
|
{
|
|
676
693
|
"label": "Total timesheets",
|
|
@@ -679,39 +696,38 @@
|
|
|
679
696
|
"value": "@payload.data.length"
|
|
680
697
|
},
|
|
681
698
|
{
|
|
682
|
-
"value": "14",
|
|
683
699
|
"label": "Pending approval",
|
|
684
700
|
"type": "stat-display",
|
|
701
|
+
"value": "14",
|
|
685
702
|
"icon": "hourglass"
|
|
686
703
|
},
|
|
687
704
|
{
|
|
688
|
-
"
|
|
705
|
+
"label": "Billable hours wk",
|
|
689
706
|
"icon": "dollar-sign",
|
|
690
|
-
"
|
|
691
|
-
"
|
|
707
|
+
"type": "stat-display",
|
|
708
|
+
"value": "1,240"
|
|
692
709
|
},
|
|
693
710
|
{
|
|
694
|
-
"icon": "check-circle",
|
|
695
|
-
"label": "Approved this wk",
|
|
696
711
|
"value": "38",
|
|
697
|
-
"type": "stat-display"
|
|
712
|
+
"type": "stat-display",
|
|
713
|
+
"label": "Approved this wk",
|
|
714
|
+
"icon": "check-circle"
|
|
698
715
|
}
|
|
699
|
-
]
|
|
700
|
-
"cols": 4.0,
|
|
701
|
-
"type": "simple-grid"
|
|
716
|
+
]
|
|
702
717
|
},
|
|
703
718
|
{
|
|
704
719
|
"type": "divider"
|
|
705
720
|
},
|
|
706
721
|
{
|
|
707
|
-
"type": "data-grid",
|
|
708
|
-
"gap": "sm",
|
|
709
|
-
"cols": 1.0,
|
|
710
722
|
"itemActions": "@config.itemActions",
|
|
711
723
|
"fields": "@config.fields",
|
|
712
|
-
"
|
|
724
|
+
"type": "data-grid",
|
|
725
|
+
"entity": "@payload.data",
|
|
726
|
+
"cols": 1.0,
|
|
727
|
+
"gap": "sm"
|
|
713
728
|
}
|
|
714
|
-
]
|
|
729
|
+
],
|
|
730
|
+
"direction": "vertical"
|
|
715
731
|
}
|
|
716
732
|
]
|
|
717
733
|
]
|
|
@@ -725,9 +741,9 @@
|
|
|
725
741
|
"render-ui",
|
|
726
742
|
"main",
|
|
727
743
|
{
|
|
728
|
-
"message": "@payload.error",
|
|
729
744
|
"type": "alert",
|
|
730
|
-
"variant": "error"
|
|
745
|
+
"variant": "error",
|
|
746
|
+
"message": "@payload.error"
|
|
731
747
|
}
|
|
732
748
|
]
|
|
733
749
|
]
|
|
@@ -801,14 +817,10 @@
|
|
|
801
817
|
"render-ui",
|
|
802
818
|
"main",
|
|
803
819
|
{
|
|
804
|
-
"type": "stack",
|
|
805
820
|
"direction": "vertical",
|
|
821
|
+
"gap": "md",
|
|
806
822
|
"children": [
|
|
807
823
|
{
|
|
808
|
-
"direction": "horizontal",
|
|
809
|
-
"type": "stack",
|
|
810
|
-
"gap": "sm",
|
|
811
|
-
"align": "center",
|
|
812
824
|
"children": [
|
|
813
825
|
{
|
|
814
826
|
"type": "button",
|
|
@@ -817,158 +829,162 @@
|
|
|
817
829
|
"label": "Back"
|
|
818
830
|
},
|
|
819
831
|
{
|
|
820
|
-
"
|
|
821
|
-
"
|
|
832
|
+
"type": "icon",
|
|
833
|
+
"name": "clock"
|
|
822
834
|
},
|
|
823
835
|
{
|
|
824
836
|
"type": "typography",
|
|
825
|
-
"
|
|
826
|
-
"
|
|
837
|
+
"content": "@entity.employeeName",
|
|
838
|
+
"variant": "h3"
|
|
827
839
|
},
|
|
828
840
|
{
|
|
829
841
|
"variant": "primary",
|
|
830
|
-
"
|
|
831
|
-
"
|
|
842
|
+
"label": "@entity.status",
|
|
843
|
+
"type": "badge"
|
|
832
844
|
}
|
|
833
|
-
]
|
|
845
|
+
],
|
|
846
|
+
"type": "stack",
|
|
847
|
+
"align": "center",
|
|
848
|
+
"direction": "horizontal",
|
|
849
|
+
"gap": "sm"
|
|
834
850
|
},
|
|
835
851
|
{
|
|
836
852
|
"type": "divider"
|
|
837
853
|
},
|
|
838
854
|
{
|
|
855
|
+
"type": "stack",
|
|
839
856
|
"direction": "vertical",
|
|
857
|
+
"gap": "sm",
|
|
840
858
|
"children": [
|
|
841
859
|
{
|
|
842
|
-
"direction": "horizontal",
|
|
843
|
-
"type": "stack",
|
|
844
|
-
"gap": "md",
|
|
845
860
|
"children": [
|
|
846
861
|
{
|
|
847
|
-
"variant": "caption",
|
|
848
862
|
"color": "muted",
|
|
849
863
|
"content": "Employee ID",
|
|
850
|
-
"type": "typography"
|
|
864
|
+
"type": "typography",
|
|
865
|
+
"variant": "caption"
|
|
851
866
|
},
|
|
852
867
|
{
|
|
853
|
-
"type": "typography",
|
|
854
868
|
"variant": "body",
|
|
855
|
-
"content": "@entity.employeeId"
|
|
869
|
+
"content": "@entity.employeeId",
|
|
870
|
+
"type": "typography"
|
|
856
871
|
}
|
|
857
|
-
]
|
|
872
|
+
],
|
|
873
|
+
"gap": "md",
|
|
874
|
+
"direction": "horizontal",
|
|
875
|
+
"type": "stack"
|
|
858
876
|
},
|
|
859
877
|
{
|
|
860
|
-
"direction": "horizontal",
|
|
861
878
|
"gap": "md",
|
|
879
|
+
"direction": "horizontal",
|
|
862
880
|
"children": [
|
|
863
881
|
{
|
|
864
882
|
"variant": "caption",
|
|
865
883
|
"content": "Approved by",
|
|
866
|
-
"
|
|
867
|
-
"
|
|
884
|
+
"color": "muted",
|
|
885
|
+
"type": "typography"
|
|
868
886
|
},
|
|
869
887
|
{
|
|
870
|
-
"
|
|
888
|
+
"content": "@entity.approvedBy",
|
|
871
889
|
"type": "typography",
|
|
872
|
-
"
|
|
890
|
+
"variant": "body"
|
|
873
891
|
}
|
|
874
892
|
],
|
|
875
893
|
"type": "stack"
|
|
876
894
|
},
|
|
877
895
|
{
|
|
878
|
-
"direction": "horizontal",
|
|
879
896
|
"gap": "md",
|
|
880
897
|
"children": [
|
|
881
898
|
{
|
|
882
|
-
"
|
|
883
|
-
"type": "typography",
|
|
899
|
+
"variant": "caption",
|
|
884
900
|
"color": "muted",
|
|
885
|
-
"
|
|
901
|
+
"type": "typography",
|
|
902
|
+
"content": "Notes"
|
|
886
903
|
},
|
|
887
904
|
{
|
|
888
|
-
"variant": "body",
|
|
889
905
|
"type": "typography",
|
|
906
|
+
"variant": "body",
|
|
890
907
|
"content": "@entity.notes"
|
|
891
908
|
}
|
|
892
909
|
],
|
|
893
|
-
"type": "stack"
|
|
910
|
+
"type": "stack",
|
|
911
|
+
"direction": "horizontal"
|
|
894
912
|
}
|
|
895
|
-
]
|
|
896
|
-
"gap": "sm",
|
|
897
|
-
"type": "stack"
|
|
913
|
+
]
|
|
898
914
|
},
|
|
899
915
|
{
|
|
900
916
|
"type": "divider"
|
|
901
917
|
},
|
|
902
918
|
{
|
|
919
|
+
"type": "simple-grid",
|
|
903
920
|
"cols": 4.0,
|
|
904
921
|
"children": [
|
|
905
922
|
{
|
|
906
923
|
"type": "stat-display",
|
|
907
|
-
"label": "Total hours",
|
|
908
924
|
"icon": "clock",
|
|
909
|
-
"value": "@entity.totalHours"
|
|
925
|
+
"value": "@entity.totalHours",
|
|
926
|
+
"label": "Total hours"
|
|
910
927
|
},
|
|
911
928
|
{
|
|
912
|
-
"label": "Billable",
|
|
913
929
|
"value": "@entity.billableHours",
|
|
914
|
-
"
|
|
915
|
-
"
|
|
930
|
+
"icon": "dollar-sign",
|
|
931
|
+
"label": "Billable",
|
|
932
|
+
"type": "stat-display"
|
|
916
933
|
},
|
|
917
934
|
{
|
|
935
|
+
"icon": "calendar",
|
|
918
936
|
"type": "stat-display",
|
|
919
937
|
"value": "@entity.periodStart",
|
|
920
|
-
"icon": "calendar",
|
|
921
938
|
"label": "Period start"
|
|
922
939
|
},
|
|
923
940
|
{
|
|
924
941
|
"label": "Period end",
|
|
925
|
-
"type": "stat-display",
|
|
926
942
|
"value": "@entity.periodEnd",
|
|
927
|
-
"icon": "calendar-check"
|
|
943
|
+
"icon": "calendar-check",
|
|
944
|
+
"type": "stat-display"
|
|
928
945
|
}
|
|
929
|
-
]
|
|
930
|
-
"type": "simple-grid"
|
|
946
|
+
]
|
|
931
947
|
},
|
|
932
948
|
{
|
|
949
|
+
"align": "center",
|
|
933
950
|
"type": "stack",
|
|
934
951
|
"direction": "horizontal",
|
|
935
|
-
"align": "center",
|
|
936
952
|
"gap": "sm",
|
|
937
953
|
"children": [
|
|
938
954
|
{
|
|
939
|
-
"variant": "primary",
|
|
940
955
|
"type": "button",
|
|
941
|
-
"action": "SUBMIT",
|
|
942
956
|
"label": "Submit",
|
|
957
|
+
"action": "SUBMIT",
|
|
958
|
+
"variant": "primary",
|
|
943
959
|
"actionPayload": {
|
|
944
960
|
"id": "@entity.id",
|
|
945
961
|
"row": "@entity"
|
|
946
962
|
}
|
|
947
963
|
},
|
|
948
964
|
{
|
|
965
|
+
"label": "Approve",
|
|
966
|
+
"action": "APPROVE",
|
|
967
|
+
"type": "button",
|
|
949
968
|
"actionPayload": {
|
|
950
|
-
"
|
|
951
|
-
"
|
|
969
|
+
"row": "@entity",
|
|
970
|
+
"id": "@entity.id"
|
|
952
971
|
},
|
|
953
|
-
"variant": "primary"
|
|
954
|
-
"type": "button",
|
|
955
|
-
"label": "Approve",
|
|
956
|
-
"action": "APPROVE"
|
|
972
|
+
"variant": "primary"
|
|
957
973
|
},
|
|
958
974
|
{
|
|
975
|
+
"type": "button",
|
|
959
976
|
"action": "REJECT",
|
|
960
|
-
"variant": "danger",
|
|
961
977
|
"actionPayload": {
|
|
962
978
|
"id": "@entity.id",
|
|
963
979
|
"row": "@entity"
|
|
964
980
|
},
|
|
965
|
-
"
|
|
966
|
-
"
|
|
981
|
+
"variant": "danger",
|
|
982
|
+
"label": "Reject"
|
|
967
983
|
},
|
|
968
984
|
{
|
|
969
|
-
"type": "button",
|
|
970
|
-
"variant": "secondary",
|
|
971
985
|
"label": "Revise",
|
|
986
|
+
"variant": "secondary",
|
|
987
|
+
"type": "button",
|
|
972
988
|
"action": "REQUEST_REVISION",
|
|
973
989
|
"actionPayload": {
|
|
974
990
|
"id": "@entity.id",
|
|
@@ -976,18 +992,18 @@
|
|
|
976
992
|
}
|
|
977
993
|
},
|
|
978
994
|
{
|
|
979
|
-
"actionPayload": {
|
|
980
|
-
"id": "@entity.id"
|
|
981
|
-
},
|
|
982
995
|
"variant": "danger",
|
|
983
|
-
"
|
|
996
|
+
"label": "Delete",
|
|
984
997
|
"type": "button",
|
|
985
|
-
"
|
|
998
|
+
"action": "REQUEST_DELETE",
|
|
999
|
+
"actionPayload": {
|
|
1000
|
+
"id": "@entity.id"
|
|
1001
|
+
}
|
|
986
1002
|
}
|
|
987
1003
|
]
|
|
988
1004
|
}
|
|
989
1005
|
],
|
|
990
|
-
"
|
|
1006
|
+
"type": "stack"
|
|
991
1007
|
}
|
|
992
1008
|
]
|
|
993
1009
|
]
|
|
@@ -1016,21 +1032,72 @@
|
|
|
1016
1032
|
"render-ui",
|
|
1017
1033
|
"main",
|
|
1018
1034
|
{
|
|
1019
|
-
"
|
|
1020
|
-
"direction": "vertical",
|
|
1035
|
+
"type": "stack",
|
|
1021
1036
|
"align": "center",
|
|
1022
1037
|
"className": "py-12",
|
|
1038
|
+
"children": [
|
|
1039
|
+
{
|
|
1040
|
+
"type": "spinner"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"variant": "caption",
|
|
1044
|
+
"type": "typography",
|
|
1045
|
+
"content": "Deleting timesheet…",
|
|
1046
|
+
"color": "muted"
|
|
1047
|
+
}
|
|
1048
|
+
],
|
|
1049
|
+
"direction": "vertical",
|
|
1050
|
+
"gap": "md"
|
|
1051
|
+
}
|
|
1052
|
+
]
|
|
1053
|
+
]
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"from": "browsing",
|
|
1057
|
+
"to": "loading",
|
|
1058
|
+
"event": "SET_STATUS",
|
|
1059
|
+
"effects": [
|
|
1060
|
+
[
|
|
1061
|
+
"set",
|
|
1062
|
+
"@entity.id",
|
|
1063
|
+
"@payload.entityId"
|
|
1064
|
+
],
|
|
1065
|
+
[
|
|
1066
|
+
"set",
|
|
1067
|
+
"@entity.status",
|
|
1068
|
+
"@payload.newStatus"
|
|
1069
|
+
],
|
|
1070
|
+
[
|
|
1071
|
+
"persist",
|
|
1072
|
+
"update",
|
|
1073
|
+
"Timesheet",
|
|
1074
|
+
"@entity",
|
|
1075
|
+
{
|
|
1076
|
+
"emit": {
|
|
1077
|
+
"failure": "TimesheetLoadFailed",
|
|
1078
|
+
"success": "TimesheetLoaded"
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
],
|
|
1082
|
+
[
|
|
1083
|
+
"render-ui",
|
|
1084
|
+
"main",
|
|
1085
|
+
{
|
|
1086
|
+
"gap": "md",
|
|
1023
1087
|
"children": [
|
|
1024
1088
|
{
|
|
1025
1089
|
"type": "spinner"
|
|
1026
1090
|
},
|
|
1027
1091
|
{
|
|
1028
1092
|
"type": "typography",
|
|
1029
|
-
"color": "muted",
|
|
1030
1093
|
"variant": "caption",
|
|
1031
|
-
"content": "
|
|
1094
|
+
"content": "Updating timesheet status…",
|
|
1095
|
+
"color": "muted"
|
|
1032
1096
|
}
|
|
1033
1097
|
],
|
|
1098
|
+
"align": "center",
|
|
1099
|
+
"className": "py-12",
|
|
1100
|
+
"direction": "vertical",
|
|
1034
1101
|
"type": "stack"
|
|
1035
1102
|
}
|
|
1036
1103
|
]
|
|
@@ -1046,8 +1113,8 @@
|
|
|
1046
1113
|
"Timesheet",
|
|
1047
1114
|
{
|
|
1048
1115
|
"emit": {
|
|
1049
|
-
"
|
|
1050
|
-
"
|
|
1116
|
+
"failure": "TimesheetLoadFailed",
|
|
1117
|
+
"success": "TimesheetLoaded"
|
|
1051
1118
|
}
|
|
1052
1119
|
}
|
|
1053
1120
|
],
|
|
@@ -1055,22 +1122,22 @@
|
|
|
1055
1122
|
"render-ui",
|
|
1056
1123
|
"main",
|
|
1057
1124
|
{
|
|
1058
|
-
"type": "stack",
|
|
1059
1125
|
"direction": "vertical",
|
|
1060
|
-
"gap": "md",
|
|
1061
1126
|
"align": "center",
|
|
1062
|
-
"
|
|
1127
|
+
"type": "stack",
|
|
1063
1128
|
"children": [
|
|
1064
1129
|
{
|
|
1065
1130
|
"type": "spinner"
|
|
1066
1131
|
},
|
|
1067
1132
|
{
|
|
1068
|
-
"
|
|
1133
|
+
"variant": "caption",
|
|
1069
1134
|
"content": "Loading timesheets…",
|
|
1070
|
-
"
|
|
1071
|
-
"
|
|
1135
|
+
"color": "muted",
|
|
1136
|
+
"type": "typography"
|
|
1072
1137
|
}
|
|
1073
|
-
]
|
|
1138
|
+
],
|
|
1139
|
+
"className": "py-12",
|
|
1140
|
+
"gap": "md"
|
|
1074
1141
|
}
|
|
1075
1142
|
]
|
|
1076
1143
|
]
|
|
@@ -1100,19 +1167,19 @@
|
|
|
1100
1167
|
"main",
|
|
1101
1168
|
{
|
|
1102
1169
|
"type": "stack",
|
|
1170
|
+
"gap": "md",
|
|
1171
|
+
"direction": "vertical",
|
|
1103
1172
|
"align": "center",
|
|
1104
1173
|
"className": "py-12",
|
|
1105
|
-
"direction": "vertical",
|
|
1106
|
-
"gap": "md",
|
|
1107
1174
|
"children": [
|
|
1108
1175
|
{
|
|
1109
1176
|
"type": "spinner"
|
|
1110
1177
|
},
|
|
1111
1178
|
{
|
|
1112
|
-
"variant": "caption",
|
|
1113
1179
|
"color": "muted",
|
|
1114
1180
|
"content": "Submitting timesheet…",
|
|
1115
|
-
"type": "typography"
|
|
1181
|
+
"type": "typography",
|
|
1182
|
+
"variant": "caption"
|
|
1116
1183
|
}
|
|
1117
1184
|
]
|
|
1118
1185
|
}
|
|
@@ -1134,8 +1201,8 @@
|
|
|
1134
1201
|
"Timesheet",
|
|
1135
1202
|
{
|
|
1136
1203
|
"emit": {
|
|
1137
|
-
"
|
|
1138
|
-
"
|
|
1204
|
+
"failure": "TimesheetLoadFailed",
|
|
1205
|
+
"success": "TimesheetLoaded"
|
|
1139
1206
|
}
|
|
1140
1207
|
}
|
|
1141
1208
|
],
|
|
@@ -1143,22 +1210,22 @@
|
|
|
1143
1210
|
"render-ui",
|
|
1144
1211
|
"main",
|
|
1145
1212
|
{
|
|
1146
|
-
"type": "stack",
|
|
1147
|
-
"gap": "md",
|
|
1148
|
-
"className": "py-12",
|
|
1149
|
-
"direction": "vertical",
|
|
1150
|
-
"align": "center",
|
|
1151
1213
|
"children": [
|
|
1152
1214
|
{
|
|
1153
1215
|
"type": "spinner"
|
|
1154
1216
|
},
|
|
1155
1217
|
{
|
|
1218
|
+
"content": "Approving timesheet…",
|
|
1156
1219
|
"color": "muted",
|
|
1157
1220
|
"type": "typography",
|
|
1158
|
-
"variant": "caption"
|
|
1159
|
-
"content": "Approving timesheet…"
|
|
1221
|
+
"variant": "caption"
|
|
1160
1222
|
}
|
|
1161
|
-
]
|
|
1223
|
+
],
|
|
1224
|
+
"direction": "vertical",
|
|
1225
|
+
"type": "stack",
|
|
1226
|
+
"align": "center",
|
|
1227
|
+
"className": "py-12",
|
|
1228
|
+
"gap": "md"
|
|
1162
1229
|
}
|
|
1163
1230
|
]
|
|
1164
1231
|
]
|
|
@@ -1178,8 +1245,8 @@
|
|
|
1178
1245
|
"Timesheet",
|
|
1179
1246
|
{
|
|
1180
1247
|
"emit": {
|
|
1181
|
-
"
|
|
1182
|
-
"
|
|
1248
|
+
"failure": "TimesheetLoadFailed",
|
|
1249
|
+
"success": "TimesheetLoaded"
|
|
1183
1250
|
}
|
|
1184
1251
|
}
|
|
1185
1252
|
],
|
|
@@ -1187,21 +1254,21 @@
|
|
|
1187
1254
|
"render-ui",
|
|
1188
1255
|
"main",
|
|
1189
1256
|
{
|
|
1257
|
+
"direction": "vertical",
|
|
1258
|
+
"className": "py-12",
|
|
1259
|
+
"gap": "md",
|
|
1260
|
+
"align": "center",
|
|
1190
1261
|
"children": [
|
|
1191
1262
|
{
|
|
1192
1263
|
"type": "spinner"
|
|
1193
1264
|
},
|
|
1194
1265
|
{
|
|
1195
|
-
"variant": "caption",
|
|
1196
1266
|
"content": "Rejecting timesheet…",
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1267
|
+
"type": "typography",
|
|
1268
|
+
"variant": "caption",
|
|
1269
|
+
"color": "muted"
|
|
1199
1270
|
}
|
|
1200
1271
|
],
|
|
1201
|
-
"gap": "md",
|
|
1202
|
-
"align": "center",
|
|
1203
|
-
"direction": "vertical",
|
|
1204
|
-
"className": "py-12",
|
|
1205
1272
|
"type": "stack"
|
|
1206
1273
|
}
|
|
1207
1274
|
]
|
|
@@ -1222,8 +1289,8 @@
|
|
|
1222
1289
|
"Timesheet",
|
|
1223
1290
|
{
|
|
1224
1291
|
"emit": {
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1292
|
+
"success": "TimesheetLoaded",
|
|
1293
|
+
"failure": "TimesheetLoadFailed"
|
|
1227
1294
|
}
|
|
1228
1295
|
}
|
|
1229
1296
|
],
|
|
@@ -1231,22 +1298,22 @@
|
|
|
1231
1298
|
"render-ui",
|
|
1232
1299
|
"main",
|
|
1233
1300
|
{
|
|
1234
|
-
"className": "py-12",
|
|
1235
1301
|
"gap": "md",
|
|
1302
|
+
"type": "stack",
|
|
1303
|
+
"direction": "vertical",
|
|
1236
1304
|
"align": "center",
|
|
1305
|
+
"className": "py-12",
|
|
1237
1306
|
"children": [
|
|
1238
1307
|
{
|
|
1239
1308
|
"type": "spinner"
|
|
1240
1309
|
},
|
|
1241
1310
|
{
|
|
1242
|
-
"color": "muted",
|
|
1243
1311
|
"content": "Requesting revision…",
|
|
1244
|
-
"
|
|
1245
|
-
"
|
|
1312
|
+
"variant": "caption",
|
|
1313
|
+
"color": "muted",
|
|
1314
|
+
"type": "typography"
|
|
1246
1315
|
}
|
|
1247
|
-
]
|
|
1248
|
-
"type": "stack",
|
|
1249
|
-
"direction": "vertical"
|
|
1316
|
+
]
|
|
1250
1317
|
}
|
|
1251
1318
|
]
|
|
1252
1319
|
]
|
|
@@ -1275,22 +1342,22 @@
|
|
|
1275
1342
|
"render-ui",
|
|
1276
1343
|
"main",
|
|
1277
1344
|
{
|
|
1278
|
-
"
|
|
1345
|
+
"type": "stack",
|
|
1279
1346
|
"align": "center",
|
|
1280
1347
|
"className": "py-12",
|
|
1281
|
-
"type": "stack",
|
|
1282
|
-
"gap": "md",
|
|
1283
1348
|
"children": [
|
|
1284
1349
|
{
|
|
1285
1350
|
"type": "spinner"
|
|
1286
1351
|
},
|
|
1287
1352
|
{
|
|
1288
|
-
"
|
|
1353
|
+
"variant": "caption",
|
|
1289
1354
|
"color": "muted",
|
|
1290
|
-
"
|
|
1291
|
-
"
|
|
1355
|
+
"content": "Deleting timesheet…",
|
|
1356
|
+
"type": "typography"
|
|
1292
1357
|
}
|
|
1293
|
-
]
|
|
1358
|
+
],
|
|
1359
|
+
"gap": "md",
|
|
1360
|
+
"direction": "vertical"
|
|
1294
1361
|
}
|
|
1295
1362
|
]
|
|
1296
1363
|
]
|
|
@@ -1323,6 +1390,20 @@
|
|
|
1323
1390
|
]
|
|
1324
1391
|
},
|
|
1325
1392
|
"config": {
|
|
1393
|
+
"eVerifyRequired": {
|
|
1394
|
+
"type": "boolean",
|
|
1395
|
+
"default": false,
|
|
1396
|
+
"label": "E-Verify required",
|
|
1397
|
+
"description": "Block APPROVE until E-Verify confirms work eligibility.",
|
|
1398
|
+
"tier": "customization"
|
|
1399
|
+
},
|
|
1400
|
+
"i9DocumentsRequired": {
|
|
1401
|
+
"type": "boolean",
|
|
1402
|
+
"default": false,
|
|
1403
|
+
"label": "I-9 documents required",
|
|
1404
|
+
"description": "Require I-9 on file before timesheet APPROVE.",
|
|
1405
|
+
"tier": "customization"
|
|
1406
|
+
},
|
|
1326
1407
|
"title": {
|
|
1327
1408
|
"type": "string",
|
|
1328
1409
|
"default": "Timesheets",
|
|
@@ -1334,39 +1415,39 @@
|
|
|
1334
1415
|
"type": "[FieldSpec]",
|
|
1335
1416
|
"default": [
|
|
1336
1417
|
{
|
|
1418
|
+
"label": "Employee",
|
|
1337
1419
|
"variant": "caption",
|
|
1338
|
-
"name": "employeeName"
|
|
1339
|
-
"label": "Employee"
|
|
1420
|
+
"name": "employeeName"
|
|
1340
1421
|
},
|
|
1341
1422
|
{
|
|
1423
|
+
"name": "periodStart",
|
|
1342
1424
|
"label": "Period Start",
|
|
1343
|
-
"variant": "caption"
|
|
1344
|
-
"name": "periodStart"
|
|
1425
|
+
"variant": "caption"
|
|
1345
1426
|
},
|
|
1346
1427
|
{
|
|
1347
|
-
"
|
|
1428
|
+
"label": "Period End",
|
|
1348
1429
|
"variant": "caption",
|
|
1349
|
-
"
|
|
1430
|
+
"name": "periodEnd"
|
|
1350
1431
|
},
|
|
1351
1432
|
{
|
|
1352
|
-
"name": "totalHours",
|
|
1353
1433
|
"label": "Total Hours",
|
|
1354
|
-
"variant": "caption"
|
|
1434
|
+
"variant": "caption",
|
|
1435
|
+
"name": "totalHours"
|
|
1355
1436
|
},
|
|
1356
1437
|
{
|
|
1357
|
-
"variant": "caption",
|
|
1358
1438
|
"name": "billableHours",
|
|
1439
|
+
"variant": "caption",
|
|
1359
1440
|
"label": "Billable"
|
|
1360
1441
|
},
|
|
1361
1442
|
{
|
|
1362
|
-
"
|
|
1443
|
+
"label": "Status",
|
|
1363
1444
|
"variant": "badge",
|
|
1364
|
-
"
|
|
1445
|
+
"name": "status"
|
|
1365
1446
|
},
|
|
1366
1447
|
{
|
|
1448
|
+
"variant": "caption",
|
|
1367
1449
|
"name": "approvedBy",
|
|
1368
|
-
"label": "Approved By"
|
|
1369
|
-
"variant": "caption"
|
|
1450
|
+
"label": "Approved By"
|
|
1370
1451
|
}
|
|
1371
1452
|
],
|
|
1372
1453
|
"label": "Columns to show",
|
|
@@ -1375,8 +1456,8 @@
|
|
|
1375
1456
|
"items": {
|
|
1376
1457
|
"type": "object",
|
|
1377
1458
|
"properties": {
|
|
1378
|
-
"
|
|
1379
|
-
"name": "
|
|
1459
|
+
"format": {
|
|
1460
|
+
"name": "format",
|
|
1380
1461
|
"type": "string",
|
|
1381
1462
|
"required": false
|
|
1382
1463
|
},
|
|
@@ -1385,23 +1466,13 @@
|
|
|
1385
1466
|
"type": "string",
|
|
1386
1467
|
"required": false
|
|
1387
1468
|
},
|
|
1388
|
-
"format": {
|
|
1389
|
-
"name": "format",
|
|
1390
|
-
"type": "string",
|
|
1391
|
-
"required": false
|
|
1392
|
-
},
|
|
1393
|
-
"name": {
|
|
1394
|
-
"name": "name",
|
|
1395
|
-
"type": "string",
|
|
1396
|
-
"required": true
|
|
1397
|
-
},
|
|
1398
1469
|
"key": {
|
|
1399
1470
|
"name": "key",
|
|
1400
1471
|
"type": "string",
|
|
1401
1472
|
"required": false
|
|
1402
1473
|
},
|
|
1403
|
-
"
|
|
1404
|
-
"name": "
|
|
1474
|
+
"variant": {
|
|
1475
|
+
"name": "variant",
|
|
1405
1476
|
"type": "string",
|
|
1406
1477
|
"required": false
|
|
1407
1478
|
},
|
|
@@ -1409,18 +1480,42 @@
|
|
|
1409
1480
|
"name": "header",
|
|
1410
1481
|
"type": "string",
|
|
1411
1482
|
"required": false
|
|
1483
|
+
},
|
|
1484
|
+
"name": {
|
|
1485
|
+
"name": "name",
|
|
1486
|
+
"type": "string",
|
|
1487
|
+
"required": true
|
|
1488
|
+
},
|
|
1489
|
+
"label": {
|
|
1490
|
+
"name": "label",
|
|
1491
|
+
"type": "string",
|
|
1492
|
+
"required": false
|
|
1412
1493
|
}
|
|
1413
1494
|
}
|
|
1414
1495
|
}
|
|
1415
1496
|
},
|
|
1497
|
+
"retentionAfterRejectionDays": {
|
|
1498
|
+
"type": "number",
|
|
1499
|
+
"default": 1095.0,
|
|
1500
|
+
"label": "Retention after rejection (days)",
|
|
1501
|
+
"description": "Days to keep rejected timesheets. Default 1095 (3 years) typical wage-and-hour.",
|
|
1502
|
+
"tier": "advanced"
|
|
1503
|
+
},
|
|
1504
|
+
"backgroundCheckRequired": {
|
|
1505
|
+
"type": "boolean",
|
|
1506
|
+
"default": false,
|
|
1507
|
+
"label": "Background check required",
|
|
1508
|
+
"description": "Block SUBMIT until employee background check is on file.",
|
|
1509
|
+
"tier": "customization"
|
|
1510
|
+
},
|
|
1416
1511
|
"itemActions": {
|
|
1417
1512
|
"type": "[ItemAction]",
|
|
1418
1513
|
"default": [
|
|
1419
1514
|
{
|
|
1420
|
-
"
|
|
1515
|
+
"icon": "arrow-right",
|
|
1421
1516
|
"event": "OPEN_TIMESHEET",
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1517
|
+
"variant": "primary",
|
|
1518
|
+
"label": "Open"
|
|
1424
1519
|
},
|
|
1425
1520
|
{
|
|
1426
1521
|
"label": "Delete",
|
|
@@ -1434,16 +1529,16 @@
|
|
|
1434
1529
|
"items": {
|
|
1435
1530
|
"type": "object",
|
|
1436
1531
|
"properties": {
|
|
1437
|
-
"icon": {
|
|
1438
|
-
"name": "icon",
|
|
1439
|
-
"type": "string",
|
|
1440
|
-
"required": false
|
|
1441
|
-
},
|
|
1442
1532
|
"label": {
|
|
1443
1533
|
"name": "label",
|
|
1444
1534
|
"type": "string",
|
|
1445
1535
|
"required": true
|
|
1446
1536
|
},
|
|
1537
|
+
"icon": {
|
|
1538
|
+
"name": "icon",
|
|
1539
|
+
"type": "string",
|
|
1540
|
+
"required": false
|
|
1541
|
+
},
|
|
1447
1542
|
"variant": {
|
|
1448
1543
|
"name": "variant",
|
|
1449
1544
|
"type": "string",
|
|
@@ -1456,6 +1551,20 @@
|
|
|
1456
1551
|
}
|
|
1457
1552
|
}
|
|
1458
1553
|
}
|
|
1554
|
+
},
|
|
1555
|
+
"anonymizeOnRejection": {
|
|
1556
|
+
"type": "boolean",
|
|
1557
|
+
"default": false,
|
|
1558
|
+
"label": "Anonymize on rejection",
|
|
1559
|
+
"description": "When true, scrub employee PII on rejected timesheets. Pair with std-data-erasure.",
|
|
1560
|
+
"tier": "customization"
|
|
1561
|
+
},
|
|
1562
|
+
"equalOpportunityTrackingEnabled": {
|
|
1563
|
+
"type": "boolean",
|
|
1564
|
+
"default": false,
|
|
1565
|
+
"label": "Equal opportunity tracking",
|
|
1566
|
+
"description": "Capture demographic data separately for EEO reporting (sibling collection).",
|
|
1567
|
+
"tier": "advanced"
|
|
1459
1568
|
}
|
|
1460
1569
|
},
|
|
1461
1570
|
"scope": "collection"
|
|
@@ -1474,4 +1583,4 @@
|
|
|
1474
1583
|
]
|
|
1475
1584
|
}
|
|
1476
1585
|
]
|
|
1477
|
-
}
|
|
1586
|
+
}
|