@bagelink/vue 0.0.518 → 0.0.522

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/style.css CHANGED
@@ -637,54 +637,54 @@ a[data-v-d5201df6] {
637
637
  }
638
638
  }
639
639
 
640
- .list-arrows[data-v-fd12de23] {
640
+ .list-arrows[data-v-8113163b] {
641
641
  opacity: 0;
642
642
  }
643
- .list-arrows .bgl_icon-font[data-v-fd12de23] {
643
+ .list-arrows .bgl_icon-font[data-v-8113163b] {
644
644
  transition: all ease-in-out 0.2s;
645
645
  }
646
- .list-arrows.sorted[data-v-fd12de23] {
646
+ .list-arrows.sorted[data-v-8113163b] {
647
647
  opacity: 1;
648
648
  }
649
- .col img[data-v-fd12de23] {
649
+ .col img[data-v-8113163b] {
650
650
  height: 35px;
651
651
  margin-top: -14px;
652
652
  margin-bottom: -14px;
653
653
  border-radius: 5px;
654
654
  }
655
- .list-arrows.sorted .desc[data-v-fd12de23] {
655
+ .list-arrows.sorted .desc[data-v-8113163b] {
656
656
  transform: rotate(180deg);
657
657
  }
658
- table[data-v-fd12de23] {
658
+ table[data-v-8113163b] {
659
659
  border-collapse: separate;
660
660
  border-spacing: 0 15px;
661
661
  border-collapse: collapse;
662
662
  }
663
- th[data-v-fd12de23] {
663
+ th[data-v-8113163b] {
664
664
  font-weight: 400;
665
665
  }
666
- .embedded-field[data-v-fd12de23] {
666
+ .embedded-field[data-v-8113163b] {
667
667
  margin-bottom: -0.2rem;
668
668
  margin-top: -0.2rem;
669
669
  }
670
- .row[data-v-fd12de23] {
670
+ .row[data-v-8113163b] {
671
671
  border-bottom: 1px solid var(--border-color);
672
672
  cursor: pointer;
673
673
  }
674
- .row.first-row[data-v-fd12de23] {
674
+ .row.first-row[data-v-8113163b] {
675
675
  font-size: 0.8rem;
676
676
  color: var(--bgl-black-tint);
677
677
  position: sticky;
678
678
  top: 0;
679
679
  z-index: 2;
680
680
  background: var(--bgl-white);
681
- height: 50px;
681
+ /* height: 50px; */
682
682
  vertical-align: bottom;
683
683
  }
684
- .row.first-row input[type=checkbox][data-v-fd12de23]{
684
+ .row.first-row input[type=checkbox][data-v-8113163b]{
685
685
  margin-bottom: 0.7rem;
686
686
  }
687
- .row.first-row[data-v-fd12de23]::after {
687
+ .row.first-row[data-v-8113163b]::after {
688
688
  content: '';
689
689
  border-bottom: 1px solid var(--border-color);
690
690
  position: absolute;
@@ -692,30 +692,30 @@ th[data-v-fd12de23] {
692
692
  right: 0;
693
693
  bottom: -1px;
694
694
  }
695
- .first-row .col[data-v-fd12de23] {
695
+ .first-row .col[data-v-8113163b] {
696
696
  cursor: pointer;
697
697
  background: var(--bgl-white);
698
698
  }
699
- .col[data-v-fd12de23] {
699
+ .col[data-v-8113163b] {
700
700
  white-space: nowrap;
701
- padding: 0.75rem 0.5rem;
701
+ padding: 0.75rem 1rem;
702
702
  transition: var(--bgl-transition);
703
703
  line-height: 1;
704
704
  align-items: center;
705
705
  }
706
- .col[data-v-fd12de23]:has(.bagel-input) {
706
+ .col[data-v-8113163b]:has(.bagel-input) {
707
707
  padding: 0rem 0.25rem;
708
708
  }
709
- .col > div[data-v-fd12de23] {
709
+ .col > div[data-v-8113163b] {
710
710
  display: flex;
711
711
  gap: 0.5rem;
712
712
  }
713
- .max-col-width[data-v-fd12de23] {
713
+ .max-col-width[data-v-8113163b] {
714
714
  max-width: 30vw;
715
715
  overflow: hidden;
716
716
  text-overflow: ellipsis;
717
717
  }
718
- .col.check .bgl_icon-font[data-v-fd12de23] {
718
+ .col.check .bgl_icon-font[data-v-8113163b] {
719
719
  border-radius: 100%;
720
720
  background: var(--bgl-blue-20);
721
721
  color: var(--bgl-primary);
@@ -726,31 +726,31 @@ th[data-v-fd12de23] {
726
726
  justify-content: center;
727
727
  margin-top: -2px;
728
728
  }
729
- .rows[data-v-fd12de23] {
729
+ .rows[data-v-8113163b] {
730
730
  font-size: 0.88em;
731
731
  }
732
- .table-list[data-v-fd12de23] {
732
+ .table-list[data-v-8113163b] {
733
733
  height: 100%;
734
734
  position: relative;
735
735
  padding-left: 0 !important;
736
736
  padding-right: 0 !important;
737
737
  overflow: auto;
738
738
  }
739
- .BagelTable .table-list[data-v-fd12de23] {
739
+ .BagelTable .table-list[data-v-8113163b] {
740
740
  overflow: unset;
741
741
  }
742
- .row-item[data-v-fd12de23] {
742
+ .row-item[data-v-8113163b] {
743
743
  height: 50px;
744
744
  transition: all 200ms ease;
745
745
  }
746
- .row-item[data-v-fd12de23]:hover {
746
+ .row-item[data-v-8113163b]:hover {
747
747
  background: var(--bgl-gray-light);
748
748
  }
749
- .row-item input[type=checkbox][data-v-fd12de23]{
749
+ .row-item input[type=checkbox][data-v-8113163b]{
750
750
  margin-top: 0.45rem !important;
751
751
  accent-color: var(--bgl-primary);
752
752
  }
753
- .infinite-wrapper[data-v-fd12de23] {
753
+ .infinite-wrapper[data-v-8113163b] {
754
754
  overflow-y: auto;
755
755
  width: 100%;
756
756
  }
@@ -801,7 +801,6 @@ th[data-v-fd12de23] {
801
801
  background: var(--bgl-white);
802
802
  padding: 2rem 2rem;
803
803
  position: relative;
804
- box-shadow:0 1px 5px 0 rgba(0,0,0,.05), 0 1px 2px -1px rgba(0,0,0,.05);
805
804
  }
806
805
  .bgl_card.gray {
807
806
  background: var(--bgl-gray-20);
@@ -935,7 +934,7 @@ display: block;
935
934
  border-radius: var(--input-border-radius);
936
935
  }
937
936
 
938
- .blocker[data-v-da91fb96] {
937
+ .blocker[data-v-f21373a1] {
939
938
  position: fixed;
940
939
  top: 0;
941
940
  left: 0;
@@ -943,7 +942,7 @@ display: block;
943
942
  height: 100%;
944
943
  z-index: 100;
945
944
  }
946
- .bgl-slider[data-v-da91fb96] {
945
+ .bgl-slider[data-v-f21373a1] {
947
946
  display: grid;
948
947
  position: relative;
949
948
  scroll-behavior: smooth;
@@ -952,65 +951,65 @@ display: block;
952
951
  scroll-snap-type: x mandatory;
953
952
  overflow-x: hidden;
954
953
  }
955
- .autoHeight[data-v-da91fb96] {
954
+ .autoHeight[data-v-f21373a1] {
956
955
  transition: height ease 0.7s;
957
956
  }
958
- .bgl-slider.allowScroll[data-v-da91fb96] {
957
+ .bgl-slider.allowScroll[data-v-f21373a1] {
959
958
  overflow-x: scroll;
960
959
  }
961
- .bgl-slider.slides-6[data-v-da91fb96] {
960
+ .bgl-slider.slides-6[data-v-f21373a1] {
962
961
  grid-auto-columns: 15.9%;
963
962
  gap: 1%;
964
963
  }
965
- .bgl-slider.slides-5[data-v-da91fb96] {
964
+ .bgl-slider.slides-5[data-v-f21373a1] {
966
965
  grid-auto-columns: 19.3%;
967
966
  gap: 1%;
968
967
  }
969
- .bgl-slider.slides-4[data-v-da91fb96] {
968
+ .bgl-slider.slides-4[data-v-f21373a1] {
970
969
  grid-auto-columns: 25%;
971
970
  gap: 1%;
972
971
  }
973
- .bgl-slider.slides-3[data-v-da91fb96] {
972
+ .bgl-slider.slides-3[data-v-f21373a1] {
974
973
  grid-auto-columns: 33%;
975
974
  gap: 1%;
976
975
  }
977
- .bgl-slider.slides-2[data-v-da91fb96] {
976
+ .bgl-slider.slides-2[data-v-f21373a1] {
978
977
  grid-auto-columns: 50%;
979
978
  gap: 1%;
980
979
  }
981
- .bgl-slider.slides-1[data-v-da91fb96] {
980
+ .bgl-slider.slides-1[data-v-f21373a1] {
982
981
  grid-auto-columns: 100%;
983
982
  }
984
- .bgl-slider[data-v-da91fb96]::-webkit-scrollbar {
983
+ .bgl-slider[data-v-f21373a1]::-webkit-scrollbar {
985
984
  display: none;
986
985
  }
987
- .bgl-slider[data-v-da91fb96] * {
986
+ .bgl-slider[data-v-f21373a1] * {
988
987
  scroll-snap-align: center;
989
988
  }
990
- .dragging.bgl-slider[data-v-da91fb96] {
989
+ .dragging.bgl-slider[data-v-f21373a1] {
991
990
  cursor: grabbing;
992
991
  cursor: -webkit-grabbing;
993
992
  scroll-snap-type: unset;
994
993
  }
995
- .clicking.bgl-slider[data-v-da91fb96] {
994
+ .clicking.bgl-slider[data-v-f21373a1] {
996
995
  scroll-behavior: unset;
997
996
  }
998
- .dragging.bgl-slider[data-v-da91fb96] * {
997
+ .dragging.bgl-slider[data-v-f21373a1] * {
999
998
  scroll-snap-align: unset;
1000
999
  user-select: none;
1001
1000
  }
1002
1001
  @media screen and (max-width: 1280px) {
1003
- .bgl-slider.slides-4[data-v-da91fb96] {
1002
+ .bgl-slider.slides-4[data-v-f21373a1] {
1004
1003
  grid-auto-columns: 33%;
1005
1004
  }
1006
1005
  }
1007
1006
  @media screen and (max-width: 991px) {
1008
- .bgl-slider.slides-4[data-v-da91fb96] {
1007
+ .bgl-slider.slides-4[data-v-f21373a1] {
1009
1008
  grid-auto-columns: 50%;
1010
1009
  }
1011
1010
  }
1012
1011
  @media screen and (max-width: 600px) {
1013
- .bgl-slider.slides-4[data-v-da91fb96] {
1012
+ .bgl-slider.slides-4[data-v-f21373a1] {
1014
1013
  grid-auto-columns: 100%;
1015
1014
  }
1016
1015
  }
@@ -6832,7 +6831,7 @@ select {
6832
6831
  ::-webkit-scrollbar-track {}
6833
6832
  ::-webkit-scrollbar-thumb {
6834
6833
  background-color: var(--bgl-gray);
6835
- border-radius: 12px;
6834
+ border-radius: 1rem;
6836
6835
  }
6837
6836
  ::-webkit-scrollbar-corner {
6838
6837
  background: transparent;
@@ -7270,6 +7269,30 @@ select {
7270
7269
  .shadow-light {
7271
7270
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
7272
7271
  }
7272
+ .border-bottom {
7273
+ border-bottom: 1px solid var(--border-color)
7274
+ }
7275
+ .border-top {
7276
+ border-top: 1px solid var(--border-color)
7277
+ }
7278
+ .border-start {
7279
+ border-inline-start: 1px solid var(--border-color)
7280
+ }
7281
+ .border-end {
7282
+ border-inline-end: 1px solid var(--border-color)
7283
+ }
7284
+ .border-inner-bottom>* {
7285
+ border-bottom: 1px solid var(--border-color)
7286
+ }
7287
+ .border-inner-top>* {
7288
+ border-top: 1px solid var(--border-color)
7289
+ }
7290
+ .border-inner-start>* {
7291
+ border-inline-start: 1px solid var(--border-color)
7292
+ }
7293
+ .border-inner-end>* {
7294
+ border-inline-end: 1px solid var(--border-color)
7295
+ }
7273
7296
  @media screen and (max-width: 910px) {
7274
7297
  .m_opacity-0 {
7275
7298
  opacity: 0;
@@ -7700,6 +7723,39 @@ select {
7700
7723
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
7701
7724
  }
7702
7725
 
7726
+ .m_border-bottom {
7727
+ border-bottom: 1px solid var(--border-color)
7728
+ }
7729
+
7730
+ .m_border-top {
7731
+ border-top: 1px solid var(--border-color)
7732
+ }
7733
+
7734
+ .m_border-start {
7735
+ border-inline-start: 1px solid var(--border-color)
7736
+ }
7737
+
7738
+ .m_border-end {
7739
+ border-inline-end: 1px solid var(--border-color)
7740
+ }
7741
+
7742
+ .m_border-inner-bottom>* {
7743
+ border-bottom: 1px solid var(--border-color)
7744
+ }
7745
+
7746
+ .m_border-inner-top>* {
7747
+ border-top: 1px solid var(--border-color)
7748
+ }
7749
+
7750
+ .m_border-inner-start>* {
7751
+ border-inline-start: 1px solid var(--border-color)
7752
+ }
7753
+
7754
+ .m_border-inner-end>* {
7755
+ border-inline-end: 1px solid var(--border-color)
7756
+ }
7757
+
7758
+
7703
7759
  }
7704
7760
  /* @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;600;700&display=swap"); */
7705
7761
  /*noinspection CssUnknownTarget*/
@@ -12,6 +12,7 @@ interface InputOptions {
12
12
  disabled?: boolean;
13
13
  helptext?: string;
14
14
  }
15
+ type DateOptions = InputOptions;
15
16
  interface TextInputOptions extends InputOptions {
16
17
  type?: 'text' | 'tel' | 'email';
17
18
  pattern?: string;
@@ -39,6 +40,7 @@ export declare function richText(id: string, label?: string, options?: RichTextO
39
40
  export declare function txtField(id: string, label?: string, options?: TextInputOptions): Field;
40
41
  export declare function slctField(id: string, label?: string, options?: Option[] | (() => Option[]), config?: SlctInputOptions): Field;
41
42
  export declare function checkField(id: string, label?: string, options?: NumFieldOptions): Field;
43
+ export declare function dateField(id: string, label?: string, options?: DateOptions): Field;
42
44
  export declare function numField(id: string, label?: string, options?: NumFieldOptions): Field;
43
45
  export declare function frmRow(...children: Field[]): {
44
46
  $el: string;
@@ -1 +1 @@
1
- {"version":3,"file":"BagelFormUtils.d.ts","sourceRoot":"","sources":["../../src/utils/BagelFormUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAE1C,MAAM,MAAM,MAAM,GACf,MAAM,GACN,MAAM,GACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAE5C,UAAU,YAAY;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,UAAU,gBAAiB,SAAQ,YAAY;IAC9C,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,CAAA;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,UAAU,gBAAiB,SAAQ,YAAY;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,UAAU,eAAgB,SAAQ,YAAY;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;C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,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,WAAW,GACnB,KAAK,CAaP;AAED,wBAAgB,QAAQ,CACvB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,eAAe,GACvB,KAAK,CAoBP;AAED,wBAAgB,MAAM,CAAC,GAAG,QAAQ,EAAE,KAAK,EAAE;;;;EAM1C"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.518",
4
+ "version": "0.0.522",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -75,7 +75,6 @@ const is = $computed(() => (props.to ? 'router-link' : 'div'))
75
75
  background: var(--bgl-white);
76
76
  padding: 2rem 2rem;
77
77
  position: relative;
78
- box-shadow:0 1px 5px 0 rgba(0,0,0,.05), 0 1px 2px -1px rgba(0,0,0,.05);
79
78
  }
80
79
 
81
80
  .bgl_card.gray {
@@ -178,10 +178,10 @@ onUnmounted(() => {
178
178
  </div>
179
179
  <div class="Handlers">
180
180
  <span @click="prev">
181
- <slot name="prev" :index="activeSlideIndex" />
181
+ <slot name="prev" :index="activeSlideIndex" :prev />
182
182
  </span>
183
183
  <span @click="next">
184
- <slot name="next" :index="activeSlideIndex" />
184
+ <slot name="next" :index="activeSlideIndex" :next />
185
185
  </span>
186
186
  </div>
187
187
  </div>
@@ -14,7 +14,7 @@ defineProps<{
14
14
  <component :is="to ? 'RouterLink' : 'div'" :to="to" class="flex list-item gap-1">
15
15
  <Avatar v-if="src || showAvatar" style="flex-basis: 1;" :name="title" :src="src" :size="40" />
16
16
  <div>
17
- <p class="no-margin ellipsis line-height-14">
17
+ <p class="no-margin ellipsis line-height-14 pb-025">
18
18
  {{ title }}
19
19
  <slot />
20
20
  </p>
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" setup></script>
2
2
 
3
3
  <template>
4
- <div class="list-wrap bgl_card thin grid overflow-hidden h-100 p-0">
4
+ <div class="list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0">
5
5
  <div class="p-1">
6
6
  <slot name="header" />
7
7
  </div>
@@ -96,7 +96,7 @@ const computedData = $computed(() => {
96
96
  return dta
97
97
  })
98
98
 
99
- function selectAll(event: PointerEvent) {
99
+ function _unused_SelectAll(event: PointerEvent) {
100
100
  const value = (event.target as HTMLInputElement).checked
101
101
  if (!value) {
102
102
  selected = []
@@ -229,7 +229,7 @@ th {
229
229
  top: 0;
230
230
  z-index: 2;
231
231
  background: var(--bgl-white);
232
- height: 50px;
232
+ /* height: 50px; */
233
233
  vertical-align: bottom;
234
234
  }
235
235
  .row.first-row input[type=checkbox]{
@@ -252,7 +252,7 @@ th {
252
252
 
253
253
  .col {
254
254
  white-space: nowrap;
255
- padding: 0.75rem 0.5rem;
255
+ padding: 0.75rem 1rem;
256
256
  transition: var(--bgl-transition);
257
257
  line-height: 1;
258
258
  align-items: center;
@@ -431,6 +431,39 @@
431
431
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
432
432
  }
433
433
 
434
+ .border-bottom {
435
+ border-bottom: 1px solid var(--border-color)
436
+ }
437
+
438
+ .border-top {
439
+ border-top: 1px solid var(--border-color)
440
+ }
441
+
442
+ .border-start {
443
+ border-inline-start: 1px solid var(--border-color)
444
+ }
445
+
446
+ .border-end {
447
+ border-inline-end: 1px solid var(--border-color)
448
+ }
449
+
450
+ .border-inner-bottom>* {
451
+ border-bottom: 1px solid var(--border-color)
452
+ }
453
+
454
+ .border-inner-top>* {
455
+ border-top: 1px solid var(--border-color)
456
+ }
457
+
458
+ .border-inner-start>* {
459
+ border-inline-start: 1px solid var(--border-color)
460
+ }
461
+
462
+ .border-inner-end>* {
463
+ border-inline-end: 1px solid var(--border-color)
464
+ }
465
+
466
+
434
467
 
435
468
  @media screen and (max-width: 910px) {
436
469
  .m_opacity-0 {
@@ -862,4 +895,37 @@
862
895
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
863
896
  }
864
897
 
898
+ .m_border-bottom {
899
+ border-bottom: 1px solid var(--border-color)
900
+ }
901
+
902
+ .m_border-top {
903
+ border-top: 1px solid var(--border-color)
904
+ }
905
+
906
+ .m_border-start {
907
+ border-inline-start: 1px solid var(--border-color)
908
+ }
909
+
910
+ .m_border-end {
911
+ border-inline-end: 1px solid var(--border-color)
912
+ }
913
+
914
+ .m_border-inner-bottom>* {
915
+ border-bottom: 1px solid var(--border-color)
916
+ }
917
+
918
+ .m_border-inner-top>* {
919
+ border-top: 1px solid var(--border-color)
920
+ }
921
+
922
+ .m_border-inner-start>* {
923
+ border-inline-start: 1px solid var(--border-color)
924
+ }
925
+
926
+ .m_border-inner-end>* {
927
+ border-inline-end: 1px solid var(--border-color)
928
+ }
929
+
930
+
865
931
  }
@@ -7,7 +7,7 @@
7
7
 
8
8
  ::-webkit-scrollbar-thumb {
9
9
  background-color: var(--bgl-gray);
10
- border-radius: 12px;
10
+ border-radius: 1rem;
11
11
  }
12
12
 
13
13
  ::-webkit-scrollbar-corner {
@@ -15,6 +15,8 @@ interface InputOptions {
15
15
  helptext?: string
16
16
  }
17
17
 
18
+ type DateOptions = InputOptions
19
+
18
20
  interface TextInputOptions extends InputOptions {
19
21
  type?: 'text' | 'tel' | 'email'
20
22
  pattern?: string
@@ -61,6 +63,7 @@ export function txtField(
61
63
  required: options?.required,
62
64
  id,
63
65
  label,
66
+ disabled: options?.disabled,
64
67
  placeholder: options?.placeholder,
65
68
  defaultValue: options?.defaultValue,
66
69
  attrs: {
@@ -108,6 +111,25 @@ export function checkField(
108
111
  }
109
112
  }
110
113
 
114
+ export function dateField(
115
+ id: string,
116
+ label?: string,
117
+ options?: DateOptions,
118
+ ): Field {
119
+ return {
120
+ $el: 'date',
121
+ class: options?.class,
122
+ required: options?.required,
123
+ id,
124
+ disabled: options?.disabled,
125
+ label,
126
+ defaultValue: options?.defaultValue,
127
+ attrs: {
128
+ disabled: options?.disabled,
129
+ },
130
+ }
131
+ }
132
+
111
133
  export function numField(
112
134
  id: string,
113
135
  label?: string,
@@ -120,6 +142,7 @@ export function numField(
120
142
  defaultValue: options?.defaultValue,
121
143
  id,
122
144
  label,
145
+ disabled: options?.disabled,
123
146
  placeholder: options?.placeholder,
124
147
  helptext: options?.helptext,
125
148
  attrs: {