@anglr/select 12.0.0 → 13.0.0-beta.20250127113535
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.
- package/changelog.md +16 -0
- package/es2022/extensions/src/extensions/reinitializeOptions.js.map +1 -0
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js +73 -0
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -0
- package/{es2020 → es2022}/material/src/directives/dialogPopup/dialogPopup.directive.js +9 -9
- package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -0
- package/{es2015 → es2022}/material/src/modules/dialogPopup.module.js +13 -13
- package/{es2015 → es2022}/material/src/modules/dialogPopup.module.js.map +1 -1
- package/{es2015 → es2022}/material/src/modules/virtualEditPopup.module.js +6 -6
- package/{es2015 → es2022}/material/src/modules/virtualEditPopup.module.js.map +1 -1
- package/{es2020 → es2022}/material/src/plugins/popup/dialog/dialogPopup.component.js +23 -22
- package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -0
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +89 -0
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -0
- package/{es2015 → es2022}/src/components/option/optgroup.component.js +4 -3
- package/es2022/src/components/option/optgroup.component.js.map +1 -0
- package/{es2020 → es2022}/src/components/option/option.component.js +4 -3
- package/es2022/src/components/option/option.component.js.map +1 -0
- package/{es2020 → es2022}/src/components/select/select.component.js +60 -59
- package/es2022/src/components/select/select.component.js.map +1 -0
- package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +25 -0
- package/{es2015 → es2022}/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +1 -1
- package/{es2015 → es2022}/src/directives/ngSelectEdit/ngSelectEdit.directive.js +28 -28
- package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +1 -0
- package/{es2015 → es2022}/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +9 -9
- package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +1 -0
- package/es2022/src/index.ssr.js.map +1 -0
- package/es2022/src/misc/extensions/setReadonly.js.map +1 -0
- package/{es2020 → es2022}/src/misc/ngSelectControlValueAccessor.directive.js +4 -4
- package/es2022/src/misc/ngSelectControlValueAccessor.directive.js.map +1 -0
- package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -0
- package/{es2020 → es2022}/src/misc/optionsGatherer/dynamicOptionsGatherer.js +12 -12
- package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -0
- package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -0
- package/{es2015 → es2022}/src/misc/pluginBus/pluginBus.js +3 -3
- package/{es2020 → es2022}/src/misc/pluginBus/pluginBus.js.map +1 -1
- package/{es2020 → es2022}/src/modules/ngSelect.module.js +39 -39
- package/{es2015 → es2022}/src/modules/ngSelect.module.js.map +1 -1
- package/es2022/src/modules/ngSelectDynamic.module.js +20 -0
- package/{es2015 → es2022}/src/modules/ngSelectDynamic.module.js.map +1 -1
- package/{es2020 → es2022}/src/modules/ngSelectEdit.module.js +16 -16
- package/es2022/src/modules/ngSelectEdit.module.js.map +1 -0
- package/{es2020 → es2022}/src/pipes/ngSelectHasValue.pipe.js +3 -3
- package/{es2015 → es2022}/src/pipes/ngSelectHasValue.pipe.js.map +1 -1
- package/{es2015 → es2022}/src/pipes/ngSelectValue.pipe.js +3 -3
- package/es2022/src/pipes/ngSelectValue.pipe.js.map +1 -0
- package/{es2015 → es2022}/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +24 -23
- package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +24 -23
- package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/liveSearch/basic/basicLiveSearch.component.js +24 -24
- package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/liveSearch/edit/editLiveSearch.component.js +31 -30
- package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/liveSearch/no/noLiveSearch.component.js +12 -11
- package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js.map +1 -0
- package/es2022/src/plugins/normalState/basic/basicNormalState.component.js +58 -0
- package/es2022/src/plugins/normalState/basic/basicNormalState.component.js.map +1 -0
- package/es2022/src/plugins/normalState/edit/editNormalState.component.js +88 -0
- package/es2022/src/plugins/normalState/edit/editNormalState.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/normalState/normalStateAbstract.component.js +15 -15
- package/es2022/src/plugins/normalState/normalStateAbstract.component.js.map +1 -0
- package/es2022/src/plugins/popup/basic/basicPopup.component.js +62 -0
- package/es2022/src/plugins/popup/basic/basicPopup.component.js.map +1 -0
- package/es2022/src/plugins/popup/edit/editPopup.component.js +85 -0
- package/es2022/src/plugins/popup/edit/editPopup.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/popup/popupAbstract.component.js +33 -32
- package/es2022/src/plugins/popup/popupAbstract.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/positioner/default/defaultPositioner.component.js +24 -23
- package/es2022/src/plugins/positioner/default/defaultPositioner.component.js.map +1 -0
- package/{es2015 → es2022}/src/plugins/positioner/no/noPositioner.component.js +17 -16
- package/es2022/src/plugins/positioner/no/noPositioner.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/valueHandler/basic/basicValueHandler.component.js +18 -16
- package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +18 -16
- package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/valueHandler/valueHandlerBase.js +36 -36
- package/es2022/src/plugins/valueHandler/valueHandlerBase.js.map +1 -0
- package/extensions/package.json +3 -4
- package/material/package.json +3 -4
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts.map +1 -1
- package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts +1 -1
- package/material/src/modules/dialogPopup.module.d.ts +4 -4
- package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts.map +1 -1
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts.map +1 -1
- package/package.json +62 -74
- package/src/components/option/optgroup.component.d.ts +1 -1
- package/src/components/option/optgroup.component.d.ts.map +1 -1
- package/src/components/option/option.component.d.ts +1 -1
- package/src/components/option/option.component.d.ts.map +1 -1
- package/src/components/select/select.component.d.ts +1 -1
- package/src/components/select/select.component.d.ts.map +1 -1
- package/src/components/select/select.interface.d.ts +2 -2
- package/src/components/select/select.interface.d.ts.map +1 -1
- package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts +1 -1
- package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts +1 -1
- package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts +1 -1
- package/src/misc/ngSelectControlValueAccessor.directive.d.ts +1 -1
- package/src/modules/ngSelect.module.d.ts +16 -16
- package/src/modules/ngSelectEdit.module.d.ts +8 -8
- package/src/pipes/ngSelectHasValue.pipe.d.ts +1 -1
- package/src/pipes/ngSelectValue.pipe.d.ts +1 -1
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts.map +1 -1
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/normalState/basic/basicNormalState.component.d.ts.map +1 -1
- package/src/plugins/normalState/edit/editNormalState.component.d.ts.map +1 -1
- package/src/plugins/normalState/normalStateAbstract.component.d.ts +1 -1
- package/src/plugins/popup/basic/basicPopup.component.d.ts.map +1 -1
- package/src/plugins/popup/edit/editPopup.component.d.ts.map +1 -1
- package/src/plugins/popup/popupAbstract.component.d.ts +1 -1
- package/src/plugins/popup/popupAbstract.component.d.ts.map +1 -1
- package/src/plugins/positioner/default/defaultPositioner.component.d.ts +3 -3
- package/src/plugins/positioner/default/defaultPositioner.component.d.ts.map +1 -1
- package/src/plugins/positioner/no/noPositioner.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/valueHandlerBase.d.ts +1 -1
- package/src/plugins/valueHandler/valueHandlerBase.d.ts.map +1 -1
- package/version.bak +1 -1
- package/elements/package.json +0 -9
- package/elements/src/components/ngSelectElements.component.d.ts +0 -67
- package/elements/src/components/ngSelectElements.component.d.ts.map +0 -1
- package/elements/src/components/ngSelectElements.component.html +0 -16
- package/elements/src/components/ngSelectElements.interface.d.ts +0 -47
- package/elements/src/components/ngSelectElements.interface.d.ts.map +0 -1
- package/elements/src/index.d.ts +0 -4
- package/elements/src/index.d.ts.map +0 -1
- package/elements/src/modules/ngSelectElements.module.d.ts +0 -21
- package/elements/src/modules/ngSelectElements.module.d.ts.map +0 -1
- package/es2015/elements/src/components/ngSelectElements.component.js +0 -181
- package/es2015/elements/src/components/ngSelectElements.component.js.map +0 -1
- package/es2015/elements/src/components/ngSelectElements.interface.js +0 -2
- package/es2015/elements/src/components/ngSelectElements.interface.js.map +0 -1
- package/es2015/elements/src/index.js +0 -4
- package/es2015/elements/src/index.js.map +0 -1
- package/es2015/elements/src/modules/ngSelectElements.module.js +0 -50
- package/es2015/elements/src/modules/ngSelectElements.module.js.map +0 -1
- package/es2015/extensions/src/extensions/reinitializeOptions.js.map +0 -1
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -74
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +0 -1
- package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js +0 -75
- package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js.map +0 -1
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js +0 -143
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js.map +0 -1
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -92
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +0 -1
- package/es2015/src/components/option/optgroup.component.js.map +0 -1
- package/es2015/src/components/option/option.component.js +0 -38
- package/es2015/src/components/option/option.component.js.map +0 -1
- package/es2015/src/components/select/select.component.js +0 -599
- package/es2015/src/components/select/select.component.js.map +0 -1
- package/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -25
- package/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +0 -1
- package/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +0 -1
- package/es2015/src/index.ssr.js.map +0 -1
- package/es2015/src/misc/extensions/setReadonly.js.map +0 -1
- package/es2015/src/misc/ngSelectControlValueAccessor.directive.js +0 -163
- package/es2015/src/misc/ngSelectControlValueAccessor.directive.js.map +0 -1
- package/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js.map +0 -1
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js +0 -123
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +0 -1
- package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -111
- package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +0 -1
- package/es2015/src/misc/pluginBus/pluginBus.js.map +0 -1
- package/es2015/src/modules/ngSelect.module.js +0 -90
- package/es2015/src/modules/ngSelectDynamic.module.js +0 -20
- package/es2015/src/modules/ngSelectEdit.module.js +0 -51
- package/es2015/src/modules/ngSelectEdit.module.js.map +0 -1
- package/es2015/src/pipes/ngSelectHasValue.pipe.js +0 -23
- package/es2015/src/pipes/ngSelectValue.pipe.js.map +0 -1
- package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +0 -1
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -196
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +0 -1
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -169
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +0 -1
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -318
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +0 -1
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -64
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js.map +0 -1
- package/es2015/src/plugins/normalState/basic/basicNormalState.component.js +0 -58
- package/es2015/src/plugins/normalState/basic/basicNormalState.component.js.map +0 -1
- package/es2015/src/plugins/normalState/edit/editNormalState.component.js +0 -89
- package/es2015/src/plugins/normalState/edit/editNormalState.component.js.map +0 -1
- package/es2015/src/plugins/normalState/normalStateAbstract.component.js +0 -93
- package/es2015/src/plugins/normalState/normalStateAbstract.component.js.map +0 -1
- package/es2015/src/plugins/popup/basic/basicPopup.component.js +0 -62
- package/es2015/src/plugins/popup/basic/basicPopup.component.js.map +0 -1
- package/es2015/src/plugins/popup/edit/editPopup.component.js +0 -85
- package/es2015/src/plugins/popup/edit/editPopup.component.js.map +0 -1
- package/es2015/src/plugins/popup/popupAbstract.component.js +0 -203
- package/es2015/src/plugins/popup/popupAbstract.component.js.map +0 -1
- package/es2015/src/plugins/positioner/default/defaultPositioner.component.js +0 -158
- package/es2015/src/plugins/positioner/default/defaultPositioner.component.js.map +0 -1
- package/es2015/src/plugins/positioner/no/noPositioner.component.js.map +0 -1
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -157
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +0 -1
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -182
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +0 -1
- package/es2015/src/plugins/valueHandler/valueHandlerBase.js +0 -150
- package/es2015/src/plugins/valueHandler/valueHandlerBase.js.map +0 -1
- package/es2020/elements/src/components/ngSelectElements.component.js +0 -181
- package/es2020/elements/src/components/ngSelectElements.component.js.map +0 -1
- package/es2020/elements/src/components/ngSelectElements.interface.js +0 -2
- package/es2020/elements/src/components/ngSelectElements.interface.js.map +0 -1
- package/es2020/elements/src/index.js +0 -4
- package/es2020/elements/src/index.js.map +0 -1
- package/es2020/elements/src/modules/ngSelectElements.module.js +0 -50
- package/es2020/elements/src/modules/ngSelectElements.module.js.map +0 -1
- package/es2020/extensions/src/extensions/getValue.js +0 -2
- package/es2020/extensions/src/extensions/getValue.js.map +0 -1
- package/es2020/extensions/src/extensions/onFocus.js +0 -2
- package/es2020/extensions/src/extensions/onFocus.js.map +0 -1
- package/es2020/extensions/src/extensions/patchOptions.js +0 -12
- package/es2020/extensions/src/extensions/patchOptions.js.map +0 -1
- package/es2020/extensions/src/extensions/reinitializeOptions.js +0 -15
- package/es2020/extensions/src/extensions/reinitializeOptions.js.map +0 -1
- package/es2020/extensions/src/extensions/setReadonly.js +0 -2
- package/es2020/extensions/src/extensions/setReadonly.js.map +0 -1
- package/es2020/extensions/src/extensions/setValue.js +0 -2
- package/es2020/extensions/src/extensions/setValue.js.map +0 -1
- package/es2020/extensions/src/extensions/valueChange.js +0 -2
- package/es2020/extensions/src/extensions/valueChange.js.map +0 -1
- package/es2020/extensions/src/index.js +0 -8
- package/es2020/extensions/src/index.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -73
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -2
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/index.js +0 -2
- package/es2020/material/src/components/basicDialogPopup/index.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/types.js +0 -2
- package/es2020/material/src/components/basicDialogPopup/types.js.map +0 -1
- package/es2020/material/src/directives/dialogPopup/dialogPopup.directive.js.map +0 -1
- package/es2020/material/src/directives/types.js +0 -2
- package/es2020/material/src/directives/types.js.map +0 -1
- package/es2020/material/src/index.js +0 -8
- package/es2020/material/src/index.js.map +0 -1
- package/es2020/material/src/modules/dialogPopup.module.js +0 -41
- package/es2020/material/src/modules/dialogPopup.module.js.map +0 -1
- package/es2020/material/src/modules/virtualEditPopup.module.js +0 -31
- package/es2020/material/src/modules/virtualEditPopup.module.js.map +0 -1
- package/es2020/material/src/plugins/popup/components.js +0 -3
- package/es2020/material/src/plugins/popup/components.js.map +0 -1
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.component.js.map +0 -1
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -2
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +0 -1
- package/es2020/material/src/plugins/popup/index.js +0 -3
- package/es2020/material/src/plugins/popup/index.js.map +0 -1
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -89
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +0 -1
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -2
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +0 -1
- package/es2020/src/components/option/index.js +0 -3
- package/es2020/src/components/option/index.js.map +0 -1
- package/es2020/src/components/option/optgroup.component.js +0 -53
- package/es2020/src/components/option/optgroup.component.js.map +0 -1
- package/es2020/src/components/option/optgroup.interface.js +0 -2
- package/es2020/src/components/option/optgroup.interface.js.map +0 -1
- package/es2020/src/components/option/option.component.js.map +0 -1
- package/es2020/src/components/option/option.interface.js +0 -2
- package/es2020/src/components/option/option.interface.js.map +0 -1
- package/es2020/src/components/select/index.js +0 -2
- package/es2020/src/components/select/index.js.map +0 -1
- package/es2020/src/components/select/select.component.js.map +0 -1
- package/es2020/src/components/select/select.interface.js +0 -2
- package/es2020/src/components/select/select.interface.js.map +0 -1
- package/es2020/src/components/select/types.js +0 -6
- package/es2020/src/components/select/types.js.map +0 -1
- package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -25
- package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +0 -1
- package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -66
- package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +0 -1
- package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -42
- package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +0 -1
- package/es2020/src/index.js +0 -42
- package/es2020/src/index.js.map +0 -1
- package/es2020/src/index.ssr.js +0 -10
- package/es2020/src/index.ssr.js.map +0 -1
- package/es2020/src/misc/extensions/getValue.js +0 -12
- package/es2020/src/misc/extensions/getValue.js.map +0 -1
- package/es2020/src/misc/extensions/index.js +0 -6
- package/es2020/src/misc/extensions/index.js.map +0 -1
- package/es2020/src/misc/extensions/onFocus.js +0 -10
- package/es2020/src/misc/extensions/onFocus.js.map +0 -1
- package/es2020/src/misc/extensions/setReadonly.js +0 -18
- package/es2020/src/misc/extensions/setReadonly.js.map +0 -1
- package/es2020/src/misc/extensions/setValue.js +0 -13
- package/es2020/src/misc/extensions/setValue.js.map +0 -1
- package/es2020/src/misc/extensions/valueChange.js +0 -12
- package/es2020/src/misc/extensions/valueChange.js.map +0 -1
- package/es2020/src/misc/index.js +0 -6
- package/es2020/src/misc/index.js.map +0 -1
- package/es2020/src/misc/ngSelectControlValueAccessor.directive.js.map +0 -1
- package/es2020/src/misc/ngSelectOptions.interface.js +0 -2
- package/es2020/src/misc/ngSelectOptions.interface.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -83
- package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -2
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -2
- package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/types.js +0 -4
- package/es2020/src/misc/optionsGatherer/types.js.map +0 -1
- package/es2020/src/misc/plugin.interface.js +0 -2
- package/es2020/src/misc/plugin.interface.js.map +0 -1
- package/es2020/src/misc/pluginBus/pluginBus.interface.js +0 -2
- package/es2020/src/misc/pluginBus/pluginBus.interface.js.map +0 -1
- package/es2020/src/misc/pluginBus/pluginBus.js +0 -44
- package/es2020/src/misc/templateGatherer.interface.js +0 -2
- package/es2020/src/misc/templateGatherer.interface.js.map +0 -1
- package/es2020/src/misc/types.js +0 -34
- package/es2020/src/misc/types.js.map +0 -1
- package/es2020/src/modules/ngSelect.module.js.map +0 -1
- package/es2020/src/modules/ngSelectDynamic.module.js +0 -20
- package/es2020/src/modules/ngSelectDynamic.module.js.map +0 -1
- package/es2020/src/modules/ngSelectEdit.module.js.map +0 -1
- package/es2020/src/pipes/ngSelectHasValue.pipe.js.map +0 -1
- package/es2020/src/pipes/ngSelectValue.pipe.js +0 -31
- package/es2020/src/pipes/ngSelectValue.pipe.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -145
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -2
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/components.js +0 -3
- package/es2020/src/plugins/keyboardHandler/components.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -2
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/index.js +0 -4
- package/es2020/src/plugins/keyboardHandler/index.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -2
- package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/types.js +0 -10
- package/es2020/src/plugins/keyboardHandler/types.js.map +0 -1
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +0 -1
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/components.js +0 -4
- package/es2020/src/plugins/liveSearch/components.js.map +0 -1
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +0 -1
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/index.js +0 -5
- package/es2020/src/plugins/liveSearch/index.js.map +0 -1
- package/es2020/src/plugins/liveSearch/liveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/liveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.component.js.map +0 -1
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/types.js +0 -10
- package/es2020/src/plugins/liveSearch/types.js.map +0 -1
- package/es2020/src/plugins/normalState/basic/basicNormalState.component.js +0 -58
- package/es2020/src/plugins/normalState/basic/basicNormalState.component.js.map +0 -1
- package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js +0 -2
- package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js.map +0 -1
- package/es2020/src/plugins/normalState/components.js +0 -4
- package/es2020/src/plugins/normalState/components.js.map +0 -1
- package/es2020/src/plugins/normalState/edit/editNormalState.component.js +0 -88
- package/es2020/src/plugins/normalState/edit/editNormalState.component.js.map +0 -1
- package/es2020/src/plugins/normalState/edit/editNormalState.interface.js +0 -2
- package/es2020/src/plugins/normalState/edit/editNormalState.interface.js.map +0 -1
- package/es2020/src/plugins/normalState/index.js +0 -4
- package/es2020/src/plugins/normalState/index.js.map +0 -1
- package/es2020/src/plugins/normalState/normalState.interface.js +0 -2
- package/es2020/src/plugins/normalState/normalState.interface.js.map +0 -1
- package/es2020/src/plugins/normalState/normalStateAbstract.component.js.map +0 -1
- package/es2020/src/plugins/normalState/types.js +0 -10
- package/es2020/src/plugins/normalState/types.js.map +0 -1
- package/es2020/src/plugins/popup/basic/basicPopup.component.js +0 -62
- package/es2020/src/plugins/popup/basic/basicPopup.component.js.map +0 -1
- package/es2020/src/plugins/popup/basic/basicPopup.interface.js +0 -2
- package/es2020/src/plugins/popup/basic/basicPopup.interface.js.map +0 -1
- package/es2020/src/plugins/popup/component.js +0 -4
- package/es2020/src/plugins/popup/component.js.map +0 -1
- package/es2020/src/plugins/popup/edit/editPopup.component.js +0 -85
- package/es2020/src/plugins/popup/edit/editPopup.component.js.map +0 -1
- package/es2020/src/plugins/popup/edit/editPopup.interface.js +0 -2
- package/es2020/src/plugins/popup/edit/editPopup.interface.js.map +0 -1
- package/es2020/src/plugins/popup/index.js +0 -4
- package/es2020/src/plugins/popup/index.js.map +0 -1
- package/es2020/src/plugins/popup/popup.interface.js +0 -2
- package/es2020/src/plugins/popup/popup.interface.js.map +0 -1
- package/es2020/src/plugins/popup/popupAbstract.component.js.map +0 -1
- package/es2020/src/plugins/popup/types.js +0 -10
- package/es2020/src/plugins/popup/types.js.map +0 -1
- package/es2020/src/plugins/positioner/components.js +0 -3
- package/es2020/src/plugins/positioner/components.js.map +0 -1
- package/es2020/src/plugins/positioner/default/defaultPositioner.component.js.map +0 -1
- package/es2020/src/plugins/positioner/default/defaultPositioner.interface.js +0 -2
- package/es2020/src/plugins/positioner/default/defaultPositioner.interface.js.map +0 -1
- package/es2020/src/plugins/positioner/index.js +0 -4
- package/es2020/src/plugins/positioner/index.js.map +0 -1
- package/es2020/src/plugins/positioner/no/noPositioner.component.js +0 -77
- package/es2020/src/plugins/positioner/no/noPositioner.component.js.map +0 -1
- package/es2020/src/plugins/positioner/no/noPositioner.interface.js +0 -2
- package/es2020/src/plugins/positioner/no/noPositioner.interface.js.map +0 -1
- package/es2020/src/plugins/positioner/positioner.interface.js +0 -2
- package/es2020/src/plugins/positioner/positioner.interface.js.map +0 -1
- package/es2020/src/plugins/positioner/types.js +0 -10
- package/es2020/src/plugins/positioner/types.js.map +0 -1
- package/es2020/src/plugins/readonlyState/index.js +0 -2
- package/es2020/src/plugins/readonlyState/index.js.map +0 -1
- package/es2020/src/plugins/readonlyState/readonlyState.interface.js +0 -2
- package/es2020/src/plugins/readonlyState/readonlyState.interface.js.map +0 -1
- package/es2020/src/plugins/readonlyState/types.js +0 -10
- package/es2020/src/plugins/readonlyState/types.js.map +0 -1
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +0 -1
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -2
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +0 -1
- package/es2020/src/plugins/valueHandler/components.js +0 -3
- package/es2020/src/plugins/valueHandler/components.js.map +0 -1
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +0 -1
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -2
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +0 -1
- package/es2020/src/plugins/valueHandler/index.js +0 -5
- package/es2020/src/plugins/valueHandler/index.js.map +0 -1
- package/es2020/src/plugins/valueHandler/types.js +0 -10
- package/es2020/src/plugins/valueHandler/types.js.map +0 -1
- package/es2020/src/plugins/valueHandler/valueHandler.interface.js +0 -2
- package/es2020/src/plugins/valueHandler/valueHandler.interface.js.map +0 -1
- package/es2020/src/plugins/valueHandler/valueHandlerBase.js.map +0 -1
- /package/{es2015 → es2022}/extensions/src/extensions/getValue.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/getValue.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/onFocus.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/onFocus.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/patchOptions.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/patchOptions.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/reinitializeOptions.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setReadonly.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setReadonly.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setValue.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setValue.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/valueChange.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/valueChange.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/index.js +0 -0
- /package/{es2015 → es2022}/extensions/src/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/index.js +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/types.js +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/types.js.map +0 -0
- /package/{es2015 → es2022}/material/src/directives/types.js +0 -0
- /package/{es2015 → es2022}/material/src/directives/types.js.map +0 -0
- /package/{es2015 → es2022}/material/src/index.js +0 -0
- /package/{es2015 → es2022}/material/src/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/components.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/components.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/index.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/option/index.js +0 -0
- /package/{es2015 → es2022}/src/components/option/index.js.map +0 -0
- /package/{es2015 → es2022}/src/components/option/optgroup.interface.js +0 -0
- /package/{es2015 → es2022}/src/components/option/optgroup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/option/option.interface.js +0 -0
- /package/{es2015 → es2022}/src/components/option/option.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/select/index.js +0 -0
- /package/{es2015 → es2022}/src/components/select/index.js.map +0 -0
- /package/{es2015 → es2022}/src/components/select/select.interface.js +0 -0
- /package/{es2015 → es2022}/src/components/select/select.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/select/types.js +0 -0
- /package/{es2015 → es2022}/src/components/select/types.js.map +0 -0
- /package/{es2015 → es2022}/src/index.js +0 -0
- /package/{es2015 → es2022}/src/index.js.map +0 -0
- /package/{es2015 → es2022}/src/index.ssr.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/getValue.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/getValue.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/index.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/index.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/onFocus.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/onFocus.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/setReadonly.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/setValue.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/setValue.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/valueChange.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/valueChange.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/index.js +0 -0
- /package/{es2015 → es2022}/src/misc/index.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/ngSelectOptions.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/ngSelectOptions.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +0 -0
- /package/{es2020 → es2022}/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/optionsGatherer.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/types.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/types.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/plugin.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/plugin.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/pluginBus/pluginBus.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/pluginBus/pluginBus.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/templateGatherer.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/templateGatherer.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/types.js +0 -0
- /package/{es2015 → es2022}/src/misc/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/liveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/liveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/basic/basicNormalState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/basic/basicNormalState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/edit/editNormalState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/edit/editNormalState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/normalState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/normalState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/basic/basicPopup.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/basic/basicPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/component.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/component.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/edit/editPopup.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/edit/editPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/popup.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/popup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/default/defaultPositioner.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/default/defaultPositioner.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/no/noPositioner.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/no/noPositioner.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/positioner.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/positioner.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/readonlyState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/readonlyState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/valueHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/valueHandler.interface.js.map +0 -0
|
@@ -1,599 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Input, Inject, ChangeDetectorRef, Optional, Type, ContentChildren, QueryList, EventEmitter, forwardRef, resolveForwardRef, ElementRef, Attribute, TemplateRef, ContentChild, ComponentFactoryResolver, ApplicationRef, Injector } from '@angular/core';
|
|
2
|
-
import { extend, nameof, isBoolean, isPresent, isString } from '@jscrpt/common';
|
|
3
|
-
import { BehaviorSubject } from 'rxjs';
|
|
4
|
-
import { NG_SELECT_OPTIONS, KEYBOARD_HANDLER_TYPE, NORMAL_STATE_TYPE, POPUP_TYPE, POSITIONER_TYPE, READONLY_STATE_TYPE, VALUE_HANDLER_TYPE, LIVE_SEARCH_TYPE } from '../../misc/types';
|
|
5
|
-
import { NG_SELECT_PLUGIN_INSTANCES } from './types';
|
|
6
|
-
import { BasicKeyboardHandlerComponent } from '../../plugins/keyboardHandler/components';
|
|
7
|
-
import { KEYBOARD_HANDLER } from '../../plugins/keyboardHandler/types';
|
|
8
|
-
import { NORMAL_STATE } from '../../plugins/normalState/types';
|
|
9
|
-
import { BasicNormalStateComponent } from '../../plugins/normalState/components';
|
|
10
|
-
import { POPUP } from '../../plugins/popup/types';
|
|
11
|
-
import { BasicPopupComponent } from '../../plugins/popup/component';
|
|
12
|
-
import { POSITIONER } from '../../plugins/positioner/types';
|
|
13
|
-
import { DefaultPositionerComponent } from '../../plugins/positioner/components';
|
|
14
|
-
import { READONLY_STATE } from '../../plugins/readonlyState/types';
|
|
15
|
-
import { VALUE_HANDLER } from '../../plugins/valueHandler/types';
|
|
16
|
-
import { BasicValueHandlerComponent } from '../../plugins/valueHandler/components';
|
|
17
|
-
import { LIVE_SEARCH } from '../../plugins/liveSearch/types';
|
|
18
|
-
import { NoLiveSearchComponent } from '../../plugins/liveSearch/components';
|
|
19
|
-
import { OptionComponent } from '../option/option.component';
|
|
20
|
-
import { OptGroupComponent } from '../option/optgroup.component';
|
|
21
|
-
import { PluginBus } from '../../misc/pluginBus/pluginBus';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
import * as i1 from "../../misc/pluginBus/pluginBus";
|
|
24
|
-
import * as i2 from "@angular/common";
|
|
25
|
-
import * as i3 from "@anglr/common";
|
|
26
|
-
//TODO - dynamic change of absolute popup
|
|
27
|
-
//TODO - dynamic change of options gatherer destroy called properly ?
|
|
28
|
-
/**
|
|
29
|
-
* Default 'NgSelectOptions'
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
|
-
const defaultOptions = {
|
|
33
|
-
autoInitialize: true,
|
|
34
|
-
absolute: false,
|
|
35
|
-
forceValueCheckOnInit: false,
|
|
36
|
-
multiple: false,
|
|
37
|
-
readonly: false,
|
|
38
|
-
valueComparer: (source, target) => {
|
|
39
|
-
return source === target;
|
|
40
|
-
},
|
|
41
|
-
liveSearchFilter: (query, normalizer = value => value) => {
|
|
42
|
-
return itm => normalizer(itm.text).indexOf(normalizer(query)) >= 0;
|
|
43
|
-
},
|
|
44
|
-
normalizer: value => {
|
|
45
|
-
if (isString(value)) {
|
|
46
|
-
return value.toLowerCase();
|
|
47
|
-
}
|
|
48
|
-
return value;
|
|
49
|
-
},
|
|
50
|
-
cssClasses: {},
|
|
51
|
-
plugins: {
|
|
52
|
-
normalState: {
|
|
53
|
-
type: forwardRef(() => BasicNormalStateComponent)
|
|
54
|
-
},
|
|
55
|
-
liveSearch: {
|
|
56
|
-
type: forwardRef(() => NoLiveSearchComponent)
|
|
57
|
-
},
|
|
58
|
-
popup: {
|
|
59
|
-
type: forwardRef(() => BasicPopupComponent)
|
|
60
|
-
},
|
|
61
|
-
positioner: {
|
|
62
|
-
type: forwardRef(() => DefaultPositionerComponent)
|
|
63
|
-
},
|
|
64
|
-
keyboardHandler: {
|
|
65
|
-
type: forwardRef(() => BasicKeyboardHandlerComponent)
|
|
66
|
-
},
|
|
67
|
-
readonlyState: {
|
|
68
|
-
type: forwardRef(() => BasicNormalStateComponent)
|
|
69
|
-
},
|
|
70
|
-
valueHandler: {
|
|
71
|
-
type: forwardRef(() => BasicValueHandlerComponent)
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Component that represents NgSelect itself, allows selection of value from options
|
|
77
|
-
*/
|
|
78
|
-
export class NgSelectComponent {
|
|
79
|
-
//######################### constructors #########################
|
|
80
|
-
constructor(_changeDetector, _element, _componentFactoryResolver, _appRef, _injector, _pluginBus, _pluginInstances, options, normalStateType, keyboardHandlerType, popupType, positionerType, readonlyStateType, valueHandlerType, liveSearchType, readonly, disabled, multiple) {
|
|
81
|
-
this._changeDetector = _changeDetector;
|
|
82
|
-
this._element = _element;
|
|
83
|
-
this._componentFactoryResolver = _componentFactoryResolver;
|
|
84
|
-
this._appRef = _appRef;
|
|
85
|
-
this._injector = _injector;
|
|
86
|
-
this._pluginBus = _pluginBus;
|
|
87
|
-
this._pluginInstances = _pluginInstances;
|
|
88
|
-
/**
|
|
89
|
-
* Subject used for indication that NgSelect was initialized
|
|
90
|
-
*/
|
|
91
|
-
this._initializedSubject = new BehaviorSubject(false);
|
|
92
|
-
/**
|
|
93
|
-
* Occurs when array of provided options has changed
|
|
94
|
-
*/
|
|
95
|
-
this._optionsChange = new EventEmitter();
|
|
96
|
-
/**
|
|
97
|
-
* Occurs when array of visible, displayed options has changed
|
|
98
|
-
*/
|
|
99
|
-
this._availableOptionsChange = new EventEmitter();
|
|
100
|
-
/**
|
|
101
|
-
* Array of available options to be displayed
|
|
102
|
-
*/
|
|
103
|
-
this._availableOptions = [];
|
|
104
|
-
/**
|
|
105
|
-
* Gets current state of initialization
|
|
106
|
-
*/
|
|
107
|
-
this.isInitialized = false;
|
|
108
|
-
//at least on of following is present (value is not important)
|
|
109
|
-
const readonlyDefault = isPresent(readonly) || isPresent(disabled);
|
|
110
|
-
const multipleDefault = isPresent(multiple);
|
|
111
|
-
const opts = extend(true, {}, options);
|
|
112
|
-
if (!opts.plugins) {
|
|
113
|
-
opts.plugins = {};
|
|
114
|
-
}
|
|
115
|
-
if (keyboardHandlerType) {
|
|
116
|
-
if (!opts.plugins.keyboardHandler) {
|
|
117
|
-
opts.plugins.keyboardHandler = {};
|
|
118
|
-
}
|
|
119
|
-
opts.plugins.keyboardHandler.type = keyboardHandlerType;
|
|
120
|
-
}
|
|
121
|
-
if (normalStateType) {
|
|
122
|
-
if (!opts.plugins.normalState) {
|
|
123
|
-
opts.plugins.normalState = {};
|
|
124
|
-
}
|
|
125
|
-
opts.plugins.normalState.type = normalStateType;
|
|
126
|
-
}
|
|
127
|
-
if (popupType) {
|
|
128
|
-
if (!opts.plugins.popup) {
|
|
129
|
-
opts.plugins.popup = {};
|
|
130
|
-
}
|
|
131
|
-
opts.plugins.popup.type = popupType;
|
|
132
|
-
}
|
|
133
|
-
if (positionerType) {
|
|
134
|
-
if (!opts.plugins.positioner) {
|
|
135
|
-
opts.plugins.positioner = {};
|
|
136
|
-
}
|
|
137
|
-
opts.plugins.positioner.type = positionerType;
|
|
138
|
-
}
|
|
139
|
-
if (readonlyStateType) {
|
|
140
|
-
if (!opts.plugins.readonlyState) {
|
|
141
|
-
opts.plugins.readonlyState = {};
|
|
142
|
-
}
|
|
143
|
-
opts.plugins.readonlyState.type = readonlyStateType;
|
|
144
|
-
}
|
|
145
|
-
if (valueHandlerType) {
|
|
146
|
-
if (!opts.plugins.valueHandler) {
|
|
147
|
-
opts.plugins.valueHandler = {};
|
|
148
|
-
}
|
|
149
|
-
opts.plugins.valueHandler.type = valueHandlerType;
|
|
150
|
-
}
|
|
151
|
-
if (liveSearchType) {
|
|
152
|
-
if (!opts.plugins.liveSearch) {
|
|
153
|
-
opts.plugins.liveSearch = {};
|
|
154
|
-
}
|
|
155
|
-
opts.plugins.liveSearch.type = liveSearchType;
|
|
156
|
-
}
|
|
157
|
-
this._selectOptions = extend(true, {
|
|
158
|
-
optionsGatherer: this,
|
|
159
|
-
templateGatherer: this,
|
|
160
|
-
}, defaultOptions, {
|
|
161
|
-
readonly: readonlyDefault,
|
|
162
|
-
multiple: multipleDefault
|
|
163
|
-
}, opts);
|
|
164
|
-
this._pluginBus.selectElement = this._element;
|
|
165
|
-
this._pluginBus.selectOptions = this._selectOptions;
|
|
166
|
-
}
|
|
167
|
-
//######################### public properties - inputs #########################
|
|
168
|
-
/**
|
|
169
|
-
* Gets or sets NgSelect options
|
|
170
|
-
*/
|
|
171
|
-
get selectOptions() {
|
|
172
|
-
return this._selectOptions;
|
|
173
|
-
}
|
|
174
|
-
set selectOptions(options) {
|
|
175
|
-
this._selectOptions = extend(true, this._selectOptions, options);
|
|
176
|
-
this._pluginBus.selectOptions = this._selectOptions;
|
|
177
|
-
}
|
|
178
|
-
//######################### public properties - implementation of NgSelect #########################
|
|
179
|
-
/**
|
|
180
|
-
* Occurs every time when NgSelect is initialized or reinitialized, if value is false NgSelect was not initialized yet
|
|
181
|
-
*/
|
|
182
|
-
get initialized() {
|
|
183
|
-
return this._initializedSubject.asObservable();
|
|
184
|
-
}
|
|
185
|
-
//######################### public properties - implementation of OptionsGatherer #########################
|
|
186
|
-
/**
|
|
187
|
-
* Array of provided options for select
|
|
188
|
-
*/
|
|
189
|
-
get options() {
|
|
190
|
-
return this.optionsChildren.toArray();
|
|
191
|
-
}
|
|
192
|
-
/**
|
|
193
|
-
* Occurs when array of provided options has changed
|
|
194
|
-
*/
|
|
195
|
-
get optionsChange() {
|
|
196
|
-
return this._optionsChange;
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Array of visible, displayed options for select
|
|
200
|
-
*/
|
|
201
|
-
get availableOptions() {
|
|
202
|
-
return this._availableOptions;
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* Occurs when array of visible, displayed options has changed
|
|
206
|
-
*/
|
|
207
|
-
get availableOptionsChange() {
|
|
208
|
-
return this._availableOptionsChange;
|
|
209
|
-
}
|
|
210
|
-
//######################### public methods - implementation of OnChanges #########################
|
|
211
|
-
/**
|
|
212
|
-
* Called when input value changes
|
|
213
|
-
*/
|
|
214
|
-
ngOnChanges(changes) {
|
|
215
|
-
const updateReadonly = (state, firstChange) => {
|
|
216
|
-
//update options
|
|
217
|
-
this.selectOptions.readonly = state;
|
|
218
|
-
if (!firstChange) {
|
|
219
|
-
this.initOptions();
|
|
220
|
-
this.initialize();
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
if (nameof('disabled') in changes && isBoolean(this.disabled)) {
|
|
224
|
-
updateReadonly(this.disabled, changes[nameof('disabled')].firstChange);
|
|
225
|
-
}
|
|
226
|
-
if (nameof('readonly') in changes && isBoolean(this.readonly)) {
|
|
227
|
-
updateReadonly(this.readonly, changes[nameof('readonly')].firstChange);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
//######################### public methods - implementation of OnInit #########################
|
|
231
|
-
/**
|
|
232
|
-
* Initialize component
|
|
233
|
-
*/
|
|
234
|
-
ngOnInit() {
|
|
235
|
-
this.initOptions();
|
|
236
|
-
}
|
|
237
|
-
//######################### public methods - implementation of AfterViewInit #########################
|
|
238
|
-
/**
|
|
239
|
-
* Called when view was initialized
|
|
240
|
-
*/
|
|
241
|
-
ngAfterViewInit() {
|
|
242
|
-
this._availableOptions = this.options;
|
|
243
|
-
this.optionsChildren.changes.subscribe(() => {
|
|
244
|
-
this._availableOptions = this.options;
|
|
245
|
-
this._optionsChange.emit();
|
|
246
|
-
this._availableOptionsChange.emit();
|
|
247
|
-
});
|
|
248
|
-
if (this._selectOptions.autoInitialize) {
|
|
249
|
-
this.initialize();
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
//######################### public methods - implementation of OnDestroy #########################
|
|
253
|
-
/**
|
|
254
|
-
* Called when component is destroyed
|
|
255
|
-
*/
|
|
256
|
-
ngOnDestroy() {
|
|
257
|
-
var _a, _b;
|
|
258
|
-
(_a = this._searchValueChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
259
|
-
this._searchValueChangeSubscription = null;
|
|
260
|
-
(_b = this.selectOptions.optionsGatherer) === null || _b === void 0 ? void 0 : _b.destroyGatherer();
|
|
261
|
-
this._destroyAbsolutePopup();
|
|
262
|
-
}
|
|
263
|
-
//######################### public methods - implementation of OptionsGatherer #########################
|
|
264
|
-
/**
|
|
265
|
-
* Initialize gatherer during initialization phase
|
|
266
|
-
*/
|
|
267
|
-
initializeGatherer() {
|
|
268
|
-
const liveSearch = this._pluginInstances[LIVE_SEARCH];
|
|
269
|
-
if (this._liveSearch && this._liveSearch != liveSearch) {
|
|
270
|
-
this._searchValueChangeSubscription.unsubscribe();
|
|
271
|
-
this._searchValueChangeSubscription = null;
|
|
272
|
-
this._liveSearch = null;
|
|
273
|
-
}
|
|
274
|
-
if (!this._liveSearch) {
|
|
275
|
-
this._liveSearch = liveSearch;
|
|
276
|
-
this._searchValueChangeSubscription = this._liveSearch.searchValueChange.subscribe(() => {
|
|
277
|
-
if (!this._liveSearch.searchValue) {
|
|
278
|
-
this._availableOptions = this.options;
|
|
279
|
-
this._availableOptionsChange.emit();
|
|
280
|
-
return;
|
|
281
|
-
}
|
|
282
|
-
this._availableOptions = this.options.filter(this.selectOptions.liveSearchFilter(this._liveSearch.searchValue, this.selectOptions.normalizer));
|
|
283
|
-
this._availableOptionsChange.emit();
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
/**
|
|
288
|
-
* Called when gatherer needs to be destroyed
|
|
289
|
-
*/
|
|
290
|
-
destroyGatherer() {
|
|
291
|
-
}
|
|
292
|
-
//######################### public methods - template bindings #########################
|
|
293
|
-
/**
|
|
294
|
-
* Sets normal state component
|
|
295
|
-
* @param normalState - Created normal state that is rendered
|
|
296
|
-
* @internal
|
|
297
|
-
*/
|
|
298
|
-
setNormalStateComponent(normalState) {
|
|
299
|
-
this._registerNewPlugin(normalState, NORMAL_STATE, 'normalState');
|
|
300
|
-
}
|
|
301
|
-
/**
|
|
302
|
-
* Sets keyboard handler component
|
|
303
|
-
* @param keyboardHandler - Created keyboard handler that is rendered
|
|
304
|
-
* @internal
|
|
305
|
-
*/
|
|
306
|
-
setKeyboardHandlerComponent(keyboardHandler) {
|
|
307
|
-
this._registerNewPlugin(keyboardHandler, KEYBOARD_HANDLER, 'keyboardHandler');
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* Sets popup component
|
|
311
|
-
* @param popup - Created popup that is rendered
|
|
312
|
-
* @internal
|
|
313
|
-
*/
|
|
314
|
-
setPopupComponent(popup) {
|
|
315
|
-
this._registerNewPlugin(popup, POPUP, 'popup');
|
|
316
|
-
}
|
|
317
|
-
/**
|
|
318
|
-
* Sets positioner component
|
|
319
|
-
* @param positioner - Created positioner that is rendered
|
|
320
|
-
* @internal
|
|
321
|
-
*/
|
|
322
|
-
setPositionerComponent(positioner) {
|
|
323
|
-
this._registerNewPlugin(positioner, POSITIONER, 'positioner');
|
|
324
|
-
}
|
|
325
|
-
/**
|
|
326
|
-
* Sets readonly state component
|
|
327
|
-
* @param readonlyState - Created readonly state that is rendered
|
|
328
|
-
* @internal
|
|
329
|
-
*/
|
|
330
|
-
setReadonlyStateComponent(readonlyState) {
|
|
331
|
-
this._registerNewPlugin(readonlyState, READONLY_STATE, 'readonlyState');
|
|
332
|
-
this._pluginInstances[NORMAL_STATE] = this._pluginInstances[READONLY_STATE];
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* Sets value handler component
|
|
336
|
-
* @param valueHandler - Created value handler that is rendered
|
|
337
|
-
* @internal
|
|
338
|
-
*/
|
|
339
|
-
setValueHandlerComponent(valueHandler) {
|
|
340
|
-
this._registerNewPlugin(valueHandler, VALUE_HANDLER, 'valueHandler');
|
|
341
|
-
}
|
|
342
|
-
/**
|
|
343
|
-
* Sets live search component
|
|
344
|
-
* @param liveSearch - Created live search that is rendered
|
|
345
|
-
* @internal
|
|
346
|
-
*/
|
|
347
|
-
setLiveSearchComponent(liveSearch) {
|
|
348
|
-
this._registerNewPlugin(liveSearch, LIVE_SEARCH, 'liveSearch');
|
|
349
|
-
}
|
|
350
|
-
//######################### public methods #########################
|
|
351
|
-
/**
|
|
352
|
-
* Initialize component, automatically called once if not blocked by options
|
|
353
|
-
*/
|
|
354
|
-
initialize() {
|
|
355
|
-
var _a, _b;
|
|
356
|
-
const liveSearchPlugin = this._pluginInstances[LIVE_SEARCH];
|
|
357
|
-
this.liveSearchElement = [[liveSearchPlugin.liveSearchElement]];
|
|
358
|
-
if (this.selectOptions.absolute) {
|
|
359
|
-
this._appendPopupToBody(this._selectOptions.plugins.popup.type);
|
|
360
|
-
}
|
|
361
|
-
this._changeDetector.detectChanges();
|
|
362
|
-
this.selectOptions.optionsGatherer.initializeGatherer();
|
|
363
|
-
this._pluginInstances[LIVE_SEARCH].initialize();
|
|
364
|
-
this._pluginInstances[KEYBOARD_HANDLER].initialize();
|
|
365
|
-
this._pluginInstances[VALUE_HANDLER].initialize();
|
|
366
|
-
(_a = this._pluginInstances[NORMAL_STATE]) === null || _a === void 0 ? void 0 : _a.initialize();
|
|
367
|
-
(_b = this._pluginInstances[READONLY_STATE]) === null || _b === void 0 ? void 0 : _b.initialize();
|
|
368
|
-
this._pluginInstances[POPUP].initialize();
|
|
369
|
-
this._pluginInstances[POSITIONER].initialize();
|
|
370
|
-
this.isInitialized = true;
|
|
371
|
-
this._initializedSubject.next(true);
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Initialize options, automaticaly called during init phase, but can be used to reinitialize NgSelectOptions
|
|
375
|
-
*/
|
|
376
|
-
initOptions() {
|
|
377
|
-
this.selectOptions.optionsGatherer.ngSelectPlugins = this._pluginInstances;
|
|
378
|
-
this.selectOptions.optionsGatherer.pluginBus = this._pluginBus;
|
|
379
|
-
this.selectOptions.optionsGatherer.select = this;
|
|
380
|
-
const initOptionsPlugin = (pluginKey, pluginName) => {
|
|
381
|
-
if (this._selectOptions.plugins[pluginName]) {
|
|
382
|
-
this._selectOptions.plugins[pluginName].type = resolveForwardRef(this._selectOptions.plugins[pluginName].type);
|
|
383
|
-
if (this._pluginInstances[pluginKey]) {
|
|
384
|
-
if (this._selectOptions.plugins && this._selectOptions.plugins[pluginName] && this._selectOptions.plugins[pluginName].options) {
|
|
385
|
-
this._pluginInstances[pluginKey].options = this._selectOptions.plugins[pluginName].options;
|
|
386
|
-
}
|
|
387
|
-
this._pluginInstances[pluginKey].initOptions();
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
};
|
|
391
|
-
if (this._selectOptions.plugins) {
|
|
392
|
-
initOptionsPlugin(NORMAL_STATE, 'normalState');
|
|
393
|
-
initOptionsPlugin(KEYBOARD_HANDLER, 'keyboardHandler');
|
|
394
|
-
initOptionsPlugin(POPUP, 'popup');
|
|
395
|
-
initOptionsPlugin(POSITIONER, 'positioner');
|
|
396
|
-
initOptionsPlugin(READONLY_STATE, 'readonlyState');
|
|
397
|
-
initOptionsPlugin(VALUE_HANDLER, 'valueHandler');
|
|
398
|
-
initOptionsPlugin(LIVE_SEARCH, 'liveSearch');
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* Explicitly runs invalidation of content (change detection)
|
|
403
|
-
*/
|
|
404
|
-
invalidateVisuals() {
|
|
405
|
-
this._changeDetector.detectChanges();
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
* Gets instance of plugin by its id
|
|
409
|
-
* @param pluginId - Id of plugin, use constants
|
|
410
|
-
*/
|
|
411
|
-
getPlugin(pluginId) {
|
|
412
|
-
return this._pluginInstances[pluginId];
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* Subscribes for event
|
|
416
|
-
* @param eventName - Name of event that should be listened to
|
|
417
|
-
* @param handler - Function used for handling event
|
|
418
|
-
*/
|
|
419
|
-
listenTo(eventName, handler) {
|
|
420
|
-
return this._pluginBus[eventName].subscribe(handler);
|
|
421
|
-
}
|
|
422
|
-
/**
|
|
423
|
-
* Executes actions on NgSelect
|
|
424
|
-
* @param actions - Array of actions that are executed over NgSelect
|
|
425
|
-
*/
|
|
426
|
-
execute(...actions) {
|
|
427
|
-
if (!actions) {
|
|
428
|
-
return;
|
|
429
|
-
}
|
|
430
|
-
actions.forEach(action => action(this));
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* Executes function on NgSelect and returns result
|
|
434
|
-
* @param func - Function that is executed and its result is returned
|
|
435
|
-
*/
|
|
436
|
-
executeAndReturn(func) {
|
|
437
|
-
if (!func) {
|
|
438
|
-
return null;
|
|
439
|
-
}
|
|
440
|
-
return func(this);
|
|
441
|
-
}
|
|
442
|
-
//######################### protected methods #########################
|
|
443
|
-
/**
|
|
444
|
-
* Appends popup component directly to body, allows absolute positioning over page body
|
|
445
|
-
* @param component - Popup component type to be appended
|
|
446
|
-
*/
|
|
447
|
-
_appendPopupToBody(component) {
|
|
448
|
-
//do not reinitialize if already exists and nothing has changed
|
|
449
|
-
if (this._absolutePopupType == component && this.liveSearchElement[0][0] == this._absolutePopupElement) {
|
|
450
|
-
return;
|
|
451
|
-
}
|
|
452
|
-
// 0. Destroyes absolute popup if it exists
|
|
453
|
-
this._destroyAbsolutePopup();
|
|
454
|
-
if (!component) {
|
|
455
|
-
return;
|
|
456
|
-
}
|
|
457
|
-
this._absolutePopupType = component;
|
|
458
|
-
this._absolutePopupElement = this.liveSearchElement[0][0];
|
|
459
|
-
// 1. Create a component reference from the component
|
|
460
|
-
this._absolutePopup = this._componentFactoryResolver
|
|
461
|
-
.resolveComponentFactory(component)
|
|
462
|
-
.create(this._injector, this.liveSearchElement);
|
|
463
|
-
// 2. Attach component to the appRef so that it's inside the ng component tree
|
|
464
|
-
this._appRef.attachView(this._absolutePopup.hostView);
|
|
465
|
-
// 3. Get DOM element from component
|
|
466
|
-
const domElem = this._absolutePopup.hostView
|
|
467
|
-
.rootNodes[0];
|
|
468
|
-
// 4. Append DOM element to the body
|
|
469
|
-
document.body.appendChild(domElem);
|
|
470
|
-
this.setPopupComponent(this._absolutePopup.instance);
|
|
471
|
-
}
|
|
472
|
-
/**
|
|
473
|
-
* Destroyes absolute popup if it exists
|
|
474
|
-
*/
|
|
475
|
-
_destroyAbsolutePopup() {
|
|
476
|
-
if (this._absolutePopup) {
|
|
477
|
-
this._appRef.detachView(this._absolutePopup.hostView);
|
|
478
|
-
this._absolutePopup.destroy();
|
|
479
|
-
this._absolutePopup = null;
|
|
480
|
-
this._absolutePopupType = null;
|
|
481
|
-
this._absolutePopupElement = null;
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* Registers newly created plugin
|
|
486
|
-
* @param plugin - Plugin to be registered
|
|
487
|
-
* @param pluginKey - Key of plugin used for pluginInstances
|
|
488
|
-
* @param pluginName - Name property for plugin from options
|
|
489
|
-
*/
|
|
490
|
-
_registerNewPlugin(plugin, pluginKey, pluginName) {
|
|
491
|
-
if (!plugin) {
|
|
492
|
-
this._pluginInstances[pluginKey] = null;
|
|
493
|
-
return;
|
|
494
|
-
}
|
|
495
|
-
this._pluginInstances[pluginKey] = plugin;
|
|
496
|
-
if (this._selectOptions.plugins && this._selectOptions.plugins[pluginName] && this._selectOptions.plugins[pluginName].options) {
|
|
497
|
-
plugin.options = this._selectOptions.plugins[pluginName].options;
|
|
498
|
-
}
|
|
499
|
-
plugin.initOptions();
|
|
500
|
-
if (this._selectOptions.plugins && this._selectOptions.plugins[pluginName] && this._selectOptions.plugins[pluginName].instanceCallback) {
|
|
501
|
-
this._selectOptions.plugins[pluginName].instanceCallback(plugin);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
NgSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: i1.PluginBus }, { token: NG_SELECT_PLUGIN_INSTANCES }, { token: NG_SELECT_OPTIONS, optional: true }, { token: NORMAL_STATE_TYPE, optional: true }, { token: KEYBOARD_HANDLER_TYPE, optional: true }, { token: POPUP_TYPE, optional: true }, { token: POSITIONER_TYPE, optional: true }, { token: READONLY_STATE_TYPE, optional: true }, { token: VALUE_HANDLER_TYPE, optional: true }, { token: LIVE_SEARCH_TYPE, optional: true }, { token: 'readonly', attribute: true }, { token: 'disabled', attribute: true }, { token: 'multiple', attribute: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
506
|
-
NgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: NgSelectComponent, selector: "ng-select", inputs: { selectOptions: "selectOptions", disabled: "disabled", readonly: "readonly" }, providers: [
|
|
507
|
-
{
|
|
508
|
-
provide: NG_SELECT_PLUGIN_INSTANCES,
|
|
509
|
-
useFactory: () => { return {}; }
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
provide: PluginBus,
|
|
513
|
-
useClass: PluginBus
|
|
514
|
-
}
|
|
515
|
-
], queries: [{ propertyName: "normalStateTemplate", first: true, predicate: ["normalStateTemplate"], descendants: true }, { propertyName: "optionTemplate", first: true, predicate: ["optionTemplate"], descendants: true }, { propertyName: "optionsChildren", predicate: OptionComponent }, { propertyName: "optGroupsChildren", predicate: OptGroupComponent }], usesOnChanges: true, ngImport: i0, template: "<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.liveSearch?.type\" (ngComponentOutletExCreated)=\"setLiveSearchComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.positioner?.type\" (ngComponentOutletExCreated)=\"setPositionerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.keyboardHandler?.type\" (ngComponentOutletExCreated)=\"setKeyboardHandlerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.valueHandler?.type\" (ngComponentOutletExCreated)=\"setValueHandlerComponent($event)\"></ng-template>\r\n\r\n<div>\r\n <ng-template [ngIf]=\"!selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.normalState?.type\" (ngComponentOutletExCreated)=\"setNormalStateComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngIf]=\"selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.readonlyState?.type\" (ngComponentOutletExCreated)=\"setReadonlyStateComponent($event)\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngIf]=\"!selectOptions?.absolute\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.popup?.type\" (ngComponentOutletExCreated)=\"setPopupComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n </ng-template>\r\n</div>", styles: [":host\n {\n display: block;\n position: relative;\n }"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectComponent, decorators: [{
|
|
517
|
-
type: Component,
|
|
518
|
-
args: [{ selector: 'ng-select', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
519
|
-
{
|
|
520
|
-
provide: NG_SELECT_PLUGIN_INSTANCES,
|
|
521
|
-
useFactory: () => { return {}; }
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
provide: PluginBus,
|
|
525
|
-
useClass: PluginBus
|
|
526
|
-
}
|
|
527
|
-
], template: "<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.liveSearch?.type\" (ngComponentOutletExCreated)=\"setLiveSearchComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.positioner?.type\" (ngComponentOutletExCreated)=\"setPositionerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.keyboardHandler?.type\" (ngComponentOutletExCreated)=\"setKeyboardHandlerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.valueHandler?.type\" (ngComponentOutletExCreated)=\"setValueHandlerComponent($event)\"></ng-template>\r\n\r\n<div>\r\n <ng-template [ngIf]=\"!selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.normalState?.type\" (ngComponentOutletExCreated)=\"setNormalStateComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngIf]=\"selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.readonlyState?.type\" (ngComponentOutletExCreated)=\"setReadonlyStateComponent($event)\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngIf]=\"!selectOptions?.absolute\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.popup?.type\" (ngComponentOutletExCreated)=\"setPopupComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n </ng-template>\r\n</div>", styles: [":host\n {\n display: block;\n position: relative;\n }"] }]
|
|
528
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: i1.PluginBus }, { type: undefined, decorators: [{
|
|
529
|
-
type: Inject,
|
|
530
|
-
args: [NG_SELECT_PLUGIN_INSTANCES]
|
|
531
|
-
}] }, { type: undefined, decorators: [{
|
|
532
|
-
type: Inject,
|
|
533
|
-
args: [NG_SELECT_OPTIONS]
|
|
534
|
-
}, {
|
|
535
|
-
type: Optional
|
|
536
|
-
}] }, { type: i0.Type, decorators: [{
|
|
537
|
-
type: Inject,
|
|
538
|
-
args: [NORMAL_STATE_TYPE]
|
|
539
|
-
}, {
|
|
540
|
-
type: Optional
|
|
541
|
-
}] }, { type: i0.Type, decorators: [{
|
|
542
|
-
type: Inject,
|
|
543
|
-
args: [KEYBOARD_HANDLER_TYPE]
|
|
544
|
-
}, {
|
|
545
|
-
type: Optional
|
|
546
|
-
}] }, { type: i0.Type, decorators: [{
|
|
547
|
-
type: Inject,
|
|
548
|
-
args: [POPUP_TYPE]
|
|
549
|
-
}, {
|
|
550
|
-
type: Optional
|
|
551
|
-
}] }, { type: i0.Type, decorators: [{
|
|
552
|
-
type: Inject,
|
|
553
|
-
args: [POSITIONER_TYPE]
|
|
554
|
-
}, {
|
|
555
|
-
type: Optional
|
|
556
|
-
}] }, { type: i0.Type, decorators: [{
|
|
557
|
-
type: Inject,
|
|
558
|
-
args: [READONLY_STATE_TYPE]
|
|
559
|
-
}, {
|
|
560
|
-
type: Optional
|
|
561
|
-
}] }, { type: i0.Type, decorators: [{
|
|
562
|
-
type: Inject,
|
|
563
|
-
args: [VALUE_HANDLER_TYPE]
|
|
564
|
-
}, {
|
|
565
|
-
type: Optional
|
|
566
|
-
}] }, { type: i0.Type, decorators: [{
|
|
567
|
-
type: Inject,
|
|
568
|
-
args: [LIVE_SEARCH_TYPE]
|
|
569
|
-
}, {
|
|
570
|
-
type: Optional
|
|
571
|
-
}] }, { type: undefined, decorators: [{
|
|
572
|
-
type: Attribute,
|
|
573
|
-
args: ['readonly']
|
|
574
|
-
}] }, { type: undefined, decorators: [{
|
|
575
|
-
type: Attribute,
|
|
576
|
-
args: ['disabled']
|
|
577
|
-
}] }, { type: undefined, decorators: [{
|
|
578
|
-
type: Attribute,
|
|
579
|
-
args: ['multiple']
|
|
580
|
-
}] }]; }, propDecorators: { selectOptions: [{
|
|
581
|
-
type: Input
|
|
582
|
-
}], disabled: [{
|
|
583
|
-
type: Input
|
|
584
|
-
}], readonly: [{
|
|
585
|
-
type: Input
|
|
586
|
-
}], normalStateTemplate: [{
|
|
587
|
-
type: ContentChild,
|
|
588
|
-
args: ['normalStateTemplate']
|
|
589
|
-
}], optionTemplate: [{
|
|
590
|
-
type: ContentChild,
|
|
591
|
-
args: ['optionTemplate']
|
|
592
|
-
}], optionsChildren: [{
|
|
593
|
-
type: ContentChildren,
|
|
594
|
-
args: [OptionComponent]
|
|
595
|
-
}], optGroupsChildren: [{
|
|
596
|
-
type: ContentChildren,
|
|
597
|
-
args: [OptGroupComponent]
|
|
598
|
-
}] } });
|
|
599
|
-
//# sourceMappingURL=select.component.js.map
|