@almadar/std 14.16.0 → 14.18.0
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-branching-logic.orb +84 -84
- package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/dist/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/dist/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors-registry.json +1 -1
- package/package.json +7 -14
|
@@ -427,20 +427,20 @@
|
|
|
427
427
|
"render-ui",
|
|
428
428
|
"main",
|
|
429
429
|
{
|
|
430
|
-
"gap": "md",
|
|
431
430
|
"type": "stack",
|
|
432
|
-
"align": "center",
|
|
433
431
|
"direction": "vertical",
|
|
432
|
+
"align": "center",
|
|
433
|
+
"gap": "md",
|
|
434
434
|
"className": "py-12",
|
|
435
435
|
"children": [
|
|
436
436
|
{
|
|
437
437
|
"type": "spinner"
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
|
-
"
|
|
441
|
-
"variant": "caption",
|
|
440
|
+
"content": "Loading payouts…",
|
|
442
441
|
"type": "typography",
|
|
443
|
-
"
|
|
442
|
+
"variant": "caption",
|
|
443
|
+
"color": "muted"
|
|
444
444
|
}
|
|
445
445
|
]
|
|
446
446
|
}
|
|
@@ -456,23 +456,22 @@
|
|
|
456
456
|
"render-ui",
|
|
457
457
|
"main",
|
|
458
458
|
{
|
|
459
|
-
"direction": "vertical",
|
|
460
459
|
"children": [
|
|
461
460
|
{
|
|
462
|
-
"type": "stack",
|
|
463
461
|
"gap": "sm",
|
|
464
|
-
"
|
|
462
|
+
"type": "stack",
|
|
465
463
|
"children": [
|
|
466
464
|
{
|
|
467
|
-
"
|
|
468
|
-
"
|
|
465
|
+
"name": "wallet",
|
|
466
|
+
"type": "icon"
|
|
469
467
|
},
|
|
470
468
|
{
|
|
471
|
-
"
|
|
469
|
+
"type": "typography",
|
|
472
470
|
"variant": "h3",
|
|
473
|
-
"
|
|
471
|
+
"content": "@config.title"
|
|
474
472
|
}
|
|
475
|
-
]
|
|
473
|
+
],
|
|
474
|
+
"direction": "horizontal"
|
|
476
475
|
},
|
|
477
476
|
{
|
|
478
477
|
"type": "divider"
|
|
@@ -480,55 +479,71 @@
|
|
|
480
479
|
{
|
|
481
480
|
"children": [
|
|
482
481
|
{
|
|
483
|
-
"
|
|
484
|
-
"format": "currency",
|
|
482
|
+
"icon": "clock",
|
|
485
483
|
"value": 0.0,
|
|
484
|
+
"label": "Pending",
|
|
486
485
|
"type": "stat-display",
|
|
487
|
-
"
|
|
488
|
-
"
|
|
486
|
+
"variant": "warning",
|
|
487
|
+
"format": "currency"
|
|
489
488
|
},
|
|
490
489
|
{
|
|
491
|
-
"
|
|
490
|
+
"label": "Paid",
|
|
491
|
+
"type": "stat-display",
|
|
492
492
|
"variant": "success",
|
|
493
493
|
"format": "currency",
|
|
494
|
-
"
|
|
495
|
-
"label": "Paid",
|
|
494
|
+
"value": 0.0,
|
|
496
495
|
"icon": "check-circle"
|
|
497
496
|
},
|
|
498
497
|
{
|
|
499
|
-
"format": "currency",
|
|
500
|
-
"variant": "info",
|
|
501
498
|
"value": "@config.minimumWithdrawal",
|
|
502
499
|
"type": "stat-display",
|
|
503
|
-
"
|
|
504
|
-
"
|
|
500
|
+
"variant": "info",
|
|
501
|
+
"format": "currency",
|
|
502
|
+
"icon": "dollar-sign",
|
|
503
|
+
"label": "Minimum Withdrawal"
|
|
505
504
|
}
|
|
506
505
|
],
|
|
507
|
-
"
|
|
508
|
-
"
|
|
506
|
+
"cols": 3.0,
|
|
507
|
+
"type": "simple-grid"
|
|
509
508
|
},
|
|
510
509
|
{
|
|
511
510
|
"cols": 1.0,
|
|
511
|
+
"gap": "sm",
|
|
512
|
+
"itemActions": [
|
|
513
|
+
{
|
|
514
|
+
"event": "REQUEST_WITHDRAW",
|
|
515
|
+
"variant": "primary",
|
|
516
|
+
"icon": "send",
|
|
517
|
+
"label": "Withdraw"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"event": "MARK_PAID",
|
|
521
|
+
"label": "Mark Paid",
|
|
522
|
+
"variant": "secondary",
|
|
523
|
+
"icon": "check"
|
|
524
|
+
}
|
|
525
|
+
],
|
|
512
526
|
"entity": "@payload.data",
|
|
527
|
+
"type": "data-grid",
|
|
513
528
|
"fields": [
|
|
514
529
|
{
|
|
515
|
-
"variant": "caption",
|
|
516
530
|
"name": "vendorId",
|
|
531
|
+
"variant": "caption",
|
|
517
532
|
"label": "Vendor"
|
|
518
533
|
},
|
|
519
534
|
{
|
|
520
|
-
"
|
|
535
|
+
"variant": "caption",
|
|
521
536
|
"label": "Amount",
|
|
522
|
-
"
|
|
537
|
+
"name": "amount"
|
|
523
538
|
},
|
|
524
539
|
{
|
|
525
540
|
"label": "Currency",
|
|
526
|
-
"
|
|
527
|
-
"
|
|
541
|
+
"variant": "badge",
|
|
542
|
+
"name": "currency"
|
|
528
543
|
},
|
|
529
544
|
{
|
|
530
|
-
"label": "Status",
|
|
531
545
|
"name": "status",
|
|
546
|
+
"label": "Status",
|
|
532
547
|
"variant": "badge"
|
|
533
548
|
},
|
|
534
549
|
{
|
|
@@ -537,31 +552,16 @@
|
|
|
537
552
|
"name": "bankAccountMasked"
|
|
538
553
|
},
|
|
539
554
|
{
|
|
540
|
-
"
|
|
555
|
+
"label": "Requested",
|
|
541
556
|
"variant": "caption",
|
|
542
|
-
"
|
|
543
|
-
}
|
|
544
|
-
],
|
|
545
|
-
"gap": "sm",
|
|
546
|
-
"type": "data-grid",
|
|
547
|
-
"itemActions": [
|
|
548
|
-
{
|
|
549
|
-
"label": "Withdraw",
|
|
550
|
-
"event": "REQUEST_WITHDRAW",
|
|
551
|
-
"variant": "primary",
|
|
552
|
-
"icon": "send"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"event": "MARK_PAID",
|
|
556
|
-
"icon": "check",
|
|
557
|
-
"variant": "secondary",
|
|
558
|
-
"label": "Mark Paid"
|
|
557
|
+
"name": "requestedAt"
|
|
559
558
|
}
|
|
560
559
|
]
|
|
561
560
|
}
|
|
562
561
|
],
|
|
563
|
-
"
|
|
564
|
-
"type": "stack"
|
|
562
|
+
"direction": "vertical",
|
|
563
|
+
"type": "stack",
|
|
564
|
+
"gap": "md"
|
|
565
565
|
}
|
|
566
566
|
]
|
|
567
567
|
]
|
|
@@ -576,8 +576,8 @@
|
|
|
576
576
|
"main",
|
|
577
577
|
{
|
|
578
578
|
"type": "alert",
|
|
579
|
-
"
|
|
580
|
-
"
|
|
579
|
+
"message": "@payload.error",
|
|
580
|
+
"variant": "error"
|
|
581
581
|
}
|
|
582
582
|
]
|
|
583
583
|
]
|
|
@@ -629,8 +629,8 @@
|
|
|
629
629
|
"@entity",
|
|
630
630
|
{
|
|
631
631
|
"emit": {
|
|
632
|
-
"
|
|
633
|
-
"
|
|
632
|
+
"success": "PayoutUpdated",
|
|
633
|
+
"failure": "PayoutWithdrawFailed"
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
],
|
|
@@ -640,8 +640,8 @@
|
|
|
640
640
|
"create",
|
|
641
641
|
{
|
|
642
642
|
"amount": "@payload.amount",
|
|
643
|
-
"
|
|
644
|
-
"
|
|
643
|
+
"vendorId": "@payload.vendorId",
|
|
644
|
+
"currency": "@entity.currency"
|
|
645
645
|
},
|
|
646
646
|
{
|
|
647
647
|
"emit": {
|
|
@@ -754,9 +754,9 @@
|
|
|
754
754
|
"render-ui",
|
|
755
755
|
"main",
|
|
756
756
|
{
|
|
757
|
-
"type": "alert",
|
|
758
757
|
"variant": "error",
|
|
759
|
-
"message": "@payload.error"
|
|
758
|
+
"message": "@payload.error",
|
|
759
|
+
"type": "alert"
|
|
760
760
|
}
|
|
761
761
|
]
|
|
762
762
|
]
|
|
@@ -788,8 +788,8 @@
|
|
|
788
788
|
"Payout",
|
|
789
789
|
{
|
|
790
790
|
"emit": {
|
|
791
|
-
"
|
|
792
|
-
"
|
|
791
|
+
"failure": "PayoutLoadFailed",
|
|
792
|
+
"success": "PayoutLoaded"
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
]
|
|
@@ -805,8 +805,8 @@
|
|
|
805
805
|
"main",
|
|
806
806
|
{
|
|
807
807
|
"variant": "error",
|
|
808
|
-
"
|
|
809
|
-
"
|
|
808
|
+
"type": "alert",
|
|
809
|
+
"message": "@payload.error"
|
|
810
810
|
}
|
|
811
811
|
]
|
|
812
812
|
]
|
|
@@ -821,8 +821,8 @@
|
|
|
821
821
|
"Payout",
|
|
822
822
|
{
|
|
823
823
|
"emit": {
|
|
824
|
-
"
|
|
825
|
-
"
|
|
824
|
+
"success": "PayoutLoaded",
|
|
825
|
+
"failure": "PayoutLoadFailed"
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
],
|
|
@@ -419,22 +419,22 @@
|
|
|
419
419
|
"render-ui",
|
|
420
420
|
"main",
|
|
421
421
|
{
|
|
422
|
-
"align": "center",
|
|
423
422
|
"className": "py-12",
|
|
423
|
+
"direction": "vertical",
|
|
424
|
+
"type": "stack",
|
|
425
|
+
"align": "center",
|
|
426
|
+
"gap": "md",
|
|
424
427
|
"children": [
|
|
425
428
|
{
|
|
426
429
|
"type": "spinner"
|
|
427
430
|
},
|
|
428
431
|
{
|
|
432
|
+
"content": "Loading questions…",
|
|
429
433
|
"type": "typography",
|
|
430
434
|
"variant": "caption",
|
|
431
|
-
"color": "muted"
|
|
432
|
-
"content": "Loading questions…"
|
|
435
|
+
"color": "muted"
|
|
433
436
|
}
|
|
434
|
-
]
|
|
435
|
-
"direction": "vertical",
|
|
436
|
-
"gap": "md",
|
|
437
|
-
"type": "stack"
|
|
437
|
+
]
|
|
438
438
|
}
|
|
439
439
|
]
|
|
440
440
|
]
|
|
@@ -449,21 +449,14 @@
|
|
|
449
449
|
"main",
|
|
450
450
|
{
|
|
451
451
|
"type": "stack",
|
|
452
|
-
"direction": "vertical",
|
|
453
|
-
"gap": "md",
|
|
454
452
|
"children": [
|
|
455
453
|
{
|
|
456
|
-
"direction": "horizontal",
|
|
457
|
-
"gap": "sm",
|
|
458
|
-
"justify": "between",
|
|
459
|
-
"type": "stack",
|
|
460
454
|
"children": [
|
|
461
455
|
{
|
|
462
|
-
"gap": "sm",
|
|
463
456
|
"children": [
|
|
464
457
|
{
|
|
465
|
-
"
|
|
466
|
-
"
|
|
458
|
+
"type": "icon",
|
|
459
|
+
"name": "list-checks"
|
|
467
460
|
},
|
|
468
461
|
{
|
|
469
462
|
"content": "@config.title",
|
|
@@ -471,43 +464,64 @@
|
|
|
471
464
|
"type": "typography"
|
|
472
465
|
}
|
|
473
466
|
],
|
|
467
|
+
"gap": "sm",
|
|
474
468
|
"direction": "horizontal",
|
|
475
469
|
"type": "stack"
|
|
476
470
|
},
|
|
477
471
|
{
|
|
478
|
-
"type": "button",
|
|
479
472
|
"label": "Add Question",
|
|
473
|
+
"action": "ADD_QUESTION",
|
|
474
|
+
"type": "button",
|
|
480
475
|
"variant": "primary",
|
|
481
|
-
"icon": "plus"
|
|
482
|
-
"action": "ADD_QUESTION"
|
|
476
|
+
"icon": "plus"
|
|
483
477
|
}
|
|
484
|
-
]
|
|
478
|
+
],
|
|
479
|
+
"direction": "horizontal",
|
|
480
|
+
"justify": "between",
|
|
481
|
+
"type": "stack",
|
|
482
|
+
"gap": "sm"
|
|
485
483
|
},
|
|
486
484
|
{
|
|
487
485
|
"type": "divider"
|
|
488
486
|
},
|
|
489
487
|
{
|
|
490
|
-
"
|
|
488
|
+
"type": "data-grid",
|
|
489
|
+
"gap": "sm",
|
|
490
|
+
"cols": 1.0,
|
|
491
|
+
"itemActions": [
|
|
492
|
+
{
|
|
493
|
+
"icon": "edit",
|
|
494
|
+
"event": "UPDATE_QUESTION",
|
|
495
|
+
"label": "Edit",
|
|
496
|
+
"variant": "ghost"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"event": "DELETE_QUESTION",
|
|
500
|
+
"label": "Delete",
|
|
501
|
+
"variant": "danger",
|
|
502
|
+
"icon": "trash"
|
|
503
|
+
}
|
|
504
|
+
],
|
|
491
505
|
"fields": [
|
|
492
506
|
{
|
|
493
|
-
"name": "label",
|
|
494
507
|
"label": "Question",
|
|
495
|
-
"variant": "h4"
|
|
508
|
+
"variant": "h4",
|
|
509
|
+
"name": "label"
|
|
496
510
|
},
|
|
497
511
|
{
|
|
512
|
+
"name": "kind",
|
|
498
513
|
"label": "Type",
|
|
499
|
-
"variant": "badge"
|
|
500
|
-
"name": "kind"
|
|
514
|
+
"variant": "badge"
|
|
501
515
|
},
|
|
502
516
|
{
|
|
503
|
-
"label": "Category",
|
|
504
517
|
"variant": "caption",
|
|
505
|
-
"name": "category"
|
|
518
|
+
"name": "category",
|
|
519
|
+
"label": "Category"
|
|
506
520
|
},
|
|
507
521
|
{
|
|
522
|
+
"name": "required",
|
|
508
523
|
"label": "Required",
|
|
509
|
-
"variant": "badge"
|
|
510
|
-
"name": "required"
|
|
524
|
+
"variant": "badge"
|
|
511
525
|
},
|
|
512
526
|
{
|
|
513
527
|
"name": "order",
|
|
@@ -515,25 +529,11 @@
|
|
|
515
529
|
"label": "Order"
|
|
516
530
|
}
|
|
517
531
|
],
|
|
518
|
-
"
|
|
519
|
-
"gap": "sm",
|
|
520
|
-
"itemActions": [
|
|
521
|
-
{
|
|
522
|
-
"variant": "ghost",
|
|
523
|
-
"icon": "edit",
|
|
524
|
-
"event": "UPDATE_QUESTION",
|
|
525
|
-
"label": "Edit"
|
|
526
|
-
},
|
|
527
|
-
{
|
|
528
|
-
"label": "Delete",
|
|
529
|
-
"event": "DELETE_QUESTION",
|
|
530
|
-
"variant": "destructive",
|
|
531
|
-
"icon": "trash"
|
|
532
|
-
}
|
|
533
|
-
],
|
|
534
|
-
"type": "data-grid"
|
|
532
|
+
"entity": "@payload.data"
|
|
535
533
|
}
|
|
536
|
-
]
|
|
534
|
+
],
|
|
535
|
+
"gap": "md",
|
|
536
|
+
"direction": "vertical"
|
|
537
537
|
}
|
|
538
538
|
]
|
|
539
539
|
]
|
|
@@ -547,9 +547,9 @@
|
|
|
547
547
|
"render-ui",
|
|
548
548
|
"main",
|
|
549
549
|
{
|
|
550
|
-
"type": "alert",
|
|
551
550
|
"message": "@payload.error",
|
|
552
|
-
"variant": "error"
|
|
551
|
+
"variant": "error",
|
|
552
|
+
"type": "alert"
|
|
553
553
|
}
|
|
554
554
|
]
|
|
555
555
|
]
|
|
@@ -625,8 +625,8 @@
|
|
|
625
625
|
"@entity",
|
|
626
626
|
{
|
|
627
627
|
"emit": {
|
|
628
|
-
"
|
|
629
|
-
"
|
|
628
|
+
"success": "QuestionUpdated",
|
|
629
|
+
"failure": "QuestionLoadFailed"
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
]
|
|
@@ -649,8 +649,8 @@
|
|
|
649
649
|
"@entity.id",
|
|
650
650
|
{
|
|
651
651
|
"emit": {
|
|
652
|
-
"
|
|
653
|
-
"
|
|
652
|
+
"failure": "QuestionLoadFailed",
|
|
653
|
+
"success": "QuestionDeleted"
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
656
|
]
|
|
@@ -716,9 +716,9 @@
|
|
|
716
716
|
"render-ui",
|
|
717
717
|
"main",
|
|
718
718
|
{
|
|
719
|
-
"message": "@payload.error",
|
|
720
719
|
"type": "alert",
|
|
721
|
-
"variant": "error"
|
|
720
|
+
"variant": "error",
|
|
721
|
+
"message": "@payload.error"
|
|
722
722
|
}
|
|
723
723
|
]
|
|
724
724
|
]
|
|
@@ -733,8 +733,8 @@
|
|
|
733
733
|
"Question",
|
|
734
734
|
{
|
|
735
735
|
"emit": {
|
|
736
|
-
"
|
|
737
|
-
"
|
|
736
|
+
"success": "QuestionLoaded",
|
|
737
|
+
"failure": "QuestionLoadFailed"
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
740
|
]
|
|
@@ -750,8 +750,8 @@
|
|
|
750
750
|
"Question",
|
|
751
751
|
{
|
|
752
752
|
"emit": {
|
|
753
|
-
"
|
|
754
|
-
"
|
|
753
|
+
"success": "QuestionLoaded",
|
|
754
|
+
"failure": "QuestionLoadFailed"
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
]
|
|
@@ -783,8 +783,8 @@
|
|
|
783
783
|
"render-ui",
|
|
784
784
|
"main",
|
|
785
785
|
{
|
|
786
|
-
"variant": "error",
|
|
787
786
|
"type": "alert",
|
|
787
|
+
"variant": "error",
|
|
788
788
|
"message": "@payload.error"
|
|
789
789
|
}
|
|
790
790
|
]
|
|
@@ -800,8 +800,8 @@
|
|
|
800
800
|
"Question",
|
|
801
801
|
{
|
|
802
802
|
"emit": {
|
|
803
|
-
"
|
|
804
|
-
"
|
|
803
|
+
"success": "QuestionLoaded",
|
|
804
|
+
"failure": "QuestionLoadFailed"
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
807
|
],
|