@blueking/ediatable 0.0.1-beta.6 → 0.0.1-beta.7

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/vue3/vue3.css CHANGED
@@ -35,44 +35,6 @@ url("data:application/vnd.ms-fontobject;base64,9AgAAEwIAAABAAIAAAAAAAIABQMAAAAAA
35
35
  .icon-plus-fill:before {
36
36
  content: "\e102";
37
37
  }
38
- .bk-ediatable-head-column.is-required {
39
- position: relative;
40
- }
41
- .bk-ediatable-head-column.is-required::after {
42
- position: absolute;
43
- top: 0;
44
- margin-left: 4px;
45
- font-size: 12px;
46
- line-height: 40px;
47
- color: #ea3636;
48
- content: '*';
49
- }
50
- .bk-ediatable-head-column.is-right-fixed {
51
- position: sticky;
52
- right: 1px;
53
- }
54
- .bk-ediatable-head-column.is-right-fixed::before {
55
- position: absolute;
56
- top: 0;
57
- left: -10px;
58
- width: 10px;
59
- height: 100%;
60
- background: linear-gradient(to left, rgba(0, 0, 0, 0.12), transparent);
61
- content: '';
62
- }
63
- .bk-ediatable-head-column.is-left-fixed {
64
- position: sticky;
65
- left: 1px;
66
- }
67
- .bk-ediatable-head-column.is-left-fixed::before {
68
- position: absolute;
69
- top: 0;
70
- right: -10px;
71
- width: 10px;
72
- height: 100%;
73
- background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
74
- content: '';
75
- }
76
38
  .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}.bk-ediatable {
77
39
  position: relative;
78
40
  width: 100%;
@@ -286,6 +248,47 @@ url("data:application/vnd.ms-fontobject;base64,9AgAAEwIAAABAAIAAAAAAAIABQMAAAAAA
286
248
  background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
287
249
  content: '';
288
250
  }
251
+ .bk-ediatable-head-column .title-memo {
252
+ border-bottom: 1px dashed #979ba5;
253
+ }
254
+ .bk-ediatable-head-column.is-required {
255
+ position: relative;
256
+ }
257
+ .bk-ediatable-head-column.is-required::after {
258
+ position: absolute;
259
+ top: 0;
260
+ margin-left: 4px;
261
+ font-size: 12px;
262
+ line-height: 40px;
263
+ color: #ea3636;
264
+ content: '*';
265
+ }
266
+ .bk-ediatable-head-column.is-right-fixed {
267
+ position: sticky;
268
+ right: 1px;
269
+ }
270
+ .bk-ediatable-head-column.is-right-fixed::before {
271
+ position: absolute;
272
+ top: 0;
273
+ left: -10px;
274
+ width: 10px;
275
+ height: 100%;
276
+ background: linear-gradient(to left, rgba(0, 0, 0, 0.12), transparent);
277
+ content: '';
278
+ }
279
+ .bk-ediatable-head-column.is-left-fixed {
280
+ position: sticky;
281
+ left: 1px;
282
+ }
283
+ .bk-ediatable-head-column.is-left-fixed::before {
284
+ position: absolute;
285
+ top: 0;
286
+ right: -10px;
287
+ width: 10px;
288
+ height: 100%;
289
+ background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
290
+ content: '';
291
+ }
289
292
  .bk-ediatable-operation {
290
293
  display: flex;
291
294
  height: 42px;
@@ -1,63 +0,0 @@
1
- import { type Rules } from '../hooks/useValidtor';
2
- interface Props {
3
- placeholder?: string;
4
- rules?: Rules;
5
- type?: any;
6
- disabled?: boolean;
7
- }
8
- interface Slots {
9
- footer(): any;
10
- }
11
- type ValueType = [string, string] | string;
12
- declare let __VLS_typeProps: Props;
13
- type __VLS_PublicProps = {
14
- modelValue?: ValueType;
15
- } & typeof __VLS_typeProps;
16
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
17
- placeholder: string;
18
- rules: undefined;
19
- type: undefined;
20
- disabled: boolean;
21
- }>, {
22
- getValue: () => Promise<ValueType>;
23
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
- "update:modelValue": (modelValue: ValueType) => void;
25
- change: (value: any) => void;
26
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
27
- placeholder: string;
28
- rules: undefined;
29
- type: undefined;
30
- disabled: boolean;
31
- }>>> & {
32
- onChange?: ((value: any) => any) | undefined;
33
- "onUpdate:modelValue"?: ((modelValue: ValueType) => any) | undefined;
34
- }, {
35
- type: any;
36
- placeholder: string;
37
- rules: Rules;
38
- disabled: boolean;
39
- }, {}>, Readonly<Slots> & Slots>;
40
- export default _default;
41
-
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
- type __VLS_Prettify<T> = {
48
- [K in keyof T]: T[K];
49
- } & {};
50
- type __VLS_WithTemplateSlots<T, S> = T & {
51
- new (): {
52
- $slots: S;
53
- };
54
- };
55
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
56
- type __VLS_TypePropsToOption<T> = {
57
- [K in keyof T]-?: {} extends Pick<T, K> ? {
58
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
59
- } : {
60
- type: import('vue').PropType<T[K]>;
61
- required: true;
62
- };
63
- };
@@ -1,77 +0,0 @@
1
- import { type Rules } from '../hooks/useValidtor';
2
- interface Props {
3
- placeholder?: string;
4
- rules?: Rules;
5
- disabled?: boolean;
6
- type?: string;
7
- min?: number;
8
- max?: number;
9
- isShowBlur?: boolean;
10
- precision?: number;
11
- }
12
- declare let __VLS_typeProps: Props;
13
- type __VLS_PublicProps = {
14
- modelValue?: string | number;
15
- } & typeof __VLS_typeProps;
16
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
17
- placeholder: string;
18
- rules: undefined;
19
- disabled: boolean;
20
- type: string;
21
- min: number;
22
- max: number;
23
- isShowBlur: boolean;
24
- precision: number;
25
- }>, {
26
- getValue: () => Promise<string | number>;
27
- focus: () => void;
28
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- "update:modelValue": (modelValue: string | number) => void;
30
- submit: (value: string | number) => void;
31
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
32
- placeholder: string;
33
- rules: undefined;
34
- disabled: boolean;
35
- type: string;
36
- min: number;
37
- max: number;
38
- isShowBlur: boolean;
39
- precision: number;
40
- }>>> & {
41
- onSubmit?: ((value: string | number) => any) | undefined;
42
- "onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
43
- }, {
44
- type: string;
45
- placeholder: string;
46
- rules: Rules;
47
- disabled: boolean;
48
- min: number;
49
- max: number;
50
- isShowBlur: boolean;
51
- precision: number;
52
- }, {}>, {
53
- blur?(_: {}): any;
54
- }>;
55
- export default _default;
56
- type __VLS_WithDefaults<P, D> = {
57
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
- default: D[K];
59
- }> : P[K];
60
- };
61
- type __VLS_Prettify<T> = {
62
- [K in keyof T]: T[K];
63
- } & {};
64
- type __VLS_WithTemplateSlots<T, S> = T & {
65
- new (): {
66
- $slots: S;
67
- };
68
- };
69
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
- type __VLS_TypePropsToOption<T> = {
71
- [K in keyof T]-?: {} extends Pick<T, K> ? {
72
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
- } : {
74
- type: import('vue').PropType<T[K]>;
75
- required: true;
76
- };
77
- };
@@ -1,48 +0,0 @@
1
- interface Props {
2
- removeable?: boolean;
3
- showCopy?: boolean;
4
- showAdd?: boolean;
5
- showRemove?: boolean;
6
- }
7
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
8
- removeable: boolean;
9
- showCopy: boolean;
10
- showAdd: boolean;
11
- showRemove: boolean;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- add: () => void;
14
- copy: () => void;
15
- remove: () => void;
16
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
- removeable: boolean;
18
- showCopy: boolean;
19
- showAdd: boolean;
20
- showRemove: boolean;
21
- }>>> & {
22
- onCopy?: (() => any) | undefined;
23
- onAdd?: (() => any) | undefined;
24
- onRemove?: (() => any) | undefined;
25
- }, {
26
- removeable: boolean;
27
- showCopy: boolean;
28
- showAdd: boolean;
29
- showRemove: boolean;
30
- }, {}>;
31
- export default _default;
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
40
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
41
- type __VLS_TypePropsToOption<T> = {
42
- [K in keyof T]-?: {} extends Pick<T, K> ? {
43
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
44
- } : {
45
- type: import('vue').PropType<T[K]>;
46
- required: true;
47
- };
48
- };
@@ -1,65 +0,0 @@
1
- import { type Rules } from '../hooks/useValidtor';
2
- type IKey = string | number | string[];
3
- export interface IListItem {
4
- value: IKey;
5
- label: string;
6
- }
7
- interface Props {
8
- list: Array<IListItem>;
9
- placeholder?: string;
10
- rules?: Rules;
11
- disabled?: boolean;
12
- multiple?: boolean;
13
- showSelectAll?: boolean;
14
- }
15
- declare let __VLS_typeProps: Props;
16
- type __VLS_PublicProps = {
17
- modelValue?: IKey;
18
- } & typeof __VLS_typeProps;
19
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
20
- placeholder: string;
21
- textarea: boolean;
22
- rules: () => never[];
23
- disabled: boolean;
24
- multiple: boolean;
25
- showSelectAll: boolean;
26
- }>, {
27
- getValue: () => Promise<IKey>;
28
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- "update:modelValue": (modelValue: IKey) => void;
30
- change: (value: IKey) => void;
31
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
32
- placeholder: string;
33
- textarea: boolean;
34
- rules: () => never[];
35
- disabled: boolean;
36
- multiple: boolean;
37
- showSelectAll: boolean;
38
- }>>> & {
39
- onChange?: ((value: IKey) => any) | undefined;
40
- "onUpdate:modelValue"?: ((modelValue: IKey) => any) | undefined;
41
- }, {
42
- placeholder: string;
43
- rules: Rules;
44
- disabled: boolean;
45
- multiple: boolean;
46
- showSelectAll: boolean;
47
- }, {}>;
48
- export default _default;
49
- type __VLS_WithDefaults<P, D> = {
50
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
51
- default: D[K];
52
- }> : P[K];
53
- };
54
- type __VLS_Prettify<T> = {
55
- [K in keyof T]: T[K];
56
- } & {};
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToOption<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
64
- };
65
- };
@@ -1,60 +0,0 @@
1
- import { type Rules } from '../hooks/useValidtor';
2
- interface Props {
3
- placeholder?: string;
4
- single?: boolean;
5
- rules?: Rules;
6
- showTip?: boolean;
7
- }
8
- declare let __VLS_typeProps: Props;
9
- type __VLS_PublicProps = {
10
- modelValue?: string[];
11
- } & typeof __VLS_typeProps;
12
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
13
- placeholder: string;
14
- single: boolean;
15
- rules: undefined;
16
- showTip: boolean;
17
- }>, {
18
- getValue: () => Promise<string[] | undefined>;
19
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- "update:modelValue": (modelValue: string[]) => void;
21
- change: (value: string[]) => void;
22
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
23
- placeholder: string;
24
- single: boolean;
25
- rules: undefined;
26
- showTip: boolean;
27
- }>>> & {
28
- onChange?: ((value: string[]) => any) | undefined;
29
- "onUpdate:modelValue"?: ((modelValue: string[]) => any) | undefined;
30
- }, {
31
- placeholder: string;
32
- rules: Rules;
33
- single: boolean;
34
- showTip: boolean;
35
- }, {}>, {
36
- tip?(_: {}): any;
37
- }>;
38
- export default _default;
39
- type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
- default: D[K];
42
- }> : P[K];
43
- };
44
- type __VLS_Prettify<T> = {
45
- [K in keyof T]: T[K];
46
- } & {};
47
- type __VLS_WithTemplateSlots<T, S> = T & {
48
- new (): {
49
- $slots: S;
50
- };
51
- };
52
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
- type __VLS_TypePropsToOption<T> = {
54
- [K in keyof T]-?: {} extends Pick<T, K> ? {
55
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
- } : {
57
- type: import('vue').PropType<T[K]>;
58
- required: true;
59
- };
60
- };