@cratis/scene.model 3.6.0 → 4.0.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/dist/cjs/elements/SceneElement.js +3 -5
- package/dist/cjs/elements/SceneElement.js.map +1 -1
- package/dist/cjs/forms/Form.js +2 -1
- package/dist/cjs/forms/Form.js.map +1 -1
- package/dist/cjs/index.js +46 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interactions/ApplicationTriggerInteractionTrigger.js +10 -0
- package/dist/cjs/interactions/ApplicationTriggerInteractionTrigger.js.map +1 -0
- package/dist/cjs/interactions/Behavior.js +12 -0
- package/dist/cjs/interactions/Behavior.js.map +1 -0
- package/dist/cjs/interactions/BuiltInInteractionTrigger.js +10 -0
- package/dist/cjs/interactions/BuiltInInteractionTrigger.js.map +1 -0
- package/dist/cjs/interactions/CloseDialogAction.js +10 -0
- package/dist/cjs/interactions/CloseDialogAction.js.map +1 -0
- package/dist/cjs/interactions/ConfirmAction.js +11 -0
- package/dist/cjs/interactions/ConfirmAction.js.map +1 -0
- package/dist/cjs/interactions/EventInteractionTrigger.js +10 -0
- package/dist/cjs/interactions/EventInteractionTrigger.js.map +1 -0
- package/dist/cjs/interactions/ExecuteCommandAction.js +11 -0
- package/dist/cjs/interactions/ExecuteCommandAction.js.map +1 -0
- package/dist/cjs/interactions/InteractionAction.js +14 -0
- package/dist/cjs/interactions/InteractionAction.js.map +1 -0
- package/dist/cjs/interactions/InteractionActionKind.js +28 -0
- package/dist/cjs/interactions/InteractionActionKind.js.map +1 -0
- package/dist/cjs/interactions/InteractionArgument.js +11 -0
- package/dist/cjs/interactions/InteractionArgument.js.map +1 -0
- package/dist/cjs/interactions/InteractionBinding.js +12 -0
- package/dist/cjs/interactions/InteractionBinding.js.map +1 -0
- package/dist/cjs/interactions/InteractionMessage.js +12 -0
- package/dist/cjs/interactions/InteractionMessage.js.map +1 -0
- package/dist/cjs/interactions/InteractionTriggerKind.js +24 -0
- package/dist/cjs/interactions/InteractionTriggerKind.js.map +1 -0
- package/dist/cjs/interactions/IntervalInteractionTrigger.js +10 -0
- package/dist/cjs/interactions/IntervalInteractionTrigger.js.map +1 -0
- package/dist/cjs/interactions/NavigateAction.js +11 -0
- package/dist/cjs/interactions/NavigateAction.js.map +1 -0
- package/dist/cjs/interactions/NavigateBackAction.js +10 -0
- package/dist/cjs/interactions/NavigateBackAction.js.map +1 -0
- package/dist/cjs/interactions/NotificationLevel.js +17 -0
- package/dist/cjs/interactions/NotificationLevel.js.map +1 -0
- package/dist/cjs/interactions/NotifyAction.js +12 -0
- package/dist/cjs/interactions/NotifyAction.js.map +1 -0
- package/dist/cjs/interactions/OpenDialogAction.js +11 -0
- package/dist/cjs/interactions/OpenDialogAction.js.map +1 -0
- package/dist/cjs/interactions/RaiseTriggerAction.js +11 -0
- package/dist/cjs/interactions/RaiseTriggerAction.js.map +1 -0
- package/dist/cjs/interactions/RefreshQueryAction.js +11 -0
- package/dist/cjs/interactions/RefreshQueryAction.js.map +1 -0
- package/dist/cjs/interactions/SetStateAction.js +12 -0
- package/dist/cjs/interactions/SetStateAction.js.map +1 -0
- package/dist/cjs/layouts/Layout.js +2 -1
- package/dist/cjs/layouts/Layout.js.map +1 -1
- package/dist/cjs/profiles/UiProfile.js.map +1 -1
- package/dist/cjs/screens/DialogTemplate.js +2 -1
- package/dist/cjs/screens/DialogTemplate.js.map +1 -1
- package/dist/cjs/screens/Screen.js +2 -1
- package/dist/cjs/screens/Screen.js.map +1 -1
- package/dist/cjs/screens/ScreenTemplate.js +2 -1
- package/dist/cjs/screens/ScreenTemplate.js.map +1 -1
- package/dist/cjs/sizeClasses/TargetSizeClass.js +20 -0
- package/dist/cjs/sizeClasses/TargetSizeClass.js.map +1 -0
- package/dist/esm/elements/SceneElement.d.ts +2 -0
- package/dist/esm/elements/SceneElement.d.ts.map +1 -1
- package/dist/esm/elements/SceneElement.js +3 -5
- package/dist/esm/elements/SceneElement.js.map +1 -1
- package/dist/esm/forms/Form.d.ts +2 -0
- package/dist/esm/forms/Form.d.ts.map +1 -1
- package/dist/esm/forms/Form.js +2 -1
- package/dist/esm/forms/Form.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +23 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interactions/ApplicationTriggerInteractionTrigger.d.ts +6 -0
- package/dist/esm/interactions/ApplicationTriggerInteractionTrigger.d.ts.map +1 -0
- package/dist/esm/interactions/ApplicationTriggerInteractionTrigger.js +8 -0
- package/dist/esm/interactions/ApplicationTriggerInteractionTrigger.js.map +1 -0
- package/dist/esm/interactions/Behavior.d.ts +8 -0
- package/dist/esm/interactions/Behavior.d.ts.map +1 -0
- package/dist/esm/interactions/Behavior.js +10 -0
- package/dist/esm/interactions/Behavior.js.map +1 -0
- package/dist/esm/interactions/BuiltInInteractionTrigger.d.ts +7 -0
- package/dist/esm/interactions/BuiltInInteractionTrigger.d.ts.map +1 -0
- package/dist/esm/interactions/BuiltInInteractionTrigger.js +8 -0
- package/dist/esm/interactions/BuiltInInteractionTrigger.js.map +1 -0
- package/dist/esm/interactions/CloseDialogAction.d.ts +5 -0
- package/dist/esm/interactions/CloseDialogAction.d.ts.map +1 -0
- package/dist/esm/interactions/CloseDialogAction.js +8 -0
- package/dist/esm/interactions/CloseDialogAction.js.map +1 -0
- package/dist/esm/interactions/ConfirmAction.d.ts +7 -0
- package/dist/esm/interactions/ConfirmAction.d.ts.map +1 -0
- package/dist/esm/interactions/ConfirmAction.js +9 -0
- package/dist/esm/interactions/ConfirmAction.js.map +1 -0
- package/dist/esm/interactions/EventInteractionTrigger.d.ts +6 -0
- package/dist/esm/interactions/EventInteractionTrigger.d.ts.map +1 -0
- package/dist/esm/interactions/EventInteractionTrigger.js +8 -0
- package/dist/esm/interactions/EventInteractionTrigger.js.map +1 -0
- package/dist/esm/interactions/ExecuteCommandAction.d.ts +6 -0
- package/dist/esm/interactions/ExecuteCommandAction.d.ts.map +1 -0
- package/dist/esm/interactions/ExecuteCommandAction.js +9 -0
- package/dist/esm/interactions/ExecuteCommandAction.js.map +1 -0
- package/dist/esm/interactions/InteractionAction.d.ts +11 -0
- package/dist/esm/interactions/InteractionAction.d.ts.map +1 -0
- package/dist/esm/interactions/InteractionAction.js +12 -0
- package/dist/esm/interactions/InteractionAction.js.map +1 -0
- package/dist/esm/interactions/InteractionActionKind.d.ts +13 -0
- package/dist/esm/interactions/InteractionActionKind.d.ts.map +1 -0
- package/dist/esm/interactions/InteractionActionKind.js +26 -0
- package/dist/esm/interactions/InteractionActionKind.js.map +1 -0
- package/dist/esm/interactions/InteractionArgument.d.ts +7 -0
- package/dist/esm/interactions/InteractionArgument.d.ts.map +1 -0
- package/dist/esm/interactions/InteractionArgument.js +9 -0
- package/dist/esm/interactions/InteractionArgument.js.map +1 -0
- package/dist/esm/interactions/InteractionBinding.d.ts +10 -0
- package/dist/esm/interactions/InteractionBinding.d.ts.map +1 -0
- package/dist/esm/interactions/InteractionBinding.js +10 -0
- package/dist/esm/interactions/InteractionBinding.js.map +1 -0
- package/dist/esm/interactions/InteractionMessage.d.ts +8 -0
- package/dist/esm/interactions/InteractionMessage.d.ts.map +1 -0
- package/dist/esm/interactions/InteractionMessage.js +10 -0
- package/dist/esm/interactions/InteractionMessage.js.map +1 -0
- package/dist/esm/interactions/InteractionTrigger.d.ts +3 -0
- package/dist/esm/interactions/InteractionTrigger.d.ts.map +1 -0
- package/dist/esm/interactions/InteractionTrigger.js +2 -0
- package/dist/esm/interactions/InteractionTrigger.js.map +1 -0
- package/dist/esm/interactions/InteractionTriggerKind.d.ts +12 -0
- package/dist/esm/interactions/InteractionTriggerKind.d.ts.map +1 -0
- package/dist/esm/interactions/InteractionTriggerKind.js +22 -0
- package/dist/esm/interactions/InteractionTriggerKind.js.map +1 -0
- package/dist/esm/interactions/IntervalInteractionTrigger.d.ts +6 -0
- package/dist/esm/interactions/IntervalInteractionTrigger.d.ts.map +1 -0
- package/dist/esm/interactions/IntervalInteractionTrigger.js +8 -0
- package/dist/esm/interactions/IntervalInteractionTrigger.js.map +1 -0
- package/dist/esm/interactions/NavigateAction.d.ts +6 -0
- package/dist/esm/interactions/NavigateAction.d.ts.map +1 -0
- package/dist/esm/interactions/NavigateAction.js +9 -0
- package/dist/esm/interactions/NavigateAction.js.map +1 -0
- package/dist/esm/interactions/NavigateBackAction.d.ts +5 -0
- package/dist/esm/interactions/NavigateBackAction.d.ts.map +1 -0
- package/dist/esm/interactions/NavigateBackAction.js +8 -0
- package/dist/esm/interactions/NavigateBackAction.js.map +1 -0
- package/dist/esm/interactions/NotificationLevel.d.ts +6 -0
- package/dist/esm/interactions/NotificationLevel.d.ts.map +1 -0
- package/dist/esm/interactions/NotificationLevel.js +15 -0
- package/dist/esm/interactions/NotificationLevel.js.map +1 -0
- package/dist/esm/interactions/NotifyAction.d.ts +9 -0
- package/dist/esm/interactions/NotifyAction.d.ts.map +1 -0
- package/dist/esm/interactions/NotifyAction.js +10 -0
- package/dist/esm/interactions/NotifyAction.js.map +1 -0
- package/dist/esm/interactions/OpenDialogAction.d.ts +6 -0
- package/dist/esm/interactions/OpenDialogAction.d.ts.map +1 -0
- package/dist/esm/interactions/OpenDialogAction.js +9 -0
- package/dist/esm/interactions/OpenDialogAction.js.map +1 -0
- package/dist/esm/interactions/RaiseTriggerAction.d.ts +6 -0
- package/dist/esm/interactions/RaiseTriggerAction.d.ts.map +1 -0
- package/dist/esm/interactions/RaiseTriggerAction.js +9 -0
- package/dist/esm/interactions/RaiseTriggerAction.js.map +1 -0
- package/dist/esm/interactions/RefreshQueryAction.d.ts +6 -0
- package/dist/esm/interactions/RefreshQueryAction.d.ts.map +1 -0
- package/dist/esm/interactions/RefreshQueryAction.js +9 -0
- package/dist/esm/interactions/RefreshQueryAction.js.map +1 -0
- package/dist/esm/interactions/SetStateAction.d.ts +8 -0
- package/dist/esm/interactions/SetStateAction.d.ts.map +1 -0
- package/dist/esm/interactions/SetStateAction.js +10 -0
- package/dist/esm/interactions/SetStateAction.js.map +1 -0
- package/dist/esm/interactions/index.d.ts +24 -0
- package/dist/esm/interactions/index.d.ts.map +1 -0
- package/dist/esm/interactions/index.js +24 -0
- package/dist/esm/interactions/index.js.map +1 -0
- package/dist/esm/layouts/Layout.d.ts +2 -0
- package/dist/esm/layouts/Layout.d.ts.map +1 -1
- package/dist/esm/layouts/Layout.js +2 -1
- package/dist/esm/layouts/Layout.js.map +1 -1
- package/dist/esm/profiles/UiProfile.d.ts +2 -2
- package/dist/esm/profiles/UiProfile.d.ts.map +1 -1
- package/dist/esm/profiles/UiProfile.js.map +1 -1
- package/dist/esm/screens/DialogTemplate.d.ts +2 -0
- package/dist/esm/screens/DialogTemplate.d.ts.map +1 -1
- package/dist/esm/screens/DialogTemplate.js +2 -1
- package/dist/esm/screens/DialogTemplate.js.map +1 -1
- package/dist/esm/screens/Screen.d.ts +2 -0
- package/dist/esm/screens/Screen.d.ts.map +1 -1
- package/dist/esm/screens/Screen.js +2 -1
- package/dist/esm/screens/Screen.js.map +1 -1
- package/dist/esm/screens/ScreenTemplate.d.ts +2 -0
- package/dist/esm/screens/ScreenTemplate.d.ts.map +1 -1
- package/dist/esm/screens/ScreenTemplate.js +2 -1
- package/dist/esm/screens/ScreenTemplate.js.map +1 -1
- package/dist/esm/sizeClasses/TargetSizeClass.d.ts +6 -0
- package/dist/esm/sizeClasses/TargetSizeClass.d.ts.map +1 -0
- package/dist/esm/sizeClasses/TargetSizeClass.js +18 -0
- package/dist/esm/sizeClasses/TargetSizeClass.js.map +1 -0
- package/dist/esm/sizeClasses/index.d.ts +1 -0
- package/dist/esm/sizeClasses/index.d.ts.map +1 -1
- package/dist/esm/sizeClasses/index.js +1 -0
- package/dist/esm/sizeClasses/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/elements/SceneElement.ts +8 -1
- package/forms/Form.ts +7 -1
- package/index.ts +1 -0
- package/interactions/ApplicationTriggerInteractionTrigger.ts +13 -0
- package/interactions/Behavior.ts +19 -0
- package/interactions/BuiltInInteractionTrigger.ts +14 -0
- package/interactions/CloseDialogAction.ts +11 -0
- package/interactions/ConfirmAction.ts +14 -0
- package/interactions/EventInteractionTrigger.ts +13 -0
- package/interactions/ExecuteCommandAction.ts +13 -0
- package/interactions/InteractionAction.ts +22 -0
- package/interactions/InteractionActionKind.ts +24 -0
- package/interactions/InteractionArgument.ts +14 -0
- package/interactions/InteractionBinding.ts +17 -0
- package/interactions/InteractionMessage.ts +16 -0
- package/interactions/InteractionTrigger.ts +10 -0
- package/interactions/InteractionTriggerKind.ts +20 -0
- package/interactions/IntervalInteractionTrigger.ts +13 -0
- package/interactions/NavigateAction.ts +13 -0
- package/interactions/NavigateBackAction.ts +11 -0
- package/interactions/NotificationLevel.ts +13 -0
- package/interactions/NotifyAction.ts +16 -0
- package/interactions/OpenDialogAction.ts +13 -0
- package/interactions/RaiseTriggerAction.ts +13 -0
- package/interactions/RefreshQueryAction.ts +13 -0
- package/interactions/SetStateAction.ts +15 -0
- package/interactions/index.ts +26 -0
- package/layouts/Layout.ts +7 -1
- package/package.json +1 -1
- package/profiles/UiProfile.ts +2 -2
- package/screens/DialogTemplate.ts +7 -0
- package/screens/Screen.ts +7 -1
- package/screens/ScreenTemplate.ts +7 -0
- package/sizeClasses/TargetSizeClass.ts +16 -0
- package/sizeClasses/index.ts +1 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const InteractionMessagePropertyNames = [
|
|
4
|
+
'text',
|
|
5
|
+
'stringsKey',
|
|
6
|
+
'binding'
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export { InteractionMessagePropertyNames };
|
|
10
|
+
//# sourceMappingURL=InteractionMessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionMessage.js","sources":["../../../interactions/InteractionMessage.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { BindingExpression } from '../common';\n\n/**\n * The text an action shows: a literal, a localization key, or a binding resolved when the action runs. Exactly\n * one is set.\n */\nexport interface InteractionMessage {\n text?: string;\n stringsKey?: string;\n binding?: BindingExpression;\n}\n\nexport const InteractionMessagePropertyNames: (keyof InteractionMessage)[] = ['text', 'stringsKey', 'binding'];\n"],"names":["InteractionMessagePropertyNames"],"mappings":"AAAA;AACA;MAcaA,+BAAAA,GAAgE;AAAC,IAAA,MAAA;AAAQ,IAAA,YAAA;AAAc,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionTrigger.d.ts","sourceRoot":"","sources":["../../../interactions/InteractionTrigger.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,kBAAkB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionTrigger.js","sourceRoot":"","sources":["../../../interactions/InteractionTrigger.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum InteractionTriggerKind {
|
|
2
|
+
Click = "Click",
|
|
3
|
+
DoubleClick = "DoubleClick",
|
|
4
|
+
Select = "Select",
|
|
5
|
+
Submit = "Submit",
|
|
6
|
+
Change = "Change",
|
|
7
|
+
Load = "Load",
|
|
8
|
+
Unload = "Unload",
|
|
9
|
+
Enter = "Enter",
|
|
10
|
+
Leave = "Leave"
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=InteractionTriggerKind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionTriggerKind.d.ts","sourceRoot":"","sources":["../../../interactions/InteractionTriggerKind.ts"],"names":[],"mappings":"AASA,oBAAY,sBAAsB;IAC9B,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* The built-in interaction kinds - what a user or a lifecycle did, rather than something the document declared.
|
|
5
|
+
*
|
|
6
|
+
* Append only: a renderer that does not know a member reports it rather than guessing, so members are never
|
|
7
|
+
* renumbered or reordered.
|
|
8
|
+
*/ var InteractionTriggerKind = /*#__PURE__*/ function(InteractionTriggerKind) {
|
|
9
|
+
InteractionTriggerKind["Click"] = "Click";
|
|
10
|
+
InteractionTriggerKind["DoubleClick"] = "DoubleClick";
|
|
11
|
+
InteractionTriggerKind["Select"] = "Select";
|
|
12
|
+
InteractionTriggerKind["Submit"] = "Submit";
|
|
13
|
+
InteractionTriggerKind["Change"] = "Change";
|
|
14
|
+
InteractionTriggerKind["Load"] = "Load";
|
|
15
|
+
InteractionTriggerKind["Unload"] = "Unload";
|
|
16
|
+
InteractionTriggerKind["Enter"] = "Enter";
|
|
17
|
+
InteractionTriggerKind["Leave"] = "Leave";
|
|
18
|
+
return InteractionTriggerKind;
|
|
19
|
+
}({});
|
|
20
|
+
|
|
21
|
+
export { InteractionTriggerKind };
|
|
22
|
+
//# sourceMappingURL=InteractionTriggerKind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionTriggerKind.js","sources":["../../../interactions/InteractionTriggerKind.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * The built-in interaction kinds - what a user or a lifecycle did, rather than something the document declared.\n *\n * Append only: a renderer that does not know a member reports it rather than guessing, so members are never\n * renumbered or reordered.\n */\nexport enum InteractionTriggerKind {\n Click = 'Click',\n DoubleClick = 'DoubleClick',\n Select = 'Select',\n Submit = 'Submit',\n Change = 'Change',\n Load = 'Load',\n Unload = 'Unload',\n Enter = 'Enter',\n Leave = 'Leave',\n}\n"],"names":["InteractionTriggerKind"],"mappings":"AAAA;AACA;AAEA;;;;;IAMO,IAAKA,sBAAAA,iBAAAA,SAAAA,sBAAAA,EAAAA;;;;;;;;;;AAAAA,IAAAA,OAAAA,sBAAAA;AAUX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InteractionTrigger } from './InteractionTrigger';
|
|
2
|
+
export interface IntervalInteractionTrigger extends InteractionTrigger {
|
|
3
|
+
seconds: number;
|
|
4
|
+
}
|
|
5
|
+
export declare const IntervalInteractionTriggerPropertyNames: (keyof IntervalInteractionTrigger)[];
|
|
6
|
+
//# sourceMappingURL=IntervalInteractionTrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntervalInteractionTrigger.d.ts","sourceRoot":"","sources":["../../../interactions/IntervalInteractionTrigger.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAK1D,MAAM,WAAW,0BAA2B,SAAQ,kBAAkB;IAClE,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,uCAAuC,EAAE,CAAC,MAAM,0BAA0B,CAAC,EAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const IntervalInteractionTriggerPropertyNames = [
|
|
4
|
+
'seconds'
|
|
5
|
+
];
|
|
6
|
+
|
|
7
|
+
export { IntervalInteractionTriggerPropertyNames };
|
|
8
|
+
//# sourceMappingURL=IntervalInteractionTrigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntervalInteractionTrigger.js","sources":["../../../interactions/IntervalInteractionTrigger.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { InteractionTrigger } from './InteractionTrigger';\n\n/**\n * An interaction started by an elapsed interval, normalized to seconds so nothing downstream carries a unit.\n */\nexport interface IntervalInteractionTrigger extends InteractionTrigger {\n seconds: number;\n}\n\nexport const IntervalInteractionTriggerPropertyNames: (keyof IntervalInteractionTrigger)[] = ['seconds'];\n"],"names":["IntervalInteractionTriggerPropertyNames"],"mappings":"AAAA;AACA;MAWaA,uCAAAA,GAAgF;AAAC,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigateAction.d.ts","sourceRoot":"","sources":["../../../interactions/NavigateAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACrD,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,cAAc,CAAC,EAAuB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const NavigateActionPropertyNames = [
|
|
4
|
+
'screen',
|
|
5
|
+
'kind'
|
|
6
|
+
];
|
|
7
|
+
|
|
8
|
+
export { NavigateActionPropertyNames };
|
|
9
|
+
//# sourceMappingURL=NavigateAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigateAction.js","sources":["../../../interactions/NavigateAction.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { InteractionAction } from './InteractionAction';\n\n/**\n * Changes the active screen. The screen is named, never addressed - turning that into a URL is a renderer's job.\n */\nexport interface NavigateAction extends InteractionAction {\n screen: string;\n}\n\nexport const NavigateActionPropertyNames: (keyof NavigateAction)[] = ['screen', 'kind'];\n"],"names":["NavigateActionPropertyNames"],"mappings":"AAAA;AACA;MAWaA,2BAAAA,GAAwD;AAAC,IAAA,QAAA;AAAU,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigateBackAction.d.ts","sourceRoot":"","sources":["../../../interactions/NavigateBackAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAEhE,eAAO,MAAM,+BAA+B,EAAE,CAAC,MAAM,kBAAkB,CAAC,EAAa,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const NavigateBackActionPropertyNames = [
|
|
4
|
+
'kind'
|
|
5
|
+
];
|
|
6
|
+
|
|
7
|
+
export { NavigateBackActionPropertyNames };
|
|
8
|
+
//# sourceMappingURL=NavigateBackAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigateBackAction.js","sources":["../../../interactions/NavigateBackAction.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { InteractionAction } from './InteractionAction';\n\n/**\n * Pops navigation history.\n */\nexport interface NavigateBackAction extends InteractionAction {}\n\nexport const NavigateBackActionPropertyNames: (keyof NavigateBackAction)[] = ['kind'];\n"],"names":["NavigateBackActionPropertyNames"],"mappings":"AAAA;AACA;MASaA,+BAAAA,GAAgE;AAAC,IAAA;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationLevel.d.ts","sourceRoot":"","sources":["../../../interactions/NotificationLevel.ts"],"names":[],"mappings":"AAQA,oBAAY,iBAAiB;IACzB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
/**
|
|
4
|
+
* How prominently a {@link NotifyAction} surfaces its message.
|
|
5
|
+
*
|
|
6
|
+
* Append only.
|
|
7
|
+
*/ var NotificationLevel = /*#__PURE__*/ function(NotificationLevel) {
|
|
8
|
+
NotificationLevel["Info"] = "Info";
|
|
9
|
+
NotificationLevel["Warning"] = "Warning";
|
|
10
|
+
NotificationLevel["Error"] = "Error";
|
|
11
|
+
return NotificationLevel;
|
|
12
|
+
}({});
|
|
13
|
+
|
|
14
|
+
export { NotificationLevel };
|
|
15
|
+
//# sourceMappingURL=NotificationLevel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationLevel.js","sources":["../../../interactions/NotificationLevel.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n/**\n * How prominently a {@link NotifyAction} surfaces its message.\n *\n * Append only.\n */\nexport enum NotificationLevel {\n Info = 'Info',\n Warning = 'Warning',\n Error = 'Error',\n}\n"],"names":["NotificationLevel"],"mappings":"AAAA;AACA;AAEA;;;;IAKO,IAAKA,iBAAAA,iBAAAA,SAAAA,iBAAAA,EAAAA;;;;AAAAA,IAAAA,OAAAA,iBAAAA;AAIX,CAAA,CAAA,EAAA;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InteractionAction } from './InteractionAction';
|
|
2
|
+
import { InteractionMessage } from './InteractionMessage';
|
|
3
|
+
import { NotificationLevel } from './NotificationLevel';
|
|
4
|
+
export interface NotifyAction extends InteractionAction {
|
|
5
|
+
level: NotificationLevel;
|
|
6
|
+
message: InteractionMessage;
|
|
7
|
+
}
|
|
8
|
+
export declare const NotifyActionPropertyNames: (keyof NotifyAction)[];
|
|
9
|
+
//# sourceMappingURL=NotifyAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotifyAction.d.ts","sourceRoot":"","sources":["../../../interactions/NotifyAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,WAAW,YAAa,SAAQ,iBAAiB;IACnD,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAED,eAAO,MAAM,yBAAyB,EAAE,CAAC,MAAM,YAAY,CAAC,EAAiC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const NotifyActionPropertyNames = [
|
|
4
|
+
'level',
|
|
5
|
+
'message',
|
|
6
|
+
'kind'
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export { NotifyActionPropertyNames };
|
|
10
|
+
//# sourceMappingURL=NotifyAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotifyAction.js","sources":["../../../interactions/NotifyAction.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { InteractionAction } from './InteractionAction';\nimport { InteractionMessage } from './InteractionMessage';\nimport { NotificationLevel } from './NotificationLevel';\n\n/**\n * Surfaces a message.\n */\nexport interface NotifyAction extends InteractionAction {\n level: NotificationLevel;\n message: InteractionMessage;\n}\n\nexport const NotifyActionPropertyNames: (keyof NotifyAction)[] = ['level', 'message', 'kind'];\n"],"names":["NotifyActionPropertyNames"],"mappings":"AAAA;AACA;MAcaA,yBAAAA,GAAoD;AAAC,IAAA,OAAA;AAAS,IAAA,SAAA;AAAW,IAAA;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InteractionAction } from './InteractionAction';
|
|
2
|
+
export interface OpenDialogAction extends InteractionAction {
|
|
3
|
+
dialogTemplate: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const OpenDialogActionPropertyNames: (keyof OpenDialogAction)[];
|
|
6
|
+
//# sourceMappingURL=OpenDialogAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenDialogAction.d.ts","sourceRoot":"","sources":["../../../interactions/OpenDialogAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACvD,cAAc,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,6BAA6B,EAAE,CAAC,MAAM,gBAAgB,CAAC,EAA+B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const OpenDialogActionPropertyNames = [
|
|
4
|
+
'dialogTemplate',
|
|
5
|
+
'kind'
|
|
6
|
+
];
|
|
7
|
+
|
|
8
|
+
export { OpenDialogActionPropertyNames };
|
|
9
|
+
//# sourceMappingURL=OpenDialogAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OpenDialogAction.js","sources":["../../../interactions/OpenDialogAction.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { InteractionAction } from './InteractionAction';\n\n/**\n * Opens a dialog over the application.\n */\nexport interface OpenDialogAction extends InteractionAction {\n dialogTemplate: string;\n}\n\nexport const OpenDialogActionPropertyNames: (keyof OpenDialogAction)[] = ['dialogTemplate', 'kind'];\n"],"names":["OpenDialogActionPropertyNames"],"mappings":"AAAA;AACA;MAWaA,6BAAAA,GAA4D;AAAC,IAAA,gBAAA;AAAkB,IAAA;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InteractionAction } from './InteractionAction';
|
|
2
|
+
export interface RaiseTriggerAction extends InteractionAction {
|
|
3
|
+
trigger: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const RaiseTriggerActionPropertyNames: (keyof RaiseTriggerAction)[];
|
|
6
|
+
//# sourceMappingURL=RaiseTriggerAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RaiseTriggerAction.d.ts","sourceRoot":"","sources":["../../../interactions/RaiseTriggerAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IACzD,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,+BAA+B,EAAE,CAAC,MAAM,kBAAkB,CAAC,EAAwB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const RaiseTriggerActionPropertyNames = [
|
|
4
|
+
'trigger',
|
|
5
|
+
'kind'
|
|
6
|
+
];
|
|
7
|
+
|
|
8
|
+
export { RaiseTriggerActionPropertyNames };
|
|
9
|
+
//# sourceMappingURL=RaiseTriggerAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RaiseTriggerAction.js","sources":["../../../interactions/RaiseTriggerAction.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { InteractionAction } from './InteractionAction';\n\n/**\n * Fires a declared application trigger.\n */\nexport interface RaiseTriggerAction extends InteractionAction {\n trigger: string;\n}\n\nexport const RaiseTriggerActionPropertyNames: (keyof RaiseTriggerAction)[] = ['trigger', 'kind'];\n"],"names":["RaiseTriggerActionPropertyNames"],"mappings":"AAAA;AACA;MAWaA,+BAAAA,GAAgE;AAAC,IAAA,SAAA;AAAW,IAAA;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InteractionAction } from './InteractionAction';
|
|
2
|
+
export interface RefreshQueryAction extends InteractionAction {
|
|
3
|
+
query: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const RefreshQueryActionPropertyNames: (keyof RefreshQueryAction)[];
|
|
6
|
+
//# sourceMappingURL=RefreshQueryAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefreshQueryAction.d.ts","sourceRoot":"","sources":["../../../interactions/RefreshQueryAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;IACzD,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,+BAA+B,EAAE,CAAC,MAAM,kBAAkB,CAAC,EAAsB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const RefreshQueryActionPropertyNames = [
|
|
4
|
+
'query',
|
|
5
|
+
'kind'
|
|
6
|
+
];
|
|
7
|
+
|
|
8
|
+
export { RefreshQueryActionPropertyNames };
|
|
9
|
+
//# sourceMappingURL=RefreshQueryAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefreshQueryAction.js","sources":["../../../interactions/RefreshQueryAction.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { InteractionAction } from './InteractionAction';\n\n/**\n * Re-runs a query-backed element.\n */\nexport interface RefreshQueryAction extends InteractionAction {\n query: string;\n}\n\nexport const RefreshQueryActionPropertyNames: (keyof RefreshQueryAction)[] = ['query', 'kind'];\n"],"names":["RefreshQueryActionPropertyNames"],"mappings":"AAAA;AACA;MAWaA,+BAAAA,GAAgE;AAAC,IAAA,OAAA;AAAS,IAAA;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BindingExpression } from '../common';
|
|
2
|
+
import { InteractionAction } from './InteractionAction';
|
|
3
|
+
export interface SetStateAction extends InteractionAction {
|
|
4
|
+
target: string;
|
|
5
|
+
value: BindingExpression;
|
|
6
|
+
}
|
|
7
|
+
export declare const SetStateActionPropertyNames: (keyof SetStateAction)[];
|
|
8
|
+
//# sourceMappingURL=SetStateAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetStateAction.d.ts","sourceRoot":"","sources":["../../../interactions/SetStateAction.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAKxD,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,iBAAiB,CAAC;CAC5B;AAED,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,cAAc,CAAC,EAAgC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
const SetStateActionPropertyNames = [
|
|
4
|
+
'target',
|
|
5
|
+
'value',
|
|
6
|
+
'kind'
|
|
7
|
+
];
|
|
8
|
+
|
|
9
|
+
export { SetStateActionPropertyNames };
|
|
10
|
+
//# sourceMappingURL=SetStateAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SetStateAction.js","sources":["../../../interactions/SetStateAction.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { BindingExpression } from '../common';\nimport { InteractionAction } from './InteractionAction';\n\n/**\n * Writes screen state.\n */\nexport interface SetStateAction extends InteractionAction {\n target: string;\n value: BindingExpression;\n}\n\nexport const SetStateActionPropertyNames: (keyof SetStateAction)[] = ['target', 'value', 'kind'];\n"],"names":["SetStateActionPropertyNames"],"mappings":"AAAA;AACA;MAaaA,2BAAAA,GAAwD;AAAC,IAAA,QAAA;AAAU,IAAA,OAAA;AAAS,IAAA;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './InteractionTriggerKind';
|
|
2
|
+
export * from './NotificationLevel';
|
|
3
|
+
export * from './InteractionTrigger';
|
|
4
|
+
export * from './BuiltInInteractionTrigger';
|
|
5
|
+
export * from './EventInteractionTrigger';
|
|
6
|
+
export * from './IntervalInteractionTrigger';
|
|
7
|
+
export * from './ApplicationTriggerInteractionTrigger';
|
|
8
|
+
export * from './InteractionMessage';
|
|
9
|
+
export * from './InteractionArgument';
|
|
10
|
+
export * from './InteractionActionKind';
|
|
11
|
+
export * from './InteractionAction';
|
|
12
|
+
export * from './ExecuteCommandAction';
|
|
13
|
+
export * from './NavigateAction';
|
|
14
|
+
export * from './NavigateBackAction';
|
|
15
|
+
export * from './OpenDialogAction';
|
|
16
|
+
export * from './CloseDialogAction';
|
|
17
|
+
export * from './RefreshQueryAction';
|
|
18
|
+
export * from './SetStateAction';
|
|
19
|
+
export * from './NotifyAction';
|
|
20
|
+
export * from './ConfirmAction';
|
|
21
|
+
export * from './RaiseTriggerAction';
|
|
22
|
+
export * from './InteractionBinding';
|
|
23
|
+
export * from './Behavior';
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../interactions/index.ts"],"names":[],"mappings":"AAGA,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './InteractionTriggerKind';
|
|
2
|
+
export * from './NotificationLevel';
|
|
3
|
+
export * from './InteractionTrigger';
|
|
4
|
+
export * from './BuiltInInteractionTrigger';
|
|
5
|
+
export * from './EventInteractionTrigger';
|
|
6
|
+
export * from './IntervalInteractionTrigger';
|
|
7
|
+
export * from './ApplicationTriggerInteractionTrigger';
|
|
8
|
+
export * from './InteractionMessage';
|
|
9
|
+
export * from './InteractionArgument';
|
|
10
|
+
export * from './InteractionActionKind';
|
|
11
|
+
export * from './InteractionAction';
|
|
12
|
+
export * from './ExecuteCommandAction';
|
|
13
|
+
export * from './NavigateAction';
|
|
14
|
+
export * from './NavigateBackAction';
|
|
15
|
+
export * from './OpenDialogAction';
|
|
16
|
+
export * from './CloseDialogAction';
|
|
17
|
+
export * from './RefreshQueryAction';
|
|
18
|
+
export * from './SetStateAction';
|
|
19
|
+
export * from './NotifyAction';
|
|
20
|
+
export * from './ConfirmAction';
|
|
21
|
+
export * from './RaiseTriggerAction';
|
|
22
|
+
export * from './InteractionBinding';
|
|
23
|
+
export * from './Behavior';
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../interactions/index.ts"],"names":[],"mappings":"AAGA,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Arrangement } from './Arrangement';
|
|
2
2
|
import { Slot } from './Slot';
|
|
3
|
+
import { Behavior } from '../interactions';
|
|
3
4
|
export interface Layout {
|
|
4
5
|
name: string;
|
|
5
6
|
slots: Slot[];
|
|
6
7
|
arrangement?: Arrangement;
|
|
8
|
+
behaviors?: Behavior[];
|
|
7
9
|
}
|
|
8
10
|
export declare const LayoutPropertyNames: (keyof Layout)[];
|
|
9
11
|
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../layouts/Layout.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../layouts/Layout.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAO3C,MAAM,WAAW,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,EAAE,CAAC;IASd,WAAW,CAAC,EAAE,WAAW,CAAC;IAK1B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,CAAC,MAAM,MAAM,CAAC,EAAkD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.js","sources":["../../../layouts/Layout.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { Slot } from './Slot';\n\n/**\n * A named template of slots that a {@link Screen} fills with content. Mirrors Screenplay's `layout`\n * construct: a bare layout with plain slots is a special case of a layout whose slots all use the\n * default arrangement.\n */\nexport interface Layout {\n name: string;\n slots: Slot[];\n\n /**\n * How the layout's own `slots` position relative to each other - a {@link FlowArrangement} (leaves\n * are {@link FlowSlotLeaf}) or {@link FreeformSlotArrangement}, or `undefined` for the slots'\n * declaration order with no further positioning information. Distinct from each {@link Slot}'s own\n * `arrangement`, which positions that one slot's filled content instead of positioning the slots\n * themselves.\n */\n arrangement?: Arrangement;\n}\n\nexport const LayoutPropertyNames: (keyof Layout)[] = ['name', 'slots', 'arrangement'];\n"],"names":["LayoutPropertyNames"],"mappings":"AAAA;AACA;
|
|
1
|
+
{"version":3,"file":"Layout.js","sources":["../../../layouts/Layout.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Arrangement } from './Arrangement';\nimport { Slot } from './Slot';\nimport { Behavior } from '../interactions';\n\n/**\n * A named template of slots that a {@link Screen} fills with content. Mirrors Screenplay's `layout`\n * construct: a bare layout with plain slots is a special case of a layout whose slots all use the\n * default arrangement.\n */\nexport interface Layout {\n name: string;\n slots: Slot[];\n\n /**\n * How the layout's own `slots` position relative to each other - a {@link FlowArrangement} (leaves\n * are {@link FlowSlotLeaf}) or {@link FreeformSlotArrangement}, or `undefined` for the slots'\n * declaration order with no further positioning information. Distinct from each {@link Slot}'s own\n * `arrangement`, which positions that one slot's filled content instead of positioning the slots\n * themselves.\n */\n arrangement?: Arrangement;\n /**\n * The behaviors attached here - what happens when someone interacts with it. Additive with whatever is\n * attached further out or further in.\n */\n behaviors?: Behavior[];\n}\n\nexport const LayoutPropertyNames: (keyof Layout)[] = ['name', 'slots', 'arrangement', 'behaviors'];\n"],"names":["LayoutPropertyNames"],"mappings":"AAAA;AACA;MA8BaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,OAAA;AAAS,IAAA,aAAA;AAAe,IAAA;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TargetSizeClass } from '../sizeClasses';
|
|
2
2
|
export interface UiProfile {
|
|
3
3
|
name: string;
|
|
4
4
|
targetPlatform: string;
|
|
5
5
|
packages: string[];
|
|
6
|
-
defaultSizeClass?:
|
|
6
|
+
defaultSizeClass?: TargetSizeClass;
|
|
7
7
|
layout?: string;
|
|
8
8
|
theme?: string;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiProfile.d.ts","sourceRoot":"","sources":["../../../profiles/UiProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"UiProfile.d.ts","sourceRoot":"","sources":["../../../profiles/UiProfile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAajD,MAAM,WAAW,SAAS;IAItB,IAAI,EAAE,MAAM,CAAC;IAKb,cAAc,EAAE,MAAM,CAAC;IAKvB,QAAQ,EAAE,MAAM,EAAE,CAAC;IAKnB,gBAAgB,CAAC,EAAE,eAAe,CAAC;IAMnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,EAAE,CAAC,MAAM,SAAS,CAAC,EAOrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiProfile.js","sources":["../../../profiles/UiProfile.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport {
|
|
1
|
+
{"version":3,"file":"UiProfile.js","sources":["../../../profiles/UiProfile.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { TargetSizeClass } from '../sizeClasses';\n\n/**\n * A named target: a platform, a default size class, an ordered list of component packages, and the\n * application shell and visual theme it selects. Declaration order in `packages` is override priority — a\n * later package shadows an earlier one when both resolve the same bare component name. `core` is always\n * the final fallback, so a minimum vocabulary resolves regardless of which packages a profile lists.\n *\n * A profile is where the choices that make a description concrete are made: which component vocabulary,\n * which shell, which theme. Deliberately none of them are stated by a {@link Screen} — that is what keeps\n * a screen portable across targets, and what lets one application ship a different shell to the web than\n * to a phone.\n */\nexport interface UiProfile {\n /**\n * The profile's name.\n */\n name: string;\n\n /**\n * The platform this profile targets (e.g. `web`, `ios`, `android`, `desktop`).\n */\n targetPlatform: string;\n\n /**\n * The component packages this profile draws from, in override-priority order.\n */\n packages: string[];\n\n /**\n * The size class assumed when the renderer cannot otherwise determine one.\n */\n defaultSizeClass?: TargetSizeClass;\n\n /**\n * The name of the {@link Layout} this profile renders inside — the application's base navigational\n * shell, normally provided by a blueprint in `packages`. Absent when the profile does not select one.\n */\n layout?: string;\n\n /**\n * The name of the {@link Theme} this profile applies, or absent when it selects none. A theme is only\n * meaningful relative to a set of packages, which is why it is chosen here rather than by a screen.\n */\n theme?: string;\n}\n\nexport const UiProfilePropertyNames: (keyof UiProfile)[] = [\n 'name',\n 'targetPlatform',\n 'packages',\n 'defaultSizeClass',\n 'layout',\n 'theme',\n];\n"],"names":["UiProfilePropertyNames"],"mappings":"AAAA;AACA;MAiDaA,sBAAAA,GAA8C;AACvD,IAAA,MAAA;AACA,IAAA,gBAAA;AACA,IAAA,UAAA;AACA,IAAA,kBAAA;AACA,IAAA,QAAA;AACA,IAAA;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SceneElement } from '../elements';
|
|
2
2
|
import { Arrangement, Slot } from '../layouts';
|
|
3
|
+
import { Behavior } from '../interactions';
|
|
3
4
|
export interface DialogTemplate {
|
|
4
5
|
name: string;
|
|
5
6
|
slots: Slot[];
|
|
@@ -7,6 +8,7 @@ export interface DialogTemplate {
|
|
|
7
8
|
content?: Record<string, SceneElement[]>;
|
|
8
9
|
displayName?: string;
|
|
9
10
|
description?: string;
|
|
11
|
+
behaviors?: Behavior[];
|
|
10
12
|
}
|
|
11
13
|
export declare const DialogTemplatePropertyNames: (keyof DialogTemplate)[];
|
|
12
14
|
//# sourceMappingURL=DialogTemplate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTemplate.d.ts","sourceRoot":"","sources":["../../../screens/DialogTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"DialogTemplate.d.ts","sourceRoot":"","sources":["../../../screens/DialogTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAW3C,MAAM,WAAW,cAAc;IAI3B,IAAI,EAAE,MAAM,CAAC;IAKb,KAAK,EAAE,IAAI,EAAE,CAAC;IAMd,WAAW,CAAC,EAAE,WAAW,CAAC;IAM1B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IAKzC,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC1B;AAED,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,cAAc,CAAC,EAQ/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogTemplate.js","sources":["../../../screens/DialogTemplate.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\n\n/**\n * A reusable dialog structure — the same idea as a {@link ScreenTemplate}, for content that opens over an\n * application rather than sitting inside it.\n *\n * A dialog has no `fitsSlot` because it occupies no slot: it is an overlay, summoned by something rather\n * than placed by a containing layout. Everything else is the same, which is deliberate — a confirmation\n * dialog and a detail screen are both \"slots with an arrangement, filled with content\", and there is no\n * reason for an author to learn that twice.\n */\nexport interface DialogTemplate {\n /**\n * The template's name.\n */\n name: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other. Absent for declaration order with\n * no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — a dialog's own chrome, such as its header\n * and button bar.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n}\n\nexport const DialogTemplatePropertyNames: (keyof DialogTemplate)[] = [\n 'name',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n];\n"],"names":["DialogTemplatePropertyNames"],"mappings":"AAAA;AACA;
|
|
1
|
+
{"version":3,"file":"DialogTemplate.js","sources":["../../../screens/DialogTemplate.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Arrangement, Slot } from '../layouts';\nimport { Behavior } from '../interactions';\n\n/**\n * A reusable dialog structure — the same idea as a {@link ScreenTemplate}, for content that opens over an\n * application rather than sitting inside it.\n *\n * A dialog has no `fitsSlot` because it occupies no slot: it is an overlay, summoned by something rather\n * than placed by a containing layout. Everything else is the same, which is deliberate — a confirmation\n * dialog and a detail screen are both \"slots with an arrangement, filled with content\", and there is no\n * reason for an author to learn that twice.\n */\nexport interface DialogTemplate {\n /**\n * The template's name.\n */\n name: string;\n\n /**\n * The slots this template offers to whatever it contains, in declaration order.\n */\n slots: Slot[];\n\n /**\n * How this template's own `slots` position relative to each other. Absent for declaration order with\n * no further positioning.\n */\n arrangement?: Arrangement;\n\n /**\n * Content the template itself provides, keyed by slot name — a dialog's own chrome, such as its header\n * and button bar.\n */\n content?: Record<string, SceneElement[]>;\n\n /**\n * A human-readable name for a template picker, falling back to `name`.\n */\n displayName?: string;\n\n /**\n * A one-line description for a template picker.\n */\n description?: string;\n /**\n * The behaviors attached here - what happens when someone interacts with it. Additive with whatever is\n * attached further out or further in.\n */\n behaviors?: Behavior[];\n}\n\nexport const DialogTemplatePropertyNames: (keyof DialogTemplate)[] = [\n 'name',\n 'slots',\n 'arrangement',\n 'content',\n 'displayName',\n 'description',\n 'behaviors',\n];\n"],"names":["DialogTemplatePropertyNames"],"mappings":"AAAA;AACA;MAsDaA,2BAAAA,GAAwD;AACjE,IAAA,MAAA;AACA,IAAA,OAAA;AACA,IAAA,aAAA;AACA,IAAA,SAAA;AACA,IAAA,aAAA;AACA,IAAA,aAAA;AACA,IAAA;;;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SceneElement } from '../elements';
|
|
2
2
|
import { Form } from '../forms';
|
|
3
3
|
import { Contribution } from '../contributionPoints';
|
|
4
|
+
import { Behavior } from '../interactions';
|
|
4
5
|
export interface Screen {
|
|
5
6
|
name: string;
|
|
6
7
|
layout: string;
|
|
@@ -8,6 +9,7 @@ export interface Screen {
|
|
|
8
9
|
forms: Form[];
|
|
9
10
|
contributions: Contribution[];
|
|
10
11
|
screenTemplate?: string;
|
|
12
|
+
behaviors?: Behavior[];
|
|
11
13
|
}
|
|
12
14
|
export declare const ScreenPropertyNames: (keyof Screen)[];
|
|
13
15
|
//# sourceMappingURL=Screen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../screens/Screen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../screens/Screen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAU3C,MAAM,WAAW,MAAM;IAInB,IAAI,EAAE,MAAM,CAAC;IAKb,MAAM,EAAE,MAAM,CAAC;IAKf,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IAK5C,KAAK,EAAE,IAAI,EAAE,CAAC;IAKd,aAAa,EAAE,YAAY,EAAE,CAAC;IAO9B,cAAc,CAAC,EAAE,MAAM,CAAC;IAKxB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC1B;AAED,eAAO,MAAM,mBAAmB,EAAE,CAAC,MAAM,MAAM,CAAC,EAA+F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Screen.js","sources":["../../../screens/Screen.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Form } from '../forms';\nimport { Contribution } from '../contributionPoints';\n\n/**\n * A named screen: the structure it fills, the content that fills it, the forms it hosts, and whatever it\n * contributes to contribution points elsewhere in the tree.\n *\n * A screen is an instance, not a shape. The shape comes from either the application's {@link Layout} — for\n * a screen that sits directly in the application shell — or a {@link ScreenTemplate}, for one nested\n * inside a module, feature or slice. Both declare slots; a screen only ever fills them.\n */\nexport interface Screen {\n /**\n * The screen's name.\n */\n name: string;\n\n /**\n * The resolved name of the application {@link Layout} this screen ultimately renders inside.\n */\n layout: string;\n\n /**\n * The content filling each slot, keyed by slot name.\n */\n slotContent: Record<string, SceneElement[]>;\n\n /**\n * The forms this screen hosts.\n */\n forms: Form[];\n\n /**\n * What this screen contributes to contribution points elsewhere in the tree.\n */\n contributions: Contribution[];\n\n /**\n * The resolved name of the {@link ScreenTemplate} this screen fills, or undefined when it fills the\n * `layout`'s own slots directly. The template's `fitsSlot` is what decides where it lands, so a screen\n * never has to state its own position.\n */\n screenTemplate?: string;\n}\n\nexport const ScreenPropertyNames: (keyof Screen)[] = ['name', 'layout', 'slotContent', 'forms', 'contributions', 'screenTemplate'];\n"],"names":["ScreenPropertyNames"],"mappings":"AAAA;AACA;
|
|
1
|
+
{"version":3,"file":"Screen.js","sources":["../../../screens/Screen.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { SceneElement } from '../elements';\nimport { Form } from '../forms';\nimport { Contribution } from '../contributionPoints';\nimport { Behavior } from '../interactions';\n\n/**\n * A named screen: the structure it fills, the content that fills it, the forms it hosts, and whatever it\n * contributes to contribution points elsewhere in the tree.\n *\n * A screen is an instance, not a shape. The shape comes from either the application's {@link Layout} — for\n * a screen that sits directly in the application shell — or a {@link ScreenTemplate}, for one nested\n * inside a module, feature or slice. Both declare slots; a screen only ever fills them.\n */\nexport interface Screen {\n /**\n * The screen's name.\n */\n name: string;\n\n /**\n * The resolved name of the application {@link Layout} this screen ultimately renders inside.\n */\n layout: string;\n\n /**\n * The content filling each slot, keyed by slot name.\n */\n slotContent: Record<string, SceneElement[]>;\n\n /**\n * The forms this screen hosts.\n */\n forms: Form[];\n\n /**\n * What this screen contributes to contribution points elsewhere in the tree.\n */\n contributions: Contribution[];\n\n /**\n * The resolved name of the {@link ScreenTemplate} this screen fills, or undefined when it fills the\n * `layout`'s own slots directly. The template's `fitsSlot` is what decides where it lands, so a screen\n * never has to state its own position.\n */\n screenTemplate?: string;\n /**\n * The behaviors attached here - what happens when someone interacts with it. Additive with whatever is\n * attached further out or further in.\n */\n behaviors?: Behavior[];\n}\n\nexport const ScreenPropertyNames: (keyof Screen)[] = ['name', 'layout', 'slotContent', 'forms', 'contributions', 'screenTemplate', 'behaviors'];\n"],"names":["ScreenPropertyNames"],"mappings":"AAAA;AACA;MAsDaA,mBAAAA,GAAwC;AAAC,IAAA,MAAA;AAAQ,IAAA,QAAA;AAAU,IAAA,aAAA;AAAe,IAAA,OAAA;AAAS,IAAA,eAAA;AAAiB,IAAA,gBAAA;AAAkB,IAAA;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SceneElement } from '../elements';
|
|
2
2
|
import { Arrangement, Slot } from '../layouts';
|
|
3
|
+
import { Behavior } from '../interactions';
|
|
3
4
|
export interface ScreenTemplate {
|
|
4
5
|
name: string;
|
|
5
6
|
fitsSlot?: string;
|
|
@@ -8,6 +9,7 @@ export interface ScreenTemplate {
|
|
|
8
9
|
content?: Record<string, SceneElement[]>;
|
|
9
10
|
displayName?: string;
|
|
10
11
|
description?: string;
|
|
12
|
+
behaviors?: Behavior[];
|
|
11
13
|
}
|
|
12
14
|
export declare const ScreenTemplatePropertyNames: (keyof ScreenTemplate)[];
|
|
13
15
|
//# sourceMappingURL=ScreenTemplate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenTemplate.d.ts","sourceRoot":"","sources":["../../../screens/ScreenTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"ScreenTemplate.d.ts","sourceRoot":"","sources":["../../../screens/ScreenTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAiB3C,MAAM,WAAW,cAAc;IAI3B,IAAI,EAAE,MAAM,CAAC;IAMb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,KAAK,EAAE,IAAI,EAAE,CAAC;IAMd,WAAW,CAAC,EAAE,WAAW,CAAC;IAM1B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;IAKzC,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC1B;AAED,eAAO,MAAM,2BAA2B,EAAE,CAAC,MAAM,cAAc,CAAC,EAS/D,CAAC"}
|