@bagelink/vue 0.0.1256 → 0.0.1258
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/dist/components/Modal.vue.d.ts +1 -0
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +13 -7
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/NumberInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/OTP.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +8 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +2 -0
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +943 -598
- package/dist/index.mjs +943 -598
- package/dist/style.css +849 -593
- package/dist/utils/BagelFormUtils.d.ts +2 -2
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Icon/Icon.vue +2 -2
- package/src/components/Modal.vue +2 -1
- package/src/components/form/BagelForm.vue +0 -1
- package/src/components/form/inputs/DateInput.vue +434 -55
- package/src/components/form/inputs/NumberInput.vue +10 -2
- package/src/components/form/inputs/OTP.vue +2 -3
- package/src/components/form/inputs/TextInput.vue +4 -0
- package/src/styles/layout.css +121 -0
- package/src/styles/mobilLayout.css +121 -0
- package/src/styles/text.css +565 -562
- package/src/utils/BagelFormUtils.ts +1 -1
|
@@ -19,6 +19,7 @@ const props = withDefaults(
|
|
|
19
19
|
dense?: boolean
|
|
20
20
|
required?: boolean
|
|
21
21
|
pattern?: string
|
|
22
|
+
defaultValue?: string | number
|
|
22
23
|
shrink?: boolean
|
|
23
24
|
disabled?: boolean
|
|
24
25
|
type?: string
|
|
@@ -32,6 +33,7 @@ const props = withDefaults(
|
|
|
32
33
|
autocomplete?: AutoFillField
|
|
33
34
|
autofocus?: boolean
|
|
34
35
|
onFocusout?: (e: FocusEvent) => void
|
|
36
|
+
onFocus?: (e: FocusEvent) => void
|
|
35
37
|
}>(),
|
|
36
38
|
{
|
|
37
39
|
type: 'text',
|
|
@@ -72,6 +74,7 @@ defineExpose({ focus, hasFocus })
|
|
|
72
74
|
|
|
73
75
|
onMounted(() => {
|
|
74
76
|
if (props.autofocus) setTimeout(() => input?.focus(), 10)
|
|
77
|
+
if (props.defaultValue && !props.modelValue) inputVal = props.defaultValue
|
|
75
78
|
})
|
|
76
79
|
</script>
|
|
77
80
|
|
|
@@ -106,6 +109,7 @@ onMounted(() => {
|
|
|
106
109
|
:pattern
|
|
107
110
|
v-bind="nativeInputAttrs"
|
|
108
111
|
@focusout="onFocusout"
|
|
112
|
+
@focus="onFocus"
|
|
109
113
|
@input="updateInputVal"
|
|
110
114
|
>
|
|
111
115
|
<textarea
|
package/src/styles/layout.css
CHANGED
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
justify-items: center;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
.justify-content,
|
|
91
92
|
.justify-content-center {
|
|
92
93
|
justify-content: center;
|
|
93
94
|
}
|
|
@@ -2572,6 +2573,126 @@
|
|
|
2572
2573
|
min-height: 100px;
|
|
2573
2574
|
}
|
|
2574
2575
|
|
|
2576
|
+
.h-110,
|
|
2577
|
+
.h110p,
|
|
2578
|
+
.h-110p {
|
|
2579
|
+
height: 110%;
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
.vh-110,
|
|
2583
|
+
.h-110vh,
|
|
2584
|
+
.h110vh {
|
|
2585
|
+
height: 110vh;
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
.h-110px,
|
|
2589
|
+
.h110px {
|
|
2590
|
+
height: 110px;
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
.hm-110px,
|
|
2594
|
+
.max-h-110px,
|
|
2595
|
+
.h-max-110px,
|
|
2596
|
+
.max-h110px {
|
|
2597
|
+
max-height: 110px;
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
.min-h-110px,
|
|
2601
|
+
.h-min-110px,
|
|
2602
|
+
.min-h110px {
|
|
2603
|
+
min-height: 110px;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
.h-120,
|
|
2607
|
+
.h120p,
|
|
2608
|
+
.h-120p {
|
|
2609
|
+
height: 120%;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
.vh-120,
|
|
2613
|
+
.h-120vh,
|
|
2614
|
+
.h120vh {
|
|
2615
|
+
height: 120vh;
|
|
2616
|
+
}
|
|
2617
|
+
|
|
2618
|
+
.h-120px,
|
|
2619
|
+
.h120px {
|
|
2620
|
+
height: 120px;
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
.hm-120px,
|
|
2624
|
+
.max-h-120px,
|
|
2625
|
+
.h-max-120px,
|
|
2626
|
+
.max-h120px {
|
|
2627
|
+
max-height: 120px;
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
.min-h-120px,
|
|
2631
|
+
.h-min-120px,
|
|
2632
|
+
.min-h120px {
|
|
2633
|
+
min-height: 120px;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
.h-130,
|
|
2637
|
+
.h130p,
|
|
2638
|
+
.h-130p {
|
|
2639
|
+
height: 130%;
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
.vh-130,
|
|
2643
|
+
.h-130vh,
|
|
2644
|
+
.h130vh {
|
|
2645
|
+
height: 130vh;
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
.h-130px,
|
|
2649
|
+
.h130px {
|
|
2650
|
+
height: 130px;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
.hm-130px,
|
|
2654
|
+
.max-h-130px,
|
|
2655
|
+
.h-max-130px,
|
|
2656
|
+
.max-h130px {
|
|
2657
|
+
max-height: 130px;
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
.min-h-130px,
|
|
2661
|
+
.h-min-130px,
|
|
2662
|
+
.min-h130px {
|
|
2663
|
+
min-height: 130px;
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
.h-140,
|
|
2667
|
+
.h140p,
|
|
2668
|
+
.h-140p {
|
|
2669
|
+
height: 140%;
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
.vh-140,
|
|
2673
|
+
.h-140vh,
|
|
2674
|
+
.h140vh {
|
|
2675
|
+
height: 140vh;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
.h-140px,
|
|
2679
|
+
.h140px {
|
|
2680
|
+
height: 140px;
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
.hm-140px,
|
|
2684
|
+
.max-h-140px,
|
|
2685
|
+
.h-max-140px,
|
|
2686
|
+
.max-h140px {
|
|
2687
|
+
max-height: 140px;
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
.min-h-140px,
|
|
2691
|
+
.h-min-140px,
|
|
2692
|
+
.min-h140px {
|
|
2693
|
+
min-height: 140px;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2575
2696
|
.h-150,
|
|
2576
2697
|
.h150p,
|
|
2577
2698
|
.h-150p {
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
justify-items: center;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
.m_justify-content,
|
|
120
121
|
.m_justify-content-center {
|
|
121
122
|
justify-content: center;
|
|
122
123
|
}
|
|
@@ -1863,6 +1864,126 @@
|
|
|
1863
1864
|
min-height: 100px;
|
|
1864
1865
|
}
|
|
1865
1866
|
|
|
1867
|
+
.m_h-110,
|
|
1868
|
+
.m_h110p,
|
|
1869
|
+
.m_h-110p {
|
|
1870
|
+
height: 110%;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
.m_vh-110,
|
|
1874
|
+
.m_h-110vh,
|
|
1875
|
+
.m_h110vh {
|
|
1876
|
+
height: 110vh;
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
.m_h-110px,
|
|
1880
|
+
.m_h110px {
|
|
1881
|
+
height: 110px;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
.m_hm-110px,
|
|
1885
|
+
.m_max-h-110px,
|
|
1886
|
+
.m_h-max-110px,
|
|
1887
|
+
.m_max-h110px {
|
|
1888
|
+
max-height: 110px;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
.m_min-h-110px,
|
|
1892
|
+
.m_h-min-110px,
|
|
1893
|
+
.m_min-h110px {
|
|
1894
|
+
min-height: 110px;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
.m_h-120,
|
|
1898
|
+
.m_h120p,
|
|
1899
|
+
.m_h-120p {
|
|
1900
|
+
height: 120%;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
.m_vh-120,
|
|
1904
|
+
.m_h-120vh,
|
|
1905
|
+
.m_h120vh {
|
|
1906
|
+
height: 120vh;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
.m_h-120px,
|
|
1910
|
+
.m_h120px {
|
|
1911
|
+
height: 120px;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
.m_hm-120px,
|
|
1915
|
+
.m_max-h-120px,
|
|
1916
|
+
.m_h-max-120px,
|
|
1917
|
+
.m_max-h120px {
|
|
1918
|
+
max-height: 120px;
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
.m_min-h-120px,
|
|
1922
|
+
.m_h-min-120px,
|
|
1923
|
+
.m_min-h120px {
|
|
1924
|
+
min-height: 120px;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
.m_h-130,
|
|
1928
|
+
.m_h130p,
|
|
1929
|
+
.m_h-130p {
|
|
1930
|
+
height: 130%;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
.m_vh-130,
|
|
1934
|
+
.m_h-130vh,
|
|
1935
|
+
.m_h130vh {
|
|
1936
|
+
height: 130vh;
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
.m_h-130px,
|
|
1940
|
+
.m_h130px {
|
|
1941
|
+
height: 130px;
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
.m_hm-130px,
|
|
1945
|
+
.m_max-h-130px,
|
|
1946
|
+
.m_h-max-130px,
|
|
1947
|
+
.m_max-h130px {
|
|
1948
|
+
max-height: 130px;
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
.m_min-h-130px,
|
|
1952
|
+
.m_h-min-130px,
|
|
1953
|
+
.m_min-h130px {
|
|
1954
|
+
min-height: 130px;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
.m_h-140,
|
|
1958
|
+
.m_h140p,
|
|
1959
|
+
.m_h-140p {
|
|
1960
|
+
height: 140%;
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
.m_vh-140,
|
|
1964
|
+
.m_h-140vh,
|
|
1965
|
+
.m_h140vh {
|
|
1966
|
+
height: 140vh;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
.m_h-140px,
|
|
1970
|
+
.m_h140px {
|
|
1971
|
+
height: 140px;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
.m_hm-140px,
|
|
1975
|
+
.m_max-h-140px,
|
|
1976
|
+
.m_h-max-140px,
|
|
1977
|
+
.m_max-h140px {
|
|
1978
|
+
max-height: 140px;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
.m_min-h-140px,
|
|
1982
|
+
.m_h-min-140px,
|
|
1983
|
+
.m_min-h140px {
|
|
1984
|
+
min-height: 140px;
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1866
1987
|
.m_h-150,
|
|
1867
1988
|
.m_h150p,
|
|
1868
1989
|
.m_h-150p {
|