@progress/kendo-vue-dropdowns 5.3.0-dev.202410141143 → 5.3.0-develop.1

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 (273) hide show
  1. package/AutoComplete/AutoComplete.js +8 -0
  2. package/AutoComplete/AutoComplete.mjs +526 -0
  3. package/ComboBox/ComboBox.js +8 -0
  4. package/ComboBox/ComboBox.mjs +776 -0
  5. package/DropDownList/DropDownList.js +8 -0
  6. package/DropDownList/DropDownList.mjs +781 -0
  7. package/DropDownTree/DropDownTree.js +8 -0
  8. package/DropDownTree/DropDownTree.mjs +709 -0
  9. package/DropDownTree/ListNoData.js +8 -0
  10. package/DropDownTree/ListNoData.mjs +21 -0
  11. package/MultiSelect/MultiSelect.js +8 -0
  12. package/MultiSelect/MultiSelect.mjs +872 -0
  13. package/MultiSelect/TagList.js +8 -0
  14. package/MultiSelect/TagList.mjs +119 -0
  15. package/MultiSelectTree/MultiSelectTree.js +8 -0
  16. package/MultiSelectTree/MultiSelectTree.mjs +759 -0
  17. package/MultiSelectTree/utils.js +8 -0
  18. package/MultiSelectTree/utils.mjs +73 -0
  19. package/README.md +28 -43
  20. package/common/ClearButton.js +8 -0
  21. package/common/ClearButton.mjs +54 -0
  22. package/common/DropDownBase.js +8 -0
  23. package/common/DropDownBase.mjs +193 -0
  24. package/common/GroupStickyHeader.js +8 -0
  25. package/common/GroupStickyHeader.mjs +38 -0
  26. package/common/List.js +8 -0
  27. package/common/List.mjs +139 -0
  28. package/common/ListContainer.js +8 -0
  29. package/common/ListContainer.mjs +103 -0
  30. package/common/ListDefaultItem.js +8 -0
  31. package/common/ListDefaultItem.mjs +47 -0
  32. package/common/ListFilter.js +8 -0
  33. package/common/ListFilter.mjs +147 -0
  34. package/common/ListGroupItem.js +8 -0
  35. package/common/ListGroupItem.mjs +46 -0
  36. package/common/ListItem.js +8 -0
  37. package/common/ListItem.mjs +73 -0
  38. package/common/Navigation.js +8 -0
  39. package/common/Navigation.mjs +28 -0
  40. package/common/SearchBar.js +8 -0
  41. package/common/SearchBar.mjs +129 -0
  42. package/common/VirtualScroll.js +8 -0
  43. package/common/VirtualScroll.mjs +95 -0
  44. package/common/constants.js +8 -0
  45. package/common/constants.mjs +12 -0
  46. package/common/settings.js +8 -0
  47. package/common/settings.mjs +11 -0
  48. package/common/utils.js +8 -0
  49. package/common/utils.mjs +104 -0
  50. package/dist/cdn/js/kendo-vue-dropdowns.js +8 -1
  51. package/index.d.mts +4037 -0
  52. package/index.d.ts +4037 -0
  53. package/index.js +8 -0
  54. package/index.mjs +25 -0
  55. package/messages/main.js +8 -0
  56. package/messages/main.mjs +26 -0
  57. package/package-metadata.js +8 -0
  58. package/package-metadata.mjs +18 -0
  59. package/package.json +24 -58
  60. package/dist/es/AutoComplete/AutoComplete.d.ts +0 -107
  61. package/dist/es/AutoComplete/AutoComplete.js +0 -825
  62. package/dist/es/AutoComplete/AutoCompleteProps.d.ts +0 -234
  63. package/dist/es/AutoComplete/AutoCompleteProps.js +0 -2
  64. package/dist/es/ComboBox/ComboBox.d.ts +0 -99
  65. package/dist/es/ComboBox/ComboBox.js +0 -1315
  66. package/dist/es/ComboBox/ComboBoxProps.d.ts +0 -277
  67. package/dist/es/ComboBox/ComboBoxProps.js +0 -2
  68. package/dist/es/DropDownList/DropDownList.d.ts +0 -103
  69. package/dist/es/DropDownList/DropDownList.js +0 -1314
  70. package/dist/es/DropDownList/DropDownListProps.d.ts +0 -307
  71. package/dist/es/DropDownList/DropDownListProps.js +0 -2
  72. package/dist/es/DropDownTree/DropDownTree.d.ts +0 -49
  73. package/dist/es/DropDownTree/DropDownTree.js +0 -1090
  74. package/dist/es/DropDownTree/DropDownTreeProps.d.ts +0 -301
  75. package/dist/es/DropDownTree/DropDownTreeProps.js +0 -2
  76. package/dist/es/DropDownTree/ListNoData.d.ts +0 -42
  77. package/dist/es/DropDownTree/ListNoData.js +0 -32
  78. package/dist/es/MultiSelect/MultiSelect.d.ts +0 -115
  79. package/dist/es/MultiSelect/MultiSelect.js +0 -1515
  80. package/dist/es/MultiSelect/MultiSelectProps.d.ts +0 -290
  81. package/dist/es/MultiSelect/MultiSelectProps.js +0 -2
  82. package/dist/es/MultiSelect/TagList.d.ts +0 -54
  83. package/dist/es/MultiSelect/TagList.js +0 -176
  84. package/dist/es/MultiSelectTree/MultiSelectTree.d.ts +0 -48
  85. package/dist/es/MultiSelectTree/MultiSelectTree.js +0 -1220
  86. package/dist/es/MultiSelectTree/MultiSelectTreeProps.d.ts +0 -322
  87. package/dist/es/MultiSelectTree/MultiSelectTreeProps.js +0 -2
  88. package/dist/es/MultiSelectTree/utils.d.ts +0 -17
  89. package/dist/es/MultiSelectTree/utils.js +0 -109
  90. package/dist/es/additionalTypes.ts +0 -21
  91. package/dist/es/common/ClearButton.d.ts +0 -21
  92. package/dist/es/common/ClearButton.js +0 -73
  93. package/dist/es/common/DropDownBase.d.ts +0 -95
  94. package/dist/es/common/DropDownBase.js +0 -298
  95. package/dist/es/common/GroupStickyHeader.d.ts +0 -32
  96. package/dist/es/common/GroupStickyHeader.js +0 -60
  97. package/dist/es/common/List.d.ts +0 -60
  98. package/dist/es/common/List.js +0 -201
  99. package/dist/es/common/ListContainer.d.ts +0 -40
  100. package/dist/es/common/ListContainer.js +0 -161
  101. package/dist/es/common/ListDefaultItem.d.ts +0 -29
  102. package/dist/es/common/ListDefaultItem.js +0 -60
  103. package/dist/es/common/ListFilter.d.ts +0 -49
  104. package/dist/es/common/ListFilter.js +0 -175
  105. package/dist/es/common/ListGroupItem.d.ts +0 -41
  106. package/dist/es/common/ListGroupItem.js +0 -71
  107. package/dist/es/common/ListItem.d.ts +0 -71
  108. package/dist/es/common/ListItem.js +0 -101
  109. package/dist/es/common/Navigation.d.ts +0 -12
  110. package/dist/es/common/Navigation.js +0 -34
  111. package/dist/es/common/SearchBar.d.ts +0 -66
  112. package/dist/es/common/SearchBar.js +0 -177
  113. package/dist/es/common/VirtualScroll.d.ts +0 -42
  114. package/dist/es/common/VirtualScroll.js +0 -163
  115. package/dist/es/common/constants.d.ts +0 -4
  116. package/dist/es/common/constants.js +0 -4
  117. package/dist/es/common/events.d.ts +0 -63
  118. package/dist/es/common/events.js +0 -1
  119. package/dist/es/common/filterDescriptor.d.ts +0 -41
  120. package/dist/es/common/filterDescriptor.js +0 -2
  121. package/dist/es/common/settings.d.ts +0 -107
  122. package/dist/es/common/settings.js +0 -8
  123. package/dist/es/common/utils.d.ts +0 -70
  124. package/dist/es/common/utils.js +0 -202
  125. package/dist/es/main.d.ts +0 -18
  126. package/dist/es/main.js +0 -10
  127. package/dist/es/messages/main.d.ts +0 -40
  128. package/dist/es/messages/main.js +0 -41
  129. package/dist/es/package-metadata.d.ts +0 -5
  130. package/dist/es/package-metadata.js +0 -11
  131. package/dist/esm/AutoComplete/AutoComplete.d.ts +0 -107
  132. package/dist/esm/AutoComplete/AutoComplete.js +0 -825
  133. package/dist/esm/AutoComplete/AutoCompleteProps.d.ts +0 -234
  134. package/dist/esm/AutoComplete/AutoCompleteProps.js +0 -2
  135. package/dist/esm/ComboBox/ComboBox.d.ts +0 -99
  136. package/dist/esm/ComboBox/ComboBox.js +0 -1315
  137. package/dist/esm/ComboBox/ComboBoxProps.d.ts +0 -277
  138. package/dist/esm/ComboBox/ComboBoxProps.js +0 -2
  139. package/dist/esm/DropDownList/DropDownList.d.ts +0 -103
  140. package/dist/esm/DropDownList/DropDownList.js +0 -1314
  141. package/dist/esm/DropDownList/DropDownListProps.d.ts +0 -307
  142. package/dist/esm/DropDownList/DropDownListProps.js +0 -2
  143. package/dist/esm/DropDownTree/DropDownTree.d.ts +0 -49
  144. package/dist/esm/DropDownTree/DropDownTree.js +0 -1090
  145. package/dist/esm/DropDownTree/DropDownTreeProps.d.ts +0 -301
  146. package/dist/esm/DropDownTree/DropDownTreeProps.js +0 -2
  147. package/dist/esm/DropDownTree/ListNoData.d.ts +0 -42
  148. package/dist/esm/DropDownTree/ListNoData.js +0 -32
  149. package/dist/esm/MultiSelect/MultiSelect.d.ts +0 -115
  150. package/dist/esm/MultiSelect/MultiSelect.js +0 -1515
  151. package/dist/esm/MultiSelect/MultiSelectProps.d.ts +0 -290
  152. package/dist/esm/MultiSelect/MultiSelectProps.js +0 -2
  153. package/dist/esm/MultiSelect/TagList.d.ts +0 -54
  154. package/dist/esm/MultiSelect/TagList.js +0 -176
  155. package/dist/esm/MultiSelectTree/MultiSelectTree.d.ts +0 -48
  156. package/dist/esm/MultiSelectTree/MultiSelectTree.js +0 -1220
  157. package/dist/esm/MultiSelectTree/MultiSelectTreeProps.d.ts +0 -322
  158. package/dist/esm/MultiSelectTree/MultiSelectTreeProps.js +0 -2
  159. package/dist/esm/MultiSelectTree/utils.d.ts +0 -17
  160. package/dist/esm/MultiSelectTree/utils.js +0 -109
  161. package/dist/esm/additionalTypes.ts +0 -21
  162. package/dist/esm/common/ClearButton.d.ts +0 -21
  163. package/dist/esm/common/ClearButton.js +0 -73
  164. package/dist/esm/common/DropDownBase.d.ts +0 -95
  165. package/dist/esm/common/DropDownBase.js +0 -298
  166. package/dist/esm/common/GroupStickyHeader.d.ts +0 -32
  167. package/dist/esm/common/GroupStickyHeader.js +0 -60
  168. package/dist/esm/common/List.d.ts +0 -60
  169. package/dist/esm/common/List.js +0 -201
  170. package/dist/esm/common/ListContainer.d.ts +0 -40
  171. package/dist/esm/common/ListContainer.js +0 -161
  172. package/dist/esm/common/ListDefaultItem.d.ts +0 -29
  173. package/dist/esm/common/ListDefaultItem.js +0 -60
  174. package/dist/esm/common/ListFilter.d.ts +0 -49
  175. package/dist/esm/common/ListFilter.js +0 -175
  176. package/dist/esm/common/ListGroupItem.d.ts +0 -41
  177. package/dist/esm/common/ListGroupItem.js +0 -71
  178. package/dist/esm/common/ListItem.d.ts +0 -71
  179. package/dist/esm/common/ListItem.js +0 -101
  180. package/dist/esm/common/Navigation.d.ts +0 -12
  181. package/dist/esm/common/Navigation.js +0 -34
  182. package/dist/esm/common/SearchBar.d.ts +0 -66
  183. package/dist/esm/common/SearchBar.js +0 -177
  184. package/dist/esm/common/VirtualScroll.d.ts +0 -42
  185. package/dist/esm/common/VirtualScroll.js +0 -163
  186. package/dist/esm/common/constants.d.ts +0 -4
  187. package/dist/esm/common/constants.js +0 -4
  188. package/dist/esm/common/events.d.ts +0 -63
  189. package/dist/esm/common/events.js +0 -1
  190. package/dist/esm/common/filterDescriptor.d.ts +0 -41
  191. package/dist/esm/common/filterDescriptor.js +0 -2
  192. package/dist/esm/common/settings.d.ts +0 -107
  193. package/dist/esm/common/settings.js +0 -8
  194. package/dist/esm/common/utils.d.ts +0 -70
  195. package/dist/esm/common/utils.js +0 -202
  196. package/dist/esm/main.d.ts +0 -18
  197. package/dist/esm/main.js +0 -10
  198. package/dist/esm/messages/main.d.ts +0 -40
  199. package/dist/esm/messages/main.js +0 -41
  200. package/dist/esm/package-metadata.d.ts +0 -5
  201. package/dist/esm/package-metadata.js +0 -11
  202. package/dist/esm/package.json +0 -3
  203. package/dist/npm/AutoComplete/AutoComplete.d.ts +0 -107
  204. package/dist/npm/AutoComplete/AutoComplete.js +0 -832
  205. package/dist/npm/AutoComplete/AutoCompleteProps.d.ts +0 -234
  206. package/dist/npm/AutoComplete/AutoCompleteProps.js +0 -3
  207. package/dist/npm/ComboBox/ComboBox.d.ts +0 -99
  208. package/dist/npm/ComboBox/ComboBox.js +0 -1322
  209. package/dist/npm/ComboBox/ComboBoxProps.d.ts +0 -277
  210. package/dist/npm/ComboBox/ComboBoxProps.js +0 -3
  211. package/dist/npm/DropDownList/DropDownList.d.ts +0 -103
  212. package/dist/npm/DropDownList/DropDownList.js +0 -1321
  213. package/dist/npm/DropDownList/DropDownListProps.d.ts +0 -307
  214. package/dist/npm/DropDownList/DropDownListProps.js +0 -3
  215. package/dist/npm/DropDownTree/DropDownTree.d.ts +0 -49
  216. package/dist/npm/DropDownTree/DropDownTree.js +0 -1095
  217. package/dist/npm/DropDownTree/DropDownTreeProps.d.ts +0 -301
  218. package/dist/npm/DropDownTree/DropDownTreeProps.js +0 -3
  219. package/dist/npm/DropDownTree/ListNoData.d.ts +0 -42
  220. package/dist/npm/DropDownTree/ListNoData.js +0 -39
  221. package/dist/npm/MultiSelect/MultiSelect.d.ts +0 -115
  222. package/dist/npm/MultiSelect/MultiSelect.js +0 -1522
  223. package/dist/npm/MultiSelect/MultiSelectProps.d.ts +0 -290
  224. package/dist/npm/MultiSelect/MultiSelectProps.js +0 -3
  225. package/dist/npm/MultiSelect/TagList.d.ts +0 -54
  226. package/dist/npm/MultiSelect/TagList.js +0 -183
  227. package/dist/npm/MultiSelectTree/MultiSelectTree.d.ts +0 -48
  228. package/dist/npm/MultiSelectTree/MultiSelectTree.js +0 -1227
  229. package/dist/npm/MultiSelectTree/MultiSelectTreeProps.d.ts +0 -322
  230. package/dist/npm/MultiSelectTree/MultiSelectTreeProps.js +0 -3
  231. package/dist/npm/MultiSelectTree/utils.d.ts +0 -17
  232. package/dist/npm/MultiSelectTree/utils.js +0 -114
  233. package/dist/npm/additionalTypes.ts +0 -21
  234. package/dist/npm/common/ClearButton.d.ts +0 -21
  235. package/dist/npm/common/ClearButton.js +0 -80
  236. package/dist/npm/common/DropDownBase.d.ts +0 -95
  237. package/dist/npm/common/DropDownBase.js +0 -303
  238. package/dist/npm/common/GroupStickyHeader.d.ts +0 -32
  239. package/dist/npm/common/GroupStickyHeader.js +0 -67
  240. package/dist/npm/common/List.d.ts +0 -60
  241. package/dist/npm/common/List.js +0 -208
  242. package/dist/npm/common/ListContainer.d.ts +0 -40
  243. package/dist/npm/common/ListContainer.js +0 -168
  244. package/dist/npm/common/ListDefaultItem.d.ts +0 -29
  245. package/dist/npm/common/ListDefaultItem.js +0 -67
  246. package/dist/npm/common/ListFilter.d.ts +0 -49
  247. package/dist/npm/common/ListFilter.js +0 -182
  248. package/dist/npm/common/ListGroupItem.d.ts +0 -41
  249. package/dist/npm/common/ListGroupItem.js +0 -78
  250. package/dist/npm/common/ListItem.d.ts +0 -71
  251. package/dist/npm/common/ListItem.js +0 -108
  252. package/dist/npm/common/Navigation.d.ts +0 -12
  253. package/dist/npm/common/Navigation.js +0 -37
  254. package/dist/npm/common/SearchBar.d.ts +0 -66
  255. package/dist/npm/common/SearchBar.js +0 -184
  256. package/dist/npm/common/VirtualScroll.d.ts +0 -42
  257. package/dist/npm/common/VirtualScroll.js +0 -168
  258. package/dist/npm/common/constants.d.ts +0 -4
  259. package/dist/npm/common/constants.js +0 -10
  260. package/dist/npm/common/events.d.ts +0 -63
  261. package/dist/npm/common/events.js +0 -2
  262. package/dist/npm/common/filterDescriptor.d.ts +0 -41
  263. package/dist/npm/common/filterDescriptor.js +0 -3
  264. package/dist/npm/common/settings.d.ts +0 -107
  265. package/dist/npm/common/settings.js +0 -11
  266. package/dist/npm/common/utils.d.ts +0 -70
  267. package/dist/npm/common/utils.js +0 -221
  268. package/dist/npm/main.d.ts +0 -18
  269. package/dist/npm/main.js +0 -36
  270. package/dist/npm/messages/main.d.ts +0 -40
  271. package/dist/npm/messages/main.js +0 -44
  272. package/dist/npm/package-metadata.d.ts +0 -5
  273. package/dist/npm/package-metadata.js +0 -14
@@ -0,0 +1,776 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { defineComponent as Ie, ref as z, inject as ke, h as _, createVNode as o, isVNode as xe } from "vue";
9
+ import Ce from "../common/DropDownBase.mjs";
10
+ import { GroupStickyHeader as J } from "../common/GroupStickyHeader.mjs";
11
+ import { guid as Q, canUseDOM as $e, getRef as X, Keys as $, templateRendering as O, getListeners as V, classNames as L, setRef as Oe, Icon as Ve, kendoThemeMaps as Fe } from "@progress/kendo-vue-common";
12
+ import { Button as Z } from "@progress/kendo-vue-buttons";
13
+ import { areSame as I, getItemValue as k, isPresent as b, getItemIndexByText as ee, suggestValue as Te, itemIndexStartsWith as te } from "../common/utils.mjs";
14
+ import { SearchBar as Be } from "../common/SearchBar.mjs";
15
+ import { ListContainer as De } from "../common/ListContainer.mjs";
16
+ import { List as we } from "../common/List.mjs";
17
+ import { ClearButton as Me } from "../common/ClearButton.mjs";
18
+ import { provideLocalizationService as Re } from "@progress/kendo-vue-intl";
19
+ import { expandButton as ie, messages as He } from "../messages/main.mjs";
20
+ import { xIcon as Le, caretAltDownIcon as Ee } from "@progress/kendo-svg-icons";
21
+ import { MOBILE_SMALL_DEVICE as se, MOBILE_MEDIUM_DEVICE as Ne } from "../common/constants.mjs";
22
+ import { ActionSheet as je } from "@progress/kendo-vue-layout";
23
+ import { ListFilter as Ke } from "../common/ListFilter.mjs";
24
+ const {
25
+ sizeMap: G,
26
+ roundedMap: Ae
27
+ } = Fe;
28
+ function Pe(e) {
29
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
30
+ }
31
+ const ze = "Please enter a valid value!", ot = /* @__PURE__ */ Ie({
32
+ name: "KendoComboBox",
33
+ model: {
34
+ event: "changemodel"
35
+ },
36
+ emits: {
37
+ changemodel: null,
38
+ "update:modelValue": null,
39
+ filterchange: null,
40
+ pagechange: null,
41
+ change: null,
42
+ focus: null,
43
+ blur: null,
44
+ open: null,
45
+ close: null,
46
+ scroll: null
47
+ },
48
+ props: {
49
+ id: String,
50
+ dataItemKey: {
51
+ type: [Object, String]
52
+ },
53
+ defaultValue: {
54
+ type: [String, Object, Number, Boolean],
55
+ default: void 0
56
+ },
57
+ name: String,
58
+ modelValue: {
59
+ type: [String, Object, Number, Boolean],
60
+ default: void 0
61
+ },
62
+ value: {
63
+ type: [String, Object, Number, Boolean],
64
+ default: void 0
65
+ },
66
+ label: {
67
+ type: String
68
+ },
69
+ placeholder: String,
70
+ required: {
71
+ type: Boolean,
72
+ default: !1
73
+ },
74
+ valid: {
75
+ type: Boolean,
76
+ default: void 0
77
+ },
78
+ validationMessage: {
79
+ type: String,
80
+ default: void 0
81
+ },
82
+ validityStyles: {
83
+ type: Boolean,
84
+ default: !0
85
+ },
86
+ iconClassName: String,
87
+ opened: {
88
+ type: Boolean,
89
+ default: void 0
90
+ },
91
+ disabled: Boolean,
92
+ dir: {
93
+ type: String,
94
+ default: void 0
95
+ },
96
+ tabIndex: {
97
+ type: Number,
98
+ default: 0
99
+ },
100
+ accessKey: String,
101
+ dataItems: Array,
102
+ textField: String,
103
+ className: String,
104
+ loading: Boolean,
105
+ popupSettings: {
106
+ type: Object,
107
+ default: function() {
108
+ return {
109
+ animate: !0,
110
+ height: "200px",
111
+ anchor: ""
112
+ };
113
+ }
114
+ },
115
+ itemRender: [String, Function, Object],
116
+ groupHeaderItemRender: [String, Function, Object],
117
+ groupStickyHeaderItemRender: [String, Function, Object],
118
+ listNoDataRender: [String, Function, Object],
119
+ focusedItemIndex: Function,
120
+ header: [String, Function, Object],
121
+ footer: [String, Function, Object],
122
+ filterable: Boolean,
123
+ filter: {
124
+ type: String,
125
+ default: void 0
126
+ },
127
+ virtual: {
128
+ type: Object,
129
+ default: void 0
130
+ },
131
+ suggest: {
132
+ type: Boolean,
133
+ default: !1
134
+ },
135
+ allowCustom: {
136
+ type: Boolean,
137
+ default: !1
138
+ },
139
+ clearButton: {
140
+ type: Boolean,
141
+ default: !0
142
+ },
143
+ ariaLabel: {
144
+ type: String,
145
+ default: void 0
146
+ },
147
+ ariaLabelledBy: String,
148
+ ariaDescribedBy: String,
149
+ valueField: String,
150
+ valuePrimitive: Boolean,
151
+ rounded: {
152
+ type: String,
153
+ default: "medium",
154
+ validator: function(e) {
155
+ return ["small", "medium", "large", "full"].includes(e);
156
+ }
157
+ },
158
+ fillMode: {
159
+ type: String,
160
+ default: "solid",
161
+ validator: function(e) {
162
+ return ["solid", "flat", "outline"].includes(e);
163
+ }
164
+ },
165
+ size: {
166
+ type: String,
167
+ default: "medium",
168
+ validator: function(e) {
169
+ return ["small", "medium", "large"].includes(e);
170
+ }
171
+ },
172
+ groupField: {
173
+ type: String
174
+ },
175
+ adaptive: {
176
+ type: Boolean,
177
+ default: void 0
178
+ },
179
+ adaptiveTitle: {
180
+ type: String,
181
+ default: void 0
182
+ },
183
+ onFilterchange: Function
184
+ },
185
+ inject: {
186
+ kendoLocalizationService: {
187
+ default: null
188
+ }
189
+ },
190
+ data() {
191
+ return {
192
+ hasMounted: !1,
193
+ currentText: "",
194
+ currentValue: "",
195
+ currentFocused: !1,
196
+ currentOpened: !1,
197
+ searchState: {
198
+ word: "",
199
+ last: ""
200
+ },
201
+ _skipFocusEvent: !1,
202
+ valueDuringOnChange: {},
203
+ _navigated: !1,
204
+ suggested: "",
205
+ group: void 0,
206
+ isScrolling: !1,
207
+ itemHeight: 0,
208
+ state: void 0,
209
+ popupWidth: void 0,
210
+ windowWidth: 0
211
+ };
212
+ },
213
+ created() {
214
+ this.observer = null, this.valueDuringOnChange = void 0, this.currentText = void 0, this.currentValue = void 0, this.currentFocused = void 0, this.currentOpened = void 0, this.prevCurrentValue = this.computedValue(), this.base = new Ce(this), this.anchor = Q(), this.inputId = Q();
215
+ },
216
+ setup() {
217
+ const e = z(null), t = z(null), s = z(null), i = ke("kendoLocalizationService", {});
218
+ return {
219
+ inputRef: e,
220
+ elementRef: t,
221
+ kendoAnchorRef: s,
222
+ kendoLocalizationService: i
223
+ };
224
+ },
225
+ mounted() {
226
+ this.observer = $e && window.ResizeObserver && new ResizeObserver(this.calculateMedia), document != null && document.body && this.observer && this.observer.observe(document.body), this.hasMounted = !0, this.input = this.inputRef.input, this.base.wrapper = X(this, "kendoAnchor"), this.element = X(this, "kendoAnchor"), this.base.didMount(), this.setValidity();
227
+ },
228
+ updated() {
229
+ var g;
230
+ const {
231
+ dataItems: e = [],
232
+ dataItemKey: t,
233
+ virtual: s,
234
+ groupField: i,
235
+ textField: n
236
+ } = this.$props, l = this.isOpen, a = this.prevOpened !== void 0 ? this.prevOpened : this.prevCurrentOpened, r = !a && l, d = this.$refs.list, u = this.$refs.scrollElement, h = this.computedValue();
237
+ if (this.valueOnDidUpdate = h, d && (this.base.vs.list = d.list, this.base.list = d.list), u && (this.base.vs.scrollElement = u), d && e.length && this.base.vs.scrollerRef(d.$el), s && this.virtualTotalHasChanged)
238
+ this.base.vs.calcScrollElementHeight(), this.base.vs.reset(), this.virtualTotalHasChanged = !1;
239
+ else {
240
+ const m = this.prevCurrentValue;
241
+ let S = e.findIndex((F) => I(F, h, t));
242
+ i && (S = (g = this.base.getGroupedDataModernMode(e, i)) == null ? void 0 : g.indexOf(h));
243
+ const D = !I(m, h, t);
244
+ if (r && s)
245
+ this.base.scrollToVirtualItem(s, S), this.prevCurrentOpened = !0;
246
+ else if (r && !s)
247
+ e && e.length !== 0 && this.base.resetGroupStickyHeader(e[0][i], this), this.base.scrollToItem(S), this.prevCurrentOpened = !0;
248
+ else if (l && a && h && D)
249
+ this.base.scrollToItem(S);
250
+ else if (l && !h && !this.isScrolling) {
251
+ let F = 0;
252
+ if (i && this.getFocusedIndex() !== -1 && e.length > 0) {
253
+ const T = e[this.getFocusedIndex()][n], w = this.base.getGroupedDataModernMode(e, i), K = w.findIndex((x) => x[n] === T);
254
+ F = w.slice(0, K).filter((x) => Object.keys(x).length === 1).length;
255
+ }
256
+ this.base.scrollToItem(this.getFocusedIndex() + F);
257
+ }
258
+ }
259
+ r && this.input && this.input.focus(), this.prevCurrentValue = this.computedValue(), this.setValidity();
260
+ },
261
+ watch: {
262
+ currentOpened: function(e, t) {
263
+ this.prevCurrentOpened = t;
264
+ },
265
+ opened: function(e, t) {
266
+ this.prevOpened = t;
267
+ },
268
+ virtual: function(e, t) {
269
+ e && t && e.total !== t.total && (this.virtualTotalHasChanged = !0), this.virtualHasChanged = !0;
270
+ },
271
+ isOpen: function() {
272
+ setTimeout(() => {
273
+ const e = document.querySelector(".k-list-item");
274
+ this.itemHeight = this.base.getListItemHeight(e);
275
+ }, 100);
276
+ }
277
+ },
278
+ computed: {
279
+ index() {
280
+ const {
281
+ dataItems: e = [],
282
+ dataItemKey: t
283
+ } = this.$props, s = this.computedValue();
284
+ return e.findIndex((i) => I(i, s, t));
285
+ },
286
+ spanClassNames() {
287
+ const e = !this.hasMounted || !this.$props.validityStyles || this.validity().valid;
288
+ return {
289
+ "k-floating-label-container": !0,
290
+ "k-focus": this.currentFocused,
291
+ "k-empty": !this.computedValue(),
292
+ "k-invalid": !e && e !== void 0,
293
+ "k-rtl": this.$props.dir === "rtl"
294
+ };
295
+ },
296
+ isOpen() {
297
+ return this.$props.opened !== void 0 ? this.$props.opened : this.currentOpened;
298
+ },
299
+ animationStyles() {
300
+ return this.windowWidth <= se ? {
301
+ top: 0,
302
+ width: "100%",
303
+ height: "100%"
304
+ } : void 0;
305
+ },
306
+ classNameAdaptive() {
307
+ return this.windowWidth <= se ? "k-adaptive-actionsheet k-actionsheet-fullscreen" : "k-adaptive-actionsheet k-actionsheet-bottom";
308
+ },
309
+ adaptiveState() {
310
+ return this.windowWidth <= Ne && this.$props.adaptive;
311
+ }
312
+ },
313
+ methods: {
314
+ focus() {
315
+ this.input && this.input.focus();
316
+ },
317
+ computedValue() {
318
+ let e;
319
+ return this.valueDuringOnChange !== void 0 ? e = this.valueDuringOnChange : this.$props.value !== void 0 ? e = this.$props.value : this.$props.modelValue !== void 0 ? e = this.$props.modelValue : this.currentValue !== void 0 ? e = this.currentValue : this.$props.defaultValue !== void 0 && (e = this.$props.defaultValue), this.valuePrimitive && this.findByFieldValue(this.valueField, e) || e;
320
+ },
321
+ findByFieldValue(e, t) {
322
+ const s = this.dataItems.findIndex((i) => k(i, e) === t);
323
+ return this.dataItems[s];
324
+ },
325
+ primitiveValue() {
326
+ const e = this.computedValue();
327
+ return this.valuePrimitive ? k(e, this.valueField) : e;
328
+ },
329
+ validity() {
330
+ const e = this.$props.validationMessage !== void 0, t = !this.$props.required || this.computedValue() !== null && this.computedValue() !== "" && this.computedValue() !== void 0, s = this.$props.valid !== void 0 ? this.$props.valid : t;
331
+ return {
332
+ customError: e,
333
+ valid: s,
334
+ valueMissing: this.computedValue() === null
335
+ };
336
+ },
337
+ handleItemSelect(e, t) {
338
+ const {
339
+ dataItems: s = [],
340
+ virtual: i,
341
+ dataItemKey: n
342
+ } = this.$props, l = i ? i.skip : 0, a = s[e - l], r = !I(a, this.computedValue(), n);
343
+ this.triggerOnChange(a, t), this.currentText !== void 0 && (t.data.currentText = void 0), r && this.base.triggerPageChangeCornerItems(a, t);
344
+ },
345
+ onNavigate(e, t) {
346
+ const {
347
+ dataItems: s = [],
348
+ virtual: i = {
349
+ skip: 0
350
+ }
351
+ } = this.$props, n = this.$props.filter ? this.$props.filter : this.currentText, l = this.getFocusedIndex(), a = this.base.vs, r = this.computedValue();
352
+ if (this.suggested = "", l !== -1 && !b(r))
353
+ this.handleItemSelect(l, e);
354
+ else if (n === "")
355
+ this.handleItemSelect(0, e);
356
+ else {
357
+ let d = i.skip + l;
358
+ const u = this.base.navigation.navigate({
359
+ keyCode: t,
360
+ current: d,
361
+ max: (a.enabled ? a.total : s.length) - 1,
362
+ min: 0
363
+ });
364
+ u !== void 0 && this.handleItemSelect(u, e);
365
+ }
366
+ },
367
+ toggleBtnClick(e) {
368
+ const t = this.base.initState(), s = this.isOpen, i = this.adaptiveState;
369
+ t.event = e, this.base.togglePopup(t), !s && i && this.base.filterChanged("", t), this.applyState(t);
370
+ },
371
+ applyValueOnEnter(e, t) {
372
+ const {
373
+ dataItems: s = [],
374
+ textField: i,
375
+ allowCustom: n
376
+ } = this.$props, l = this.isOpen, r = k(this.computedValue(), i) === e ? this.index : ee(s, e, i), d = r !== -1;
377
+ let u;
378
+ if (this.suggested = "", d)
379
+ u = s[r];
380
+ else if (n)
381
+ u = i !== void 0 ? {
382
+ [i]: e
383
+ } : e;
384
+ else
385
+ return this.selectFocusedItem(e, t);
386
+ this.triggerOnChange(u, t), l && this.base.togglePopup(t), this.$props.filter === void 0 && this.currentText !== void 0 && (t.data.currentText = void 0), this.applyState(t);
387
+ },
388
+ applyValueOnRejectSuggestions(e, t) {
389
+ const {
390
+ dataItems: s = [],
391
+ textField: i,
392
+ allowCustom: n
393
+ } = this.$props, l = this.isOpen, a = k(this.computedValue(), i);
394
+ if (this.suggested = "", e === a || e === "" && !b(a))
395
+ return l && !this.adaptiveState && this.base.togglePopup(t), this.applyState(t);
396
+ const r = ee(s, e, i, !0), d = r !== -1;
397
+ let u = null;
398
+ d ? u = s[r] : n && (u = e ? i ? {
399
+ [i]: e
400
+ } : e : null), this.triggerOnChange(u, t), this.currentText !== void 0 && (t.data.currentText = void 0, this.base.filterChanged("", t)), l && !this.adaptiveState && this.base.togglePopup(t), this.applyState(t);
401
+ },
402
+ selectFocusedItem(e, t) {
403
+ const s = this.isOpen, {
404
+ dataItems: i = [],
405
+ textField: n,
406
+ virtual: l = {
407
+ skip: 0
408
+ },
409
+ focusedItemIndex: a = te
410
+ } = this.$props, r = l.skip, d = e === "" && r === 0 ? 0 : a(i, e, n);
411
+ return d !== -1 ? this.handleItemSelect(d + r, t) : (this.triggerOnChange(null, t), this.currentText !== void 0 && (t.data.currentText = void 0)), s && this.base.togglePopup(t), this.applyState(t);
412
+ },
413
+ handleItemClick(e, t) {
414
+ this.base.handleItemClick(e, t), this.valueDuringOnChange = void 0;
415
+ },
416
+ handleFocus(e) {
417
+ this.$emit("focus", e);
418
+ },
419
+ handleBlur(e) {
420
+ if (this.currentFocused) {
421
+ const t = this.base.initState();
422
+ t.data.currentFocused = !1, t.events.push({
423
+ type: "blur"
424
+ }), t.event = e, this.applyValueOnRejectSuggestions(e.currentTarget.value, t);
425
+ }
426
+ },
427
+ onInputKeyDown(e) {
428
+ this.isScrolling && (this.isScrolling = !1);
429
+ const t = e.keyCode, s = this.isOpen, i = this.base.initState();
430
+ if (i.event = e, !e.altKey && (t === $.up || t === $.down)) {
431
+ e.preventDefault(), this.onNavigate(i, t), this.applyState(i);
432
+ return;
433
+ }
434
+ const n = () => {
435
+ e.preventDefault(), this.base.togglePopup(i), this.applyState(i);
436
+ };
437
+ s ? e.altKey && t === $.up ? n() : t === $.enter ? (e.preventDefault(), this.applyValueOnEnter(e.currentTarget.value, i)) : t === $.esc && (this.adaptiveState && this.toggleBtnClick(e), n()) : e.altKey && t === $.down ? n() : t === $.esc && this.applyValueOnRejectSuggestions(e.currentTarget.value, i);
438
+ },
439
+ inputOnChange(e) {
440
+ const t = this.base.initState();
441
+ t.event = e;
442
+ const s = this.isOpen, i = e.currentTarget, n = i.value;
443
+ if (this.$props.suggest) {
444
+ const l = i.selectionEnd === n.length;
445
+ let a = this.$props.filter !== void 0 ? this.$props.filter : this.currentText;
446
+ b(a) || (a = k(this.computedValue(), this.$props.textField) || "");
447
+ const r = a && a === n, d = a && a.length > n.length;
448
+ r || d || !l ? this.suggested = "" : this.suggestValue(n);
449
+ }
450
+ this.$props.filter === void 0 && (t.data.currentText = n), this.currentFocusedItem !== void 0 && (t.data.focusedItem = void 0), s || this.base.togglePopup(t), this.base.filterChanged(n, t), this.$props.filterable && (t.data.group = void 0), this.applyState(t);
451
+ },
452
+ clearButtonClick(e) {
453
+ const t = this.base.initState();
454
+ t.event = e, e.stopPropagation(), this.suggested = "", this.base.filterChanged("", t), this.$props.filter === void 0 && this.currentText !== void 0 && (t.data.currentText = void 0), this.triggerOnChange(null, t), this.isOpen && this.base.togglePopup(t), this.applyState(t);
455
+ },
456
+ getFocusedIndex() {
457
+ const e = this.computedValue(), {
458
+ dataItems: t = [],
459
+ textField: s,
460
+ dataItemKey: i,
461
+ virtual: n = {
462
+ skip: 0
463
+ },
464
+ focusedItemIndex: l = te
465
+ } = this.$props, a = this.$props.filter ? this.$props.filter : this.currentText;
466
+ return b(e) && a === void 0 ? t.findIndex((r) => I(r, e, i)) : a ? l(t, a, s) : n.skip === 0 ? 0 : -1;
467
+ },
468
+ suggestValue(e) {
469
+ const {
470
+ dataItems: t,
471
+ textField: s
472
+ } = this.$props;
473
+ this.suggested = Te(e, t, s);
474
+ },
475
+ setValidity() {
476
+ this.input && this.input.setCustomValidity && this.input.setCustomValidity(this.validity().valid ? "" : this.$props.validationMessage || ze);
477
+ },
478
+ triggerOnChange(e, t) {
479
+ const s = this.computedValue();
480
+ !b(s) && !b(e) || I(s, e, this.$props.dataItemKey) || (this.$props.value === void 0 && (this.currentValue = e), this.valueDuringOnChange = e, t.events.push({
481
+ type: "change"
482
+ }));
483
+ },
484
+ applyState(e) {
485
+ this.base.applyState(e), this.valueDuringOnChange = void 0;
486
+ },
487
+ calculateMedia(e) {
488
+ for (let t of e)
489
+ this.windowWidth = t.target.clientWidth;
490
+ },
491
+ repositionPopup() {
492
+ this.base.repositionPopup();
493
+ },
494
+ onScroll(e) {
495
+ this.isScrolling = !0;
496
+ const {
497
+ vs: t,
498
+ list: s
499
+ } = this.base;
500
+ t.scrollHandler(e);
501
+ const i = this.base.initState(), {
502
+ groupField: n
503
+ } = this.$props;
504
+ let {
505
+ dataItems: l = []
506
+ } = this.$props, a;
507
+ if (!n || !l.length)
508
+ return;
509
+ const r = this.itemHeight = this.itemHeight || (t.enabled ? t.itemHeight : s ? s.children[0].offsetHeight : 0), u = e.target.scrollTop - t.skip * r;
510
+ n && (l = this.base.getGroupedDataModernMode(l, n), a = l[0][n]);
511
+ for (let h = 1; h < l.length && !(r * h > u); h++)
512
+ l[h] && l[h][n] && (a = l[h][n]);
513
+ a !== this.group && (i.data.group = a, this.applyState(i));
514
+ }
515
+ },
516
+ render() {
517
+ let {
518
+ dir: e,
519
+ disabled: t,
520
+ clearButton: s,
521
+ label: i,
522
+ textField: n,
523
+ className: l,
524
+ style: a,
525
+ loading: r,
526
+ icon: d,
527
+ svgIcon: u,
528
+ iconClassName: h,
529
+ virtual: g,
530
+ size: m,
531
+ fillMode: S,
532
+ rounded: D,
533
+ adaptiveTitle: F,
534
+ header: T,
535
+ footer: w,
536
+ groupStickyHeaderItemRender: K,
537
+ placeholder: x
538
+ } = this.$props;
539
+ const ne = this.currentFocused, ae = !this.$props.validityStyles || this.validity().valid, E = this.$props.filter !== void 0 ? this.$props.filter : this.currentText, W = k(this.computedValue(), n), q = b(E) ? E : W, le = s && (!!q || b(this.computedValue())), C = this.base, y = C.vs, A = this.$props.id || this.inputId, N = Object.assign({}, {
540
+ animate: !0,
541
+ height: "200px"
542
+ }, this.$props.popupSettings), oe = Re(this).toLanguageString(ie, He[ie]), M = this.isOpen, R = this.adaptiveState;
543
+ y.enabled = g !== void 0, g !== void 0 && (y.skip = g.skip, y.total = g.total, y.pageSize = g.pageSize), this.group === void 0 && this.$props.groupField !== void 0 && (this.group = k(this.$props.dataItems[0], this.$props.groupField));
544
+ const re = (p) => {
545
+ const c = this.base.initState();
546
+ c.event = p;
547
+ const f = p.event.target.value;
548
+ c.data.text = f, this.base.filterChanged(f, c), this.applyState(c);
549
+ }, de = () => [o("div", {
550
+ class: "k-actionsheet-titlebar-group k-hbox"
551
+ }, [o("div", {
552
+ class: "k-actionsheet-title"
553
+ }, [o("div", {
554
+ class: "k-text-center"
555
+ }, [F]), x && o("div", {
556
+ class: "k-actionsheet-subtitle k-text-center"
557
+ }, [x])]), o("div", {
558
+ class: "k-actionsheet-actions"
559
+ }, [o(Z, {
560
+ tabIndex: 5,
561
+ "aria-label": "Cancel",
562
+ "aria-disabled": "false",
563
+ type: "button",
564
+ fillMode: "flat",
565
+ onClick: this.toggleBtnClick,
566
+ icon: "x",
567
+ svgIcon: Le
568
+ }, null)])]), o("div", {
569
+ class: "k-actionsheet-titlebar-group k-actionsheet-filter"
570
+ }, [fe.call(this)])], ue = O.call(this, de, V.call(this)), pe = () => {
571
+ const p = C.getTemplateDef.call(this, T, _), c = C.getTemplateDef.call(this, w, _), f = O.call(this, K, V.call(this)), v = this.$props.dataItems || [];
572
+ return o("div", {
573
+ class: "k-list-container"
574
+ }, [p && o("div", {
575
+ class: "k-list-header"
576
+ }, [p]), o("div", {
577
+ class: L("k-list", {
578
+ [`k-list-${G[m] || m}`]: R ? !1 : m,
579
+ "k-list-lg": !!R,
580
+ "k-virtual-list": y.enabled
581
+ })
582
+ }, [T && o("div", {
583
+ class: "k-list-header"
584
+ }, [T]), this.group && v.length !== 0 && o(J, {
585
+ group: this.group,
586
+ render: f
587
+ }, null), U.call(this), c && o("div", {
588
+ class: "k-list-footer"
589
+ }, [c])])]);
590
+ }, ce = O.call(this, pe, V.call(this)), he = function() {
591
+ return o(je, {
592
+ expand: M,
593
+ animation: !0,
594
+ animationStyles: this.animationStyles,
595
+ className: this.classNameAdaptive,
596
+ contentClassName: "!k-overflow-hidden",
597
+ header: ue,
598
+ content: ce,
599
+ onClose: this.toggleBtnClick,
600
+ navigatableElements: ["input.k-input-inner", ".k-actionsheet-actions > button"]
601
+ }, null);
602
+ }, fe = function() {
603
+ const c = this.base.initState().data.text;
604
+ return o(Ke, {
605
+ adaptiveMode: !0,
606
+ value: c,
607
+ ref: "filterInput",
608
+ onChange: (f) => re(f),
609
+ onKeydown: this.onInputKeyDown,
610
+ size: this.$props.size,
611
+ rounded: this.$props.rounded,
612
+ fillMode: this.$props.fillMode
613
+ }, null);
614
+ }, U = function() {
615
+ let p;
616
+ const {
617
+ dataItemKey: c,
618
+ groupField: f
619
+ } = this.$props;
620
+ let v = this.$props.dataItems || [];
621
+ const B = O.call(this, this.$props.itemRender, V.call(this)), j = O.call(this, this.$props.groupHeaderItemRender, V.call(this)), P = O.call(this, this.$props.listNoDataRender, V.call(this));
622
+ g || (g = {
623
+ skip: 0
624
+ });
625
+ const H = g.skip, be = `translateY(${y.translate}px)`, Se = M ? this.getFocusedIndex() : void 0, ye = b(E) && E !== W ? null : this.computedValue();
626
+ return f && (v = this.base.getGroupedDataModernMode(v, f)), o(we, {
627
+ id: C.listBoxId,
628
+ show: M,
629
+ dataItems: v,
630
+ focusedIndex: Se,
631
+ value: ye,
632
+ textField: n,
633
+ valueField: c,
634
+ optionsGuid: C.guid,
635
+ ref: "list",
636
+ wrapperStyle: {
637
+ maxHeight: R ? void 0 : N.height
638
+ },
639
+ wrapperCssClass: L("k-list-content", {
640
+ "k-list-scroller": !this.$props.virtual
641
+ }),
642
+ listStyle: y.enabled ? {
643
+ transform: be
644
+ } : void 0,
645
+ key: "listkey",
646
+ skip: H,
647
+ onListclick: this.handleItemClick,
648
+ itemRender: B,
649
+ groupHeaderItemRender: j,
650
+ noDataRender: P,
651
+ groupField: f,
652
+ onScroll: this.onScroll
653
+ }, Pe(p = ge.call(this)) ? p : {
654
+ default: () => [p]
655
+ });
656
+ }, ge = function() {
657
+ return y.enabled && o("div", {
658
+ ref: "scrollElement",
659
+ key: "scrollElementKey"
660
+ }, null);
661
+ }, me = function() {
662
+ const p = O.call(this, this.$props.groupStickyHeaderItemRender, V.call(this)), c = C.getTemplateDef.call(this, T), f = C.getTemplateDef.call(this, w), v = this.$props.dataItems || [];
663
+ return this.group === void 0 && this.$props.groupField !== void 0 && (this.group = k(v[0], this.$props.groupField)), o(De, {
664
+ ref: "container",
665
+ onMousedown: (B) => B.preventDefault(),
666
+ width: this.popupWidth,
667
+ popupSettings: {
668
+ ...N,
669
+ anchor: this.anchor,
670
+ show: M,
671
+ popupClass: L(N.popupClass, "k-list", {
672
+ [`k-list-${G[m] || m}`]: m,
673
+ "k-virtual-list": this.base.vs.enabled
674
+ }),
675
+ className: L("k-list-container", N.className)
676
+ },
677
+ dir: e !== void 0 ? e : this.base.dirCalculated
678
+ }, {
679
+ default: () => [c && o("div", {
680
+ class: "k-list-header"
681
+ }, [c]), this.group && v.length !== 0 && o(J, {
682
+ group: this.group,
683
+ render: p
684
+ }, null), U.call(this), f && o("div", {
685
+ class: "k-list-footer"
686
+ }, [f])]
687
+ });
688
+ }, ve = function(p, c) {
689
+ const {
690
+ tabIndex: f,
691
+ dataItems: v = [],
692
+ dataItemKey: B
693
+ } = this.$props;
694
+ g || (g = {
695
+ skip: 0
696
+ });
697
+ const j = this.computedValue(), P = Math.max(0, v.findIndex((H) => I(H, j, B)));
698
+ return this.suggested && !I(this.valueOnDidUpdate, j, B) && (this.suggested = ""), o(Be, {
699
+ id: c,
700
+ placeholder: x,
701
+ tabIndex: f || void 0,
702
+ accessKey: this.$props.accessKey,
703
+ value: p + this.suggested,
704
+ suggestedText: this.suggested,
705
+ ref: (H) => {
706
+ this.inputRef = H;
707
+ },
708
+ onKeydown: this.onInputKeyDown,
709
+ onChange: this.inputOnChange,
710
+ onFocus: this.base.handleFocus,
711
+ onBlur: this.handleBlur,
712
+ disabled: t,
713
+ expanded: M,
714
+ owns: this.base.listBoxId,
715
+ activedescendant: this.base.guid + "-" + (P + g.skip),
716
+ ariaLabelledBy: this.$props.ariaLabelledBy,
717
+ ariaDescribedBy: this.$props.ariaDescribedBy,
718
+ ariaLabel: this.$props.ariaLabel
719
+ }, null);
720
+ }, Y = [_(function() {
721
+ return o("span", {
722
+ class: L("k-combobox k-input", {
723
+ [`k-input-${G[m] || m}`]: m,
724
+ [`k-rounded-${Ae[D] || D}`]: D,
725
+ [`k-input-${S}`]: S,
726
+ "k-invalid": !ae,
727
+ "k-loading": r,
728
+ "k-required": this.required,
729
+ "k-disabled": t,
730
+ "k-focus": ne && !t
731
+ }, l),
732
+ ref: Oe(this, "kendoAnchor"),
733
+ style: i ? {
734
+ ...a,
735
+ width: void 0
736
+ } : a,
737
+ dir: e
738
+ }, [ve.call(this, q || "", A), le && !r && o(Me, {
739
+ onClearclick: this.clearButtonClick,
740
+ key: "clearbutton"
741
+ }, null), r && o(Ve, {
742
+ name: "loading",
743
+ class: "k-input-loading-icon",
744
+ key: "loading"
745
+ }, null), o(Z, {
746
+ type: "button",
747
+ tabIndex: -1,
748
+ "aria-label": oe,
749
+ size: m,
750
+ fillMode: S,
751
+ rounded: null,
752
+ class: "k-input-button",
753
+ icon: d || "caret-alt-down",
754
+ svgIcon: u || Ee,
755
+ iconClass: h,
756
+ onClick: this.toggleBtnClick,
757
+ onMousedown: (p) => p.preventDefault()
758
+ }, null), !R && me.call(this)]);
759
+ }.call(this), {
760
+ ...this.$attrs
761
+ }), R && he.call(this)];
762
+ return i ? o("span", {
763
+ class: this.spanClassNames,
764
+ onFocusin: this.handleFocus,
765
+ dir: this.$props.dir
766
+ }, [Y, this.$props.label ? A ? o("label", {
767
+ for: A,
768
+ class: "k-floating-label"
769
+ }, [this.$props.label]) : o("span", {
770
+ class: "k-label"
771
+ }, [this.$props.label]) : null]) : Y;
772
+ }
773
+ });
774
+ export {
775
+ ot as ComboBox
776
+ };