"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.remainingLabelDropListAdapter = void 0;
const RemainingLabelDropListPM_1 = require("../PM/RemainingLabelDropListPM");
exports.remainingLabelDropListAdapter = {
    defaultVM: [],
    subscribe: (appObjects, setVM) => {
        const pm = RemainingLabelDropListPM_1.RemainingLabelDropListPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("remainingLabelDropListAdapter", "Unable to find RemainingLabelDropListPM");
            return;
        }
        pm.addView(setVM);
    },
    unsubscribe: (appObjects, setVM) => {
        RemainingLabelDropListPM_1.RemainingLabelDropListPM.get(appObjects)?.removeView(setVM);
    },
};
//# sourceMappingURL=remainingLabelDropListAdapter.js.map