bkui-vue 0.0.1-beta.132 → 0.0.1-beta.135

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.
Files changed (75) hide show
  1. package/dist/index.cjs.js +26 -26
  2. package/dist/index.esm.js +100 -82
  3. package/dist/index.umd.js +26 -26
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.d.ts +1 -48
  7. package/lib/alert/index.d.ts +1 -63
  8. package/lib/animate-number/index.d.ts +1 -28
  9. package/lib/backtop/index.d.ts +1 -61
  10. package/lib/badge/index.d.ts +1 -103
  11. package/lib/breadcrumb/index.d.ts +1 -55
  12. package/lib/button/index.d.ts +1 -97
  13. package/lib/card/index.d.ts +1 -111
  14. package/lib/cascader/cascader.d.ts +1 -1
  15. package/lib/cascader/index.d.ts +5 -275
  16. package/lib/checkbox/index.d.ts +1 -84
  17. package/lib/code-diff/index.d.ts +1 -51
  18. package/lib/collapse/index.d.ts +1 -64
  19. package/lib/container/index.d.ts +1 -59
  20. package/lib/date-picker/index.d.ts +1 -312
  21. package/lib/dialog/dialog.css +13 -9
  22. package/lib/dialog/dialog.less +16 -9
  23. package/lib/dialog/dialog.variable.css +13 -9
  24. package/lib/dialog/index.d.ts +1 -317
  25. package/lib/dialog/index.js +1 -1
  26. package/lib/directives/index.js +1 -1
  27. package/lib/divider/index.d.ts +1 -49
  28. package/lib/dropdown/dropdown.d.ts +1 -1
  29. package/lib/dropdown/index.d.ts +5 -60
  30. package/lib/exception/index.d.ts +1 -27
  31. package/lib/fixed-navbar/index.d.ts +1 -49
  32. package/lib/form/index.d.ts +1 -59
  33. package/lib/input/index.d.ts +1 -226
  34. package/lib/link/index.d.ts +1 -59
  35. package/lib/loading/index.d.ts +1 -94
  36. package/lib/menu/index.d.ts +1 -40
  37. package/lib/modal/index.d.ts +1 -215
  38. package/lib/navigation/index.d.ts +1 -119
  39. package/lib/pagination/index.d.ts +1 -158
  40. package/lib/popover/index.d.ts +5 -170
  41. package/lib/popover/popover.d.ts +1 -1
  42. package/lib/popover2/index.d.ts +5 -214
  43. package/lib/popover2/popover2.d.ts +1 -1
  44. package/lib/process/index.d.ts +1 -75
  45. package/lib/progress/index.d.ts +1 -169
  46. package/lib/radio/index.d.ts +1 -63
  47. package/lib/rate/index.d.ts +1 -33
  48. package/lib/resize-layout/index.d.ts +1 -128
  49. package/lib/resize-layout/index.js +1 -1
  50. package/lib/select/index.d.ts +1 -469
  51. package/lib/select/select.css +13 -0
  52. package/lib/select/select.less +18 -4
  53. package/lib/select/select.variable.css +13 -0
  54. package/lib/shared/index.d.ts +2 -6
  55. package/lib/sideslider/index.d.ts +1 -206
  56. package/lib/slider/index.d.ts +1 -175
  57. package/lib/steps/index.d.ts +1 -96
  58. package/lib/swiper/index.d.ts +1 -66
  59. package/lib/switcher/index.d.ts +1 -114
  60. package/lib/tab/index.d.ts +1 -140
  61. package/lib/table/index.d.ts +1 -230
  62. package/lib/table/index.js +1 -1
  63. package/lib/table/table.css +15 -12
  64. package/lib/table/table.less +18 -18
  65. package/lib/table/table.variable.css +15 -12
  66. package/lib/tag/index.d.ts +1 -85
  67. package/lib/tag-input/index.d.ts +5 -378
  68. package/lib/tag-input/tag-input.d.ts +1 -1
  69. package/lib/timeline/index.d.ts +1 -40
  70. package/lib/transfer/index.d.ts +1 -136
  71. package/lib/tree/index.d.ts +1 -227
  72. package/lib/upload/index.d.ts +1 -252
  73. package/lib/virtual-render/index.d.ts +1 -256
  74. package/lib/volar.components.d.ts +97 -28
  75. package/package.json +1 -1
@@ -575,260 +575,5 @@ declare const BkVirtualRender: {
575
575
  scrollPosition: string;
576
576
  abosuteHeight: string | number;
577
577
  throttleDelay: number;
578
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & {
579
- C: import("vue").DefineComponent<{
580
- onContentScroll: FunctionConstructor;
581
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
582
- default: () => unknown[];
583
- } & {
584
- default: () => unknown[];
585
- };
586
- enabled: import("vue-types").VueTypeValidableDef<boolean> & {
587
- default: boolean;
588
- } & {
589
- default: boolean;
590
- };
591
- scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
592
- default: boolean;
593
- } & {
594
- default: boolean;
595
- };
596
- lineHeight: import("vue-types").VueTypeDef<any> & {
597
- default: any;
598
- };
599
- minHeight: import("vue-types").VueTypeValidableDef<number> & {
600
- default: number;
601
- } & {
602
- default: number;
603
- };
604
- height: import("vue-types").VueTypeDef<string | number> & {
605
- default: string | number;
606
- };
607
- width: import("vue-types").VueTypeDef<string | number> & {
608
- default: string | number;
609
- };
610
- className: import("vue-types").VueTypeDef<string | string[] | {
611
- [key: string]: any;
612
- } | {
613
- [key: string]: any;
614
- }[]> & {
615
- default: string | (() => {
616
- [key: string]: any;
617
- }) | (() => string[]) | (() => {
618
- [key: string]: any;
619
- }[]);
620
- };
621
- contentClassName: import("vue-types").VueTypeDef<string | string[] | {
622
- [key: string]: any;
623
- } | {
624
- [key: string]: any;
625
- }[]> & {
626
- default: string | (() => {
627
- [key: string]: any;
628
- }) | (() => string[]) | (() => {
629
- [key: string]: any;
630
- }[]);
631
- };
632
- contentStyle: import("vue-types").VueTypeValidableDef<{
633
- [key: string]: any;
634
- }> & {
635
- default: () => {
636
- [key: string]: any;
637
- };
638
- } & {
639
- default: () => {
640
- [key: string]: any;
641
- };
642
- };
643
- scrollXName: import("vue-types").VueTypeValidableDef<string> & {
644
- default: string;
645
- } & {
646
- default: string;
647
- };
648
- scrollYName: import("vue-types").VueTypeValidableDef<string> & {
649
- default: string;
650
- } & {
651
- default: string;
652
- };
653
- groupItemCount: import("vue-types").VueTypeValidableDef<number> & {
654
- default: number;
655
- } & {
656
- default: number;
657
- };
658
- preloadItemCount: import("vue-types").VueTypeValidableDef<number> & {
659
- default: number;
660
- } & {
661
- default: number;
662
- };
663
- renderAs: import("vue-types").VueTypeValidableDef<string> & {
664
- default: string;
665
- } & {
666
- default: string;
667
- };
668
- contentAs: import("vue-types").VueTypeValidableDef<string> & {
669
- default: string;
670
- } & {
671
- default: string;
672
- };
673
- scrollOffsetTop: import("vue-types").VueTypeValidableDef<number> & {
674
- default: number;
675
- } & {
676
- default: number;
677
- };
678
- scrollPosition: import("vue-types").VueTypeValidableDef<string> & {
679
- default: string;
680
- } & {
681
- default: string;
682
- };
683
- abosuteHeight: import("vue-types").VueTypeDef<string | number> & {
684
- default: string | number;
685
- };
686
- throttleDelay: import("vue-types").VueTypeValidableDef<number> & {
687
- default: number;
688
- } & {
689
- default: number;
690
- };
691
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
692
- [key: string]: any;
693
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "content-scroll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
694
- onContentScroll: FunctionConstructor;
695
- list: import("vue-types").VueTypeValidableDef<unknown[]> & {
696
- default: () => unknown[];
697
- } & {
698
- default: () => unknown[];
699
- };
700
- enabled: import("vue-types").VueTypeValidableDef<boolean> & {
701
- default: boolean;
702
- } & {
703
- default: boolean;
704
- };
705
- scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
706
- default: boolean;
707
- } & {
708
- default: boolean;
709
- };
710
- lineHeight: import("vue-types").VueTypeDef<any> & {
711
- default: any;
712
- };
713
- minHeight: import("vue-types").VueTypeValidableDef<number> & {
714
- default: number;
715
- } & {
716
- default: number;
717
- };
718
- height: import("vue-types").VueTypeDef<string | number> & {
719
- default: string | number;
720
- };
721
- width: import("vue-types").VueTypeDef<string | number> & {
722
- default: string | number;
723
- };
724
- className: import("vue-types").VueTypeDef<string | string[] | {
725
- [key: string]: any;
726
- } | {
727
- [key: string]: any;
728
- }[]> & {
729
- default: string | (() => {
730
- [key: string]: any;
731
- }) | (() => string[]) | (() => {
732
- [key: string]: any;
733
- }[]);
734
- };
735
- contentClassName: import("vue-types").VueTypeDef<string | string[] | {
736
- [key: string]: any;
737
- } | {
738
- [key: string]: any;
739
- }[]> & {
740
- default: string | (() => {
741
- [key: string]: any;
742
- }) | (() => string[]) | (() => {
743
- [key: string]: any;
744
- }[]);
745
- };
746
- contentStyle: import("vue-types").VueTypeValidableDef<{
747
- [key: string]: any;
748
- }> & {
749
- default: () => {
750
- [key: string]: any;
751
- };
752
- } & {
753
- default: () => {
754
- [key: string]: any;
755
- };
756
- };
757
- scrollXName: import("vue-types").VueTypeValidableDef<string> & {
758
- default: string;
759
- } & {
760
- default: string;
761
- };
762
- scrollYName: import("vue-types").VueTypeValidableDef<string> & {
763
- default: string;
764
- } & {
765
- default: string;
766
- };
767
- groupItemCount: import("vue-types").VueTypeValidableDef<number> & {
768
- default: number;
769
- } & {
770
- default: number;
771
- };
772
- preloadItemCount: import("vue-types").VueTypeValidableDef<number> & {
773
- default: number;
774
- } & {
775
- default: number;
776
- };
777
- renderAs: import("vue-types").VueTypeValidableDef<string> & {
778
- default: string;
779
- } & {
780
- default: string;
781
- };
782
- contentAs: import("vue-types").VueTypeValidableDef<string> & {
783
- default: string;
784
- } & {
785
- default: string;
786
- };
787
- scrollOffsetTop: import("vue-types").VueTypeValidableDef<number> & {
788
- default: number;
789
- } & {
790
- default: number;
791
- };
792
- scrollPosition: import("vue-types").VueTypeValidableDef<string> & {
793
- default: string;
794
- } & {
795
- default: string;
796
- };
797
- abosuteHeight: import("vue-types").VueTypeDef<string | number> & {
798
- default: string | number;
799
- };
800
- throttleDelay: import("vue-types").VueTypeValidableDef<number> & {
801
- default: number;
802
- } & {
803
- default: number;
804
- };
805
- }>>, {
806
- enabled: boolean;
807
- width: string | number;
808
- height: string | number;
809
- list: unknown[];
810
- lineHeight: any;
811
- minHeight: number;
812
- className: string | {
813
- [key: string]: any;
814
- };
815
- scrollEvent: boolean;
816
- contentClassName: string | {
817
- [key: string]: any;
818
- };
819
- contentStyle: {
820
- [key: string]: any;
821
- };
822
- scrollXName: string;
823
- scrollYName: string;
824
- groupItemCount: number;
825
- preloadItemCount: number;
826
- renderAs: string;
827
- contentAs: string;
828
- scrollOffsetTop: number;
829
- scrollPosition: string;
830
- abosuteHeight: string | number;
831
- throttleDelay: number;
832
- }>;
833
- };
578
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
834
579
  export default BkVirtualRender;
@@ -1,31 +1,100 @@
1
- import * as globalComponents from './components';
1
+ /*
2
+ * Tencent is pleased to support the open source community by making
3
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
+ *
5
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6
+ *
7
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
+ *
9
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
10
+ *
11
+ * ---------------------------------------------------
12
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
13
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
14
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
15
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
+ *
17
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
18
+ * the Software.
19
+ *
20
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
21
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
+ * IN THE SOFTWARE.
25
+ */
2
26
  declare module '@vue/runtime-core' {
3
- type ExtendOriginComponent<T> = {
4
- [K in keyof T as (K extends string ? `Bk${K}` : never)]: T[K] extends {
5
- C: infer COM;
6
- } ? COM : never;
7
- };
8
- interface GlobalComponents extends ExtendOriginComponent<typeof globalComponents> {
9
- BkBreadcrumbItem: typeof globalComponents.Breadcrumb.Item;
10
- BkButtonGroup: typeof globalComponents.Button.ButtonGroup;
11
- BkCascaderPanel: typeof globalComponents.Cascader.CascaderPanel;
12
- BkCheckboxGroup: typeof globalComponents.Checkbox.Group;
13
- BkRow: typeof globalComponents.Container.Row;
14
- BkCol: typeof globalComponents.Container.Col;
15
- BkDropdownMenu: typeof globalComponents.Dropdown.DropdownMenu;
16
- BkDropdownItem: typeof globalComponents.Dropdown.DropdownItem;
17
- BkFormItem: typeof globalComponents.Form.FormItem;
18
- BkComposeFormItem: typeof globalComponents.Form.ComposeFormItem;
19
- BkLoadingMode: typeof globalComponents.Loading.BkLoadingMode;
20
- BkLoadingSize: typeof globalComponents.Loading.BkLoadingSize;
21
- BkMenuItem: typeof globalComponents.Menu.Item;
22
- BkSubmenu: typeof globalComponents.Menu.Submenu;
23
- BkMenuGroup: typeof globalComponents.Menu.Group;
24
- BkRadioGroup: typeof globalComponents.Radio.Group;
25
- BkRadioButton: typeof globalComponents.Radio.Button;
26
- BkOption: typeof globalComponents.Select.Option;
27
- BkOptionGroup: typeof globalComponents.Select.Group;
28
- BkTabPanel: typeof globalComponents.Tab.TabPanel;
29
- }
27
+ interface GlobalComponents {
28
+ BkBreadcrumbItem: typeof import('./breadcrumb/breadcrumb-item').default;
29
+ BkButtonGroup: typeof import('./button/button-group').default;
30
+ BkCascaderPanel: typeof import('./cascader/cascader-panel').default;
31
+ BkCheckboxGroup: typeof import('./checkbox/checkbox-group').default;
32
+ BkRow: typeof import('./container/row').default;
33
+ BkCol: typeof import('./container/col').default;
34
+ BkDropdownMenu: typeof import('./dropdown/dropdown-menu').default;
35
+ BkDropdownItem: typeof import('./dropdown/dropdown-item').default;
36
+ BkFormItem: typeof import('./form/form-item').default;
37
+ BkComposeFormItem: typeof import('./form/compose-form-item').default;
38
+ BkMenuItem: typeof import('./menu/menu-item').default;
39
+ BkSubmenu: typeof import('./menu/submenu').default;
40
+ BkMenuGroup: typeof import('./menu/menu-group').default;
41
+ BkRadioGroup: typeof import('./radio/radio-group').default;
42
+ BkRadioButton: typeof import('./radio/radio-button').default;
43
+ BkOption: typeof import('./select/option').default;
44
+ BkOptionGroup: typeof import('./select/optionGroup').default;
45
+ BkTabPanel: typeof import('./tab/tab-panel').default;
46
+ BkAlert: typeof import('./alert/alert').default;
47
+ BkAnimateNumber: typeof import('./animate-number/animate-number').default;
48
+ BkAffix: typeof import('./affix/affix').default;
49
+ BkBacktop: typeof import('./backtop/backtop').default;
50
+ BkBadge: typeof import('./badge/badge').default;
51
+ BkBreadcrumb: typeof import('./breadcrumb/breadcrumb').default;
52
+ BkButton: typeof import('./button/button').default;
53
+ BkCard: typeof import('./card/card').default;
54
+ BkCheckbox: typeof import('./checkbox/checkbox').default;
55
+ BkCollapse: typeof import('./collapse/collapse').default;
56
+ BkDialog: typeof import('./dialog/dialog').default;
57
+ BkException: typeof import('./exception/exception').default;
58
+ BkFixedNavbar: typeof import('./fixed-navbar/fixed-navbar').default;
59
+ BkInput: typeof import('./input/input').default;
60
+ BkLink: typeof import('./link/link').default;
61
+ BkLoading: typeof import('./loading/loading').default;
62
+ BkModal: typeof import('./modal/modal').default;
63
+ BkPopover: typeof import('./popover/popover').default;
64
+ BkPopover2: typeof import('./popover2/popover2').default;
65
+ BkProgress: typeof import('./progress/progress').default;
66
+ BkRadio: typeof import('./radio/radio').default;
67
+ BkRate: typeof import('./rate/rate').default;
68
+ BkSwiper: typeof import('./swiper/swiper').default;
69
+ BkSelect: typeof import('./select/select').default;
70
+ BkSideslider: typeof import('./sideslider/sideslider').default;
71
+ BkSteps: typeof import('./steps/steps').default;
72
+ BkSwitcher: typeof import('./switcher/switcher').default;
73
+ BkTable: typeof import('./table/table').default;
74
+ BkTag: typeof import('./tag/tag').default;
75
+ BkTagInput: typeof import('./tag-input/tag-input').default;
76
+ BkDivider: typeof import('./divider/divider').default;
77
+ BkTab: typeof import('./tab/tab').default;
78
+ BkMessage: typeof import('./message/messageConstructor').default;
79
+ BkNotify: typeof import('./notify/notifyConstructor').default;
80
+ BkMenu: typeof import('./menu/menu').default;
81
+ BkNavigation: typeof import('./navigation/navigation').default;
82
+ BkDatePicker: typeof import('./date-picker/date-picker').default;
83
+ BkTransfer: typeof import('./transfer/transfer').default;
84
+ BkTree: typeof import('./tree/tree').default;
85
+ BkVirtualRender: typeof import('./virtual-render/virtual-render').default;
86
+ BkForm: typeof import('./form/form').default;
87
+ BkPagination: typeof import('./pagination/pagination').default;
88
+ BkContainer: typeof import('./container/container').default;
89
+ BkcontainerProps: typeof import('./container/container').default;
90
+ BkDropdown: typeof import('./dropdown/dropdown').default;
91
+ BkCascader: typeof import('./cascader/cascader').default;
92
+ BkSlider: typeof import('./slider/slider').default;
93
+ BkResizeLayout: typeof import('./resize-layout/resize-layout').default;
94
+ BkTimeLine: typeof import('./timeline/timeline').default;
95
+ BkProcess: typeof import('./process/process').default;
96
+ BkUpload: typeof import('./upload/upload').default;
97
+ BkCodeDiff: typeof import('./code-diff/code-diff').default;
98
+ }
30
99
  }
31
100
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.1-beta.132",
3
+ "version": "0.0.1-beta.135",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",