UNPKG

@lxlib/theme

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.1.

149 lines 8.16 kB
/** * @fileoverview added by tsickle * Generated from: src/services/menu/interface.ts * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ /** * @record */ export function MenuIcon() { } if (false) { /** * Type for icon * @type {?} */ MenuIcon.prototype.type; /** * Value for the icon, can be set Class Name, nz-icon of `nzType`, image * @type {?|undefined} */ MenuIcon.prototype.value; /** * Type of the ant design icon, default: `outline` * @type {?|undefined} */ MenuIcon.prototype.theme; /** * Rotate icon with animation, default: `false` * @type {?|undefined} */ MenuIcon.prototype.spin; /** * Only support the two-tone icon. Specific the primary color * @type {?|undefined} */ MenuIcon.prototype.twoToneColor; /** * Type of the icon from iconfont * @type {?|undefined} */ MenuIcon.prototype.iconfont; } /** * @record */ export function Menu() { } if (false) { /** * Text of menu item, can be choose one of `text` or `i18n` (Support HTML) * @type {?|undefined} */ Menu.prototype.text; /** * I18n key of menu item, can be choose one of `text` or `i18n` (Support HTML) * @type {?|undefined} */ Menu.prototype.i18n; /** * Whether to display the group name, default: `true` * @type {?|undefined} */ Menu.prototype.group; /** * Routing for the menu item, can be choose one of `link` or `externalLink` * @type {?|undefined} */ Menu.prototype.link; /** * External link for the menu item, can be choose one of `link` or `externalLink` * @type {?|undefined} */ Menu.prototype.externalLink; /** * Specifies `externalLink` where to display the linked URL * @type {?|undefined} */ Menu.prototype.target; /** * Icon for the menu item, only valid for the first level menu * @type {?|undefined} */ Menu.prototype.icon; /** * Badget for the menu item when `group` is `true` * @type {?|undefined} */ Menu.prototype.badge; /** * Whether to display a red dot instead of `badge` value * @type {?|undefined} */ Menu.prototype.badgeDot; /** * Badge [color](https://ng.ant.design/components/badge/en#nz-badge) * @type {?|undefined} */ Menu.prototype.badgeStatus; /** * Whether disable for the menu item * @type {?|undefined} */ Menu.prototype.disabled; /** * Whether hidden for the menu item * @type {?|undefined} */ Menu.prototype.hide; /** * Whether hide in breadcrumbs, which are valid when the `page-header` component automatically generates breadcrumbs * @type {?|undefined} */ Menu.prototype.hideInBreadcrumb; /** * ACL configuration, it's equivalent to `ACLService.can(roleOrAbility: ACLCanType)` parameter value * @type {?|undefined} */ Menu.prototype.acl; /** * Whether shortcut menu item * @type {?|undefined} */ Menu.prototype.shortcut; /** * Wheter shortcut menu root node * @type {?|undefined} */ Menu.prototype.shortcutRoot; /** * Whether to allow reuse, need to cooperate with the `reuse-tab` component * @type {?|undefined} */ Menu.prototype.reuse; /** * Whether to expand, when `checkStrictly` is valid in `sidebar-nav` component * @type {?|undefined} */ Menu.prototype.open; /** * Unique identifier of the menu item, can be used in `getItem`,` setItem` to update a menu * @type {?|undefined} */ Menu.prototype.key; /** * Children menu of menu item * @type {?|undefined} */ Menu.prototype.children; /* Skipping unhandled member: [key: string]: any;*/ } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGx4bGliL3RoZW1lLyIsInNvdXJjZXMiOlsic3JjL3NlcnZpY2VzL21lbnUvaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsOEJBYUM7Ozs7OztJQVhDLHdCQUE0Qzs7Ozs7SUFFNUMseUJBQWU7Ozs7O0lBRWYseUJBQXVDOzs7OztJQUV2Qyx3QkFBZTs7Ozs7SUFFZixnQ0FBc0I7Ozs7O0lBRXRCLDRCQUFrQjs7Ozs7QUFHcEIsMEJBMENDOzs7Ozs7SUF2Q0Msb0JBQWM7Ozs7O0lBRWQsb0JBQWM7Ozs7O0lBRWQscUJBQWdCOzs7OztJQUVoQixvQkFBYzs7Ozs7SUFFZCw0QkFBc0I7Ozs7O0lBRXRCLHNCQUFpRDs7Ozs7SUFFakQsb0JBQWdDOzs7OztJQUVoQyxxQkFBZTs7Ozs7SUFFZix3Q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