@bitrix24/b24ui-nuxt 0.5.10 → 0.6.0

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 (101) hide show
  1. package/.nuxt/b24ui/input-menu.ts +2 -2
  2. package/.nuxt/b24ui/select-menu.ts +4 -4
  3. package/.nuxt/b24ui/select.ts +2 -2
  4. package/dist/meta.d.mts +148 -1
  5. package/dist/meta.mjs +148 -1
  6. package/dist/module.json +2 -2
  7. package/dist/module.mjs +2 -2
  8. package/dist/runtime/components/Advice.vue +10 -30
  9. package/dist/runtime/components/Alert.vue +17 -53
  10. package/dist/runtime/components/App.vue +9 -22
  11. package/dist/runtime/components/Avatar.vue +12 -38
  12. package/dist/runtime/components/AvatarGroup.vue +7 -20
  13. package/dist/runtime/components/Badge.vue +18 -61
  14. package/dist/runtime/components/Button.vue +55 -177
  15. package/dist/runtime/components/ButtonGroup.vue +6 -22
  16. package/dist/runtime/components/Calendar.vue +38 -151
  17. package/dist/runtime/components/Checkbox.vue +17 -59
  18. package/dist/runtime/components/Chip.vue +11 -44
  19. package/dist/runtime/components/Collapsible.vue +8 -30
  20. package/dist/runtime/components/Container.vue +3 -8
  21. package/dist/runtime/components/Countdown.vue +15 -60
  22. package/dist/runtime/components/DescriptionList.vue +10 -34
  23. package/dist/runtime/components/DropdownMenu.vue +16 -61
  24. package/dist/runtime/components/DropdownMenuContent.vue +41 -106
  25. package/dist/runtime/components/Form.vue +12 -45
  26. package/dist/runtime/components/FormField.vue +16 -56
  27. package/dist/runtime/components/Input.vue +29 -110
  28. package/dist/runtime/components/InputMenu.vue +76 -192
  29. package/dist/runtime/components/InputMenu.vue.d.ts +25 -6
  30. package/dist/runtime/components/InputNumber.vue +35 -136
  31. package/dist/runtime/components/Kbd.vue +6 -21
  32. package/dist/runtime/components/Link.vue +28 -115
  33. package/dist/runtime/components/LinkBase.vue +11 -42
  34. package/dist/runtime/components/Modal.vue +20 -77
  35. package/dist/runtime/components/ModalDialogClose.vue +1 -0
  36. package/dist/runtime/components/Navbar.vue +4 -13
  37. package/dist/runtime/components/NavbarDivider.vue +4 -13
  38. package/dist/runtime/components/NavbarSection.vue +4 -13
  39. package/dist/runtime/components/NavbarSpacer.vue +4 -13
  40. package/dist/runtime/components/NavigationMenu.vue +39 -107
  41. package/dist/runtime/components/OverlayProvider.vue +1 -1
  42. package/dist/runtime/components/Popover.vue +12 -53
  43. package/dist/runtime/components/Progress.vue +13 -52
  44. package/dist/runtime/components/RadioGroup.vue +20 -81
  45. package/dist/runtime/components/Range.vue +16 -64
  46. package/dist/runtime/components/Select.vue +39 -141
  47. package/dist/runtime/components/Select.vue.d.ts +1 -0
  48. package/dist/runtime/components/SelectMenu.vue +79 -172
  49. package/dist/runtime/components/SelectMenu.vue.d.ts +1 -1
  50. package/dist/runtime/components/Separator.vue +13 -46
  51. package/dist/runtime/components/Sidebar.vue +4 -13
  52. package/dist/runtime/components/SidebarBody.vue +5 -18
  53. package/dist/runtime/components/SidebarFooter.vue +4 -13
  54. package/dist/runtime/components/SidebarHeader.vue +4 -13
  55. package/dist/runtime/components/SidebarHeading.vue +4 -13
  56. package/dist/runtime/components/SidebarLayout.vue +12 -18
  57. package/dist/runtime/components/SidebarSection.vue +4 -13
  58. package/dist/runtime/components/SidebarSpacer.vue +4 -13
  59. package/dist/runtime/components/Skeleton.vue +3 -8
  60. package/dist/runtime/components/Slideover.vue +20 -78
  61. package/dist/runtime/components/StackedLayout.vue +12 -18
  62. package/dist/runtime/components/Switch.vue +21 -75
  63. package/dist/runtime/components/Tabs.vue +22 -64
  64. package/dist/runtime/components/Textarea.vue +30 -115
  65. package/dist/runtime/components/Toast.vue +20 -67
  66. package/dist/runtime/components/Toaster.vue +15 -38
  67. package/dist/runtime/components/Tooltip.vue +16 -58
  68. package/dist/runtime/components/content/TableWrapper.vue +12 -46
  69. package/dist/runtime/composables/useFormField.d.ts +1 -1
  70. package/dist/runtime/composables/useOverlay.d.ts +14 -7
  71. package/dist/runtime/composables/useOverlay.js +14 -6
  72. package/dist/runtime/prose/A.vue +2 -8
  73. package/dist/runtime/prose/Blockquote.vue +2 -8
  74. package/dist/runtime/prose/Code.vue +3 -12
  75. package/dist/runtime/prose/Em.vue +2 -8
  76. package/dist/runtime/prose/H1.vue +2 -8
  77. package/dist/runtime/prose/H2.vue +2 -8
  78. package/dist/runtime/prose/H3.vue +2 -8
  79. package/dist/runtime/prose/H4.vue +2 -8
  80. package/dist/runtime/prose/H5.vue +2 -8
  81. package/dist/runtime/prose/H6.vue +2 -8
  82. package/dist/runtime/prose/Hr.vue +2 -8
  83. package/dist/runtime/prose/Img.vue +2 -8
  84. package/dist/runtime/prose/Li.vue +2 -8
  85. package/dist/runtime/prose/Ol.vue +2 -8
  86. package/dist/runtime/prose/P.vue +2 -8
  87. package/dist/runtime/prose/Pre.vue +5 -17
  88. package/dist/runtime/prose/Strong.vue +2 -8
  89. package/dist/runtime/prose/Table.vue +8 -33
  90. package/dist/runtime/prose/Tbody.vue +2 -8
  91. package/dist/runtime/prose/Td.vue +2 -8
  92. package/dist/runtime/prose/Th.vue +2 -8
  93. package/dist/runtime/prose/Thead.vue +2 -8
  94. package/dist/runtime/prose/Tr.vue +2 -8
  95. package/dist/runtime/prose/Ul.vue +2 -8
  96. package/dist/runtime/utils/link.d.ts +3 -3
  97. package/dist/runtime/vue/components/Link.vue +29 -115
  98. package/dist/shared/{b24ui-nuxt.CS9Lf0os.mjs → b24ui-nuxt.BA6Y2FnC.mjs} +6 -6
  99. package/dist/unplugin.mjs +1 -1
  100. package/dist/vite.mjs +1 -1
  101. package/package.json +11 -7
@@ -8,46 +8,20 @@ const avatar = tv({ extend: tv(theme), ...appConfigAvatar.b24ui?.avatar || {} })
8
8
 
9
9
  <script setup>
10
10
  import { ref, computed, watch } from "vue";
11
+ import { Primitive, Slot } from "reka-ui";
12
+ import ImageComponent from "#build/b24ui-image-component";
11
13
  import { useAvatarGroup } from "../composables/useAvatarGroup";
12
14
  defineOptions({ inheritAttrs: false });
13
15
  const props = defineProps({
14
- as: {
15
- type: null,
16
- required: false,
17
- default: "span"
18
- },
19
- src: {
20
- type: String,
21
- required: false
22
- },
23
- alt: {
24
- type: String,
25
- required: false
26
- },
27
- icon: {
28
- type: [Function, Object],
29
- required: false
30
- },
31
- text: {
32
- type: String,
33
- required: false
34
- },
35
- size: {
36
- type: null,
37
- required: false
38
- },
39
- class: {
40
- type: null,
41
- required: false
42
- },
43
- style: {
44
- type: null,
45
- required: false
46
- },
47
- b24ui: {
48
- type: Object,
49
- required: false
50
- }
16
+ as: { type: null, required: false, default: "span" },
17
+ src: { type: String, required: false },
18
+ alt: { type: String, required: false },
19
+ icon: { type: [Function, Object], required: false },
20
+ text: { type: String, required: false },
21
+ size: { type: null, required: false },
22
+ class: { type: null, required: false },
23
+ style: { type: null, required: false },
24
+ b24ui: { type: Object, required: false }
51
25
  });
52
26
  const fallback = computed(
53
27
  () => props.text || (props.alt || "").replace(/[+\-*)(}\][{]/g, "").split(" ").map((word) => word.charAt(0)).join("").substring(0, 2)
@@ -96,7 +70,7 @@ function onError() {
96
70
  <Slot v-else v-bind="$attrs">
97
71
  <slot>
98
72
  <Component :is="icon" v-if="icon" :class="b24ui.icon({ class: props.b24ui?.icon })" />
99
- <span v-else :class="b24ui.fallback({ class: props.b24ui?.fallback })">{{ fallback || "\xA0" }}</span>
73
+ <span v-else :class="b24ui.fallback({ class: props.b24ui?.fallback })">{{ fallback || '\xA0' }}</span>
100
74
  </slot>
101
75
  </Slot>
102
76
  </Primitive>
@@ -8,28 +8,15 @@ const avatarGroup = tv({ extend: tv(theme), ...appConfigAvatarGroup.b24ui?.avata
8
8
 
9
9
  <script setup>
10
10
  import { computed, provide } from "vue";
11
+ import { Primitive } from "reka-ui";
11
12
  import { avatarGroupInjectionKey } from "../composables/useAvatarGroup";
13
+ import B24Avatar from "./Avatar.vue";
12
14
  const props = defineProps({
13
- as: {
14
- type: null,
15
- required: false
16
- },
17
- size: {
18
- type: null,
19
- required: false
20
- },
21
- max: {
22
- type: [Number, String],
23
- required: false
24
- },
25
- class: {
26
- type: null,
27
- required: false
28
- },
29
- b24ui: {
30
- type: Object,
31
- required: false
32
- }
15
+ as: { type: null, required: false },
16
+ size: { type: null, required: false },
17
+ max: { type: [Number, String], required: false },
18
+ class: { type: null, required: false },
19
+ b24ui: { type: Object, required: false }
33
20
  });
34
21
  const slots = defineSlots();
35
22
  const b24ui = computed(() => avatarGroup({
@@ -8,70 +8,27 @@ const badge = tv({ extend: tv(theme), ...appConfigBadge.b24ui?.badge || {} });
8
8
 
9
9
  <script setup>
10
10
  import { computed } from "vue";
11
+ import { Primitive } from "reka-ui";
11
12
  import { useButtonGroup } from "../composables/useButtonGroup";
12
13
  import { useComponentIcons } from "../composables/useComponentIcons";
14
+ import Cross20Icon from "@bitrix24/b24icons-vue/actions/Cross20Icon";
15
+ import B24Avatar from "./Avatar.vue";
13
16
  const props = defineProps({
14
- as: {
15
- type: null,
16
- required: false,
17
- default: "span"
18
- },
19
- label: {
20
- type: [String, Number],
21
- required: false
22
- },
23
- color: {
24
- type: null,
25
- required: false
26
- },
27
- depth: {
28
- type: null,
29
- required: false
30
- },
31
- size: {
32
- type: null,
33
- required: false
34
- },
35
- useLink: {
36
- type: Boolean,
37
- required: false
38
- },
39
- useClose: {
40
- type: Boolean,
41
- required: false
42
- },
43
- onCloseClick: {
44
- type: [Function, Array],
45
- required: false
46
- },
47
- useFill: {
48
- type: Boolean,
49
- required: false
50
- },
51
- class: {
52
- type: null,
53
- required: false
54
- },
55
- b24ui: {
56
- type: Object,
57
- required: false
58
- },
59
- icon: {
60
- type: [Function, Object],
61
- required: false
62
- },
63
- avatar: {
64
- type: Object,
65
- required: false
66
- },
67
- trailing: {
68
- type: Boolean,
69
- required: false
70
- },
71
- trailingIcon: {
72
- type: [Function, Object],
73
- required: false
74
- }
17
+ as: { type: null, required: false, default: "span" },
18
+ label: { type: [String, Number], required: false },
19
+ color: { type: null, required: false },
20
+ depth: { type: null, required: false },
21
+ size: { type: null, required: false },
22
+ useLink: { type: Boolean, required: false },
23
+ useClose: { type: Boolean, required: false },
24
+ onCloseClick: { type: [Function, Array], required: false },
25
+ useFill: { type: Boolean, required: false },
26
+ class: { type: null, required: false },
27
+ b24ui: { type: Object, required: false },
28
+ icon: { type: [Function, Object], required: false },
29
+ avatar: { type: Object, required: false },
30
+ trailing: { type: Boolean, required: false },
31
+ trailingIcon: { type: [Function, Object], required: false }
75
32
  });
76
33
  defineSlots();
77
34
  async function onCloseClickWrapper(event) {
@@ -12,187 +12,65 @@ import { useForwardProps } from "reka-ui";
12
12
  import { useComponentIcons } from "../composables/useComponentIcons";
13
13
  import { useButtonGroup } from "../composables/useButtonGroup";
14
14
  import { formLoadingInjectionKey } from "../composables/useFormField";
15
+ import { omit } from "../utils";
15
16
  import { pickLinkProps } from "../utils/link";
17
+ import B24Avatar from "./Avatar.vue";
18
+ import B24Link from "./Link.vue";
19
+ import B24LinkBase from "./LinkBase.vue";
20
+ import ChevronDownIcon from "@bitrix24/b24icons-vue/actions/ChevronDownIcon";
21
+ import LoaderWaitIcon from "@bitrix24/b24icons-vue/animated/LoaderWaitIcon";
22
+ import LoaderClockIcon from "@bitrix24/b24icons-vue/animated/LoaderClockIcon";
23
+ import SpinnerIcon from "@bitrix24/b24icons-vue/specialized/SpinnerIcon";
16
24
  const props = defineProps({
17
- label: {
18
- type: String,
19
- required: false
20
- },
21
- color: {
22
- type: null,
23
- required: false
24
- },
25
- activeColor: {
26
- type: null,
27
- required: false
28
- },
29
- depth: {
30
- type: null,
31
- required: false
32
- },
33
- activeDepth: {
34
- type: null,
35
- required: false
36
- },
37
- size: {
38
- type: null,
39
- required: false
40
- },
41
- rounded: {
42
- type: Boolean,
43
- required: false
44
- },
45
- block: {
46
- type: Boolean,
47
- required: false
48
- },
49
- loadingAuto: {
50
- type: Boolean,
51
- required: false
52
- },
53
- normalCase: {
54
- type: Boolean,
55
- required: false
56
- },
57
- useWait: {
58
- type: Boolean,
59
- required: false
60
- },
61
- useClock: {
62
- type: Boolean,
63
- required: false
64
- },
65
- useDropdown: {
66
- type: Boolean,
67
- required: false
68
- },
69
- onClick: {
70
- type: [Function, Array],
71
- required: false
72
- },
73
- class: {
74
- type: null,
75
- required: false
76
- },
77
- activeClass: {
78
- type: String,
79
- required: false,
80
- default: ""
81
- },
82
- inactiveClass: {
83
- type: String,
84
- required: false,
85
- default: ""
86
- },
87
- b24ui: {
88
- type: null,
89
- required: false
90
- },
91
- icon: {
92
- type: [Function, Object],
93
- required: false
94
- },
95
- avatar: {
96
- type: Object,
97
- required: false
98
- },
99
- loading: {
100
- type: Boolean,
101
- required: false
102
- },
103
- as: {
104
- type: null,
105
- required: false
106
- },
107
- type: {
108
- type: null,
109
- required: false,
110
- default: "button"
111
- },
112
- disabled: {
113
- type: Boolean,
114
- required: false
115
- },
116
- active: {
117
- type: Boolean,
118
- required: false,
119
- default: void 0
120
- },
121
- exact: {
122
- type: Boolean,
123
- required: false
124
- },
125
- exactQuery: {
126
- type: [Boolean, String],
127
- required: false
128
- },
129
- exactHash: {
130
- type: Boolean,
131
- required: false
132
- },
133
- isAction: {
134
- type: Boolean,
135
- required: false
136
- },
137
- to: {
138
- type: null,
139
- required: false
140
- },
141
- href: {
142
- type: null,
143
- required: false
144
- },
145
- external: {
146
- type: Boolean,
147
- required: false
148
- },
149
- target: {
150
- type: [String, Object, null],
151
- required: false
152
- },
153
- rel: {
154
- type: [String, Object, null],
155
- required: false
156
- },
157
- noRel: {
158
- type: Boolean,
159
- required: false
160
- },
161
- prefetchedClass: {
162
- type: String,
163
- required: false
164
- },
165
- prefetch: {
166
- type: Boolean,
167
- required: false
168
- },
169
- prefetchOn: {
170
- type: [String, Object],
171
- required: false
172
- },
173
- noPrefetch: {
174
- type: Boolean,
175
- required: false
176
- },
177
- exactActiveClass: {
178
- type: String,
179
- required: false
180
- },
181
- ariaCurrentValue: {
182
- type: String,
183
- required: false
184
- },
185
- viewTransition: {
186
- type: Boolean,
187
- required: false
188
- },
189
- replace: {
190
- type: Boolean,
191
- required: false
192
- }
25
+ label: { type: String, required: false },
26
+ color: { type: null, required: false },
27
+ activeColor: { type: null, required: false },
28
+ depth: { type: null, required: false },
29
+ activeDepth: { type: null, required: false },
30
+ size: { type: null, required: false },
31
+ rounded: { type: Boolean, required: false },
32
+ block: { type: Boolean, required: false },
33
+ loadingAuto: { type: Boolean, required: false },
34
+ normalCase: { type: Boolean, required: false },
35
+ useWait: { type: Boolean, required: false },
36
+ useClock: { type: Boolean, required: false },
37
+ useDropdown: { type: Boolean, required: false },
38
+ onClick: { type: [Function, Array], required: false },
39
+ class: { type: null, required: false },
40
+ activeClass: { type: String, required: false, default: "" },
41
+ inactiveClass: { type: String, required: false, default: "" },
42
+ b24ui: { type: null, required: false },
43
+ icon: { type: [Function, Object], required: false },
44
+ avatar: { type: Object, required: false },
45
+ loading: { type: Boolean, required: false },
46
+ as: { type: null, required: false },
47
+ type: { type: null, required: false, default: "button" },
48
+ disabled: { type: Boolean, required: false },
49
+ active: { type: Boolean, required: false, default: void 0 },
50
+ exact: { type: Boolean, required: false },
51
+ exactQuery: { type: [Boolean, String], required: false },
52
+ exactHash: { type: Boolean, required: false },
53
+ isAction: { type: Boolean, required: false },
54
+ to: { type: null, required: false },
55
+ href: { type: null, required: false },
56
+ external: { type: Boolean, required: false },
57
+ target: { type: [String, Object, null], required: false },
58
+ rel: { type: [String, Object, null], required: false },
59
+ noRel: { type: Boolean, required: false },
60
+ prefetchedClass: { type: String, required: false },
61
+ prefetch: { type: Boolean, required: false },
62
+ prefetchOn: { type: [String, Object], required: false },
63
+ noPrefetch: { type: Boolean, required: false },
64
+ exactActiveClass: { type: String, required: false },
65
+ ariaCurrentValue: { type: String, required: false },
66
+ viewTransition: { type: Boolean, required: false },
67
+ replace: { type: Boolean, required: false }
193
68
  });
194
69
  const slots = defineSlots();
195
70
  const linkProps = useForwardProps(pickLinkProps(props));
71
+ const proxyLinkProps = computed(() => {
72
+ return omit(linkProps.value, ["type", "disabled", "onClick"]);
73
+ });
196
74
  const { orientation, size: buttonSize, noSplit } = useButtonGroup(props);
197
75
  const loadingAutoState = ref(false);
198
76
  const formLoading = inject(formLoadingInjectionKey, void 0);
@@ -254,7 +132,7 @@ const b24ui = computed(() => tv({
254
132
  :type="type"
255
133
  :disabled="disabled || isLoading"
256
134
  :class="b24ui.base({ class: [props.class, props.b24ui?.base] })"
257
- v-bind="omit(linkProps, ['type', 'disabled', 'onClick'])"
135
+ v-bind="proxyLinkProps"
258
136
  custom
259
137
  >
260
138
  <B24LinkBase
@@ -8,30 +8,14 @@ const buttonGroup = tv({ extend: tv(theme), ...appConfigButtonGroup.b24ui?.butto
8
8
 
9
9
  <script setup>
10
10
  import { provide, computed } from "vue";
11
+ import { Primitive } from "reka-ui";
11
12
  import { buttonGroupInjectionKey } from "../composables/useButtonGroup";
12
13
  const props = defineProps({
13
- as: {
14
- type: null,
15
- required: false
16
- },
17
- size: {
18
- type: null,
19
- required: false
20
- },
21
- orientation: {
22
- type: null,
23
- required: false,
24
- default: "horizontal"
25
- },
26
- noSplit: {
27
- type: Boolean,
28
- required: false,
29
- default: false
30
- },
31
- class: {
32
- type: null,
33
- required: false
34
- }
14
+ as: { type: null, required: false },
15
+ size: { type: null, required: false },
16
+ orientation: { type: null, required: false, default: "horizontal" },
17
+ noSplit: { type: Boolean, required: false, default: false },
18
+ class: { type: null, required: false }
35
19
  });
36
20
  defineSlots();
37
21
  provide(buttonGroupInjectionKey, computed(() => ({
@@ -13,158 +13,45 @@ import { Calendar as SingleCalendar, RangeCalendar } from "reka-ui/namespaced";
13
13
  import { reactiveOmit } from "@vueuse/core";
14
14
  import { useLocale } from "../composables/useLocale";
15
15
  import icons from "../dictionary/icons";
16
+ import B24Button from "./Button.vue";
16
17
  const props = defineProps({
17
- as: {
18
- type: null,
19
- required: false
20
- },
21
- nextYearIcon: {
22
- type: [Function, Object],
23
- required: false
24
- },
25
- nextYear: {
26
- type: Object,
27
- required: false
28
- },
29
- nextMonthIcon: {
30
- type: [Function, Object],
31
- required: false
32
- },
33
- nextMonth: {
34
- type: Object,
35
- required: false
36
- },
37
- prevYearIcon: {
38
- type: [Function, Object],
39
- required: false
40
- },
41
- prevYear: {
42
- type: Object,
43
- required: false
44
- },
45
- prevMonthIcon: {
46
- type: [Function, Object],
47
- required: false
48
- },
49
- prevMonth: {
50
- type: Object,
51
- required: false
52
- },
53
- color: {
54
- type: null,
55
- required: false
56
- },
57
- size: {
58
- type: null,
59
- required: false
60
- },
61
- range: {
62
- type: Boolean,
63
- required: false
64
- },
65
- multiple: {
66
- type: Boolean,
67
- required: false
68
- },
69
- monthControls: {
70
- type: Boolean,
71
- required: false,
72
- default: true
73
- },
74
- yearControls: {
75
- type: Boolean,
76
- required: false,
77
- default: true
78
- },
79
- defaultValue: {
80
- type: null,
81
- required: false
82
- },
83
- modelValue: {
84
- type: null,
85
- required: false
86
- },
87
- class: {
88
- type: null,
89
- required: false
90
- },
91
- b24ui: {
92
- type: null,
93
- required: false
94
- },
95
- defaultPlaceholder: {
96
- type: null,
97
- required: false
98
- },
99
- placeholder: {
100
- type: null,
101
- required: false
102
- },
103
- allowNonContiguousRanges: {
104
- type: Boolean,
105
- required: false
106
- },
107
- pagedNavigation: {
108
- type: Boolean,
109
- required: false
110
- },
111
- preventDeselect: {
112
- type: Boolean,
113
- required: false
114
- },
115
- weekStartsOn: {
116
- type: Number,
117
- required: false
118
- },
119
- weekdayFormat: {
120
- type: String,
121
- required: false
122
- },
123
- fixedWeeks: {
124
- type: Boolean,
125
- required: false,
126
- default: true
127
- },
128
- maxValue: {
129
- type: null,
130
- required: false
131
- },
132
- minValue: {
133
- type: null,
134
- required: false
135
- },
136
- numberOfMonths: {
137
- type: Number,
138
- required: false
139
- },
140
- disabled: {
141
- type: Boolean,
142
- required: false
143
- },
144
- readonly: {
145
- type: Boolean,
146
- required: false
147
- },
148
- initialFocus: {
149
- type: Boolean,
150
- required: false
151
- },
152
- isDateDisabled: {
153
- type: Function,
154
- required: false
155
- },
156
- isDateUnavailable: {
157
- type: Function,
158
- required: false
159
- },
160
- nextPage: {
161
- type: Function,
162
- required: false
163
- },
164
- prevPage: {
165
- type: Function,
166
- required: false
167
- }
18
+ as: { type: null, required: false },
19
+ nextYearIcon: { type: [Function, Object], required: false },
20
+ nextYear: { type: Object, required: false },
21
+ nextMonthIcon: { type: [Function, Object], required: false },
22
+ nextMonth: { type: Object, required: false },
23
+ prevYearIcon: { type: [Function, Object], required: false },
24
+ prevYear: { type: Object, required: false },
25
+ prevMonthIcon: { type: [Function, Object], required: false },
26
+ prevMonth: { type: Object, required: false },
27
+ color: { type: null, required: false },
28
+ size: { type: null, required: false },
29
+ range: { type: Boolean, required: false },
30
+ multiple: { type: Boolean, required: false },
31
+ monthControls: { type: Boolean, required: false, default: true },
32
+ yearControls: { type: Boolean, required: false, default: true },
33
+ defaultValue: { type: null, required: false },
34
+ modelValue: { type: null, required: false },
35
+ class: { type: null, required: false },
36
+ b24ui: { type: null, required: false },
37
+ defaultPlaceholder: { type: null, required: false },
38
+ placeholder: { type: null, required: false },
39
+ allowNonContiguousRanges: { type: Boolean, required: false },
40
+ pagedNavigation: { type: Boolean, required: false },
41
+ preventDeselect: { type: Boolean, required: false },
42
+ weekStartsOn: { type: Number, required: false },
43
+ weekdayFormat: { type: String, required: false },
44
+ fixedWeeks: { type: Boolean, required: false, default: true },
45
+ maxValue: { type: null, required: false },
46
+ minValue: { type: null, required: false },
47
+ numberOfMonths: { type: Number, required: false },
48
+ disabled: { type: Boolean, required: false },
49
+ readonly: { type: Boolean, required: false },
50
+ initialFocus: { type: Boolean, required: false },
51
+ isDateDisabled: { type: Function, required: false },
52
+ isDateUnavailable: { type: Function, required: false },
53
+ nextPage: { type: Function, required: false },
54
+ prevPage: { type: Function, required: false }
168
55
  });
169
56
  const emits = defineEmits(["update:modelValue", "update:placeholder", "update:startValue"]);
170
57
  defineSlots();