init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
import { constant, constVoid } from 'fp-ts/lib/function';
import { provide } from 'vue';
export const POPUP_CONTROLLER_SYMBOL = Symbol('popup-controller');
export const DEFAULT_POPUP_CONTROLLER_INJECTION = {
showPopup: constant(constVoid)
};
export function providePopupController(showPopup) {
const injection = {
showPopup
};
provide(POPUP_CONTROLLER_SYMBOL, injection);
return injection;
}
//# sourceMappingURL=providePopupController.js.map