@almadar/std 16.212.0 → 16.214.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/lolo/agent/organisms/std-agent-rabit.lolo +1 -0
- package/behaviors/lolo/infra/atoms/std-notification-center.lolo +19 -1
- package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +214 -3
- package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +13 -0
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +13 -0
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +13 -0
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +13 -0
- package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +2 -2
- package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +2 -2
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +2 -2
- package/behaviors/registry/agent/organisms/std-agent-rabit.orb +8 -0
- package/behaviors/registry/infra/atoms/std-notification-center.orb +176 -1
- package/behaviors/registry/ui/core/atoms/std-rating-review.orb +443 -2
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +58 -0
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +58 -0
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +58 -0
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +58 -0
- package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +2 -2
- package/behaviors/registry/ui/game/atoms/ui-canvas.orb +2 -2
- package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +2 -2
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +2 -2
- package/canonical-operators.json +322 -234
- package/dist/behaviors/exports-reader.js +626 -6
- package/dist/behaviors/functions/index.d.ts +27 -13
- package/dist/behaviors/functions/index.js +624 -7
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +627 -7
- package/dist/behaviors/query.js +626 -6
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +1 -1
- package/dist/behaviors-registry.json +293 -309
- package/dist/index.d.ts +1 -1
- package/dist/index.js +824 -208
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/modules/array.js +22 -22
- package/dist/modules/behavior.js +2 -2
- package/dist/modules/browser.js +1 -1
- package/dist/modules/contract.js +6 -6
- package/dist/modules/core.js +18 -18
- package/dist/modules/data.js +7 -7
- package/dist/modules/graph.js +14 -14
- package/dist/modules/index.js +197 -201
- package/dist/modules/integration.js +1 -1
- package/dist/modules/llm.js +2 -2
- package/dist/modules/nn.js +6 -6
- package/dist/modules/object.js +11 -11
- package/dist/modules/prob.js +4 -4
- package/dist/modules/session.js +4 -4
- package/dist/modules/str.js +1 -1
- package/dist/modules/tensor.js +29 -29
- package/dist/modules/time.js +17 -17
- package/dist/modules/trace.js +1 -1
- package/dist/modules/train.js +23 -23
- package/dist/modules/validate.js +23 -27
- package/dist/modules/workspace.js +5 -5
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.js +197 -201
- package/package.json +2 -2
|
@@ -855,6 +855,8 @@ __export(functions_exports, {
|
|
|
855
855
|
stdNotificationCenterNotificationCenterOrbital: () => stdNotificationCenterNotificationCenterOrbital,
|
|
856
856
|
stdNotificationCenterNotificationDigestPagePage: () => stdNotificationCenterNotificationDigestPagePage,
|
|
857
857
|
stdNotificationCenterNotificationPreferencesPagePage: () => stdNotificationCenterNotificationPreferencesPagePage,
|
|
858
|
+
stdNotificationCenterPreferenceEditorButtonDigestTrait: () => stdNotificationCenterPreferenceEditorButtonDigestTrait,
|
|
859
|
+
stdNotificationCenterPreferenceEditorButtonSubscribeTrait: () => stdNotificationCenterPreferenceEditorButtonSubscribeTrait,
|
|
858
860
|
stdNotificationCenterPreferenceEditorTrait: () => stdNotificationCenterPreferenceEditorTrait,
|
|
859
861
|
stdNotificationCenterPushSubscribePagePage: () => stdNotificationCenterPushSubscribePagePage,
|
|
860
862
|
stdNotificationCenterPushSubscriberTrait: () => stdNotificationCenterPushSubscriberTrait,
|
|
@@ -920,6 +922,7 @@ __export(functions_exports, {
|
|
|
920
922
|
stdRatingReview: () => stdRatingReview,
|
|
921
923
|
stdRatingReviewRatingReviewBoardTrait: () => stdRatingReviewRatingReviewBoardTrait,
|
|
922
924
|
stdRatingReviewRatingReviewOrbital: () => stdRatingReviewRatingReviewOrbital,
|
|
925
|
+
stdRatingReviewRatingReviewPageNavTrait: () => stdRatingReviewRatingReviewPageNavTrait,
|
|
923
926
|
stdRatingReviewRatingReviewPagePage: () => stdRatingReviewRatingReviewPagePage,
|
|
924
927
|
stdRatingReviewRatingReviewSubmitPagePage: () => stdRatingReviewRatingReviewSubmitPagePage,
|
|
925
928
|
stdRatingReviewRatingReviewSubmitTrait: () => stdRatingReviewRatingReviewSubmitTrait,
|
|
@@ -62648,6 +62651,32 @@ function stdNotificationCenterPushSubscriberTrait(params) {
|
|
|
62648
62651
|
...params.config !== void 0 ? { config: params.config } : {}
|
|
62649
62652
|
});
|
|
62650
62653
|
}
|
|
62654
|
+
function stdNotificationCenterPreferenceEditorButtonSubscribeTrait(params) {
|
|
62655
|
+
return makeTraitRef({
|
|
62656
|
+
from: BEHAVIOR_PATH123,
|
|
62657
|
+
ref: `${ALIAS123}.traits.PreferenceEditorButtonSubscribe`,
|
|
62658
|
+
linkedEntity: params.entityName,
|
|
62659
|
+
...params.traitName !== void 0 ? { name: params.traitName } : {},
|
|
62660
|
+
...params.events !== void 0 ? { events: params.events } : {},
|
|
62661
|
+
...params.effects !== void 0 ? { effects: params.effects } : {},
|
|
62662
|
+
...params.listens !== void 0 ? { listens: params.listens } : {},
|
|
62663
|
+
...params.emitsScope !== void 0 ? { emitsScope: params.emitsScope } : {},
|
|
62664
|
+
...params.config !== void 0 ? { config: params.config } : {}
|
|
62665
|
+
});
|
|
62666
|
+
}
|
|
62667
|
+
function stdNotificationCenterPreferenceEditorButtonDigestTrait(params) {
|
|
62668
|
+
return makeTraitRef({
|
|
62669
|
+
from: BEHAVIOR_PATH123,
|
|
62670
|
+
ref: `${ALIAS123}.traits.PreferenceEditorButtonDigest`,
|
|
62671
|
+
linkedEntity: params.entityName,
|
|
62672
|
+
...params.traitName !== void 0 ? { name: params.traitName } : {},
|
|
62673
|
+
...params.events !== void 0 ? { events: params.events } : {},
|
|
62674
|
+
...params.effects !== void 0 ? { effects: params.effects } : {},
|
|
62675
|
+
...params.listens !== void 0 ? { listens: params.listens } : {},
|
|
62676
|
+
...params.emitsScope !== void 0 ? { emitsScope: params.emitsScope } : {},
|
|
62677
|
+
...params.config !== void 0 ? { config: params.config } : {}
|
|
62678
|
+
});
|
|
62679
|
+
}
|
|
62651
62680
|
function stdNotificationCenterPreferenceEditorTrait(params) {
|
|
62652
62681
|
return makeTraitRef({
|
|
62653
62682
|
from: BEHAVIOR_PATH123,
|
|
@@ -62710,6 +62739,8 @@ function stdNotificationCenter(params) {
|
|
|
62710
62739
|
entity,
|
|
62711
62740
|
traits: [
|
|
62712
62741
|
stdNotificationCenterPushSubscriberTrait(params),
|
|
62742
|
+
stdNotificationCenterPreferenceEditorButtonSubscribeTrait(params),
|
|
62743
|
+
stdNotificationCenterPreferenceEditorButtonDigestTrait(params),
|
|
62713
62744
|
stdNotificationCenterPreferenceEditorTrait(params),
|
|
62714
62745
|
stdNotificationCenterDigestDrainTrait(params)
|
|
62715
62746
|
],
|
|
@@ -62724,7 +62755,12 @@ function stdNotificationCenterNotificationCenterOrbital(params = {}) {
|
|
|
62724
62755
|
const collectionName = params.collection ?? (params.entityName ? `${params.entityName.toLowerCase()}s` : "notificationPreferences");
|
|
62725
62756
|
const built = makeOrbitalWithUses({
|
|
62726
62757
|
name: "NotificationCenterOrbital",
|
|
62727
|
-
uses: [
|
|
62758
|
+
uses: [
|
|
62759
|
+
{
|
|
62760
|
+
"as": "Button",
|
|
62761
|
+
"from": "std/behaviors/ui-button"
|
|
62762
|
+
}
|
|
62763
|
+
],
|
|
62728
62764
|
expects: [
|
|
62729
62765
|
{
|
|
62730
62766
|
"kind": "identity"
|
|
@@ -63221,13 +63257,59 @@ function stdNotificationCenterNotificationCenterOrbital(params = {}) {
|
|
|
63221
63257
|
]
|
|
63222
63258
|
}
|
|
63223
63259
|
},
|
|
63260
|
+
makeTraitRef({
|
|
63261
|
+
"config": {
|
|
63262
|
+
"action": {
|
|
63263
|
+
"default": "OPEN_SUBSCRIBE",
|
|
63264
|
+
"type": "unknown"
|
|
63265
|
+
},
|
|
63266
|
+
"label": {
|
|
63267
|
+
"default": "Enable push notifications",
|
|
63268
|
+
"type": "unknown"
|
|
63269
|
+
}
|
|
63270
|
+
},
|
|
63271
|
+
"linkedEntity": "NotificationPreference",
|
|
63272
|
+
"name": "PreferenceEditorButtonSubscribe",
|
|
63273
|
+
"ref": "Button.traits.ButtonRender"
|
|
63274
|
+
}),
|
|
63275
|
+
makeTraitRef({
|
|
63276
|
+
"config": {
|
|
63277
|
+
"action": {
|
|
63278
|
+
"default": "OPEN_DIGEST",
|
|
63279
|
+
"type": "unknown"
|
|
63280
|
+
},
|
|
63281
|
+
"label": {
|
|
63282
|
+
"default": "View notification digest",
|
|
63283
|
+
"type": "unknown"
|
|
63284
|
+
}
|
|
63285
|
+
},
|
|
63286
|
+
"linkedEntity": "NotificationPreference",
|
|
63287
|
+
"name": "PreferenceEditorButtonDigest",
|
|
63288
|
+
"ref": "Button.traits.ButtonRender"
|
|
63289
|
+
}),
|
|
63224
63290
|
{
|
|
63225
63291
|
"category": "lifecycle",
|
|
63226
63292
|
"effectRow": [
|
|
63293
|
+
{
|
|
63294
|
+
"kind": "fetch",
|
|
63295
|
+
"resource": "NotificationPreference"
|
|
63296
|
+
},
|
|
63297
|
+
{
|
|
63298
|
+
"kind": "navigate",
|
|
63299
|
+
"resource": "/notifications/digest"
|
|
63300
|
+
},
|
|
63301
|
+
{
|
|
63302
|
+
"kind": "navigate",
|
|
63303
|
+
"resource": "/notifications/subscribe"
|
|
63304
|
+
},
|
|
63227
63305
|
{
|
|
63228
63306
|
"kind": "persist",
|
|
63229
63307
|
"resource": "NotificationPreference"
|
|
63230
63308
|
},
|
|
63309
|
+
{
|
|
63310
|
+
"kind": "render-ui",
|
|
63311
|
+
"resource": "main"
|
|
63312
|
+
},
|
|
63231
63313
|
{
|
|
63232
63314
|
"kind": "render-ui",
|
|
63233
63315
|
"resource": "toast"
|
|
@@ -63276,6 +63358,18 @@ function stdNotificationCenterNotificationCenterOrbital(params = {}) {
|
|
|
63276
63358
|
"scope": "instance",
|
|
63277
63359
|
"stateMachine": {
|
|
63278
63360
|
"events": [
|
|
63361
|
+
{
|
|
63362
|
+
"key": "INIT",
|
|
63363
|
+
"name": "Initialize"
|
|
63364
|
+
},
|
|
63365
|
+
{
|
|
63366
|
+
"key": "OPEN_SUBSCRIBE",
|
|
63367
|
+
"name": "Open Subscribe"
|
|
63368
|
+
},
|
|
63369
|
+
{
|
|
63370
|
+
"key": "OPEN_DIGEST",
|
|
63371
|
+
"name": "Open Digest"
|
|
63372
|
+
},
|
|
63279
63373
|
{
|
|
63280
63374
|
"key": "SAVE_PREFERENCE",
|
|
63281
63375
|
"name": "Save Preference",
|
|
@@ -63389,6 +63483,52 @@ function stdNotificationCenterNotificationCenterOrbital(params = {}) {
|
|
|
63389
63483
|
}
|
|
63390
63484
|
],
|
|
63391
63485
|
"transitions": [
|
|
63486
|
+
{
|
|
63487
|
+
"effects": [
|
|
63488
|
+
[
|
|
63489
|
+
"fetch",
|
|
63490
|
+
"NotificationPreference"
|
|
63491
|
+
],
|
|
63492
|
+
[
|
|
63493
|
+
"render-ui",
|
|
63494
|
+
"main",
|
|
63495
|
+
{
|
|
63496
|
+
"children": [
|
|
63497
|
+
"@trait.PreferenceEditorButtonSubscribe",
|
|
63498
|
+
"@trait.PreferenceEditorButtonDigest"
|
|
63499
|
+
],
|
|
63500
|
+
"direction": "vertical",
|
|
63501
|
+
"gap": "md",
|
|
63502
|
+
"type": "stack"
|
|
63503
|
+
}
|
|
63504
|
+
]
|
|
63505
|
+
],
|
|
63506
|
+
"event": "INIT",
|
|
63507
|
+
"from": "idle",
|
|
63508
|
+
"to": "idle"
|
|
63509
|
+
},
|
|
63510
|
+
{
|
|
63511
|
+
"effects": [
|
|
63512
|
+
[
|
|
63513
|
+
"navigate",
|
|
63514
|
+
"/notifications/subscribe"
|
|
63515
|
+
]
|
|
63516
|
+
],
|
|
63517
|
+
"event": "OPEN_SUBSCRIBE",
|
|
63518
|
+
"from": "idle",
|
|
63519
|
+
"to": "idle"
|
|
63520
|
+
},
|
|
63521
|
+
{
|
|
63522
|
+
"effects": [
|
|
63523
|
+
[
|
|
63524
|
+
"navigate",
|
|
63525
|
+
"/notifications/digest"
|
|
63526
|
+
]
|
|
63527
|
+
],
|
|
63528
|
+
"event": "OPEN_DIGEST",
|
|
63529
|
+
"from": "idle",
|
|
63530
|
+
"to": "idle"
|
|
63531
|
+
},
|
|
63392
63532
|
{
|
|
63393
63533
|
"effects": [
|
|
63394
63534
|
[
|
|
@@ -64179,6 +64319,12 @@ function stdNotificationCenterNotificationCenterOrbital(params = {}) {
|
|
|
64179
64319
|
"traits": [
|
|
64180
64320
|
{
|
|
64181
64321
|
"ref": "PreferenceEditor"
|
|
64322
|
+
},
|
|
64323
|
+
{
|
|
64324
|
+
"ref": "PreferenceEditorButtonSubscribe"
|
|
64325
|
+
},
|
|
64326
|
+
{
|
|
64327
|
+
"ref": "PreferenceEditorButtonDigest"
|
|
64182
64328
|
}
|
|
64183
64329
|
]
|
|
64184
64330
|
},
|
|
@@ -64267,7 +64413,10 @@ var StdNotificationCenterNotificationCenterOrbitalManifest = {
|
|
|
64267
64413
|
"description": ".lolo's native trait-composition surface 1:1: per-imported-trait config, linkedEntity, events, name, emitsScope, listens. effects is excluded (atom-owned; use listens via a sibling trait)."
|
|
64268
64414
|
}
|
|
64269
64415
|
],
|
|
64270
|
-
traitNames: [
|
|
64416
|
+
traitNames: [
|
|
64417
|
+
"PreferenceEditorButtonSubscribe",
|
|
64418
|
+
"PreferenceEditorButtonDigest"
|
|
64419
|
+
],
|
|
64271
64420
|
inlineTraitNames: [
|
|
64272
64421
|
"PushSubscriber",
|
|
64273
64422
|
"PreferenceEditor",
|
|
@@ -69151,6 +69300,19 @@ function stdRatingReviewRatingReviewSubmitTrait(params) {
|
|
|
69151
69300
|
...params.config !== void 0 ? { config: params.config } : {}
|
|
69152
69301
|
});
|
|
69153
69302
|
}
|
|
69303
|
+
function stdRatingReviewRatingReviewPageNavTrait(params) {
|
|
69304
|
+
return makeTraitRef({
|
|
69305
|
+
from: BEHAVIOR_PATH136,
|
|
69306
|
+
ref: `${ALIAS136}.traits.RatingReviewPageNav`,
|
|
69307
|
+
linkedEntity: params.entityName,
|
|
69308
|
+
...params.traitName !== void 0 ? { name: params.traitName } : {},
|
|
69309
|
+
...params.events !== void 0 ? { events: params.events } : {},
|
|
69310
|
+
...params.effects !== void 0 ? { effects: params.effects } : {},
|
|
69311
|
+
...params.listens !== void 0 ? { listens: params.listens } : {},
|
|
69312
|
+
...params.emitsScope !== void 0 ? { emitsScope: params.emitsScope } : {},
|
|
69313
|
+
...params.config !== void 0 ? { config: params.config } : {}
|
|
69314
|
+
});
|
|
69315
|
+
}
|
|
69154
69316
|
function stdRatingReviewRatingReviewPagePage(params) {
|
|
69155
69317
|
return makePageRef({
|
|
69156
69318
|
from: BEHAVIOR_PATH136,
|
|
@@ -69179,7 +69341,8 @@ function stdRatingReview(params) {
|
|
|
69179
69341
|
entity,
|
|
69180
69342
|
traits: [
|
|
69181
69343
|
stdRatingReviewRatingReviewBoardTrait(params),
|
|
69182
|
-
stdRatingReviewRatingReviewSubmitTrait(params)
|
|
69344
|
+
stdRatingReviewRatingReviewSubmitTrait(params),
|
|
69345
|
+
stdRatingReviewRatingReviewPageNavTrait(params)
|
|
69183
69346
|
],
|
|
69184
69347
|
pages: [
|
|
69185
69348
|
stdRatingReviewRatingReviewPagePage(params),
|
|
@@ -71501,12 +71664,337 @@ function stdRatingReviewRatingReviewOrbital(params = {}) {
|
|
|
71501
71664
|
},
|
|
71502
71665
|
{
|
|
71503
71666
|
"effects": [
|
|
71667
|
+
[
|
|
71668
|
+
"set",
|
|
71669
|
+
"@entity.reviews",
|
|
71670
|
+
[
|
|
71671
|
+
"array/map",
|
|
71672
|
+
"@entity.reviews",
|
|
71673
|
+
[
|
|
71674
|
+
"fn",
|
|
71675
|
+
"row",
|
|
71676
|
+
[
|
|
71677
|
+
"if",
|
|
71678
|
+
[
|
|
71679
|
+
"=",
|
|
71680
|
+
[
|
|
71681
|
+
"object/get",
|
|
71682
|
+
"@row",
|
|
71683
|
+
"id",
|
|
71684
|
+
""
|
|
71685
|
+
],
|
|
71686
|
+
"@payload.id"
|
|
71687
|
+
],
|
|
71688
|
+
[
|
|
71689
|
+
"object/merge",
|
|
71690
|
+
"@row",
|
|
71691
|
+
{
|
|
71692
|
+
"helpful": [
|
|
71693
|
+
"+",
|
|
71694
|
+
[
|
|
71695
|
+
"object/get",
|
|
71696
|
+
"@row",
|
|
71697
|
+
"helpful",
|
|
71698
|
+
0
|
|
71699
|
+
],
|
|
71700
|
+
1
|
|
71701
|
+
]
|
|
71702
|
+
}
|
|
71703
|
+
],
|
|
71704
|
+
"@row"
|
|
71705
|
+
]
|
|
71706
|
+
]
|
|
71707
|
+
]
|
|
71708
|
+
],
|
|
71709
|
+
[
|
|
71710
|
+
"set",
|
|
71711
|
+
"@entity.reviewsSource",
|
|
71712
|
+
[
|
|
71713
|
+
"array/map",
|
|
71714
|
+
"@entity.reviewsSource",
|
|
71715
|
+
[
|
|
71716
|
+
"fn",
|
|
71717
|
+
"row",
|
|
71718
|
+
[
|
|
71719
|
+
"if",
|
|
71720
|
+
[
|
|
71721
|
+
"=",
|
|
71722
|
+
[
|
|
71723
|
+
"object/get",
|
|
71724
|
+
"@row",
|
|
71725
|
+
"id",
|
|
71726
|
+
""
|
|
71727
|
+
],
|
|
71728
|
+
"@payload.id"
|
|
71729
|
+
],
|
|
71730
|
+
[
|
|
71731
|
+
"object/merge",
|
|
71732
|
+
"@row",
|
|
71733
|
+
{
|
|
71734
|
+
"helpful": [
|
|
71735
|
+
"+",
|
|
71736
|
+
[
|
|
71737
|
+
"object/get",
|
|
71738
|
+
"@row",
|
|
71739
|
+
"helpful",
|
|
71740
|
+
0
|
|
71741
|
+
],
|
|
71742
|
+
1
|
|
71743
|
+
]
|
|
71744
|
+
}
|
|
71745
|
+
],
|
|
71746
|
+
"@row"
|
|
71747
|
+
]
|
|
71748
|
+
]
|
|
71749
|
+
]
|
|
71750
|
+
],
|
|
71504
71751
|
[
|
|
71505
71752
|
"render-ui",
|
|
71506
71753
|
"main",
|
|
71507
71754
|
{
|
|
71508
|
-
"
|
|
71509
|
-
|
|
71755
|
+
"children": [
|
|
71756
|
+
{
|
|
71757
|
+
"align": "center",
|
|
71758
|
+
"children": [
|
|
71759
|
+
{
|
|
71760
|
+
"children": [
|
|
71761
|
+
{
|
|
71762
|
+
"align": "center",
|
|
71763
|
+
"children": [
|
|
71764
|
+
{
|
|
71765
|
+
"name": "star",
|
|
71766
|
+
"type": "icon"
|
|
71767
|
+
},
|
|
71768
|
+
{
|
|
71769
|
+
"content": "Reviews",
|
|
71770
|
+
"type": "typography",
|
|
71771
|
+
"variant": "h3"
|
|
71772
|
+
},
|
|
71773
|
+
{
|
|
71774
|
+
"color": "muted",
|
|
71775
|
+
"content": "\xB7",
|
|
71776
|
+
"type": "typography"
|
|
71777
|
+
},
|
|
71778
|
+
{
|
|
71779
|
+
"content": "@entity.averageRating",
|
|
71780
|
+
"type": "typography",
|
|
71781
|
+
"variant": "h3"
|
|
71782
|
+
},
|
|
71783
|
+
{
|
|
71784
|
+
"color": "warning",
|
|
71785
|
+
"name": "star",
|
|
71786
|
+
"type": "icon"
|
|
71787
|
+
},
|
|
71788
|
+
{
|
|
71789
|
+
"color": "muted",
|
|
71790
|
+
"content": "\xB7",
|
|
71791
|
+
"type": "typography"
|
|
71792
|
+
},
|
|
71793
|
+
{
|
|
71794
|
+
"color": "muted",
|
|
71795
|
+
"content": "@entity.totalReviews",
|
|
71796
|
+
"type": "typography",
|
|
71797
|
+
"variant": "h4"
|
|
71798
|
+
},
|
|
71799
|
+
{
|
|
71800
|
+
"color": "muted",
|
|
71801
|
+
"content": "reviews",
|
|
71802
|
+
"type": "typography",
|
|
71803
|
+
"variant": "h4"
|
|
71804
|
+
}
|
|
71805
|
+
],
|
|
71806
|
+
"direction": "horizontal",
|
|
71807
|
+
"gap": "sm",
|
|
71808
|
+
"type": "stack"
|
|
71809
|
+
},
|
|
71810
|
+
{
|
|
71811
|
+
"color": "muted",
|
|
71812
|
+
"content": "@config.subjectTitle",
|
|
71813
|
+
"type": "typography",
|
|
71814
|
+
"variant": "caption"
|
|
71815
|
+
}
|
|
71816
|
+
],
|
|
71817
|
+
"direction": "vertical",
|
|
71818
|
+
"gap": "xs",
|
|
71819
|
+
"type": "stack"
|
|
71820
|
+
},
|
|
71821
|
+
{
|
|
71822
|
+
"action": "WRITE_REVIEW",
|
|
71823
|
+
"icon": "edit",
|
|
71824
|
+
"label": "@config.writeLabel",
|
|
71825
|
+
"type": "button",
|
|
71826
|
+
"variant": "primary"
|
|
71827
|
+
}
|
|
71828
|
+
],
|
|
71829
|
+
"direction": "horizontal",
|
|
71830
|
+
"gap": "md",
|
|
71831
|
+
"justify": "between",
|
|
71832
|
+
"type": "stack"
|
|
71833
|
+
},
|
|
71834
|
+
{
|
|
71835
|
+
"children": [
|
|
71836
|
+
{
|
|
71837
|
+
"children": [
|
|
71838
|
+
{
|
|
71839
|
+
"content": "Rating distribution",
|
|
71840
|
+
"type": "typography",
|
|
71841
|
+
"variant": "h4"
|
|
71842
|
+
},
|
|
71843
|
+
{
|
|
71844
|
+
"entity": "@entity.starDistribution",
|
|
71845
|
+
"fields": [],
|
|
71846
|
+
"gap": "sm",
|
|
71847
|
+
"renderItem": [
|
|
71848
|
+
"fn",
|
|
71849
|
+
"bar",
|
|
71850
|
+
{
|
|
71851
|
+
"align": "center",
|
|
71852
|
+
"children": [
|
|
71853
|
+
{
|
|
71854
|
+
"content": "@bar.label",
|
|
71855
|
+
"type": "typography",
|
|
71856
|
+
"variant": "caption"
|
|
71857
|
+
},
|
|
71858
|
+
{
|
|
71859
|
+
"max": 100,
|
|
71860
|
+
"type": "progress-bar",
|
|
71861
|
+
"value": "@bar.percentage",
|
|
71862
|
+
"variant": "primary"
|
|
71863
|
+
},
|
|
71864
|
+
{
|
|
71865
|
+
"color": "muted",
|
|
71866
|
+
"content": "@bar.percentage",
|
|
71867
|
+
"type": "typography",
|
|
71868
|
+
"variant": "caption"
|
|
71869
|
+
},
|
|
71870
|
+
{
|
|
71871
|
+
"color": "muted",
|
|
71872
|
+
"content": "%",
|
|
71873
|
+
"type": "typography",
|
|
71874
|
+
"variant": "caption"
|
|
71875
|
+
}
|
|
71876
|
+
],
|
|
71877
|
+
"direction": "horizontal",
|
|
71878
|
+
"gap": "md",
|
|
71879
|
+
"type": "stack"
|
|
71880
|
+
}
|
|
71881
|
+
],
|
|
71882
|
+
"type": "data-list"
|
|
71883
|
+
}
|
|
71884
|
+
],
|
|
71885
|
+
"direction": "vertical",
|
|
71886
|
+
"gap": "sm",
|
|
71887
|
+
"type": "stack"
|
|
71888
|
+
}
|
|
71889
|
+
],
|
|
71890
|
+
"look": "@config.cardLook",
|
|
71891
|
+
"type": "card"
|
|
71892
|
+
},
|
|
71893
|
+
{
|
|
71894
|
+
"activeTab": "@entity.currentSort",
|
|
71895
|
+
"tabChangeEvent": "CHANGE_SORT",
|
|
71896
|
+
"tabs": "@config.sortOptions",
|
|
71897
|
+
"type": "tabs"
|
|
71898
|
+
},
|
|
71899
|
+
{
|
|
71900
|
+
"entity": "@entity.reviews",
|
|
71901
|
+
"fields": [],
|
|
71902
|
+
"gap": "md",
|
|
71903
|
+
"renderItem": [
|
|
71904
|
+
"fn",
|
|
71905
|
+
"review",
|
|
71906
|
+
{
|
|
71907
|
+
"children": [
|
|
71908
|
+
{
|
|
71909
|
+
"children": [
|
|
71910
|
+
{
|
|
71911
|
+
"align": "center",
|
|
71912
|
+
"children": [
|
|
71913
|
+
{
|
|
71914
|
+
"name": "@review.avatarIcon",
|
|
71915
|
+
"type": "icon"
|
|
71916
|
+
},
|
|
71917
|
+
{
|
|
71918
|
+
"content": "@review.authorName",
|
|
71919
|
+
"type": "typography",
|
|
71920
|
+
"weight": "bold"
|
|
71921
|
+
},
|
|
71922
|
+
{
|
|
71923
|
+
"color": "muted",
|
|
71924
|
+
"content": "\xB7",
|
|
71925
|
+
"type": "typography"
|
|
71926
|
+
},
|
|
71927
|
+
{
|
|
71928
|
+
"color": "warning",
|
|
71929
|
+
"name": "star",
|
|
71930
|
+
"type": "icon"
|
|
71931
|
+
},
|
|
71932
|
+
{
|
|
71933
|
+
"content": "@review.rating",
|
|
71934
|
+
"type": "typography",
|
|
71935
|
+
"weight": "bold"
|
|
71936
|
+
},
|
|
71937
|
+
{
|
|
71938
|
+
"color": "muted",
|
|
71939
|
+
"content": "\xB7",
|
|
71940
|
+
"type": "typography"
|
|
71941
|
+
},
|
|
71942
|
+
{
|
|
71943
|
+
"color": "muted",
|
|
71944
|
+
"content": "@review.createdAt",
|
|
71945
|
+
"type": "typography",
|
|
71946
|
+
"variant": "caption"
|
|
71947
|
+
}
|
|
71948
|
+
],
|
|
71949
|
+
"direction": "horizontal",
|
|
71950
|
+
"gap": "sm",
|
|
71951
|
+
"type": "stack"
|
|
71952
|
+
},
|
|
71953
|
+
{
|
|
71954
|
+
"content": "@review.comment",
|
|
71955
|
+
"type": "typography",
|
|
71956
|
+
"variant": "body"
|
|
71957
|
+
},
|
|
71958
|
+
{
|
|
71959
|
+
"align": "center",
|
|
71960
|
+
"children": [
|
|
71961
|
+
{
|
|
71962
|
+
"action": "MARK_HELPFUL",
|
|
71963
|
+
"actionPayload": {
|
|
71964
|
+
"id": "@review.id"
|
|
71965
|
+
},
|
|
71966
|
+
"icon": "thumbs-up",
|
|
71967
|
+
"label": "Helpful",
|
|
71968
|
+
"type": "button",
|
|
71969
|
+
"variant": "ghost"
|
|
71970
|
+
},
|
|
71971
|
+
{
|
|
71972
|
+
"color": "muted",
|
|
71973
|
+
"content": "@review.helpful",
|
|
71974
|
+
"type": "typography",
|
|
71975
|
+
"variant": "caption"
|
|
71976
|
+
}
|
|
71977
|
+
],
|
|
71978
|
+
"direction": "horizontal",
|
|
71979
|
+
"gap": "sm",
|
|
71980
|
+
"type": "stack"
|
|
71981
|
+
}
|
|
71982
|
+
],
|
|
71983
|
+
"direction": "vertical",
|
|
71984
|
+
"gap": "sm",
|
|
71985
|
+
"type": "stack"
|
|
71986
|
+
}
|
|
71987
|
+
],
|
|
71988
|
+
"look": "@config.cardLook",
|
|
71989
|
+
"type": "card"
|
|
71990
|
+
}
|
|
71991
|
+
],
|
|
71992
|
+
"type": "data-list"
|
|
71993
|
+
}
|
|
71994
|
+
],
|
|
71995
|
+
"direction": "vertical",
|
|
71996
|
+
"gap": "lg",
|
|
71997
|
+
"type": "stack"
|
|
71510
71998
|
}
|
|
71511
71999
|
]
|
|
71512
72000
|
],
|
|
@@ -72638,6 +73126,82 @@ function stdRatingReviewRatingReviewOrbital(params = {}) {
|
|
|
72638
73126
|
}
|
|
72639
73127
|
]
|
|
72640
73128
|
}
|
|
73129
|
+
},
|
|
73130
|
+
{
|
|
73131
|
+
"category": "interaction",
|
|
73132
|
+
"effectRow": [
|
|
73133
|
+
{
|
|
73134
|
+
"kind": "navigate",
|
|
73135
|
+
"resource": "/reviews/new"
|
|
73136
|
+
},
|
|
73137
|
+
{
|
|
73138
|
+
"kind": "render-ui",
|
|
73139
|
+
"resource": "main"
|
|
73140
|
+
}
|
|
73141
|
+
],
|
|
73142
|
+
"emits": [
|
|
73143
|
+
{
|
|
73144
|
+
"description": "Opens the standalone review-submission page.",
|
|
73145
|
+
"event": "OPEN_REVIEW_FORM",
|
|
73146
|
+
"synonyms": "open form, new page, direct link",
|
|
73147
|
+
"tier": "presentation"
|
|
73148
|
+
}
|
|
73149
|
+
],
|
|
73150
|
+
"linkedEntity": "ReviewView",
|
|
73151
|
+
"name": "RatingReviewPageNav",
|
|
73152
|
+
"scope": "instance",
|
|
73153
|
+
"stateMachine": {
|
|
73154
|
+
"events": [
|
|
73155
|
+
{
|
|
73156
|
+
"key": "INIT",
|
|
73157
|
+
"name": "Initialize"
|
|
73158
|
+
},
|
|
73159
|
+
{
|
|
73160
|
+
"description": "Opens the standalone review-submission page.",
|
|
73161
|
+
"key": "OPEN_REVIEW_FORM",
|
|
73162
|
+
"name": "Open Review Form",
|
|
73163
|
+
"synonyms": "open form, new page, direct link",
|
|
73164
|
+
"tier": "presentation"
|
|
73165
|
+
}
|
|
73166
|
+
],
|
|
73167
|
+
"states": [
|
|
73168
|
+
{
|
|
73169
|
+
"isInitial": true,
|
|
73170
|
+
"name": "ready"
|
|
73171
|
+
}
|
|
73172
|
+
],
|
|
73173
|
+
"transitions": [
|
|
73174
|
+
{
|
|
73175
|
+
"effects": [
|
|
73176
|
+
[
|
|
73177
|
+
"render-ui",
|
|
73178
|
+
"main",
|
|
73179
|
+
{
|
|
73180
|
+
"action": "OPEN_REVIEW_FORM",
|
|
73181
|
+
"icon": "external-link",
|
|
73182
|
+
"label": "Open review form",
|
|
73183
|
+
"type": "button",
|
|
73184
|
+
"variant": "ghost"
|
|
73185
|
+
}
|
|
73186
|
+
]
|
|
73187
|
+
],
|
|
73188
|
+
"event": "INIT",
|
|
73189
|
+
"from": "ready",
|
|
73190
|
+
"to": "ready"
|
|
73191
|
+
},
|
|
73192
|
+
{
|
|
73193
|
+
"effects": [
|
|
73194
|
+
[
|
|
73195
|
+
"navigate",
|
|
73196
|
+
"/reviews/new"
|
|
73197
|
+
]
|
|
73198
|
+
],
|
|
73199
|
+
"event": "OPEN_REVIEW_FORM",
|
|
73200
|
+
"from": "ready",
|
|
73201
|
+
"to": "ready"
|
|
73202
|
+
}
|
|
73203
|
+
]
|
|
73204
|
+
}
|
|
72641
73205
|
}
|
|
72642
73206
|
],
|
|
72643
73207
|
pages: [
|
|
@@ -72647,6 +73211,9 @@ function stdRatingReviewRatingReviewOrbital(params = {}) {
|
|
|
72647
73211
|
"traits": [
|
|
72648
73212
|
{
|
|
72649
73213
|
"ref": "RatingReviewBoard"
|
|
73214
|
+
},
|
|
73215
|
+
{
|
|
73216
|
+
"ref": "RatingReviewPageNav"
|
|
72650
73217
|
}
|
|
72651
73218
|
]
|
|
72652
73219
|
},
|
|
@@ -72719,7 +73286,8 @@ var StdRatingReviewRatingReviewOrbitalManifest = {
|
|
|
72719
73286
|
traitNames: [],
|
|
72720
73287
|
inlineTraitNames: [
|
|
72721
73288
|
"RatingReviewBoard",
|
|
72722
|
-
"RatingReviewSubmit"
|
|
73289
|
+
"RatingReviewSubmit",
|
|
73290
|
+
"RatingReviewPageNav"
|
|
72723
73291
|
]
|
|
72724
73292
|
};
|
|
72725
73293
|
function isStdRatingReviewRatingReviewOrbitalParams(p) {
|
|
@@ -111141,6 +111709,12 @@ function stdAgentRabitCoordinatorOrbital(params = {}) {
|
|
|
111141
111709
|
const built = makeOrbitalWithUses({
|
|
111142
111710
|
name: "CoordinatorOrbital",
|
|
111143
111711
|
uses: [],
|
|
111712
|
+
expects: [
|
|
111713
|
+
{
|
|
111714
|
+
"kind": "page",
|
|
111715
|
+
"path": "/rabit/process"
|
|
111716
|
+
}
|
|
111717
|
+
],
|
|
111144
111718
|
entity: {
|
|
111145
111719
|
name: "Coordinator",
|
|
111146
111720
|
persistence: "runtime",
|
|
@@ -111251,6 +111825,10 @@ function stdAgentRabitCoordinatorOrbital(params = {}) {
|
|
|
111251
111825
|
{
|
|
111252
111826
|
"kind": "llm/generate"
|
|
111253
111827
|
},
|
|
111828
|
+
{
|
|
111829
|
+
"kind": "navigate",
|
|
111830
|
+
"resource": "/rabit/process"
|
|
111831
|
+
},
|
|
111254
111832
|
{
|
|
111255
111833
|
"kind": "session/write-spec"
|
|
111256
111834
|
},
|
|
@@ -111550,6 +112128,10 @@ function stdAgentRabitCoordinatorOrbital(params = {}) {
|
|
|
111550
112128
|
"plan": "@entity.plan",
|
|
111551
112129
|
"totalOrbitals": "@entity.totalOrbitals"
|
|
111552
112130
|
}
|
|
112131
|
+
],
|
|
112132
|
+
[
|
|
112133
|
+
"navigate",
|
|
112134
|
+
"/rabit/process"
|
|
111553
112135
|
]
|
|
111554
112136
|
],
|
|
111555
112137
|
"event": "PLANNED",
|
|
@@ -162631,6 +163213,41 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
162631
163213
|
"tier": "presentation",
|
|
162632
163214
|
"type": "number"
|
|
162633
163215
|
},
|
|
163216
|
+
"relationsData": {
|
|
163217
|
+
"default": {},
|
|
163218
|
+
"description": "Relation display data: { fieldName: [{value, label}] } \u2014 injected server-side by the runtime (relation-option injection) or bound by compiled codegen; resolves stored foreign ids to display names for a column whose field is relation-typed. Same contract DetailPanel takes.",
|
|
163219
|
+
"items": {
|
|
163220
|
+
"items": {
|
|
163221
|
+
"properties": {
|
|
163222
|
+
"description": {
|
|
163223
|
+
"name": "description",
|
|
163224
|
+
"required": false,
|
|
163225
|
+
"type": "string"
|
|
163226
|
+
},
|
|
163227
|
+
"disabled": {
|
|
163228
|
+
"name": "disabled",
|
|
163229
|
+
"required": false,
|
|
163230
|
+
"type": "boolean"
|
|
163231
|
+
},
|
|
163232
|
+
"label": {
|
|
163233
|
+
"name": "label",
|
|
163234
|
+
"required": true,
|
|
163235
|
+
"type": "string"
|
|
163236
|
+
},
|
|
163237
|
+
"value": {
|
|
163238
|
+
"name": "value",
|
|
163239
|
+
"required": true,
|
|
163240
|
+
"type": "string"
|
|
163241
|
+
}
|
|
163242
|
+
},
|
|
163243
|
+
"type": "object"
|
|
163244
|
+
},
|
|
163245
|
+
"type": "array"
|
|
163246
|
+
},
|
|
163247
|
+
"label": "Relations Data",
|
|
163248
|
+
"tier": "presentation",
|
|
163249
|
+
"type": "Map<string,[EntityTableRelationsDataValueItem]>"
|
|
163250
|
+
},
|
|
162634
163251
|
"rowActions": {
|
|
162635
163252
|
"default": [],
|
|
162636
163253
|
"description": "Row actions",
|
|
@@ -162885,6 +163502,7 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
162885
163502
|
"look": "@config.look",
|
|
162886
163503
|
"page": "@config.pageProp",
|
|
162887
163504
|
"pageSize": "@config.pageSize",
|
|
163505
|
+
"relationsData": "@config.relationsData",
|
|
162888
163506
|
"rowActions": "@config.rowActions",
|
|
162889
163507
|
"searchPlaceholder": "@config.searchPlaceholder",
|
|
162890
163508
|
"searchValue": "@config.searchValue",
|
|
@@ -162927,6 +163545,7 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
162927
163545
|
"look": "@config.look",
|
|
162928
163546
|
"page": "@config.pageProp",
|
|
162929
163547
|
"pageSize": "@config.pageSize",
|
|
163548
|
+
"relationsData": "@config.relationsData",
|
|
162930
163549
|
"rowActions": "@config.rowActions",
|
|
162931
163550
|
"searchPlaceholder": "@config.searchPlaceholder",
|
|
162932
163551
|
"searchValue": "@config.searchValue",
|
|
@@ -162972,6 +163591,7 @@ function stdUiEntityTableEntityTableOrbital(params = {}) {
|
|
|
162972
163591
|
"look": "@config.look",
|
|
162973
163592
|
"page": "@config.pageProp",
|
|
162974
163593
|
"pageSize": "@config.pageSize",
|
|
163594
|
+
"relationsData": "@config.relationsData",
|
|
162975
163595
|
"rowActions": "@config.rowActions",
|
|
162976
163596
|
"searchPlaceholder": "@config.searchPlaceholder",
|
|
162977
163597
|
"searchValue": "@config.searchValue",
|