bkui-vue 0.0.1-beta.162 → 0.0.1-beta.165

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.
@@ -221,6 +221,25 @@
221
221
  .bk-select .bk-select-trigger .bk-select-tag::placeholder {
222
222
  color: var(--light-gray);
223
223
  }
224
+ .bk-select .bk-select-trigger .bk-select-tag:not(.is-disabled):hover {
225
+ border-color: #979ba5;
226
+ }
227
+ .bk-select .bk-select-trigger .bk-select-tag.is-disabled {
228
+ cursor: not-allowed;
229
+ background-color: #fafbfd;
230
+ }
231
+ .bk-select .bk-select-trigger .bk-select-tag.is-disabled input {
232
+ cursor: not-allowed;
233
+ }
234
+ .bk-select .bk-select-trigger .bk-select-tag.is-disabled .bk-tag {
235
+ cursor: not-allowed;
236
+ }
237
+ .bk-select .bk-select-trigger .bk-select-tag.is-disabled .bk-tag:hover {
238
+ background-color: #f0f1f5;
239
+ }
240
+ .bk-select .bk-select-trigger .bk-select-tag.is-disabled .bk-tag .bk-tag-close {
241
+ cursor: not-allowed;
242
+ }
224
243
  .bk-select .bk-select-trigger .bk-select-tag-input {
225
244
  width: 100%;
226
245
  height: 32px;
@@ -244,6 +263,7 @@
244
263
  padding: 0;
245
264
  margin: 4px 5px 4px 0;
246
265
  overflow: hidden;
266
+ background-color: transparent;
247
267
  border: none;
248
268
  outline: none;
249
269
  flex-grow: 1;
@@ -23,6 +23,11 @@ declare const _default: import("vue").DefineComponent<{
23
23
  } & {
24
24
  default: boolean;
25
25
  };
26
+ disabled: import("vue-types/dist/types").VueTypeValidableDef<boolean> & {
27
+ default: boolean;
28
+ } & {
29
+ default: boolean;
30
+ };
26
31
  modelValue: import("vue-types/dist/types").VueTypeValidableDef<any>;
27
32
  }, {
28
33
  value: any;
@@ -31,7 +36,6 @@ declare const _default: import("vue").DefineComponent<{
31
36
  focus: () => void;
32
37
  handleInput: (e: any) => void;
33
38
  handleKeydown: (e: any) => void;
34
- handleGetLabelByValue: (item: ISelected) => string;
35
39
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "remove" | "enter")[], "update:modelValue" | "remove" | "enter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
40
  selected: {
37
41
  type: PropType<ISelected[]>;
@@ -55,12 +59,18 @@ declare const _default: import("vue").DefineComponent<{
55
59
  } & {
56
60
  default: boolean;
57
61
  };
62
+ disabled: import("vue-types/dist/types").VueTypeValidableDef<boolean> & {
63
+ default: boolean;
64
+ } & {
65
+ default: boolean;
66
+ };
58
67
  modelValue: import("vue-types/dist/types").VueTypeValidableDef<any>;
59
68
  }>> & {
60
69
  onEnter?: (...args: any[]) => any;
61
70
  "onUpdate:modelValue"?: (...args: any[]) => any;
62
71
  onRemove?: (...args: any[]) => any;
63
72
  }, {
73
+ disabled: boolean;
64
74
  placeholder: string;
65
75
  selected: ISelected[];
66
76
  tagTheme: string;
@@ -18,7 +18,6 @@ export interface ISelectContext {
18
18
  registerGroup(key: any, option: GroupInstanceType): any;
19
19
  unregisterGroup(key: any): any;
20
20
  handleOptionSelected(option: OptionInstanceType): void;
21
- handleGetLabelByValue(item: ISelected): string;
22
21
  }
23
22
  export interface IOptionGroupContext {
24
23
  disabled: boolean;
@@ -10,10 +10,10 @@ declare const BkTable: {
10
10
  border: string[];
11
11
  columns: import("./props").Column[];
12
12
  headHeight: number;
13
- scrollLoading: boolean | {
13
+ pagination: boolean | {
14
14
  [key: string]: any;
15
15
  };
16
- pagination: boolean | {
16
+ scrollLoading: boolean | {
17
17
  [key: string]: any;
18
18
  };
19
19
  columnPick: string;
@@ -129,7 +129,7 @@ declare const BkTable: {
129
129
  onPageValueChange?: (...args: any[]) => any;
130
130
  onSettingChange?: (...args: any[]) => any;
131
131
  onScrollBottom?: (...args: any[]) => any;
132
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "height" | "maxHeight" | "minHeight" | "border" | "columns" | "headHeight" | "scrollLoading" | "pagination" | "columnPick" | "rowHeight" | "showHead" | "virtualEnabled" | "remotePagination" | "emptyText" | "settings" | "rowClass" | "rowStyle" | "cellStyle" | "cellClass" | "reserveExpand" | "rowKey">;
132
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "height" | "maxHeight" | "minHeight" | "border" | "columns" | "headHeight" | "pagination" | "scrollLoading" | "columnPick" | "rowHeight" | "showHead" | "virtualEnabled" | "remotePagination" | "emptyText" | "settings" | "rowClass" | "rowStyle" | "cellStyle" | "cellClass" | "reserveExpand" | "rowKey">;
133
133
  $attrs: {
134
134
  [x: string]: unknown;
135
135
  };
@@ -262,10 +262,10 @@ declare const BkTable: {
262
262
  border: string[];
263
263
  columns: import("./props").Column[];
264
264
  headHeight: number;
265
- scrollLoading: boolean | {
265
+ pagination: boolean | {
266
266
  [key: string]: any;
267
267
  };
268
- pagination: boolean | {
268
+ scrollLoading: boolean | {
269
269
  [key: string]: any;
270
270
  };
271
271
  columnPick: string;
@@ -524,10 +524,10 @@ declare const BkTable: {
524
524
  border: string[];
525
525
  columns: import("./props").Column[];
526
526
  headHeight: number;
527
- scrollLoading: boolean | {
527
+ pagination: boolean | {
528
528
  [key: string]: any;
529
529
  };
530
- pagination: boolean | {
530
+ scrollLoading: boolean | {
531
531
  [key: string]: any;
532
532
  };
533
533
  columnPick: string;
@@ -210,10 +210,10 @@ declare const _default: import("vue").DefineComponent<{
210
210
  border: string[];
211
211
  columns: import("./props").Column[];
212
212
  headHeight: number;
213
- scrollLoading: boolean | {
213
+ pagination: boolean | {
214
214
  [key: string]: any;
215
215
  };
216
- pagination: boolean | {
216
+ scrollLoading: boolean | {
217
217
  [key: string]: any;
218
218
  };
219
219
  columnPick: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.1-beta.162",
3
+ "version": "0.0.1-beta.165",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",