@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"basicValueHandler.component.js","sourceRoot":"","sources":["../../../../../src/plugins/valueHandler/basic/basicValueHandler.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAI7C,OAAO,EAAC,0BAA0B,EAAC,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAC,qBAAqB,EAAC,MAAM,UAAU,CAAC;AAE/C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,SAAS,EAAC,MAAM,mCAAmC,CAAC;;;AAE5D,8CAA8C;AAE9C;;;GAGG;AACH,MAAM,cAAc,GACpB,EACC,CAAC;AAEF;;GAEG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CAAC,IAAI,EAAE,CAAC;IAC5B,CAAC;8GA5KQ,0BAA0B,kBAwBf,0BAA0B,gGAG1B,qBAAqB;kGA3BhC,0BAA0B,0GAJzB,EAAE;;2FAIH,0BAA0B;kBAPtC,SAAS;mBACV;oBACI,QAAQ,EAAE,wBAAwB;oBAClC,QAAQ,EAAE,EAAE;oBACZ,UAAU,EAAE,KAAK;oBACjB,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAClD;;0BAyBgB,MAAM;2BAAC,0BAA0B;;0BAAG,QAAQ;;0BAC5C,QAAQ;;0BAER,MAAM;2BAAC,qBAAqB;;0BAAG,QAAQ","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Optional, ElementRef} from '@angular/core';\nimport {isBlank} from '@jscrpt/common';\nimport {extend} from '@jscrpt/common/extend';\n\nimport {BasicValueHandlerOptions, BasicValueHandler} from './basicValueHandler.interface';\nimport {NgSelectPluginInstances} from '../../../components/select';\nimport {NG_SELECT_PLUGIN_INSTANCES} from '../../../components/select/types';\nimport {VALUE_HANDLER_OPTIONS} from '../types';\nimport {ɵNgSelectOption, } from '../../../components/option';\nimport {ValueHandlerBase} from '../valueHandlerBase';\nimport {PluginBus} from '../../../misc/pluginBus/pluginBus';\n\n//TODO - select _setValue, reject non existing\n\n/**\n * Default options for value handler\n * @internal\n */\nconst defaultOptions: BasicValueHandlerOptions =\n{\n};\n\n/**\n * Component used for handling current value of NgSelect\n */\n@Component(\n{\n selector: 'ng-basic-value-handler',\n template: '',\n standalone: false,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class BasicValueHandlerComponent<TValue = any> extends ValueHandlerBase<TValue, BasicValueHandlerOptions> implements BasicValueHandler<TValue>\n{\n //######################### protected fields #########################\n\n /**\n * Backed up unmapped value that was set before options were obtained\n */\n protected _unmappedValue: TValue|TValue[];\n\n //######################### public properties - implementation of BasicValueHandler #########################\n\n /**\n * Options for NgSelect plugin\n */\n public get options(): BasicValueHandlerOptions\n {\n return this._options;\n }\n public set options(options: BasicValueHandlerOptions)\n {\n this._options = extend(true, this._options, options);\n }\n\n //######################### constructor #########################\n constructor(@Inject(NG_SELECT_PLUGIN_INSTANCES) @Optional() ngSelectPlugins: NgSelectPluginInstances,\n @Optional() pluginBus: PluginBus<TValue>,\n pluginElement: ElementRef,\n @Inject(VALUE_HANDLER_OPTIONS) @Optional() options?: BasicValueHandlerOptions)\n {\n super(ngSelectPlugins, pluginElement, pluginBus);\n\n this._options = extend(true, {}, defaultOptions, options);\n }\n\n //######################### public methods - implementation of BasicValueHandler #########################\n\n /**\n * Sets value for NgSelect\n * @param value - Value to be set\n */\n public setValue(value: TValue|TValue[]): void\n {\n this._useOptionsAsValue(value);\n }\n\n /**\n * Initialize plugin options, all operations required to be done with plugin options are handled here\n */\n public override initOptions()\n {\n }\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n public override invalidateVisuals(): void\n {\n }\n\n //######################### protected methods #########################\n\n /**\n * Sets value\n */\n protected _setValue = (option: ɵNgSelectOption<TValue>) =>\n {\n //multiple values are allowed\n if(this.pluginBus.selectOptions.multiple)\n {\n if(!Array.isArray(this.selectedOptions))\n {\n this.selectedOptions = [];\n }\n\n if(Array.isArray(this.selectedOptions))\n {\n let index: number;\n\n //value exists, removing from list\n if((index = this.selectedOptions.indexOf(option)) >= 0)\n {\n this.selectedOptions.splice(index, 1);\n }\n //adding value\n else\n {\n this.selectedOptions.push(option);\n }\n\n this.selectedOptions = [...this.selectedOptions];\n }\n }\n else\n //only signle value allowed\n {\n this.selectedOptions = option;\n }\n\n this._clearSelected();\n this._markValueAsSelected();\n\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n };\n\n /**\n * Loads options\n */\n protected _loadOptions()\n {\n this._useOptionsAsValue(isBlank(this._unmappedValue) ? this.value : this._unmappedValue);\n }\n\n /**\n * Converts value to options\n * @param value - Value to be changed to options\n */\n protected _useOptionsAsValue(value: TValue|TValue[])\n {\n //set empty value\n if(isBlank(value) || (Array.isArray(value) && !value.length))\n {\n this.selectedOptions = value;\n\n this._clearSelected();\n this._unmappedValue = null;\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n\n return;\n }\n\n //no options available yet\n if(!this._optionsGatherer.options || !this._optionsGatherer.options.length)\n {\n this._unmappedValue = value;\n\n return;\n }\n\n if(this.pluginBus.selectOptions.multiple)\n {\n if(Array.isArray(value))\n {\n const items = value;\n\n this.selectedOptions = this._optionsGatherer.options.filter(itm => !!items.find(it => this.valueComparer(it, itm.value)));\n }\n else\n {\n throw new Error('Don`t you have redundant \"multiple\"?');\n }\n }\n else\n {\n if(Array.isArray(value))\n {\n throw new Error('Are you missing attribute \"multiple\"?');\n }\n else\n {\n const item = value;\n\n this.selectedOptions = this._optionsGatherer.options.find(itm => this.valueComparer(itm.value, item));\n }\n }\n\n this._clearSelected();\n this._markValueAsSelected();\n this._unmappedValue = null;\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n }\n}\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Component, ChangeDetectionStrategy, Inject, Optional, ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { isBlank } from '@jscrpt/common';
|
|
3
|
+
import { extend } from '@jscrpt/common/extend';
|
|
3
4
|
import { NG_SELECT_PLUGIN_INSTANCES } from '../../../components/select/types';
|
|
4
5
|
import { VALUE_HANDLER_OPTIONS } from '../types';
|
|
5
6
|
import { ValueHandlerBase } from '../valueHandlerBase';
|
|
@@ -17,6 +18,16 @@ const defaultOptions = {
|
|
|
17
18
|
* Component used for handling current value of NgSelect, allows values which are not present in options
|
|
18
19
|
*/
|
|
19
20
|
export class DynamicValueHandlerComponent extends ValueHandlerBase {
|
|
21
|
+
//######################### public properties - implementation of DynamicValueHandler #########################
|
|
22
|
+
/**
|
|
23
|
+
* Options for NgSelect plugin
|
|
24
|
+
*/
|
|
25
|
+
get options() {
|
|
26
|
+
return this._options;
|
|
27
|
+
}
|
|
28
|
+
set options(options) {
|
|
29
|
+
this._options = extend(true, this._options, options);
|
|
30
|
+
}
|
|
20
31
|
//######################### constructor #########################
|
|
21
32
|
constructor(ngSelectPlugins, pluginBus, pluginElement, options) {
|
|
22
33
|
super(ngSelectPlugins, pluginElement, pluginBus);
|
|
@@ -55,16 +66,6 @@ export class DynamicValueHandlerComponent extends ValueHandlerBase {
|
|
|
55
66
|
};
|
|
56
67
|
this._options = extend(true, {}, defaultOptions, options);
|
|
57
68
|
}
|
|
58
|
-
//######################### public properties - implementation of DynamicValueHandler #########################
|
|
59
|
-
/**
|
|
60
|
-
* Options for NgSelect plugin
|
|
61
|
-
*/
|
|
62
|
-
get options() {
|
|
63
|
-
return this._options;
|
|
64
|
-
}
|
|
65
|
-
set options(options) {
|
|
66
|
-
this._options = extend(true, this._options, options);
|
|
67
|
-
}
|
|
68
69
|
//######################### public methods - implementation of DynamicValueHandler #########################
|
|
69
70
|
/**
|
|
70
71
|
* Sets value for NgSelect
|
|
@@ -151,17 +152,18 @@ export class DynamicValueHandlerComponent extends ValueHandlerBase {
|
|
|
151
152
|
text: this.options.textExtractor(value)
|
|
152
153
|
};
|
|
153
154
|
}
|
|
155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DynamicValueHandlerComponent, deps: [{ token: NG_SELECT_PLUGIN_INSTANCES, optional: true }, { token: i1.PluginBus, optional: true }, { token: i0.ElementRef }, { token: VALUE_HANDLER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
156
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.0", type: DynamicValueHandlerComponent, isStandalone: false, selector: "ng-dynamic-value-handler", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
154
157
|
}
|
|
155
|
-
|
|
156
|
-
DynamicValueHandlerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: DynamicValueHandlerComponent, selector: "ng-dynamic-value-handler", usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DynamicValueHandlerComponent, decorators: [{
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: DynamicValueHandlerComponent, decorators: [{
|
|
158
159
|
type: Component,
|
|
159
160
|
args: [{
|
|
160
161
|
selector: 'ng-dynamic-value-handler',
|
|
161
162
|
template: '',
|
|
163
|
+
standalone: false,
|
|
162
164
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
163
165
|
}]
|
|
164
|
-
}], ctorParameters:
|
|
166
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
165
167
|
type: Inject,
|
|
166
168
|
args: [NG_SELECT_PLUGIN_INSTANCES]
|
|
167
169
|
}, {
|
|
@@ -173,5 +175,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
|
173
175
|
args: [VALUE_HANDLER_OPTIONS]
|
|
174
176
|
}, {
|
|
175
177
|
type: Optional
|
|
176
|
-
}] }]
|
|
178
|
+
}] }] });
|
|
177
179
|
//# sourceMappingURL=dynamicValueHandler.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamicValueHandler.component.js","sourceRoot":"","sources":["../../../../../src/plugins/valueHandler/dynamic/dynamicValueHandler.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAI7C,OAAO,EAAC,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AC,sBAAsB,EACtC,CAAC;YACG,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;YAE9D,IAAG,IAAI,IAAI,IAAI,CAAC,MAAM,EACtB,CAAC;gBACG,MAAM,GAAG,GAA4B,IAAI,CAAC,CAAC,CAAC,CAAC;gBAE7C,GAAG,CAAC,KAAK,GAAG,KAAK,CAAC;gBAClB,GAAG,CAAC,QAAQ,GAAG,IAAI,CAAC;gBAEpB,OAAO,GAAG,CAAC;YACf,CAAC;QACL,CAAC;QAED,wBAAwB;QACxB,OACA;YACI,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,KAAK;YACb,KAAK,EAAE,KAAK;YACZ,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,CAAC;SAC1C,CAAC;IACN,CAAC;8GA/LQ,4BAA4B,kBAiBjB,0BAA0B,gGAG1B,qBAAqB;kGApBhC,4BAA4B,4GAJ3B,EAAE;;2FAIH,4BAA4B;kBAPxC,SAAS;mBACV;oBACI,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE,EAAE;oBACZ,UAAU,EAAE,KAAK;oBACjB,eAAe,EAAE,uBAAuB,CAAC,MAAM;iBAClD;;0BAkBgB,MAAM;2BAAC,0BAA0B;;0BAAG,QAAQ;;0BAC5C,QAAQ;;0BAER,MAAM;2BAAC,qBAAqB;;0BAAG,QAAQ","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, Optional, ElementRef} from '@angular/core';\nimport {isBlank} from '@jscrpt/common';\nimport {extend} from '@jscrpt/common/extend';\n\nimport {DynamicValueHandlerOptions, DynamicValueHandler} from './dynamicValueHandler.interface';\nimport {NgSelectPluginInstances} from '../../../components/select';\nimport {NG_SELECT_PLUGIN_INSTANCES} from '../../../components/select/types';\nimport {VALUE_HANDLER_OPTIONS} from '../types';\nimport {ɵNgSelectOption} from '../../../components/option';\nimport {ValueHandlerBase} from '../valueHandlerBase';\nimport {PluginBus} from '../../../misc/pluginBus/pluginBus';\n\n/**\n * Default options for value handler\n * @internal\n */\nconst defaultOptions: DynamicValueHandlerOptions =\n{\n textExtractor: value => value\n};\n\n/**\n * Component used for handling current value of NgSelect, allows values which are not present in options\n */\n@Component(\n{\n selector: 'ng-dynamic-value-handler',\n template: '',\n standalone: false,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DynamicValueHandlerComponent<TValue = any> extends ValueHandlerBase<TValue, DynamicValueHandlerOptions<TValue>> implements DynamicValueHandler<TValue>\n{\n //######################### public properties - implementation of DynamicValueHandler #########################\n\n /**\n * Options for NgSelect plugin\n */\n public get options(): DynamicValueHandlerOptions<TValue>\n {\n return this._options;\n }\n public set options(options: DynamicValueHandlerOptions<TValue>)\n {\n this._options = extend(true, this._options, options);\n }\n\n //######################### constructor #########################\n constructor(@Inject(NG_SELECT_PLUGIN_INSTANCES) @Optional() ngSelectPlugins: NgSelectPluginInstances,\n @Optional() pluginBus: PluginBus<TValue>,\n pluginElement: ElementRef,\n @Inject(VALUE_HANDLER_OPTIONS) @Optional() options?: DynamicValueHandlerOptions<TValue>)\n {\n super(ngSelectPlugins, pluginElement, pluginBus);\n\n this._options = extend(true, {}, defaultOptions, options);\n }\n\n //######################### public methods - implementation of DynamicValueHandler #########################\n\n /**\n * Sets value for NgSelect\n * @param value - Value to be set\n */\n public setValue(value: TValue|TValue[]): void\n {\n this._useOptionsAsValue(value);\n }\n\n /**\n * Initialize plugin options, all operations required to be done with plugin options are handled here\n */\n public override initOptions()\n {\n }\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n public override invalidateVisuals(): void\n {\n }\n\n //######################### protected methods #########################\n\n /**\n * Sets value\n */\n protected _setValue = (option: ɵNgSelectOption<TValue>) =>\n {\n //multiple values are allowed\n if(this.pluginBus.selectOptions.multiple)\n {\n if(!Array.isArray(this.selectedOptions))\n {\n this.selectedOptions = [];\n }\n\n if(Array.isArray(this.selectedOptions))\n {\n //value exists, removing from list\n if(this.selectedOptions.find(selOpt => this.valueComparer(selOpt.value, option.value)))\n {\n const index = this.selectedOptions.indexOf(option);\n this.selectedOptions.splice(index, 1);\n }\n //adding value\n else\n {\n this.selectedOptions.push(option);\n }\n\n this.selectedOptions = [...this.selectedOptions];\n }\n }\n else\n //only signle value allowed\n {\n this.selectedOptions = option;\n }\n\n this._clearSelected();\n this._markValueAsSelected();\n\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n };\n\n /**\n * Loads options\n */\n protected _loadOptions()\n {\n }\n\n /**\n * Converts value to options\n * @param value - Value to be changed to options\n */\n protected async _useOptionsAsValue(value: TValue|TValue[])\n {\n //set empty value\n if(isBlank(value) || (Array.isArray(value) && !value.length))\n {\n this.selectedOptions = value;\n\n this._clearSelected();\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n\n return;\n }\n\n if(this.pluginBus.selectOptions.multiple)\n {\n if(Array.isArray(value))\n {\n const items = value;\n const options: ɵNgSelectOption<TValue>[] = [];\n\n for(const itm of items)\n {\n options.push(await this._loadText(itm));\n }\n\n this.selectedOptions = options;\n }\n else\n {\n throw new Error('Don`t you have redundant \"multiple\"?');\n }\n }\n else\n {\n if(Array.isArray(value))\n {\n throw new Error('Are you missing attribute \"multiple\"?');\n }\n else\n {\n const item = value;\n\n this.selectedOptions = await this._loadText(item);\n }\n }\n\n this._clearSelected();\n this._markValueAsSelected();\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n }\n\n /**\n * Loads text for specified value\n * @param value - Value that is going to be used for obtaining option\n */\n protected async _loadText(value: TValue): Promise<ɵNgSelectOption<TValue>>\n {\n //load option dynamically\n if(this.options.dynamicOptionsCallback)\n {\n const opts = await this.options.dynamicOptionsCallback(value);\n\n if(opts && opts.length)\n {\n const opt: ɵNgSelectOption<TValue> = opts[0];\n\n opt.value = value;\n opt.selected = true;\n\n return opt;\n }\n }\n\n //load option from value\n return <ɵNgSelectOption<TValue>>\n {\n selected: true,\n active: false,\n value: value,\n text: this.options.textExtractor(value)\n };\n }\n}\n"]}
|
|
@@ -7,38 +7,6 @@ import * as i1 from "../../misc/pluginBus/pluginBus";
|
|
|
7
7
|
* Base class for value handlers
|
|
8
8
|
*/
|
|
9
9
|
export class ValueHandlerBase {
|
|
10
|
-
//######################### constructor #########################
|
|
11
|
-
constructor(ngSelectPlugins, pluginElement, pluginBus) {
|
|
12
|
-
this.ngSelectPlugins = ngSelectPlugins;
|
|
13
|
-
this.pluginElement = pluginElement;
|
|
14
|
-
this.pluginBus = pluginBus;
|
|
15
|
-
/**
|
|
16
|
-
* Occurs when value of NgSelect changes
|
|
17
|
-
*/
|
|
18
|
-
this.valueChange = new EventEmitter();
|
|
19
|
-
/**
|
|
20
|
-
* Cancels, removes option from selected options
|
|
21
|
-
* @param option - Option to be canceled
|
|
22
|
-
*/
|
|
23
|
-
this._cancelValue = (option) => {
|
|
24
|
-
if (Array.isArray(this.selectedOptions)) {
|
|
25
|
-
const index = this.selectedOptions.indexOf(option);
|
|
26
|
-
if (index >= 0) {
|
|
27
|
-
this.selectedOptions.splice(index, 1);
|
|
28
|
-
this.selectedOptions = [...this.selectedOptions];
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
if (this.selectedOptions == option) {
|
|
33
|
-
this.selectedOptions = null;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
this._clearSelected();
|
|
37
|
-
this._markValueAsSelected();
|
|
38
|
-
this._normalState.invalidateVisuals();
|
|
39
|
-
this.valueChange.emit();
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
10
|
/**
|
|
43
11
|
* Current selected value of NgSelect
|
|
44
12
|
*/
|
|
@@ -72,6 +40,38 @@ export class ValueHandlerBase {
|
|
|
72
40
|
get normalizer() {
|
|
73
41
|
return this.pluginBus?.selectOptions?.normalizer;
|
|
74
42
|
}
|
|
43
|
+
//######################### constructor #########################
|
|
44
|
+
constructor(ngSelectPlugins, pluginElement, pluginBus) {
|
|
45
|
+
this.ngSelectPlugins = ngSelectPlugins;
|
|
46
|
+
this.pluginElement = pluginElement;
|
|
47
|
+
this.pluginBus = pluginBus;
|
|
48
|
+
/**
|
|
49
|
+
* Occurs when value of NgSelect changes
|
|
50
|
+
*/
|
|
51
|
+
this.valueChange = new EventEmitter();
|
|
52
|
+
/**
|
|
53
|
+
* Cancels, removes option from selected options
|
|
54
|
+
* @param option - Option to be canceled
|
|
55
|
+
*/
|
|
56
|
+
this._cancelValue = (option) => {
|
|
57
|
+
if (Array.isArray(this.selectedOptions)) {
|
|
58
|
+
const index = this.selectedOptions.indexOf(option);
|
|
59
|
+
if (index >= 0) {
|
|
60
|
+
this.selectedOptions.splice(index, 1);
|
|
61
|
+
this.selectedOptions = [...this.selectedOptions];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
if (this.selectedOptions == option) {
|
|
66
|
+
this.selectedOptions = null;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
this._clearSelected();
|
|
70
|
+
this._markValueAsSelected();
|
|
71
|
+
this._normalState.invalidateVisuals();
|
|
72
|
+
this.valueChange.emit();
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
75
|
//######################### public methods - implementation of OnDestroy #########################
|
|
76
76
|
/**
|
|
77
77
|
* Called when component is destroyed
|
|
@@ -136,10 +136,10 @@ export class ValueHandlerBase {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: ValueHandlerBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
140
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.0", type: ValueHandlerBase, isStandalone: true, ngImport: i0 }); }
|
|
139
141
|
}
|
|
140
|
-
|
|
141
|
-
ValueHandlerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ValueHandlerBase, ngImport: i0 });
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ValueHandlerBase, decorators: [{
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: ValueHandlerBase, decorators: [{
|
|
143
143
|
type: Directive
|
|
144
|
-
}], ctorParameters:
|
|
144
|
+
}], ctorParameters: () => [{ type: undefined }, { type: i0.ElementRef }, { type: i1.PluginBus }] });
|
|
145
145
|
//# sourceMappingURL=valueHandlerBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valueHandlerBase.js","sourceRoot":"","sources":["../../../../src/plugins/valueHandler/valueHandlerBase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,YAAY,EAAY,MAAM,eAAe,CAAC;AAO7E,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAC,SAAS,EAAC,MAAM,gCAAgC,CAAC;;;AAEzD;;GAEG;AAEH,MAAM,OAAgB,gBAAgB;IAmDlC;;OAEG;IACH,IAAW,KAAK;QAEZ,IAAG,IAAI,CAAC,eAAe,EACvB,CAAC;YACG,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,EACtC,CAAC;gBACG,OAAO,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACtD,CAAC;iBAED,CAAC;gBACG,OAAO,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC;YACtC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,0EAA0E;IAE1E;;OAEG;IACH,IAAc,aAAa;QAEvB,OAAO,IAAI,CAAC,SAAS,EAAE,aAAa,EAAE,aAAa,CAAC;IACxD,CAAC;IAED;;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GAAG,IAAI,CAAC,eAAe,CAAC,YAAY,CAAgB,CAAC;QACtE,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAEhC,IAAI,CAAC,YAAY,EAAE,CAAC;IACxB,CAAC;IAED;;OAEG;IACI,WAAW;IAElB,CAAC;IAED;;OAEG;IACI,iBAAiB;IAExB,CAAC;IAwCD;;OAEG;IACO,cAAc;QAEpB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAA+B,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,GAAG,KAAK,CAAC,CAAC;IACxG,CAAC;IAED;;OAEG;IACO,oBAAoB;QAE1B,IAAG,IAAI,CAAC,eAAe,EACvB,CAAC;YACG,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,CAAC,EACtC,CAAC;gBACG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,MAA+B,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;YAC9F,CAAC;iBAED,CAAC;gBACI,IAAI,CAAC,eAA2C,CAAC,QAAQ,GAAG,IAAI,CAAC;YACtE,CAAC;QACL,CAAC;IACL,CAAC;8GAjPiB,gBAAgB;kGAAhB,gBAAgB;;2FAAhB,gBAAgB;kBADrC,SAAS","sourcesContent":["import {Directive, ElementRef, EventEmitter, OnDestroy} from '@angular/core';\nimport {Subscription} from 'rxjs';\n\nimport {NgSelectPlugin, OptionsGatherer, CompareValueFunc, LiveSearchFilter, NormalizeFunc} from '../../misc';\nimport {NgSelectPluginInstances} from '../../components/select';\nimport {ɵNgSelectOption, NgSelectOption} from '../../components/option';\nimport {NormalState} from '../normalState';\nimport {NORMAL_STATE} from '../normalState/types';\nimport {ValueHandler, ValueHandlerOptions} from './valueHandler.interface';\nimport {PluginBus} from '../../misc/pluginBus/pluginBus';\n\n/**\n * Base class for value handlers\n */\n@Directive()\nexport abstract class ValueHandlerBase<TValue = any, TOptions extends ValueHandlerOptions = any> implements ValueHandler<TValue>, NgSelectPlugin<TOptions, TValue>, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Options for NgSelect plugin\n */\n protected _options: TOptions;\n\n /**\n * Normal state that is used\n */\n protected _normalState: NormalState;\n\n /**\n * Subscription for option selection\n */\n protected _optionSelectSubscription: Subscription;\n\n /**\n * Subscription for option cancelation\n */\n protected _optionCancelSubscription: Subscription;\n\n /**\n * Subscription for changes of options in options gatherer\n */\n protected _optionsChangeSubscription: Subscription;\n\n /**\n * Instance of previous options gatherer, that is used for obtaining available options\n */\n protected _optionsGatherer: OptionsGatherer<TValue>;\n\n //######################### public properties - implementation of DynamicValueHandler #########################\n\n /**\n * Options for NgSelect plugin\n */\n public abstract options: TOptions;\n\n /**\n * Occurs when value of NgSelect changes\n */\n public valueChange: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Current value of NgSelect\n */\n public selectedOptions: NgSelectOption<TValue>|NgSelectOption<TValue>[];\n\n /**\n * Current selected value of NgSelect\n */\n public get value(): TValue|TValue[]\n {\n if(this.selectedOptions)\n {\n if(Array.isArray(this.selectedOptions))\n {\n return this.selectedOptions.map(opt => opt.value);\n }\n else\n {\n return this.selectedOptions.value;\n }\n }\n\n return null;\n }\n\n //######################### protected properties #########################\n\n /**\n * Function of value comparer that is used for comparison of values\n */\n protected get valueComparer(): CompareValueFunc<TValue>\n {\n return this.pluginBus?.selectOptions?.valueComparer;\n }\n\n /**\n * Method that is used for filtering when live search is running on static data\n */\n protected get liveSearchFilter(): LiveSearchFilter<TValue>\n {\n return this.pluginBus?.selectOptions?.liveSearchFilter;\n }\n\n /**\n * Normalizer used for normalizing values\n */\n protected get normalizer(): NormalizeFunc<TValue>\n {\n return this.pluginBus?.selectOptions?.normalizer;\n }\n\n //######################### constructor #########################\n constructor(public ngSelectPlugins: NgSelectPluginInstances,\n public pluginElement: ElementRef,\n public pluginBus: PluginBus<TValue>)\n {\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy()\n {\n this._optionSelectSubscription?.unsubscribe();\n this._optionSelectSubscription = null;\n\n this._optionsChangeSubscription?.unsubscribe();\n this._optionsChangeSubscription = null;\n\n this._optionCancelSubscription?.unsubscribe();\n this._optionCancelSubscription = null;\n }\n\n //######################### public methods - implementation of DynamicValueHandler #########################\n\n /**\n * Sets value for NgSelect\n * @param value - Value to be set\n */\n public abstract setValue(value:TValue|TValue[]): void;\n\n /**\n * Initialize plugin, to be ready to use, initialize communication with other plugins\n */\n public initialize()\n {\n if(this._optionsGatherer && this._optionsGatherer != this.pluginBus?.selectOptions?.optionsGatherer)\n {\n this._optionsChangeSubscription.unsubscribe();\n this._optionsChangeSubscription = null;\n\n this._optionsGatherer = null;\n }\n\n if(!this._optionsGatherer)\n {\n this._optionsGatherer = this.pluginBus?.selectOptions?.optionsGatherer;\n\n this._optionsChangeSubscription = this._optionsGatherer.optionsChange.subscribe(() => this._loadOptions());\n }\n\n if(!this._optionSelectSubscription)\n {\n this._optionSelectSubscription = this.pluginBus.optionSelect.subscribe(this._setValue);\n }\n\n if(!this._optionCancelSubscription)\n {\n this._optionCancelSubscription = this.pluginBus.optionCancel.subscribe(this._cancelValue);\n }\n\n const normalState = this.ngSelectPlugins[NORMAL_STATE] as NormalState;\n this._normalState = normalState;\n\n this._loadOptions();\n }\n\n /**\n * Initialize plugin options, all operations required to be done with plugin options are handled here\n */\n public initOptions()\n {\n }\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n public invalidateVisuals(): void\n {\n }\n\n //######################### protected methods #########################\n\n /**\n * Sets value \n */\n protected abstract _setValue: (option: ɵNgSelectOption<TValue>) => void;\n\n /**\n * Cancels, removes option from selected options\n * @param option - Option to be canceled\n */\n protected _cancelValue = (option: ɵNgSelectOption<TValue>): void =>\n {\n if(Array.isArray(this.selectedOptions))\n {\n const index = this.selectedOptions.indexOf(option);\n\n if(index >= 0)\n {\n this.selectedOptions.splice(index, 1);\n this.selectedOptions = [...this.selectedOptions];\n }\n }\n else\n {\n if(this.selectedOptions == option)\n {\n this.selectedOptions = null;\n }\n }\n\n this._clearSelected();\n this._markValueAsSelected();\n\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n }\n\n /**\n * Clears all selected values\n */\n protected _clearSelected()\n {\n this._optionsGatherer.options.forEach((option: ɵNgSelectOption<TValue>) => option.selected = false);\n }\n\n /**\n * Marks current value as selected\n */\n protected _markValueAsSelected()\n {\n if(this.selectedOptions)\n {\n if(Array.isArray(this.selectedOptions))\n {\n this.selectedOptions.forEach((option: ɵNgSelectOption<TValue>) => option.selected = true);\n }\n else\n {\n (this.selectedOptions as ɵNgSelectOption<TValue>).selected = true;\n }\n }\n }\n\n /**\n * Loads options\n */\n protected abstract _loadOptions(): void;\n}"]}
|
package/extensions/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anglr/select-extensions",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"module": "../
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"esm2020": "../es2020/extensions/src/index.js",
|
|
4
|
+
"module": "../es2022/extensions/src/index.js",
|
|
5
|
+
"es2022": "../es2022/extensions/src/index.js",
|
|
6
|
+
"esm2022": "../es2022/extensions/src/index.js",
|
|
8
7
|
"typings": "./src/index.d.ts"
|
|
9
8
|
}
|
package/material/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anglr/select-material",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"module": "../
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"esm2020": "../es2020/material/src/index.js",
|
|
4
|
+
"module": "../es2022/material/src/index.js",
|
|
5
|
+
"es2022": "../es2022/material/src/index.js",
|
|
6
|
+
"esm2022": "../es2022/material/src/index.js",
|
|
8
7
|
"typings": "./src/index.d.ts"
|
|
9
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"basicDialogPopup.component.d.ts","sourceRoot":"","sources":["basicDialogPopup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAkB,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,wBAAwB,EAAE,2BAA2B,EAAC,MAAM,kDAAkD,CAAC;AACvH,OAAO,EAAC,uBAAuB,EAAE,0BAA0B,EAAC,MAAM,8BAA8B,CAAC;;AAgBjG;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"basicDialogPopup.component.d.ts","sourceRoot":"","sources":["basicDialogPopup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6C,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAkB,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAE/D,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,wBAAwB,EAAE,2BAA2B,EAAC,MAAM,kDAAkD,CAAC;AACvH,OAAO,EAAC,uBAAuB,EAAE,0BAA0B,EAAC,MAAM,8BAA8B,CAAC;;AAgBjG;;GAEG;AACH,qBAQa,yBAAyB,CAAC,MAAM,GAAG,GAAG,CAAE,YAAW,2BAA2B,CAAC,uBAAuB,EAAE,MAAM,EAAE,0BAA0B,CAAC,EAAE,MAAM,EAAE,SAAS;IA2BpJ,MAAM,EAAE,YAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;IAC9D,SAAS,CAAC,eAAe,EAAE,iBAAiB;IACZ,IAAI,EAAE,wBAAwB,CAAC,uBAAuB,EAAE,MAAM,EAAE,0BAA0B,CAAC;IAzBvI;;OAEG;IACH,SAAS,CAAC,0BAA0B,EAAE,YAAY,CAAC;IAEnD;;OAEG;IACH,SAAS,CAAC,gBAAgB,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAIpD;;OAEG;IACI,OAAO,EAAE,uBAAuB,CAAC;IAExC;;OAEG;IACI,aAAa,EAAE,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;gBAG7B,MAAM,EAAE,YAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC,EACpD,eAAe,EAAE,iBAAiB,EACZ,IAAI,EAAE,wBAAwB,CAAC,uBAAuB,EAAE,MAAM,EAAE,0BAA0B,CAAC;IAOvI;;OAEG;IACI,QAAQ;IAyBf;;OAEG;IACI,WAAW;IAQlB;;OAEG;IACI,iBAAiB,IAAI,IAAI;yCA9EvB,yBAAyB;2CAAzB,yBAAyB;CAkFrC"}
|
|
@@ -22,6 +22,6 @@ export declare class DialogPopupDirective implements OnChanges {
|
|
|
22
22
|
*/
|
|
23
23
|
ngOnChanges(changes: SimpleChanges): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogPopupDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogPopupDirective, "ng-select[dialogPopup]", never, { "popupType": "dialogPopup"; "dialogPopupOptions": "dialogPopupOptions"; }, {}, never, never,
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogPopupDirective, "ng-select[dialogPopup]", never, { "popupType": { "alias": "dialogPopup"; "required": false; }; "dialogPopupOptions": { "alias": "dialogPopupOptions"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
26
|
}
|
|
27
27
|
//# sourceMappingURL=dialogPopup.directive.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "../plugins/popup/dialog/dialogPopup.component";
|
|
3
3
|
import * as i2 from "../components/basicDialogPopup/basicDialogPopup.component";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "@angular/
|
|
6
|
-
import * as i5 from "
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/dialog";
|
|
6
|
+
import * as i5 from "../directives/dialogPopup/dialogPopup.directive";
|
|
7
7
|
/**
|
|
8
8
|
* Module allows using of angular material dialog for select popup
|
|
9
9
|
*/
|
|
10
10
|
export declare class NgSelectDialogPopupModule {
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectDialogPopupModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectDialogPopupModule, [typeof i1.DialogPopupComponent, typeof i2.BasicDialogPopupComponent, typeof i3.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgSelectDialogPopupModule, [typeof i1.DialogPopupComponent, typeof i2.BasicDialogPopupComponent], [typeof i3.CommonModule, typeof i4.MatDialogModule, typeof i5.DialogPopupDirective], [typeof i1.DialogPopupComponent, typeof i5.DialogPopupDirective, typeof i2.BasicDialogPopupComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgSelectDialogPopupModule>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=dialogPopup.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialogPopup.component.d.ts","sourceRoot":"","sources":["dialogPopup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,iBAAiB,EAAa,UAAU,EAAE,YAAY,EAAsB,SAAS,EAA8B,MAAM,eAAe,CAAC;AAC1K,OAAO,EAAC,SAAS,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAC,cAAc,EAAE,uBAAuB,EAA8B,SAAS,EAAiB,eAAe,EAAC,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file":"virtualEditPopup.component.d.ts","sourceRoot":"","sources":["virtualEditPopup.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,kBAAkB,EAAE,cAAc,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAElF,OAAO,EAAC,gBAAgB,EAAE,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;;AAMvF;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"virtualEditPopup.component.d.ts","sourceRoot":"","sources":["virtualEditPopup.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAC,kBAAkB,EAAE,cAAc,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAElF,OAAO,EAAC,gBAAgB,EAAE,uBAAuB,EAAC,MAAM,8BAA8B,CAAC;;AAMvF;;GAEG;AACH,qBAQa,yBAA0B,SAAQ,kBAAmB,YAAW,gBAAgB,EAAE,cAAc,CAAC,uBAAuB,CAAC;IAIlI;;OAEG;IACH,SAAS,CAAC,SAAS,EAAE,MAAM,CAAK;IAUhC;;OAEG;IAEI,QAAQ,EAAE,wBAAwB,CAAC;IAI1C;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,eAAe,EAAE,CAGlD;IAIe,iBAAiB;IAOjC;;OAEG;cACgB,WAAW,IAAI,IAAI;IAsCtC,OAAO,CAAC,eAAe;yCAnFd,yBAAyB;2CAAzB,yBAAyB;CA4HrC"}
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anglr/select",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0-beta.20250127113535",
|
|
4
4
|
"description": "Angular component representing html select",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "ngc --declaration --declarationDir . --declarationMap
|
|
9
|
-
"dts:rollup": "npm run api -- api-extractor.json && npm run api -- elements/api-extractor.json && npm run api -- extensions/api-extractor.json && npm run api -- material/api-extractor.json",
|
|
8
|
+
"build": "ngc --declaration --declarationDir . --declarationMap",
|
|
10
9
|
"api": "api-extractor run --local --verbose -c",
|
|
11
|
-
"clean": "rimraf */temp temp
|
|
10
|
+
"clean": "rimraf --glob */temp temp es2022 **/tsdoc-metadata.json src/**/*.d.ts src/**/*.d.ts.map */src/**/*.d.ts */src/**/*.d.ts.map ./*.d.ts ./*.d.ts.map */*.d.ts",
|
|
12
11
|
"clean:deps": "rimraf package-lock.json node_modules || echo 'node_modules removed'",
|
|
13
12
|
"clean:all": "npm run clean && npm run clean:deps",
|
|
14
13
|
"ngc": "ngc",
|
|
15
|
-
"version:placeholder": "replace-in-file /\\\"version\\\":\\s\\\".*?\\\"/g \"\\\"version\\\": \\\"0.0.0-placeholder\\\"\" package.json
|
|
14
|
+
"version:placeholder": "replace-in-file /\\\"version\\\":\\s\\\".*?\\\"/g \"\\\"version\\\": \\\"0.0.0-placeholder\\\"\" package.json",
|
|
16
15
|
"version:git": "ngv -e \"replace-in-file 0.0.0-placeholder $GIT_VERSION package.json && echo $GIT_VERSION > version.bak\"",
|
|
17
16
|
"version:build": "ngv -e \"echo $GIT_VERSION > version.bak\"",
|
|
18
17
|
"prepublishOnly": "npm run bundle && npm run version:placeholder && npm run version:git",
|
|
@@ -44,8 +43,7 @@
|
|
|
44
43
|
"doc:api:material": "copyfiles -u 2 material/temp/select-material.api.md docs/content/api/ng-select-material && rimraf material/temp"
|
|
45
44
|
},
|
|
46
45
|
"engines": {
|
|
47
|
-
"node": "^
|
|
48
|
-
"npm": "^6.10.0"
|
|
46
|
+
"node": "^18.13.0 || >=20.9.0"
|
|
49
47
|
},
|
|
50
48
|
"repository": {
|
|
51
49
|
"type": "git",
|
|
@@ -62,91 +60,81 @@
|
|
|
62
60
|
"url": "https://github.com/ressurectit/ng-select/issues"
|
|
63
61
|
},
|
|
64
62
|
"homepage": "https://github.com/ressurectit/ng-select",
|
|
65
|
-
"
|
|
66
|
-
"@
|
|
67
|
-
"@angular/common": ">=
|
|
68
|
-
"@angular/
|
|
69
|
-
"@angular/
|
|
70
|
-
"@
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"tslib": "^2.4.1"
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"@anglr/common": ">=22.0.0",
|
|
65
|
+
"@angular/common": ">=19.1.0",
|
|
66
|
+
"@angular/core": ">=19.1.0",
|
|
67
|
+
"@angular/forms": ">=19.1.0",
|
|
68
|
+
"@jscrpt/common": ">=7.0.0",
|
|
69
|
+
"rxjs": ">=7.5.7",
|
|
70
|
+
"tslib": "^2.8.1"
|
|
71
|
+
},
|
|
72
|
+
"optionalDependencies": {
|
|
73
|
+
"@angular/cdk": ">=19.1.0",
|
|
74
|
+
"@angular/material": ">=19.1.0"
|
|
78
75
|
},
|
|
79
76
|
"devDependencies": {
|
|
80
|
-
"@
|
|
81
|
-
"@angular/
|
|
82
|
-
"@angular/
|
|
83
|
-
"@angular/
|
|
84
|
-
"@angular/
|
|
85
|
-
"@angular/
|
|
86
|
-
"@angular/
|
|
87
|
-
"@angular/
|
|
88
|
-
"
|
|
89
|
-
"@jscrpt/common": "
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@angular/compiler": "^15.0.4",
|
|
95
|
-
"@angular/language-service": "^15.0.4",
|
|
96
|
-
"@microsoft/api-extractor": "7.19.2",
|
|
97
|
-
"@microsoft/api-documenter": "7.13.77",
|
|
98
|
-
"tslib": "2.4.1",
|
|
99
|
-
"eslint": "7.32.0",
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
101
|
-
"@typescript-eslint/parser": "4.33.0",
|
|
102
|
-
"eslint-plugin-ressurectit": "0.1.0",
|
|
103
|
-
"rimraf": "3.0.2",
|
|
77
|
+
"@anglr/common": "22.0.0",
|
|
78
|
+
"@angular/cdk": "19.1.0",
|
|
79
|
+
"@angular/common": "19.1.0",
|
|
80
|
+
"@angular/compiler": "19.1.0",
|
|
81
|
+
"@angular/compiler-cli": "19.1.0",
|
|
82
|
+
"@angular/core": "19.1.0",
|
|
83
|
+
"@angular/forms": "19.1.0",
|
|
84
|
+
"@angular/language-service": "19.1.0",
|
|
85
|
+
"@angular/material": "19.1.0",
|
|
86
|
+
"@jscrpt/common": "7.0.0",
|
|
87
|
+
"@microsoft/api-documenter": "7.26.5",
|
|
88
|
+
"@microsoft/api-extractor": "7.49.1",
|
|
89
|
+
"@stylistic/eslint-plugin": "2.13.0",
|
|
90
|
+
"@types/node": "22.7.4",
|
|
104
91
|
"copyfiles": "2.4.1",
|
|
105
|
-
"
|
|
92
|
+
"eslint": "9.18.0",
|
|
93
|
+
"eslint-plugin-ressurectit": "0.3.0",
|
|
94
|
+
"npm-git-version": "2.0.0",
|
|
106
95
|
"path-exists-cli": "2.0.0",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
96
|
+
"replace-in-file": "8.3.0",
|
|
97
|
+
"rimraf": "6.0.1",
|
|
98
|
+
"rxjs": "7.5.7",
|
|
99
|
+
"tslib": "2.8.1",
|
|
100
|
+
"typescript": "5.7.3",
|
|
101
|
+
"typescript-eslint": "8.20.0"
|
|
109
102
|
},
|
|
110
|
-
"
|
|
111
|
-
"es2020": "./es2020/src/index.js",
|
|
112
|
-
"es2015": "./es2015/src/index.js",
|
|
113
|
-
"module": "./es2015/src/index.js",
|
|
103
|
+
"module": "./es2022/src/index.js",
|
|
114
104
|
"typings": "./src/index.d.ts",
|
|
115
105
|
"exports": {
|
|
116
106
|
"./package.json": {
|
|
117
107
|
"default": "./package.json"
|
|
118
108
|
},
|
|
109
|
+
"./styles": {
|
|
110
|
+
"sass": "./styles/index.scss"
|
|
111
|
+
},
|
|
112
|
+
"./styles/themes/*": {
|
|
113
|
+
"sass": "./styles/themes/*.scss"
|
|
114
|
+
},
|
|
115
|
+
"./typings/*": {
|
|
116
|
+
"types": "./typings/*/index.d.ts"
|
|
117
|
+
},
|
|
119
118
|
".": {
|
|
120
119
|
"types": "./src/index.d.ts",
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"default": "./es2020/src/index.js"
|
|
126
|
-
},
|
|
127
|
-
"./elements": {
|
|
128
|
-
"types": "./elements/src/index.d.ts",
|
|
129
|
-
"esm2020": "./es2020/elements/src/index.js",
|
|
130
|
-
"es2020": "./es2020/elements/src/index.js",
|
|
131
|
-
"es2015": "./es2015/elements/src/index.js",
|
|
132
|
-
"node": "./es2015/elements/src/index.js",
|
|
133
|
-
"default": "./es2020/elements/src/index.js"
|
|
120
|
+
"esm2022": "./es2022/src/index.js",
|
|
121
|
+
"es2022": "./es2022/src/index.js",
|
|
122
|
+
"node": "./es2022/src/index.js",
|
|
123
|
+
"default": "./es2022/src/index.js"
|
|
134
124
|
},
|
|
135
125
|
"./extensions": {
|
|
136
126
|
"types": "./extensions/src/index.d.ts",
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"default": "./es2020/extensions/src/index.js"
|
|
127
|
+
"esm2022": "./es2022/extensions/src/index.js",
|
|
128
|
+
"es2022": "./es2022/extensions/src/index.js",
|
|
129
|
+
"node": "./es2022/extensions/src/index.js",
|
|
130
|
+
"default": "./es2022/extensions/src/index.js"
|
|
142
131
|
},
|
|
143
132
|
"./material": {
|
|
144
133
|
"types": "./material/src/index.d.ts",
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"default": "./es2020/material/src/index.js"
|
|
134
|
+
"esm2022": "./es2022/material/src/index.js",
|
|
135
|
+
"es2022": "./es2022/material/src/index.js",
|
|
136
|
+
"node": "./es2022/material/src/index.js",
|
|
137
|
+
"default": "./es2022/material/src/index.js"
|
|
150
138
|
}
|
|
151
139
|
}
|
|
152
140
|
}
|
|
@@ -32,6 +32,6 @@ export declare class OptGroupComponent<TValue = any> implements NgSelectOptGroup
|
|
|
32
32
|
*/
|
|
33
33
|
ngAfterViewInit(): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptGroupComponent<any>, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptGroupComponent<any>, "ng-select>ng-optgroup", never, { "text": "text"; }, {}, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptGroupComponent<any>, "ng-select>ng-optgroup", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
36
|
}
|
|
37
37
|
//# sourceMappingURL=optgroup.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optgroup.component.d.ts","sourceRoot":"","sources":["optgroup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,YAAY,EAAE,SAAS,EAAgB,aAAa,EAAC,MAAM,eAAe,CAAC;AAE9H,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;;AAGlD;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"optgroup.component.d.ts","sourceRoot":"","sources":["optgroup.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,YAAY,EAAE,SAAS,EAAgB,aAAa,EAAC,MAAM,eAAe,CAAC;AAE9H,OAAO,EAAC,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;;AAGlD;;GAEG;AACH,qBAOa,iBAAiB,CAAC,MAAM,GAAG,GAAG,CAAE,YAAW,gBAAgB,CAAC,MAAM,CAAC,EAAE,aAAa;IAI3F;;OAEG;IACH,OAAO,CAAC,cAAc,CAAgD;IAItE;;OAEG;IACH,IAAW,OAAO,IAAI,cAAc,CAAC,MAAM,CAAC,EAAE,CAG7C;IAED;;OAEG;IACH,IAAW,aAAa,IAAI,YAAY,CAAC,IAAI,CAAC,CAG7C;IAID;;;OAGG;IAEI,eAAe,EAAE,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAI1D;;OAEG;IAEI,IAAI,EAAE,MAAM,CAAC;IAIpB;;OAEG;IACI,eAAe;yCAjDb,iBAAiB;2CAAjB,iBAAiB;CAwD7B"}
|
|
@@ -25,6 +25,6 @@ export declare class OptionComponent<TValue = any> implements NgSelectOption<TVa
|
|
|
25
25
|
*/
|
|
26
26
|
group: string;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent<any>, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "ng-option", never, { "value": "value"; "text": "text"; }, {}, never, never, false, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent<any>, "ng-option", never, { "value": { "alias": "value"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
29
|
}
|
|
30
30
|
//# sourceMappingURL=option.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option.component.d.ts","sourceRoot":"","sources":["option.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;;AAElD;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"option.component.d.ts","sourceRoot":"","sources":["option.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;;AAElD;;GAEG;AACH,qBAOa,eAAe,CAAC,MAAM,GAAG,GAAG,CAAE,YAAW,cAAc,CAAC,MAAM,CAAC;IAIxE;;OAEG;IACI,MAAM,EAAE,OAAO,CAAS;IAE/B;;OAEG;IACI,QAAQ,EAAE,OAAO,CAAS;IAIjC;;OAEG;IAEI,KAAK,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEI,IAAI,EAAE,MAAM,CAAC;IAIpB;;OAEG;IACI,KAAK,EAAE,MAAM,CAAQ;yCAjCnB,eAAe;2CAAf,eAAe;CAkC3B"}
|
|
@@ -251,6 +251,6 @@ export declare class NgSelectComponent<TValue = any> implements NgSelect<TValue>
|
|
|
251
251
|
*/
|
|
252
252
|
protected _registerNewPlugin(plugin: NgSelectPlugin, pluginKey: string, pluginName: keyof NgSelectPluginTypes): void;
|
|
253
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": "selectOptions"; "disabled": "disabled"; "readonly": "readonly"; }, {}, ["normalStateTemplate", "optionTemplate", "optionsChildren", "optGroupsChildren"], never, false, never>;
|
|
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>;
|
|
255
255
|
}
|
|
256
256
|
//# 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,E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EAAE,MAAM,GAAG,UAAU;IAKjF;;;;OAIG;IACI,QAAQ,CAAC,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,MAAM,eAAe,EAAE,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAAG,YAAY;IAK/G;;;OAGG;IACI,OAAO,CAAC,GAAG,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE;IAUnD;;;OAGG;IACI,gBAAgB,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,OAAO;IAYlF;;;OAGG;IACH,SAAS,CAAC,kBAAkB,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC;IAqCnD;;OAEG;IACH,SAAS,CAAC,qBAAqB;IAY/B;;;;;OAKG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,mBAAmB;yCA7qBpG,iBAAiB;2CAAjB,iBAAiB;CAosB7B"}
|
|
@@ -60,9 +60,9 @@ export interface NgSelect<TValue = any> extends OptionsGatherer<TValue>, Templat
|
|
|
60
60
|
/**
|
|
61
61
|
* Defintion of action that can be executed on NgSelect
|
|
62
62
|
*/
|
|
63
|
-
export
|
|
63
|
+
export type NgSelectAction<TValue = any> = (ngSelect: NgSelect<TValue>) => void;
|
|
64
64
|
/**
|
|
65
65
|
* Definition of function that can be executed on NgSelect and returns some data
|
|
66
66
|
*/
|
|
67
|
-
export
|
|
67
|
+
export type NgSelectFunction<TResult = any, TValue = any> = (ngSelect: NgSelect<TValue>) => TResult;
|
|
68
68
|
//# sourceMappingURL=select.interface.d.ts.map
|