vue-layout-gitcode 1.0.12 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AccountInfo } from '../../types/types';
2
2
  import { App } from './vue/dist/vue.esm-bundler.js';
3
+ import type { AxiosResponse } from 'axios';
3
4
  import type { ComponentOptionsMixin } from './vue/dist/vue.esm-bundler.js';
4
5
  import type { ComponentProvideOptions } from './vue/dist/vue.esm-bundler.js';
5
6
  import type { DefineComponent } from './vue/dist/vue.esm-bundler.js';
@@ -85,9 +86,12 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
85
86
  request: {
86
87
  type: PropType<Function>;
87
88
  required: true;
88
- default: () => Promise<{
89
- data: null;
90
- }>;
89
+ default: (params: any, customConfigs?: {
90
+ customError?: boolean | undefined;
91
+ customTimeout?: number | undefined;
92
+ ignoreError?: boolean | undefined;
93
+ customErrorCodes?: number[] | undefined;
94
+ } | undefined) => Promise<AxiosResponse<any, any>>;
91
95
  };
92
96
  globalStore: {
93
97
  type: PropType<Object>;
@@ -119,9 +123,12 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
119
123
  request: {
120
124
  type: PropType<Function>;
121
125
  required: true;
122
- default: () => Promise<{
123
- data: null;
124
- }>;
126
+ default: (params: any, customConfigs?: {
127
+ customError?: boolean | undefined;
128
+ customTimeout?: number | undefined;
129
+ ignoreError?: boolean | undefined;
130
+ customErrorCodes?: number[] | undefined;
131
+ } | undefined) => Promise<AxiosResponse<any, any>>;
125
132
  };
126
133
  globalStore: {
127
134
  type: PropType<Object>;
@@ -152,9 +159,12 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
152
159
  request: {
153
160
  type: PropType<Function>;
154
161
  required: true;
155
- default: () => Promise<{
156
- data: null;
157
- }>;
162
+ default: (params: any, customConfigs?: {
163
+ customError?: boolean | undefined;
164
+ customTimeout?: number | undefined;
165
+ ignoreError?: boolean | undefined;
166
+ customErrorCodes?: number[] | undefined;
167
+ } | undefined) => Promise<AxiosResponse<any, any>>;
158
168
  };
159
169
  loginOutFinish: {
160
170
  type: PropType<Function | undefined>;
@@ -231,9 +241,12 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
231
241
  request: {
232
242
  type: PropType<Function>;
233
243
  required: true;
234
- default: () => Promise<{
235
- data: null;
236
- }>;
244
+ default: (params: any, customConfigs?: {
245
+ customError?: boolean | undefined;
246
+ customTimeout?: number | undefined;
247
+ ignoreError?: boolean | undefined;
248
+ customErrorCodes?: number[] | undefined;
249
+ } | undefined) => Promise<AxiosResponse<any, any>>;
237
250
  };
238
251
  loginOutFinish: {
239
252
  type: PropType<Function | undefined>;
@@ -318,35 +331,10 @@ export declare const GitCodeLayoutLibLocales: {
318
331
  zh: {
319
332
  gitCodeLayout: {
320
333
  home: {
321
- comprehensiveSorting: string;
322
- starTotalSort: string;
323
- starNum: string;
324
- fork: string;
325
- updateTime: string;
326
- recommend: string;
327
- all: string;
328
- Gproject: string;
329
- milions: string;
330
- showMore: string;
331
- recommendation: string;
332
- loading: string;
333
- loadAll: string;
334
- applyJoin: string;
335
- organizations: string;
336
- noMore: string;
337
334
  alreadyFollowed: string;
338
- focusList: string;
339
335
  focusOn: string;
340
- unsubscribe: string;
341
- noDescroption: string;
342
- noIntroduction: string; /** 设置布局配置 */
343
- searchHistory: string;
344
- homePage: string;
345
336
  star: string;
346
- aiCommunity: string;
347
337
  informationCenter: string;
348
- expandMore: string;
349
- helpDoc: string;
350
338
  feedbackCenter: string;
351
339
  companyInformation: string;
352
340
  recordInformation: string;
@@ -354,10 +342,7 @@ export declare const GitCodeLayoutLibLocales: {
354
342
  HWCloud: string;
355
343
  userFeedback01: string;
356
344
  userFeedbackProductRecommendations: string;
357
- userFeedbackBr: string;
358
345
  userFeedback02: string;
359
- contactUs: string;
360
- serviceHours: string;
361
346
  onWeekdays: string;
362
347
  settlementMsg: string;
363
348
  settlementMsgContact: string;
@@ -371,55 +356,32 @@ export declare const GitCodeLayoutLibLocales: {
371
356
  thankFaceback: string;
372
357
  improveQuestion: string;
373
358
  facebackPlaceholder: string;
374
- org: {
375
- gstarTips: string;
376
- };
359
+ org: {};
377
360
  searchPlaceholder: string;
378
361
  searchPlaceholder2: string;
379
362
  surveyTipsTitle: string;
380
- webDescription: string;
381
363
  slogon: string;
382
364
  digest: string;
383
- shotName: {
384
- AI: string;
385
- };
386
- hotSelection: string;
387
- projectRecom: string;
365
+ shotName: {};
388
366
  competition: string;
389
- channel: {
390
- forkProject: string;
391
- submitDynamic: string;
392
- latestDynamics: string;
393
- dynamics: string;
394
- };
395
- changeBatch: string;
367
+ channel: {};
396
368
  };
397
369
  header: {
398
370
  create: string;
399
371
  createRepo: string;
400
372
  importRepo: string;
401
- migrationProject: string;
402
373
  createOrg: string;
403
374
  home: string;
404
- applicationMarket: string;
405
- recentlyActiveProject: string;
406
- joinOrganization: string;
407
- noData: string;
408
- orgOrPerson: string;
409
375
  login: string;
410
376
  register: string;
411
- activeRegister: string;
412
377
  file: string;
413
378
  language: string;
414
379
  underSearch: string;
415
- searchRecord: string;
416
- clear: string;
417
380
  repo: string;
418
381
  org: string;
419
382
  user: string;
420
383
  recentlyVisited: string;
421
384
  platformSearch: string;
422
- searchPlaceholder: string;
423
385
  workbench: string;
424
386
  myOrg: string;
425
387
  myRepo: string;
@@ -427,73 +389,28 @@ export declare const GitCodeLayoutLibLocales: {
427
389
  personSetting: string;
428
390
  helpDocument: string;
429
391
  logout: string;
430
- goUpgrade: string;
431
392
  openSourceExplorer: string;
432
393
  openSourcePioneer: string;
433
394
  contributingStar: string;
434
- createSpace: string;
435
395
  myNotebook: string;
436
396
  mySpace: string;
437
397
  aihub: {
438
398
  documentCenter: string;
439
399
  };
440
- getPoints: string;
441
400
  };
442
401
  userSetting: {
443
402
  tips: {
444
403
  youCanCreOrManUp: string;
445
404
  getPoints: string;
405
+ autFai: string;
446
406
  };
447
407
  menu: {
448
408
  growthCenter: string;
449
409
  };
450
410
  account: {
451
411
  phone: string;
452
- passwordSetting: string;
453
- bindPhoneVerification: string;
454
- enterBoundPhone: string;
455
- enterVerificationCode: string;
456
412
  getVerificationCode: string;
457
413
  changePassword: string;
458
- oldPassword: string;
459
- newPassword: string;
460
- confirmPassword: string;
461
- unbindSMSVerification: string;
462
- deactivateAccount: string;
463
- untie: string;
464
- yourTypeAccountIs: string;
465
- switch: string;
466
- mfaManage: string;
467
- mfa: string;
468
- mfaEnable: string;
469
- mfatip1: string;
470
- mfaManageBtn: string;
471
- mfatip2: string;
472
- mfatip3: string;
473
- mfatip4: string;
474
- mfaAccount: string;
475
- mfaAccountPlaceholder: string;
476
- mfatip5: string;
477
- mfatip6: string;
478
- mfatip7: string;
479
- mfatip8: string;
480
- mfaCodeInput: string;
481
- mfatip9: string;
482
- mfatip10: string;
483
- mfaSave: string;
484
- mfatip11: string;
485
- mfatip12: string;
486
- mfatip13: string;
487
- mfaRecover1: string;
488
- mfatip14: string;
489
- mfaBan: string;
490
- mfaRecover2: string;
491
- mfaView: string;
492
- mfatip15: string;
493
- mfaValid: string;
494
- mfatip17: string;
495
- mfatip18: string;
496
- mfatip16: string;
497
414
  };
498
415
  };
499
416
  repo: {
@@ -519,8 +436,6 @@ export declare const GitCodeLayoutLibLocales: {
519
436
  aboutUs: string;
520
437
  recruitment: string;
521
438
  prices: string;
522
- save: string;
523
- wechat: string;
524
439
  email: string;
525
440
  phone: string;
526
441
  hasBeenSent: string;
@@ -536,10 +451,19 @@ export declare const GitCodeLayoutLibLocales: {
536
451
  minutesAgo: string;
537
452
  oneHourAgo: string;
538
453
  oneMinuteAgo: string;
454
+ day: string;
539
455
  };
540
456
  topic: {
541
457
  attention: string;
542
458
  };
459
+ tips: {
460
+ notcieTitle: string;
461
+ notcie1: string;
462
+ notcie2: string;
463
+ readPrivacyPolicy: string;
464
+ welcome: string;
465
+ };
466
+ foldup: string;
543
467
  };
544
468
  org: {
545
469
  project: string;
@@ -588,7 +512,6 @@ export declare const GitCodeLayoutLibLocales: {
588
512
  useAgrAndPriPolTip: string;
589
513
  };
590
514
  action: {
591
- getcode: string;
592
515
  oh: string;
593
516
  login: string;
594
517
  registerAgain: string;
@@ -602,7 +525,6 @@ export declare const GitCodeLayoutLibLocales: {
602
525
  };
603
526
  tips: {
604
527
  forgotPassword: string;
605
- registerAgain: string;
606
528
  agree: string;
607
529
  and: string;
608
530
  updatePassword: string;
@@ -612,29 +534,9 @@ export declare const GitCodeLayoutLibLocales: {
612
534
  pleaseCheck: string;
613
535
  bindMobileWithAccount: string;
614
536
  resetYourPassword: string;
615
- hwAuthorizationService: string;
616
- pleaseAccreditHWBeforeUse: string;
617
- phoneNumberVerification: string;
618
- authorizationAndBinding: string;
619
- cancelAuthorization: string;
620
- IHaveRead: string;
621
- descOfHWCloud: string;
622
- agreeShareToHWCloud: string;
623
- associatedAndShared: string;
624
- createContinue: string;
625
- create: string;
626
- pleaseReadAgreementAndPrivacy: string;
627
- confirmThirdBinding: string;
628
- checkCode: string;
629
- pleaseReauthorize: string;
630
- readAndAgreeAgreementAndPrivacy: string;
631
537
  verificationCode: string;
632
- verifyMobilePhoneNumber: string;
633
- setUserName: string;
634
538
  nameAlreadyExists: string;
635
- cannotBeEmpty: string;
636
539
  passwordIsInconsistent: string;
637
- necessaryInfo: string;
638
540
  fillvalidPhoneNumEmail: string;
639
541
  passwordLength: string;
640
542
  validEmail: string;
@@ -651,16 +553,11 @@ export declare const GitCodeLayoutLibLocales: {
651
553
  privacyPolicy: string;
652
554
  huaweiCloudAgreement: string;
653
555
  agreementPrivacy: string;
654
- gitCodeProtocol: string;
655
- gitCodePrivacy: string;
656
- chiCloDevSerAgr: string;
657
- chiCloDevPriPolSta: string;
658
556
  };
659
557
  registerDesc: string;
660
558
  rule: {
661
559
  username: string;
662
560
  pleaseFill: string;
663
- enterUsername: string;
664
561
  passwordLetter: string;
665
562
  passwordLength: string;
666
563
  };
@@ -683,6 +580,23 @@ export declare const GitCodeLayoutLibLocales: {
683
580
  };
684
581
  search: {
685
582
  trendingToday: string;
583
+ recommendTag: string;
584
+ };
585
+ repoSetting: {
586
+ submit: {
587
+ verify: string;
588
+ };
589
+ };
590
+ pipeline: {
591
+ goBack: string;
592
+ };
593
+ components: {
594
+ repo: {
595
+ today: string;
596
+ };
597
+ };
598
+ oauth: {
599
+ revokedAuthorization: string;
686
600
  };
687
601
  };
688
602
  };
@@ -711,10 +625,7 @@ export declare const GitCodeLayoutLibLocales: {
711
625
  onWeekdays: string;
712
626
  focusOn: string;
713
627
  star: string;
714
- shotName: {
715
- AI: string;
716
- };
717
- aiCommunity: string;
628
+ shotName: {};
718
629
  informationCenter: string;
719
630
  competition: string;
720
631
  slogon: string;
@@ -723,33 +634,26 @@ export declare const GitCodeLayoutLibLocales: {
723
634
  recordInformation: string;
724
635
  searchPlaceholder2: string;
725
636
  searchPlaceholder: string;
637
+ alreadyFollowed: string;
638
+ channel: {};
639
+ org: {};
726
640
  };
727
641
  header: {
728
642
  create: string;
729
643
  createRepo: string;
730
644
  importRepo: string;
731
- migrationProject: string;
732
645
  createOrg: string;
733
646
  home: string;
734
- applicationMarket: string;
735
- recentlyActiveProject: string;
736
- joinOrganization: string;
737
- noData: string;
738
- orgOrPerson: string;
739
647
  login: string;
740
648
  register: string;
741
- activeRegister: string;
742
649
  file: string;
743
650
  language: string;
744
651
  underSearch: string;
745
- searchRecord: string;
746
- clear: string;
747
652
  repo: string;
748
653
  org: string;
749
654
  user: string;
750
655
  recentlyVisited: string;
751
656
  platformSearch: string;
752
- searchPlaceholder: string;
753
657
  workbench: string;
754
658
  myOrg: string;
755
659
  myRepo: string;
@@ -757,73 +661,28 @@ export declare const GitCodeLayoutLibLocales: {
757
661
  personSetting: string;
758
662
  helpDocument: string;
759
663
  logout: string;
760
- goUpgrade: string;
761
664
  openSourceExplorer: string;
762
665
  openSourcePioneer: string;
763
666
  contributingStar: string;
764
- createSpace: string;
765
667
  myNotebook: string;
766
668
  mySpace: string;
767
669
  aihub: {
768
670
  documentCenter: string;
769
671
  };
770
- getPoints: string;
771
672
  };
772
673
  userSetting: {
773
674
  tips: {
774
675
  youCanCreOrManUp: string;
775
676
  getPoints: string;
677
+ autFai: string;
776
678
  };
777
679
  menu: {
778
680
  growthCenter: string;
779
681
  };
780
682
  account: {
781
683
  phone: string;
782
- passwordSetting: string;
783
- bindPhoneVerification: string;
784
- enterBoundPhone: string;
785
- enterVerificationCode: string;
786
684
  getVerificationCode: string;
787
685
  changePassword: string;
788
- oldPassword: string;
789
- newPassword: string;
790
- confirmPassword: string;
791
- unbindSMSVerification: string;
792
- deactivateAccount: string;
793
- untie: string;
794
- yourTypeAccountIs: string;
795
- switch: string;
796
- mfaManage: string;
797
- mfa: string;
798
- mfaEnable: string;
799
- mfatip1: string;
800
- mfaManageBtn: string;
801
- mfatip2: string;
802
- mfatip3: string;
803
- mfatip4: string;
804
- mfaAccount: string;
805
- mfaAccountPlaceholder: string;
806
- mfatip5: string;
807
- mfatip6: string;
808
- mfatip7: string;
809
- mfatip8: string;
810
- mfaCodeInput: string;
811
- mfatip9: string;
812
- mfatip10: string;
813
- mfaSave: string;
814
- mfatip11: string;
815
- mfatip12: string;
816
- mfatip13: string;
817
- mfaRecover1: string;
818
- mfatip14: string;
819
- mfaBan: string;
820
- mfaRecover2: string;
821
- mfaView: string;
822
- mfatip15: string;
823
- mfaValid: string;
824
- mfatip17: string;
825
- mfatip18: string;
826
- mfatip16: string;
827
686
  };
828
687
  };
829
688
  repo: {
@@ -849,8 +708,6 @@ export declare const GitCodeLayoutLibLocales: {
849
708
  aboutUs: string;
850
709
  recruitment: string;
851
710
  prices: string;
852
- save: string;
853
- wechat: string;
854
711
  email: string;
855
712
  phone: string;
856
713
  hasBeenSent: string;
@@ -866,10 +723,19 @@ export declare const GitCodeLayoutLibLocales: {
866
723
  minutesAgo: string;
867
724
  oneHourAgo: string;
868
725
  oneMinuteAgo: string;
726
+ day: string;
869
727
  };
870
728
  topic: {
871
729
  attention: string;
872
730
  };
731
+ tips: {
732
+ notcieTitle: string;
733
+ notcie1: string;
734
+ notcie2: string;
735
+ readPrivacyPolicy: string;
736
+ welcome: string;
737
+ };
738
+ foldup: string;
873
739
  };
874
740
  org: {
875
741
  project: string;
@@ -918,7 +784,6 @@ export declare const GitCodeLayoutLibLocales: {
918
784
  useAgrAndPriPolTip: string;
919
785
  };
920
786
  action: {
921
- getcode: string;
922
787
  oh: string;
923
788
  login: string;
924
789
  registerAgain: string;
@@ -932,7 +797,6 @@ export declare const GitCodeLayoutLibLocales: {
932
797
  };
933
798
  tips: {
934
799
  forgotPassword: string;
935
- registerAgain: string;
936
800
  agree: string;
937
801
  and: string;
938
802
  updatePassword: string;
@@ -942,29 +806,9 @@ export declare const GitCodeLayoutLibLocales: {
942
806
  pleaseCheck: string;
943
807
  bindMobileWithAccount: string;
944
808
  resetYourPassword: string;
945
- hwAuthorizationService: string;
946
- pleaseAccreditHWBeforeUse: string;
947
- phoneNumberVerification: string;
948
- authorizationAndBinding: string;
949
- cancelAuthorization: string;
950
- IHaveRead: string;
951
- descOfHWCloud: string;
952
- agreeShareToHWCloud: string;
953
- associatedAndShared: string;
954
- createContinue: string;
955
- create: string;
956
- pleaseReadAgreementAndPrivacy: string;
957
- confirmThirdBinding: string;
958
- checkCode: string;
959
- pleaseReauthorize: string;
960
- readAndAgreeAgreementAndPrivacy: string;
961
809
  verificationCode: string;
962
- verifyMobilePhoneNumber: string;
963
- setUserName: string;
964
810
  nameAlreadyExists: string;
965
- cannotBeEmpty: string;
966
811
  passwordIsInconsistent: string;
967
- necessaryInfo: string;
968
812
  fillvalidPhoneNumEmail: string;
969
813
  passwordLength: string;
970
814
  validEmail: string;
@@ -981,16 +825,11 @@ export declare const GitCodeLayoutLibLocales: {
981
825
  privacyPolicy: string;
982
826
  huaweiCloudAgreement: string;
983
827
  agreementPrivacy: string;
984
- gitCodeProtocol: string;
985
- gitCodePrivacy: string;
986
- chiCloDevSerAgr: string;
987
- chiCloDevPriPolSta: string;
988
828
  };
989
829
  registerDesc: string;
990
830
  rule: {
991
831
  username: string;
992
832
  pleaseFill: string;
993
- enterUsername: string;
994
833
  passwordLetter: string;
995
834
  passwordLength: string;
996
835
  };
@@ -1013,6 +852,23 @@ export declare const GitCodeLayoutLibLocales: {
1013
852
  };
1014
853
  search: {
1015
854
  trendingToday: string;
855
+ recommendTag: string;
856
+ };
857
+ repoSetting: {
858
+ submit: {
859
+ verify: string;
860
+ };
861
+ };
862
+ pipeline: {
863
+ goBack: string;
864
+ };
865
+ components: {
866
+ repo: {
867
+ today: string;
868
+ };
869
+ };
870
+ oauth: {
871
+ revokedAuthorization: string;
1016
872
  };
1017
873
  };
1018
874
  };
@@ -1031,6 +887,74 @@ declare enum HeaderDisplayItem {
1031
887
  NEWS_MULTI_LANGUAGE = "0110"
1032
888
  }
1033
889
 
890
+ export declare const Login: DefineComponent<ExtractPropTypes<{
891
+ request: {
892
+ type: PropType<Function>;
893
+ required: true;
894
+ default: (params: any, customConfigs?: {
895
+ customError?: boolean | undefined;
896
+ customTimeout?: number | undefined;
897
+ ignoreError?: boolean | undefined;
898
+ customErrorCodes?: number[] | undefined;
899
+ } | undefined) => Promise<AxiosResponse<any, any>>;
900
+ };
901
+ loginOutFinish: {
902
+ type: PropType<Function | undefined>;
903
+ required: false;
904
+ };
905
+ loginSuccess: {
906
+ type: PropType<Function>;
907
+ required: true;
908
+ };
909
+ globalStore: {
910
+ type: PropType<Object>;
911
+ required: true;
912
+ default: () => {
913
+ httpStatus: number;
914
+ };
915
+ };
916
+ openHarmonyGuide: {
917
+ type: PropType<boolean>;
918
+ required: true;
919
+ default: boolean;
920
+ };
921
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
922
+ request: {
923
+ type: PropType<Function>;
924
+ required: true;
925
+ default: (params: any, customConfigs?: {
926
+ customError?: boolean | undefined;
927
+ customTimeout?: number | undefined;
928
+ ignoreError?: boolean | undefined;
929
+ customErrorCodes?: number[] | undefined;
930
+ } | undefined) => Promise<AxiosResponse<any, any>>;
931
+ };
932
+ loginOutFinish: {
933
+ type: PropType<Function | undefined>;
934
+ required: false;
935
+ };
936
+ loginSuccess: {
937
+ type: PropType<Function>;
938
+ required: true;
939
+ };
940
+ globalStore: {
941
+ type: PropType<Object>;
942
+ required: true;
943
+ default: () => {
944
+ httpStatus: number;
945
+ };
946
+ };
947
+ openHarmonyGuide: {
948
+ type: PropType<boolean>;
949
+ required: true;
950
+ default: boolean;
951
+ };
952
+ }>> & Readonly<{}>, {
953
+ request: Function;
954
+ globalStore: Object;
955
+ openHarmonyGuide: boolean;
956
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
957
+
1034
958
  export declare enum SceneValue {
1035
959
  home = "home",
1036
960
  repo = "repo",
@@ -1060,9 +984,12 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
1060
984
  request: {
1061
985
  type: PropType<Function>;
1062
986
  required: true;
1063
- default: () => Promise<{
1064
- data: null;
1065
- }>;
987
+ default: (params: any, customConfigs?: {
988
+ customError?: boolean | undefined;
989
+ customTimeout?: number | undefined;
990
+ ignoreError?: boolean | undefined;
991
+ customErrorCodes?: number[] | undefined;
992
+ } | undefined) => Promise<AxiosResponse<any, any>>;
1066
993
  };
1067
994
  globalStore: {
1068
995
  type: PropType<Object>;
@@ -1083,9 +1010,12 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
1083
1010
  request: {
1084
1011
  type: PropType<Function>;
1085
1012
  required: true;
1086
- default: () => Promise<{
1087
- data: null;
1088
- }>;
1013
+ default: (params: any, customConfigs?: {
1014
+ customError?: boolean | undefined;
1015
+ customTimeout?: number | undefined;
1016
+ ignoreError?: boolean | undefined;
1017
+ customErrorCodes?: number[] | undefined;
1018
+ } | undefined) => Promise<AxiosResponse<any, any>>;
1089
1019
  };
1090
1020
  globalStore: {
1091
1021
  type: PropType<Object>;