import { LabelDropEditingIDPM, defaultLabelDropEditingIDVM, } from "../PM/LabelDropEditingIDPM";
export const labelDropEditingIdAdapter = {
    defaultVM: defaultLabelDropEditingIDVM,
    subscribe: (appObjects, setVM) => {
        const pm = LabelDropEditingIDPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("labelDropEditingIdAdapter", "Unable to find LabelDropListPM");
            return;
        }
        pm.addView(setVM);
    },
    unsubscribe: (appObjects, setVM) => {
        LabelDropEditingIDPM.get(appObjects)?.removeView(setVM);
    },
};
//# sourceMappingURL=labelDropEditingIdAdapter.js.map