@pnp/spfx-controls-react
Version:
Reusable React controls for SharePoint Framework solutions
47 lines • 1.87 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateType = exports.TermActionsDisplayStyle = exports.TermActionsDisplayMode = void 0;
/**
* Specifies the display mode of the term actions.
*/
var TermActionsDisplayMode;
(function (TermActionsDisplayMode) {
TermActionsDisplayMode[TermActionsDisplayMode["buttons"] = 1] = "buttons";
TermActionsDisplayMode[TermActionsDisplayMode["dropdown"] = 2] = "dropdown";
})(TermActionsDisplayMode || (exports.TermActionsDisplayMode = TermActionsDisplayMode = {}));
/**
* Specifies the style which is applied to display actions.
*/
var TermActionsDisplayStyle;
(function (TermActionsDisplayStyle) {
TermActionsDisplayStyle[TermActionsDisplayStyle["text"] = 1] = "text";
TermActionsDisplayStyle[TermActionsDisplayStyle["icon"] = 2] = "icon";
TermActionsDisplayStyle[TermActionsDisplayStyle["textAndIcon"] = 3] = "textAndIcon";
})(TermActionsDisplayStyle || (exports.TermActionsDisplayStyle = TermActionsDisplayStyle = {}));
/**
* Specifies the action that should be applied after executing the action callback.
*/
var UpdateType;
(function (UpdateType) {
/**
* Allows you to update the label of the term
*/
UpdateType[UpdateType["updateTermLabel"] = 1] = "updateTermLabel";
/**
* Allows you to update part of the taxonomy tree
*/
UpdateType[UpdateType["updateTermsTree"] = 2] = "updateTermsTree";
/**
* Allows you to hide the term
*/
UpdateType[UpdateType["hideTerm"] = 3] = "hideTerm";
/**
* Allows you to disable the term
*/
UpdateType[UpdateType["disableTerm"] = 4] = "disableTerm";
/**
* Allows you to select the term
*/
UpdateType[UpdateType["selectTerm"] = 5] = "selectTerm";
})(UpdateType || (exports.UpdateType = UpdateType = {}));
//# sourceMappingURL=ITermsActions.js.map