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

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,6 +35,47 @@ 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 .title-memo {
39
+ border-bottom: 1px dashed #979ba5;
40
+ }
41
+ .bk-ediatable-head-column.is-required {
42
+ position: relative;
43
+ }
44
+ .bk-ediatable-head-column.is-required::after {
45
+ position: absolute;
46
+ top: 0;
47
+ margin-left: 4px;
48
+ font-size: 12px;
49
+ line-height: 40px;
50
+ color: #ea3636;
51
+ content: '*';
52
+ }
53
+ .bk-ediatable-head-column.is-right-fixed {
54
+ position: sticky;
55
+ right: 1px;
56
+ }
57
+ .bk-ediatable-head-column.is-right-fixed::before {
58
+ position: absolute;
59
+ top: 0;
60
+ left: -10px;
61
+ width: 10px;
62
+ height: 100%;
63
+ background: linear-gradient(to left, rgba(0, 0, 0, 0.12), transparent);
64
+ content: '';
65
+ }
66
+ .bk-ediatable-head-column.is-left-fixed {
67
+ position: sticky;
68
+ left: 1px;
69
+ }
70
+ .bk-ediatable-head-column.is-left-fixed::before {
71
+ position: absolute;
72
+ top: 0;
73
+ right: -10px;
74
+ width: 10px;
75
+ height: 100%;
76
+ background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
77
+ content: '';
78
+ }
38
79
  .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 {
39
80
  position: relative;
40
81
  width: 100%;
@@ -248,47 +289,6 @@ url("data:application/vnd.ms-fontobject;base64,9AgAAEwIAAABAAIAAAAAAAIABQMAAAAAA
248
289
  background: linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent);
249
290
  content: '';
250
291
  }
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
- }
292
292
  .bk-ediatable-operation {
293
293
  display: flex;
294
294
  height: 42px;
@@ -1,20 +0,0 @@
1
- import './lib/bk-icon/iconcool.js';
2
- import './lib/bk-icon/style.css';
3
- import 'bkui-vue/dist/style.css';
4
- import 'tippy.js/dist/tippy.css';
5
- import 'tippy.js/themes/light.css';
6
- import type { InjectionKey, Ref } from 'vue';
7
- export declare const renderTablekey: InjectionKey<{
8
- isOverflow: Ref<boolean>;
9
- rowWidth: Ref<number>;
10
- }>;
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
12
- default?(_: {}): any;
13
- data?(_: {}): any;
14
- }>;
15
- export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1,32 +1,32 @@
1
1
  interface Props {
2
+ removeable?: boolean;
2
3
  showCopy?: boolean;
3
4
  showAdd?: boolean;
4
5
  showRemove?: boolean;
5
- removeable?: boolean;
6
6
  }
7
7
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
8
+ removeable: boolean;
8
9
  showCopy: boolean;
9
10
  showAdd: boolean;
10
11
  showRemove: boolean;
11
- removeable: boolean;
12
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- copy: () => void;
14
13
  add: () => void;
14
+ copy: () => void;
15
15
  remove: () => void;
16
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
+ removeable: boolean;
17
18
  showCopy: boolean;
18
19
  showAdd: boolean;
19
20
  showRemove: boolean;
20
- removeable: boolean;
21
21
  }>>> & {
22
22
  onCopy?: (() => any) | undefined;
23
23
  onAdd?: (() => any) | undefined;
24
24
  onRemove?: (() => any) | undefined;
25
25
  }, {
26
+ removeable: boolean;
26
27
  showCopy: boolean;
27
28
  showAdd: boolean;
28
29
  showRemove: boolean;
29
- removeable: boolean;
30
30
  }, {}>;
31
31
  export default _default;
32
32
  type __VLS_WithDefaults<P, D> = {