@@ -574,54 +574,3 @@ exports[`unhandling > map 1`] = `
574
574
" version" : 3 ,
575
575
}
576
576
` ;
577
-
578
- exports [` useClassComponent > code 1` ] = `
579
- "export default function (Component) {
580
- const _Component = Component .__o || Component .__vccOpts || Component
581
- _Component .__i18n = _Component .__i18n || []
582
- _Component .__i18n .push ({
583
- \\" locale\\ " : \\" \\ " ,
584
- \\" resource\\ " : {
585
- \\" hi\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" hi there!\\ " ])};fn .source = \\" hi there!\\ " ;return fn ;})(),
586
- \\" nested\\ " : {
587
- \\" hello\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" hello world!\\ " ])};fn .source = \\" hello world!\\ " ;return fn ;})(),
588
- \\" more\\ " : {
589
- \\" plural\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize, linked : _linked, type : _type, interpolate : _interpolate, list : _list, named : _named, plural : _plural } = ctx ;return _plural ([_normalize ([_linked (\\" no apples\\ " , \\" caml\\ " , _type )]), _normalize ([_interpolate (_list (0 )), \\" apple\\ " ]), _normalize ([_interpolate (_named (\\" n\\ " )), \\" apples\\ " ])])};fn .source = \\" @.caml:{'no apples'} | {0} apple | {n} apples\\ " ;return fn ;})()
590
- },
591
- \\" list\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize, interpolate : _interpolate, list : _list } = ctx ;return _normalize ([\\" hi, \\ " , _interpolate (_list (0 )), \\" !\\ " ])};fn .source = \\" hi, {0} !\\ " ;return fn ;})()
592
- },
593
- \\" template\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" hello world!\\ " ])};fn .source = \\" hello world!\\ " ;return fn ;})(),
594
- \\" こんにちは\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" こんにちは!\\ " ])};fn .source = \\" こんにちは!\\ " ;return fn ;})(),
595
- \\" single-quote\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" I don't know!\\ " ])};fn .source = \\" I don't know!\\ " ;return fn ;})(),
596
- \\" emoji\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" 😺\\ " ])};fn .source = \\" 😺\\ " ;return fn ;})(),
597
- \\" unicode\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" A\\ " ])};fn .source = \\" A\\ " ;return fn ;})(),
598
- \\" unicode-escape\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" \\\\\\\\ u0041\\ " ])};fn .source = \\" \\\\\\\\ u0041\\ " ;return fn ;})(),
599
- \\" backslash-single-quote\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" \\\\\\\\ '\\ " ])};fn .source = \\" \\\\\\\\ '\\ " ;return fn ;})(),
600
- \\" backslash-backslash\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" \\\\\\\\\\\\\\\\\\ " ])};fn .source = \\" \\\\\\\\\\\\\\\\\\ " ;return fn ;})(),
601
- \\" errors\\ " : [
602
- (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" ERROR1001\\ " ])};fn .source = \\" ERROR1001\\ " ;return fn ;})(),
603
- (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" ERROR1002\\ " ])};fn .source = \\" ERROR1002\\ " ;return fn ;})(),
604
-
605
- ],
606
- \\" complex\\ " : {
607
- \\" warnings\\ " : [
608
- (()=> {const fn= (ctx ) => {const { normalize : _normalize } = ctx ;return _normalize ([\\" NOTE: This is warning\\ " ])};fn .source = \\" NOTE: This is warning\\ " ;return fn ;})(),
609
- {
610
- \\" named-waring\\ " : (()=> {const fn= (ctx ) => {const { normalize : _normalize, interpolate : _interpolate, named : _named } = ctx ;return _normalize ([\\" this is \\ " , _interpolate (_named (\\" type\\ " )), \\" warining\\ " ])};fn .source = \\" this is {type} warining\\ " ;return fn ;})()
611
- }
612
- ]
613
- }
614
- }
615
- })
616
- }
617
- "
618
- ` ;
619
-
620
- exports [` useClassComponent > map 1` ] = `
621
- {
622
- " mappings" : " " ,
623
- " names" : [],
624
- " sources" : [],
625
- " version" : 3 ,
626
- }
627
- ` ;
0 commit comments