@@ -2359,6 +2359,66 @@ var H5 = function (_HeaderBase9) {
23592359} ( HeaderBase ) ;
23602360H5 = __decorate ( [ vueTyped . Component ( ) ] , H5 ) ;
23612361
2362+ var _MessageBase = function ( _Vue ) {
2363+ inherits ( _MessageBase , _Vue ) ;
2364+
2365+ function _MessageBase ( ) {
2366+ classCallCheck ( this , _MessageBase ) ;
2367+
2368+ /**
2369+ * Add close icon choose to hide message.
2370+ *
2371+ * @default false
2372+ * @type {boolean }
2373+ */
2374+ var _this = possibleConstructorReturn ( this , ( _MessageBase . __proto__ || Object . getPrototypeOf ( _MessageBase ) ) . apply ( this , arguments ) ) ;
2375+
2376+ _this . closable = false ;
2377+ /**
2378+ * Semantic UI transition on closing message.
2379+ *
2380+ * @default 'fade'
2381+ * @type {string }
2382+ */
2383+ _this . transition = 'fade' ;
2384+ return _this ;
2385+ }
2386+
2387+ return _MessageBase ;
2388+ } ( Vue ) ;
2389+
2390+ __decorate ( [ vueTyped . Prop ( {
2391+ type : Boolean
2392+ } ) ] , _MessageBase . prototype , "closable" , void 0 ) ;
2393+ __decorate ( [ vueTyped . Prop ( {
2394+ type : String
2395+ } ) ] , _MessageBase . prototype , "transition" , void 0 ) ;
2396+ __decorate ( [ vueTyped . Prop ( ) ] , _MessageBase . prototype , "kind" , void 0 ) ;
2397+ __decorate ( [ vueTyped . Prop ( {
2398+ type : String
2399+ } ) ] , _MessageBase . prototype , "icon" , void 0 ) ;
2400+
2401+ var Message = function ( _MessageBase2 ) {
2402+ inherits ( Message , _MessageBase2 ) ;
2403+
2404+ function Message ( ) {
2405+ classCallCheck ( this , Message ) ;
2406+ return possibleConstructorReturn ( this , ( Message . __proto__ || Object . getPrototypeOf ( Message ) ) . apply ( this , arguments ) ) ;
2407+ }
2408+
2409+ createClass ( Message , [ {
2410+ key : 'mounted' ,
2411+ value : function mounted ( ) {
2412+ if ( this . icon ) {
2413+ $ ( this . $el ) . addClass ( 'icon' ) ;
2414+ }
2415+ }
2416+ } ] ) ;
2417+ return Message ;
2418+ } ( _MessageBase ) ;
2419+ Message = __decorate ( [ vueTyped . Component ( {
2420+ template : '\n\t<div class="ui message">\n \t<i v-if="closable" class="close icon"></i>\n\t\t<div v-if="header && !icon" class="header">\n \t\t<slot name="header"></slot>\n\t\t</div>\n\t\t<p v-if="!icon"><slot></slot></p>\n\t\t<i v-if="icon" class="{{icon}} icon"></i>\n\t\t<div v-if="icon" class="content">\n\t\t\t<div v-if="header" class="header">\n \t\t<slot name="header"></slot>\n\t\t\t</div>\n \t<p><slot></slot></p>\n \t</div>\n\t</div>\n\t' } ) ] , Message ) ;
2421+
23622422var _ModalBase = function ( _Vue ) {
23632423 inherits ( _ModalBase , _Vue ) ;
23642424
@@ -2683,6 +2743,7 @@ var c = Object.freeze({
26832743 get H3 ( ) { return H3 ; } ,
26842744 get H4 ( ) { return H4 ; } ,
26852745 get H5 ( ) { return H5 ; } ,
2746+ get Message ( ) { return Message ; } ,
26862747 get Modal ( ) { return Modal ; } ,
26872748 get Tree ( ) { return Tree ; }
26882749} ) ;
0 commit comments