@anglr/select 15.0.0 → 16.0.0-beta.20260226142137

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (741) hide show
  1. package/changelog.md +153 -0
  2. package/es2022/extensions/src/extensions/getValue.js +16 -1
  3. package/es2022/extensions/src/extensions/getValue.js.map +1 -1
  4. package/es2022/extensions/src/extensions/onFocus.js +14 -1
  5. package/es2022/extensions/src/extensions/onFocus.js.map +1 -1
  6. package/es2022/extensions/src/extensions/patchOptions.js +15 -11
  7. package/es2022/extensions/src/extensions/patchOptions.js.map +1 -1
  8. package/es2022/extensions/src/extensions/reinitializeOptions.js +19 -14
  9. package/es2022/extensions/src/extensions/reinitializeOptions.js.map +1 -1
  10. package/es2022/extensions/src/extensions/setReadonly.js +21 -1
  11. package/es2022/extensions/src/extensions/setReadonly.js.map +1 -1
  12. package/es2022/extensions/src/extensions/setValue.js +17 -1
  13. package/es2022/extensions/src/extensions/setValue.js.map +1 -1
  14. package/es2022/extensions/src/extensions/valueChange.js +17 -1
  15. package/es2022/extensions/src/extensions/valueChange.js.map +1 -1
  16. package/es2022/extensions/src/index.js +1 -7
  17. package/es2022/extensions/src/index.js.map +1 -1
  18. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js +100 -72
  19. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -1
  20. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +26 -1
  21. package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +1 -1
  22. package/es2022/material/src/components/basicDialogPopup/index.js +2 -1
  23. package/es2022/material/src/components/basicDialogPopup/index.js.map +1 -1
  24. package/es2022/material/src/components/basicDialogPopup/types.js +2 -1
  25. package/es2022/material/src/components/basicDialogPopup/types.js.map +1 -1
  26. package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js +73 -74
  27. package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -1
  28. package/es2022/material/src/index.js +1 -7
  29. package/es2022/material/src/index.js.map +1 -1
  30. package/es2022/material/src/modules/dialogPopup.module.js +33 -40
  31. package/es2022/material/src/modules/dialogPopup.module.js.map +1 -1
  32. package/es2022/material/src/modules/virtualEditPopup.module.js +27 -30
  33. package/es2022/material/src/modules/virtualEditPopup.module.js.map +1 -1
  34. package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js +172 -140
  35. package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -1
  36. package/es2022/material/src/plugins/popup/dialog/dialogPopup.interface.js +65 -1
  37. package/es2022/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +1 -1
  38. package/es2022/material/src/plugins/popup/index.js +1 -2
  39. package/es2022/material/src/plugins/popup/index.js.map +1 -1
  40. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +120 -88
  41. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -1
  42. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +20 -1
  43. package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +1 -1
  44. package/es2022/src/components/index.js +4 -0
  45. package/es2022/src/components/index.js.map +1 -0
  46. package/es2022/src/components/option/option.component.js +22 -19
  47. package/es2022/src/components/option/option.component.js.map +1 -1
  48. package/es2022/src/components/optionGroup/optgroup.component.js +29 -0
  49. package/es2022/src/components/optionGroup/optgroup.component.js.map +1 -0
  50. package/es2022/src/components/select/select.component.js +356 -450
  51. package/es2022/src/components/select/select.component.js.map +1 -1
  52. package/es2022/src/decorators/index.js +2 -0
  53. package/es2022/src/decorators/index.js.map +1 -0
  54. package/es2022/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.js +12 -0
  55. package/es2022/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.js.map +1 -0
  56. package/es2022/src/directives/index.js +5 -0
  57. package/es2022/src/directives/index.js.map +1 -0
  58. package/es2022/src/directives/normalStateTemplate/normalStateTemplate.directive.js +30 -0
  59. package/es2022/src/directives/normalStateTemplate/normalStateTemplate.directive.js.map +1 -0
  60. package/es2022/src/directives/optionTemplate/optionTemplate.directive.js +30 -0
  61. package/es2022/src/directives/optionTemplate/optionTemplate.directive.js.map +1 -0
  62. package/es2022/src/directives/selectAbsolute/selectAbsolute.directive.js +25 -0
  63. package/es2022/src/directives/selectAbsolute/selectAbsolute.directive.js.map +1 -0
  64. package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js +210 -0
  65. package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js.map +1 -0
  66. package/es2022/src/directives/selectEdit/selectEdit.directive.js +51 -0
  67. package/es2022/src/directives/selectEdit/selectEdit.directive.js.map +1 -0
  68. package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js +48 -0
  69. package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js.map +1 -0
  70. package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js +17 -0
  71. package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js.map +1 -0
  72. package/es2022/src/index.js +8 -41
  73. package/es2022/src/index.js.map +1 -1
  74. package/es2022/src/interfaces/index.js +20 -0
  75. package/es2022/src/interfaces/index.js.map +1 -0
  76. package/es2022/src/interfaces/initState/initState.interface.js +2 -0
  77. package/es2022/src/interfaces/initState/initState.interface.js.map +1 -0
  78. package/es2022/src/interfaces/normalStateContext/normalStateContext.interface.js +2 -0
  79. package/es2022/src/interfaces/normalStateContext/normalStateContext.interface.js.map +1 -0
  80. package/es2022/src/interfaces/optionsGatherer/optionsGatherer.interface.js +2 -0
  81. package/es2022/src/interfaces/optionsGatherer/optionsGatherer.interface.js.map +1 -0
  82. package/es2022/src/interfaces/pluginDescription/pluginDescription.interface.js +2 -0
  83. package/es2022/src/interfaces/pluginDescription/pluginDescription.interface.js.map +1 -0
  84. package/es2022/src/interfaces/pluginOptions/pluginOptions.interface.js +2 -0
  85. package/es2022/src/interfaces/pluginOptions/pluginOptions.interface.js.map +1 -0
  86. package/es2022/src/interfaces/plugins/index.js +10 -0
  87. package/es2022/src/interfaces/plugins/index.js.map +1 -0
  88. package/es2022/src/interfaces/plugins/interactions/interactions.interface.js +2 -0
  89. package/es2022/src/interfaces/plugins/interactions/interactions.interface.js.map +1 -0
  90. package/es2022/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.js.map +1 -0
  91. package/es2022/src/interfaces/plugins/liveSearch/liveSearch.interface.js.map +1 -0
  92. package/es2022/src/interfaces/plugins/normalState/normalState.interface.js.map +1 -0
  93. package/es2022/src/interfaces/plugins/optionsHandler/optionsHandler.interface.js +2 -0
  94. package/es2022/src/interfaces/plugins/optionsHandler/optionsHandler.interface.js.map +1 -0
  95. package/es2022/src/interfaces/plugins/popup/popup.interface.js.map +1 -0
  96. package/es2022/src/interfaces/plugins/positioner/positioner.interface.js.map +1 -0
  97. package/es2022/src/interfaces/plugins/readonlyState/readonlyState.interface.js.map +1 -0
  98. package/es2022/src/interfaces/plugins/valueHandler/valueHandler.interface.js.map +1 -0
  99. package/es2022/src/interfaces/popupContext/popupContext.interface.js +2 -0
  100. package/es2022/src/interfaces/popupContext/popupContext.interface.js.map +1 -0
  101. package/es2022/src/interfaces/selectApi/selectApi.interface.js +2 -0
  102. package/es2022/src/interfaces/selectApi/selectApi.interface.js.map +1 -0
  103. package/es2022/src/interfaces/selectBusOptions/selectBusOptions.interface.js +2 -0
  104. package/es2022/src/interfaces/selectBusOptions/selectBusOptions.interface.js.map +1 -0
  105. package/es2022/src/interfaces/selectCssClasses/selectCssClasses.interface.js +2 -0
  106. package/es2022/src/interfaces/selectCssClasses/selectCssClasses.interface.js.map +1 -0
  107. package/es2022/src/interfaces/selectEvent/selectEvent.interface.js +2 -0
  108. package/es2022/src/interfaces/selectEvent/selectEvent.interface.js.map +1 -0
  109. package/es2022/src/interfaces/selectEvents/selectEvents.interface.js +2 -0
  110. package/es2022/src/interfaces/selectEvents/selectEvents.interface.js.map +1 -0
  111. package/es2022/src/interfaces/selectOption/selectOption.interface.js +2 -0
  112. package/es2022/src/interfaces/selectOption/selectOption.interface.js.map +1 -0
  113. package/es2022/src/interfaces/selectOptionGroup/selectOptionGroup.interface.js +2 -0
  114. package/es2022/src/interfaces/selectOptionGroup/selectOptionGroup.interface.js.map +1 -0
  115. package/es2022/src/interfaces/selectOptions/selectOptions.interface.js +2 -0
  116. package/es2022/src/interfaces/selectOptions/selectOptions.interface.js.map +1 -0
  117. package/es2022/src/interfaces/selectPlugin/selectPlugin.interface.js +2 -0
  118. package/es2022/src/interfaces/selectPlugin/selectPlugin.interface.js.map +1 -0
  119. package/es2022/src/interfaces/selectPluginTypes/selectPluginTypes.interface.js +2 -0
  120. package/es2022/src/interfaces/selectPluginTypes/selectPluginTypes.interface.js.map +1 -0
  121. package/es2022/src/interfaces/templateGatherer/templateGatherer.interface.js.map +1 -0
  122. package/es2022/src/interfaces/visualPluginOptions/visualPluginOptions.interface.js +2 -0
  123. package/es2022/src/interfaces/visualPluginOptions/visualPluginOptions.interface.js.map +1 -0
  124. package/es2022/src/misc/classes/index.js +3 -0
  125. package/es2022/src/misc/classes/index.js.map +1 -0
  126. package/es2022/src/misc/{pluginBus/pluginBus.js → classes/selectBus/selectBus.js} +17 -8
  127. package/es2022/src/misc/classes/selectBus/selectBus.js.map +1 -0
  128. package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js +163 -0
  129. package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js.map +1 -0
  130. package/es2022/src/misc/enums.js +43 -0
  131. package/es2022/src/misc/enums.js.map +1 -0
  132. package/es2022/src/misc/extensions/getValue.js +16 -11
  133. package/es2022/src/misc/extensions/getValue.js.map +1 -1
  134. package/es2022/src/misc/extensions/index.js +6 -5
  135. package/es2022/src/misc/extensions/index.js.map +1 -1
  136. package/es2022/src/misc/extensions/onFocus.js +14 -9
  137. package/es2022/src/misc/extensions/onFocus.js.map +1 -1
  138. package/es2022/src/misc/extensions/setReadonly.js +22 -17
  139. package/es2022/src/misc/extensions/setReadonly.js.map +1 -1
  140. package/es2022/src/misc/extensions/setValue.js +17 -12
  141. package/es2022/src/misc/extensions/setValue.js.map +1 -1
  142. package/es2022/src/misc/extensions/valueChange.js +17 -11
  143. package/es2022/src/misc/extensions/valueChange.js.map +1 -1
  144. package/es2022/src/misc/ngSelectOptions.interface.js.map +1 -1
  145. package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js +119 -82
  146. package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -1
  147. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +31 -1
  148. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +1 -1
  149. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js +178 -117
  150. package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -1
  151. package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js +155 -109
  152. package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -1
  153. package/es2022/src/misc/optionsGatherer/optionsGatherer.interface.js +55 -1
  154. package/es2022/src/misc/optionsGatherer/optionsGatherer.interface.js.map +1 -1
  155. package/es2022/src/misc/optionsGatherer/types.js +4 -3
  156. package/es2022/src/misc/optionsGatherer/types.js.map +1 -1
  157. package/es2022/src/misc/providers.js +102 -0
  158. package/es2022/src/misc/providers.js.map +1 -0
  159. package/es2022/src/misc/tokens.js +78 -0
  160. package/es2022/src/misc/tokens.js.map +1 -0
  161. package/es2022/src/misc/types.js +1 -33
  162. package/es2022/src/misc/types.js.map +1 -1
  163. package/es2022/src/modules/index.js +2 -0
  164. package/es2022/src/modules/index.js.map +1 -0
  165. package/es2022/src/modules/ngSelect.module.js +31 -75
  166. package/es2022/src/modules/ngSelect.module.js.map +1 -1
  167. package/es2022/src/modules/ngSelectEdit.module.js +39 -50
  168. package/es2022/src/modules/ngSelectEdit.module.js.map +1 -1
  169. package/es2022/src/pipes/getPlugin/getPlugin.pipe.js +17 -0
  170. package/es2022/src/pipes/getPlugin/getPlugin.pipe.js.map +1 -0
  171. package/es2022/src/pipes/index.js +4 -0
  172. package/es2022/src/pipes/index.js.map +1 -0
  173. package/es2022/src/pipes/{ngSelectHasValue.pipe.js → selectHasValue/selectHasValue.pipe.js} +7 -7
  174. package/es2022/src/pipes/selectHasValue/selectHasValue.pipe.js.map +1 -0
  175. package/es2022/src/pipes/selectValue/selectValue.pipe.js +31 -0
  176. package/es2022/src/pipes/selectValue/selectValue.pipe.js.map +1 -0
  177. package/es2022/src/plugins/index.js +10 -0
  178. package/es2022/src/plugins/index.js.map +1 -0
  179. package/es2022/src/plugins/interactions/index.js +2 -0
  180. package/es2022/src/plugins/interactions/index.js.map +1 -0
  181. package/es2022/src/plugins/interactions/noInteractions/noInteractions.component.js +36 -0
  182. package/es2022/src/plugins/interactions/noInteractions/noInteractions.component.js.map +1 -0
  183. package/es2022/src/plugins/keyboardHandler/index.js +1 -3
  184. package/es2022/src/plugins/keyboardHandler/index.js.map +1 -1
  185. package/es2022/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.js +36 -0
  186. package/es2022/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.js.map +1 -0
  187. package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js +36 -0
  188. package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js.map +1 -0
  189. package/es2022/src/plugins/liveSearch/index.js +2 -4
  190. package/es2022/src/plugins/liveSearch/index.js.map +1 -1
  191. package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js +36 -0
  192. package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js.map +1 -0
  193. package/es2022/src/plugins/normalState/index.js +1 -3
  194. package/es2022/src/plugins/normalState/index.js.map +1 -1
  195. package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js +36 -0
  196. package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js.map +1 -0
  197. package/es2022/src/plugins/optionsHandler/index.js +2 -0
  198. package/es2022/src/plugins/optionsHandler/index.js.map +1 -0
  199. package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js +50 -0
  200. package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js.map +1 -0
  201. package/es2022/src/plugins/popup/index.js +1 -3
  202. package/es2022/src/plugins/popup/index.js.map +1 -1
  203. package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js +36 -0
  204. package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js.map +1 -0
  205. package/es2022/src/plugins/positioner/basicPositioner/basicPositioner.component.js +36 -0
  206. package/es2022/src/plugins/positioner/basicPositioner/basicPositioner.component.js.map +1 -0
  207. package/es2022/src/plugins/positioner/index.js +1 -3
  208. package/es2022/src/plugins/positioner/index.js.map +1 -1
  209. package/es2022/src/plugins/readonlyState/index.js +1 -1
  210. package/es2022/src/plugins/readonlyState/index.js.map +1 -1
  211. package/es2022/src/plugins/valueHandler/index.js +1 -4
  212. package/es2022/src/plugins/valueHandler/index.js.map +1 -1
  213. package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js +81 -0
  214. package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js.map +1 -0
  215. package/extensions/src/extensions/getValue.d.ts +0 -1
  216. package/extensions/src/extensions/getValue.d.ts.map +1 -1
  217. package/extensions/src/extensions/onFocus.d.ts +0 -1
  218. package/extensions/src/extensions/onFocus.d.ts.map +1 -1
  219. package/extensions/src/extensions/patchOptions.d.ts +0 -6
  220. package/extensions/src/extensions/patchOptions.d.ts.map +1 -1
  221. package/extensions/src/extensions/reinitializeOptions.d.ts +0 -6
  222. package/extensions/src/extensions/reinitializeOptions.d.ts.map +1 -1
  223. package/extensions/src/extensions/setReadonly.d.ts +0 -1
  224. package/extensions/src/extensions/setReadonly.d.ts.map +1 -1
  225. package/extensions/src/extensions/setValue.d.ts +0 -1
  226. package/extensions/src/extensions/setValue.d.ts.map +1 -1
  227. package/extensions/src/extensions/valueChange.d.ts +0 -1
  228. package/extensions/src/extensions/valueChange.d.ts.map +1 -1
  229. package/extensions/src/index.d.ts +1 -7
  230. package/extensions/src/index.d.ts.map +1 -1
  231. package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts +0 -46
  232. package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts.map +1 -1
  233. package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts +0 -23
  234. package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts.map +1 -1
  235. package/material/src/components/basicDialogPopup/index.d.ts +0 -1
  236. package/material/src/components/basicDialogPopup/index.d.ts.map +1 -1
  237. package/material/src/components/basicDialogPopup/types.d.ts +0 -1
  238. package/material/src/components/basicDialogPopup/types.d.ts.map +1 -1
  239. package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts +0 -26
  240. package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts.map +1 -1
  241. package/material/src/index.d.ts +1 -7
  242. package/material/src/index.d.ts.map +1 -1
  243. package/material/src/modules/dialogPopup.module.d.ts +0 -14
  244. package/material/src/modules/dialogPopup.module.d.ts.map +1 -1
  245. package/material/src/modules/virtualEditPopup.module.d.ts +0 -12
  246. package/material/src/modules/virtualEditPopup.module.d.ts.map +1 -1
  247. package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts +0 -82
  248. package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts.map +1 -1
  249. package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts +0 -59
  250. package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts.map +1 -1
  251. package/material/src/plugins/popup/index.d.ts +1 -2
  252. package/material/src/plugins/popup/index.d.ts.map +1 -1
  253. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts +0 -29
  254. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts.map +1 -1
  255. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts +0 -16
  256. package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts.map +1 -1
  257. package/package.json +27 -19
  258. package/src/components/index.d.ts +4 -0
  259. package/src/components/index.d.ts.map +1 -0
  260. package/src/components/option/option.component.d.ts +15 -14
  261. package/src/components/option/option.component.d.ts.map +1 -1
  262. package/src/components/optionGroup/optgroup.component.d.ts +25 -0
  263. package/src/components/optionGroup/optgroup.component.d.ts.map +1 -0
  264. package/src/components/select/select.component.css +5 -0
  265. package/src/components/select/select.component.d.ts +94 -179
  266. package/src/components/select/select.component.d.ts.map +1 -1
  267. package/src/components/select/select.component.html +10 -16
  268. package/src/decorators/index.d.ts +2 -0
  269. package/src/{components/select → decorators}/index.d.ts.map +1 -1
  270. package/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.d.ts +5 -0
  271. package/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.d.ts.map +1 -0
  272. package/src/directives/index.d.ts +5 -0
  273. package/src/directives/index.d.ts.map +1 -0
  274. package/src/directives/normalStateTemplate/normalStateTemplate.directive.d.ts +19 -0
  275. package/src/directives/normalStateTemplate/normalStateTemplate.directive.d.ts.map +1 -0
  276. package/src/directives/optionTemplate/optionTemplate.directive.d.ts +19 -0
  277. package/src/directives/optionTemplate/optionTemplate.directive.d.ts.map +1 -0
  278. package/src/directives/selectAbsolute/selectAbsolute.directive.d.ts +12 -0
  279. package/src/directives/selectAbsolute/selectAbsolute.directive.d.ts.map +1 -0
  280. package/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.d.ts +1 -0
  281. package/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.d.ts.map +1 -0
  282. package/src/directives/selectEdit/selectEdit.directive.d.ts +1 -0
  283. package/src/directives/selectEdit/selectEdit.directive.d.ts.map +1 -0
  284. package/src/directives/selectPlaceholder/selectPlaceholder.directive.d.ts +1 -0
  285. package/src/directives/selectPlaceholder/selectPlaceholder.directive.d.ts.map +1 -0
  286. package/src/directives/withDirectAccess/withDirectAccess.directive.d.ts +9 -0
  287. package/src/directives/withDirectAccess/withDirectAccess.directive.d.ts.map +1 -0
  288. package/src/index.d.ts +8 -41
  289. package/src/index.d.ts.map +1 -1
  290. package/src/interfaces/index.d.ts +20 -0
  291. package/src/interfaces/index.d.ts.map +1 -0
  292. package/src/interfaces/initState/initState.interface.d.ts +10 -0
  293. package/src/interfaces/initState/initState.interface.d.ts.map +1 -0
  294. package/src/interfaces/normalStateContext/normalStateContext.interface.d.ts +11 -0
  295. package/src/interfaces/normalStateContext/normalStateContext.interface.d.ts.map +1 -0
  296. package/src/interfaces/optionsGatherer/optionsGatherer.interface.d.ts +12 -0
  297. package/src/interfaces/optionsGatherer/optionsGatherer.interface.d.ts.map +1 -0
  298. package/src/interfaces/pluginDescription/pluginDescription.interface.d.ts +21 -0
  299. package/src/interfaces/pluginDescription/pluginDescription.interface.d.ts.map +1 -0
  300. package/src/interfaces/pluginOptions/pluginOptions.interface.d.ts +6 -0
  301. package/src/interfaces/pluginOptions/pluginOptions.interface.d.ts.map +1 -0
  302. package/src/interfaces/plugins/index.d.ts +10 -0
  303. package/src/interfaces/plugins/index.d.ts.map +1 -0
  304. package/src/interfaces/plugins/interactions/interactions.interface.d.ts +13 -0
  305. package/src/interfaces/plugins/interactions/interactions.interface.d.ts.map +1 -0
  306. package/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.d.ts +13 -0
  307. package/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.d.ts.map +1 -0
  308. package/src/interfaces/plugins/liveSearch/liveSearch.interface.d.ts +13 -0
  309. package/src/interfaces/plugins/liveSearch/liveSearch.interface.d.ts.map +1 -0
  310. package/src/interfaces/plugins/normalState/normalState.interface.d.ts +31 -0
  311. package/src/interfaces/plugins/normalState/normalState.interface.d.ts.map +1 -0
  312. package/src/interfaces/plugins/optionsHandler/optionsHandler.interface.d.ts +19 -0
  313. package/src/interfaces/plugins/optionsHandler/optionsHandler.interface.d.ts.map +1 -0
  314. package/src/interfaces/plugins/popup/popup.interface.d.ts +13 -0
  315. package/src/interfaces/plugins/popup/popup.interface.d.ts.map +1 -0
  316. package/src/interfaces/plugins/positioner/positioner.interface.d.ts +13 -0
  317. package/src/interfaces/plugins/positioner/positioner.interface.d.ts.map +1 -0
  318. package/src/interfaces/plugins/readonlyState/readonlyState.interface.d.ts +12 -0
  319. package/src/interfaces/plugins/readonlyState/readonlyState.interface.d.ts.map +1 -0
  320. package/src/interfaces/plugins/valueHandler/valueHandler.interface.d.ts +23 -0
  321. package/src/interfaces/plugins/valueHandler/valueHandler.interface.d.ts.map +1 -0
  322. package/src/interfaces/popupContext/popupContext.interface.d.ts +16 -0
  323. package/src/interfaces/popupContext/popupContext.interface.d.ts.map +1 -0
  324. package/src/interfaces/selectApi/selectApi.interface.d.ts +50 -0
  325. package/src/interfaces/selectApi/selectApi.interface.d.ts.map +1 -0
  326. package/src/interfaces/selectBusOptions/selectBusOptions.interface.d.ts +29 -0
  327. package/src/interfaces/selectBusOptions/selectBusOptions.interface.d.ts.map +1 -0
  328. package/src/interfaces/selectCssClasses/selectCssClasses.interface.d.ts +6 -0
  329. package/src/interfaces/selectCssClasses/selectCssClasses.interface.d.ts.map +1 -0
  330. package/src/interfaces/selectEvent/selectEvent.interface.d.ts +20 -0
  331. package/src/interfaces/selectEvent/selectEvent.interface.d.ts.map +1 -0
  332. package/src/interfaces/selectEvents/selectEvents.interface.d.ts +37 -0
  333. package/src/interfaces/selectEvents/selectEvents.interface.d.ts.map +1 -0
  334. package/src/interfaces/selectOption/selectOption.interface.d.ts +33 -0
  335. package/src/interfaces/selectOption/selectOption.interface.d.ts.map +1 -0
  336. package/src/interfaces/selectOptionGroup/selectOptionGroup.interface.d.ts +21 -0
  337. package/src/interfaces/selectOptionGroup/selectOptionGroup.interface.d.ts.map +1 -0
  338. package/src/interfaces/selectOptions/selectOptions.interface.d.ts +27 -0
  339. package/src/interfaces/selectOptions/selectOptions.interface.d.ts.map +1 -0
  340. package/src/interfaces/selectPlugin/selectPlugin.interface.d.ts +33 -0
  341. package/src/interfaces/selectPlugin/selectPlugin.interface.d.ts.map +1 -0
  342. package/src/interfaces/selectPluginTypes/selectPluginTypes.interface.d.ts +44 -0
  343. package/src/interfaces/selectPluginTypes/selectPluginTypes.interface.d.ts.map +1 -0
  344. package/src/interfaces/templateGatherer/templateGatherer.interface.d.ts +17 -0
  345. package/src/interfaces/templateGatherer/templateGatherer.interface.d.ts.map +1 -0
  346. package/src/interfaces/visualPluginOptions/visualPluginOptions.interface.d.ts +11 -0
  347. package/src/interfaces/visualPluginOptions/visualPluginOptions.interface.d.ts.map +1 -0
  348. package/src/misc/classes/index.d.ts +3 -0
  349. package/src/misc/classes/index.d.ts.map +1 -0
  350. package/src/misc/classes/selectBus/selectBus.d.ts +54 -0
  351. package/src/misc/classes/selectBus/selectBus.d.ts.map +1 -0
  352. package/src/misc/classes/selectPluginInstances/selectPluginInstances.d.ts +90 -0
  353. package/src/misc/classes/selectPluginInstances/selectPluginInstances.d.ts.map +1 -0
  354. package/src/misc/enums.d.ts +42 -0
  355. package/src/misc/enums.d.ts.map +1 -0
  356. package/src/misc/extensions/getValue.d.ts +0 -6
  357. package/src/misc/extensions/getValue.d.ts.map +1 -1
  358. package/src/misc/extensions/index.d.ts +0 -5
  359. package/src/misc/extensions/index.d.ts.map +1 -1
  360. package/src/misc/extensions/onFocus.d.ts +0 -7
  361. package/src/misc/extensions/onFocus.d.ts.map +1 -1
  362. package/src/misc/extensions/setReadonly.d.ts +0 -7
  363. package/src/misc/extensions/setReadonly.d.ts.map +1 -1
  364. package/src/misc/extensions/setValue.d.ts +0 -7
  365. package/src/misc/extensions/setValue.d.ts.map +1 -1
  366. package/src/misc/extensions/valueChange.d.ts +0 -7
  367. package/src/misc/extensions/valueChange.d.ts.map +1 -1
  368. package/src/misc/ngSelectOptions.interface.d.ts +0 -71
  369. package/src/misc/ngSelectOptions.interface.d.ts.map +1 -1
  370. package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts +0 -69
  371. package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts.map +1 -1
  372. package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts +0 -85
  373. package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts.map +1 -1
  374. package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts +0 -28
  375. package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts.map +1 -1
  376. package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts +0 -72
  377. package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts.map +1 -1
  378. package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts +0 -52
  379. package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts.map +1 -1
  380. package/src/misc/optionsGatherer/types.d.ts +0 -3
  381. package/src/misc/optionsGatherer/types.d.ts.map +1 -1
  382. package/src/misc/providers.d.ts +54 -0
  383. package/src/misc/providers.d.ts.map +1 -0
  384. package/src/misc/tokens.d.ts +81 -0
  385. package/src/misc/tokens.d.ts.map +1 -0
  386. package/src/misc/types.d.ts +11 -31
  387. package/src/misc/types.d.ts.map +1 -1
  388. package/src/modules/index.d.ts +2 -0
  389. package/src/modules/index.d.ts.map +1 -0
  390. package/src/modules/ngSelect.module.d.ts +7 -20
  391. package/src/modules/ngSelect.module.d.ts.map +1 -1
  392. package/src/modules/ngSelectEdit.module.d.ts +0 -16
  393. package/src/modules/ngSelectEdit.module.d.ts.map +1 -1
  394. package/src/pipes/getPlugin/getPlugin.pipe.d.ts +25 -0
  395. package/src/pipes/getPlugin/getPlugin.pipe.d.ts.map +1 -0
  396. package/src/pipes/index.d.ts +4 -0
  397. package/src/pipes/index.d.ts.map +1 -0
  398. package/src/pipes/selectHasValue/selectHasValue.pipe.d.ts +16 -0
  399. package/src/pipes/selectHasValue/selectHasValue.pipe.d.ts.map +1 -0
  400. package/src/pipes/selectValue/selectValue.pipe.d.ts +19 -0
  401. package/src/pipes/selectValue/selectValue.pipe.d.ts.map +1 -0
  402. package/src/plugins/index.d.ts +9 -0
  403. package/src/plugins/index.d.ts.map +1 -0
  404. package/src/plugins/interactions/index.d.ts +2 -0
  405. package/src/plugins/interactions/index.d.ts.map +1 -0
  406. package/src/plugins/interactions/noInteractions/noInteractions.component.d.ts +28 -0
  407. package/src/plugins/interactions/noInteractions/noInteractions.component.d.ts.map +1 -0
  408. package/src/plugins/keyboardHandler/index.d.ts +1 -3
  409. package/src/plugins/keyboardHandler/index.d.ts.map +1 -1
  410. package/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.d.ts +28 -0
  411. package/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.d.ts.map +1 -0
  412. package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts +28 -0
  413. package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts.map +1 -0
  414. package/src/plugins/liveSearch/index.d.ts +2 -4
  415. package/src/plugins/liveSearch/index.d.ts.map +1 -1
  416. package/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.d.ts +28 -0
  417. package/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.d.ts.map +1 -0
  418. package/src/plugins/normalState/index.d.ts +1 -3
  419. package/src/plugins/normalState/index.d.ts.map +1 -1
  420. package/src/plugins/normalState/simpleNormalState/simpleNormalState.component.d.ts +28 -0
  421. package/src/plugins/normalState/simpleNormalState/simpleNormalState.component.d.ts.map +1 -0
  422. package/src/plugins/optionsHandler/index.d.ts +2 -0
  423. package/src/plugins/optionsHandler/index.d.ts.map +1 -0
  424. package/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.d.ts +41 -0
  425. package/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.d.ts.map +1 -0
  426. package/src/plugins/popup/index.d.ts +1 -3
  427. package/src/plugins/popup/index.d.ts.map +1 -1
  428. package/src/plugins/popup/simplePopup/simplePopup.component.d.ts +28 -0
  429. package/src/plugins/popup/simplePopup/simplePopup.component.d.ts.map +1 -0
  430. package/src/plugins/positioner/basicPositioner/basicPositioner.component.d.ts +28 -0
  431. package/src/plugins/positioner/basicPositioner/basicPositioner.component.d.ts.map +1 -0
  432. package/src/plugins/positioner/index.d.ts +1 -3
  433. package/src/plugins/positioner/index.d.ts.map +1 -1
  434. package/src/plugins/readonlyState/index.d.ts +0 -1
  435. package/src/plugins/readonlyState/index.d.ts.map +1 -1
  436. package/src/plugins/valueHandler/index.d.ts +1 -4
  437. package/src/plugins/valueHandler/index.d.ts.map +1 -1
  438. package/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.d.ts +46 -0
  439. package/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.d.ts.map +1 -0
  440. package/styles/components/_grid.scss +9 -0
  441. package/styles/core/_functions.scss +10 -0
  442. package/styles/core/_misc.scss +146 -0
  443. package/styles/core/_mixins.scss +44 -0
  444. package/styles/core/_theme.scss +16 -0
  445. package/styles/index.scss +2 -0
  446. package/styles/themes/dark.scss +19 -0
  447. package/styles/themes/light.scss +19 -0
  448. package/version.bak +1 -1
  449. package/es2022/material/src/directives/types.js +0 -2
  450. package/es2022/material/src/directives/types.js.map +0 -1
  451. package/es2022/material/src/plugins/popup/components.js +0 -3
  452. package/es2022/material/src/plugins/popup/components.js.map +0 -1
  453. package/es2022/src/components/option/index.js +0 -3
  454. package/es2022/src/components/option/index.js.map +0 -1
  455. package/es2022/src/components/option/optgroup.component.js +0 -54
  456. package/es2022/src/components/option/optgroup.component.js.map +0 -1
  457. package/es2022/src/components/option/optgroup.interface.js +0 -2
  458. package/es2022/src/components/option/optgroup.interface.js.map +0 -1
  459. package/es2022/src/components/option/option.interface.js +0 -2
  460. package/es2022/src/components/option/option.interface.js.map +0 -1
  461. package/es2022/src/components/select/index.js +0 -2
  462. package/es2022/src/components/select/index.js.map +0 -1
  463. package/es2022/src/components/select/select.interface.js +0 -2
  464. package/es2022/src/components/select/select.interface.js.map +0 -1
  465. package/es2022/src/components/select/types.js +0 -6
  466. package/es2022/src/components/select/types.js.map +0 -1
  467. package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -25
  468. package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +0 -1
  469. package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -66
  470. package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +0 -1
  471. package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -42
  472. package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +0 -1
  473. package/es2022/src/index.ssr.js +0 -10
  474. package/es2022/src/index.ssr.js.map +0 -1
  475. package/es2022/src/misc/index.js +0 -6
  476. package/es2022/src/misc/index.js.map +0 -1
  477. package/es2022/src/misc/ngSelectControlValueAccessor.directive.js +0 -162
  478. package/es2022/src/misc/ngSelectControlValueAccessor.directive.js.map +0 -1
  479. package/es2022/src/misc/plugin.interface.js +0 -2
  480. package/es2022/src/misc/plugin.interface.js.map +0 -1
  481. package/es2022/src/misc/pluginBus/pluginBus.interface.js +0 -2
  482. package/es2022/src/misc/pluginBus/pluginBus.interface.js.map +0 -1
  483. package/es2022/src/misc/pluginBus/pluginBus.js.map +0 -1
  484. package/es2022/src/misc/templateGatherer.interface.js.map +0 -1
  485. package/es2022/src/modules/ngSelectDynamic.module.js +0 -20
  486. package/es2022/src/modules/ngSelectDynamic.module.js.map +0 -1
  487. package/es2022/src/pipes/ngSelectHasValue.pipe.js.map +0 -1
  488. package/es2022/src/pipes/ngSelectValue.pipe.js +0 -31
  489. package/es2022/src/pipes/ngSelectValue.pipe.js.map +0 -1
  490. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -146
  491. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +0 -1
  492. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -2
  493. package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +0 -1
  494. package/es2022/src/plugins/keyboardHandler/components.js +0 -3
  495. package/es2022/src/plugins/keyboardHandler/components.js.map +0 -1
  496. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -197
  497. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +0 -1
  498. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -2
  499. package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +0 -1
  500. package/es2022/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +0 -1
  501. package/es2022/src/plugins/keyboardHandler/types.js +0 -10
  502. package/es2022/src/plugins/keyboardHandler/types.js.map +0 -1
  503. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -164
  504. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +0 -1
  505. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -2
  506. package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +0 -1
  507. package/es2022/src/plugins/liveSearch/components.js +0 -4
  508. package/es2022/src/plugins/liveSearch/components.js.map +0 -1
  509. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -313
  510. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +0 -1
  511. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -2
  512. package/es2022/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +0 -1
  513. package/es2022/src/plugins/liveSearch/liveSearch.interface.js.map +0 -1
  514. package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -65
  515. package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js.map +0 -1
  516. package/es2022/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -2
  517. package/es2022/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +0 -1
  518. package/es2022/src/plugins/liveSearch/types.js +0 -10
  519. package/es2022/src/plugins/liveSearch/types.js.map +0 -1
  520. package/es2022/src/plugins/normalState/basic/basicNormalState.component.js +0 -58
  521. package/es2022/src/plugins/normalState/basic/basicNormalState.component.js.map +0 -1
  522. package/es2022/src/plugins/normalState/basic/basicNormalState.interface.js +0 -2
  523. package/es2022/src/plugins/normalState/basic/basicNormalState.interface.js.map +0 -1
  524. package/es2022/src/plugins/normalState/components.js +0 -4
  525. package/es2022/src/plugins/normalState/components.js.map +0 -1
  526. package/es2022/src/plugins/normalState/edit/editNormalState.component.js +0 -88
  527. package/es2022/src/plugins/normalState/edit/editNormalState.component.js.map +0 -1
  528. package/es2022/src/plugins/normalState/edit/editNormalState.interface.js +0 -2
  529. package/es2022/src/plugins/normalState/edit/editNormalState.interface.js.map +0 -1
  530. package/es2022/src/plugins/normalState/normalState.interface.js.map +0 -1
  531. package/es2022/src/plugins/normalState/normalStateAbstract.component.js +0 -89
  532. package/es2022/src/plugins/normalState/normalStateAbstract.component.js.map +0 -1
  533. package/es2022/src/plugins/normalState/types.js +0 -10
  534. package/es2022/src/plugins/normalState/types.js.map +0 -1
  535. package/es2022/src/plugins/popup/basic/basicPopup.component.js +0 -62
  536. package/es2022/src/plugins/popup/basic/basicPopup.component.js.map +0 -1
  537. package/es2022/src/plugins/popup/basic/basicPopup.interface.js +0 -2
  538. package/es2022/src/plugins/popup/basic/basicPopup.interface.js.map +0 -1
  539. package/es2022/src/plugins/popup/component.js +0 -4
  540. package/es2022/src/plugins/popup/component.js.map +0 -1
  541. package/es2022/src/plugins/popup/edit/editPopup.component.js +0 -85
  542. package/es2022/src/plugins/popup/edit/editPopup.component.js.map +0 -1
  543. package/es2022/src/plugins/popup/edit/editPopup.interface.js +0 -2
  544. package/es2022/src/plugins/popup/edit/editPopup.interface.js.map +0 -1
  545. package/es2022/src/plugins/popup/popup.interface.js.map +0 -1
  546. package/es2022/src/plugins/popup/popupAbstract.component.js +0 -200
  547. package/es2022/src/plugins/popup/popupAbstract.component.js.map +0 -1
  548. package/es2022/src/plugins/popup/types.js +0 -10
  549. package/es2022/src/plugins/popup/types.js.map +0 -1
  550. package/es2022/src/plugins/positioner/components.js +0 -3
  551. package/es2022/src/plugins/positioner/components.js.map +0 -1
  552. package/es2022/src/plugins/positioner/default/defaultPositioner.component.js +0 -160
  553. package/es2022/src/plugins/positioner/default/defaultPositioner.component.js.map +0 -1
  554. package/es2022/src/plugins/positioner/default/defaultPositioner.interface.js +0 -2
  555. package/es2022/src/plugins/positioner/default/defaultPositioner.interface.js.map +0 -1
  556. package/es2022/src/plugins/positioner/no/noPositioner.component.js +0 -78
  557. package/es2022/src/plugins/positioner/no/noPositioner.component.js.map +0 -1
  558. package/es2022/src/plugins/positioner/no/noPositioner.interface.js +0 -2
  559. package/es2022/src/plugins/positioner/no/noPositioner.interface.js.map +0 -1
  560. package/es2022/src/plugins/positioner/positioner.interface.js.map +0 -1
  561. package/es2022/src/plugins/positioner/types.js +0 -10
  562. package/es2022/src/plugins/positioner/types.js.map +0 -1
  563. package/es2022/src/plugins/readonlyState/readonlyState.interface.js.map +0 -1
  564. package/es2022/src/plugins/readonlyState/types.js +0 -10
  565. package/es2022/src/plugins/readonlyState/types.js.map +0 -1
  566. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -159
  567. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +0 -1
  568. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -2
  569. package/es2022/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +0 -1
  570. package/es2022/src/plugins/valueHandler/components.js +0 -3
  571. package/es2022/src/plugins/valueHandler/components.js.map +0 -1
  572. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -179
  573. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +0 -1
  574. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -2
  575. package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +0 -1
  576. package/es2022/src/plugins/valueHandler/types.js +0 -10
  577. package/es2022/src/plugins/valueHandler/types.js.map +0 -1
  578. package/es2022/src/plugins/valueHandler/valueHandler.interface.js.map +0 -1
  579. package/es2022/src/plugins/valueHandler/valueHandlerBase.js +0 -145
  580. package/es2022/src/plugins/valueHandler/valueHandlerBase.js.map +0 -1
  581. package/material/src/directives/types.d.ts +0 -2
  582. package/material/src/directives/types.d.ts.map +0 -1
  583. package/material/src/plugins/popup/components.d.ts +0 -3
  584. package/material/src/plugins/popup/components.d.ts.map +0 -1
  585. package/src/components/option/index.d.ts +0 -3
  586. package/src/components/option/index.d.ts.map +0 -1
  587. package/src/components/option/optgroup.component.d.ts +0 -37
  588. package/src/components/option/optgroup.component.d.ts.map +0 -1
  589. package/src/components/option/optgroup.interface.d.ts +0 -20
  590. package/src/components/option/optgroup.interface.d.ts.map +0 -1
  591. package/src/components/option/option.interface.d.ts +0 -31
  592. package/src/components/option/option.interface.d.ts.map +0 -1
  593. package/src/components/select/index.d.ts +0 -2
  594. package/src/components/select/select.interface.d.ts +0 -68
  595. package/src/components/select/select.interface.d.ts.map +0 -1
  596. package/src/components/select/types.d.ts +0 -7
  597. package/src/components/select/types.d.ts.map +0 -1
  598. package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts +0 -11
  599. package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts.map +0 -1
  600. package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts +0 -11
  601. package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts.map +0 -1
  602. package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts +0 -21
  603. package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts.map +0 -1
  604. package/src/index.ssr.d.ts +0 -1
  605. package/src/index.ssr.d.ts.map +0 -1
  606. package/src/misc/index.d.ts +0 -6
  607. package/src/misc/index.d.ts.map +0 -1
  608. package/src/misc/ngSelectControlValueAccessor.directive.d.ts +0 -63
  609. package/src/misc/ngSelectControlValueAccessor.directive.d.ts.map +0 -1
  610. package/src/misc/plugin.interface.d.ts +0 -108
  611. package/src/misc/plugin.interface.d.ts.map +0 -1
  612. package/src/misc/pluginBus/pluginBus.d.ts +0 -49
  613. package/src/misc/pluginBus/pluginBus.d.ts.map +0 -1
  614. package/src/misc/pluginBus/pluginBus.interface.d.ts +0 -36
  615. package/src/misc/pluginBus/pluginBus.interface.d.ts.map +0 -1
  616. package/src/misc/templateGatherer.interface.d.ts +0 -17
  617. package/src/misc/templateGatherer.interface.d.ts.map +0 -1
  618. package/src/modules/ngSelectDynamic.module.d.ts +0 -11
  619. package/src/modules/ngSelectDynamic.module.d.ts.map +0 -1
  620. package/src/pipes/ngSelectHasValue.pipe.d.ts +0 -16
  621. package/src/pipes/ngSelectHasValue.pipe.d.ts.map +0 -1
  622. package/src/pipes/ngSelectValue.pipe.d.ts +0 -19
  623. package/src/pipes/ngSelectValue.pipe.d.ts.map +0 -1
  624. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts +0 -58
  625. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts.map +0 -1
  626. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts +0 -12
  627. package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts.map +0 -1
  628. package/src/plugins/keyboardHandler/components.d.ts +0 -3
  629. package/src/plugins/keyboardHandler/components.d.ts.map +0 -1
  630. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts +0 -68
  631. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts.map +0 -1
  632. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts +0 -12
  633. package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts.map +0 -1
  634. package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts +0 -12
  635. package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts.map +0 -1
  636. package/src/plugins/keyboardHandler/types.d.ts +0 -11
  637. package/src/plugins/keyboardHandler/types.d.ts.map +0 -1
  638. package/src/plugins/liveSearch/basic/basicLiveSearch.component.css +0 -11
  639. package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts +0 -98
  640. package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts.map +0 -1
  641. package/src/plugins/liveSearch/basic/basicLiveSearch.component.html +0 -5
  642. package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts +0 -29
  643. package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts.map +0 -1
  644. package/src/plugins/liveSearch/components.d.ts +0 -4
  645. package/src/plugins/liveSearch/components.d.ts.map +0 -1
  646. package/src/plugins/liveSearch/edit/editLiveSearch.component.css +0 -13
  647. package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts +0 -141
  648. package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts.map +0 -1
  649. package/src/plugins/liveSearch/edit/editLiveSearch.component.html +0 -13
  650. package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts +0 -37
  651. package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts.map +0 -1
  652. package/src/plugins/liveSearch/liveSearch.interface.d.ts +0 -38
  653. package/src/plugins/liveSearch/liveSearch.interface.d.ts.map +0 -1
  654. package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts +0 -54
  655. package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts.map +0 -1
  656. package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts +0 -12
  657. package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts.map +0 -1
  658. package/src/plugins/liveSearch/types.d.ts +0 -11
  659. package/src/plugins/liveSearch/types.d.ts.map +0 -1
  660. package/src/plugins/normalState/basic/basicNormalState.component.css +0 -38
  661. package/src/plugins/normalState/basic/basicNormalState.component.d.ts +0 -17
  662. package/src/plugins/normalState/basic/basicNormalState.component.d.ts.map +0 -1
  663. package/src/plugins/normalState/basic/basicNormalState.component.html +0 -6
  664. package/src/plugins/normalState/basic/basicNormalState.interface.d.ts +0 -29
  665. package/src/plugins/normalState/basic/basicNormalState.interface.d.ts.map +0 -1
  666. package/src/plugins/normalState/components.d.ts +0 -4
  667. package/src/plugins/normalState/components.d.ts.map +0 -1
  668. package/src/plugins/normalState/edit/editNormalState.component.css +0 -77
  669. package/src/plugins/normalState/edit/editNormalState.component.d.ts +0 -26
  670. package/src/plugins/normalState/edit/editNormalState.component.d.ts.map +0 -1
  671. package/src/plugins/normalState/edit/editNormalState.component.html +0 -19
  672. package/src/plugins/normalState/edit/editNormalState.interface.d.ts +0 -53
  673. package/src/plugins/normalState/edit/editNormalState.interface.d.ts.map +0 -1
  674. package/src/plugins/normalState/normalState.interface.d.ts +0 -49
  675. package/src/plugins/normalState/normalState.interface.d.ts.map +0 -1
  676. package/src/plugins/normalState/normalStateAbstract.component.d.ts +0 -65
  677. package/src/plugins/normalState/normalStateAbstract.component.d.ts.map +0 -1
  678. package/src/plugins/normalState/types.d.ts +0 -11
  679. package/src/plugins/normalState/types.d.ts.map +0 -1
  680. package/src/plugins/popup/basic/basicPopup.component.css +0 -61
  681. package/src/plugins/popup/basic/basicPopup.component.d.ts +0 -17
  682. package/src/plugins/popup/basic/basicPopup.component.d.ts.map +0 -1
  683. package/src/plugins/popup/basic/basicPopup.component.html +0 -21
  684. package/src/plugins/popup/basic/basicPopup.interface.d.ts +0 -33
  685. package/src/plugins/popup/basic/basicPopup.interface.d.ts.map +0 -1
  686. package/src/plugins/popup/component.d.ts +0 -4
  687. package/src/plugins/popup/component.d.ts.map +0 -1
  688. package/src/plugins/popup/edit/editPopup.component.css +0 -61
  689. package/src/plugins/popup/edit/editPopup.component.d.ts +0 -32
  690. package/src/plugins/popup/edit/editPopup.component.d.ts.map +0 -1
  691. package/src/plugins/popup/edit/editPopup.component.html +0 -19
  692. package/src/plugins/popup/edit/editPopup.interface.d.ts +0 -33
  693. package/src/plugins/popup/edit/editPopup.interface.d.ts.map +0 -1
  694. package/src/plugins/popup/popup.interface.d.ts +0 -52
  695. package/src/plugins/popup/popup.interface.d.ts.map +0 -1
  696. package/src/plugins/popup/popupAbstract.component.d.ts +0 -130
  697. package/src/plugins/popup/popupAbstract.component.d.ts.map +0 -1
  698. package/src/plugins/popup/types.d.ts +0 -11
  699. package/src/plugins/popup/types.d.ts.map +0 -1
  700. package/src/plugins/positioner/components.d.ts +0 -3
  701. package/src/plugins/positioner/components.d.ts.map +0 -1
  702. package/src/plugins/positioner/default/defaultPositioner.component.d.ts +0 -89
  703. package/src/plugins/positioner/default/defaultPositioner.component.d.ts.map +0 -1
  704. package/src/plugins/positioner/default/defaultPositioner.interface.d.ts +0 -12
  705. package/src/plugins/positioner/default/defaultPositioner.interface.d.ts.map +0 -1
  706. package/src/plugins/positioner/no/noPositioner.component.d.ts +0 -50
  707. package/src/plugins/positioner/no/noPositioner.component.d.ts.map +0 -1
  708. package/src/plugins/positioner/no/noPositioner.interface.d.ts +0 -12
  709. package/src/plugins/positioner/no/noPositioner.interface.d.ts.map +0 -1
  710. package/src/plugins/positioner/positioner.interface.d.ts +0 -22
  711. package/src/plugins/positioner/positioner.interface.d.ts.map +0 -1
  712. package/src/plugins/positioner/types.d.ts +0 -11
  713. package/src/plugins/positioner/types.d.ts.map +0 -1
  714. package/src/plugins/readonlyState/readonlyState.interface.d.ts +0 -12
  715. package/src/plugins/readonlyState/readonlyState.interface.d.ts.map +0 -1
  716. package/src/plugins/readonlyState/types.d.ts +0 -11
  717. package/src/plugins/readonlyState/types.d.ts.map +0 -1
  718. package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts +0 -51
  719. package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts.map +0 -1
  720. package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts +0 -12
  721. package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts.map +0 -1
  722. package/src/plugins/valueHandler/components.d.ts +0 -3
  723. package/src/plugins/valueHandler/components.d.ts.map +0 -1
  724. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts +0 -52
  725. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts.map +0 -1
  726. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts +0 -21
  727. package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts.map +0 -1
  728. package/src/plugins/valueHandler/types.d.ts +0 -11
  729. package/src/plugins/valueHandler/types.d.ts.map +0 -1
  730. package/src/plugins/valueHandler/valueHandler.interface.d.ts +0 -31
  731. package/src/plugins/valueHandler/valueHandler.interface.d.ts.map +0 -1
  732. package/src/plugins/valueHandler/valueHandlerBase.d.ts +0 -115
  733. package/src/plugins/valueHandler/valueHandlerBase.d.ts.map +0 -1
  734. /package/es2022/src/{plugins → interfaces/plugins}/keyboardHandler/keyboardHandler.interface.js +0 -0
  735. /package/es2022/src/{plugins → interfaces/plugins}/liveSearch/liveSearch.interface.js +0 -0
  736. /package/es2022/src/{plugins → interfaces/plugins}/normalState/normalState.interface.js +0 -0
  737. /package/es2022/src/{plugins → interfaces/plugins}/popup/popup.interface.js +0 -0
  738. /package/es2022/src/{plugins → interfaces/plugins}/positioner/positioner.interface.js +0 -0
  739. /package/es2022/src/{plugins → interfaces/plugins}/readonlyState/readonlyState.interface.js +0 -0
  740. /package/es2022/src/{plugins → interfaces/plugins}/valueHandler/valueHandler.interface.js +0 -0
  741. /package/es2022/src/{misc → interfaces/templateGatherer}/templateGatherer.interface.js +0 -0
@@ -1,256 +1,171 @@
1
- import { ChangeDetectorRef, Type, AfterViewInit, OnInit, QueryList, EventEmitter, ElementRef, OnChanges, SimpleChanges, OnDestroy, TemplateRef, ComponentFactoryResolver, ApplicationRef, Injector, ComponentRef } from '@angular/core';
2
- import { BehaviorSubject, Observable, Subscription } from 'rxjs';
3
- import { NgSelectOptions, NgSelectPlugin, NgSelectPluginTypes } from '../../misc';
4
- import { NgSelect, NgSelectPluginInstances, NgSelectAction, NgSelectFunction } from './select.interface';
5
- import { KeyboardHandler } from '../../plugins/keyboardHandler';
6
- import { NormalState, NormalStateContext } from '../../plugins/normalState';
7
- import { Popup, PopupContext } from '../../plugins/popup';
8
- import { Positioner } from '../../plugins/positioner';
9
- import { ReadonlyState } from '../../plugins/readonlyState';
10
- import { ValueHandler } from '../../plugins/valueHandler';
11
- import { LiveSearch } from '../../plugins/liveSearch';
12
- import { NgSelectOption, NgSelectOptGroup } from '../option';
13
- import { PluginBus } from '../../misc/pluginBus/pluginBus';
14
- import { PluginBusEvents } from '../../misc/pluginBus/pluginBus.interface';
1
+ import { ViewContainerRef, Signal, WritableSignal, Type, ElementRef, InputSignalWithTransform, ComponentRef, TemplateRef } from '@angular/core';
2
+ import { RecursivePartial } from '@jscrpt/common';
3
+ import { InitState, Interactions, KeyboardHandler, LiveSearch, NormalState, NormalStateContext, OptionsGatherer, OptionsHandler, PluginDescription, Popup, PopupContext, Positioner, ReadonlyState, SelectApi, SelectCssClasses, SelectEvents, SelectOption, SelectOptions, SelectPlugin, TemplateGatherer, ValueHandler } from '../../interfaces';
4
+ import { SelectPluginType } from '../../misc/enums';
5
+ import { SelectBus, SelectPluginInstances } from '../../misc/classes';
6
+ import { SelectAction, SelectFunction } from '../../misc/types';
15
7
  import * as i0 from "@angular/core";
16
8
  /**
17
- * Component that represents NgSelect itself, allows selection of value from options
9
+ * Component that represents Select itself, allows selection of value from options
18
10
  */
19
- export declare class NgSelectComponent<TValue = any> implements NgSelect<TValue>, OnChanges, OnInit, AfterViewInit, OnDestroy {
20
- protected _changeDetector: ChangeDetectorRef;
21
- protected _element: ElementRef<HTMLElement>;
22
- protected _componentFactoryResolver: ComponentFactoryResolver;
23
- protected _appRef: ApplicationRef;
24
- protected _injector: Injector;
25
- protected _pluginBus: PluginBus<TValue>;
26
- protected _pluginInstances: NgSelectPluginInstances;
11
+ export declare class Select<TValue = unknown, TCssClasses = SelectCssClasses> implements SelectApi<TValue, TCssClasses>, OptionsGatherer<TValue>, TemplateGatherer {
12
+ protected pluginInstances: SelectPluginInstances;
13
+ protected bus: SelectBus<TValue>;
27
14
  /**
28
- * NgSelect options
15
+ * Instance of popup component used for positioning over page body when absolute option is true
29
16
  */
30
- protected _selectOptions: NgSelectOptions<TValue>;
17
+ protected popupComponentRef: ComponentRef<Popup> | undefined | null;
31
18
  /**
32
- * Subject used for indication that NgSelect was initialized
19
+ * Object storing current used plugin type
33
20
  */
34
- protected _initializedSubject: BehaviorSubject<boolean>;
21
+ protected pluginTypes: Record<SelectPluginType, Type<SelectPlugin> | undefined | null>;
35
22
  /**
36
- * Occurs when array of provided options has changed
23
+ * Signal that holds init state of live search plugin
37
24
  */
38
- protected _optionsChange: EventEmitter<void>;
25
+ protected liveSearchInit: WritableSignal<boolean>;
39
26
  /**
40
- * Occurs when array of visible, displayed options has changed
27
+ * Signal that holds init state of interactions plugin
41
28
  */
42
- protected _availableOptionsChange: EventEmitter<void>;
29
+ protected interactionsInit: WritableSignal<boolean>;
43
30
  /**
44
- * Array of available options to be displayed
31
+ * Signal that holds init state of options handler plugin
45
32
  */
46
- protected _availableOptions: NgSelectOption<TValue>[];
33
+ protected optionsHandlerInit: WritableSignal<boolean>;
47
34
  /**
48
- * Live search plugin currently used in NgSelect
35
+ * Signal that holds init state of positioner plugin
49
36
  */
50
- protected _liveSearch: LiveSearch;
37
+ protected positionerInit: WritableSignal<boolean>;
51
38
  /**
52
- * Subscription for changes of live search value
39
+ * Signal that holds init state of keyboard plugin
53
40
  */
54
- protected _searchValueChangeSubscription: Subscription;
41
+ protected keyboardInit: WritableSignal<boolean>;
55
42
  /**
56
- * Instance of component ref for absolute popup
43
+ * Signal that holds init state of value handler plugin
57
44
  */
58
- protected _absolutePopup: ComponentRef<Popup>;
45
+ protected valueHandlerInit: WritableSignal<boolean>;
59
46
  /**
60
- * Instance of type that is used as absolute popup
47
+ * Signal that holds init state of readonly state plugin
61
48
  */
62
- protected _absolutePopupType: Type<Popup>;
49
+ protected readonlyStateInit: WritableSignal<boolean>;
63
50
  /**
64
- * Instance of html element that is used
51
+ * Signal that holds init state of normal state plugin
65
52
  */
66
- protected _absolutePopupElement: HTMLElement;
53
+ protected normalStateInit: WritableSignal<boolean>;
67
54
  /**
68
- * Gets or sets NgSelect options
55
+ * Signal that holds init state of popup plugin
69
56
  */
70
- get selectOptions(): NgSelectOptions<TValue>;
71
- set selectOptions(options: NgSelectOptions<TValue>);
57
+ protected popupInit: WritableSignal<boolean>;
72
58
  /**
73
- * Indication whether should be NgSelect disabled or not
59
+ * Initialization state of all plugin init options
74
60
  */
75
- disabled: boolean;
61
+ protected optionsInit: Signal<InitState>;
76
62
  /**
77
- * Indication whether should be NgSelect readonly or not
63
+ * Information whether is select initialized or not, changes when Select is initialized or reinitialized, if value is false Select was not initialized yet
78
64
  */
79
- readonly: boolean;
65
+ protected initializedSignal: WritableSignal<boolean>;
80
66
  /**
81
- * Occurs every time when NgSelect is initialized or reinitialized, if value is false NgSelect was not initialized yet
67
+ * Container used for rendering live search plugin
82
68
  */
83
- get initialized(): Observable<boolean>;
69
+ protected liveSearchContainer: Signal<ViewContainerRef>;
84
70
  /**
85
- * Gets current state of initialization
71
+ * Container used for rendering interactions plugin
86
72
  */
87
- isInitialized: boolean;
73
+ protected interactionsContainer: Signal<ViewContainerRef>;
88
74
  /**
89
- * Template used within normal state
75
+ * Container used for rendering options handler plugin
90
76
  */
91
- normalStateTemplate: TemplateRef<NormalStateContext>;
77
+ protected optionsHandlerContainer: Signal<ViewContainerRef>;
92
78
  /**
93
- * Template that is used within Popup as option
94
- * @internal
79
+ * Container used for rendering positioner plugin
95
80
  */
96
- optionTemplate?: TemplateRef<PopupContext>;
81
+ protected positionerContainer: Signal<ViewContainerRef>;
97
82
  /**
98
- * Array of provided options for select
83
+ * Container used for rendering keyboard handler plugin
99
84
  */
100
- get options(): NgSelectOption<TValue>[];
85
+ protected keyboardHandlerContainer: Signal<ViewContainerRef>;
101
86
  /**
102
- * Occurs when array of provided options has changed
87
+ * Container used for rendering value handler plugin
103
88
  */
104
- get optionsChange(): EventEmitter<void>;
89
+ protected valueHandlerContainer: Signal<ViewContainerRef>;
105
90
  /**
106
- * Array of visible, displayed options for select
91
+ * Container used for rendering readonly state plugin
107
92
  */
108
- get availableOptions(): NgSelectOption<TValue>[];
93
+ protected readonlyStateContainer: Signal<ViewContainerRef>;
109
94
  /**
110
- * Occurs when array of visible, displayed options has changed
95
+ * Container used for rendering normal state plugin
111
96
  */
112
- get availableOptionsChange(): EventEmitter<void>;
97
+ protected normalStateContainer: Signal<ViewContainerRef>;
113
98
  /**
114
- * NgSelect plugin instances available for gatherer
99
+ * Container used for rendering popup plugin
115
100
  */
116
- ngSelectPlugins: NgSelectPluginInstances;
101
+ protected popupContainer: Signal<ViewContainerRef>;
117
102
  /**
118
- * Plugin bus used for inter plugin shared events
103
+ * @inheritdoc
119
104
  */
120
- pluginBus: PluginBus<TValue>;
105
+ selectOptions: SelectOptions<TValue, TCssClasses>;
121
106
  /**
122
- * Select element that implements default gatherers
107
+ * Indication whether should be Select disabled or not
123
108
  */
124
- select: NgSelect<TValue>;
109
+ disabled: InputSignalWithTransform<boolean, string | boolean>;
125
110
  /**
126
- * Element used for live search
111
+ * Indication whether should be Select readonly or not
127
112
  */
128
- liveSearchElement: HTMLElement[][];
113
+ readonly: InputSignalWithTransform<boolean, string | boolean>;
129
114
  /**
130
- * Options children found inside ng-select
115
+ * @inheritdoc
131
116
  */
132
- optionsChildren: QueryList<NgSelectOption>;
117
+ get initialized(): Signal<boolean>;
133
118
  /**
134
- * Options groups children found inside ng-select
119
+ * @inheritdoc
135
120
  */
136
- optGroupsChildren: QueryList<NgSelectOptGroup>;
137
- constructor(_changeDetector: ChangeDetectorRef, _element: ElementRef<HTMLElement>, _componentFactoryResolver: ComponentFactoryResolver, _appRef: ApplicationRef, _injector: Injector, _pluginBus: PluginBus<TValue>, _pluginInstances: NgSelectPluginInstances, options?: NgSelectOptions<TValue>, normalStateType?: Type<NormalState>, keyboardHandlerType?: Type<KeyboardHandler>, popupType?: Type<Popup>, positionerType?: Type<Positioner>, readonlyStateType?: Type<ReadonlyState>, valueHandlerType?: Type<ValueHandler>, liveSearchType?: Type<LiveSearch>, readonly?: string, disabled?: string, multiple?: string);
121
+ get events(): SelectEvents;
138
122
  /**
139
- * Called when input value changes
123
+ * @inheritdoc
140
124
  */
141
- ngOnChanges(changes: SimpleChanges): void;
125
+ readonly normalStateTemplate: Signal<TemplateRef<NormalStateContext> | undefined | null>;
142
126
  /**
143
- * Initialize component
127
+ * @inheritdoc
144
128
  */
145
- ngOnInit(): void;
129
+ readonly optionTemplate: Signal<TemplateRef<PopupContext> | undefined | null>;
146
130
  /**
147
- * Called when view was initialized
131
+ * Array of all available options for select
148
132
  */
149
- ngAfterViewInit(): void;
133
+ readonly availableOptions: Signal<readonly SelectOption<TValue>[] | undefined | null>;
134
+ constructor(pluginInstances: SelectPluginInstances, bus: SelectBus<TValue>, element: ElementRef<HTMLElement>, document: HTMLDocument, multiple?: string | null, normalStateType?: Type<NormalState> | null, keyboardHandlerType?: Type<KeyboardHandler> | null, popupType?: Type<Popup> | null, positionerType?: Type<Positioner> | null, readonlyStateType?: Type<ReadonlyState> | null, valueHandlerType?: Type<ValueHandler> | null, liveSearchType?: Type<LiveSearch> | null, interactionsType?: Type<Interactions> | null, optionsHandlerType?: Type<OptionsHandler> | null, options?: RecursivePartial<SelectOptions<TValue, TCssClasses>> | null);
150
135
  /**
151
- * Called when component is destroyed
136
+ * @inheritdoc
152
137
  */
153
- ngOnDestroy(): void;
138
+ getPlugin<PluginInstance extends SelectPlugin>(pluginType: SelectPluginType): PluginInstance;
154
139
  /**
155
- * Initialize gatherer during initialization phase
140
+ * @inheritdoc
156
141
  */
157
- initializeGatherer(): void;
142
+ execute(...actions: SelectAction<TValue, TCssClasses>[]): void;
158
143
  /**
159
- * Called when gatherer needs to be destroyed
144
+ * @inheritdoc
160
145
  */
161
- destroyGatherer(): void;
146
+ executeAndReturn<TResult>(func: SelectFunction<TResult, TValue, TCssClasses>): TResult;
162
147
  /**
163
- * Sets normal state component
164
- * @param normalState - Created normal state that is rendered
165
- * @internal
148
+ * Creates plugin
149
+ * @param pluginDescription - Information about plugin that should be created
150
+ * @param pluginType - Key of plugin used for pluginInstances
151
+ * @param pluginViewContainer - Container where should be plugin created
152
+ * @param initOptions - Signal that hold information about init options state for this plugin
166
153
  */
167
- setNormalStateComponent(normalState: NormalState): void;
154
+ protected createPlugin<TPlugin extends SelectPlugin>(pluginDescription: PluginDescription<TPlugin> | undefined | null, pluginType: SelectPluginType, pluginViewContainer: ViewContainerRef, initOptions: WritableSignal<boolean>): Promise<void>;
168
155
  /**
169
- * Sets keyboard handler component
170
- * @param keyboardHandler - Created keyboard handler that is rendered
171
- * @internal
156
+ * Init options for single plugin
157
+ * @param pluginType - Type of plugin to be initialized
158
+ * @param initOptions - Init options signal for this plugin
172
159
  */
173
- setKeyboardHandlerComponent(keyboardHandler: KeyboardHandler): void;
160
+ protected initOption(pluginType: SelectPluginType, initOptions: WritableSignal<boolean>): Promise<void>;
174
161
  /**
175
- * Sets popup component
176
- * @param popup - Created popup that is rendered
177
- * @internal
162
+ * Destroys plugin
163
+ * @param pluginType - Plugin type to be destroyed
164
+ * @param plugiViewContainer - Container which will be emptied
165
+ * @param initOptions - Signal that hold information about init options state for this plugin
178
166
  */
179
- setPopupComponent(popup: Popup): void;
180
- /**
181
- * Sets positioner component
182
- * @param positioner - Created positioner that is rendered
183
- * @internal
184
- */
185
- setPositionerComponent(positioner: Positioner): void;
186
- /**
187
- * Sets readonly state component
188
- * @param readonlyState - Created readonly state that is rendered
189
- * @internal
190
- */
191
- setReadonlyStateComponent(readonlyState: ReadonlyState): void;
192
- /**
193
- * Sets value handler component
194
- * @param valueHandler - Created value handler that is rendered
195
- * @internal
196
- */
197
- setValueHandlerComponent(valueHandler: ValueHandler<TValue>): void;
198
- /**
199
- * Sets live search component
200
- * @param liveSearch - Created live search that is rendered
201
- * @internal
202
- */
203
- setLiveSearchComponent(liveSearch: LiveSearch): void;
204
- /**
205
- * Initialize component, automatically called once if not blocked by options
206
- */
207
- initialize(): void;
208
- /**
209
- * Initialize options, automaticaly called during init phase, but can be used to reinitialize NgSelectOptions
210
- */
211
- initOptions(): void;
212
- /**
213
- * Explicitly runs invalidation of content (change detection)
214
- */
215
- invalidateVisuals(): void;
216
- /**
217
- * Gets instance of plugin by its id
218
- * @param pluginId - Id of plugin, use constants
219
- */
220
- getPlugin<PluginType extends NgSelectPlugin>(pluginId: string): PluginType;
221
- /**
222
- * Subscribes for event
223
- * @param eventName - Name of event that should be listened to
224
- * @param handler - Function used for handling event
225
- */
226
- listenTo<TParam = void>(eventName: keyof PluginBusEvents, handler: (data: TParam) => void): Subscription;
227
- /**
228
- * Executes actions on NgSelect
229
- * @param actions - Array of actions that are executed over NgSelect
230
- */
231
- execute(...actions: NgSelectAction<TValue>[]): void;
232
- /**
233
- * Executes function on NgSelect and returns result
234
- * @param func - Function that is executed and its result is returned
235
- */
236
- executeAndReturn<TResult>(func: NgSelectFunction<TResult, TValue>): TResult;
237
- /**
238
- * Appends popup component directly to body, allows absolute positioning over page body
239
- * @param component - Popup component type to be appended
240
- */
241
- protected _appendPopupToBody(component: Type<Popup>): void;
242
- /**
243
- * Destroyes absolute popup if it exists
244
- */
245
- protected _destroyAbsolutePopup(): void;
246
- /**
247
- * Registers newly created plugin
248
- * @param plugin - Plugin to be registered
249
- * @param pluginKey - Key of plugin used for pluginInstances
250
- * @param pluginName - Name property for plugin from options
251
- */
252
- protected _registerNewPlugin(plugin: NgSelectPlugin, pluginKey: string, pluginName: keyof NgSelectPluginTypes): void;
253
- static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectComponent<any>, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { attribute: "readonly"; }, { attribute: "disabled"; }, { attribute: "multiple"; }]>;
254
- static ɵcmp: i0.ɵɵComponentDeclaration<NgSelectComponent<any>, "ng-select", never, { "selectOptions": { "alias": "selectOptions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, ["normalStateTemplate", "optionTemplate", "optionsChildren", "optGroupsChildren"], never, false, never>;
167
+ protected destroyPlugin(pluginType: SelectPluginType, pluginViewContainer: ViewContainerRef, initOptions: WritableSignal<boolean>): void;
168
+ static ɵfac: i0.ɵɵFactoryDeclaration<Select<any, any>, [null, null, null, null, { attribute: "multiple"; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
169
+ static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "ng-select", never, { "selectOptions": { "alias": "selectOptions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; }, {}, ["normalStateTemplate", "optionTemplate", "availableOptions"], never, true, never>;
255
170
  }
256
171
  //# sourceMappingURL=select.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"select.component.d.ts","sourceRoot":"","sources":["select.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqE,iBAAiB,EAAY,IAAI,EAAE,aAAa,EAAE,MAAM,EAAmB,SAAS,EAAE,YAAY,EAAiC,UAAU,EAAE,SAAS,EAAE,aAAa,EAAa,SAAS,EAAE,WAAW,EAAgB,wBAAwB,EAAE,cAAc,EAAE,QAAQ,EAAmB,YAAY,EAAgB,MAAM,eAAe,CAAC;AAG7Z,OAAO,EAAC,eAAe,EAAE,UAAU,EAAE,YAAY,EAAC,MAAM,MAAM,CAAC;AAE/D,OAAO,EAAC,eAAe,EAAE,cAAc,EAA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,EAC5D,UAAU,EAAE,gBAAgB,EAC5B,mBAAmB,EAAE,gBAAgB,EACrC,WAAW,EAAE,cAAc,CAAC,OAAO,CAAC,GAAI,OAAO,CAAC,IAAI,CAAC;IA8ChH;;;;OAIG;cACa,UAAU,CAAC,UAAU,EAAE,gBAAgB,EAC5B,WAAW,EAAE,cAAc,CAAC,OAAO,CAAC,GAAI,OAAO,CAAC,IAAI,CAAC;IAMhF;;;;;OAKG;IACH,SAAS,CAAC,aAAa,CAAC,UAAU,EAAE,gBAAgB,EAC5B,mBAAmB,EAAE,gBAAgB,EACrC,WAAW,EAAE,cAAc,CAAC,OAAO,CAAC,GAAI,IAAI;yCA7e3D,MAAM;2CAAN,MAAM;CAwflB"}
@@ -1,18 +1,12 @@
1
- <ng-template [ngComponentOutletEx]="selectOptions?.plugins?.liveSearch?.type" (ngComponentOutletExCreated)="setLiveSearchComponent($event)"></ng-template>
2
- <ng-template [ngComponentOutletEx]="selectOptions?.plugins?.positioner?.type" (ngComponentOutletExCreated)="setPositionerComponent($event)"></ng-template>
3
- <ng-template [ngComponentOutletEx]="selectOptions?.plugins?.keyboardHandler?.type" (ngComponentOutletExCreated)="setKeyboardHandlerComponent($event)"></ng-template>
4
- <ng-template [ngComponentOutletEx]="selectOptions?.plugins?.valueHandler?.type" (ngComponentOutletExCreated)="setValueHandlerComponent($event)"></ng-template>
1
+ <ng-container #liveSearch />
2
+ <ng-container #interactions />
3
+ <ng-container #optionsHandler />
4
+ <ng-container #positioner />
5
+ <ng-container #keyboardHandler />
6
+ <ng-container #valueHandler />
5
7
 
6
8
  <div>
7
- <ng-template [ngIf]="!selectOptions?.readonly">
8
- <ng-template [ngComponentOutletEx]="selectOptions?.plugins?.normalState?.type" (ngComponentOutletExCreated)="setNormalStateComponent($event)" [ngComponentOutletExContent]="liveSearchElement"></ng-template>
9
- </ng-template>
10
-
11
- <ng-template [ngIf]="selectOptions?.readonly">
12
- <ng-template [ngComponentOutletEx]="selectOptions?.plugins?.readonlyState?.type" (ngComponentOutletExCreated)="setReadonlyStateComponent($event)"></ng-template>
13
- </ng-template>
14
-
15
- <ng-template [ngIf]="!selectOptions?.absolute">
16
- <ng-template [ngComponentOutletEx]="selectOptions?.plugins?.popup?.type" (ngComponentOutletExCreated)="setPopupComponent($event)" [ngComponentOutletExContent]="liveSearchElement"></ng-template>
17
- </ng-template>
18
- </div>
9
+ <ng-container #readonlyState />
10
+ <ng-container #normalState />
11
+ <ng-container #popup />
12
+ </div>
@@ -0,0 +1,2 @@
1
+ export * from './mergeOptionsAsSignal/mergeOptionsAsSignal.decorator';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,uDAAuD,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Creates backing field for this property as WritableSignal, reads and write to it, and merges options
3
+ */
4
+ export declare function CopyOptionsAsSignal(): PropertyDecorator;
5
+ //# sourceMappingURL=mergeOptionsAsSignal.decorator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mergeOptionsAsSignal.decorator.d.ts","sourceRoot":"","sources":["mergeOptionsAsSignal.decorator.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,iBAAiB,CAGvD"}
@@ -0,0 +1,5 @@
1
+ export * from './normalStateTemplate/normalStateTemplate.directive';
2
+ export * from './optionTemplate/optionTemplate.directive';
3
+ export * from './selectAbsolute/selectAbsolute.directive';
4
+ export * from './withDirectAccess/withDirectAccess.directive';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+CAA+C,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { NormalStateContext } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Directive used for obtaining template for normal state
6
+ */
7
+ export declare class NormalStateTemplate {
8
+ /**
9
+ * Instance of template for normal state
10
+ */
11
+ template: TemplateRef<NormalStateContext>;
12
+ /**
13
+ * Allows typechecking for template
14
+ */
15
+ static ngTemplateContextGuard(_dir: NormalStateTemplate, _ctx: unknown): _ctx is NormalStateContext;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<NormalStateTemplate, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NormalStateTemplate, "[normalStateTemplate]", never, {}, {}, never, never, true, never>;
18
+ }
19
+ //# sourceMappingURL=normalStateTemplate.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalStateTemplate.directive.d.ts","sourceRoot":"","sources":["normalStateTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,WAAW,EAAC,MAAM,eAAe,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC;;AAEpD;;GAEG;AACH,qBAIa,mBAAmB;IAI5B;;OAEG;IACI,QAAQ,EAAE,WAAW,CAAC,kBAAkB,CAAC,CAAuB;IAIvE;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,kBAAkB;yCAd1F,mBAAmB;2CAAnB,mBAAmB;CAkB/B"}
@@ -0,0 +1,19 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { PopupContext } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Directive used for obtaining template for option in popup
6
+ */
7
+ export declare class OptionTemplate {
8
+ /**
9
+ * Instance of template for options in popup
10
+ */
11
+ template: TemplateRef<PopupContext>;
12
+ /**
13
+ * Allows typechecking for template
14
+ */
15
+ static ngTemplateContextGuard(_dir: OptionTemplate, _ctx: unknown): _ctx is PopupContext;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<OptionTemplate, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OptionTemplate, "[optionTemplate]", never, {}, {}, never, never, true, never>;
18
+ }
19
+ //# sourceMappingURL=optionTemplate.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"optionTemplate.directive.d.ts","sourceRoot":"","sources":["optionTemplate.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,WAAW,EAAC,MAAM,eAAe,CAAC;AAE7D,OAAO,EAAC,YAAY,EAAC,MAAM,kBAAkB,CAAC;;AAE9C;;GAEG;AACH,qBAIa,cAAc;IAIvB;;OAEG;IACI,QAAQ,EAAE,WAAW,CAAC,YAAY,CAAC,CAAuB;IAIjE;;OAEG;IACH,MAAM,CAAC,sBAAsB,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,YAAY;yCAd/E,cAAc;2CAAd,cAAc;CAkB1B"}
@@ -0,0 +1,12 @@
1
+ import { Select } from '../../components';
2
+ import { SelectCssClasses } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Directive used for setting absolute option for ng-select
6
+ */
7
+ export declare class SelectAbsoluteDirective<TValue = unknown, TCssClasses = SelectCssClasses> {
8
+ constructor(select: Select<TValue, TCssClasses>);
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectAbsoluteDirective<any, any>, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectAbsoluteDirective<any, any>, "ng-select[absolute]", never, {}, {}, never, never, true, never>;
11
+ }
12
+ //# sourceMappingURL=selectAbsolute.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectAbsolute.directive.d.ts","sourceRoot":"","sources":["selectAbsolute.directive.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAC,gBAAgB,EAAgB,MAAM,kBAAkB,CAAC;;AAEjE;;GAEG;AACH,qBAIa,uBAAuB,CAAC,MAAM,GAAG,OAAO,EAAE,WAAW,GAAG,gBAAgB;gBAGrE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC;yCAHtC,uBAAuB;2CAAvB,uBAAuB;CAWnC"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=selectControlValueAccessor.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectControlValueAccessor.directive.d.ts","sourceRoot":"","sources":["selectControlValueAccessor.directive.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=selectEdit.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectEdit.directive.d.ts","sourceRoot":"","sources":["selectEdit.directive.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=selectPlaceholder.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectPlaceholder.directive.d.ts","sourceRoot":"","sources":["selectPlaceholder.directive.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Directive that allows direct access to select properties using inputs, outputs
4
+ */
5
+ export declare class WithDirectAccess {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<WithDirectAccess, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<WithDirectAccess, "[withDirectAccess]", never, {}, {}, never, never, true, never>;
8
+ }
9
+ //# sourceMappingURL=withDirectAccess.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withDirectAccess.directive.d.ts","sourceRoot":"","sources":["withDirectAccess.directive.ts"],"names":[],"mappings":";AAIA;;GAEG;AACH,qBAIa,gBAAgB;yCAAhB,gBAAgB;2CAAhB,gBAAgB;CAE5B"}
package/src/index.d.ts CHANGED
@@ -1,43 +1,10 @@
1
- import './index.ssr';
2
- export * from './components/select/types';
3
- export * from './components/select/select.component';
4
- export * from './components/option/optgroup.component';
5
- export * from './components/option/option.component';
6
- export * from './components/option';
7
- export * from './components/select';
8
- export * from './directives/ngSelectAbsolute/ngSelectAbsolute.directive';
9
- export * from './directives/ngSelectEdit/ngSelectEdit.directive';
10
- export * from './directives/ngSelectPlaceholder/ngSelectPlaceholder.directive';
11
- export * from './misc/ngSelectControlValueAccessor.directive';
12
- export * from './misc';
1
+ export * from './components';
2
+ export * from './directives';
3
+ export * from './misc/classes';
4
+ export * from './misc/enums';
5
+ export * from './misc/providers';
6
+ export * from './misc/tokens';
13
7
  export * from './misc/types';
14
- export * from './misc/pluginBus/pluginBus';
15
- export * from './misc/pluginBus/pluginBus.interface';
16
- export * from './misc/optionsGatherer/types';
17
- export * from './modules/ngSelect.module';
18
- export * from './modules/ngSelectDynamic.module';
19
- export * from './modules/ngSelectEdit.module';
20
- export * from './pipes/ngSelectHasValue.pipe';
21
- export * from './pipes/ngSelectValue.pipe';
22
- export * from './plugins/keyboardHandler';
23
- export * from './plugins/keyboardHandler/types';
24
- export * from './plugins/keyboardHandler/components';
25
- export * from './plugins/liveSearch';
26
- export * from './plugins/liveSearch/types';
27
- export * from './plugins/liveSearch/components';
28
- export * from './plugins/normalState';
29
- export * from './plugins/normalState/types';
30
- export * from './plugins/normalState/components';
31
- export * from './plugins/popup';
32
- export * from './plugins/popup/types';
33
- export * from './plugins/popup/component';
34
- export * from './plugins/positioner';
35
- export * from './plugins/positioner/types';
36
- export * from './plugins/positioner/components';
37
- export * from './plugins/readonlyState';
38
- export * from './plugins/readonlyState/types';
39
- export * from './plugins/valueHandler';
40
- export * from './plugins/valueHandler/types';
41
- export * from './plugins/valueHandler/components';
42
- export * from './misc/extensions';
8
+ export * from './modules';
9
+ export * from './pipes';
43
10
  //# sourceMappingURL=index.d.ts.map