@akinon/app-shared 1.2.2 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -89,6 +89,13 @@ export declare const EVENTS: {
89
89
  * AppShell → AppClient
90
90
  */
91
91
  readonly LOCALE_CHANGED: "LOCALE_CHANGED";
92
+ /**
93
+ * The event that is emitted when a client application inside a rich modal
94
+ * requests to close the modal (e.g., via ESC key).
95
+ *
96
+ * AppClient → AppShell
97
+ */
98
+ readonly CLOSE_RICH_MODAL_REQUEST: "CLOSE_RICH_MODAL_REQUEST";
92
99
  };
93
100
  export declare const DEFAULT_ACTION_KEYS: {
94
101
  showConfirmationDialog: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;IACjB;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;OAIG;;CAEK,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;CAQ/B,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;IACjB;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;;CAEK,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;CAQ/B,CAAC"}
@@ -91,7 +91,14 @@ exports.EVENTS = {
91
91
  *
92
92
  * AppShell → AppClient
93
93
  */
94
- LOCALE_CHANGED: 'LOCALE_CHANGED'
94
+ LOCALE_CHANGED: 'LOCALE_CHANGED',
95
+ /**
96
+ * The event that is emitted when a client application inside a rich modal
97
+ * requests to close the modal (e.g., via ESC key).
98
+ *
99
+ * AppClient → AppShell
100
+ */
101
+ CLOSE_RICH_MODAL_REQUEST: 'CLOSE_RICH_MODAL_REQUEST'
95
102
  };
96
103
  exports.DEFAULT_ACTION_KEYS = {
97
104
  showConfirmationDialog: 'showConfirmationDialog',
@@ -89,6 +89,13 @@ export declare const EVENTS: {
89
89
  * AppShell → AppClient
90
90
  */
91
91
  readonly LOCALE_CHANGED: "LOCALE_CHANGED";
92
+ /**
93
+ * The event that is emitted when a client application inside a rich modal
94
+ * requests to close the modal (e.g., via ESC key).
95
+ *
96
+ * AppClient → AppShell
97
+ */
98
+ readonly CLOSE_RICH_MODAL_REQUEST: "CLOSE_RICH_MODAL_REQUEST";
92
99
  };
93
100
  export declare const DEFAULT_ACTION_KEYS: {
94
101
  showConfirmationDialog: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;IACjB;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;OAIG;;CAEK,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;CAQ/B,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;IACjB;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;;CAEK,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;CAQ/B,CAAC"}
@@ -88,7 +88,14 @@ export const EVENTS = {
88
88
  *
89
89
  * AppShell → AppClient
90
90
  */
91
- LOCALE_CHANGED: 'LOCALE_CHANGED'
91
+ LOCALE_CHANGED: 'LOCALE_CHANGED',
92
+ /**
93
+ * The event that is emitted when a client application inside a rich modal
94
+ * requests to close the modal (e.g., via ESC key).
95
+ *
96
+ * AppClient → AppShell
97
+ */
98
+ CLOSE_RICH_MODAL_REQUEST: 'CLOSE_RICH_MODAL_REQUEST'
92
99
  };
93
100
  export const DEFAULT_ACTION_KEYS = {
94
101
  showConfirmationDialog: 'showConfirmationDialog',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/app-shared",
3
- "version": "1.2.2",
3
+ "version": "1.3.1",
4
4
  "private": false,
5
5
  "description": "Shared utilities and helper functions for app-shell and app-client packages.",
6
6
  "type": "module",
@@ -15,8 +15,8 @@
15
15
  "copyfiles": "^2.4.1",
16
16
  "rimraf": "^5.0.5",
17
17
  "typescript": "*",
18
- "@akinon/vitest-config": "1.1.1",
19
- "@akinon/typescript-config": "1.1.1"
18
+ "@akinon/typescript-config": "1.1.2",
19
+ "@akinon/vitest-config": "1.1.2"
20
20
  },
21
21
  "clean-package": "../../clean-package.config.json",
22
22
  "types": "dist/esm/index.d.ts",