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