@almadar/std 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/behaviors/game-ui.js +5 -5
- package/dist/behaviors/game-ui.js.map +1 -1
- package/dist/behaviors/index.js +10 -10
- package/dist/behaviors/index.js.map +1 -1
- package/dist/behaviors/registry.js +10 -10
- package/dist/behaviors/registry.js.map +1 -1
- package/dist/behaviors/ui-interaction.js +5 -5
- package/dist/behaviors/ui-interaction.js.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -101,7 +101,7 @@ var LIST_BEHAVIOR = {
|
|
|
101
101
|
effects: [
|
|
102
102
|
["set", "@entity.selectedId", "@payload.id"],
|
|
103
103
|
["render-ui", "drawer", {
|
|
104
|
-
type: "
|
|
104
|
+
type: "detail-panel",
|
|
105
105
|
entity: "@entity.entityType",
|
|
106
106
|
data: "@payload.id",
|
|
107
107
|
actions: [
|
|
@@ -276,7 +276,7 @@ var DETAIL_BEHAVIOR = {
|
|
|
276
276
|
]
|
|
277
277
|
}],
|
|
278
278
|
["render-ui", "main", {
|
|
279
|
-
type: "
|
|
279
|
+
type: "detail-panel",
|
|
280
280
|
entity: "@entity.entityType",
|
|
281
281
|
fieldNames: "@entity.fields"
|
|
282
282
|
}]
|
|
@@ -799,7 +799,7 @@ var WIZARD_BEHAVIOR = {
|
|
|
799
799
|
currentStep: 2
|
|
800
800
|
}],
|
|
801
801
|
["render-ui", "main", {
|
|
802
|
-
type: "
|
|
802
|
+
type: "detail-panel",
|
|
803
803
|
entity: "@entity.entityType",
|
|
804
804
|
fieldNames: ["step1", "step2"],
|
|
805
805
|
title: "Review"
|
|
@@ -888,7 +888,7 @@ var MASTER_DETAIL_BEHAVIOR = {
|
|
|
888
888
|
effects: [
|
|
889
889
|
["set", "@entity.selectedId", "@payload.id"],
|
|
890
890
|
["render-ui", "main", {
|
|
891
|
-
type: "
|
|
891
|
+
type: "detail-panel",
|
|
892
892
|
entity: "@entity.entityType",
|
|
893
893
|
data: "@payload.id",
|
|
894
894
|
fieldNames: "@entity.detailFields"
|
|
@@ -902,7 +902,7 @@ var MASTER_DETAIL_BEHAVIOR = {
|
|
|
902
902
|
effects: [
|
|
903
903
|
["set", "@entity.selectedId", "@payload.id"],
|
|
904
904
|
["render-ui", "main", {
|
|
905
|
-
type: "
|
|
905
|
+
type: "detail-panel",
|
|
906
906
|
entity: "@entity.entityType",
|
|
907
907
|
data: "@payload.id",
|
|
908
908
|
fieldNames: "@entity.detailFields"
|
|
@@ -3607,10 +3607,10 @@ var GAME_FLOW_BEHAVIOR = {
|
|
|
3607
3607
|
["set", "@entity.lastState", "Playing"],
|
|
3608
3608
|
["emit", "GAME_LOOP_PAUSE"],
|
|
3609
3609
|
["render-ui", "overlay", {
|
|
3610
|
-
type: "game-
|
|
3610
|
+
type: "game-over-screen",
|
|
3611
3611
|
title: "Paused",
|
|
3612
|
-
|
|
3613
|
-
|
|
3612
|
+
variant: "pause",
|
|
3613
|
+
actions: [
|
|
3614
3614
|
{ event: "RESUME", label: "Resume" },
|
|
3615
3615
|
{ event: "QUIT", label: "Quit" }
|
|
3616
3616
|
]
|
|
@@ -3993,9 +3993,9 @@ var LEVEL_PROGRESS_BEHAVIOR = {
|
|
|
3993
3993
|
event: "INIT",
|
|
3994
3994
|
effects: [
|
|
3995
3995
|
["render-ui", "screen", {
|
|
3996
|
-
type: "
|
|
3996
|
+
type: "game-menu",
|
|
3997
3997
|
title: "Select Level",
|
|
3998
|
-
|
|
3998
|
+
options: "@entity.levels",
|
|
3999
3999
|
onSelect: "SELECT_LEVEL"
|
|
4000
4000
|
}]
|
|
4001
4001
|
]
|