@anglr/select 15.0.0 → 16.0.0-beta.20260226142137

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 (741) hide show
  1. package/changelog.md +153 -0
  2. package/es2022/extensions/src/extensions/getValue.js +16 -1
  3. package/es2022/extensions/src/extensions/getValue.js.map +1 -1
  4. package/es2022/extensions/src/extensions/onFocus.js +14 -1
  5. package/es2022/extensions/src/extensions/onFocus.js.map +1 -1
  6. package/es2022/extensions/src/extensions/patchOptions.js +15 -11
  7. package/es2022/extensions/src/extensions/patchOptions.js.map +1 -1
  8. package/es2022/extensions/src/extensions/reinitializeOptions.js +19 -14
  9. package/es2022/extensions/src/extensions/reinitializeOptions.js.map +1 -1
  10. package/es2022/extensions/src/extensions/setReadonly.js +21 -1
  11. package/es2022/extensions/src/extensions/setReadonly.js.map +1 -1
  12. package/es2022/extensions/src/extensions/setValue.js +17 -1
  13. package/es2022/extensions/src/extensions/setValue.js.map +1 -1
  14. package/es2022/extensions/src/extensions/valueChange.js +17 -1
  15. package/es2022/extensions/src/extensions/valueChange.js.map +1 -1
  16. package/es2022/extensions/src/index.js +1 -7
  17. package/es2022/extensions/src/index.js.map +1 -1
  18. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js +100 -72
  19. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -1
  20. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +26 -1
  21. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +1 -1
  22. package/es2022/material/src/components/basicDialogPopup/index.js +2 -1
  23. package/es2022/material/src/components/basicDialogPopup/index.js.map +1 -1
  24. package/es2022/material/src/components/basicDialogPopup/types.js +2 -1
  25. package/es2022/material/src/components/basicDialogPopup/types.js.map +1 -1
  26. package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js +73 -74
  27. package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -1
  28. package/es2022/material/src/index.js +1 -7
  29. package/es2022/material/src/index.js.map +1 -1
  30. package/es2022/material/src/modules/dialogPopup.module.js +33 -40
  31. package/es2022/material/src/modules/dialogPopup.module.js.map +1 -1
  32. package/es2022/material/src/modules/virtualEditPopup.module.js +27 -30
  33. package/es2022/material/src/modules/virtualEditPopup.module.js.map +1 -1
  34. package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js +172 -140
  35. package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -1
  36. package/es2022/material/src/plugins/popup/dialog/dialogPopup.interface.js +65 -1
  37. package/es2022/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +1 -1
  38. package/es2022/material/src/plugins/popup/index.js +1 -2
  39. package/es2022/material/src/plugins/popup/index.js.map +1 -1
  40. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +120 -88
  41. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -1
  42. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +20 -1
  43. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +1 -1
  44. package/es2022/src/components/index.js +4 -0
  45. package/es2022/src/components/index.js.map +1 -0
  46. package/es2022/src/components/option/option.component.js +22 -19
  47. package/es2022/src/components/option/option.component.js.map +1 -1
  48. package/es2022/src/components/optionGroup/optgroup.component.js +29 -0
  49. package/es2022/src/components/optionGroup/optgroup.component.js.map +1 -0
  50. package/es2022/src/components/select/select.component.js +356 -450
  51. package/es2022/src/components/select/select.component.js.map +1 -1
  52. package/es2022/src/decorators/index.js +2 -0
  53. package/es2022/src/decorators/index.js.map +1 -0
  54. package/es2022/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.js +12 -0
  55. package/es2022/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.js.map +1 -0
  56. package/es2022/src/directives/index.js +5 -0
  57. package/es2022/src/directives/index.js.map +1 -0
  58. package/es2022/src/directives/normalStateTemplate/normalStateTemplate.directive.js +30 -0
  59. package/es2022/src/directives/normalStateTemplate/normalStateTemplate.directive.js.map +1 -0
  60. package/es2022/src/directives/optionTemplate/optionTemplate.directive.js +30 -0
  61. package/es2022/src/directives/optionTemplate/optionTemplate.directive.js.map +1 -0
  62. package/es2022/src/directives/selectAbsolute/selectAbsolute.directive.js +25 -0
  63. package/es2022/src/directives/selectAbsolute/selectAbsolute.directive.js.map +1 -0
  64. package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js +210 -0
  65. package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js.map +1 -0
  66. package/es2022/src/directives/selectEdit/selectEdit.directive.js +51 -0
  67. package/es2022/src/directives/selectEdit/selectEdit.directive.js.map +1 -0
  68. package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js +48 -0
  69. package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js.map +1 -0
  70. package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js +17 -0
  71. package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js.map +1 -0
  72. package/es2022/src/index.js +8 -41
  73. package/es2022/src/index.js.map +1 -1
  74. package/es2022/src/interfaces/index.js +20 -0
  75. package/es2022/src/interfaces/index.js.map +1 -0
  76. package/es2022/src/interfaces/initState/initState.interface.js +2 -0
  77. package/es2022/src/interfaces/initState/initState.interface.js.map +1 -0
  78. package/es2022/src/interfaces/normalStateContext/normalStateContext.interface.js +2 -0
  79. package/es2022/src/interfaces/normalStateContext/normalStateContext.interface.js.map +1 -0
  80. package/es2022/src/interfaces/optionsGatherer/optionsGatherer.interface.js +2 -0
  81. package/es2022/src/interfaces/optionsGatherer/optionsGatherer.interface.js.map +1 -0
  82. package/es2022/src/interfaces/pluginDescription/pluginDescription.interface.js +2 -0
  83. package/es2022/src/interfaces/pluginDescription/pluginDescription.interface.js.map +1 -0
  84. package/es2022/src/interfaces/pluginOptions/pluginOptions.interface.js +2 -0
  85. package/es2022/src/interfaces/pluginOptions/pluginOptions.interface.js.map +1 -0
  86. package/es2022/src/interfaces/plugins/index.js +10 -0
  87. package/es2022/src/interfaces/plugins/index.js.map +1 -0
  88. package/es2022/src/interfaces/plugins/interactions/interactions.interface.js +2 -0
  89. package/es2022/src/interfaces/plugins/interactions/interactions.interface.js.map +1 -0
  90. package/es2022/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.js.map +1 -0
  91. package/es2022/src/interfaces/plugins/liveSearch/liveSearch.interface.js.map +1 -0
  92. package/es2022/src/interfaces/plugins/normalState/normalState.interface.js.map +1 -0
  93. package/es2022/src/interfaces/plugins/optionsHandler/optionsHandler.interface.js +2 -0
  94. package/es2022/src/interfaces/plugins/optionsHandler/optionsHandler.interface.js.map +1 -0
  95. package/es2022/src/interfaces/plugins/popup/popup.interface.js.map +1 -0
  96. package/es2022/src/interfaces/plugins/positioner/positioner.interface.js.map +1 -0
  97. package/es2022/src/interfaces/plugins/readonlyState/readonlyState.interface.js.map +1 -0
  98. package/es2022/src/interfaces/plugins/valueHandler/valueHandler.interface.js.map +1 -0
  99. package/es2022/src/interfaces/popupContext/popupContext.interface.js +2 -0
  100. package/es2022/src/interfaces/popupContext/popupContext.interface.js.map +1 -0
  101. package/es2022/src/interfaces/selectApi/selectApi.interface.js +2 -0
  102. package/es2022/src/interfaces/selectApi/selectApi.interface.js.map +1 -0
  103. package/es2022/src/interfaces/selectBusOptions/selectBusOptions.interface.js +2 -0
  104. package/es2022/src/interfaces/selectBusOptions/selectBusOptions.interface.js.map +1 -0
  105. package/es2022/src/interfaces/selectCssClasses/selectCssClasses.interface.js +2 -0
  106. package/es2022/src/interfaces/selectCssClasses/selectCssClasses.interface.js.map +1 -0
  107. package/es2022/src/interfaces/selectEvent/selectEvent.interface.js +2 -0
  108. package/es2022/src/interfaces/selectEvent/selectEvent.interface.js.map +1 -0
  109. package/es2022/src/interfaces/selectEvents/selectEvents.interface.js +2 -0
  110. package/es2022/src/interfaces/selectEvents/selectEvents.interface.js.map +1 -0
  111. package/es2022/src/interfaces/selectOption/selectOption.interface.js +2 -0
  112. package/es2022/src/interfaces/selectOption/selectOption.interface.js.map +1 -0
  113. package/es2022/src/interfaces/selectOptionGroup/selectOptionGroup.interface.js +2 -0
  114. package/es2022/src/interfaces/selectOptionGroup/selectOptionGroup.interface.js.map +1 -0
  115. package/es2022/src/interfaces/selectOptions/selectOptions.interface.js +2 -0
  116. package/es2022/src/interfaces/selectOptions/selectOptions.interface.js.map +1 -0
  117. package/es2022/src/interfaces/selectPlugin/selectPlugin.interface.js +2 -0
  118. package/es2022/src/interfaces/selectPlugin/selectPlugin.interface.js.map +1 -0
  119. package/es2022/src/interfaces/selectPluginTypes/selectPluginTypes.interface.js +2 -0
  120. package/es2022/src/interfaces/selectPluginTypes/selectPluginTypes.interface.js.map +1 -0
  121. package/es2022/src/interfaces/templateGatherer/templateGatherer.interface.js.map +1 -0
  122. package/es2022/src/interfaces/visualPluginOptions/visualPluginOptions.interface.js +2 -0
  123. package/es2022/src/interfaces/visualPluginOptions/visualPluginOptions.interface.js.map +1 -0
  124. package/es2022/src/misc/classes/index.js +3 -0
  125. package/es2022/src/misc/classes/index.js.map +1 -0
  126. package/es2022/src/misc/{pluginBus/pluginBus.js → classes/selectBus/selectBus.js} +17 -8
  127. package/es2022/src/misc/classes/selectBus/selectBus.js.map +1 -0
  128. package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js +163 -0
  129. package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js.map +1 -0
  130. package/es2022/src/misc/enums.js +43 -0
  131. package/es2022/src/misc/enums.js.map +1 -0
  132. package/es2022/src/misc/extensions/getValue.js +16 -11
  133. package/es2022/src/misc/extensions/getValue.js.map +1 -1
  134. package/es2022/src/misc/extensions/index.js +6 -5
  135. package/es2022/src/misc/extensions/index.js.map +1 -1
  136. package/es2022/src/misc/extensions/onFocus.js +14 -9
  137. package/es2022/src/misc/extensions/onFocus.js.map +1 -1
  138. package/es2022/src/misc/extensions/setReadonly.js +22 -17
  139. package/es2022/src/misc/extensions/setReadonly.js.map +1 -1
  140. package/es2022/src/misc/extensions/setValue.js +17 -12
  141. package/es2022/src/misc/extensions/setValue.js.map +1 -1
  142. package/es2022/src/misc/extensions/valueChange.js +17 -11
  143. package/es2022/src/misc/extensions/valueChange.js.map +1 -1
  144. package/es2022/src/misc/ngSelectOptions.interface.js.map +1 -1
  145. package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js +119 -82
  146. package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -1
  147. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +31 -1
  148. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +1 -1
  149. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js +178 -117
  150. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -1
  151. package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js +155 -109
  152. package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -1
  153. package/es2022/src/misc/optionsGatherer/optionsGatherer.interface.js +55 -1
  154. package/es2022/src/misc/optionsGatherer/optionsGatherer.interface.js.map +1 -1
  155. package/es2022/src/misc/optionsGatherer/types.js +4 -3
  156. package/es2022/src/misc/optionsGatherer/types.js.map +1 -1
  157. package/es2022/src/misc/providers.js +102 -0
  158. package/es2022/src/misc/providers.js.map +1 -0
  159. package/es2022/src/misc/tokens.js +78 -0
  160. package/es2022/src/misc/tokens.js.map +1 -0
  161. package/es2022/src/misc/types.js +1 -33
  162. package/es2022/src/misc/types.js.map +1 -1
  163. package/es2022/src/modules/index.js +2 -0
  164. package/es2022/src/modules/index.js.map +1 -0
  165. package/es2022/src/modules/ngSelect.module.js +31 -75
  166. package/es2022/src/modules/ngSelect.module.js.map +1 -1
  167. package/es2022/src/modules/ngSelectEdit.module.js +39 -50
  168. package/es2022/src/modules/ngSelectEdit.module.js.map +1 -1
  169. package/es2022/src/pipes/getPlugin/getPlugin.pipe.js +17 -0
  170. package/es2022/src/pipes/getPlugin/getPlugin.pipe.js.map +1 -0
  171. package/es2022/src/pipes/index.js +4 -0
  172. package/es2022/src/pipes/index.js.map +1 -0
  173. package/es2022/src/pipes/{ngSelectHasValue.pipe.js → selectHasValue/selectHasValue.pipe.js} +7 -7
  174. package/es2022/src/pipes/selectHasValue/selectHasValue.pipe.js.map +1 -0
  175. package/es2022/src/pipes/selectValue/selectValue.pipe.js +31 -0
  176. package/es2022/src/pipes/selectValue/selectValue.pipe.js.map +1 -0
  177. package/es2022/src/plugins/index.js +10 -0
  178. package/es2022/src/plugins/index.js.map +1 -0
  179. package/es2022/src/plugins/interactions/index.js +2 -0
  180. package/es2022/src/plugins/interactions/index.js.map +1 -0
  181. package/es2022/src/plugins/interactions/noInteractions/noInteractions.component.js +36 -0
  182. package/es2022/src/plugins/interactions/noInteractions/noInteractions.component.js.map +1 -0
  183. package/es2022/src/plugins/keyboardHandler/index.js +1 -3
  184. package/es2022/src/plugins/keyboardHandler/index.js.map +1 -1
  185. package/es2022/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.js +36 -0
  186. package/es2022/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.js.map +1 -0
  187. package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js +36 -0
  188. package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js.map +1 -0
  189. package/es2022/src/plugins/liveSearch/index.js +2 -4
  190. package/es2022/src/plugins/liveSearch/index.js.map +1 -1
  191. package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js +36 -0
  192. package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js.map +1 -0
  193. package/es2022/src/plugins/normalState/index.js +1 -3
  194. package/es2022/src/plugins/normalState/index.js.map +1 -1
  195. package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js +36 -0
  196. package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js.map +1 -0
  197. package/es2022/src/plugins/optionsHandler/index.js +2 -0
  198. package/es2022/src/plugins/optionsHandler/index.js.map +1 -0
  199. package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js +50 -0
  200. package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js.map +1 -0
  201. package/es2022/src/plugins/popup/index.js +1 -3
  202. package/es2022/src/plugins/popup/index.js.map +1 -1
  203. package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js +36 -0
  204. package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js.map +1 -0
  205. package/es2022/src/plugins/positioner/basicPositioner/basicPositioner.component.js +36 -0
  206. package/es2022/src/plugins/positioner/basicPositioner/basicPositioner.component.js.map +1 -0
  207. package/es2022/src/plugins/positioner/index.js +1 -3
  208. package/es2022/src/plugins/positioner/index.js.map +1 -1
  209. package/es2022/src/plugins/readonlyState/index.js +1 -1
  210. package/es2022/src/plugins/readonlyState/index.js.map +1 -1
  211. package/es2022/src/plugins/valueHandler/index.js +1 -4
  212. package/es2022/src/plugins/valueHandler/index.js.map +1 -1
  213. package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js +81 -0
  214. package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js.map +1 -0
  215. package/extensions/src/extensions/getValue.d.ts +0 -1
  216. package/extensions/src/extensions/getValue.d.ts.map +1 -1
  217. package/extensions/src/extensions/onFocus.d.ts +0 -1
  218. package/extensions/src/extensions/onFocus.d.ts.map +1 -1
  219. package/extensions/src/extensions/patchOptions.d.ts +0 -6
  220. package/extensions/src/extensions/patchOptions.d.ts.map +1 -1
  221. package/extensions/src/extensions/reinitializeOptions.d.ts +0 -6
  222. package/extensions/src/extensions/reinitializeOptions.d.ts.map +1 -1
  223. package/extensions/src/extensions/setReadonly.d.ts +0 -1
  224. package/extensions/src/extensions/setReadonly.d.ts.map +1 -1
  225. package/extensions/src/extensions/setValue.d.ts +0 -1
  226. package/extensions/src/extensions/setValue.d.ts.map +1 -1
  227. package/extensions/src/extensions/valueChange.d.ts +0 -1
  228. package/extensions/src/extensions/valueChange.d.ts.map +1 -1
  229. package/extensions/src/index.d.ts +1 -7
  230. package/extensions/src/index.d.ts.map +1 -1
  231. package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts +0 -46
  232. package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts.map +1 -1
  233. package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts +0 -23
  234. package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts.map +1 -1
  235. package/material/src/components/basicDialogPopup/index.d.ts +0 -1
  236. package/material/src/components/basicDialogPopup/index.d.ts.map +1 -1
  237. package/material/src/components/basicDialogPopup/types.d.ts +0 -1
  238. package/material/src/components/basicDialogPopup/types.d.ts.map +1 -1
  239. package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts +0 -26
  240. package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts.map +1 -1
  241. package/material/src/index.d.ts +1 -7
  242. package/material/src/index.d.ts.map +1 -1
  243. package/material/src/modules/dialogPopup.module.d.ts +0 -14
  244. package/material/src/modules/dialogPopup.module.d.ts.map +1 -1
  245. package/material/src/modules/virtualEditPopup.module.d.ts +0 -12
  246. package/material/src/modules/virtualEditPopup.module.d.ts.map +1 -1
  247. package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts +0 -82
  248. package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts.map +1 -1
  249. package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts +0 -59
  250. package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts.map +1 -1
  251. package/material/src/plugins/popup/index.d.ts +1 -2
  252. package/material/src/plugins/popup/index.d.ts.map +1 -1
  253. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts +0 -29
  254. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts.map +1 -1
  255. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts +0 -16
  256. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts.map +1 -1
  257. package/package.json +27 -19
  258. package/src/components/index.d.ts +4 -0
  259. package/src/components/index.d.ts.map +1 -0
  260. package/src/components/option/option.component.d.ts +15 -14
  261. package/src/components/option/option.component.d.ts.map +1 -1
  262. package/src/components/optionGroup/optgroup.component.d.ts +25 -0
  263. package/src/components/optionGroup/optgroup.component.d.ts.map +1 -0
  264. package/src/components/select/select.component.css +5 -0
  265. package/src/components/select/select.component.d.ts +94 -179
  266. package/src/components/select/select.component.d.ts.map +1 -1
  267. package/src/components/select/select.component.html +10 -16
  268. package/src/decorators/index.d.ts +2 -0
  269. package/src/{components/select → decorators}/index.d.ts.map +1 -1
  270. package/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.d.ts +5 -0
  271. package/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.d.ts.map +1 -0
  272. package/src/directives/index.d.ts +5 -0
  273. package/src/directives/index.d.ts.map +1 -0
  274. package/src/directives/normalStateTemplate/normalStateTemplate.directive.d.ts +19 -0
  275. package/src/directives/normalStateTemplate/normalStateTemplate.directive.d.ts.map +1 -0
  276. package/src/directives/optionTemplate/optionTemplate.directive.d.ts +19 -0
  277. package/src/directives/optionTemplate/optionTemplate.directive.d.ts.map +1 -0
  278. package/src/directives/selectAbsolute/selectAbsolute.directive.d.ts +12 -0
  279. package/src/directives/selectAbsolute/selectAbsolute.directive.d.ts.map +1 -0
  280. package/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.d.ts +1 -0
  281. package/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.d.ts.map +1 -0
  282. package/src/directives/selectEdit/selectEdit.directive.d.ts +1 -0
  283. package/src/directives/selectEdit/selectEdit.directive.d.ts.map +1 -0
  284. package/src/directives/selectPlaceholder/selectPlaceholder.directive.d.ts +1 -0
  285. package/src/directives/selectPlaceholder/selectPlaceholder.directive.d.ts.map +1 -0
  286. package/src/directives/withDirectAccess/withDirectAccess.directive.d.ts +9 -0
  287. package/src/directives/withDirectAccess/withDirectAccess.directive.d.ts.map +1 -0
  288. package/src/index.d.ts +8 -41
  289. package/src/index.d.ts.map +1 -1
  290. package/src/interfaces/index.d.ts +20 -0
  291. package/src/interfaces/index.d.ts.map +1 -0
  292. package/src/interfaces/initState/initState.interface.d.ts +10 -0
  293. package/src/interfaces/initState/initState.interface.d.ts.map +1 -0
  294. package/src/interfaces/normalStateContext/normalStateContext.interface.d.ts +11 -0
  295. package/src/interfaces/normalStateContext/normalStateContext.interface.d.ts.map +1 -0
  296. package/src/interfaces/optionsGatherer/optionsGatherer.interface.d.ts +12 -0
  297. package/src/interfaces/optionsGatherer/optionsGatherer.interface.d.ts.map +1 -0
  298. package/src/interfaces/pluginDescription/pluginDescription.interface.d.ts +21 -0
  299. package/src/interfaces/pluginDescription/pluginDescription.interface.d.ts.map +1 -0
  300. package/src/interfaces/pluginOptions/pluginOptions.interface.d.ts +6 -0
  301. package/src/interfaces/pluginOptions/pluginOptions.interface.d.ts.map +1 -0
  302. package/src/interfaces/plugins/index.d.ts +10 -0
  303. package/src/interfaces/plugins/index.d.ts.map +1 -0
  304. package/src/interfaces/plugins/interactions/interactions.interface.d.ts +13 -0
  305. package/src/interfaces/plugins/interactions/interactions.interface.d.ts.map +1 -0
  306. package/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.d.ts +13 -0
  307. package/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.d.ts.map +1 -0
  308. package/src/interfaces/plugins/liveSearch/liveSearch.interface.d.ts +13 -0
  309. package/src/interfaces/plugins/liveSearch/liveSearch.interface.d.ts.map +1 -0
  310. package/src/interfaces/plugins/normalState/normalState.interface.d.ts +31 -0
  311. package/src/interfaces/plugins/normalState/normalState.interface.d.ts.map +1 -0
  312. package/src/interfaces/plugins/optionsHandler/optionsHandler.interface.d.ts +19 -0
  313. package/src/interfaces/plugins/optionsHandler/optionsHandler.interface.d.ts.map +1 -0
  314. package/src/interfaces/plugins/popup/popup.interface.d.ts +13 -0
  315. package/src/interfaces/plugins/popup/popup.interface.d.ts.map +1 -0
  316. package/src/interfaces/plugins/positioner/positioner.interface.d.ts +13 -0
  317. package/src/interfaces/plugins/positioner/positioner.interface.d.ts.map +1 -0
  318. package/src/interfaces/plugins/readonlyState/readonlyState.interface.d.ts +12 -0
  319. package/src/interfaces/plugins/readonlyState/readonlyState.interface.d.ts.map +1 -0
  320. package/src/interfaces/plugins/valueHandler/valueHandler.interface.d.ts +23 -0
  321. package/src/interfaces/plugins/valueHandler/valueHandler.interface.d.ts.map +1 -0
  322. package/src/interfaces/popupContext/popupContext.interface.d.ts +16 -0
  323. package/src/interfaces/popupContext/popupContext.interface.d.ts.map +1 -0
  324. package/src/interfaces/selectApi/selectApi.interface.d.ts +50 -0
  325. package/src/interfaces/selectApi/selectApi.interface.d.ts.map +1 -0
  326. package/src/interfaces/selectBusOptions/selectBusOptions.interface.d.ts +29 -0
  327. package/src/interfaces/selectBusOptions/selectBusOptions.interface.d.ts.map +1 -0
  328. package/src/interfaces/selectCssClasses/selectCssClasses.interface.d.ts +6 -0
  329. package/src/interfaces/selectCssClasses/selectCssClasses.interface.d.ts.map +1 -0
  330. package/src/interfaces/selectEvent/selectEvent.interface.d.ts +20 -0
  331. package/src/interfaces/selectEvent/selectEvent.interface.d.ts.map +1 -0
  332. package/src/interfaces/selectEvents/selectEvents.interface.d.ts +37 -0
  333. package/src/interfaces/selectEvents/selectEvents.interface.d.ts.map +1 -0
  334. package/src/interfaces/selectOption/selectOption.interface.d.ts +33 -0
  335. package/src/interfaces/selectOption/selectOption.interface.d.ts.map +1 -0
  336. package/src/interfaces/selectOptionGroup/selectOptionGroup.interface.d.ts +21 -0
  337. package/src/interfaces/selectOptionGroup/selectOptionGroup.interface.d.ts.map +1 -0
  338. package/src/interfaces/selectOptions/selectOptions.interface.d.ts +27 -0
  339. package/src/interfaces/selectOptions/selectOptions.interface.d.ts.map +1 -0
  340. package/src/interfaces/selectPlugin/selectPlugin.interface.d.ts +33 -0
  341. package/src/interfaces/selectPlugin/selectPlugin.interface.d.ts.map +1 -0
  342. package/src/interfaces/selectPluginTypes/selectPluginTypes.interface.d.ts +44 -0
  343. package/src/interfaces/selectPluginTypes/selectPluginTypes.interface.d.ts.map +1 -0
  344. package/src/interfaces/templateGatherer/templateGatherer.interface.d.ts +17 -0
  345. package/src/interfaces/templateGatherer/templateGatherer.interface.d.ts.map +1 -0
  346. package/src/interfaces/visualPluginOptions/visualPluginOptions.interface.d.ts +11 -0
  347. package/src/interfaces/visualPluginOptions/visualPluginOptions.interface.d.ts.map +1 -0
  348. package/src/misc/classes/index.d.ts +3 -0
  349. package/src/misc/classes/index.d.ts.map +1 -0
  350. package/src/misc/classes/selectBus/selectBus.d.ts +54 -0
  351. package/src/misc/classes/selectBus/selectBus.d.ts.map +1 -0
  352. package/src/misc/classes/selectPluginInstances/selectPluginInstances.d.ts +90 -0
  353. package/src/misc/classes/selectPluginInstances/selectPluginInstances.d.ts.map +1 -0
  354. package/src/misc/enums.d.ts +42 -0
  355. package/src/misc/enums.d.ts.map +1 -0
  356. package/src/misc/extensions/getValue.d.ts +0 -6
  357. package/src/misc/extensions/getValue.d.ts.map +1 -1
  358. package/src/misc/extensions/index.d.ts +0 -5
  359. package/src/misc/extensions/index.d.ts.map +1 -1
  360. package/src/misc/extensions/onFocus.d.ts +0 -7
  361. package/src/misc/extensions/onFocus.d.ts.map +1 -1
  362. package/src/misc/extensions/setReadonly.d.ts +0 -7
  363. package/src/misc/extensions/setReadonly.d.ts.map +1 -1
  364. package/src/misc/extensions/setValue.d.ts +0 -7
  365. package/src/misc/extensions/setValue.d.ts.map +1 -1
  366. package/src/misc/extensions/valueChange.d.ts +0 -7
  367. package/src/misc/extensions/valueChange.d.ts.map +1 -1
  368. package/src/misc/ngSelectOptions.interface.d.ts +0 -71
  369. package/src/misc/ngSelectOptions.interface.d.ts.map +1 -1
  370. package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts +0 -69
  371. package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts.map +1 -1
  372. package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts +0 -85
  373. package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts.map +1 -1
  374. package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts +0 -28
  375. package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts.map +1 -1
  376. package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts +0 -72
  377. package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts.map +1 -1
  378. package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts +0 -52
  379. package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts.map +1 -1
  380. package/src/misc/optionsGatherer/types.d.ts +0 -3
  381. package/src/misc/optionsGatherer/types.d.ts.map +1 -1
  382. package/src/misc/providers.d.ts +54 -0
  383. package/src/misc/providers.d.ts.map +1 -0
  384. package/src/misc/tokens.d.ts +81 -0
  385. package/src/misc/tokens.d.ts.map +1 -0
  386. package/src/misc/types.d.ts +11 -31
  387. package/src/misc/types.d.ts.map +1 -1
  388. package/src/modules/index.d.ts +2 -0
  389. package/src/modules/index.d.ts.map +1 -0
  390. package/src/modules/ngSelect.module.d.ts +7 -20
  391. package/src/modules/ngSelect.module.d.ts.map +1 -1
  392. package/src/modules/ngSelectEdit.module.d.ts +0 -16
  393. package/src/modules/ngSelectEdit.module.d.ts.map +1 -1
  394. package/src/pipes/getPlugin/getPlugin.pipe.d.ts +25 -0
  395. package/src/pipes/getPlugin/getPlugin.pipe.d.ts.map +1 -0
  396. package/src/pipes/index.d.ts +4 -0
  397. package/src/pipes/index.d.ts.map +1 -0
  398. package/src/pipes/selectHasValue/selectHasValue.pipe.d.ts +16 -0
  399. package/src/pipes/selectHasValue/selectHasValue.pipe.d.ts.map +1 -0
  400. package/src/pipes/selectValue/selectValue.pipe.d.ts +19 -0
  401. package/src/pipes/selectValue/selectValue.pipe.d.ts.map +1 -0
  402. package/src/plugins/index.d.ts +9 -0
  403. package/src/plugins/index.d.ts.map +1 -0
  404. package/src/plugins/interactions/index.d.ts +2 -0
  405. package/src/plugins/interactions/index.d.ts.map +1 -0
  406. package/src/plugins/interactions/noInteractions/noInteractions.component.d.ts +28 -0
  407. package/src/plugins/interactions/noInteractions/noInteractions.component.d.ts.map +1 -0
  408. package/src/plugins/keyboardHandler/index.d.ts +1 -3
  409. package/src/plugins/keyboardHandler/index.d.ts.map +1 -1
  410. package/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.d.ts +28 -0
  411. package/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.d.ts.map +1 -0
  412. package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts +28 -0
  413. package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts.map +1 -0
  414. package/src/plugins/liveSearch/index.d.ts +2 -4
  415. package/src/plugins/liveSearch/index.d.ts.map +1 -1
  416. package/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.d.ts +28 -0
  417. package/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.d.ts.map +1 -0
  418. package/src/plugins/normalState/index.d.ts +1 -3
  419. package/src/plugins/normalState/index.d.ts.map +1 -1
  420. package/src/plugins/normalState/simpleNormalState/simpleNormalState.component.d.ts +28 -0
  421. package/src/plugins/normalState/simpleNormalState/simpleNormalState.component.d.ts.map +1 -0
  422. package/src/plugins/optionsHandler/index.d.ts +2 -0
  423. package/src/plugins/optionsHandler/index.d.ts.map +1 -0
  424. package/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.d.ts +41 -0
  425. package/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.d.ts.map +1 -0
  426. package/src/plugins/popup/index.d.ts +1 -3
  427. package/src/plugins/popup/index.d.ts.map +1 -1
  428. package/src/plugins/popup/simplePopup/simplePopup.component.d.ts +28 -0
  429. package/src/plugins/popup/simplePopup/simplePopup.component.d.ts.map +1 -0
  430. package/src/plugins/positioner/basicPositioner/basicPositioner.component.d.ts +28 -0
  431. package/src/plugins/positioner/basicPositioner/basicPositioner.component.d.ts.map +1 -0
  432. package/src/plugins/positioner/index.d.ts +1 -3
  433. package/src/plugins/positioner/index.d.ts.map +1 -1
  434. package/src/plugins/readonlyState/index.d.ts +0 -1
  435. package/src/plugins/readonlyState/index.d.ts.map +1 -1
  436. package/src/plugins/valueHandler/index.d.ts +1 -4
  437. package/src/plugins/valueHandler/index.d.ts.map +1 -1
  438. package/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.d.ts +46 -0
  439. package/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.d.ts.map +1 -0
  440. package/styles/components/_grid.scss +9 -0
  441. package/styles/core/_functions.scss +10 -0
  442. package/styles/core/_misc.scss +146 -0
  443. package/styles/core/_mixins.scss +44 -0
  444. package/styles/core/_theme.scss +16 -0
  445. package/styles/index.scss +2 -0
  446. package/styles/themes/dark.scss +19 -0
  447. package/styles/themes/light.scss +19 -0
  448. package/version.bak +1 -1
  449. package/es2022/material/src/directives/types.js +0 -2
  450. package/es2022/material/src/directives/types.js.map +0 -1
  451. package/es2022/material/src/plugins/popup/components.js +0 -3
  452. package/es2022/material/src/plugins/popup/components.js.map +0 -1
  453. package/es2022/src/components/option/index.js +0 -3
  454. package/es2022/src/components/option/index.js.map +0 -1
  455. package/es2022/src/components/option/optgroup.component.js +0 -54
  456. package/es2022/src/components/option/optgroup.component.js.map +0 -1
  457. package/es2022/src/components/option/optgroup.interface.js +0 -2
  458. package/es2022/src/components/option/optgroup.interface.js.map +0 -1
  459. package/es2022/src/components/option/option.interface.js +0 -2
  460. package/es2022/src/components/option/option.interface.js.map +0 -1
  461. package/es2022/src/components/select/index.js +0 -2
  462. package/es2022/src/components/select/index.js.map +0 -1
  463. package/es2022/src/components/select/select.interface.js +0 -2
  464. package/es2022/src/components/select/select.interface.js.map +0 -1
  465. package/es2022/src/components/select/types.js +0 -6
  466. package/es2022/src/components/select/types.js.map +0 -1
  467. package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -25
  468. package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +0 -1
  469. package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -66
  470. package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +0 -1
  471. package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -42
  472. package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +0 -1
  473. package/es2022/src/index.ssr.js +0 -10
  474. package/es2022/src/index.ssr.js.map +0 -1
  475. package/es2022/src/misc/index.js +0 -6
  476. package/es2022/src/misc/index.js.map +0 -1
  477. package/es2022/src/misc/ngSelectControlValueAccessor.directive.js +0 -162
  478. package/es2022/src/misc/ngSelectControlValueAccessor.directive.js.map +0 -1
  479. package/es2022/src/misc/plugin.interface.js +0 -2
  480. package/es2022/src/misc/plugin.interface.js.map +0 -1
  481. package/es2022/src/misc/pluginBus/pluginBus.interface.js +0 -2
  482. package/es2022/src/misc/pluginBus/pluginBus.interface.js.map +0 -1
  483. package/es2022/src/misc/pluginBus/pluginBus.js.map +0 -1
  484. package/es2022/src/misc/templateGatherer.interface.js.map +0 -1
  485. package/es2022/src/modules/ngSelectDynamic.module.js +0 -20
  486. package/es2022/src/modules/ngSelectDynamic.module.js.map +0 -1
  487. package/es2022/src/pipes/ngSelectHasValue.pipe.js.map +0 -1
  488. package/es2022/src/pipes/ngSelectValue.pipe.js +0 -31
  489. package/es2022/src/pipes/ngSelectValue.pipe.js.map +0 -1
  490. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -146
  491. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +0 -1
  492. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -2
  493. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +0 -1
  494. package/es2022/src/plugins/keyboardHandler/components.js +0 -3
  495. package/es2022/src/plugins/keyboardHandler/components.js.map +0 -1
  496. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -197
  497. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +0 -1
  498. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -2
  499. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +0 -1
  500. package/es2022/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +0 -1
  501. package/es2022/src/plugins/keyboardHandler/types.js +0 -10
  502. package/es2022/src/plugins/keyboardHandler/types.js.map +0 -1
  503. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -164
  504. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +0 -1
  505. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -2
  506. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +0 -1
  507. package/es2022/src/plugins/liveSearch/components.js +0 -4
  508. package/es2022/src/plugins/liveSearch/components.js.map +0 -1
  509. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -313
  510. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +0 -1
  511. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -2
  512. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +0 -1
  513. package/es2022/src/plugins/liveSearch/liveSearch.interface.js.map +0 -1
  514. package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -65
  515. package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js.map +0 -1
  516. package/es2022/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -2
  517. package/es2022/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +0 -1
  518. package/es2022/src/plugins/liveSearch/types.js +0 -10
  519. package/es2022/src/plugins/liveSearch/types.js.map +0 -1
  520. package/es2022/src/plugins/normalState/basic/basicNormalState.component.js +0 -58
  521. package/es2022/src/plugins/normalState/basic/basicNormalState.component.js.map +0 -1
  522. package/es2022/src/plugins/normalState/basic/basicNormalState.interface.js +0 -2
  523. package/es2022/src/plugins/normalState/basic/basicNormalState.interface.js.map +0 -1
  524. package/es2022/src/plugins/normalState/components.js +0 -4
  525. package/es2022/src/plugins/normalState/components.js.map +0 -1
  526. package/es2022/src/plugins/normalState/edit/editNormalState.component.js +0 -88
  527. package/es2022/src/plugins/normalState/edit/editNormalState.component.js.map +0 -1
  528. package/es2022/src/plugins/normalState/edit/editNormalState.interface.js +0 -2
  529. package/es2022/src/plugins/normalState/edit/editNormalState.interface.js.map +0 -1
  530. package/es2022/src/plugins/normalState/normalState.interface.js.map +0 -1
  531. package/es2022/src/plugins/normalState/normalStateAbstract.component.js +0 -89
  532. package/es2022/src/plugins/normalState/normalStateAbstract.component.js.map +0 -1
  533. package/es2022/src/plugins/normalState/types.js +0 -10
  534. package/es2022/src/plugins/normalState/types.js.map +0 -1
  535. package/es2022/src/plugins/popup/basic/basicPopup.component.js +0 -62
  536. package/es2022/src/plugins/popup/basic/basicPopup.component.js.map +0 -1
  537. package/es2022/src/plugins/popup/basic/basicPopup.interface.js +0 -2
  538. package/es2022/src/plugins/popup/basic/basicPopup.interface.js.map +0 -1
  539. package/es2022/src/plugins/popup/component.js +0 -4
  540. package/es2022/src/plugins/popup/component.js.map +0 -1
  541. package/es2022/src/plugins/popup/edit/editPopup.component.js +0 -85
  542. package/es2022/src/plugins/popup/edit/editPopup.component.js.map +0 -1
  543. package/es2022/src/plugins/popup/edit/editPopup.interface.js +0 -2
  544. package/es2022/src/plugins/popup/edit/editPopup.interface.js.map +0 -1
  545. package/es2022/src/plugins/popup/popup.interface.js.map +0 -1
  546. package/es2022/src/plugins/popup/popupAbstract.component.js +0 -200
  547. package/es2022/src/plugins/popup/popupAbstract.component.js.map +0 -1
  548. package/es2022/src/plugins/popup/types.js +0 -10
  549. package/es2022/src/plugins/popup/types.js.map +0 -1
  550. package/es2022/src/plugins/positioner/components.js +0 -3
  551. package/es2022/src/plugins/positioner/components.js.map +0 -1
  552. package/es2022/src/plugins/positioner/default/defaultPositioner.component.js +0 -160
  553. package/es2022/src/plugins/positioner/default/defaultPositioner.component.js.map +0 -1
  554. package/es2022/src/plugins/positioner/default/defaultPositioner.interface.js +0 -2
  555. package/es2022/src/plugins/positioner/default/defaultPositioner.interface.js.map +0 -1
  556. package/es2022/src/plugins/positioner/no/noPositioner.component.js +0 -78
  557. package/es2022/src/plugins/positioner/no/noPositioner.component.js.map +0 -1
  558. package/es2022/src/plugins/positioner/no/noPositioner.interface.js +0 -2
  559. package/es2022/src/plugins/positioner/no/noPositioner.interface.js.map +0 -1
  560. package/es2022/src/plugins/positioner/positioner.interface.js.map +0 -1
  561. package/es2022/src/plugins/positioner/types.js +0 -10
  562. package/es2022/src/plugins/positioner/types.js.map +0 -1
  563. package/es2022/src/plugins/readonlyState/readonlyState.interface.js.map +0 -1
  564. package/es2022/src/plugins/readonlyState/types.js +0 -10
  565. package/es2022/src/plugins/readonlyState/types.js.map +0 -1
  566. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -159
  567. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +0 -1
  568. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -2
  569. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +0 -1
  570. package/es2022/src/plugins/valueHandler/components.js +0 -3
  571. package/es2022/src/plugins/valueHandler/components.js.map +0 -1
  572. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -179
  573. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +0 -1
  574. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -2
  575. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +0 -1
  576. package/es2022/src/plugins/valueHandler/types.js +0 -10
  577. package/es2022/src/plugins/valueHandler/types.js.map +0 -1
  578. package/es2022/src/plugins/valueHandler/valueHandler.interface.js.map +0 -1
  579. package/es2022/src/plugins/valueHandler/valueHandlerBase.js +0 -145
  580. package/es2022/src/plugins/valueHandler/valueHandlerBase.js.map +0 -1
  581. package/material/src/directives/types.d.ts +0 -2
  582. package/material/src/directives/types.d.ts.map +0 -1
  583. package/material/src/plugins/popup/components.d.ts +0 -3
  584. package/material/src/plugins/popup/components.d.ts.map +0 -1
  585. package/src/components/option/index.d.ts +0 -3
  586. package/src/components/option/index.d.ts.map +0 -1
  587. package/src/components/option/optgroup.component.d.ts +0 -37
  588. package/src/components/option/optgroup.component.d.ts.map +0 -1
  589. package/src/components/option/optgroup.interface.d.ts +0 -20
  590. package/src/components/option/optgroup.interface.d.ts.map +0 -1
  591. package/src/components/option/option.interface.d.ts +0 -31
  592. package/src/components/option/option.interface.d.ts.map +0 -1
  593. package/src/components/select/index.d.ts +0 -2
  594. package/src/components/select/select.interface.d.ts +0 -68
  595. package/src/components/select/select.interface.d.ts.map +0 -1
  596. package/src/components/select/types.d.ts +0 -7
  597. package/src/components/select/types.d.ts.map +0 -1
  598. package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts +0 -11
  599. package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts.map +0 -1
  600. package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts +0 -11
  601. package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts.map +0 -1
  602. package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts +0 -21
  603. package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts.map +0 -1
  604. package/src/index.ssr.d.ts +0 -1
  605. package/src/index.ssr.d.ts.map +0 -1
  606. package/src/misc/index.d.ts +0 -6
  607. package/src/misc/index.d.ts.map +0 -1
  608. package/src/misc/ngSelectControlValueAccessor.directive.d.ts +0 -63
  609. package/src/misc/ngSelectControlValueAccessor.directive.d.ts.map +0 -1
  610. package/src/misc/plugin.interface.d.ts +0 -108
  611. package/src/misc/plugin.interface.d.ts.map +0 -1
  612. package/src/misc/pluginBus/pluginBus.d.ts +0 -49
  613. package/src/misc/pluginBus/pluginBus.d.ts.map +0 -1
  614. package/src/misc/pluginBus/pluginBus.interface.d.ts +0 -36
  615. package/src/misc/pluginBus/pluginBus.interface.d.ts.map +0 -1
  616. package/src/misc/templateGatherer.interface.d.ts +0 -17
  617. package/src/misc/templateGatherer.interface.d.ts.map +0 -1
  618. package/src/modules/ngSelectDynamic.module.d.ts +0 -11
  619. package/src/modules/ngSelectDynamic.module.d.ts.map +0 -1
  620. package/src/pipes/ngSelectHasValue.pipe.d.ts +0 -16
  621. package/src/pipes/ngSelectHasValue.pipe.d.ts.map +0 -1
  622. package/src/pipes/ngSelectValue.pipe.d.ts +0 -19
  623. package/src/pipes/ngSelectValue.pipe.d.ts.map +0 -1
  624. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts +0 -58
  625. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts.map +0 -1
  626. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts +0 -12
  627. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts.map +0 -1
  628. package/src/plugins/keyboardHandler/components.d.ts +0 -3
  629. package/src/plugins/keyboardHandler/components.d.ts.map +0 -1
  630. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts +0 -68
  631. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts.map +0 -1
  632. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts +0 -12
  633. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts.map +0 -1
  634. package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts +0 -12
  635. package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts.map +0 -1
  636. package/src/plugins/keyboardHandler/types.d.ts +0 -11
  637. package/src/plugins/keyboardHandler/types.d.ts.map +0 -1
  638. package/src/plugins/liveSearch/basic/basicLiveSearch.component.css +0 -11
  639. package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts +0 -98
  640. package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts.map +0 -1
  641. package/src/plugins/liveSearch/basic/basicLiveSearch.component.html +0 -5
  642. package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts +0 -29
  643. package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts.map +0 -1
  644. package/src/plugins/liveSearch/components.d.ts +0 -4
  645. package/src/plugins/liveSearch/components.d.ts.map +0 -1
  646. package/src/plugins/liveSearch/edit/editLiveSearch.component.css +0 -13
  647. package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts +0 -141
  648. package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts.map +0 -1
  649. package/src/plugins/liveSearch/edit/editLiveSearch.component.html +0 -13
  650. package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts +0 -37
  651. package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts.map +0 -1
  652. package/src/plugins/liveSearch/liveSearch.interface.d.ts +0 -38
  653. package/src/plugins/liveSearch/liveSearch.interface.d.ts.map +0 -1
  654. package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts +0 -54
  655. package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts.map +0 -1
  656. package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts +0 -12
  657. package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts.map +0 -1
  658. package/src/plugins/liveSearch/types.d.ts +0 -11
  659. package/src/plugins/liveSearch/types.d.ts.map +0 -1
  660. package/src/plugins/normalState/basic/basicNormalState.component.css +0 -38
  661. package/src/plugins/normalState/basic/basicNormalState.component.d.ts +0 -17
  662. package/src/plugins/normalState/basic/basicNormalState.component.d.ts.map +0 -1
  663. package/src/plugins/normalState/basic/basicNormalState.component.html +0 -6
  664. package/src/plugins/normalState/basic/basicNormalState.interface.d.ts +0 -29
  665. package/src/plugins/normalState/basic/basicNormalState.interface.d.ts.map +0 -1
  666. package/src/plugins/normalState/components.d.ts +0 -4
  667. package/src/plugins/normalState/components.d.ts.map +0 -1
  668. package/src/plugins/normalState/edit/editNormalState.component.css +0 -77
  669. package/src/plugins/normalState/edit/editNormalState.component.d.ts +0 -26
  670. package/src/plugins/normalState/edit/editNormalState.component.d.ts.map +0 -1
  671. package/src/plugins/normalState/edit/editNormalState.component.html +0 -19
  672. package/src/plugins/normalState/edit/editNormalState.interface.d.ts +0 -53
  673. package/src/plugins/normalState/edit/editNormalState.interface.d.ts.map +0 -1
  674. package/src/plugins/normalState/normalState.interface.d.ts +0 -49
  675. package/src/plugins/normalState/normalState.interface.d.ts.map +0 -1
  676. package/src/plugins/normalState/normalStateAbstract.component.d.ts +0 -65
  677. package/src/plugins/normalState/normalStateAbstract.component.d.ts.map +0 -1
  678. package/src/plugins/normalState/types.d.ts +0 -11
  679. package/src/plugins/normalState/types.d.ts.map +0 -1
  680. package/src/plugins/popup/basic/basicPopup.component.css +0 -61
  681. package/src/plugins/popup/basic/basicPopup.component.d.ts +0 -17
  682. package/src/plugins/popup/basic/basicPopup.component.d.ts.map +0 -1
  683. package/src/plugins/popup/basic/basicPopup.component.html +0 -21
  684. package/src/plugins/popup/basic/basicPopup.interface.d.ts +0 -33
  685. package/src/plugins/popup/basic/basicPopup.interface.d.ts.map +0 -1
  686. package/src/plugins/popup/component.d.ts +0 -4
  687. package/src/plugins/popup/component.d.ts.map +0 -1
  688. package/src/plugins/popup/edit/editPopup.component.css +0 -61
  689. package/src/plugins/popup/edit/editPopup.component.d.ts +0 -32
  690. package/src/plugins/popup/edit/editPopup.component.d.ts.map +0 -1
  691. package/src/plugins/popup/edit/editPopup.component.html +0 -19
  692. package/src/plugins/popup/edit/editPopup.interface.d.ts +0 -33
  693. package/src/plugins/popup/edit/editPopup.interface.d.ts.map +0 -1
  694. package/src/plugins/popup/popup.interface.d.ts +0 -52
  695. package/src/plugins/popup/popup.interface.d.ts.map +0 -1
  696. package/src/plugins/popup/popupAbstract.component.d.ts +0 -130
  697. package/src/plugins/popup/popupAbstract.component.d.ts.map +0 -1
  698. package/src/plugins/popup/types.d.ts +0 -11
  699. package/src/plugins/popup/types.d.ts.map +0 -1
  700. package/src/plugins/positioner/components.d.ts +0 -3
  701. package/src/plugins/positioner/components.d.ts.map +0 -1
  702. package/src/plugins/positioner/default/defaultPositioner.component.d.ts +0 -89
  703. package/src/plugins/positioner/default/defaultPositioner.component.d.ts.map +0 -1
  704. package/src/plugins/positioner/default/defaultPositioner.interface.d.ts +0 -12
  705. package/src/plugins/positioner/default/defaultPositioner.interface.d.ts.map +0 -1
  706. package/src/plugins/positioner/no/noPositioner.component.d.ts +0 -50
  707. package/src/plugins/positioner/no/noPositioner.component.d.ts.map +0 -1
  708. package/src/plugins/positioner/no/noPositioner.interface.d.ts +0 -12
  709. package/src/plugins/positioner/no/noPositioner.interface.d.ts.map +0 -1
  710. package/src/plugins/positioner/positioner.interface.d.ts +0 -22
  711. package/src/plugins/positioner/positioner.interface.d.ts.map +0 -1
  712. package/src/plugins/positioner/types.d.ts +0 -11
  713. package/src/plugins/positioner/types.d.ts.map +0 -1
  714. package/src/plugins/readonlyState/readonlyState.interface.d.ts +0 -12
  715. package/src/plugins/readonlyState/readonlyState.interface.d.ts.map +0 -1
  716. package/src/plugins/readonlyState/types.d.ts +0 -11
  717. package/src/plugins/readonlyState/types.d.ts.map +0 -1
  718. package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts +0 -51
  719. package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts.map +0 -1
  720. package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts +0 -12
  721. package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts.map +0 -1
  722. package/src/plugins/valueHandler/components.d.ts +0 -3
  723. package/src/plugins/valueHandler/components.d.ts.map +0 -1
  724. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts +0 -52
  725. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts.map +0 -1
  726. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts +0 -21
  727. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts.map +0 -1
  728. package/src/plugins/valueHandler/types.d.ts +0 -11
  729. package/src/plugins/valueHandler/types.d.ts.map +0 -1
  730. package/src/plugins/valueHandler/valueHandler.interface.d.ts +0 -31
  731. package/src/plugins/valueHandler/valueHandler.interface.d.ts.map +0 -1
  732. package/src/plugins/valueHandler/valueHandlerBase.d.ts +0 -115
  733. package/src/plugins/valueHandler/valueHandlerBase.d.ts.map +0 -1
  734. /package/es2022/src/{plugins → interfaces/plugins}/keyboardHandler/keyboardHandler.interface.js +0 -0
  735. /package/es2022/src/{plugins → interfaces/plugins}/liveSearch/liveSearch.interface.js +0 -0
  736. /package/es2022/src/{plugins → interfaces/plugins}/normalState/normalState.interface.js +0 -0
  737. /package/es2022/src/{plugins → interfaces/plugins}/popup/popup.interface.js +0 -0
  738. /package/es2022/src/{plugins → interfaces/plugins}/positioner/positioner.interface.js +0 -0
  739. /package/es2022/src/{plugins → interfaces/plugins}/readonlyState/readonlyState.interface.js +0 -0
  740. /package/es2022/src/{plugins → interfaces/plugins}/valueHandler/valueHandler.interface.js +0 -0
  741. /package/es2022/src/{misc → interfaces/templateGatherer}/templateGatherer.interface.js +0 -0
@@ -1,86 +1 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { OptionsGatherer } from './optionsGatherer.interface';
4
- import { NgSelectPluginInstances, NgSelect } from '../../components/select';
5
- import { NgSelectOption } from '../../components/option';
6
- import { DynamicOptionsGathererOptions } from './dynamicOptionsGatherer.interface';
7
- import { LiveSearch } from '../../plugins/liveSearch';
8
- import { PluginBus } from '../pluginBus/pluginBus';
9
- import { Popup } from '../../plugins/popup';
10
- import { ValueHandler } from '../../plugins/valueHandler';
11
- /**
12
- * Class that is used as for options gathering in dynamic way, for example from external source when writing
13
- */
14
- export declare class DynamicOptionsGatherer<TValue = any> implements OptionsGatherer<TValue> {
15
- protected _options: DynamicOptionsGathererOptions<TValue>;
16
- /**
17
- * Live search plugin currently used in NgSelect
18
- */
19
- protected _liveSearch: LiveSearch;
20
- /**
21
- * Subscription for changes of live search value
22
- */
23
- protected _searchValueChangeSubscription: Subscription;
24
- /**
25
- * Subscription for visibility change of popup
26
- */
27
- protected _visibilitySubscription: Subscription;
28
- /**
29
- * Minimal number of characters required for searching
30
- */
31
- protected _minLength: number;
32
- /**
33
- * Popup that is displayed
34
- */
35
- protected _popup: Popup;
36
- /**
37
- * Indication that first initial call was performed
38
- */
39
- protected _initialized: boolean;
40
- /**
41
- * Currently used value handler plugin
42
- */
43
- protected _valueHandler: ValueHandler;
44
- /**
45
- * Array of provided options for select
46
- */
47
- options: NgSelectOption<TValue>[];
48
- /**
49
- * Occurs when array of provided options has changed
50
- */
51
- optionsChange: EventEmitter<void>;
52
- /**
53
- * Array of visible, displayed options for select
54
- */
55
- get availableOptions(): NgSelectOption<TValue>[];
56
- /**
57
- * Occurs when array of visible, displayed options has changed
58
- */
59
- get availableOptionsChange(): EventEmitter<void>;
60
- /**
61
- * NgSelect plugin instances available for gatherer
62
- */
63
- ngSelectPlugins: NgSelectPluginInstances;
64
- /**
65
- * Plugin bus used for inter plugin shared events
66
- */
67
- pluginBus: PluginBus<TValue>;
68
- /**
69
- * Select element that implements default gatherers
70
- */
71
- select: NgSelect<TValue>;
72
- constructor(_options: DynamicOptionsGathererOptions<TValue>);
73
- /**
74
- * Initialize gatherer during initialization phase
75
- */
76
- initializeGatherer(): void;
77
- /**
78
- * Called when gatherer needs to be destroyed
79
- */
80
- destroyGatherer(): void;
81
- /**
82
- * Process options change request
83
- */
84
- protected _processOptionsChange(): Promise<void>;
85
- }
86
1
  //# sourceMappingURL=dynamicOptionsGatherer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamicOptionsGatherer.d.ts","sourceRoot":"","sources":["dynamicOptionsGatherer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAC,YAAY,EAAa,MAAM,MAAM,CAAC;AAG9C,OAAO,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAC,uBAAuB,EAAE,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAC,6BAA6B,EAAC,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAG1C,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD;;GAEG;AACH,qBAAa,sBAAsB,CAAC,MAAM,GAAG,GAAG,CAAE,YAAW,eAAe,CAAC,MAAM,CAAC;IAmFpE,SAAS,CAAC,QAAQ,EAAE,6BAA6B,CAAC,MAAM,CAAC;IA/ErE;;OAEG;IACH,SAAS,CAAC,WAAW,EAAE,UAAU,CAAC;IAElC;;OAEG;IACH,SAAS,CAAC,8BAA8B,EAAE,YAAY,CAAC;IAEvD;;OAEG;IACH,SAAS,CAAC,uBAAuB,EAAE,YAAY,CAAC;IAEhD;;OAEG;IACH,SAAS,CAAC,UAAU,EAAE,MAAM,CAAK;IAEjC;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC;IAExB;;OAEG;IACH,SAAS,CAAC,YAAY,EAAE,OAAO,CAAS;IAExC;;OAEG;IACH,SAAS,CAAC,aAAa,EAAE,YAAY,CAAC;IAItC;;OAEG;IACI,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE,CAAM;IAE9C;;OAEG;IACI,aAAa,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAEpE;;OAEG;IACH,IAAW,gBAAgB,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAGtD;IAED;;OAEG;IACH,IAAW,sBAAsB,IAAI,YAAY,CAAC,IAAI,CAAC,CAGtD;IAED;;OAEG;IACI,eAAe,EAAE,uBAAuB,CAAC;IAEhD;;OAEG;IACI,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACI,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;gBAGV,QAAQ,EAAE,6BAA6B,CAAC,MAAM,CAAC;IAerE;;OAEG;IACI,kBAAkB,IAAI,IAAI;IAsDjC;;OAEG;IACI,eAAe,IAAI,IAAI;IAW9B;;OAEG;cACa,qBAAqB;CA2BxC"}
1
+ {"version":3,"file":"dynamicOptionsGatherer.d.ts","sourceRoot":"","sources":["dynamicOptionsGatherer.ts"],"names":[],"mappings":""}
@@ -1,29 +1 @@
1
- import { NgSelectOption } from '../../components/option';
2
- /**
3
- * Callback used for obtaining dynamic options
4
- */
5
- export interface GetOptionsCallback<TValue = any> {
6
- /**
7
- * Gets array of options based on query
8
- * @param query - Query for obtaining options, can be searched string or TValue in case of obtaining option for value during initialization
9
- */
10
- (query: string | TValue): Promise<NgSelectOption<TValue>[]>;
11
- }
12
- /**
13
- * Options for dynamic options gatherer
14
- */
15
- export interface DynamicOptionsGathererOptions<TValue = any> {
16
- /**
17
- * Callback used for obtaining dynamic options
18
- */
19
- dynamicOptionsCallback: GetOptionsCallback<TValue>;
20
- /**
21
- * Number of miliseconds which represents minimal delay between calls of dynamicOptionsCallback
22
- */
23
- delay?: number;
24
- /**
25
- * Minimal number of characters to be used for searching
26
- */
27
- minLength?: number;
28
- }
29
1
  //# sourceMappingURL=dynamicOptionsGatherer.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamicOptionsGatherer.interface.d.ts","sourceRoot":"","sources":["dynamicOptionsGatherer.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,MAAM,GAAG,GAAG;IAE5C;;;OAGG;IACH,CAAC,KAAK,EAAE,MAAM,GAAC,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B,CAAC,MAAM,GAAG,GAAG;IAEvD;;OAEG;IACH,sBAAsB,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAEnD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"dynamicOptionsGatherer.interface.d.ts","sourceRoot":"","sources":["dynamicOptionsGatherer.interface.ts"],"names":[],"mappings":""}
@@ -1,73 +1 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { Subscription } from 'rxjs';
3
- import { OptionsGatherer } from './optionsGatherer.interface';
4
- import { NgSelectOption } from '../../components/option';
5
- import { NgSelectPluginInstances, NgSelect } from '../../components/select';
6
- import { PluginBus } from '../pluginBus/pluginBus';
7
- import { ValueHandler } from '../../plugins/valueHandler';
8
- /**
9
- * Options gatherer using default build in gatherer extended with exclusion of selected options
10
- */
11
- export declare class ExcludingOptionsGatherer<TValue = any> implements OptionsGatherer<TValue> {
12
- /**
13
- * Array of visible, displayed options for select
14
- */
15
- protected _availableOptions: NgSelectOption<TValue>[];
16
- /**
17
- * Occurs when array of visible, displayed options has changed
18
- */
19
- protected _availableOptionsChange: EventEmitter<void>;
20
- /**
21
- * Subscription for change of available options
22
- */
23
- protected _availableOptionsChangeSubscription: Subscription;
24
- /**
25
- * Subscription for change of value in value handler
26
- */
27
- protected _valueChangedSubscription: Subscription;
28
- /**
29
- * Value handler plugin used within `NgSelect`
30
- */
31
- protected _valueHandler: ValueHandler;
32
- /**
33
- * Array of provided options for select
34
- */
35
- get options(): NgSelectOption<TValue>[];
36
- /**
37
- * Occurs when array of provided options has changed
38
- */
39
- get optionsChange(): EventEmitter<void>;
40
- /**
41
- * Array of visible, displayed options for select
42
- */
43
- get availableOptions(): NgSelectOption<TValue>[];
44
- /**
45
- * Occurs when array of visible, displayed options has changed
46
- */
47
- get availableOptionsChange(): EventEmitter<void>;
48
- /**
49
- * NgSelect plugin instances available for gatherer
50
- */
51
- ngSelectPlugins: NgSelectPluginInstances;
52
- /**
53
- * Plugin bus used for inter plugin shared events
54
- */
55
- pluginBus: PluginBus<TValue>;
56
- /**
57
- * Select element that implements default gatherers
58
- */
59
- select: NgSelect<TValue>;
60
- /**
61
- * Initialize gatherer during initialization phase
62
- */
63
- initializeGatherer(): void;
64
- /**
65
- * Called when gatherer needs to be destroyed
66
- */
67
- destroyGatherer(): void;
68
- /**
69
- * Exclude selected options
70
- */
71
- protected _excludeSelected(): void;
72
- }
73
1
  //# sourceMappingURL=excludingOptionsGatherer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"excludingOptionsGatherer.d.ts","sourceRoot":"","sources":["excludingOptionsGatherer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAC,cAAc,EAAkB,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAC,uBAAuB,EAAE,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAGxD;;GAEG;AACH,qBAAa,wBAAwB,CAAC,MAAM,GAAG,GAAG,CAAE,YAAW,eAAe,CAAC,MAAM,CAAC;IAIlF;;OAEG;IACH,SAAS,CAAC,iBAAiB,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE,CAAM;IAE3D;;OAEG;IACH,SAAS,CAAC,uBAAuB,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAEjF;;OAEG;IACH,SAAS,CAAC,mCAAmC,EAAE,YAAY,CAAC;IAE5D;;OAEG;IACH,SAAS,CAAC,yBAAyB,EAAE,YAAY,CAAC;IAElD;;OAEG;IACH,SAAS,CAAC,aAAa,EAAE,YAAY,CAAC;IAItC;;OAEG;IACH,IAAW,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAG7C;IAED;;OAEG;IACH,IAAW,aAAa,IAAI,YAAY,CAAC,IAAI,CAAC,CAG7C;IAED;;OAEG;IACH,IAAW,gBAAgB,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAGtD;IAED;;OAEG;IACH,IAAW,sBAAsB,IAAI,YAAY,CAAC,IAAI,CAAC,CAGtD;IAED;;OAEG;IACI,eAAe,EAAE,uBAAuB,CAAC;IAEhD;;OAEG;IACI,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAEpC;;OAEG;IACI,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAIhC;;OAEG;IACI,kBAAkB,IAAI,IAAI;IA0BjC;;OAEG;IACI,eAAe,IAAI,IAAI;IAW9B;;OAEG;IACH,SAAS,CAAC,gBAAgB;CAgD7B"}
1
+ {"version":3,"file":"excludingOptionsGatherer.d.ts","sourceRoot":"","sources":["excludingOptionsGatherer.ts"],"names":[],"mappings":""}
@@ -1,53 +1 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { NgSelectOption } from '../../components/option/option.interface';
3
- import { NgSelectPluginInstances, NgSelect } from '../../components/select';
4
- import { NormalizeFunc } from '../ngSelectOptions.interface';
5
- import { PluginBus } from '../pluginBus/pluginBus';
6
- /**
7
- * Callback that is used for filtering static values during live search
8
- */
9
- export interface LiveSearchFilter<TValue = any> {
10
- (query: string, normalizer?: NormalizeFunc<TValue>): (option: NgSelectOption<TValue>) => boolean;
11
- }
12
- /**
13
- * Gatherer used for obtaining options for select
14
- */
15
- export interface OptionsGatherer<TValue = any> {
16
- /**
17
- * Array of provided options for select
18
- */
19
- readonly options: NgSelectOption<TValue>[];
20
- /**
21
- * Occurs when array of provided options has changed
22
- */
23
- readonly optionsChange: EventEmitter<void>;
24
- /**
25
- * Array of visible, displayed options for select
26
- */
27
- readonly availableOptions: NgSelectOption<TValue>[];
28
- /**
29
- * Occurs when array of visible, displayed options has changed
30
- */
31
- readonly availableOptionsChange: EventEmitter<void>;
32
- /**
33
- * NgSelect plugin instances available for gatherer
34
- */
35
- ngSelectPlugins: NgSelectPluginInstances;
36
- /**
37
- * Plugin bus used for inter plugin shared events
38
- */
39
- pluginBus: PluginBus<TValue>;
40
- /**
41
- * Select element that implements default gatherers
42
- */
43
- select: NgSelect<TValue>;
44
- /**
45
- * Initialize gatherer during initialization phase
46
- */
47
- initializeGatherer(): void;
48
- /**
49
- * Called when gatherer needs to be destroyed
50
- */
51
- destroyGatherer(): void;
52
- }
53
1
  //# sourceMappingURL=optionsGatherer.interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"optionsGatherer.interface.d.ts","sourceRoot":"","sources":["optionsGatherer.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAC,cAAc,EAAC,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAC,uBAAuB,EAAE,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAC,aAAa,EAAC,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD;;GAEG;AACH,MAAM,WAAW,gBAAgB,CAAC,MAAM,GAAG,GAAG;IAE1C,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,MAAM,CAAC,KAAK,OAAO,CAAA;CACnG;AAED;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,MAAM,GAAG,GAAG;IAEzC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE,CAAC;IAEpD;;OAEG;IACH,QAAQ,CAAC,sBAAsB,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;IAEpD;;OAEG;IACH,eAAe,EAAE,uBAAuB,CAAC;IAEzC;;OAEG;IACH,SAAS,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAEzB;;OAEG;IACH,kBAAkB,IAAI,IAAI,CAAC;IAE3B;;OAEG;IACH,eAAe,IAAI,IAAI,CAAC;CAC3B"}
1
+ {"version":3,"file":"optionsGatherer.interface.d.ts","sourceRoot":"","sources":["optionsGatherer.interface.ts"],"names":[],"mappings":""}
@@ -1,4 +1 @@
1
- export * from './codeOptionsGatherer';
2
- export * from './dynamicOptionsGatherer';
3
- export * from './excludingOptionsGatherer';
4
1
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,54 @@
1
+ import { Provider, Type } from '@angular/core';
2
+ import { RecursivePartial } from '@jscrpt/common';
3
+ import { Interactions, KeyboardHandler, LiveSearch, NormalState, OptionsHandler, Popup, Positioner, ReadonlyState, SelectOptions, ValueHandler } from '../interfaces';
4
+ /**
5
+ * Provides options for select globally
6
+ * @param options - Options to be provided
7
+ */
8
+ export declare function provideSelectOptions(options: RecursivePartial<SelectOptions>): Provider;
9
+ /**
10
+ * Provides type of keyboard handler that will be used for select globally
11
+ * @param type - Type to be used as keyboard handler
12
+ */
13
+ export declare function provideKeyboardHandlerType(type: Type<KeyboardHandler>): Provider;
14
+ /**
15
+ * Provides type of normal state that will be used for select globally
16
+ * @param type - Type to be used as normal state
17
+ */
18
+ export declare function provideNormalStateType(type: Type<NormalState>): Provider;
19
+ /**
20
+ * Provides type of popup that will be used for select globally
21
+ * @param type - Type to be used as popup
22
+ */
23
+ export declare function providePopupType(type: Type<Popup>): Provider;
24
+ /**
25
+ * Provides type of positioner that will be used for select globally
26
+ * @param type - Type to be used as positioner
27
+ */
28
+ export declare function providePositionerType(type: Type<Positioner>): Provider;
29
+ /**
30
+ * Provides type of readonly state that will be used for select globally
31
+ * @param type - Type to be used as readonly state
32
+ */
33
+ export declare function provideReadonlyStateType(type: Type<ReadonlyState>): Provider;
34
+ /**
35
+ * Provides type of value handler that will be used for select globally
36
+ * @param type - Type to be used as value handler
37
+ */
38
+ export declare function provideValueHandlerType(type: Type<ValueHandler>): Provider;
39
+ /**
40
+ * Provides type of live search that will be used for select globally
41
+ * @param type - Type to be used as live search
42
+ */
43
+ export declare function provideLiveSearchType(type: Type<LiveSearch>): Provider;
44
+ /**
45
+ * Provides type of interactions that will be used for select globally
46
+ * @param type - Type to be used as interactions
47
+ */
48
+ export declare function provideInteractionsType(type: Type<Interactions>): Provider;
49
+ /**
50
+ * Provides type of options handler that will be used for select globally
51
+ * @param type - Type to be used as options handler
52
+ */
53
+ export declare function provideOptionsHandlerType(type: Type<OptionsHandler>): Provider;
54
+ //# sourceMappingURL=providers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAC,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAGpK;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,gBAAgB,CAAC,aAAa,CAAC,GAAG,QAAQ,CAMvF;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,CAAC,GAAG,QAAQ,CAMhF;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,QAAQ,CAMxE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,QAAQ,CAM5D;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAMtE;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,GAAG,QAAQ,CAM5E;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,QAAQ,CAM1E;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAMtE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,CAAC,GAAG,QAAQ,CAM1E;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,QAAQ,CAM9E"}
@@ -0,0 +1,81 @@
1
+ import { InjectionToken, Type } from '@angular/core';
2
+ import { RecursivePartial } from '@jscrpt/common';
3
+ import { SelectOptions } from '../interfaces/selectOptions/selectOptions.interface';
4
+ import { Interactions, InteractionsOptions, KeyboardHandler, KeyboardHandlerOptions, LiveSearch, LiveSearchOptions, NormalState, NormalStateOptions, OptionsHandler, OptionsHandlerOptions, Popup, PopupOptions, Positioner, PositionerOptions, ReadonlyState, ReadonlyStateOptions, ValueHandler, ValueHandlerOptions } from '../interfaces';
5
+ /**
6
+ * Injection token for 'SelectOptions'
7
+ */
8
+ export declare const SELECT_OPTIONS: InjectionToken<RecursivePartial<SelectOptions>>;
9
+ /**
10
+ * Injection token for 'KeyboardHandler' implementation
11
+ */
12
+ export declare const KEYBOARD_HANDLER_TYPE: InjectionToken<Type<KeyboardHandler>>;
13
+ /**
14
+ * Injection token for 'NormalState' implementation
15
+ */
16
+ export declare const NORMAL_STATE_TYPE: InjectionToken<Type<NormalState>>;
17
+ /**
18
+ * Injection token for 'Popup' implementation
19
+ */
20
+ export declare const POPUP_TYPE: InjectionToken<Type<Popup>>;
21
+ /**
22
+ * Injection token for 'Positioner' implementation
23
+ */
24
+ export declare const POSITIONER_TYPE: InjectionToken<Type<Positioner>>;
25
+ /**
26
+ * Injection token for 'ReadonlyState' implementation
27
+ */
28
+ export declare const READONLY_STATE_TYPE: InjectionToken<Type<ReadonlyState>>;
29
+ /**
30
+ * Injection token for 'ValueHandler' implementation
31
+ */
32
+ export declare const VALUE_HANDLER_TYPE: InjectionToken<Type<ValueHandler>>;
33
+ /**
34
+ * Injection token for 'LiveSearch' implementation
35
+ */
36
+ export declare const LIVE_SEARCH_TYPE: InjectionToken<Type<LiveSearch>>;
37
+ /**
38
+ * Injection token for 'Interactions' implementation
39
+ */
40
+ export declare const INTERACTIONS_TYPE: InjectionToken<Type<Interactions>>;
41
+ /**
42
+ * Injection token for 'OptionsHandler' implementation
43
+ */
44
+ export declare const OPTIONS_HANDLER_TYPE: InjectionToken<Type<OptionsHandler>>;
45
+ /**
46
+ * Injection token for 'KeyboardHandlerOptions' implementation
47
+ */
48
+ export declare const KEYBOARD_HANDLER_OPTIONS: InjectionToken<KeyboardHandlerOptions>;
49
+ /**
50
+ * Injection token for 'NormalStateOptions' implementation
51
+ */
52
+ export declare const NORMAL_STATE_OPTIONS: InjectionToken<NormalStateOptions>;
53
+ /**
54
+ * Injection token for 'PopupOptions' implementation
55
+ */
56
+ export declare const POPUP_OPTIONS: InjectionToken<PopupOptions>;
57
+ /**
58
+ * Injection token for 'PositionerOptions' implementation
59
+ */
60
+ export declare const POSITIONER_OPTIONS: InjectionToken<PositionerOptions>;
61
+ /**
62
+ * Injection token for 'ReadonlyStateOptions' implementation
63
+ */
64
+ export declare const READONLY_STATE_OPTIONS: InjectionToken<ReadonlyStateOptions>;
65
+ /**
66
+ * Injection token for 'ValueHandlerOptions' implementation
67
+ */
68
+ export declare const VALUE_HANDLER_OPTIONS: InjectionToken<ValueHandlerOptions>;
69
+ /**
70
+ * Injection token for 'LiveSearchOptions' implementation
71
+ */
72
+ export declare const LIVE_SEARCH_OPTIONS: InjectionToken<LiveSearchOptions>;
73
+ /**
74
+ * Injection token for 'InteractionsOptions' implementation
75
+ */
76
+ export declare const INTERACTIONS_OPTIONS: InjectionToken<InteractionsOptions>;
77
+ /**
78
+ * Injection token for 'OptionsHandlerOptions' implementation
79
+ */
80
+ export declare const OPTIONS_HANDLER_OPTIONS: InjectionToken<OptionsHandlerOptions>;
81
+ //# sourceMappingURL=tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAC,aAAa,EAAC,MAAM,qDAAqD,CAAC;AAClF,OAAO,EAAC,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,sBAAsB,EAAE,UAAU,EAAE,iBAAiB,EAAE,WAAW,EAAE,kBAAkB,EAAE,cAAc,EAAE,qBAAqB,EAAE,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,iBAAiB,EAAE,aAAa,EAAE,oBAAoB,EAAE,YAAY,EAAE,mBAAmB,EAAC,MAAM,eAAe,CAAC;AAE5U;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,cAAc,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAyE,CAAC;AAErJ;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,IAAI,CAAC,eAAe,CAAC,CAAsE,CAAC;AAE/I;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAA8D,CAAC;AAE/H;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAiD,CAAC;AAErG;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAA2D,CAAC;AAEzH;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,IAAI,CAAC,aAAa,CAAC,CAAkE,CAAC;AAEvI;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAgE,CAAC;AAEnI;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAA4D,CAAC;AAE3H;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAA0D,CAAC;AAE5H;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,CAAoE,CAAC;AAE3I;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,sBAAsB,CAA0E,CAAC;AAEvJ;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,cAAc,CAAC,kBAAkB,CAAkE,CAAC;AAEvI;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,YAAY,CAAqD,CAAC;AAE7G;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,iBAAiB,CAA+D,CAAC;AAEjI;;GAEG;AACH,eAAO,MAAM,sBAAsB,EAAE,cAAc,CAAC,oBAAoB,CAAsE,CAAC;AAE/I;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,mBAAmB,CAAoE,CAAC;AAE3I;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,iBAAiB,CAAgE,CAAC;AAEnI;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,cAAc,CAAC,mBAAmB,CAAmE,CAAC;AAEzI;;GAEG;AACH,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,qBAAqB,CAAwE,CAAC"}
@@ -1,42 +1,22 @@
1
- import { InjectionToken, Type } from '@angular/core';
2
- import { KeyboardHandler } from '../plugins/keyboardHandler';
3
- import { NormalState } from '../plugins/normalState';
4
- import { Popup } from '../plugins/popup';
5
- import { Positioner } from '../plugins/positioner';
6
- import { ReadonlyState } from '../plugins/readonlyState';
7
- import { ValueHandler } from '../plugins/valueHandler';
8
- import { LiveSearch } from '../plugins/liveSearch';
9
- import { NgSelectOptions } from './ngSelectOptions.interface';
1
+ import { SelectApi, SelectCssClasses, SelectOption } from '../interfaces';
10
2
  /**
11
- * Injection token for 'NgSelectOptions'
3
+ * Defintion of action that can be executed on Select
12
4
  */
13
- export declare const NG_SELECT_OPTIONS: InjectionToken<NgSelectOptions>;
5
+ export type SelectAction<TValue = unknown, TCssClasses = SelectCssClasses> = (ngSelect: SelectApi<TValue, TCssClasses>) => void;
14
6
  /**
15
- * Injection token for 'KeyboardHandler' implementation
7
+ * Definition of function that can be executed on Select and returns some data
16
8
  */
17
- export declare const KEYBOARD_HANDLER_TYPE: InjectionToken<Type<KeyboardHandler>>;
9
+ export type SelectFunction<TResult = unknown, TValue = unknown, TCssClasses = SelectCssClasses> = (ngSelect: SelectApi<TValue, TCssClasses>) => TResult;
18
10
  /**
19
- * Injection token for 'NormalState' implementation
11
+ * Definition of function used for transformation of select option into display text
20
12
  */
21
- export declare const NORMAL_STATE_TYPE: InjectionToken<Type<NormalState>>;
13
+ export type DisplayTextFunc<TValue = unknown> = (option: SelectOption<TValue>) => string;
22
14
  /**
23
- * Injection token for 'Popup' implementation
15
+ * Definition of function used for checking equality of select value
24
16
  */
25
- export declare const POPUP_TYPE: InjectionToken<Type<Popup>>;
17
+ export type ValueEqualityFunc<TValue = unknown> = (value: TValue, compare: TValue) => boolean;
26
18
  /**
27
- * Injection token for 'Positioner' implementation
19
+ * Definition of function used for extracting value from select option
28
20
  */
29
- export declare const POSITIONER_TYPE: InjectionToken<Type<Positioner>>;
30
- /**
31
- * Injection token for 'ReadonlyState' implementation
32
- */
33
- export declare const READONLY_STATE_TYPE: InjectionToken<Type<ReadonlyState>>;
34
- /**
35
- * Injection token for 'ValueHandler' implementation
36
- */
37
- export declare const VALUE_HANDLER_TYPE: InjectionToken<Type<ValueHandler>>;
38
- /**
39
- * Injection token for 'LiveSearch' implementation
40
- */
41
- export declare const LIVE_SEARCH_TYPE: InjectionToken<Type<LiveSearch>>;
21
+ export type ValueExtractorFunc<TValue = unknown> = (option: SelectOption<TValue>) => TValue;
42
22
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAC,KAAK,EAAC,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,aAAa,EAAC,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,eAAe,CAA4D,CAAC;AAE3H;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,IAAI,CAAC,eAAe,CAAC,CAAsE,CAAC;AAE/I;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAA8D,CAAC;AAE/H;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,CAAiD,CAAC;AAErG;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAA2D,CAAC;AAEzH;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,IAAI,CAAC,aAAa,CAAC,CAAkE,CAAC;AAEvI;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAgE,CAAC;AAEnI;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAA4D,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,gBAAgB,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAExE;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,MAAM,GAAG,OAAO,EAAE,WAAW,GAAG,gBAAgB,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;AAEhI;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,OAAO,GAAG,OAAO,EAAE,MAAM,GAAG,OAAO,EAAE,WAAW,GAAG,gBAAgB,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,OAAO,CAAC;AAExJ;;GAEG;AACH,MAAM,MAAM,eAAe,CAAC,MAAM,GAAG,OAAO,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC;AAEzF;;GAEG;AACH,MAAM,MAAM,iBAAiB,CAAC,MAAM,GAAG,OAAO,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;AAE9F;;GAEG;AACH,MAAM,MAAM,kBAAkB,CAAC,MAAM,GAAG,OAAO,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ngSelect.module';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -1,28 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "../components/option/option.component";
3
- import * as i2 from "../components/option/optgroup.component";
3
+ import * as i2 from "../components/optionGroup/optgroup.component";
4
4
  import * as i3 from "../components/select/select.component";
5
- import * as i4 from "../plugins/popup/basic/basicPopup.component";
6
- import * as i5 from "../plugins/positioner/no/noPositioner.component";
7
- import * as i6 from "../plugins/liveSearch/no/noLiveSearch.component";
8
- import * as i7 from "../plugins/liveSearch/basic/basicLiveSearch.component";
9
- import * as i8 from "../plugins/normalState/basic/basicNormalState.component";
10
- import * as i9 from "../plugins/positioner/default/defaultPositioner.component";
11
- import * as i10 from "../plugins/valueHandler/basic/basicValueHandler.component";
12
- import * as i11 from "../plugins/keyboardHandler/basic/basicKeyboardHandler.component";
13
- import * as i12 from "@angular/common";
14
- import * as i13 from "../pipes/ngSelectValue.pipe";
15
- import * as i14 from "@anglr/common";
16
- import * as i15 from "../pipes/ngSelectHasValue.pipe";
17
- import * as i16 from "../directives/ngSelectAbsolute/ngSelectAbsolute.directive";
18
- import * as i17 from "../directives/ngSelectPlaceholder/ngSelectPlaceholder.directive";
19
- import * as i18 from "../misc/ngSelectControlValueAccessor.directive";
5
+ import * as i4 from "../pipes/selectValue/selectValue.pipe";
6
+ import * as i5 from "../pipes/selectHasValue/selectHasValue.pipe";
20
7
  /**
21
8
  * Module for select and its options
22
9
  */
23
- export declare class NgSelectModule {
24
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectModule, [typeof i1.OptionComponent, typeof i2.OptGroupComponent, typeof i3.NgSelectComponent, typeof i4.BasicPopupComponent, typeof i5.NoPositionerComponent, typeof i6.NoLiveSearchComponent, typeof i7.BasicLiveSearchComponent, typeof i8.BasicNormalStateComponent, typeof i9.DefaultPositionerComponent, typeof i10.BasicValueHandlerComponent, typeof i11.BasicKeyboardHandlerComponent], [typeof i12.CommonModule, typeof i13.NgSelectValuePipe, typeof i14.CommonDynamicModule, typeof i15.NgSelectHasValuePipe, typeof i16.NgSelectAbsoluteDirective, typeof i17.NgSelectPlaceholderDirective, typeof i18.NgSelectControlValueAccessor], [typeof i1.OptionComponent, typeof i2.OptGroupComponent, typeof i3.NgSelectComponent, typeof i13.NgSelectValuePipe, typeof i15.NgSelectHasValuePipe, typeof i16.NgSelectAbsoluteDirective, typeof i18.NgSelectControlValueAccessor, typeof i17.NgSelectPlaceholderDirective]>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<NgSelectModule>;
10
+ export declare class SelectModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SelectModule, never, [typeof i1.Option, typeof i2.OptGroup, typeof i3.Select, typeof i4.SelectValuePipe, typeof i5.SelectHasValuePipe], [typeof i1.Option, typeof i2.OptGroup, typeof i3.Select, typeof i4.SelectValuePipe, typeof i5.SelectHasValuePipe]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<SelectModule>;
27
14
  }
28
15
  //# sourceMappingURL=ngSelect.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngSelect.module.d.ts","sourceRoot":"","sources":["ngSelect.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAqBA;;GAEG;AACH,qBAsCa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAE1B"}
1
+ {"version":3,"file":"ngSelect.module.d.ts","sourceRoot":"","sources":["ngSelect.module.ts"],"names":[],"mappings":";;;;;;AAKA;;GAEG;AACH,qBAyBa,YAAY;yCAAZ,YAAY;0CAAZ,YAAY;0CAAZ,YAAY;CAExB"}
@@ -1,17 +1 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "../plugins/normalState/edit/editNormalState.component";
3
- import * as i2 from "../plugins/liveSearch/edit/editLiveSearch.component";
4
- import * as i3 from "../plugins/popup/edit/editPopup.component";
5
- import * as i4 from "../plugins/keyboardHandler/edit/editKeyboardHandler.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "./ngSelect.module";
8
- import * as i7 from "../directives/ngSelectEdit/ngSelectEdit.directive";
9
- /**
10
- * Module for select with editation and tags (jira like select)
11
- */
12
- export declare class NgSelectEditModule {
13
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectEditModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectEditModule, [typeof i1.EditNormalStateComponent, typeof i2.EditLiveSearchComponent, typeof i3.EditPopupComponent, typeof i4.EditKeyboardHandlerComponent], [typeof i5.CommonModule, typeof i6.NgSelectModule, typeof i7.NgSelectEditDirective], [typeof i7.NgSelectEditDirective, typeof i1.EditNormalStateComponent, typeof i2.EditLiveSearchComponent, typeof i3.EditPopupComponent, typeof i4.EditKeyboardHandlerComponent]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<NgSelectEditModule>;
16
- }
17
1
  //# sourceMappingURL=ngSelectEdit.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ngSelectEdit.module.d.ts","sourceRoot":"","sources":["ngSelectEdit.module.ts"],"names":[],"mappings":";;;;;;;;AAUA;;GAEG;AACH,qBAwBa,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAE9B"}
1
+ {"version":3,"file":"ngSelectEdit.module.d.ts","sourceRoot":"","sources":["ngSelectEdit.module.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { Interactions, KeyboardHandler, LiveSearch, NormalState, OptionsHandler, Popup, Positioner, ReadonlyState, ValueHandler, SelectPlugin } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Gets instance of select plugin from another plugin instance
6
+ */
7
+ export declare class GetPlugin implements PipeTransform {
8
+ /**
9
+ * Gets instance of select plugin from another plugin instance
10
+ * @param plugin - Plugin instance from which plugin should be retrieved
11
+ * @param pluginType - Name of plugin to be retrieved
12
+ */
13
+ transform(plugin: SelectPlugin, pluginType: 'Interactions'): Interactions;
14
+ transform(plugin: SelectPlugin, pluginType: 'KeyboardHandler'): KeyboardHandler;
15
+ transform(plugin: SelectPlugin, pluginType: 'LiveSearch'): LiveSearch;
16
+ transform(plugin: SelectPlugin, pluginType: 'NormalState'): NormalState;
17
+ transform(plugin: SelectPlugin, pluginType: 'OptionsHandler'): OptionsHandler;
18
+ transform(plugin: SelectPlugin, pluginType: 'Popup'): Popup;
19
+ transform(plugin: SelectPlugin, pluginType: 'Positioner'): Positioner;
20
+ transform(plugin: SelectPlugin, pluginType: 'ReadonlyState'): ReadonlyState;
21
+ transform(plugin: SelectPlugin, pluginType: 'ValueHandler'): ValueHandler;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<GetPlugin, never>;
23
+ static ɵpipe: i0.ɵɵPipeDeclaration<GetPlugin, "getPlugin", true>;
24
+ }
25
+ //# sourceMappingURL=getPlugin.pipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPlugin.pipe.d.ts","sourceRoot":"","sources":["getPlugin.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAGlD,OAAO,EAAC,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAC,MAAM,kBAAkB,CAAC;;AAEtK;;GAEG;AACH,qBACa,SAAU,YAAW,aAAa;IAI3C;;;;OAIG;IACI,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,GAAG,YAAY;IACzE,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,iBAAiB,GAAG,eAAe;IAC/E,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,GAAG,UAAU;IACrE,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,GAAG,WAAW;IACvE,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,gBAAgB,GAAG,cAAc;IAC7E,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,GAAG,KAAK;IAC3D,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,GAAG,UAAU;IACrE,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,GAAG,aAAa;IAC3E,SAAS,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,GAAG,YAAY;yCAjBvE,SAAS;uCAAT,SAAS;CAsBrB"}
@@ -0,0 +1,4 @@
1
+ export * from './getPlugin/getPlugin.pipe';
2
+ export * from './selectHasValue/selectHasValue.pipe';
3
+ export * from './selectValue/selectValue.pipe';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sCAAsC,CAAC;AACrD,cAAc,gCAAgC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { SelectOption } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Pipe that checks whether select has currently any option
6
+ */
7
+ export declare class SelectHasValuePipe<TValue = unknown> implements PipeTransform {
8
+ /**
9
+ * Transforms selected option into boolean indication if there is option selected
10
+ * @param options - Selected options to be transformed into boolean
11
+ */
12
+ transform(options: SelectOption<TValue> | Array<SelectOption<TValue>>): boolean;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectHasValuePipe<any>, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<SelectHasValuePipe<any>, "selectHasValue", true>;
15
+ }
16
+ //# sourceMappingURL=selectHasValue.pipe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectHasValue.pipe.d.ts","sourceRoot":"","sources":["selectHasValue.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAGlD,OAAO,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAC;;AAE9C;;GAEG;AACH,qBACa,kBAAkB,CAAC,MAAM,GAAG,OAAO,CAAE,YAAW,aAAa;IAItE;;;OAGG;IACI,SAAS,CAAC,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,GAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,OAAO;yCAR3E,kBAAkB;uCAAlB,kBAAkB;CAY9B"}