@bagelink/vue 0.0.322 → 0.0.335

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 (72) hide show
  1. package/dist/components/ComboBox.vue.d.ts.map +1 -1
  2. package/dist/components/MaterialIcon.vue.d.ts +4 -2
  3. package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
  4. package/dist/components/Modal.vue.d.ts +0 -1
  5. package/dist/components/ModalBglForm.vue.d.ts.map +1 -1
  6. package/dist/components/Popover.vue.d.ts +10 -0
  7. package/dist/components/Popover.vue.d.ts.map +1 -0
  8. package/dist/components/form/BglForm.vue.d.ts +1 -9
  9. package/dist/components/form/BglForm.vue.d.ts.map +1 -1
  10. package/dist/components/form/inputs/DateInput.vue.d.ts +0 -1
  11. package/dist/components/form/inputs/SelectInput.vue.d.ts +22 -16
  12. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  13. package/dist/components/form/inputs/TextArea.vue.d.ts +3 -1
  14. package/dist/components/form/inputs/TextArea.vue.d.ts.map +1 -1
  15. package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
  16. package/dist/components/formkit/index.d.ts +1 -14
  17. package/dist/components/formkit/index.d.ts.map +1 -1
  18. package/dist/components/index.d.ts +0 -2
  19. package/dist/components/index.d.ts.map +1 -1
  20. package/dist/components/layout/Layout.vue.d.ts +8 -0
  21. package/dist/components/layout/Layout.vue.d.ts.map +1 -1
  22. package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
  23. package/dist/components/layout/TabbedLayout.vue.d.ts +38 -0
  24. package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -0
  25. package/dist/components/layout/Tabs.vue.d.ts +24 -0
  26. package/dist/components/layout/Tabs.vue.d.ts.map +1 -0
  27. package/dist/components/layout/TabsBody.vue.d.ts +21 -0
  28. package/dist/components/layout/TabsBody.vue.d.ts.map +1 -0
  29. package/dist/components/layout/TabsNav.vue.d.ts +25 -0
  30. package/dist/components/layout/TabsNav.vue.d.ts.map +1 -0
  31. package/dist/components/layout/index.d.ts +4 -0
  32. package/dist/components/layout/index.d.ts.map +1 -1
  33. package/dist/components/layout/tabsManager.d.ts +4 -0
  34. package/dist/components/layout/tabsManager.d.ts.map +1 -0
  35. package/dist/index.cjs +783 -2035
  36. package/dist/index.d.ts +0 -1
  37. package/dist/index.mjs +785 -2037
  38. package/dist/style.css +2129 -695
  39. package/dist/types/index.d.ts +7 -1
  40. package/dist/types/index.d.ts.map +1 -1
  41. package/dist/types/materialIcon.d.ts +2 -0
  42. package/dist/types/materialIcon.d.ts.map +1 -0
  43. package/dist/types/materialIcons.d.ts +1 -1
  44. package/dist/types/materialIcons.d.ts.map +1 -1
  45. package/dist/utils/index.d.ts.map +1 -1
  46. package/package.json +1 -1
  47. package/src/components/MaterialIcon.vue +3 -2
  48. package/src/components/PageTitle.vue +10 -20
  49. package/src/components/form/BglField.vue +2 -2
  50. package/src/components/form/BglForm.vue +49 -53
  51. package/src/components/form/inputs/SelectInput.vue +128 -484
  52. package/src/components/form/inputs/TextInput.vue +158 -112
  53. package/src/components/index.ts +0 -2
  54. package/src/components/layout/Layout.vue +34 -13
  55. package/src/components/layout/SidebarMenu.vue +22 -22
  56. package/src/components/layout/TabbedLayout.vue +79 -0
  57. package/src/components/layout/Tabs.vue +19 -0
  58. package/src/components/layout/TabsBody.vue +15 -0
  59. package/src/components/layout/TabsNav.vue +48 -0
  60. package/src/components/layout/index.ts +4 -0
  61. package/src/components/layout/tabsManager.ts +18 -0
  62. package/src/styles/appearance.css +81 -0
  63. package/src/styles/bagel.css +2 -0
  64. package/src/styles/layout.css +162 -17
  65. package/src/styles/mobilLayout.css +1476 -0
  66. package/src/styles/text.css +153 -1
  67. package/src/types/index.ts +9 -1
  68. package/src/types/materialIcons.ts +1180 -1178
  69. package/src/utils/BagelFormUtils.ts +1 -1
  70. package/src/utils/index.ts +0 -1
  71. package/src/components/ComboBox.vue +0 -165
  72. package/src/components/TabbedLayout.vue +0 -87
@@ -0,0 +1,18 @@
1
+ import { reactive, computed } from 'vue';
2
+
3
+ const state = reactive(new Map());
4
+
5
+ export function useTabs(group: string) {
6
+ if (!state.has(group)) {
7
+ state.set(group, reactive({ currentTab: null }));
8
+ }
9
+
10
+ const currentTab = computed({
11
+ get: () => state.get(group).currentTab,
12
+ set: (val) => {
13
+ state.get(group).currentTab = val;
14
+ },
15
+ });
16
+
17
+ return { currentTab };
18
+ }
@@ -0,0 +1,81 @@
1
+ .opacity-1 {
2
+ opacity: 0.1;
3
+ }
4
+
5
+ .opacity-2 {
6
+ opacity: 0.2;
7
+ }
8
+
9
+ .opacity-3 {
10
+ opacity: 0.3;
11
+ }
12
+
13
+ .opacity-4 {
14
+ opacity: 0.4;
15
+ }
16
+
17
+ .opacity-5 {
18
+ opacity: 0.5;
19
+ }
20
+
21
+ .opacity-6 {
22
+ opacity: 0.6;
23
+ }
24
+
25
+ .opacity-7 {
26
+ opacity: 0.7;
27
+ }
28
+
29
+ .opacity-8 {
30
+ opacity: 0.8;
31
+ }
32
+
33
+ .opacity-9 {
34
+ opacity: 0.9;
35
+ }
36
+
37
+ .opacity-10 {
38
+ opacity: 1;
39
+ }
40
+
41
+ @media screen and (max-width: 910px) {
42
+ .m_opacity-1 {
43
+ opacity: 0.1;
44
+ }
45
+
46
+ .m_opacity-2 {
47
+ opacity: 0.2;
48
+ }
49
+
50
+ .m_opacity-3 {
51
+ opacity: 0.3;
52
+ }
53
+
54
+ .m_opacity-4 {
55
+ opacity: 0.4;
56
+ }
57
+
58
+ .m_opacity-5 {
59
+ opacity: 0.5;
60
+ }
61
+
62
+ .m_opacity-6 {
63
+ opacity: 0.6;
64
+ }
65
+
66
+ .m_opacity-7 {
67
+ opacity: 0.7;
68
+ }
69
+
70
+ .m_opacity-8 {
71
+ opacity: 0.8;
72
+ }
73
+
74
+ .m_opacity-9 {
75
+ opacity: 0.9;
76
+ }
77
+
78
+ .m_opacity-10 {
79
+ opacity: 1;
80
+ }
81
+ }
@@ -1,10 +1,12 @@
1
1
  @import "layout.css";
2
+ @import "mobilLayout.css";
2
3
  @import "inputs.css";
3
4
  @import "buttons.css";
4
5
  @import "text.css";
5
6
  @import "scrollbar.css";
6
7
  @import "transitions.css";
7
8
  @import "loginCard.css";
9
+ @import "appearance.css";
8
10
  @import "theme.css";
9
11
  @import "dark.css";
10
12
  @import "./fonts/Ploni.css";
@@ -101,12 +101,11 @@
101
101
  inset-inline-end: 0px;
102
102
  }
103
103
 
104
- .position-absolute {
105
- position: absolute;
106
- }
107
-
108
- .position-relative {
109
- position: relative;
104
+ .positioned-full {
105
+ top: 0;
106
+ bottom: 0;
107
+ inset-inline-start: 0;
108
+ inset-inline-end: 0;
110
109
  }
111
110
 
112
111
  .auto-flow-rows {
@@ -127,7 +126,7 @@
127
126
  }
128
127
 
129
128
  .w-100,
130
- .w100 {
129
+ .width-100 {
131
130
  width: 100%;
132
131
  }
133
132
 
@@ -140,24 +139,88 @@
140
139
  .w600,
141
140
  .w650,
142
141
  .w700,
142
+ .w750,
143
143
  .w770,
144
+ .w800,
145
+ .w850,
144
146
  .w900,
147
+ .w950,
145
148
  .w970,
149
+ .w1000,
146
150
  .w1030,
147
- .w1170 {
151
+ .w1050,
152
+ .w1100,
153
+ .w1150,
154
+ .w1170,
155
+ .w1200,
156
+ .w1250,
157
+ .w1300,
158
+ .w1350,
159
+ .w1400,
160
+ .w1450,
161
+ .w1500,
162
+ .w1550,
163
+ .w1600 {
148
164
  margin-inline-start: auto;
149
165
  margin-inline-end: auto;
150
166
  width: 98%;
151
167
  }
168
+ .w10 {
169
+ max-width: 10px;
170
+ }
171
+
172
+ .w20 {
173
+ max-width: 20px;
174
+ }
175
+
176
+ .w20 {
177
+ max-width: 20px;
178
+ }
179
+
180
+ .w30 {
181
+ max-width: 30px;
182
+ }
183
+
184
+ .w40 {
185
+ max-width: 40px;
186
+ }
187
+
188
+ .w50 {
189
+ max-width: 50px;
190
+ }
191
+
192
+ .w60 {
193
+ max-width: 60px;
194
+ }
195
+
196
+ .w70 {
197
+ max-width: 70px;
198
+ }
199
+
200
+ .w80 {
201
+ max-width: 80px;
202
+ }
203
+
204
+ .w90 {
205
+ max-width: 90px;
206
+ }
152
207
 
153
208
  .w100 {
154
209
  max-width: 100px;
155
210
  }
156
211
 
212
+ .w150 {
213
+ max-width: 150px;
214
+ }
215
+
157
216
  .w200 {
158
217
  max-width: 200px;
159
218
  }
160
219
 
220
+ .w250 {
221
+ max-width: 250px;
222
+ }
223
+
161
224
  .w300 {
162
225
  max-width: 300px;
163
226
  }
@@ -190,30 +253,98 @@
190
253
  max-width: 650px;
191
254
  }
192
255
 
193
- .w650 {
256
+ .w700 {
194
257
  max-width: 700px;
195
258
  }
196
259
 
260
+ .w750 {
261
+ max-width: 750px;
262
+ }
263
+
197
264
  .w770 {
198
265
  max-width: 770px;
199
266
  }
200
267
 
268
+ .w800 {
269
+ max-width: 800px;
270
+ }
271
+
272
+ .w850 {
273
+ max-width: 850px;
274
+ }
275
+
201
276
  .w900 {
202
277
  max-width: 900px;
203
278
  }
204
279
 
280
+ .w950 {
281
+ max-width: 950px;
282
+ }
283
+
205
284
  .w970 {
206
285
  max-width: 970px;
207
286
  }
208
287
 
288
+ .w1000 {
289
+ max-width: 1000px;
290
+ }
291
+
209
292
  .w1030 {
210
293
  max-width: 1030px;
211
294
  }
212
295
 
296
+ .w1050 {
297
+ max-width: 1050px;
298
+ }
299
+
300
+ .w1100 {
301
+ max-width: 1100px;
302
+ }
303
+
304
+ .w1150 {
305
+ max-width: 1150px;
306
+ }
307
+
213
308
  .w1170 {
214
309
  max-width: 1170px;
215
310
  }
216
311
 
312
+ .w1200 {
313
+ max-width: 1200px;
314
+ }
315
+
316
+ .w1250 {
317
+ max-width: 1250px;
318
+ }
319
+
320
+ .w1300 {
321
+ max-width: 1300px;
322
+ }
323
+
324
+ .w1350 {
325
+ max-width: 1350px;
326
+ }
327
+
328
+ .w1400 {
329
+ max-width: 1400px;
330
+ }
331
+
332
+ .w1450 {
333
+ max-width: 1450px;
334
+ }
335
+
336
+ .w1500 {
337
+ max-width: 1500px;
338
+ }
339
+
340
+ .w1550 {
341
+ max-width: 1550px;
342
+ }
343
+
344
+ .w1600 {
345
+ max-width: 1600px;
346
+ }
347
+
217
348
  .w-all,
218
349
  .wall {
219
350
  width: -webkit-fill-available;
@@ -1037,14 +1168,31 @@
1037
1168
  padding: 0.25rem !important;
1038
1169
  }
1039
1170
 
1040
- .relative {
1041
- position: relative;
1171
+ .relative,
1172
+ .position-relative {
1173
+ position: relative !important;
1042
1174
  }
1043
1175
 
1044
- .absolute {
1176
+ .absolute,
1177
+ .position-absolute {
1045
1178
  position: absolute !important;
1046
1179
  }
1047
1180
 
1181
+ .fixed,
1182
+ .position-fixed {
1183
+ position: fixed !important;
1184
+ }
1185
+
1186
+ .static,
1187
+ .position-static {
1188
+ position: static !important;
1189
+ }
1190
+
1191
+ .sticky,
1192
+ .position-sticky {
1193
+ position: sticky !important;
1194
+ }
1195
+
1048
1196
  .flex {
1049
1197
  display: flex;
1050
1198
  align-items: center;
@@ -1056,7 +1204,8 @@
1056
1204
  }
1057
1205
 
1058
1206
  .hide,
1059
- .display-hide {
1207
+ .none,
1208
+ .display-none {
1060
1209
  display: none;
1061
1210
  }
1062
1211
 
@@ -1077,10 +1226,6 @@
1077
1226
  display: inline-block;
1078
1227
  }
1079
1228
 
1080
- .flex-wrap {
1081
- flex-wrap: wrap;
1082
- }
1083
-
1084
1229
  .flex-end {
1085
1230
  justify-content: flex-end;
1086
1231
  }