@bagelink/vue 0.0.544 → 0.0.546

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 (36) hide show
  1. package/dist/components/Popover.vue.d.ts +10 -0
  2. package/dist/components/Popover.vue.d.ts.map +1 -0
  3. package/dist/components/form/ItemRef.vue.d.ts +0 -1
  4. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  5. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts +22 -0
  6. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -0
  7. package/dist/components/form/inputs/RichText2/formatting.d.ts +5 -0
  8. package/dist/components/form/inputs/RichText2/formatting.d.ts.map +1 -0
  9. package/dist/components/form/inputs/RichText2/index.vue.d.ts +24 -0
  10. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -0
  11. package/dist/components/form/inputs/RichText2/richtext-types.d.ts +3 -0
  12. package/dist/components/form/inputs/RichText2/richtext-types.d.ts.map +1 -0
  13. package/dist/components/form/inputs/SelectField.vue.d.ts +4 -1
  14. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  15. package/dist/components/form/inputs/index.d.ts +1 -0
  16. package/dist/components/form/inputs/index.d.ts.map +1 -1
  17. package/dist/index.cjs +4087 -3679
  18. package/dist/index.mjs +4087 -3679
  19. package/dist/style.css +311 -63
  20. package/dist/types/materialIcon.d.ts +2 -0
  21. package/dist/types/materialIcon.d.ts.map +1 -0
  22. package/package.json +1 -1
  23. package/src/components/Btn.vue +1 -1
  24. package/src/components/form/inputs/RichText2/Toolbar.vue +106 -0
  25. package/src/components/form/inputs/RichText2/formatting.ts +194 -0
  26. package/src/components/form/inputs/RichText2/index.vue +204 -0
  27. package/src/components/form/inputs/RichText2/richtext-types.ts +25 -0
  28. package/src/components/form/inputs/index.ts +1 -0
  29. package/src/styles/layout.css +91 -6
  30. package/src/styles/mobilLayout.css +97 -8
  31. package/src/styles/text.css +28 -4
  32. package/src/styles/theme.css +1 -0
  33. package/dist/components/Drop.vue.d.ts +0 -34
  34. package/dist/components/Drop.vue.d.ts.map +0 -1
  35. package/dist/components/FileUploader.vue.d.ts +0 -60
  36. package/dist/components/FileUploader.vue.d.ts.map +0 -1
package/dist/style.css CHANGED
@@ -248,19 +248,19 @@
248
248
  }
249
249
  }
250
250
 
251
- a[data-v-204e25fe] {
251
+ a[data-v-7f505d62] {
252
252
  text-decoration: none;
253
253
  }
254
- .loading[data-v-204e25fe] {
254
+ .loading[data-v-7f505d62] {
255
255
  border: 1px solid var(--bgl-white);
256
256
  border-bottom: 2px solid var(--bgl-white);
257
- animation: spin-204e25fe 1s linear infinite;
257
+ animation: spin-7f505d62 1s linear infinite;
258
258
  border-radius: 100px;
259
259
  width: 1rem;
260
260
  height: 1rem;
261
261
  margin: auto;
262
262
  }
263
- @keyframes spin-204e25fe {
263
+ @keyframes spin-7f505d62 {
264
264
  0% {
265
265
  transform: rotate(0deg);
266
266
  }
@@ -268,7 +268,7 @@ a[data-v-204e25fe] {
268
268
  transform: rotate(360deg);
269
269
  }
270
270
  }
271
- .bgl_btn-icon[data-v-204e25fe] {
271
+ .bgl_btn-icon[data-v-7f505d62] {
272
272
  height: var(--btn-height);
273
273
  width: var(--btn-height);
274
274
  border-radius: 100%;
@@ -278,101 +278,101 @@ a[data-v-204e25fe] {
278
278
  flex-shrink: 0;
279
279
  transition: var(--bgl-transition);
280
280
  }
281
- .bgl_btn[data-v-204e25fe] {
281
+ .bgl_btn[data-v-7f505d62] {
282
282
  padding-left: var(--btn-padding);
283
283
  padding-right: var(--btn-padding);
284
284
  transition: var(--bgl-transition);
285
285
  text-decoration: none;
286
286
  }
287
- .bgl_btn[disabled="true"][data-v-204e25fe] {
287
+ .bgl_btn[disabled="true"][data-v-7f505d62] {
288
288
  opacity: 0.5;
289
289
  cursor: not-allowed;
290
290
  }
291
- .bgl_btn-flex[data-v-204e25fe] {
291
+ .bgl_btn-flex[data-v-7f505d62] {
292
292
  display: flex;
293
293
  align-items: center;
294
294
  gap: 0.5rem;
295
295
  justify-content: center;
296
296
  }
297
- .bgl_btn .bgl_.bgl_icon-font[data-v-204e25fe] {
297
+ .bgl_btn .bgl_.bgl_icon-font[data-v-7f505d62] {
298
298
  font-size: calc(var(--input-font-size) * 1.3);
299
299
  }
300
- .bgl_btn[data-v-204e25fe],
301
- .bgl_btn-icon[data-v-204e25fe] {
302
- background-color: var(--743a2e01);
303
- color: var(--9ec72cc8);
300
+ .bgl_btn[data-v-7f505d62],
301
+ .bgl_btn-icon[data-v-7f505d62] {
302
+ background-color: var(--54b736fd);
303
+ color: var(--5c3a40d0);
304
304
  }
305
- .bgl_btn[data-v-204e25fe]:hover,
306
- .bgl_btn-icon[data-v-204e25fe]:hover {
305
+ .bgl_btn[data-v-7f505d62]:hover,
306
+ .bgl_btn-icon[data-v-7f505d62]:hover {
307
307
  filter: var(--bgl-hover-filter);
308
308
  }
309
- .bgl_btn[data-v-204e25fe]:active,
310
- .bgl_btn-icon[data-v-204e25fe]:active {
309
+ .bgl_btn[data-v-7f505d62]:active,
310
+ .bgl_btn-icon[data-v-7f505d62]:active {
311
311
  filter: var(--bgl-active-filter);
312
312
  }
313
- .bgl_btn.bgl_flatBtn[data-v-204e25fe] {
313
+ .bgl_btn.bgl_flatBtn[data-v-7f505d62] {
314
314
  padding-left: var(--btn-padding);
315
315
  padding-right: var(--btn-padding);
316
316
  background: transparent;
317
317
  }
318
- .bgl_btn-icon.bgl_flatBtn[data-v-204e25fe] {
318
+ .bgl_btn-icon.bgl_flatBtn[data-v-7f505d62] {
319
319
  background: transparent;
320
320
  }
321
- .bgl_btn.bgl_flatBtn[data-v-204e25fe]:hover,
322
- .bgl_btn-icon.bgl_flatBtn[data-v-204e25fe]:hover {
321
+ .bgl_btn.bgl_flatBtn[data-v-7f505d62]:hover,
322
+ .bgl_btn-icon.bgl_flatBtn[data-v-7f505d62]:hover {
323
323
  filter: var(--bgl-active-filter);
324
324
  }
325
- .bgl_btn.bgl_flatBtn[data-v-204e25fe]:active,
326
- .bgl_btn-icon.bgl_flatBtn[data-v-204e25fe]:active {
327
- background: var(--bgl-gray);
325
+ .bgl_btn.bgl_flatBtn[data-v-7f505d62]:active,
326
+ .bgl_btn-icon.bgl_flatBtn[data-v-7f505d62]:active {
327
+ background: var(--bgl-gray-40);
328
328
  filter: var(--bgl-hover-filter);
329
329
  }
330
- .bgl_btn.bgl_flatBtn.red[data-v-204e25fe],
331
- .bgl_btn-icon.bgl_flatBtn.red[data-v-204e25fe] {
330
+ .bgl_btn.bgl_flatBtn.red[data-v-7f505d62],
331
+ .bgl_btn-icon.bgl_flatBtn.red[data-v-7f505d62] {
332
332
  color: var(--bgl-red);
333
333
  }
334
- .bgl_btn.bgl_flatBtn.white[data-v-204e25fe],
335
- .bgl_btn-icon.bgl_flatBtn.white[data-v-204e25fe] {
334
+ .bgl_btn.bgl_flatBtn.white[data-v-7f505d62],
335
+ .bgl_btn-icon.bgl_flatBtn.white[data-v-7f505d62] {
336
336
  color: var(--bgl-white);
337
337
  }
338
- .bgl_btn.bgl_flatBtn.light[data-v-204e25fe],
339
- .bgl_btn-icon.bgl_flatBtn.light[data-v-204e25fe] {
338
+ .bgl_btn.bgl_flatBtn.light[data-v-7f505d62],
339
+ .bgl_btn-icon.bgl_flatBtn.light[data-v-7f505d62] {
340
340
  color: var(--bgl-primary-tint);
341
341
  }
342
- .bgl_btn.bgl_flatBtn.black[data-v-204e25fe],
343
- .bgl_btn-icon.bgl_flatBtn.black[data-v-204e25fe] {
342
+ .bgl_btn.bgl_flatBtn.black[data-v-7f505d62],
343
+ .bgl_btn-icon.bgl_flatBtn.black[data-v-7f505d62] {
344
344
  color: var(--bgl-black);
345
345
  }
346
- .bgl_btn.bgl_flatBtn.gray[data-v-204e25fe],
347
- .bgl_btn-icon.bgl_flatBtn.gray[data-v-204e25fe] {
346
+ .bgl_btn.bgl_flatBtn.gray[data-v-7f505d62],
347
+ .bgl_btn-icon.bgl_flatBtn.gray[data-v-7f505d62] {
348
348
  color: var(--bgl-gray);
349
349
  }
350
- .bgl_btn.thin[data-v-204e25fe] {
350
+ .bgl_btn.thin[data-v-7f505d62] {
351
351
  padding-inline: calc(var(--btn-padding) / 3);
352
352
  border-radius: calc(var(--btn-border-radius) / 1.5);
353
353
  }
354
- .bgl_btn.round[data-v-204e25fe] {
354
+ .bgl_btn.round[data-v-7f505d62] {
355
355
  border-radius: calc(var(--btn-border-radius) * 2);
356
356
  }
357
- .bgl_btn-icon.thin[data-v-204e25fe] {
357
+ .bgl_btn-icon.thin[data-v-7f505d62] {
358
358
  height: calc(var(--btn-height) / 1.5);
359
359
  width: calc(var(--btn-height) / 1.5);
360
360
  line-height: 1;
361
361
  }
362
- [dir="rtl"] .bgl_.bgl_icon-font[data-v-204e25fe] {
362
+ [dir="rtl"] .bgl_.bgl_icon-font[data-v-7f505d62] {
363
363
  transform: rotateY(180deg);
364
364
  }
365
- .bgl_btn-border[data-v-204e25fe] {
366
- outline: 1px solid var(--743a2e01);
367
- color: var(--743a2e01);
365
+ .bgl_btn-border[data-v-7f505d62] {
366
+ outline: 1px solid var(--54b736fd);
367
+ color: var(--54b736fd);
368
368
  background: transparent;
369
369
  }
370
- .bgl_btn-border[data-v-204e25fe]:hover {
370
+ .bgl_btn-border[data-v-7f505d62]:hover {
371
371
  color: var(--bgl-white);
372
- background: var(--743a2e01);
372
+ background: var(--54b736fd);
373
373
  filter: brightness(100%);
374
374
  }
375
- .bgl_btn-border[data-v-204e25fe]:active {
375
+ .bgl_btn-border[data-v-7f505d62]:active {
376
376
  filter: brightness(80%);
377
377
  }
378
378
  .bg-dark {
@@ -2618,6 +2618,76 @@ p {
2618
2618
  background: var(--input-disabled-bg);
2619
2619
  }
2620
2620
 
2621
+ .toolbar[data-v-6538d377] {
2622
+ display: flex;
2623
+ flex-wrap: wrap;
2624
+ gap: 5px;
2625
+ padding: 10px;
2626
+ background-color: #f0f0f0;
2627
+ border-bottom: 1px solid #ccc;
2628
+ }
2629
+ button[data-v-6538d377]:hover {
2630
+ background-color: #e0e0e0;
2631
+ }
2632
+ input[type="color"][data-v-6538d377],
2633
+ input[type="number"][data-v-6538d377] {
2634
+ width: 40px;
2635
+ height: 30px;
2636
+ padding: 0;
2637
+ border: 1px solid #ccc;
2638
+ border-radius: 3px;
2639
+ }
2640
+
2641
+ .rich-text-editor[data-v-e3cd444d] {
2642
+ font-family: Arial, sans-serif;
2643
+ max-width: 800px;
2644
+ margin: 0 auto;
2645
+ }
2646
+ [contenteditable='true'][data-v-e3cd444d] {
2647
+ white-space: pre-wrap;
2648
+ word-wrap: break-word;
2649
+ outline: none;
2650
+ border: none;
2651
+ height: 100%;
2652
+ }
2653
+ .editor-container[data-v-e3cd444d] {
2654
+ display: flex;
2655
+ border: 1px solid #ccc;
2656
+ border-radius: 4px;
2657
+ overflow: hidden;
2658
+ }
2659
+ .content-area[data-v-e3cd444d],
2660
+ .preview-area[data-v-e3cd444d] {
2661
+ flex: 1;
2662
+ min-height: 300px;
2663
+ padding: 10px;
2664
+ overflow-y: auto;
2665
+ }
2666
+ .content-area[data-v-e3cd444d]:focus {
2667
+ outline: none;
2668
+ }
2669
+ .split-view .content-area[data-v-e3cd444d],
2670
+ .split-view .preview-area[data-v-e3cd444d] {
2671
+ width: 50%;
2672
+ }
2673
+ .preview-area[data-v-e3cd444d] {
2674
+ background-color: #f9f9f9;
2675
+ border-left: 1px solid #ccc;
2676
+ }
2677
+ @media (max-width: 768px) {
2678
+ .split-view[data-v-e3cd444d] {
2679
+ flex-direction: column;
2680
+ }
2681
+ .split-view .content-area[data-v-e3cd444d],
2682
+ .split-view .preview-area[data-v-e3cd444d] {
2683
+ width: 100%;
2684
+ }
2685
+ .preview-area[data-v-e3cd444d] {
2686
+ border-left: none;
2687
+ border-top: 1px solid #ccc;
2688
+ }
2689
+ }
2690
+
2621
2691
  .chart-line {
2622
2692
  width: 100%;
2623
2693
  height: 300px;
@@ -2838,6 +2908,12 @@ p {
2838
2908
  .rounded {
2839
2909
  border-radius: calc(var(--btn-border-radius) / 2);
2840
2910
  }
2911
+ .round-extra {
2912
+ border-radius: calc(var(--btn-border-radius) * 2);
2913
+ }
2914
+ .round-none {
2915
+ border-radius: 0 ;
2916
+ }
2841
2917
  .flex-center {
2842
2918
  justify-content: center;
2843
2919
  align-items: center;
@@ -2941,6 +3017,42 @@ p {
2941
3017
  inset-inline-start: 0;
2942
3018
  inset-inline-end: 0;
2943
3019
  }
3020
+ .inset-inline-start, .start{
3021
+ inset-inline-start: 0;
3022
+ }
3023
+ .inset-inline-end, .end{
3024
+ inset-inline-end: 0;
3025
+ }
3026
+ .top, .top-0{
3027
+ top: 0;
3028
+ }
3029
+ .top-1{
3030
+ top: 1rem;
3031
+ }
3032
+ .top-2{
3033
+ top: 2rem;
3034
+ }
3035
+ .top-3{
3036
+ top: 3rem;
3037
+ }
3038
+ .top-4{
3039
+ top: 4rem;
3040
+ }
3041
+ .bottom, .bottom-0{
3042
+ bottom: 0;
3043
+ }
3044
+ .bottom-1{
3045
+ bottom: 1rem;
3046
+ }
3047
+ .bottom-2{
3048
+ bottom: 2rem;
3049
+ }
3050
+ .bottom-3{
3051
+ bottom: 3rem;
3052
+ }
3053
+ .bottom-4{
3054
+ bottom: 4rem;
3055
+ }
2944
3056
  .auto-flow-rows {
2945
3057
  grid-auto-flow: row;
2946
3058
  }
@@ -3882,11 +3994,36 @@ p {
3882
3994
  position: static !important;
3883
3995
  }
3884
3996
  .sticky,
3885
- .position-sticky {
3997
+ .position-sticky,
3998
+ .sticky-0,
3999
+ .position-sticky-0 {
3886
4000
  position: sticky !important;
3887
4001
  top: 0;
3888
4002
  align-self: start;
3889
-
4003
+ }
4004
+ .sticky-1,
4005
+ .position-sticky-1 {
4006
+ position: sticky !important;
4007
+ top: 1rem;
4008
+ align-self: start;
4009
+ }
4010
+ .sticky-2,
4011
+ .position-sticky-2 {
4012
+ position: sticky !important;
4013
+ top: 2rem;
4014
+ align-self: start;
4015
+ }
4016
+ .sticky-3,
4017
+ .position-sticky-3 {
4018
+ position: sticky !important;
4019
+ top: 3rem;
4020
+ align-self: start;
4021
+ }
4022
+ .sticky-4,
4023
+ .position-sticky-4 {
4024
+ position: sticky !important;
4025
+ top: 4rem;
4026
+ align-self: start;
3890
4027
  }
3891
4028
  .flex {
3892
4029
  display: flex;
@@ -3899,20 +4036,20 @@ p {
3899
4036
  .hide,
3900
4037
  .none,
3901
4038
  .display-none {
3902
- display: none;
4039
+ display: none !important;
3903
4040
  }
3904
4041
  .display-block {
3905
- display: block;
4042
+ display: block !important;
3906
4043
  }
3907
4044
  .block {
3908
4045
  display: block;
3909
- width: 100%;
4046
+ width: 100% !important;
3910
4047
  }
3911
4048
  .inline {
3912
- display: inline;
4049
+ display: inline !important;
3913
4050
  }
3914
4051
  .inline-block {
3915
- display: inline-block;
4052
+ display: inline-block !important;
3916
4053
  }
3917
4054
  .flex-end {
3918
4055
  justify-content: flex-end;
@@ -4320,6 +4457,18 @@ p {
4320
4457
  border-radius: var(--btn-border-radius);
4321
4458
  }
4322
4459
 
4460
+ .m_rounded {
4461
+ border-radius: calc(var(--btn-border-radius) / 2);
4462
+ }
4463
+
4464
+ .m_round-extra {
4465
+ border-radius: calc(var(--btn-border-radius) * 2);
4466
+ }
4467
+
4468
+ .m_round-none {
4469
+ border-radius: 0 !important;
4470
+ }
4471
+
4323
4472
  .m_flex-center {
4324
4473
  justify-items: center;
4325
4474
  align-items: center;
@@ -4442,13 +4591,6 @@ p {
4442
4591
  inset-inline-end: 0px;
4443
4592
  }
4444
4593
 
4445
- .m_positioned-full {
4446
- top: 0;
4447
- bottom: 0;
4448
- inset-inline-start: 0;
4449
- inset-inline-end: 0;
4450
- }
4451
-
4452
4594
 
4453
4595
  .m_auto-flow-rows {
4454
4596
  grid-auto-flow: row;
@@ -5582,10 +5724,42 @@ p {
5582
5724
  position: static !important;
5583
5725
  }
5584
5726
 
5727
+
5585
5728
  .m_sticky,
5586
- .m_position-sticky {
5729
+ .m_position-sticky,
5730
+ .m_sticky-0,
5731
+ .m_position-sticky-0 {
5587
5732
  position: sticky !important;
5588
5733
  top: 0;
5734
+ align-self: start;
5735
+ }
5736
+
5737
+ .m_sticky-1,
5738
+ .m_position-sticky-1 {
5739
+ position: sticky !important;
5740
+ top: 1rem;
5741
+ align-self: start;
5742
+ }
5743
+
5744
+ .m_sticky-2,
5745
+ .m_position-sticky-2 {
5746
+ position: sticky !important;
5747
+ top: 2rem;
5748
+ align-self: start;
5749
+ }
5750
+
5751
+ .m_sticky-3,
5752
+ .m_position-sticky-3 {
5753
+ position: sticky !important;
5754
+ top: 3rem;
5755
+ align-self: start;
5756
+ }
5757
+
5758
+ .m_sticky-4,
5759
+ .m_position-sticky-4 {
5760
+ position: sticky !important;
5761
+ top: 4rem;
5762
+ align-self: start;
5589
5763
  }
5590
5764
 
5591
5765
  .m_flex-stretch {
@@ -6032,6 +6206,58 @@ p {
6032
6206
  inset-inline-start: 0;
6033
6207
  inset-inline-end: 0;
6034
6208
  }
6209
+
6210
+ .m_inset-inline-start,
6211
+ .m_start {
6212
+ inset-inline-start: 0;
6213
+ }
6214
+
6215
+ .m_inset-inline-end,
6216
+ .m_end {
6217
+ inset-inline-end: 0;
6218
+ }
6219
+
6220
+ .m_top,
6221
+ .m_top-0 {
6222
+ top: 0;
6223
+ }
6224
+
6225
+ .m_top-1 {
6226
+ top: 1rem;
6227
+ }
6228
+
6229
+ .m_top-2 {
6230
+ top: 2rem;
6231
+ }
6232
+
6233
+ .m_top-3 {
6234
+ top: 3rem;
6235
+ }
6236
+
6237
+ .m_top-4 {
6238
+ top: 4rem;
6239
+ }
6240
+
6241
+ .m_bottom,
6242
+ .m_bottom-0 {
6243
+ bottom: 0;
6244
+ }
6245
+
6246
+ .m_bottom-1 {
6247
+ bottom: 1rem;
6248
+ }
6249
+
6250
+ .m_bottom-2 {
6251
+ bottom: 2rem;
6252
+ }
6253
+
6254
+ .m_bottom-3 {
6255
+ bottom: 3rem;
6256
+ }
6257
+
6258
+ .m_bottom-4 {
6259
+ bottom: 4rem;
6260
+ }
6035
6261
  }
6036
6262
  input,
6037
6263
  textarea,
@@ -6428,8 +6654,8 @@ select {
6428
6654
  .txtwhite {
6429
6655
  color: var(--bgl-white);
6430
6656
  }
6431
- .font-light,
6432
- .txt-light {
6657
+ .font-thin,
6658
+ .txt-thin {
6433
6659
  font-weight: 100;
6434
6660
  }
6435
6661
  .bold,
@@ -6451,6 +6677,16 @@ select {
6451
6677
  .font-semibold {
6452
6678
  font-weight: 600;
6453
6679
  }
6680
+ .light,
6681
+ .txt-light,
6682
+ .font-light {
6683
+ font-weight: 300;
6684
+ }
6685
+ .medium,
6686
+ .txt-medium,
6687
+ .font-medium {
6688
+ font-weight: 500;
6689
+ }
6454
6690
  .line-height-1 {
6455
6691
  line-height: 1;
6456
6692
  }
@@ -6736,8 +6972,8 @@ select {
6736
6972
  color: var(--bgl-white);
6737
6973
  }
6738
6974
 
6739
- .m_font-light,
6740
- .m_txt-light {
6975
+ .m_font-thin,
6976
+ .m_txt-thin {
6741
6977
  font-weight: 100;
6742
6978
  }
6743
6979
 
@@ -6763,6 +6999,17 @@ select {
6763
6999
  font-weight: 600;
6764
7000
  }
6765
7001
 
7002
+ .light,
7003
+ .txt-light,
7004
+ .font-light {
7005
+ font-weight: 300;
7006
+ }
7007
+
7008
+ .medium,
7009
+ .txt-medium,
7010
+ .font-medium {
7011
+ font-weight: 500;
7012
+ }
6766
7013
 
6767
7014
 
6768
7015
  .m_line-height-1 {
@@ -7904,6 +8151,7 @@ select {
7904
8151
  --bgl-gray-light: #f5f8fa;
7905
8152
  --bgl-gray-80: #e8ecef;
7906
8153
  --bgl-gray-20: rgba(183, 183, 183, 0.2);
8154
+ --bgl-gray-40: rgba(183, 183, 183, 0.4);
7907
8155
  --bgl-pink: #f1416c;
7908
8156
  --bgl-red: #ed6c6f;
7909
8157
  --bgl-red-tint: #fbe2e2;