@bagelink/vue 0.0.270 → 0.0.276

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 (35) hide show
  1. package/dist/components/Accordion.vue.d.ts +10 -0
  2. package/dist/components/Accordion.vue.d.ts.map +1 -0
  3. package/dist/components/AccordionItem.vue.d.ts +2 -0
  4. package/dist/components/AccordionItem.vue.d.ts.map +1 -1
  5. package/dist/components/Btn.vue.d.ts +3 -3
  6. package/dist/components/{Drop.vue.d.ts → ComboBox.vue.d.ts} +10 -12
  7. package/dist/components/ComboBox.vue.d.ts.map +1 -0
  8. package/dist/components/Popover.vue.d.ts +10 -0
  9. package/dist/components/Popover.vue.d.ts.map +1 -0
  10. package/dist/components/Title.vue.d.ts +1 -1
  11. package/dist/components/form/BglForm.vue.d.ts.map +1 -1
  12. package/dist/components/form/ItemRef.vue.d.ts +0 -1
  13. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  14. package/dist/components/form/inputs/SelectField.vue.d.ts +4 -1
  15. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  16. package/dist/components/index.d.ts +3 -0
  17. package/dist/components/index.d.ts.map +1 -1
  18. package/dist/index.cjs +6752 -4031
  19. package/dist/index.mjs +6726 -4005
  20. package/dist/plugins/bagel.d.ts.map +1 -1
  21. package/dist/style.css +291 -238
  22. package/dist/utils/clickOutside.d.ts +7 -0
  23. package/dist/utils/clickOutside.d.ts.map +1 -0
  24. package/package.json +2 -1
  25. package/src/components/Accordion.vue +15 -0
  26. package/src/components/AccordionItem.vue +48 -24
  27. package/src/components/ComboBox.vue +132 -0
  28. package/src/components/index.ts +3 -0
  29. package/src/plugins/bagel.ts +14 -2
  30. package/src/styles/layout.css +191 -188
  31. package/src/styles/text.css +40 -43
  32. package/src/utils/clickOutside.ts +15 -0
  33. package/dist/components/Drop.vue.d.ts.map +0 -1
  34. package/dist/components/FileUploader.vue.d.ts +0 -60
  35. package/dist/components/FileUploader.vue.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- h1,
1
+ /* h1,
2
2
  h2,
3
3
  h3,
4
4
  h4,
@@ -17,116 +17,113 @@ h4 {}
17
17
 
18
18
  h5 {}
19
19
 
20
- h6 {}
20
+ h6 {} */
21
21
 
22
22
  .txt-center {
23
- text-align: center;
23
+ text-align: center;
24
24
  }
25
25
 
26
26
  .txt-start {
27
- text-align: start;
27
+ text-align: start;
28
28
  }
29
29
 
30
30
  .txt-end {
31
- text-align: end;
31
+ text-align: end;
32
32
  }
33
33
 
34
-
35
34
  .smalltxt {
36
- font-size: 12px;
35
+ font-size: 12px;
37
36
  }
38
37
 
39
-
40
38
  .txt20 {
41
- font-size: 20px;
39
+ font-size: 20px;
42
40
  }
43
41
 
44
42
  .txt18 {
45
- font-size: 18px;
43
+ font-size: 18px;
46
44
  }
47
45
 
48
46
  .txt16 {
49
- font-size: 16px;
47
+ font-size: 16px;
50
48
  }
51
49
 
52
50
  .txt14 {
53
- font-size: 14px;
51
+ font-size: 14px;
54
52
  }
55
53
 
56
54
  .txt12 {
57
- font-size: 12px;
55
+ font-size: 12px;
58
56
  }
59
57
 
60
58
  .txt10 {
61
- font-size: 10px;
59
+ font-size: 10px;
62
60
  }
63
61
 
64
62
  .txt9 {
65
- font-size: 9px;
63
+ font-size: 9px;
66
64
  }
67
65
 
68
66
  .no-margin {
69
- margin: 0;
67
+ margin: 0;
70
68
  }
71
69
 
72
70
  .txtgray {
73
- color: var(--bgl-gray);
71
+ color: var(--bgl-gray);
74
72
  }
75
73
 
76
74
  .txtblue {
77
- color: var(--bgl-primary);
75
+ color: var(--bgl-primary);
78
76
  }
79
77
 
80
78
  .txtblack {
81
- color: var(--bgl-black);
79
+ color: var(--bgl-black);
82
80
  }
83
81
 
84
82
  .txtred {
85
- color: var(--bgl-red);
83
+ color: var(--bgl-red);
86
84
  }
87
85
 
88
86
  .font-light {
89
- font-weight: 100;
87
+ font-weight: 100;
90
88
  }
91
89
 
92
90
  .bold {
93
- font-weight: 700;
91
+ font-weight: 700;
94
92
  }
95
93
 
96
94
  .line-height-1 {
97
- line-height: 1;
95
+ line-height: 1;
98
96
  }
99
97
 
100
98
  .ellipsis {
101
- overflow: hidden;
102
- display: block;
103
- width: 100%;
104
- text-overflow: ellipsis;
99
+ overflow: hidden;
100
+ display: block;
101
+ width: 100%;
102
+ text-overflow: ellipsis;
105
103
  }
106
104
 
107
105
  .pointer {
108
- cursor: pointer;
106
+ cursor: pointer;
109
107
  }
110
108
 
111
109
  .decoration-none {
112
- text-decoration: none;
110
+ text-decoration: none;
113
111
  }
114
112
 
115
113
  .bgl_icon-font {
116
- font-family: "Material Symbols Outlined", serif;
114
+ font-family: "Material Symbols Outlined", serif;
117
115
  }
118
116
 
119
-
120
117
  @media screen and (max-width: 910px) {
121
- .txt20 {
122
- font-size: 18px;
123
- }
124
-
125
- .txt16 {
126
- font-size: 14px;
127
- }
128
-
129
- .txt14 {
130
- font-size: 12px;
131
- }
132
- }
118
+ .txt20 {
119
+ font-size: 18px;
120
+ }
121
+
122
+ .txt16 {
123
+ font-size: 14px;
124
+ }
125
+
126
+ .txt14 {
127
+ font-size: 12px;
128
+ }
129
+ }
@@ -0,0 +1,15 @@
1
+ import type { DirectiveBinding } from 'vue';
2
+
3
+ export default {
4
+ beforeMount(el: any, binding: DirectiveBinding) {
5
+ el.clickOutsideEvent = (event: MouseEvent) => {
6
+ if (!(el === event.target || el.contains(event.target))) {
7
+ binding.value(event);
8
+ }
9
+ };
10
+ document.addEventListener('click', el.clickOutsideEvent);
11
+ },
12
+ unmounted(el: any) {
13
+ document.removeEventListener('click', el.clickOutsideEvent);
14
+ },
15
+ };
@@ -1 +0,0 @@
1
- {"version":3,"file":"Drop.vue.d.ts","sourceRoot":"","sources":["../../src/components/Drop.vue"],"names":[],"mappings":"AAcA;AAMA,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,GAAG,MAAM,CAAC;;gBA8KN,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;gBALL,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;AAXnB,wBAcG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,60 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id?: string | undefined;
3
- private?: 0 | 1 | undefined;
4
- singleFile?: boolean | undefined;
5
- beforeUpload?: (() => Promise<any>) | undefined;
6
- dragDropLabel?: string | undefined;
7
- browseLabel?: string | undefined;
8
- }>, {
9
- private: number;
10
- entity: string;
11
- id: string;
12
- beforeUpload: () => Promise<void>;
13
- dragDropLabel: string;
14
- browseLabel: string;
15
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- done: (...args: any[]) => void;
17
- complete: (...args: any[]) => void;
18
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
19
- id?: string | undefined;
20
- private?: 0 | 1 | undefined;
21
- singleFile?: boolean | undefined;
22
- beforeUpload?: (() => Promise<any>) | undefined;
23
- dragDropLabel?: string | undefined;
24
- browseLabel?: string | undefined;
25
- }>, {
26
- private: number;
27
- entity: string;
28
- id: string;
29
- beforeUpload: () => Promise<void>;
30
- dragDropLabel: string;
31
- browseLabel: string;
32
- }>>> & {
33
- onDone?: ((...args: any[]) => any) | undefined;
34
- onComplete?: ((...args: any[]) => any) | undefined;
35
- }, {
36
- id: string;
37
- private: 1 | 0;
38
- beforeUpload: () => Promise<any>;
39
- dragDropLabel: string;
40
- browseLabel: string;
41
- }, {}>;
42
- export default _default;
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToRuntimeProps<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: import('vue').PropType<T[K]>;
49
- required: true;
50
- };
51
- };
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_Prettify<T> = {
58
- [K in keyof T]: T[K];
59
- } & {};
60
- //# sourceMappingURL=FileUploader.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileUploader.vue"],"names":[],"mappings":"AAiDA;;;;;0BA6YuB,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;0BAAZ,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;QAJ5B,MAAM;aAED,CAAC,GAAG,CAAC;kBAEA,MAAM,QAAQ,GAAG,CAAC;mBACjB,MAAM;iBACR,MAAM;;AARtB,wBAeG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,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