@luigi-project/container 1.7.4 → 1.7.5
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/bundle.js +1 -1
- package/bundle.js.map +1 -1
- package/constants/events.d.ts +7 -0
- package/constants/events.js +6 -0
- package/dist/custom-elements.json +14 -0
- package/package.json +1 -1
package/constants/events.d.ts
CHANGED
|
@@ -401,6 +401,13 @@ export namespace Events {
|
|
|
401
401
|
* @returns {void}
|
|
402
402
|
*/
|
|
403
403
|
export const REMOVE_BACKDROP_REQUEST = 'remove-backdrop-request';
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Event fired when the micro frontend requests to close the current modal.
|
|
407
|
+
* @type {unspecified} (type is not relevant in this case)
|
|
408
|
+
* @returns {void}
|
|
409
|
+
*/
|
|
410
|
+
export const CLOSE_CURRENT_MODAL_REQUEST = 'close-current-modal-request';
|
|
404
411
|
}
|
|
405
412
|
|
|
406
413
|
export class LuigiEvent extends Event {
|
package/constants/events.js
CHANGED
|
@@ -357,6 +357,12 @@ var Events;
|
|
|
357
357
|
* @returns {void}
|
|
358
358
|
*/
|
|
359
359
|
Events.REMOVE_BACKDROP_REQUEST = 'remove-backdrop-request';
|
|
360
|
+
/**
|
|
361
|
+
* Event fired when the micro frontend requests to close the current modal.
|
|
362
|
+
* @type {unspecified} (type is not relevant in this case)
|
|
363
|
+
* @returns {void}
|
|
364
|
+
*/
|
|
365
|
+
Events.CLOSE_CURRENT_MODAL_REQUEST = 'close-current-modal-request';
|
|
360
366
|
})(Events || (Events = {}));
|
|
361
367
|
class LuigiEvent extends Event {
|
|
362
368
|
constructor(type, data, payload, callback) {
|
|
@@ -394,6 +394,13 @@
|
|
|
394
394
|
"type": {
|
|
395
395
|
"text": "Event"
|
|
396
396
|
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "close-current-modal-request",
|
|
400
|
+
"description": "Event fired when the micro frontend requests to close the current modal. @type {unspecified} (type is not relevant in this case)",
|
|
401
|
+
"type": {
|
|
402
|
+
"text": "Event"
|
|
403
|
+
}
|
|
397
404
|
}
|
|
398
405
|
]
|
|
399
406
|
}
|
|
@@ -765,6 +772,13 @@
|
|
|
765
772
|
"type": {
|
|
766
773
|
"text": "Event"
|
|
767
774
|
}
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"name": "close-current-modal-request",
|
|
778
|
+
"description": "Event fired when the micro frontend requests to close the current modal. @type {unspecified} (type is not relevant in this case)",
|
|
779
|
+
"type": {
|
|
780
|
+
"text": "Event"
|
|
781
|
+
}
|
|
768
782
|
}
|
|
769
783
|
]
|
|
770
784
|
}
|
package/package.json
CHANGED