@anglr/select 10.0.0 → 11.0.1-beta.20220222062944

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 (1082) hide show
  1. package/changelog.md +18 -0
  2. package/elements/package.json +7 -6
  3. package/elements/src/components/ngSelectElements.component.d.ts +66 -63
  4. package/elements/src/components/ngSelectElements.component.d.ts.map +1 -1
  5. package/elements/src/components/ngSelectElements.interface.d.ts +46 -46
  6. package/elements/src/components/ngSelectElements.interface.d.ts.map +1 -1
  7. package/elements/src/index.d.ts +3 -3
  8. package/elements/src/modules/ngSelectElements.module.d.ts +20 -11
  9. package/elements/src/modules/ngSelectElements.module.d.ts.map +1 -1
  10. package/es2015/elements/src/components/ngSelectElements.component.js +187 -0
  11. package/es2015/elements/src/components/ngSelectElements.component.js.map +1 -0
  12. package/es2015/elements/src/components/ngSelectElements.interface.js +2 -0
  13. package/es2015/elements/src/components/ngSelectElements.interface.js.map +1 -0
  14. package/es2015/elements/src/index.js +4 -0
  15. package/es2015/elements/src/index.js.map +1 -0
  16. package/es2015/elements/src/modules/ngSelectElements.module.js +52 -0
  17. package/es2015/elements/src/modules/ngSelectElements.module.js.map +1 -0
  18. package/es2015/extensions/src/extensions/getValue.js +2 -0
  19. package/es2015/extensions/src/extensions/getValue.js.map +1 -0
  20. package/es2015/extensions/src/extensions/onFocus.js +2 -0
  21. package/es2015/extensions/src/extensions/onFocus.js.map +1 -0
  22. package/es2015/extensions/src/extensions/patchOptions.js +12 -0
  23. package/es2015/extensions/src/extensions/patchOptions.js.map +1 -0
  24. package/es2015/extensions/src/extensions/reinitializeOptions.js +15 -0
  25. package/es2015/extensions/src/extensions/reinitializeOptions.js.map +1 -0
  26. package/es2015/extensions/src/extensions/setReadonly.js +2 -0
  27. package/es2015/extensions/src/extensions/setReadonly.js.map +1 -0
  28. package/es2015/extensions/src/extensions/setValue.js +2 -0
  29. package/es2015/extensions/src/extensions/setValue.js.map +1 -0
  30. package/es2015/extensions/src/extensions/valueChange.js +2 -0
  31. package/es2015/extensions/src/extensions/valueChange.js.map +1 -0
  32. package/es2015/extensions/src/index.js +8 -0
  33. package/es2015/extensions/src/index.js.map +1 -0
  34. package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js +74 -0
  35. package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -0
  36. package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +2 -0
  37. package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +1 -0
  38. package/es2015/material/src/components/basicDialogPopup/index.js +2 -0
  39. package/es2015/material/src/components/basicDialogPopup/index.js.map +1 -0
  40. package/es2015/material/src/components/basicDialogPopup/types.js +2 -0
  41. package/es2015/material/src/components/basicDialogPopup/types.js.map +1 -0
  42. package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js +75 -0
  43. package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -0
  44. package/es2015/material/src/directives/types.js +2 -0
  45. package/es2015/material/src/directives/types.js.map +1 -0
  46. package/es2015/material/src/index.js +8 -0
  47. package/es2015/material/src/index.js.map +1 -0
  48. package/es2015/material/src/modules/dialogPopup.module.js +43 -0
  49. package/es2015/material/src/modules/dialogPopup.module.js.map +1 -0
  50. package/es2015/material/src/modules/virtualEditPopup.module.js +33 -0
  51. package/es2015/material/src/modules/virtualEditPopup.module.js.map +1 -0
  52. package/es2015/material/src/plugins/popup/components.js +3 -0
  53. package/es2015/material/src/plugins/popup/components.js.map +1 -0
  54. package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js +143 -0
  55. package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -0
  56. package/es2015/material/src/plugins/popup/dialog/dialogPopup.interface.js +2 -0
  57. package/es2015/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +1 -0
  58. package/es2015/material/src/plugins/popup/index.js +3 -0
  59. package/es2015/material/src/plugins/popup/index.js.map +1 -0
  60. package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +92 -0
  61. package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -0
  62. package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +2 -0
  63. package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +1 -0
  64. package/es2015/popperJs/src/index.js +4 -0
  65. package/es2015/popperJs/src/index.js.map +1 -0
  66. package/es2015/popperJs/src/modules/popperjsPositioner.module.js +23 -0
  67. package/es2015/popperJs/src/modules/popperjsPositioner.module.js.map +1 -0
  68. package/es2015/popperJs/src/plugins/positioner/components.js +2 -0
  69. package/es2015/popperJs/src/plugins/positioner/components.js.map +1 -0
  70. package/es2015/popperJs/src/plugins/positioner/index.js +2 -0
  71. package/es2015/popperJs/src/plugins/positioner/index.js.map +1 -0
  72. package/es2015/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +151 -0
  73. package/es2015/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js.map +1 -0
  74. package/es2015/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +2 -0
  75. package/es2015/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js.map +1 -0
  76. package/es2015/src/components/option/index.js +3 -0
  77. package/es2015/src/components/option/index.js.map +1 -0
  78. package/es2015/src/components/option/optgroup.component.js +53 -0
  79. package/es2015/src/components/option/optgroup.component.js.map +1 -0
  80. package/es2015/src/components/option/optgroup.interface.js +2 -0
  81. package/es2015/src/components/option/optgroup.interface.js.map +1 -0
  82. package/es2015/src/components/option/option.component.js +38 -0
  83. package/es2015/src/components/option/option.component.js.map +1 -0
  84. package/es2015/src/components/option/option.interface.js +2 -0
  85. package/es2015/src/components/option/option.interface.js.map +1 -0
  86. package/es2015/src/components/select/index.js +2 -0
  87. package/es2015/src/components/select/index.js.map +1 -0
  88. package/es2015/src/components/select/select.component.js +605 -0
  89. package/es2015/src/components/select/select.component.js.map +1 -0
  90. package/es2015/src/components/select/select.interface.js +2 -0
  91. package/es2015/src/components/select/select.interface.js.map +1 -0
  92. package/es2015/src/components/select/types.js +6 -0
  93. package/es2015/src/components/select/types.js.map +1 -0
  94. package/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +25 -0
  95. package/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +1 -0
  96. package/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js +66 -0
  97. package/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +1 -0
  98. package/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +42 -0
  99. package/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +1 -0
  100. package/es2015/src/index.js +40 -0
  101. package/es2015/src/index.js.map +1 -0
  102. package/es2015/src/index.ssr.js +10 -0
  103. package/es2015/src/index.ssr.js.map +1 -0
  104. package/es2015/src/misc/extensions/getValue.js +12 -0
  105. package/es2015/src/misc/extensions/getValue.js.map +1 -0
  106. package/es2015/src/misc/extensions/index.js +6 -0
  107. package/es2015/src/misc/extensions/index.js.map +1 -0
  108. package/es2015/src/misc/extensions/onFocus.js +10 -0
  109. package/es2015/src/misc/extensions/onFocus.js.map +1 -0
  110. package/es2015/src/misc/extensions/setReadonly.js +18 -0
  111. package/es2015/src/misc/extensions/setReadonly.js.map +1 -0
  112. package/es2015/src/misc/extensions/setValue.js +13 -0
  113. package/es2015/src/misc/extensions/setValue.js.map +1 -0
  114. package/es2015/src/misc/extensions/valueChange.js +12 -0
  115. package/es2015/src/misc/extensions/valueChange.js.map +1 -0
  116. package/es2015/src/misc/index.js +6 -0
  117. package/es2015/src/misc/index.js.map +1 -0
  118. package/es2015/src/misc/ngSelectControlValueAccessor.directive.js +163 -0
  119. package/es2015/src/misc/ngSelectControlValueAccessor.directive.js.map +1 -0
  120. package/es2015/src/misc/ngSelectOptions.interface.js +2 -0
  121. package/es2015/src/misc/ngSelectOptions.interface.js.map +1 -0
  122. package/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js +83 -0
  123. package/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -0
  124. package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +2 -0
  125. package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +1 -0
  126. package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js +123 -0
  127. package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -0
  128. package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js +111 -0
  129. package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -0
  130. package/es2015/src/misc/optionsGatherer/optionsGatherer.interface.js +2 -0
  131. package/es2015/src/misc/optionsGatherer/optionsGatherer.interface.js.map +1 -0
  132. package/es2015/src/misc/optionsGatherer/types.js +4 -0
  133. package/es2015/src/misc/optionsGatherer/types.js.map +1 -0
  134. package/es2015/src/misc/plugin.interface.js +2 -0
  135. package/es2015/src/misc/plugin.interface.js.map +1 -0
  136. package/es2015/src/misc/pluginBus/pluginBus.interface.js +2 -0
  137. package/es2015/src/misc/pluginBus/pluginBus.interface.js.map +1 -0
  138. package/es2015/src/misc/pluginBus/pluginBus.js +44 -0
  139. package/es2015/src/misc/pluginBus/pluginBus.js.map +1 -0
  140. package/es2015/src/misc/templateGatherer.interface.js +2 -0
  141. package/es2015/src/misc/templateGatherer.interface.js.map +1 -0
  142. package/es2015/src/misc/types.js +34 -0
  143. package/es2015/src/misc/types.js.map +1 -0
  144. package/es2015/src/modules/ngSelect.module.js +92 -0
  145. package/es2015/src/modules/ngSelect.module.js.map +1 -0
  146. package/es2015/src/modules/ngSelectDynamic.module.js +20 -0
  147. package/es2015/src/modules/ngSelectDynamic.module.js.map +1 -0
  148. package/es2015/src/modules/ngSelectEdit.module.js +53 -0
  149. package/es2015/src/modules/ngSelectEdit.module.js.map +1 -0
  150. package/es2015/src/pipes/ngSelectHasValue.pipe.js +23 -0
  151. package/es2015/src/pipes/ngSelectHasValue.pipe.js.map +1 -0
  152. package/es2015/src/pipes/ngSelectValue.pipe.js +31 -0
  153. package/es2015/src/pipes/ngSelectValue.pipe.js.map +1 -0
  154. package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +145 -0
  155. package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +1 -0
  156. package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +2 -0
  157. package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +1 -0
  158. package/es2015/src/plugins/keyboardHandler/components.js +3 -0
  159. package/es2015/src/plugins/keyboardHandler/components.js.map +1 -0
  160. package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +196 -0
  161. package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +1 -0
  162. package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +2 -0
  163. package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +1 -0
  164. package/es2015/src/plugins/keyboardHandler/index.js +4 -0
  165. package/es2015/src/plugins/keyboardHandler/index.js.map +1 -0
  166. package/es2015/src/plugins/keyboardHandler/keyboardHandler.interface.js +2 -0
  167. package/es2015/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +1 -0
  168. package/es2015/src/plugins/keyboardHandler/types.js +10 -0
  169. package/es2015/src/plugins/keyboardHandler/types.js.map +1 -0
  170. package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js +169 -0
  171. package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +1 -0
  172. package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +2 -0
  173. package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +1 -0
  174. package/es2015/src/plugins/liveSearch/components.js +4 -0
  175. package/es2015/src/plugins/liveSearch/components.js.map +1 -0
  176. package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js +318 -0
  177. package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +1 -0
  178. package/es2015/src/plugins/liveSearch/edit/editLiveSearch.interface.js +2 -0
  179. package/es2015/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +1 -0
  180. package/es2015/src/plugins/liveSearch/index.js +5 -0
  181. package/es2015/src/plugins/liveSearch/index.js.map +1 -0
  182. package/es2015/src/plugins/liveSearch/liveSearch.interface.js +2 -0
  183. package/es2015/src/plugins/liveSearch/liveSearch.interface.js.map +1 -0
  184. package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js +64 -0
  185. package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js.map +1 -0
  186. package/es2015/src/plugins/liveSearch/no/noLiveSearch.interface.js +2 -0
  187. package/es2015/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +1 -0
  188. package/es2015/src/plugins/liveSearch/types.js +10 -0
  189. package/es2015/src/plugins/liveSearch/types.js.map +1 -0
  190. package/es2015/src/plugins/normalState/basic/basicNormalState.component.js +58 -0
  191. package/es2015/src/plugins/normalState/basic/basicNormalState.component.js.map +1 -0
  192. package/es2015/src/plugins/normalState/basic/basicNormalState.interface.js +2 -0
  193. package/es2015/src/plugins/normalState/basic/basicNormalState.interface.js.map +1 -0
  194. package/es2015/src/plugins/normalState/components.js +4 -0
  195. package/es2015/src/plugins/normalState/components.js.map +1 -0
  196. package/es2015/src/plugins/normalState/edit/editNormalState.component.js +89 -0
  197. package/es2015/src/plugins/normalState/edit/editNormalState.component.js.map +1 -0
  198. package/es2015/src/plugins/normalState/edit/editNormalState.interface.js +2 -0
  199. package/es2015/src/plugins/normalState/edit/editNormalState.interface.js.map +1 -0
  200. package/es2015/src/plugins/normalState/index.js +4 -0
  201. package/es2015/src/plugins/normalState/index.js.map +1 -0
  202. package/es2015/src/plugins/normalState/normalState.interface.js +2 -0
  203. package/es2015/src/plugins/normalState/normalState.interface.js.map +1 -0
  204. package/es2015/src/plugins/normalState/normalStateAbstract.component.js +93 -0
  205. package/es2015/src/plugins/normalState/normalStateAbstract.component.js.map +1 -0
  206. package/es2015/src/plugins/normalState/types.js +10 -0
  207. package/es2015/src/plugins/normalState/types.js.map +1 -0
  208. package/es2015/src/plugins/popup/basic/basicPopup.component.js +62 -0
  209. package/es2015/src/plugins/popup/basic/basicPopup.component.js.map +1 -0
  210. package/es2015/src/plugins/popup/basic/basicPopup.interface.js +2 -0
  211. package/es2015/src/plugins/popup/basic/basicPopup.interface.js.map +1 -0
  212. package/es2015/src/plugins/popup/component.js +4 -0
  213. package/es2015/src/plugins/popup/component.js.map +1 -0
  214. package/es2015/src/plugins/popup/edit/editPopup.component.js +85 -0
  215. package/es2015/src/plugins/popup/edit/editPopup.component.js.map +1 -0
  216. package/es2015/src/plugins/popup/edit/editPopup.interface.js +2 -0
  217. package/es2015/src/plugins/popup/edit/editPopup.interface.js.map +1 -0
  218. package/es2015/src/plugins/popup/index.js +4 -0
  219. package/es2015/src/plugins/popup/index.js.map +1 -0
  220. package/es2015/src/plugins/popup/popup.interface.js +2 -0
  221. package/es2015/src/plugins/popup/popup.interface.js.map +1 -0
  222. package/es2015/src/plugins/popup/popupAbstract.component.js +203 -0
  223. package/es2015/src/plugins/popup/popupAbstract.component.js.map +1 -0
  224. package/es2015/src/plugins/popup/types.js +10 -0
  225. package/es2015/src/plugins/popup/types.js.map +1 -0
  226. package/es2015/src/plugins/positioner/basic/basicPositioner.component.js +193 -0
  227. package/es2015/src/plugins/positioner/basic/basicPositioner.component.js.map +1 -0
  228. package/es2015/src/plugins/positioner/basic/basicPositioner.interface.js +2 -0
  229. package/es2015/src/plugins/positioner/basic/basicPositioner.interface.js.map +1 -0
  230. package/es2015/src/plugins/positioner/basic/types.js +36 -0
  231. package/es2015/src/plugins/positioner/basic/types.js.map +1 -0
  232. package/es2015/src/plugins/positioner/components.js +3 -0
  233. package/es2015/src/plugins/positioner/components.js.map +1 -0
  234. package/es2015/src/plugins/positioner/index.js +4 -0
  235. package/es2015/src/plugins/positioner/index.js.map +1 -0
  236. package/es2015/src/plugins/positioner/no/noPositioner.component.js +68 -0
  237. package/es2015/src/plugins/positioner/no/noPositioner.component.js.map +1 -0
  238. package/es2015/src/plugins/positioner/no/noPositioner.interface.js +2 -0
  239. package/es2015/src/plugins/positioner/no/noPositioner.interface.js.map +1 -0
  240. package/es2015/src/plugins/positioner/positioner.interface.js +2 -0
  241. package/es2015/src/plugins/positioner/positioner.interface.js.map +1 -0
  242. package/es2015/src/plugins/positioner/types.js +11 -0
  243. package/es2015/src/plugins/positioner/types.js.map +1 -0
  244. package/es2015/src/plugins/readonlyState/index.js +2 -0
  245. package/es2015/src/plugins/readonlyState/index.js.map +1 -0
  246. package/es2015/src/plugins/readonlyState/readonlyState.interface.js +2 -0
  247. package/es2015/src/plugins/readonlyState/readonlyState.interface.js.map +1 -0
  248. package/es2015/src/plugins/readonlyState/types.js +10 -0
  249. package/es2015/src/plugins/readonlyState/types.js.map +1 -0
  250. package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js +157 -0
  251. package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +1 -0
  252. package/es2015/src/plugins/valueHandler/basic/basicValueHandler.interface.js +2 -0
  253. package/es2015/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +1 -0
  254. package/es2015/src/plugins/valueHandler/components.js +3 -0
  255. package/es2015/src/plugins/valueHandler/components.js.map +1 -0
  256. package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +182 -0
  257. package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +1 -0
  258. package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +2 -0
  259. package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +1 -0
  260. package/es2015/src/plugins/valueHandler/index.js +5 -0
  261. package/es2015/src/plugins/valueHandler/index.js.map +1 -0
  262. package/es2015/src/plugins/valueHandler/types.js +10 -0
  263. package/es2015/src/plugins/valueHandler/types.js.map +1 -0
  264. package/es2015/src/plugins/valueHandler/valueHandler.interface.js +2 -0
  265. package/es2015/src/plugins/valueHandler/valueHandler.interface.js.map +1 -0
  266. package/es2015/src/plugins/valueHandler/valueHandlerBase.js +150 -0
  267. package/es2015/src/plugins/valueHandler/valueHandlerBase.js.map +1 -0
  268. package/es2020/elements/src/components/ngSelectElements.component.js +187 -0
  269. package/es2020/elements/src/components/ngSelectElements.component.js.map +1 -0
  270. package/es2020/elements/src/components/ngSelectElements.interface.js +2 -0
  271. package/es2020/elements/src/components/ngSelectElements.interface.js.map +1 -0
  272. package/es2020/elements/src/index.js +4 -0
  273. package/es2020/elements/src/index.js.map +1 -0
  274. package/es2020/elements/src/modules/ngSelectElements.module.js +52 -0
  275. package/es2020/elements/src/modules/ngSelectElements.module.js.map +1 -0
  276. package/es2020/extensions/src/extensions/getValue.js +2 -0
  277. package/es2020/extensions/src/extensions/getValue.js.map +1 -0
  278. package/es2020/extensions/src/extensions/onFocus.js +2 -0
  279. package/es2020/extensions/src/extensions/onFocus.js.map +1 -0
  280. package/es2020/extensions/src/extensions/patchOptions.js +12 -0
  281. package/es2020/extensions/src/extensions/patchOptions.js.map +1 -0
  282. package/es2020/extensions/src/extensions/reinitializeOptions.js +15 -0
  283. package/es2020/extensions/src/extensions/reinitializeOptions.js.map +1 -0
  284. package/es2020/extensions/src/extensions/setReadonly.js +2 -0
  285. package/es2020/extensions/src/extensions/setReadonly.js.map +1 -0
  286. package/es2020/extensions/src/extensions/setValue.js +2 -0
  287. package/es2020/extensions/src/extensions/setValue.js.map +1 -0
  288. package/es2020/extensions/src/extensions/valueChange.js +2 -0
  289. package/es2020/extensions/src/extensions/valueChange.js.map +1 -0
  290. package/es2020/extensions/src/index.js +8 -0
  291. package/es2020/extensions/src/index.js.map +1 -0
  292. package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js +73 -0
  293. package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -0
  294. package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +2 -0
  295. package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +1 -0
  296. package/es2020/material/src/components/basicDialogPopup/index.js +2 -0
  297. package/es2020/material/src/components/basicDialogPopup/index.js.map +1 -0
  298. package/es2020/material/src/components/basicDialogPopup/types.js +2 -0
  299. package/es2020/material/src/components/basicDialogPopup/types.js.map +1 -0
  300. package/es2020/material/src/directives/dialogPopup/dialogPopup.directive.js +75 -0
  301. package/es2020/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -0
  302. package/es2020/material/src/directives/types.js +2 -0
  303. package/es2020/material/src/directives/types.js.map +1 -0
  304. package/es2020/material/src/index.js +8 -0
  305. package/es2020/material/src/index.js.map +1 -0
  306. package/es2020/material/src/modules/dialogPopup.module.js +43 -0
  307. package/es2020/material/src/modules/dialogPopup.module.js.map +1 -0
  308. package/es2020/material/src/modules/virtualEditPopup.module.js +33 -0
  309. package/es2020/material/src/modules/virtualEditPopup.module.js.map +1 -0
  310. package/es2020/material/src/plugins/popup/components.js +3 -0
  311. package/es2020/material/src/plugins/popup/components.js.map +1 -0
  312. package/es2020/material/src/plugins/popup/dialog/dialogPopup.component.js +140 -0
  313. package/es2020/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -0
  314. package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js +2 -0
  315. package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +1 -0
  316. package/es2020/material/src/plugins/popup/index.js +3 -0
  317. package/es2020/material/src/plugins/popup/index.js.map +1 -0
  318. package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +89 -0
  319. package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -0
  320. package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +2 -0
  321. package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +1 -0
  322. package/es2020/popperJs/src/index.js +4 -0
  323. package/es2020/popperJs/src/index.js.map +1 -0
  324. package/es2020/popperJs/src/modules/popperjsPositioner.module.js +23 -0
  325. package/es2020/popperJs/src/modules/popperjsPositioner.module.js.map +1 -0
  326. package/es2020/popperJs/src/plugins/positioner/components.js +2 -0
  327. package/es2020/popperJs/src/plugins/positioner/components.js.map +1 -0
  328. package/es2020/popperJs/src/plugins/positioner/index.js +2 -0
  329. package/es2020/popperJs/src/plugins/positioner/index.js.map +1 -0
  330. package/es2020/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +148 -0
  331. package/es2020/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js.map +1 -0
  332. package/es2020/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +2 -0
  333. package/es2020/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js.map +1 -0
  334. package/es2020/src/components/option/index.js +3 -0
  335. package/es2020/src/components/option/index.js.map +1 -0
  336. package/es2020/src/components/option/optgroup.component.js +53 -0
  337. package/es2020/src/components/option/optgroup.component.js.map +1 -0
  338. package/es2020/src/components/option/optgroup.interface.js +2 -0
  339. package/es2020/src/components/option/optgroup.interface.js.map +1 -0
  340. package/es2020/src/components/option/option.component.js +38 -0
  341. package/es2020/src/components/option/option.component.js.map +1 -0
  342. package/es2020/src/components/option/option.interface.js +2 -0
  343. package/es2020/src/components/option/option.interface.js.map +1 -0
  344. package/es2020/src/components/select/index.js +2 -0
  345. package/es2020/src/components/select/index.js.map +1 -0
  346. package/es2020/src/components/select/select.component.js +603 -0
  347. package/es2020/src/components/select/select.component.js.map +1 -0
  348. package/es2020/src/components/select/select.interface.js +2 -0
  349. package/es2020/src/components/select/select.interface.js.map +1 -0
  350. package/es2020/src/components/select/types.js +6 -0
  351. package/es2020/src/components/select/types.js.map +1 -0
  352. package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +25 -0
  353. package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +1 -0
  354. package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js +66 -0
  355. package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +1 -0
  356. package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +42 -0
  357. package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +1 -0
  358. package/es2020/src/index.js +40 -0
  359. package/es2020/src/index.js.map +1 -0
  360. package/es2020/src/index.ssr.js +10 -0
  361. package/es2020/src/index.ssr.js.map +1 -0
  362. package/es2020/src/misc/extensions/getValue.js +12 -0
  363. package/es2020/src/misc/extensions/getValue.js.map +1 -0
  364. package/es2020/src/misc/extensions/index.js +6 -0
  365. package/es2020/src/misc/extensions/index.js.map +1 -0
  366. package/es2020/src/misc/extensions/onFocus.js +10 -0
  367. package/es2020/src/misc/extensions/onFocus.js.map +1 -0
  368. package/es2020/src/misc/extensions/setReadonly.js +18 -0
  369. package/es2020/src/misc/extensions/setReadonly.js.map +1 -0
  370. package/es2020/src/misc/extensions/setValue.js +13 -0
  371. package/es2020/src/misc/extensions/setValue.js.map +1 -0
  372. package/es2020/src/misc/extensions/valueChange.js +12 -0
  373. package/es2020/src/misc/extensions/valueChange.js.map +1 -0
  374. package/es2020/src/misc/index.js +6 -0
  375. package/es2020/src/misc/index.js.map +1 -0
  376. package/es2020/src/misc/ngSelectControlValueAccessor.directive.js +162 -0
  377. package/es2020/src/misc/ngSelectControlValueAccessor.directive.js.map +1 -0
  378. package/es2020/src/misc/ngSelectOptions.interface.js +2 -0
  379. package/es2020/src/misc/ngSelectOptions.interface.js.map +1 -0
  380. package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js +83 -0
  381. package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -0
  382. package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +2 -0
  383. package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +1 -0
  384. package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.js +118 -0
  385. package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -0
  386. package/es2020/src/misc/optionsGatherer/excludingOptionsGatherer.js +110 -0
  387. package/es2020/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -0
  388. package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js +2 -0
  389. package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js.map +1 -0
  390. package/es2020/src/misc/optionsGatherer/types.js +4 -0
  391. package/es2020/src/misc/optionsGatherer/types.js.map +1 -0
  392. package/es2020/src/misc/plugin.interface.js +2 -0
  393. package/es2020/src/misc/plugin.interface.js.map +1 -0
  394. package/es2020/src/misc/pluginBus/pluginBus.interface.js +2 -0
  395. package/es2020/src/misc/pluginBus/pluginBus.interface.js.map +1 -0
  396. package/es2020/src/misc/pluginBus/pluginBus.js +44 -0
  397. package/es2020/src/misc/pluginBus/pluginBus.js.map +1 -0
  398. package/es2020/src/misc/templateGatherer.interface.js +2 -0
  399. package/es2020/src/misc/templateGatherer.interface.js.map +1 -0
  400. package/es2020/src/misc/types.js +34 -0
  401. package/es2020/src/misc/types.js.map +1 -0
  402. package/es2020/src/modules/ngSelect.module.js +92 -0
  403. package/es2020/src/modules/ngSelect.module.js.map +1 -0
  404. package/es2020/src/modules/ngSelectDynamic.module.js +20 -0
  405. package/es2020/src/modules/ngSelectDynamic.module.js.map +1 -0
  406. package/es2020/src/modules/ngSelectEdit.module.js +53 -0
  407. package/es2020/src/modules/ngSelectEdit.module.js.map +1 -0
  408. package/es2020/src/pipes/ngSelectHasValue.pipe.js +23 -0
  409. package/es2020/src/pipes/ngSelectHasValue.pipe.js.map +1 -0
  410. package/es2020/src/pipes/ngSelectValue.pipe.js +31 -0
  411. package/es2020/src/pipes/ngSelectValue.pipe.js.map +1 -0
  412. package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +145 -0
  413. package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +1 -0
  414. package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +2 -0
  415. package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +1 -0
  416. package/es2020/src/plugins/keyboardHandler/components.js +3 -0
  417. package/es2020/src/plugins/keyboardHandler/components.js.map +1 -0
  418. package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +196 -0
  419. package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +1 -0
  420. package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +2 -0
  421. package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +1 -0
  422. package/es2020/src/plugins/keyboardHandler/index.js +4 -0
  423. package/es2020/src/plugins/keyboardHandler/index.js.map +1 -0
  424. package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js +2 -0
  425. package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +1 -0
  426. package/es2020/src/plugins/keyboardHandler/types.js +10 -0
  427. package/es2020/src/plugins/keyboardHandler/types.js.map +1 -0
  428. package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.component.js +167 -0
  429. package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +1 -0
  430. package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +2 -0
  431. package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +1 -0
  432. package/es2020/src/plugins/liveSearch/components.js +4 -0
  433. package/es2020/src/plugins/liveSearch/components.js.map +1 -0
  434. package/es2020/src/plugins/liveSearch/edit/editLiveSearch.component.js +315 -0
  435. package/es2020/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +1 -0
  436. package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js +2 -0
  437. package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +1 -0
  438. package/es2020/src/plugins/liveSearch/index.js +5 -0
  439. package/es2020/src/plugins/liveSearch/index.js.map +1 -0
  440. package/es2020/src/plugins/liveSearch/liveSearch.interface.js +2 -0
  441. package/es2020/src/plugins/liveSearch/liveSearch.interface.js.map +1 -0
  442. package/es2020/src/plugins/liveSearch/no/noLiveSearch.component.js +64 -0
  443. package/es2020/src/plugins/liveSearch/no/noLiveSearch.component.js.map +1 -0
  444. package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js +2 -0
  445. package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +1 -0
  446. package/es2020/src/plugins/liveSearch/types.js +10 -0
  447. package/es2020/src/plugins/liveSearch/types.js.map +1 -0
  448. package/es2020/src/plugins/normalState/basic/basicNormalState.component.js +58 -0
  449. package/es2020/src/plugins/normalState/basic/basicNormalState.component.js.map +1 -0
  450. package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js +2 -0
  451. package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js.map +1 -0
  452. package/es2020/src/plugins/normalState/components.js +4 -0
  453. package/es2020/src/plugins/normalState/components.js.map +1 -0
  454. package/es2020/src/plugins/normalState/edit/editNormalState.component.js +88 -0
  455. package/es2020/src/plugins/normalState/edit/editNormalState.component.js.map +1 -0
  456. package/es2020/src/plugins/normalState/edit/editNormalState.interface.js +2 -0
  457. package/es2020/src/plugins/normalState/edit/editNormalState.interface.js.map +1 -0
  458. package/es2020/src/plugins/normalState/index.js +4 -0
  459. package/es2020/src/plugins/normalState/index.js.map +1 -0
  460. package/es2020/src/plugins/normalState/normalState.interface.js +2 -0
  461. package/es2020/src/plugins/normalState/normalState.interface.js.map +1 -0
  462. package/es2020/src/plugins/normalState/normalStateAbstract.component.js +92 -0
  463. package/es2020/src/plugins/normalState/normalStateAbstract.component.js.map +1 -0
  464. package/es2020/src/plugins/normalState/types.js +10 -0
  465. package/es2020/src/plugins/normalState/types.js.map +1 -0
  466. package/es2020/src/plugins/popup/basic/basicPopup.component.js +62 -0
  467. package/es2020/src/plugins/popup/basic/basicPopup.component.js.map +1 -0
  468. package/es2020/src/plugins/popup/basic/basicPopup.interface.js +2 -0
  469. package/es2020/src/plugins/popup/basic/basicPopup.interface.js.map +1 -0
  470. package/es2020/src/plugins/popup/component.js +4 -0
  471. package/es2020/src/plugins/popup/component.js.map +1 -0
  472. package/es2020/src/plugins/popup/edit/editPopup.component.js +85 -0
  473. package/es2020/src/plugins/popup/edit/editPopup.component.js.map +1 -0
  474. package/es2020/src/plugins/popup/edit/editPopup.interface.js +2 -0
  475. package/es2020/src/plugins/popup/edit/editPopup.interface.js.map +1 -0
  476. package/es2020/src/plugins/popup/index.js +4 -0
  477. package/es2020/src/plugins/popup/index.js.map +1 -0
  478. package/es2020/src/plugins/popup/popup.interface.js +2 -0
  479. package/es2020/src/plugins/popup/popup.interface.js.map +1 -0
  480. package/es2020/src/plugins/popup/popupAbstract.component.js +202 -0
  481. package/es2020/src/plugins/popup/popupAbstract.component.js.map +1 -0
  482. package/es2020/src/plugins/popup/types.js +10 -0
  483. package/es2020/src/plugins/popup/types.js.map +1 -0
  484. package/es2020/src/plugins/positioner/basic/basicPositioner.component.js +190 -0
  485. package/es2020/src/plugins/positioner/basic/basicPositioner.component.js.map +1 -0
  486. package/es2020/src/plugins/positioner/basic/basicPositioner.interface.js +2 -0
  487. package/es2020/src/plugins/positioner/basic/basicPositioner.interface.js.map +1 -0
  488. package/es2020/src/plugins/positioner/basic/types.js +36 -0
  489. package/es2020/src/plugins/positioner/basic/types.js.map +1 -0
  490. package/es2020/src/plugins/positioner/components.js +3 -0
  491. package/es2020/src/plugins/positioner/components.js.map +1 -0
  492. package/es2020/src/plugins/positioner/index.js +4 -0
  493. package/es2020/src/plugins/positioner/index.js.map +1 -0
  494. package/es2020/src/plugins/positioner/no/noPositioner.component.js +68 -0
  495. package/es2020/src/plugins/positioner/no/noPositioner.component.js.map +1 -0
  496. package/es2020/src/plugins/positioner/no/noPositioner.interface.js +2 -0
  497. package/es2020/src/plugins/positioner/no/noPositioner.interface.js.map +1 -0
  498. package/es2020/src/plugins/positioner/positioner.interface.js +2 -0
  499. package/es2020/src/plugins/positioner/positioner.interface.js.map +1 -0
  500. package/es2020/src/plugins/positioner/types.js +11 -0
  501. package/es2020/src/plugins/positioner/types.js.map +1 -0
  502. package/es2020/src/plugins/readonlyState/index.js +2 -0
  503. package/es2020/src/plugins/readonlyState/index.js.map +1 -0
  504. package/es2020/src/plugins/readonlyState/readonlyState.interface.js +2 -0
  505. package/es2020/src/plugins/readonlyState/readonlyState.interface.js.map +1 -0
  506. package/es2020/src/plugins/readonlyState/types.js +10 -0
  507. package/es2020/src/plugins/readonlyState/types.js.map +1 -0
  508. package/es2020/src/plugins/valueHandler/basic/basicValueHandler.component.js +157 -0
  509. package/es2020/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +1 -0
  510. package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js +2 -0
  511. package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +1 -0
  512. package/es2020/src/plugins/valueHandler/components.js +3 -0
  513. package/es2020/src/plugins/valueHandler/components.js.map +1 -0
  514. package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +177 -0
  515. package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +1 -0
  516. package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +2 -0
  517. package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +1 -0
  518. package/es2020/src/plugins/valueHandler/index.js +5 -0
  519. package/es2020/src/plugins/valueHandler/index.js.map +1 -0
  520. package/es2020/src/plugins/valueHandler/types.js +10 -0
  521. package/es2020/src/plugins/valueHandler/types.js.map +1 -0
  522. package/es2020/src/plugins/valueHandler/valueHandler.interface.js +2 -0
  523. package/es2020/src/plugins/valueHandler/valueHandler.interface.js.map +1 -0
  524. package/es2020/src/plugins/valueHandler/valueHandlerBase.js +145 -0
  525. package/es2020/src/plugins/valueHandler/valueHandlerBase.js.map +1 -0
  526. package/extensions/package.json +7 -6
  527. package/extensions/src/extensions/getValue.d.ts +1 -1
  528. package/extensions/src/extensions/onFocus.d.ts +1 -1
  529. package/extensions/src/extensions/patchOptions.d.ts +6 -6
  530. package/extensions/src/extensions/reinitializeOptions.d.ts +6 -6
  531. package/extensions/src/extensions/setReadonly.d.ts +1 -1
  532. package/extensions/src/extensions/setValue.d.ts +1 -1
  533. package/extensions/src/extensions/valueChange.d.ts +1 -1
  534. package/extensions/src/index.d.ts +8 -0
  535. package/extensions/src/index.d.ts.map +1 -0
  536. package/material/package.json +7 -7
  537. package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts +46 -43
  538. package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts.map +1 -1
  539. package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts +23 -23
  540. package/material/src/components/basicDialogPopup/index.d.ts +1 -1
  541. package/material/src/components/basicDialogPopup/types.d.ts +1 -1
  542. package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts +26 -23
  543. package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts.map +1 -1
  544. package/material/src/directives/types.d.ts +1 -1
  545. package/material/src/index.d.ts +8 -0
  546. package/material/src/index.d.ts.map +1 -0
  547. package/material/src/modules/dialogPopup.module.d.ts +14 -5
  548. package/material/src/modules/dialogPopup.module.d.ts.map +1 -1
  549. package/material/src/modules/virtualEditPopup.module.d.ts +12 -5
  550. package/material/src/modules/virtualEditPopup.module.d.ts.map +1 -1
  551. package/material/src/plugins/popup/components.d.ts +2 -2
  552. package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts +82 -79
  553. package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts.map +1 -1
  554. package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts +59 -59
  555. package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts.map +1 -1
  556. package/material/src/plugins/popup/index.d.ts +2 -2
  557. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts +29 -26
  558. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts.map +1 -1
  559. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts +16 -16
  560. package/package.json +123 -63
  561. package/popperJs/package.json +8 -8
  562. package/popperJs/src/index.d.ts +4 -0
  563. package/popperJs/src/index.d.ts.map +1 -0
  564. package/popperJs/src/modules/popperjsPositioner.module.d.ts +10 -5
  565. package/popperJs/src/modules/popperjsPositioner.module.d.ts.map +1 -1
  566. package/popperJs/src/plugins/positioner/components.d.ts +1 -1
  567. package/popperJs/src/plugins/positioner/index.d.ts +1 -1
  568. package/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.d.ts +77 -74
  569. package/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.d.ts.map +1 -1
  570. package/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.d.ts +11 -11
  571. package/src/components/option/index.d.ts +2 -2
  572. package/src/components/option/optgroup.component.d.ts +36 -33
  573. package/src/components/option/optgroup.component.d.ts.map +1 -1
  574. package/src/components/option/optgroup.interface.d.ts +19 -19
  575. package/src/components/option/option.component.d.ts +29 -26
  576. package/src/components/option/option.component.d.ts.map +1 -1
  577. package/src/components/option/option.interface.d.ts +30 -30
  578. package/src/components/select/index.d.ts +1 -1
  579. package/src/components/select/select.component.d.ts +255 -270
  580. package/src/components/select/select.component.d.ts.map +1 -1
  581. package/src/components/select/select.interface.d.ts +67 -67
  582. package/src/components/select/types.d.ts +6 -6
  583. package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts +10 -7
  584. package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts.map +1 -1
  585. package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts +10 -7
  586. package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts.map +1 -1
  587. package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts +20 -17
  588. package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts.map +1 -1
  589. package/src/index.d.ts +40 -0
  590. package/src/index.d.ts.map +1 -0
  591. package/src/index.ssr.d.ts +1 -0
  592. package/src/index.ssr.d.ts.map +1 -0
  593. package/src/misc/extensions/getValue.d.ts +6 -5
  594. package/src/misc/extensions/getValue.d.ts.map +1 -1
  595. package/src/misc/extensions/index.d.ts +5 -5
  596. package/src/misc/extensions/onFocus.d.ts +7 -6
  597. package/src/misc/extensions/onFocus.d.ts.map +1 -1
  598. package/src/misc/extensions/setReadonly.d.ts +7 -6
  599. package/src/misc/extensions/setReadonly.d.ts.map +1 -1
  600. package/src/misc/extensions/setValue.d.ts +7 -6
  601. package/src/misc/extensions/setValue.d.ts.map +1 -1
  602. package/src/misc/extensions/valueChange.d.ts +7 -6
  603. package/src/misc/extensions/valueChange.d.ts.map +1 -1
  604. package/src/misc/index.d.ts +5 -5
  605. package/src/misc/ngSelectControlValueAccessor.directive.d.ts +62 -64
  606. package/src/misc/ngSelectControlValueAccessor.directive.d.ts.map +1 -1
  607. package/src/misc/ngSelectOptions.interface.d.ts +86 -86
  608. package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts +69 -69
  609. package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts +85 -85
  610. package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts +28 -28
  611. package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts +72 -72
  612. package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts +52 -52
  613. package/src/misc/optionsGatherer/types.d.ts +3 -3
  614. package/src/misc/plugin.interface.d.ts +107 -107
  615. package/src/misc/plugin.interface.d.ts.map +1 -1
  616. package/src/misc/pluginBus/pluginBus.d.ts +48 -45
  617. package/src/misc/pluginBus/pluginBus.d.ts.map +1 -1
  618. package/src/misc/pluginBus/pluginBus.interface.d.ts +35 -35
  619. package/src/misc/templateGatherer.interface.d.ts +16 -16
  620. package/src/misc/types.d.ts +41 -41
  621. package/src/modules/ngSelect.module.d.ts +27 -5
  622. package/src/modules/ngSelect.module.d.ts.map +1 -1
  623. package/src/modules/ngSelectDynamic.module.d.ts +10 -5
  624. package/src/modules/ngSelectDynamic.module.d.ts.map +1 -1
  625. package/src/modules/ngSelectEdit.module.d.ts +16 -5
  626. package/src/modules/ngSelectEdit.module.d.ts.map +1 -1
  627. package/src/pipes/ngSelectHasValue.pipe.d.ts +15 -12
  628. package/src/pipes/ngSelectHasValue.pipe.d.ts.map +1 -1
  629. package/src/pipes/ngSelectValue.pipe.d.ts +18 -15
  630. package/src/pipes/ngSelectValue.pipe.d.ts.map +1 -1
  631. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts +57 -54
  632. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts.map +1 -1
  633. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts +11 -11
  634. package/src/plugins/keyboardHandler/components.d.ts +2 -2
  635. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts +67 -64
  636. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts.map +1 -1
  637. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts +11 -11
  638. package/src/plugins/keyboardHandler/index.d.ts +3 -3
  639. package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts +11 -11
  640. package/src/plugins/keyboardHandler/types.d.ts +10 -10
  641. package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts +101 -98
  642. package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts.map +1 -1
  643. package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts +28 -28
  644. package/src/plugins/liveSearch/components.d.ts +3 -3
  645. package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts +144 -141
  646. package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts.map +1 -1
  647. package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts +36 -36
  648. package/src/plugins/liveSearch/index.d.ts +4 -4
  649. package/src/plugins/liveSearch/liveSearch.interface.d.ts +37 -37
  650. package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts +53 -50
  651. package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts.map +1 -1
  652. package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts +11 -11
  653. package/src/plugins/liveSearch/types.d.ts +10 -10
  654. package/src/plugins/normalState/basic/basicNormalState.component.d.ts +16 -13
  655. package/src/plugins/normalState/basic/basicNormalState.component.d.ts.map +1 -1
  656. package/src/plugins/normalState/basic/basicNormalState.interface.d.ts +28 -28
  657. package/src/plugins/normalState/components.d.ts +3 -3
  658. package/src/plugins/normalState/edit/editNormalState.component.d.ts +25 -22
  659. package/src/plugins/normalState/edit/editNormalState.component.d.ts.map +1 -1
  660. package/src/plugins/normalState/edit/editNormalState.interface.d.ts +52 -52
  661. package/src/plugins/normalState/index.d.ts +3 -3
  662. package/src/plugins/normalState/normalState.interface.d.ts +48 -48
  663. package/src/plugins/normalState/normalStateAbstract.component.d.ts +69 -66
  664. package/src/plugins/normalState/normalStateAbstract.component.d.ts.map +1 -1
  665. package/src/plugins/normalState/types.d.ts +10 -10
  666. package/src/plugins/popup/basic/basicPopup.component.d.ts +16 -13
  667. package/src/plugins/popup/basic/basicPopup.component.d.ts.map +1 -1
  668. package/src/plugins/popup/basic/basicPopup.interface.d.ts +32 -32
  669. package/src/plugins/popup/component.d.ts +3 -3
  670. package/src/plugins/popup/edit/editPopup.component.d.ts +31 -28
  671. package/src/plugins/popup/edit/editPopup.component.d.ts.map +1 -1
  672. package/src/plugins/popup/edit/editPopup.interface.d.ts +32 -32
  673. package/src/plugins/popup/index.d.ts +3 -3
  674. package/src/plugins/popup/popup.interface.d.ts +51 -51
  675. package/src/plugins/popup/popupAbstract.component.d.ts +133 -130
  676. package/src/plugins/popup/popupAbstract.component.d.ts.map +1 -1
  677. package/src/plugins/popup/types.d.ts +10 -10
  678. package/src/plugins/positioner/basic/basicPositioner.component.d.ts +89 -86
  679. package/src/plugins/positioner/basic/basicPositioner.component.d.ts.map +1 -1
  680. package/src/plugins/positioner/basic/basicPositioner.interface.d.ts +28 -28
  681. package/src/plugins/positioner/basic/types.d.ts +21 -18
  682. package/src/plugins/positioner/basic/types.d.ts.map +1 -1
  683. package/src/plugins/positioner/components.d.ts +2 -2
  684. package/src/plugins/positioner/index.d.ts +3 -3
  685. package/src/plugins/positioner/no/noPositioner.component.d.ts +41 -38
  686. package/src/plugins/positioner/no/noPositioner.component.d.ts.map +1 -1
  687. package/src/plugins/positioner/no/noPositioner.interface.d.ts +11 -11
  688. package/src/plugins/positioner/positioner.interface.d.ts +20 -20
  689. package/src/plugins/positioner/positioner.interface.d.ts.map +1 -1
  690. package/src/plugins/positioner/types.d.ts +11 -11
  691. package/src/plugins/positioner/types.d.ts.map +1 -1
  692. package/src/plugins/readonlyState/index.d.ts +1 -1
  693. package/src/plugins/readonlyState/readonlyState.interface.d.ts +11 -11
  694. package/src/plugins/readonlyState/types.d.ts +10 -10
  695. package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts +50 -47
  696. package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts.map +1 -1
  697. package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts +11 -11
  698. package/src/plugins/valueHandler/components.d.ts +2 -2
  699. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts +51 -48
  700. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts.map +1 -1
  701. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts +20 -20
  702. package/src/plugins/valueHandler/index.d.ts +4 -4
  703. package/src/plugins/valueHandler/types.d.ts +10 -10
  704. package/src/plugins/valueHandler/valueHandler.interface.d.ts +30 -30
  705. package/src/plugins/valueHandler/valueHandlerBase.d.ts +114 -111
  706. package/src/plugins/valueHandler/valueHandlerBase.d.ts.map +1 -1
  707. package/version.bak +1 -1
  708. package/appveyor.yml +0 -67
  709. package/dist/es2015/public_api.js +0 -7
  710. package/dist/es2015/select.js +0 -14
  711. package/dist/es2015/src/components/option/index.js +0 -8
  712. package/dist/es2015/src/components/option/optgroup.component.js +0 -80
  713. package/dist/es2015/src/components/option/optgroup.interface.js +0 -29
  714. package/dist/es2015/src/components/option/option.component.js +0 -68
  715. package/dist/es2015/src/components/option/option.interface.js +0 -47
  716. package/dist/es2015/src/components/select/index.js +0 -7
  717. package/dist/es2015/src/components/select/select.component.js +0 -867
  718. package/dist/es2015/src/components/select/select.interface.js +0 -77
  719. package/dist/es2015/src/components/select/types.js +0 -12
  720. package/dist/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -32
  721. package/dist/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -58
  722. package/dist/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -63
  723. package/dist/es2015/src/misc/extensions/getValue.js +0 -23
  724. package/dist/es2015/src/misc/extensions/index.js +0 -11
  725. package/dist/es2015/src/misc/extensions/onFocus.js +0 -21
  726. package/dist/es2015/src/misc/extensions/setReadonly.js +0 -28
  727. package/dist/es2015/src/misc/extensions/setValue.js +0 -24
  728. package/dist/es2015/src/misc/extensions/valueChange.js +0 -27
  729. package/dist/es2015/src/misc/index.js +0 -11
  730. package/dist/es2015/src/misc/ngSelectControlValueAccessor.directive.js +0 -254
  731. package/dist/es2015/src/misc/ngSelectOptions.interface.js +0 -99
  732. package/dist/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -157
  733. package/dist/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -35
  734. package/dist/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js +0 -230
  735. package/dist/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -201
  736. package/dist/es2015/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -65
  737. package/dist/es2015/src/misc/optionsGatherer/types.js +0 -9
  738. package/dist/es2015/src/misc/plugin.interface.js +0 -132
  739. package/dist/es2015/src/misc/pluginBus/pluginBus.interface.js +0 -48
  740. package/dist/es2015/src/misc/pluginBus/pluginBus.js +0 -95
  741. package/dist/es2015/src/misc/templateGatherer.interface.js +0 -23
  742. package/dist/es2015/src/misc/types.js +0 -47
  743. package/dist/es2015/src/modules/ngSelect.module.js +0 -66
  744. package/dist/es2015/src/modules/ngSelectDynamic.module.js +0 -20
  745. package/dist/es2015/src/modules/ngSelectEdit.module.js +0 -41
  746. package/dist/es2015/src/pipes/ngSelectHasValue.pipe.js +0 -26
  747. package/dist/es2015/src/pipes/ngSelectValue.pipe.js +0 -38
  748. package/dist/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -201
  749. package/dist/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -16
  750. package/dist/es2015/src/plugins/keyboardHandler/components.js +0 -8
  751. package/dist/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -272
  752. package/dist/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -16
  753. package/dist/es2015/src/plugins/keyboardHandler/index.js +0 -9
  754. package/dist/es2015/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -16
  755. package/dist/es2015/src/plugins/keyboardHandler/types.js +0 -17
  756. package/dist/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -277
  757. package/dist/es2015/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -40
  758. package/dist/es2015/src/plugins/liveSearch/components.js +0 -9
  759. package/dist/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -494
  760. package/dist/es2015/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -50
  761. package/dist/es2015/src/plugins/liveSearch/index.js +0 -10
  762. package/dist/es2015/src/plugins/liveSearch/liveSearch.interface.js +0 -53
  763. package/dist/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -109
  764. package/dist/es2015/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -16
  765. package/dist/es2015/src/plugins/liveSearch/types.js +0 -17
  766. package/dist/es2015/src/plugins/normalState/basic/basicNormalState.component.js +0 -71
  767. package/dist/es2015/src/plugins/normalState/basic/basicNormalState.interface.js +0 -39
  768. package/dist/es2015/src/plugins/normalState/components.js +0 -9
  769. package/dist/es2015/src/plugins/normalState/edit/editNormalState.component.js +0 -108
  770. package/dist/es2015/src/plugins/normalState/edit/editNormalState.interface.js +0 -71
  771. package/dist/es2015/src/plugins/normalState/index.js +0 -9
  772. package/dist/es2015/src/plugins/normalState/normalState.interface.js +0 -59
  773. package/dist/es2015/src/plugins/normalState/normalStateAbstract.component.js +0 -178
  774. package/dist/es2015/src/plugins/normalState/types.js +0 -17
  775. package/dist/es2015/src/plugins/popup/basic/basicPopup.component.js +0 -68
  776. package/dist/es2015/src/plugins/popup/basic/basicPopup.interface.js +0 -43
  777. package/dist/es2015/src/plugins/popup/component.js +0 -9
  778. package/dist/es2015/src/plugins/popup/edit/editPopup.component.js +0 -100
  779. package/dist/es2015/src/plugins/popup/edit/editPopup.interface.js +0 -43
  780. package/dist/es2015/src/plugins/popup/index.js +0 -9
  781. package/dist/es2015/src/plugins/popup/popup.interface.js +0 -70
  782. package/dist/es2015/src/plugins/popup/popupAbstract.component.js +0 -383
  783. package/dist/es2015/src/plugins/popup/types.js +0 -17
  784. package/dist/es2015/src/plugins/positioner/basic/basicPositioner.component.js +0 -302
  785. package/dist/es2015/src/plugins/positioner/basic/basicPositioner.interface.js +0 -38
  786. package/dist/es2015/src/plugins/positioner/basic/types.js +0 -52
  787. package/dist/es2015/src/plugins/positioner/components.js +0 -8
  788. package/dist/es2015/src/plugins/positioner/index.js +0 -9
  789. package/dist/es2015/src/plugins/positioner/no/noPositioner.component.js +0 -96
  790. package/dist/es2015/src/plugins/positioner/no/noPositioner.interface.js +0 -16
  791. package/dist/es2015/src/plugins/positioner/positioner.interface.js +0 -28
  792. package/dist/es2015/src/plugins/positioner/types.js +0 -18
  793. package/dist/es2015/src/plugins/readonlyState/index.js +0 -7
  794. package/dist/es2015/src/plugins/readonlyState/readonlyState.interface.js +0 -17
  795. package/dist/es2015/src/plugins/readonlyState/types.js +0 -17
  796. package/dist/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -205
  797. package/dist/es2015/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -17
  798. package/dist/es2015/src/plugins/valueHandler/components.js +0 -8
  799. package/dist/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -235
  800. package/dist/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -30
  801. package/dist/es2015/src/plugins/valueHandler/index.js +0 -10
  802. package/dist/es2015/src/plugins/valueHandler/types.js +0 -17
  803. package/dist/es2015/src/plugins/valueHandler/valueHandler.interface.js +0 -40
  804. package/dist/es2015/src/plugins/valueHandler/valueHandlerBase.js +0 -286
  805. package/dist/es2015/src/select.js +0 -45
  806. package/dist/es2015/src/select.ssr.js +0 -21
  807. package/dist/es5/public_api.js +0 -7
  808. package/dist/es5/select.js +0 -14
  809. package/dist/es5/src/components/option/index.js +0 -8
  810. package/dist/es5/src/components/option/optgroup.component.js +0 -109
  811. package/dist/es5/src/components/option/optgroup.interface.js +0 -29
  812. package/dist/es5/src/components/option/option.component.js +0 -70
  813. package/dist/es5/src/components/option/option.interface.js +0 -47
  814. package/dist/es5/src/components/select/index.js +0 -7
  815. package/dist/es5/src/components/select/select.component.js +0 -1149
  816. package/dist/es5/src/components/select/select.interface.js +0 -77
  817. package/dist/es5/src/components/select/types.js +0 -12
  818. package/dist/es5/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -31
  819. package/dist/es5/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -57
  820. package/dist/es5/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -72
  821. package/dist/es5/src/misc/extensions/getValue.js +0 -23
  822. package/dist/es5/src/misc/extensions/index.js +0 -11
  823. package/dist/es5/src/misc/extensions/onFocus.js +0 -21
  824. package/dist/es5/src/misc/extensions/setReadonly.js +0 -29
  825. package/dist/es5/src/misc/extensions/setValue.js +0 -24
  826. package/dist/es5/src/misc/extensions/valueChange.js +0 -27
  827. package/dist/es5/src/misc/index.js +0 -11
  828. package/dist/es5/src/misc/ngSelectControlValueAccessor.directive.js +0 -303
  829. package/dist/es5/src/misc/ngSelectOptions.interface.js +0 -99
  830. package/dist/es5/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -208
  831. package/dist/es5/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -35
  832. package/dist/es5/src/misc/optionsGatherer/dynamicOptionsGatherer.js +0 -329
  833. package/dist/es5/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -271
  834. package/dist/es5/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -65
  835. package/dist/es5/src/misc/optionsGatherer/types.js +0 -9
  836. package/dist/es5/src/misc/plugin.interface.js +0 -132
  837. package/dist/es5/src/misc/pluginBus/pluginBus.interface.js +0 -48
  838. package/dist/es5/src/misc/pluginBus/pluginBus.js +0 -97
  839. package/dist/es5/src/misc/templateGatherer.interface.js +0 -23
  840. package/dist/es5/src/misc/types.js +0 -47
  841. package/dist/es5/src/modules/ngSelect.module.js +0 -70
  842. package/dist/es5/src/modules/ngSelectDynamic.module.js +0 -24
  843. package/dist/es5/src/modules/ngSelectEdit.module.js +0 -45
  844. package/dist/es5/src/pipes/ngSelectHasValue.pipe.js +0 -42
  845. package/dist/es5/src/pipes/ngSelectValue.pipe.js +0 -59
  846. package/dist/es5/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -250
  847. package/dist/es5/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -16
  848. package/dist/es5/src/plugins/keyboardHandler/components.js +0 -8
  849. package/dist/es5/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -321
  850. package/dist/es5/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -16
  851. package/dist/es5/src/plugins/keyboardHandler/index.js +0 -9
  852. package/dist/es5/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -16
  853. package/dist/es5/src/plugins/keyboardHandler/types.js +0 -17
  854. package/dist/es5/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -348
  855. package/dist/es5/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -40
  856. package/dist/es5/src/plugins/liveSearch/components.js +0 -9
  857. package/dist/es5/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -606
  858. package/dist/es5/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -50
  859. package/dist/es5/src/plugins/liveSearch/index.js +0 -10
  860. package/dist/es5/src/plugins/liveSearch/liveSearch.interface.js +0 -53
  861. package/dist/es5/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -137
  862. package/dist/es5/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -16
  863. package/dist/es5/src/plugins/liveSearch/types.js +0 -17
  864. package/dist/es5/src/plugins/normalState/basic/basicNormalState.component.js +0 -80
  865. package/dist/es5/src/plugins/normalState/basic/basicNormalState.interface.js +0 -39
  866. package/dist/es5/src/plugins/normalState/components.js +0 -9
  867. package/dist/es5/src/plugins/normalState/edit/editNormalState.component.js +0 -144
  868. package/dist/es5/src/plugins/normalState/edit/editNormalState.interface.js +0 -71
  869. package/dist/es5/src/plugins/normalState/index.js +0 -9
  870. package/dist/es5/src/plugins/normalState/normalState.interface.js +0 -59
  871. package/dist/es5/src/plugins/normalState/normalStateAbstract.component.js +0 -229
  872. package/dist/es5/src/plugins/normalState/types.js +0 -17
  873. package/dist/es5/src/plugins/popup/basic/basicPopup.component.js +0 -76
  874. package/dist/es5/src/plugins/popup/basic/basicPopup.interface.js +0 -43
  875. package/dist/es5/src/plugins/popup/component.js +0 -9
  876. package/dist/es5/src/plugins/popup/edit/editPopup.component.js +0 -138
  877. package/dist/es5/src/plugins/popup/edit/editPopup.interface.js +0 -43
  878. package/dist/es5/src/plugins/popup/index.js +0 -9
  879. package/dist/es5/src/plugins/popup/popup.interface.js +0 -70
  880. package/dist/es5/src/plugins/popup/popupAbstract.component.js +0 -477
  881. package/dist/es5/src/plugins/popup/types.js +0 -17
  882. package/dist/es5/src/plugins/positioner/basic/basicPositioner.component.js +0 -364
  883. package/dist/es5/src/plugins/positioner/basic/basicPositioner.interface.js +0 -38
  884. package/dist/es5/src/plugins/positioner/basic/types.js +0 -75
  885. package/dist/es5/src/plugins/positioner/components.js +0 -8
  886. package/dist/es5/src/plugins/positioner/index.js +0 -9
  887. package/dist/es5/src/plugins/positioner/no/noPositioner.component.js +0 -126
  888. package/dist/es5/src/plugins/positioner/no/noPositioner.interface.js +0 -16
  889. package/dist/es5/src/plugins/positioner/positioner.interface.js +0 -28
  890. package/dist/es5/src/plugins/positioner/types.js +0 -18
  891. package/dist/es5/src/plugins/readonlyState/index.js +0 -7
  892. package/dist/es5/src/plugins/readonlyState/readonlyState.interface.js +0 -17
  893. package/dist/es5/src/plugins/readonlyState/types.js +0 -17
  894. package/dist/es5/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -277
  895. package/dist/es5/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -17
  896. package/dist/es5/src/plugins/valueHandler/components.js +0 -8
  897. package/dist/es5/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -364
  898. package/dist/es5/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -30
  899. package/dist/es5/src/plugins/valueHandler/index.js +0 -10
  900. package/dist/es5/src/plugins/valueHandler/types.js +0 -17
  901. package/dist/es5/src/plugins/valueHandler/valueHandler.interface.js +0 -40
  902. package/dist/es5/src/plugins/valueHandler/valueHandlerBase.js +0 -369
  903. package/dist/es5/src/select.js +0 -45
  904. package/dist/es5/src/select.ssr.js +0 -21
  905. package/elements/dist/es2015/elements/index.js +0 -10
  906. package/elements/dist/es2015/elements/public_api.js +0 -7
  907. package/elements/dist/es2015/elements/src/components/ngSelectElements.component.js +0 -292
  908. package/elements/dist/es2015/elements/src/components/ngSelectElements.interface.js +0 -64
  909. package/elements/dist/es2015/elements/src/index.js +0 -9
  910. package/elements/dist/es2015/elements/src/modules/ngSelectElements.module.js +0 -54
  911. package/elements/dist/es5/elements/index.js +0 -10
  912. package/elements/dist/es5/elements/public_api.js +0 -7
  913. package/elements/dist/es5/elements/src/components/ngSelectElements.component.js +0 -332
  914. package/elements/dist/es5/elements/src/components/ngSelectElements.interface.js +0 -64
  915. package/elements/dist/es5/elements/src/index.js +0 -9
  916. package/elements/dist/es5/elements/src/modules/ngSelectElements.module.js +0 -63
  917. package/elements/index.d.ts +0 -5
  918. package/elements/index.d.ts.map +0 -1
  919. package/elements/index.metadata.json +0 -1
  920. package/elements/public_api.d.ts +0 -2
  921. package/elements/public_api.d.ts.map +0 -1
  922. package/elements/src/components/ngSelectElements.component.ngfactory.d.ts.map +0 -1
  923. package/elements/src/modules/ngSelectElements.module.ngfactory.d.ts.map +0 -1
  924. package/extensions/dist/es2015/extensions/index.js +0 -10
  925. package/extensions/dist/es2015/extensions/public_api.js +0 -7
  926. package/extensions/dist/es2015/extensions/src/extensions/getValue.js +0 -7
  927. package/extensions/dist/es2015/extensions/src/extensions/onFocus.js +0 -7
  928. package/extensions/dist/es2015/extensions/src/extensions/patchOptions.js +0 -23
  929. package/extensions/dist/es2015/extensions/src/extensions/reinitializeOptions.js +0 -26
  930. package/extensions/dist/es2015/extensions/src/extensions/setReadonly.js +0 -7
  931. package/extensions/dist/es2015/extensions/src/extensions/setValue.js +0 -7
  932. package/extensions/dist/es2015/extensions/src/extensions/valueChange.js +0 -7
  933. package/extensions/dist/es2015/extensions/src/extensions.js +0 -13
  934. package/extensions/dist/es5/extensions/index.js +0 -10
  935. package/extensions/dist/es5/extensions/public_api.js +0 -7
  936. package/extensions/dist/es5/extensions/src/extensions/getValue.js +0 -7
  937. package/extensions/dist/es5/extensions/src/extensions/onFocus.js +0 -7
  938. package/extensions/dist/es5/extensions/src/extensions/patchOptions.js +0 -23
  939. package/extensions/dist/es5/extensions/src/extensions/reinitializeOptions.js +0 -26
  940. package/extensions/dist/es5/extensions/src/extensions/setReadonly.js +0 -7
  941. package/extensions/dist/es5/extensions/src/extensions/setValue.js +0 -7
  942. package/extensions/dist/es5/extensions/src/extensions/valueChange.js +0 -7
  943. package/extensions/dist/es5/extensions/src/extensions.js +0 -13
  944. package/extensions/index.d.ts +0 -5
  945. package/extensions/index.d.ts.map +0 -1
  946. package/extensions/index.metadata.json +0 -1
  947. package/extensions/public_api.d.ts +0 -2
  948. package/extensions/public_api.d.ts.map +0 -1
  949. package/extensions/src/extensions.d.ts +0 -8
  950. package/extensions/src/extensions.d.ts.map +0 -1
  951. package/material/dist/es2015/extensions/src/extensions/getValue.js +0 -7
  952. package/material/dist/es2015/extensions/src/extensions/onFocus.js +0 -7
  953. package/material/dist/es2015/extensions/src/extensions/patchOptions.js +0 -23
  954. package/material/dist/es2015/extensions/src/extensions/reinitializeOptions.js +0 -26
  955. package/material/dist/es2015/extensions/src/extensions/setReadonly.js +0 -7
  956. package/material/dist/es2015/extensions/src/extensions/setValue.js +0 -7
  957. package/material/dist/es2015/extensions/src/extensions/valueChange.js +0 -7
  958. package/material/dist/es2015/extensions/src/extensions.js +0 -13
  959. package/material/dist/es2015/material/index.js +0 -10
  960. package/material/dist/es2015/material/public_api.js +0 -7
  961. package/material/dist/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -127
  962. package/material/dist/es2015/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -33
  963. package/material/dist/es2015/material/src/components/basicDialogPopup/index.js +0 -7
  964. package/material/dist/es2015/material/src/components/basicDialogPopup/types.js +0 -7
  965. package/material/dist/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js +0 -99
  966. package/material/dist/es2015/material/src/directives/types.js +0 -7
  967. package/material/dist/es2015/material/src/material.js +0 -13
  968. package/material/dist/es2015/material/src/modules/dialogPopup.module.js +0 -35
  969. package/material/dist/es2015/material/src/modules/virtualEditPopup.module.js +0 -29
  970. package/material/dist/es2015/material/src/plugins/popup/components.js +0 -8
  971. package/material/dist/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js +0 -236
  972. package/material/dist/es2015/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -82
  973. package/material/dist/es2015/material/src/plugins/popup/index.js +0 -8
  974. package/material/dist/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -151
  975. package/material/dist/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -21
  976. package/material/dist/es5/extensions/src/extensions/getValue.js +0 -7
  977. package/material/dist/es5/extensions/src/extensions/onFocus.js +0 -7
  978. package/material/dist/es5/extensions/src/extensions/patchOptions.js +0 -23
  979. package/material/dist/es5/extensions/src/extensions/reinitializeOptions.js +0 -26
  980. package/material/dist/es5/extensions/src/extensions/setReadonly.js +0 -7
  981. package/material/dist/es5/extensions/src/extensions/setValue.js +0 -7
  982. package/material/dist/es5/extensions/src/extensions/valueChange.js +0 -7
  983. package/material/dist/es5/extensions/src/extensions.js +0 -13
  984. package/material/dist/es5/material/index.js +0 -10
  985. package/material/dist/es5/material/public_api.js +0 -7
  986. package/material/dist/es5/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -155
  987. package/material/dist/es5/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -33
  988. package/material/dist/es5/material/src/components/basicDialogPopup/index.js +0 -7
  989. package/material/dist/es5/material/src/components/basicDialogPopup/types.js +0 -7
  990. package/material/dist/es5/material/src/directives/dialogPopup/dialogPopup.directive.js +0 -109
  991. package/material/dist/es5/material/src/directives/types.js +0 -7
  992. package/material/dist/es5/material/src/material.js +0 -13
  993. package/material/dist/es5/material/src/modules/dialogPopup.module.js +0 -39
  994. package/material/dist/es5/material/src/modules/virtualEditPopup.module.js +0 -33
  995. package/material/dist/es5/material/src/plugins/popup/components.js +0 -8
  996. package/material/dist/es5/material/src/plugins/popup/dialog/dialogPopup.component.js +0 -290
  997. package/material/dist/es5/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -82
  998. package/material/dist/es5/material/src/plugins/popup/index.js +0 -8
  999. package/material/dist/es5/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -196
  1000. package/material/dist/es5/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -21
  1001. package/material/index.d.ts +0 -6
  1002. package/material/index.d.ts.map +0 -1
  1003. package/material/index.metadata.json +0 -1
  1004. package/material/public_api.d.ts +0 -2
  1005. package/material/public_api.d.ts.map +0 -1
  1006. package/material/src/components/basicDialogPopup/basicDialogPopup.component.css.shim.ngstyle.d.ts.map +0 -1
  1007. package/material/src/components/basicDialogPopup/basicDialogPopup.component.ngfactory.d.ts.map +0 -1
  1008. package/material/src/directives/dialogPopup/dialogPopup.directive.ngfactory.d.ts.map +0 -1
  1009. package/material/src/material.d.ts +0 -8
  1010. package/material/src/material.d.ts.map +0 -1
  1011. package/material/src/modules/dialogPopup.module.ngfactory.d.ts.map +0 -1
  1012. package/material/src/modules/virtualEditPopup.module.ngfactory.d.ts.map +0 -1
  1013. package/material/src/plugins/popup/dialog/dialogPopup.component.ngfactory.d.ts.map +0 -1
  1014. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.ngfactory.d.ts.map +0 -1
  1015. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.scss.shim.ngstyle.d.ts.map +0 -1
  1016. package/popperJs/dist/es2015/popperjs/index.js +0 -10
  1017. package/popperJs/dist/es2015/popperjs/public_api.js +0 -7
  1018. package/popperJs/dist/es2015/popperjs/src/modules/popperjsPositioner.module.js +0 -23
  1019. package/popperJs/dist/es2015/popperjs/src/plugins/positioner/components.js +0 -7
  1020. package/popperJs/dist/es2015/popperjs/src/plugins/positioner/index.js +0 -7
  1021. package/popperJs/dist/es2015/popperjs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +0 -242
  1022. package/popperJs/dist/es2015/popperjs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +0 -16
  1023. package/popperJs/dist/es2015/popperjs/src/popperJs.js +0 -9
  1024. package/popperJs/dist/es5/popperjs/index.js +0 -10
  1025. package/popperJs/dist/es5/popperjs/public_api.js +0 -7
  1026. package/popperJs/dist/es5/popperjs/src/modules/popperjsPositioner.module.js +0 -27
  1027. package/popperJs/dist/es5/popperjs/src/plugins/positioner/components.js +0 -7
  1028. package/popperJs/dist/es5/popperjs/src/plugins/positioner/index.js +0 -7
  1029. package/popperJs/dist/es5/popperjs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +0 -290
  1030. package/popperJs/dist/es5/popperjs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +0 -16
  1031. package/popperJs/dist/es5/popperjs/src/popperJs.js +0 -9
  1032. package/popperJs/index.d.ts +0 -6
  1033. package/popperJs/index.d.ts.map +0 -1
  1034. package/popperJs/index.metadata.json +0 -1
  1035. package/popperJs/public_api.d.ts +0 -2
  1036. package/popperJs/public_api.d.ts.map +0 -1
  1037. package/popperJs/src/modules/popperjsPositioner.module.ngfactory.d.ts.map +0 -1
  1038. package/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.ngfactory.d.ts.map +0 -1
  1039. package/popperJs/src/popperJs.d.ts +0 -4
  1040. package/popperJs/src/popperJs.d.ts.map +0 -1
  1041. package/public_api.d.ts +0 -2
  1042. package/public_api.d.ts.map +0 -1
  1043. package/select.d.ts +0 -26
  1044. package/select.d.ts.map +0 -1
  1045. package/select.metadata.json +0 -1
  1046. package/src/components/option/optgroup.component.ngfactory.d.ts.map +0 -1
  1047. package/src/components/option/option.component.ngfactory.d.ts.map +0 -1
  1048. package/src/components/select/select.component.ngfactory.d.ts.map +0 -1
  1049. package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.ngfactory.d.ts.map +0 -1
  1050. package/src/directives/ngSelectEdit/ngSelectEdit.directive.ngfactory.d.ts.map +0 -1
  1051. package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.ngfactory.d.ts.map +0 -1
  1052. package/src/misc/ngSelectControlValueAccessor.directive.ngfactory.d.ts.map +0 -1
  1053. package/src/misc/pluginBus/pluginBus.ngfactory.d.ts.map +0 -1
  1054. package/src/modules/ngSelect.module.ngfactory.d.ts.map +0 -1
  1055. package/src/modules/ngSelectDynamic.module.ngfactory.d.ts.map +0 -1
  1056. package/src/modules/ngSelectEdit.module.ngfactory.d.ts.map +0 -1
  1057. package/src/pipes/ngSelectHasValue.pipe.ngfactory.d.ts.map +0 -1
  1058. package/src/pipes/ngSelectValue.pipe.ngfactory.d.ts.map +0 -1
  1059. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.ngfactory.d.ts.map +0 -1
  1060. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.ngfactory.d.ts.map +0 -1
  1061. package/src/plugins/liveSearch/basic/basicLiveSearch.component.css.shim.ngstyle.d.ts.map +0 -1
  1062. package/src/plugins/liveSearch/basic/basicLiveSearch.component.ngfactory.d.ts.map +0 -1
  1063. package/src/plugins/liveSearch/edit/editLiveSearch.component.css.shim.ngstyle.d.ts.map +0 -1
  1064. package/src/plugins/liveSearch/edit/editLiveSearch.component.ngfactory.d.ts.map +0 -1
  1065. package/src/plugins/liveSearch/no/noLiveSearch.component.ngfactory.d.ts.map +0 -1
  1066. package/src/plugins/normalState/basic/basicNormalState.component.css.shim.ngstyle.d.ts.map +0 -1
  1067. package/src/plugins/normalState/basic/basicNormalState.component.ngfactory.d.ts.map +0 -1
  1068. package/src/plugins/normalState/edit/editNormalState.component.css.shim.ngstyle.d.ts.map +0 -1
  1069. package/src/plugins/normalState/edit/editNormalState.component.ngfactory.d.ts.map +0 -1
  1070. package/src/plugins/popup/basic/basicPopup.component.css.shim.ngstyle.d.ts.map +0 -1
  1071. package/src/plugins/popup/basic/basicPopup.component.ngfactory.d.ts.map +0 -1
  1072. package/src/plugins/popup/edit/editPopup.component.css.shim.ngstyle.d.ts.map +0 -1
  1073. package/src/plugins/popup/edit/editPopup.component.ngfactory.d.ts.map +0 -1
  1074. package/src/plugins/positioner/basic/basicPositioner.component.ngfactory.d.ts.map +0 -1
  1075. package/src/plugins/positioner/basic/types.ngfactory.d.ts.map +0 -1
  1076. package/src/plugins/positioner/no/noPositioner.component.ngfactory.d.ts.map +0 -1
  1077. package/src/plugins/valueHandler/basic/basicValueHandler.component.ngfactory.d.ts.map +0 -1
  1078. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.ngfactory.d.ts.map +0 -1
  1079. package/src/select.d.ts +0 -40
  1080. package/src/select.d.ts.map +0 -1
  1081. package/src/select.ssr.d.ts +0 -1
  1082. package/src/select.ssr.d.ts.map +0 -1
@@ -0,0 +1,163 @@
1
+ import { forwardRef, Directive } from '@angular/core';
2
+ import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
+ import { NgSelectComponent } from '../components/select/select.component';
4
+ import { ɵValueChange, ɵSetValue, ɵOnFocus, ɵSetReadonly, ɵGetValue } from '../misc/extensions';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../components/select/select.component";
7
+ /**
8
+ * Provider for control value accessor
9
+ * @internal
10
+ */
11
+ const NG_SELECT_VALUE_ACCESSOR = {
12
+ provide: NG_VALUE_ACCESSOR,
13
+ useExisting: forwardRef(() => NgSelectControlValueAccessor),
14
+ multi: true
15
+ };
16
+ /**
17
+ * Control value accessor for NgSelectComponent
18
+ */
19
+ export class NgSelectControlValueAccessor {
20
+ //######################### constructor #########################
21
+ constructor(_select) {
22
+ this._select = _select;
23
+ /**
24
+ * Subscription that looks for changes of select
25
+ */
26
+ this._changeSubscription = null;
27
+ /**
28
+ * Subscription that looks for changes of select
29
+ */
30
+ this._focusSubscription = null;
31
+ }
32
+ //######################### public methods - implementation of ControlValueAccessor #########################
33
+ /**
34
+ * Sets value to select
35
+ */
36
+ writeValue(value) {
37
+ this._value = value;
38
+ if (this._select.isInitialized) {
39
+ this._select.execute(ɵSetValue(value));
40
+ return;
41
+ }
42
+ if (this._initializedSubscription) {
43
+ this._initializedSubscription.unsubscribe();
44
+ this._initializedSubscription = null;
45
+ }
46
+ this._initializedSubscription = this._select.initialized.subscribe(initialized => {
47
+ if (initialized) {
48
+ this._initializedSubscription.unsubscribe();
49
+ this._initializedSubscription = null;
50
+ this._select.execute(ɵSetValue(value));
51
+ }
52
+ });
53
+ }
54
+ /**
55
+ * Registers callback that is called when value of select changes
56
+ */
57
+ registerOnChange(fn) {
58
+ const fnWrapper = (value) => {
59
+ var _a;
60
+ //multivalue is new array in case of change
61
+ if (Array.isArray(value) && Array.isArray(this._value)) {
62
+ if (value !== this._value) {
63
+ this._value = value;
64
+ fn(value);
65
+ }
66
+ }
67
+ else if (!Array.isArray(value) && !Array.isArray(this._value)) {
68
+ if (!((_a = this._select.selectOptions) === null || _a === void 0 ? void 0 : _a.valueComparer(this._value, value))) {
69
+ this._value = value;
70
+ fn(value);
71
+ }
72
+ }
73
+ };
74
+ this._changeInitializedSubscription = this._select.initialized.subscribe(initialized => {
75
+ if (initialized) {
76
+ if (this._changeSubscription) {
77
+ this._changeSubscription.unsubscribe();
78
+ this._changeSubscription = null;
79
+ }
80
+ this._changeSubscription = this._select.executeAndReturn(ɵValueChange(fnWrapper));
81
+ if (this._select.selectOptions.forceValueCheckOnInit) {
82
+ const value = this._select.executeAndReturn(ɵGetValue());
83
+ fnWrapper(value);
84
+ }
85
+ }
86
+ });
87
+ }
88
+ /**
89
+ * Registers callback that is called when select is closed
90
+ */
91
+ registerOnTouched(fn) {
92
+ this._touchInitializedSubscription = this._select.initialized.subscribe(initialized => {
93
+ if (initialized) {
94
+ if (this._focusSubscription) {
95
+ this._focusSubscription.unsubscribe();
96
+ this._focusSubscription = null;
97
+ }
98
+ this._focusSubscription = this._select.executeAndReturn(ɵOnFocus(fn));
99
+ }
100
+ });
101
+ }
102
+ /**
103
+ * Sets NgSelect as disabled/readonly
104
+ * @param isDisabled - Indication whether is control disabled or not
105
+ */
106
+ setDisabledState(isDisabled) {
107
+ if (this._select.isInitialized) {
108
+ this._select.execute(ɵSetReadonly(isDisabled));
109
+ return;
110
+ }
111
+ if (this._disabledInitializedSubscription) {
112
+ this._disabledInitializedSubscription.unsubscribe();
113
+ this._disabledInitializedSubscription = null;
114
+ }
115
+ this._disabledInitializedSubscription = this._select.initialized.subscribe(initialized => {
116
+ if (initialized) {
117
+ this._disabledInitializedSubscription.unsubscribe();
118
+ this._disabledInitializedSubscription = null;
119
+ this._select.execute(ɵSetReadonly(isDisabled));
120
+ }
121
+ });
122
+ }
123
+ //######################### public methods - implementation of OnDestroy #########################
124
+ /**
125
+ * Called when component is destroyed
126
+ */
127
+ ngOnDestroy() {
128
+ if (this._changeSubscription) {
129
+ this._changeSubscription.unsubscribe();
130
+ this._changeSubscription = null;
131
+ }
132
+ if (this._initializedSubscription) {
133
+ this._initializedSubscription.unsubscribe();
134
+ this._initializedSubscription = null;
135
+ }
136
+ if (this._changeInitializedSubscription) {
137
+ this._changeInitializedSubscription.unsubscribe();
138
+ this._changeInitializedSubscription = null;
139
+ }
140
+ if (this._touchInitializedSubscription) {
141
+ this._touchInitializedSubscription.unsubscribe();
142
+ this._touchInitializedSubscription = null;
143
+ }
144
+ if (this._focusSubscription) {
145
+ this._focusSubscription.unsubscribe();
146
+ this._focusSubscription = null;
147
+ }
148
+ if (this._disabledInitializedSubscription) {
149
+ this._disabledInitializedSubscription.unsubscribe();
150
+ this._disabledInitializedSubscription = null;
151
+ }
152
+ }
153
+ }
154
+ NgSelectControlValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NgSelectControlValueAccessor, deps: [{ token: i1.NgSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
155
+ NgSelectControlValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: NgSelectControlValueAccessor, selector: "ng-select[formControlName],ng-select[formControl],ng-select[ngModel]", providers: [NG_SELECT_VALUE_ACCESSOR], ngImport: i0 });
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NgSelectControlValueAccessor, decorators: [{
157
+ type: Directive,
158
+ args: [{
159
+ selector: 'ng-select[formControlName],ng-select[formControl],ng-select[ngModel]',
160
+ providers: [NG_SELECT_VALUE_ACCESSOR]
161
+ }]
162
+ }], ctorParameters: function () { return [{ type: i1.NgSelectComponent }]; } });
163
+ //# sourceMappingURL=ngSelectControlValueAccessor.directive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngSelectControlValueAccessor.directive.js","sourceRoot":"","sources":["../../../src/misc/ngSelectControlValueAccessor.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAoB,SAAS,EAAY,MAAM,eAAe,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAuB,MAAM,gBAAgB,CAAC;AAGvE,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAC,MAAM,oBAAoB,CAAC;;;AAE9F;;;GAGG;AACH,MAAM,wBAAwB,GAC9B;IACI,OAAO,EAAE,iBAAiB;IAC1B,WAAW,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;IAC3D,KAAK,EAAE,IAAI;CACd,CAAC;AAEF;;GAEG;AAMH,MAAM,OAAO,4BAA4B;IAuCrC,iEAAiE;IACjE,YAAoB,OAAkC;QAAlC,YAAO,GAAP,OAAO,CAA2B;QAhBtD;;WAEG;QACK,wBAAmB,GAAiB,IAAI,CAAC;QAEjD;;WAEG;QACK,uBAAkB,GAAiB,IAAI,CAAC;IAUhD,CAAC;IAED,6GAA6G;IAE7G;;OAEG;IACI,UAAU,CAAC,KAA2B;QAEzC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,IAAG,IAAI,CAAC,OAAO,CAAC,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;YACtC,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;SAClC;QAED,IAAG,IAAI,CAAC,gCAAgC,EACxC;YACI,IAAI,CAAC,gCAAgC,CAAC,WAAW,EAAE,CAAC;YACpD,IAAI,CAAC,gCAAgC,GAAG,IAAI,CAAC;SAChD;IACL,CAAC;;yHA3NQ,4BAA4B;6GAA5B,4BAA4B,+FAF1B,CAAC,wBAAwB,CAAC;2FAE5B,4BAA4B;kBALxC,SAAS;mBACV;oBACI,QAAQ,EAAE,sEAAsE;oBAChF,SAAS,EAAE,CAAC,wBAAwB,CAAC;iBACxC","sourcesContent":["import {forwardRef, ExistingProvider, Directive, OnDestroy} from '@angular/core';\nimport {NG_VALUE_ACCESSOR, ControlValueAccessor} from '@angular/forms';\nimport {Subscription} from 'rxjs';\n\nimport {NgSelectComponent} from '../components/select/select.component';\nimport {ɵValueChange, ɵSetValue, ɵOnFocus, ɵSetReadonly, ɵGetValue} from '../misc/extensions';\n\n/**\n * Provider for control value accessor\n * @internal\n */\nconst NG_SELECT_VALUE_ACCESSOR: ExistingProvider =\n{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => NgSelectControlValueAccessor),\n multi: true\n};\n\n/**\n * Control value accessor for NgSelectComponent\n */\n@Directive(\n{\n selector: 'ng-select[formControlName],ng-select[formControl],ng-select[ngModel]',\n providers: [NG_SELECT_VALUE_ACCESSOR]\n})\nexport class NgSelectControlValueAccessor<TValue = any> implements ControlValueAccessor, OnDestroy\n{\n //######################### private fields #########################\n\n /**\n * Subscription for initialized status of NgSelect, used for writeValue\n */\n private _initializedSubscription: Subscription;\n\n /**\n * Subscription for initialized status of NgSelect, used for registerOnChange\n */\n private _changeInitializedSubscription: Subscription;\n\n /**\n * Subscription for initialized status of NgSelect, used for registerOnTouched\n */\n private _touchInitializedSubscription: Subscription;\n\n /**\n * Subscription for initialized status of NgSelect, used for setDisabledState\n */\n private _disabledInitializedSubscription: Subscription;\n\n /**\n * Subscription that looks for changes of select\n */\n private _changeSubscription: Subscription = null;\n\n /**\n * Subscription that looks for changes of select\n */\n private _focusSubscription: Subscription = null;\n\n /**\n * Last set value to this control\n */\n private _value: TValue|TValue[];\n\n //######################### constructor #########################\n constructor(private _select: NgSelectComponent<TValue>)\n {\n }\n\n //######################### public methods - implementation of ControlValueAccessor #########################\n\n /**\n * Sets value to select\n */\n public writeValue(value: TValue|Array<TValue>): void\n {\n this._value = value;\n\n if(this._select.isInitialized)\n {\n this._select.execute(ɵSetValue(value));\n\n return;\n }\n\n if(this._initializedSubscription)\n {\n this._initializedSubscription.unsubscribe();\n this._initializedSubscription = null;\n }\n\n this._initializedSubscription = this._select.initialized.subscribe(initialized =>\n {\n if(initialized)\n {\n this._initializedSubscription.unsubscribe();\n this._initializedSubscription = null;\n\n this._select.execute(ɵSetValue(value));\n }\n });\n }\n\n /**\n * Registers callback that is called when value of select changes\n */\n public registerOnChange(fn: (data: TValue|Array<TValue>) => void): void\n {\n const fnWrapper = (value: TValue|Array<TValue>) =>\n {\n //multivalue is new array in case of change\n if(Array.isArray(value) && Array.isArray(this._value))\n {\n if(value !== this._value)\n {\n this._value = value;\n fn(value);\n }\n }\n else if(!Array.isArray(value) && !Array.isArray(this._value))\n {\n if(!this._select.selectOptions?.valueComparer(this._value, value))\n {\n this._value = value;\n fn(value);\n }\n }\n };\n\n this._changeInitializedSubscription = this._select.initialized.subscribe(initialized =>\n {\n if(initialized)\n {\n if(this._changeSubscription)\n {\n this._changeSubscription.unsubscribe();\n this._changeSubscription = null;\n }\n\n this._changeSubscription = this._select.executeAndReturn(ɵValueChange(fnWrapper));\n\n if(this._select.selectOptions.forceValueCheckOnInit)\n {\n const value = this._select.executeAndReturn(ɵGetValue());\n\n fnWrapper(value);\n }\n }\n });\n }\n\n /**\n * Registers callback that is called when select is closed\n */\n public registerOnTouched(fn: () => void): void\n {\n this._touchInitializedSubscription = this._select.initialized.subscribe(initialized =>\n {\n if(initialized)\n {\n if(this._focusSubscription)\n {\n this._focusSubscription.unsubscribe();\n this._focusSubscription = null;\n }\n\n this._focusSubscription = this._select.executeAndReturn(ɵOnFocus(fn));\n }\n });\n }\n\n /**\n * Sets NgSelect as disabled/readonly\n * @param isDisabled - Indication whether is control disabled or not\n */\n public setDisabledState(isDisabled: boolean): void\n {\n if(this._select.isInitialized)\n {\n this._select.execute(ɵSetReadonly(isDisabled));\n\n return;\n }\n\n if(this._disabledInitializedSubscription)\n {\n this._disabledInitializedSubscription.unsubscribe();\n this._disabledInitializedSubscription = null;\n }\n\n this._disabledInitializedSubscription = this._select.initialized.subscribe(initialized =>\n {\n if(initialized)\n {\n this._disabledInitializedSubscription.unsubscribe();\n this._disabledInitializedSubscription = null;\n\n this._select.execute(ɵSetReadonly(isDisabled));\n }\n });\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n\n /**\n * Called when component is destroyed\n */\n public ngOnDestroy()\n {\n if(this._changeSubscription)\n {\n this._changeSubscription.unsubscribe();\n this._changeSubscription = null;\n }\n\n if(this._initializedSubscription)\n {\n this._initializedSubscription.unsubscribe();\n this._initializedSubscription = null;\n }\n\n if(this._changeInitializedSubscription)\n {\n this._changeInitializedSubscription.unsubscribe();\n this._changeInitializedSubscription = null;\n }\n\n if(this._touchInitializedSubscription)\n {\n this._touchInitializedSubscription.unsubscribe();\n this._touchInitializedSubscription = null;\n }\n\n if(this._focusSubscription)\n {\n this._focusSubscription.unsubscribe();\n this._focusSubscription = null;\n }\n\n if(this._disabledInitializedSubscription)\n {\n this._disabledInitializedSubscription.unsubscribe();\n this._disabledInitializedSubscription = null;\n }\n }\n}"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ngSelectOptions.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngSelectOptions.interface.js","sourceRoot":"","sources":["../../../src/misc/ngSelectOptions.interface.ts"],"names":[],"mappings":"","sourcesContent":["\nimport {NgSelectPluginTypes} from './plugin.interface';\nimport {OptionsGatherer, LiveSearchFilter} from './optionsGatherer/optionsGatherer.interface';\nimport {TemplateGatherer} from './templateGatherer.interface';\n\n/**\n * Function used for comparing two values\n */\nexport interface CompareValueFunc<TValue = any>\n{\n /**\n * Compares two values and returns true if objects are equal, otherwise false\n * @param source - First value to be compared\n * @param target - Second value to be compared\n */\n (source: TValue, target: TValue): boolean;\n}\n\n/**\n * Function used for normalization of value, used during comparison or search\n */\nexport interface NormalizeFunc<TValue = any>\n{\n /**\n * Normalize provided value, usually used with strings\n * @param value - Value that is being normalized\n */\n (value: TValue): TValue;\n}\n\n/**\n * Options used for plugin bus\n */\nexport interface PluginBusOptions<TValue = any>\n{\n /**\n * Instance of options gatherer that is used for obtaining options\n */\n optionsGatherer?: OptionsGatherer<TValue>;\n\n /**\n * Instance of template gatherer used for obtaining custom templates\n */\n templateGatherer?: TemplateGatherer;\n\n /**\n * Indication whether is NgSelect readonly or not\n */\n readonly?: boolean;\n\n /**\n * Indication that multiple values can be selected\n */\n multiple?: boolean;\n\n /**\n * Indication whether use non existing value in live search as new value, use with dynamic value handler\n */\n useNonExistingAsValue?: boolean;\n\n /**\n * Function of value comparer that is used for comparison of values\n */\n valueComparer?: CompareValueFunc<TValue>;\n\n /**\n * Method that is used for filtering when live search is running on static data\n */\n liveSearchFilter?: LiveSearchFilter<TValue>;\n\n /**\n * Normalizer used for normalizing values\n */\n normalizer?: NormalizeFunc<TValue>;\n}\n\n/**\n * Describes select options used for NgSelect\n */\nexport interface NgSelectOptions<TValue = any> extends PluginBusOptions<TValue>\n{\n /**\n * Indication whether NgSelect should be initialized automaticaly during 'NgOnInit' phase\n */\n autoInitialize?: boolean;\n\n /**\n * Css classes applied to ng select component, possible to override only part of classes\n */\n cssClasses?: {};\n\n /**\n * Object defining overrides for default plugins, default plugins can be also specified using DI\n */\n plugins?: NgSelectPluginTypes;\n\n /**\n * Indication whether is 'Popup' plugin displayd inside of NgSelect (false) or directly in Body (true)\n */\n absolute?: boolean;\n\n /**\n * Indication whether force value check on initialization of select, this allows to change value of form control to value of valueHandler\n */\n forceValueCheckOnInit?: boolean;\n}"]}
@@ -0,0 +1,83 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { LIVE_SEARCH } from '../../plugins/liveSearch/types';
3
+ /**
4
+ * Options gatherer used for static options gathering from code
5
+ */
6
+ export class CodeOptionsGatherer {
7
+ constructor() {
8
+ //######################### private fields #########################
9
+ /**
10
+ * Array of visible, displayed options for select
11
+ */
12
+ this._availableOptions = [];
13
+ /**
14
+ * Array of provided options for select
15
+ */
16
+ this._options = [];
17
+ /**
18
+ * Occurs when array of visible, displayed options has changed
19
+ */
20
+ this._availableOptionsChange = new EventEmitter();
21
+ /**
22
+ * Occurs when array of provided options has changed
23
+ */
24
+ this.optionsChange = new EventEmitter();
25
+ }
26
+ //######################### public properties - implementation of OptionsGatherer #########################
27
+ /**
28
+ * Array of provided options for select
29
+ */
30
+ get options() {
31
+ return this._options;
32
+ }
33
+ set options(value) {
34
+ this._options = value;
35
+ this._availableOptions = value;
36
+ }
37
+ /**
38
+ * Array of visible, displayed options for select
39
+ */
40
+ get availableOptions() {
41
+ return this._availableOptions;
42
+ }
43
+ /**
44
+ * Occurs when array of visible, displayed options has changed
45
+ */
46
+ get availableOptionsChange() {
47
+ return this._availableOptionsChange;
48
+ }
49
+ //######################### public methods - implmentation of OptionsGatherer #########################
50
+ /**
51
+ * Initialize gatherer during initialization phase
52
+ */
53
+ initializeGatherer() {
54
+ const liveSearch = this.ngSelectPlugins[LIVE_SEARCH];
55
+ if (this._liveSearch && this._liveSearch != liveSearch) {
56
+ this._searchValueChangeSubscription.unsubscribe();
57
+ this._searchValueChangeSubscription = null;
58
+ this._liveSearch = null;
59
+ }
60
+ if (!this._liveSearch) {
61
+ this._liveSearch = liveSearch;
62
+ this._searchValueChangeSubscription = this._liveSearch.searchValueChange.subscribe(() => {
63
+ if (!this._liveSearch.searchValue) {
64
+ this._availableOptions = this.options;
65
+ this._availableOptionsChange.emit();
66
+ return;
67
+ }
68
+ this._availableOptions = this.options.filter(this.pluginBus.selectOptions.liveSearchFilter(this._liveSearch.searchValue, this.pluginBus.selectOptions.normalizer));
69
+ this._availableOptionsChange.emit();
70
+ });
71
+ }
72
+ }
73
+ /**
74
+ * Called when gatherer needs to be destroyed
75
+ */
76
+ destroyGatherer() {
77
+ if (this._searchValueChangeSubscription) {
78
+ this._searchValueChangeSubscription.unsubscribe();
79
+ this._searchValueChangeSubscription = null;
80
+ }
81
+ }
82
+ }
83
+ //# sourceMappingURL=codeOptionsGatherer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codeOptionsGatherer.js","sourceRoot":"","sources":["../../../../src/misc/optionsGatherer/codeOptionsGatherer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAO3C,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAG3D;;GAEG;AACH,MAAM,OAAO,mBAAmB;IAAhC;QAEI,oEAAoE;QAEpE;;WAEG;QACK,sBAAiB,GAA6B,EAAE,CAAC;QAEzD;;WAEG;QACK,aAAQ,GAA6B,EAAE,CAAC;QAEhD;;WAEG;QACK,4BAAuB,GAAuB,IAAI,YAAY,EAAQ,CAAC;QA2B/E;;WAEG;QACI,kBAAa,GAAuB,IAAI,YAAY,EAAQ,CAAC;IAiFxE,CAAC;IAnGG,2GAA2G;IAE3G;;OAEG;IACH,IAAW,OAAO;QAEd,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACD,IAAW,OAAO,CAAC,KAA+B;QAE9C,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;IACnC,CAAC;IAOD;;OAEG;IACH,IAAW,gBAAgB;QAEvB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,IAAW,sBAAsB;QAE7B,OAAO,IAAI,CAAC,uBAAuB,CAAC;IACxC,CAAC;IAiBD,uGAAuG;IA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optionsGatherer.interface';\nimport {NgSelectOption} from '../../components/option';\nimport {NgSelectPluginInstances, NgSelect} from '../../components/select';\nimport {LiveSearch} from '../../plugins/liveSearch';\nimport {LIVE_SEARCH} from '../../plugins/liveSearch/types';\nimport {PluginBus} from '../pluginBus/pluginBus';\n\n/**\n * Options gatherer used for static options gathering from code\n */\nexport class CodeOptionsGatherer<TValue = any> implements OptionsGatherer<TValue>\n{\n //######################### private fields #########################\n\n /**\n * Array of visible, displayed options for select\n */\n private _availableOptions: NgSelectOption<TValue>[] = [];\n\n /**\n * Array of provided options for select\n */\n private _options: NgSelectOption<TValue>[] = [];\n\n /**\n * Occurs when array of visible, displayed options has changed\n */\n private _availableOptionsChange: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Live search plugin currently used in NgSelect\n */\n protected _liveSearch: LiveSearch;\n\n /**\n * Subscription for changes of live search value\n */\n protected _searchValueChangeSubscription: Subscription;\n\n //######################### public properties - implementation of OptionsGatherer #########################\n\n /**\n * Array of provided options for select\n */\n public get options(): NgSelectOption<TValue>[]\n {\n return this._options;\n }\n public set options(value: NgSelectOption<TValue>[])\n {\n this._options = value;\n this._availableOptions = value;\n }\n\n /**\n * Occurs when array of provided options has changed\n */\n public optionsChange: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Array of visible, displayed options for select\n */\n public get availableOptions(): NgSelectOption<TValue>[]\n {\n return this._availableOptions;\n }\n\n /**\n * Occurs when array of visible, displayed options has changed\n */\n public get availableOptionsChange(): EventEmitter<void>\n {\n return this._availableOptionsChange;\n }\n\n /**\n * NgSelect plugin instances available for gatherer\n */\n public ngSelectPlugins: NgSelectPluginInstances;\n\n /**\n * Plugin bus used for inter plugin shared events\n */\n public pluginBus: PluginBus<TValue>;\n\n /**\n * Select element that implements default gatherers\n */\n public select: NgSelect<TValue>;\n\n //######################### public methods - implmentation of OptionsGatherer #########################\n\n /**\n * Initialize gatherer during initialization phase\n */\n public initializeGatherer(): void\n {\n const liveSearch = this.ngSelectPlugins[LIVE_SEARCH] as LiveSearch;\n\n if(this._liveSearch && this._liveSearch != liveSearch)\n {\n this._searchValueChangeSubscription.unsubscribe();\n this._searchValueChangeSubscription = null;\n\n this._liveSearch = null;\n }\n\n if(!this._liveSearch)\n {\n this._liveSearch = liveSearch;\n\n this._searchValueChangeSubscription = this._liveSearch.searchValueChange.subscribe(() =>\n {\n if(!this._liveSearch.searchValue)\n {\n this._availableOptions = this.options;\n this._availableOptionsChange.emit();\n\n return;\n }\n\n this._availableOptions = this.options.filter(this.pluginBus.selectOptions.liveSearchFilter(this._liveSearch.searchValue, this.pluginBus.selectOptions.normalizer));\n this._availableOptionsChange.emit();\n });\n }\n }\n\n /**\n * Called when gatherer needs to be destroyed\n */\n public destroyGatherer(): void\n {\n if(this._searchValueChangeSubscription)\n {\n this._searchValueChangeSubscription.unsubscribe();\n this._searchValueChangeSubscription = null;\n }\n }\n}"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=dynamicOptionsGatherer.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamicOptionsGatherer.interface.js","sourceRoot":"","sources":["../../../../src/misc/optionsGatherer/dynamicOptionsGatherer.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {NgSelectOption} from '../../components/option';\n\n/**\n * Callback used for obtaining dynamic options\n */\nexport interface GetOptionsCallback<TValue = any>\n{\n /**\n * Gets array of options based on query\n * @param query - Query for obtaining options, can be searched string or TValue in case of obtaining option for value during initialization\n */\n (query: string|TValue): Promise<NgSelectOption<TValue>[]>;\n}\n\n/**\n * Options for dynamic options gatherer\n */\nexport interface DynamicOptionsGathererOptions<TValue = any>\n{\n /**\n * Callback used for obtaining dynamic options\n */\n dynamicOptionsCallback: GetOptionsCallback<TValue>;\n\n /**\n * Number of miliseconds which represents minimal delay between calls of dynamicOptionsCallback\n */\n delay?: number;\n\n /**\n * Minimal number of characters to be used for searching\n */\n minLength?: number;\n}"]}
@@ -0,0 +1,123 @@
1
+ import { __awaiter } from "tslib";
2
+ import { EventEmitter } from '@angular/core';
3
+ import { isPresent } from '@jscrpt/common';
4
+ import { debounceTime } from 'rxjs/operators';
5
+ import { LIVE_SEARCH } from '../../plugins/liveSearch/types';
6
+ import { POPUP } from '../../plugins/popup/types';
7
+ import { VALUE_HANDLER } from '../../plugins/valueHandler/types';
8
+ /**
9
+ * Class that is used as for options gathering in dynamic way, for example from external source when writing
10
+ */
11
+ export class DynamicOptionsGatherer {
12
+ //######################### constructor #########################
13
+ constructor(_options) {
14
+ this._options = _options;
15
+ /**
16
+ * Minimal number of characters required for searching
17
+ */
18
+ this._minLength = 1;
19
+ /**
20
+ * Indication that first initial call was performed
21
+ */
22
+ this._initialized = false;
23
+ //######################### public properties - implementation of OptionsGatherer #########################
24
+ /**
25
+ * Array of provided options for select
26
+ */
27
+ this.options = [];
28
+ /**
29
+ * Occurs when array of provided options has changed
30
+ */
31
+ this.optionsChange = new EventEmitter();
32
+ if (!this._options) {
33
+ throw new Error('Options can not be null!');
34
+ }
35
+ if (this._options && isPresent(this._options.minLength)) {
36
+ this._minLength = this._options.minLength;
37
+ }
38
+ }
39
+ /**
40
+ * Array of visible, displayed options for select
41
+ */
42
+ get availableOptions() {
43
+ return this.options;
44
+ }
45
+ /**
46
+ * Occurs when array of visible, displayed options has changed
47
+ */
48
+ get availableOptionsChange() {
49
+ return this.optionsChange;
50
+ }
51
+ //######################### public methods - implementation of OptionsGatherer #########################
52
+ /**
53
+ * Initialize gatherer during initialization phase
54
+ */
55
+ initializeGatherer() {
56
+ const liveSearch = this.ngSelectPlugins[LIVE_SEARCH];
57
+ if (this._liveSearch && this._liveSearch != liveSearch) {
58
+ this._searchValueChangeSubscription.unsubscribe();
59
+ this._searchValueChangeSubscription = null;
60
+ this._liveSearch = null;
61
+ }
62
+ const popup = this.ngSelectPlugins[POPUP];
63
+ if (this._popup && this._popup != popup) {
64
+ this._visibilitySubscription.unsubscribe();
65
+ this._visibilitySubscription = null;
66
+ this._popup = null;
67
+ }
68
+ this._valueHandler = this.ngSelectPlugins[VALUE_HANDLER];
69
+ if (!this._popup) {
70
+ this._popup = popup;
71
+ this._visibilitySubscription = this._popup.visibilityChange.subscribe(() => __awaiter(this, void 0, void 0, function* () {
72
+ if (this._initialized) {
73
+ return;
74
+ }
75
+ yield this._processOptionsChange();
76
+ }));
77
+ }
78
+ if (!this._liveSearch) {
79
+ this._liveSearch = liveSearch;
80
+ let searchValueChange = this._liveSearch.searchValueChange;
81
+ if (this._options.delay) {
82
+ searchValueChange = searchValueChange.pipe(debounceTime(this._options.delay));
83
+ }
84
+ this._searchValueChangeSubscription = searchValueChange.subscribe(() => __awaiter(this, void 0, void 0, function* () { return yield this._processOptionsChange(); }));
85
+ }
86
+ }
87
+ /**
88
+ * Called when gatherer needs to be destroyed
89
+ */
90
+ destroyGatherer() {
91
+ var _a, _b;
92
+ (_a = this._searchValueChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
93
+ this._searchValueChangeSubscription = null;
94
+ (_b = this._visibilitySubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
95
+ this._visibilitySubscription = null;
96
+ }
97
+ //######################### protected methods #########################
98
+ /**
99
+ * Process options change request
100
+ */
101
+ _processOptionsChange() {
102
+ var _a, _b;
103
+ return __awaiter(this, void 0, void 0, function* () {
104
+ let searchValue = this._liveSearch.searchValue;
105
+ //use value as search value if not initialized
106
+ if (!this._initialized && !this.pluginBus.selectOptions.multiple && !Array.isArray(this._valueHandler.selectedOptions) && isPresent(this._valueHandler.selectedOptions)) {
107
+ searchValue = (_a = this._liveSearch.searchValue) !== null && _a !== void 0 ? _a : this._valueHandler.selectedOptions.text;
108
+ }
109
+ this._initialized = true;
110
+ if (((_b = searchValue === null || searchValue === void 0 ? void 0 : searchValue.length) !== null && _b !== void 0 ? _b : 0) < this._minLength) {
111
+ //remove available options if multiple or empty string
112
+ if (isPresent(searchValue) || this.pluginBus.selectOptions.multiple) {
113
+ this.options = [];
114
+ this.optionsChange.emit();
115
+ }
116
+ return;
117
+ }
118
+ this.options = yield this._options.dynamicOptionsCallback(searchValue !== null && searchValue !== void 0 ? searchValue : '');
119
+ this.optionsChange.emit();
120
+ });
121
+ }
122
+ }
123
+ //# sourceMappingURL=dynamicOptionsGatherer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamicOptionsGatherer.js","sourceRoot":"","sources":["../../../../src/misc/optionsGatherer/dynamicOptionsGatherer.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAO5C,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAG3D,OAAO,EAAC,KAAK,EAAC,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAG/D;;GAEG;AACH,MAAM,OAAO,sBAAsB;IAkF/B,iEAAiE;IACjE,YAAsB,QAA+C;QAA/C,aAAQ,GAAR,QAAQ,CAAuC;QAhErE;;WAEG;QACO,eAAU,GAAW,CAAC,CAAC;QAOjC;;WAEG;QACO,iBAAY,GAAY,KAAK,CAAC;QAOxC,2GAA2G;QAE3G;;WAEG;QACI,YAAO,GAA6B,EAAE,CAAC;QAE9C;;WAEG;QACI,kBAAa,GAAuB,IAAI,YAAY,EAAQ,CAAC;QAoChE,IAAG,CAAC,IAAI,CAAC,QAAQ,EACjB;YACI,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;SAC/C;QAED,IAAG,IAAI,CAAC,QAAQ,IAAI,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,EACtD;YACI,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC;SAC7C;IACL,CAAC;IA3CD;;OAEG;IACH,IAAW,gBAAgB;QAEvB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AAsD;gBACtD,IAAG,SAAS,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,QAAQ,EAClE;oBACI,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;oBAClB,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;iBAC7B;gBAED,OAAO;aACV;YAED,IAAI,CAAC,OAAO,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,sBAAsB,CAAC,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,EAAE,CAAC,CAAC;YAC7E,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;;KAC7B;CACJ","sourcesContent":["import {EventEmitter} from '@angular/core';\nimport {isPresent} from '@jscrpt/common';\nimport {Subscription, Observable} from 'rxjs';\nimport {debounceTime} from 'rxjs/operators';\n\nimport {OptionsGatherer} from './optionsGatherer.interface';\nimport {NgSelectPluginInstances, NgSelect} from '../../components/select';\nimport {NgSelectOption} from '../../components/option';\nimport {DynamicOptionsGathererOptions} from './dynamicOptionsGatherer.interface';\nimport {LiveSearch} from '../../plugins/liveSearch';\nimport {LIVE_SEARCH} from '../../plugins/liveSearch/types';\nimport {PluginBus} from '../pluginBus/pluginBus';\nimport {Popup} from '../../plugins/popup';\nimport {POPUP} from '../../plugins/popup/types';\nimport {VALUE_HANDLER} from '../../plugins/valueHandler/types';\nimport {ValueHandler} from '../../plugins/valueHandler';\n\n/**\n * Class that is used as for options gathering in dynamic way, for example from external source when writing\n */\nexport class DynamicOptionsGatherer<TValue = any> implements OptionsGatherer<TValue>\n{\n //######################### protected fields #########################\n\n /**\n * Live search plugin currently used in NgSelect\n */\n protected _liveSearch: LiveSearch;\n\n /**\n * Subscription for changes of live search value\n */\n protected _searchValueChangeSubscription: Subscription;\n\n /**\n * Subscription for visibility change of popup\n */\n protected _visibilitySubscription: Subscription;\n\n /**\n * Minimal number of characters required for searching\n */\n protected _minLength: number = 1;\n\n /**\n * Popup that is displayed\n */\n protected _popup: Popup;\n\n /**\n * Indication that first initial call was performed\n */\n protected _initialized: boolean = false;\n\n /**\n * Currently used value handler plugin\n */\n protected _valueHandler: ValueHandler;\n\n //######################### public properties - implementation of OptionsGatherer #########################\n\n /**\n * Array of provided options for select\n */\n public options: NgSelectOption<TValue>[] = [];\n\n /**\n * Occurs when array of provided options has changed\n */\n public optionsChange: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Array of visible, displayed options for select\n */\n public get availableOptions(): NgSelectOption<TValue>[]\n {\n return this.options;\n }\n\n /**\n * Occurs when array of visible, displayed options has changed\n */\n public get availableOptionsChange(): EventEmitter<void>\n {\n return this.optionsChange;\n }\n\n /**\n * NgSelect plugin instances available for gatherer\n */\n public ngSelectPlugins: NgSelectPluginInstances;\n\n /**\n * Plugin bus used for inter plugin shared events\n */\n public pluginBus: PluginBus<TValue>;\n\n /**\n * Select element that implements default gatherers\n */\n public select: NgSelect<TValue>;\n\n //######################### constructor #########################\n constructor(protected _options: DynamicOptionsGathererOptions<TValue>)\n {\n if(!this._options)\n {\n throw new Error('Options can not be null!');\n }\n\n if(this._options && isPresent(this._options.minLength))\n {\n this._minLength = this._options.minLength;\n }\n }\n\n //######################### public methods - implementation of OptionsGatherer #########################\n\n /**\n * Initialize gatherer during initialization phase\n */\n public initializeGatherer(): void\n {\n const liveSearch = this.ngSelectPlugins[LIVE_SEARCH] as LiveSearch;\n\n if(this._liveSearch && this._liveSearch != liveSearch)\n {\n this._searchValueChangeSubscription.unsubscribe();\n this._searchValueChangeSubscription = null;\n\n this._liveSearch = null;\n }\n\n const popup: Popup = this.ngSelectPlugins[POPUP] as Popup;\n\n if(this._popup && this._popup != popup)\n {\n this._visibilitySubscription.unsubscribe();\n this._visibilitySubscription = null;\n\n this._popup = null;\n }\n\n this._valueHandler = this.ngSelectPlugins[VALUE_HANDLER] as ValueHandler;\n\n if(!this._popup)\n {\n this._popup = popup;\n\n this._visibilitySubscription = this._popup.visibilityChange.subscribe(async () =>\n {\n if(this._initialized)\n {\n return;\n }\n\n await this._processOptionsChange();\n });\n }\n\n if(!this._liveSearch)\n {\n this._liveSearch = liveSearch;\n\n let searchValueChange: Observable<void> = this._liveSearch.searchValueChange;\n\n if(this._options.delay)\n {\n searchValueChange = searchValueChange.pipe(debounceTime(this._options.delay));\n }\n\n this._searchValueChangeSubscription = searchValueChange.subscribe(async () => await this._processOptionsChange());\n }\n }\n\n /**\n * Called when gatherer needs to be destroyed\n */\n public destroyGatherer(): void\n {\n this._searchValueChangeSubscription?.unsubscribe();\n this._searchValueChangeSubscription = null;\n\n this._visibilitySubscription?.unsubscribe();\n this._visibilitySubscription = null;\n }\n\n //######################### protected methods #########################\n\n /**\n * Process options change request\n */\n protected async _processOptionsChange()\n {\n let searchValue: string = this._liveSearch.searchValue;\n\n //use value as search value if not initialized\n if(!this._initialized && !this.pluginBus.selectOptions.multiple && !Array.isArray(this._valueHandler.selectedOptions) && isPresent(this._valueHandler.selectedOptions))\n {\n searchValue = this._liveSearch.searchValue ?? this._valueHandler.selectedOptions.text;\n }\n\n this._initialized = true;\n\n if((searchValue?.length ?? 0) < this._minLength)\n {\n //remove available options if multiple or empty string\n if(isPresent(searchValue) || this.pluginBus.selectOptions.multiple)\n {\n this.options = [];\n this.optionsChange.emit();\n }\n\n return;\n }\n\n this.options = await this._options.dynamicOptionsCallback(searchValue ?? '');\n this.optionsChange.emit();\n }\n}"]}
@@ -0,0 +1,111 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { VALUE_HANDLER } from '../../plugins/valueHandler/types';
3
+ /**
4
+ * Options gatherer using default build in gatherer extended with exclusion of selected options
5
+ */
6
+ export class ExcludingOptionsGatherer {
7
+ constructor() {
8
+ //######################### protected fields #########################
9
+ /**
10
+ * Array of visible, displayed options for select
11
+ */
12
+ this._availableOptions = [];
13
+ /**
14
+ * Occurs when array of visible, displayed options has changed
15
+ */
16
+ this._availableOptionsChange = new EventEmitter();
17
+ }
18
+ //######################### public properties - implementation of OptionsGatherer #########################
19
+ /**
20
+ * Array of provided options for select
21
+ */
22
+ get options() {
23
+ return this.select.options;
24
+ }
25
+ /**
26
+ * Occurs when array of provided options has changed
27
+ */
28
+ get optionsChange() {
29
+ return this.select.optionsChange;
30
+ }
31
+ /**
32
+ * Array of visible, displayed options for select
33
+ */
34
+ get availableOptions() {
35
+ return this._availableOptions;
36
+ }
37
+ /**
38
+ * Occurs when array of visible, displayed options has changed
39
+ */
40
+ get availableOptionsChange() {
41
+ return this._availableOptionsChange;
42
+ }
43
+ //######################### public methods - implmentation of OptionsGatherer #########################
44
+ /**
45
+ * Initialize gatherer during initialization phase
46
+ */
47
+ initializeGatherer() {
48
+ this.select.initializeGatherer();
49
+ this._availableOptionsChangeSubscription = this.select.availableOptionsChange.subscribe(() => this._excludeSelected());
50
+ const valueHandler = this.ngSelectPlugins[VALUE_HANDLER];
51
+ if (this._valueHandler && this._valueHandler != valueHandler) {
52
+ this._valueChangedSubscription.unsubscribe();
53
+ this._valueChangedSubscription = null;
54
+ this._valueHandler = null;
55
+ }
56
+ if (!this._valueHandler) {
57
+ this._valueHandler = valueHandler;
58
+ this._valueChangedSubscription = this._valueHandler.valueChange.subscribe(() => this._excludeSelected());
59
+ }
60
+ this._excludeSelected();
61
+ }
62
+ /**
63
+ * Called when gatherer needs to be destroyed
64
+ */
65
+ destroyGatherer() {
66
+ var _a, _b;
67
+ (_a = this._availableOptionsChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
68
+ this._availableOptionsChangeSubscription = null;
69
+ (_b = this._valueChangedSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
70
+ this._valueChangedSubscription = null;
71
+ }
72
+ //######################### protected methods #########################
73
+ /**
74
+ * Exclude selected options
75
+ */
76
+ _excludeSelected() {
77
+ //nothing selected
78
+ if (!this._valueHandler.value) {
79
+ this._availableOptions = this.select.availableOptions;
80
+ this._availableOptionsChange.emit();
81
+ return;
82
+ }
83
+ const compare = this.pluginBus.selectOptions.valueComparer;
84
+ const normalize = this.pluginBus.selectOptions.normalizer;
85
+ //multi selected
86
+ if (this.pluginBus.selectOptions.multiple && Array.isArray(this._valueHandler.value)) {
87
+ //filter out value
88
+ if (this._valueHandler.value.length) {
89
+ const value = this._valueHandler.value;
90
+ this._availableOptions = this.select.availableOptions.filter(opt => !value.find(itm => compare(normalize(itm), normalize(opt.value))));
91
+ }
92
+ //nothing selected
93
+ else {
94
+ this._availableOptions = this.select.availableOptions;
95
+ }
96
+ }
97
+ //single selected
98
+ else if (!this.pluginBus.selectOptions.multiple) {
99
+ this._availableOptions = this.select.availableOptions.filter(opt => !compare(normalize(opt.value), normalize(this._valueHandler.value)));
100
+ }
101
+ //deactivate selected
102
+ if (Array.isArray(this._valueHandler.selectedOptions)) {
103
+ this._valueHandler.selectedOptions.forEach((opt) => opt.active = false);
104
+ }
105
+ else {
106
+ this._valueHandler.selectedOptions.active = false;
107
+ }
108
+ this._availableOptionsChange.emit();
109
+ }
110
+ }
111
+ //# sourceMappingURL=excludingOptionsGatherer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"excludingOptionsGatherer.js","sourceRoot":"","sources":["../../../../src/misc/optionsGatherer/excludingOptionsGatherer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAQ3C,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAE/D;;GAEG;AACH,MAAM,OAAO,wBAAwB;IAArC;QAEI,sEAAsE;QAEtE;;WAEG;QACO,sBAAiB,GAA6B,EAAE,CAAC;QAE3D;;WAEG;QACO,4BAAuB,GAAuB,IAAI,YAAY,EAAQ,CAAC;IAkKrF,CAAC;IAjJG,2GAA2G;IAE3G;;OAEG;IACH,IAAW,OAAO;QAEd,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;IAC/B,CAAC;IAED;;OAEG;IACH,IAAW,aAAa;QAEpB,OAAO,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC;IACrC,CAAC;IAED;;O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AAC,GAAG,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SAC5I;QAED,qBAAqB;QACrB,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,EACpD;YACI,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,GAAoB,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;SAC5F;aAED;YACK,IAAI,CAAC,aAAa,CAAC,eAAmC,CAAC,MAAM,GAAG,KAAK,CAAC;SAC1E;QAED,IAAI,CAAC,uBAAuB,CAAC,IAAI,EAAE,CAAC;IACxC,CAAC;CACJ","sourcesContent":["import {EventEmitter} from '@angular/core';\nimport {Subscription} from 'rxjs';\n\nimport {OptionsGatherer} from './optionsGatherer.interface';\nimport {NgSelectOption, ɵNgSelectOption} from '../../components/option';\nimport {NgSelectPluginInstances, NgSelect} from '../../components/select';\nimport {PluginBus} from '../pluginBus/pluginBus';\nimport {ValueHandler} from '../../plugins/valueHandler';\nimport {VALUE_HANDLER} from '../../plugins/valueHandler/types';\n\n/**\n * Options gatherer using default build in gatherer extended with exclusion of selected options\n */\nexport class ExcludingOptionsGatherer<TValue = any> implements OptionsGatherer<TValue>\n{\n //######################### protected fields #########################\n\n /**\n * Array of visible, displayed options for select\n */\n protected _availableOptions: NgSelectOption<TValue>[] = [];\n\n /**\n * Occurs when array of visible, displayed options has changed\n */\n protected _availableOptionsChange: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Subscription for change of available options\n */\n protected _availableOptionsChangeSubscription: Subscription;\n\n /**\n * Subscription for change of value in value handler\n */\n protected _valueChangedSubscription: Subscription;\n\n /**\n * Value handler plugin used within `NgSelect`\n */\n protected _valueHandler: ValueHandler;\n\n //######################### public properties - implementation of OptionsGatherer #########################\n\n /**\n * Array of provided options for select\n */\n public get options(): NgSelectOption<TValue>[]\n {\n return this.select.options;\n }\n\n /**\n * Occurs when array of provided options has changed\n */\n public get optionsChange(): EventEmitter<void>\n {\n return this.select.optionsChange;\n }\n\n /**\n * Array of visible, displayed options for select\n */\n public get availableOptions(): NgSelectOption<TValue>[]\n {\n return this._availableOptions;\n }\n\n /**\n * Occurs when array of visible, displayed options has changed\n */\n public get availableOptionsChange(): EventEmitter<void>\n {\n return this._availableOptionsChange;\n }\n\n /**\n * NgSelect plugin instances available for gatherer\n */\n public ngSelectPlugins: NgSelectPluginInstances;\n\n /**\n * Plugin bus used for inter plugin shared events\n */\n public pluginBus: PluginBus<TValue>;\n\n /**\n * Select element that implements default gatherers\n */\n public select: NgSelect<TValue>;\n\n //######################### public methods - implmentation of OptionsGatherer #########################\n\n /**\n * Initialize gatherer during initialization phase\n */\n public initializeGatherer(): void\n {\n this.select.initializeGatherer();\n\n this._availableOptionsChangeSubscription = this.select.availableOptionsChange.subscribe(() => this._excludeSelected());\n\n const valueHandler = this.ngSelectPlugins[VALUE_HANDLER] as ValueHandler;\n\n if(this._valueHandler && this._valueHandler != valueHandler)\n {\n this._valueChangedSubscription.unsubscribe();\n this._valueChangedSubscription = null;\n\n this._valueHandler = null;\n }\n\n if(!this._valueHandler)\n {\n this._valueHandler = valueHandler;\n\n this._valueChangedSubscription = this._valueHandler.valueChange.subscribe(() => this._excludeSelected());\n }\n\n this._excludeSelected();\n }\n\n /**\n * Called when gatherer needs to be destroyed\n */\n public destroyGatherer(): void\n {\n this._availableOptionsChangeSubscription?.unsubscribe();\n this._availableOptionsChangeSubscription = null;\n\n this._valueChangedSubscription?.unsubscribe();\n this._valueChangedSubscription = null;\n }\n\n //######################### protected methods #########################\n\n /**\n * Exclude selected options\n */\n protected _excludeSelected()\n {\n //nothing selected\n if(!this._valueHandler.value)\n {\n this._availableOptions = this.select.availableOptions;\n this._availableOptionsChange.emit();\n\n return;\n }\n\n const compare = this.pluginBus.selectOptions.valueComparer;\n const normalize = this.pluginBus.selectOptions.normalizer;\n\n //multi selected\n if(this.pluginBus.selectOptions.multiple && Array.isArray(this._valueHandler.value))\n {\n //filter out value\n if(this._valueHandler.value.length)\n {\n const value = this._valueHandler.value;\n \n this._availableOptions = this.select.availableOptions.filter(opt => !value.find(itm => compare(normalize(itm), normalize(opt.value))));\n }\n //nothing selected\n else\n {\n this._availableOptions = this.select.availableOptions;\n }\n }\n //single selected\n else if(!this.pluginBus.selectOptions.multiple)\n {\n this._availableOptions = this.select.availableOptions.filter(opt => !compare(normalize(opt.value), normalize(this._valueHandler.value)));\n }\n\n //deactivate selected\n if(Array.isArray(this._valueHandler.selectedOptions))\n {\n this._valueHandler.selectedOptions.forEach((opt: ɵNgSelectOption) => opt.active = false);\n }\n else\n {\n (this._valueHandler.selectedOptions as ɵNgSelectOption).active = false;\n }\n\n this._availableOptionsChange.emit();\n }\n}"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=optionsGatherer.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optionsGatherer.interface.js","sourceRoot":"","sources":["../../../../src/misc/optionsGatherer/optionsGatherer.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {EventEmitter} from '@angular/core';\n\nimport {NgSelectOption} from '../../components/option/option.interface';\nimport {NgSelectPluginInstances, NgSelect} from '../../components/select';\nimport {NormalizeFunc} from '../ngSelectOptions.interface';\nimport {PluginBus} from '../pluginBus/pluginBus';\n\n/**\n * Callback that is used for filtering static values during live search\n */\nexport interface LiveSearchFilter<TValue = any>\n{\n (query: string, normalizer?: NormalizeFunc<TValue>): (option: NgSelectOption<TValue>) => boolean\n}\n\n/**\n * Gatherer used for obtaining options for select\n */\nexport interface OptionsGatherer<TValue = any>\n{\n /**\n * Array of provided options for select\n */\n readonly options: NgSelectOption<TValue>[];\n\n /**\n * Occurs when array of provided options has changed\n */\n readonly optionsChange: EventEmitter<void>;\n\n /**\n * Array of visible, displayed options for select\n */\n readonly availableOptions: NgSelectOption<TValue>[];\n\n /**\n * Occurs when array of visible, displayed options has changed\n */\n readonly availableOptionsChange: EventEmitter<void>;\n\n /**\n * NgSelect plugin instances available for gatherer\n */\n ngSelectPlugins: NgSelectPluginInstances;\n\n /**\n * Plugin bus used for inter plugin shared events\n */\n pluginBus: PluginBus<TValue>;\n\n /**\n * Select element that implements default gatherers\n */\n select: NgSelect<TValue>;\n\n /**\n * Initialize gatherer during initialization phase\n */\n initializeGatherer(): void;\n\n /**\n * Called when gatherer needs to be destroyed\n */\n destroyGatherer(): void;\n}"]}
@@ -0,0 +1,4 @@
1
+ export * from './codeOptionsGatherer';
2
+ export * from './dynamicOptionsGatherer';
3
+ export * from './excludingOptionsGatherer';
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/misc/optionsGatherer/types.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './codeOptionsGatherer';\nexport * from './dynamicOptionsGatherer';\nexport * from './excludingOptionsGatherer';"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=plugin.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.interface.js","sourceRoot":"","sources":["../../../src/misc/plugin.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Type, ElementRef} from '@angular/core';\n\nimport {NgSelectPluginInstances} from '../components/select';\nimport {KeyboardHandler} from '../plugins/keyboardHandler';\nimport {NormalState} from '../plugins/normalState';\nimport {Popup} from '../plugins/popup';\nimport {Positioner} from '../plugins/positioner';\nimport {ReadonlyState} from '../plugins/readonlyState';\nimport {ValueHandler} from '../plugins/valueHandler';\nimport {LiveSearch} from '../plugins/liveSearch';\nimport {PluginBus} from './pluginBus/pluginBus';\n\n/**\n * NgSelect plugin interface\n */\nexport interface NgSelectPlugin<TOptions = any, TValue = any>\n{\n /**\n * NgSelect plugin instances available for this plugin\n */\n ngSelectPlugins: NgSelectPluginInstances;\n\n /**\n * Element that represents plugin\n */\n pluginElement: ElementRef;\n\n /**\n * Options for NgSelect plugin\n */\n options: TOptions;\n\n /**\n * Plugin bus used in select\n */\n pluginBus: PluginBus<TValue>;\n\n /**\n * Initialize plugin, to be ready to use, initialize communication with other plugins\n */\n initialize(): void;\n\n /**\n * Initialize plugin options, all operations required to be done with plugin options are handled here\n */\n initOptions(): void;\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n invalidateVisuals(): void;\n}\n\n/**\n * All available types of plugins for NgSelect\n */\nexport interface NgSelectPluginTypes\n{\n /**\n * Handles keyboard events\n */\n keyboardHandler?: PluginDescription<KeyboardHandler>;\n\n /**\n * Component used for displaying normal state of select\n */\n normalState?: PluginDescription<NormalState>;\n\n /**\n * Component used for displaying available options for selection\n */\n popup?: PluginDescription<Popup>;\n\n /**\n * Handles correct position of pop component\n */\n positioner?: PluginDescription<Positioner>;\n\n /**\n * Component used for displaying readonly/disabled state of select, can be null, in that case normal state component is used\n */\n readonlyState?: PluginDescription<ReadonlyState>;\n\n /**\n * Handles obtaining and setting value of component\n */\n valueHandler?: PluginDescription<ValueHandler>;\n\n /**\n * Contains component that is used for live searching in options\n */\n liveSearch?: PluginDescription<LiveSearch>;\n}\n\n/**\n * Base options for every plugin\n */\nexport interface PluginOptions\n{\n}\n\n/**\n * Base options for every visual plugin (component)\n */\nexport interface VisualPluginOptions<TCssClasses = any> extends PluginOptions\n{\n /**\n * Css classes applied to visual plugin (component), possible to override only part of classes\n */\n cssClasses?: TCssClasses;\n}\n\n/**\n * Defines interface, that describes minimal set of parameters for specifying plugin for NgSelect\n */\nexport interface PluginDescription<PluginType = any>\n{\n /**\n * Type of plugin that will be dynamically instantiated\n */\n type?: Type<PluginType>;\n\n /**\n * Options that will be passed to dynamically instantiated plugin\n */\n options?: PluginOptions;\n\n /**\n * Optional callback used for obtaining dynamic instance of plugin (allows direct communication with plugin)\n */\n instanceCallback?: (instance: NgSelectPlugin|null) => void;\n}"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pluginBus.interface.js.map