@anglr/select 12.0.0 → 13.0.0-beta.20250127113535
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +16 -0
- package/es2022/extensions/src/extensions/reinitializeOptions.js.map +1 -0
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js +73 -0
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -0
- package/{es2020 → es2022}/material/src/directives/dialogPopup/dialogPopup.directive.js +9 -9
- package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -0
- package/{es2015 → es2022}/material/src/modules/dialogPopup.module.js +13 -13
- package/{es2015 → es2022}/material/src/modules/dialogPopup.module.js.map +1 -1
- package/{es2015 → es2022}/material/src/modules/virtualEditPopup.module.js +6 -6
- package/{es2015 → es2022}/material/src/modules/virtualEditPopup.module.js.map +1 -1
- package/{es2020 → es2022}/material/src/plugins/popup/dialog/dialogPopup.component.js +23 -22
- package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -0
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +89 -0
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -0
- package/{es2015 → es2022}/src/components/option/optgroup.component.js +4 -3
- package/es2022/src/components/option/optgroup.component.js.map +1 -0
- package/{es2020 → es2022}/src/components/option/option.component.js +4 -3
- package/es2022/src/components/option/option.component.js.map +1 -0
- package/{es2020 → es2022}/src/components/select/select.component.js +60 -59
- package/es2022/src/components/select/select.component.js.map +1 -0
- package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +25 -0
- package/{es2015 → es2022}/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +1 -1
- package/{es2015 → es2022}/src/directives/ngSelectEdit/ngSelectEdit.directive.js +28 -28
- package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +1 -0
- package/{es2015 → es2022}/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +9 -9
- package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +1 -0
- package/es2022/src/index.ssr.js.map +1 -0
- package/es2022/src/misc/extensions/setReadonly.js.map +1 -0
- package/{es2020 → es2022}/src/misc/ngSelectControlValueAccessor.directive.js +4 -4
- package/es2022/src/misc/ngSelectControlValueAccessor.directive.js.map +1 -0
- package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -0
- package/{es2020 → es2022}/src/misc/optionsGatherer/dynamicOptionsGatherer.js +12 -12
- package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -0
- package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -0
- package/{es2015 → es2022}/src/misc/pluginBus/pluginBus.js +3 -3
- package/{es2020 → es2022}/src/misc/pluginBus/pluginBus.js.map +1 -1
- package/{es2020 → es2022}/src/modules/ngSelect.module.js +39 -39
- package/{es2015 → es2022}/src/modules/ngSelect.module.js.map +1 -1
- package/es2022/src/modules/ngSelectDynamic.module.js +20 -0
- package/{es2015 → es2022}/src/modules/ngSelectDynamic.module.js.map +1 -1
- package/{es2020 → es2022}/src/modules/ngSelectEdit.module.js +16 -16
- package/es2022/src/modules/ngSelectEdit.module.js.map +1 -0
- package/{es2020 → es2022}/src/pipes/ngSelectHasValue.pipe.js +3 -3
- package/{es2015 → es2022}/src/pipes/ngSelectHasValue.pipe.js.map +1 -1
- package/{es2015 → es2022}/src/pipes/ngSelectValue.pipe.js +3 -3
- package/es2022/src/pipes/ngSelectValue.pipe.js.map +1 -0
- package/{es2015 → es2022}/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +24 -23
- package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +24 -23
- package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/liveSearch/basic/basicLiveSearch.component.js +24 -24
- package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/liveSearch/edit/editLiveSearch.component.js +31 -30
- package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/liveSearch/no/noLiveSearch.component.js +12 -11
- package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js.map +1 -0
- package/es2022/src/plugins/normalState/basic/basicNormalState.component.js +58 -0
- package/es2022/src/plugins/normalState/basic/basicNormalState.component.js.map +1 -0
- package/es2022/src/plugins/normalState/edit/editNormalState.component.js +88 -0
- package/es2022/src/plugins/normalState/edit/editNormalState.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/normalState/normalStateAbstract.component.js +15 -15
- package/es2022/src/plugins/normalState/normalStateAbstract.component.js.map +1 -0
- package/es2022/src/plugins/popup/basic/basicPopup.component.js +62 -0
- package/es2022/src/plugins/popup/basic/basicPopup.component.js.map +1 -0
- package/es2022/src/plugins/popup/edit/editPopup.component.js +85 -0
- package/es2022/src/plugins/popup/edit/editPopup.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/popup/popupAbstract.component.js +33 -32
- package/es2022/src/plugins/popup/popupAbstract.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/positioner/default/defaultPositioner.component.js +24 -23
- package/es2022/src/plugins/positioner/default/defaultPositioner.component.js.map +1 -0
- package/{es2015 → es2022}/src/plugins/positioner/no/noPositioner.component.js +17 -16
- package/es2022/src/plugins/positioner/no/noPositioner.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/valueHandler/basic/basicValueHandler.component.js +18 -16
- package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +18 -16
- package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +1 -0
- package/{es2020 → es2022}/src/plugins/valueHandler/valueHandlerBase.js +36 -36
- package/es2022/src/plugins/valueHandler/valueHandlerBase.js.map +1 -0
- package/extensions/package.json +3 -4
- package/material/package.json +3 -4
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts.map +1 -1
- package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts +1 -1
- package/material/src/modules/dialogPopup.module.d.ts +4 -4
- package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts.map +1 -1
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts.map +1 -1
- package/package.json +62 -74
- package/src/components/option/optgroup.component.d.ts +1 -1
- package/src/components/option/optgroup.component.d.ts.map +1 -1
- package/src/components/option/option.component.d.ts +1 -1
- package/src/components/option/option.component.d.ts.map +1 -1
- package/src/components/select/select.component.d.ts +1 -1
- package/src/components/select/select.component.d.ts.map +1 -1
- package/src/components/select/select.interface.d.ts +2 -2
- package/src/components/select/select.interface.d.ts.map +1 -1
- package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts +1 -1
- package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts +1 -1
- package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts +1 -1
- package/src/misc/ngSelectControlValueAccessor.directive.d.ts +1 -1
- package/src/modules/ngSelect.module.d.ts +16 -16
- package/src/modules/ngSelectEdit.module.d.ts +8 -8
- package/src/pipes/ngSelectHasValue.pipe.d.ts +1 -1
- package/src/pipes/ngSelectValue.pipe.d.ts +1 -1
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts.map +1 -1
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/normalState/basic/basicNormalState.component.d.ts.map +1 -1
- package/src/plugins/normalState/edit/editNormalState.component.d.ts.map +1 -1
- package/src/plugins/normalState/normalStateAbstract.component.d.ts +1 -1
- package/src/plugins/popup/basic/basicPopup.component.d.ts.map +1 -1
- package/src/plugins/popup/edit/editPopup.component.d.ts.map +1 -1
- package/src/plugins/popup/popupAbstract.component.d.ts +1 -1
- package/src/plugins/popup/popupAbstract.component.d.ts.map +1 -1
- package/src/plugins/positioner/default/defaultPositioner.component.d.ts +3 -3
- package/src/plugins/positioner/default/defaultPositioner.component.d.ts.map +1 -1
- package/src/plugins/positioner/no/noPositioner.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/valueHandlerBase.d.ts +1 -1
- package/src/plugins/valueHandler/valueHandlerBase.d.ts.map +1 -1
- package/version.bak +1 -1
- package/elements/package.json +0 -9
- package/elements/src/components/ngSelectElements.component.d.ts +0 -67
- package/elements/src/components/ngSelectElements.component.d.ts.map +0 -1
- package/elements/src/components/ngSelectElements.component.html +0 -16
- package/elements/src/components/ngSelectElements.interface.d.ts +0 -47
- package/elements/src/components/ngSelectElements.interface.d.ts.map +0 -1
- package/elements/src/index.d.ts +0 -4
- package/elements/src/index.d.ts.map +0 -1
- package/elements/src/modules/ngSelectElements.module.d.ts +0 -21
- package/elements/src/modules/ngSelectElements.module.d.ts.map +0 -1
- package/es2015/elements/src/components/ngSelectElements.component.js +0 -181
- package/es2015/elements/src/components/ngSelectElements.component.js.map +0 -1
- package/es2015/elements/src/components/ngSelectElements.interface.js +0 -2
- package/es2015/elements/src/components/ngSelectElements.interface.js.map +0 -1
- package/es2015/elements/src/index.js +0 -4
- package/es2015/elements/src/index.js.map +0 -1
- package/es2015/elements/src/modules/ngSelectElements.module.js +0 -50
- package/es2015/elements/src/modules/ngSelectElements.module.js.map +0 -1
- package/es2015/extensions/src/extensions/reinitializeOptions.js.map +0 -1
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -74
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +0 -1
- package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js +0 -75
- package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js.map +0 -1
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js +0 -143
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js.map +0 -1
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -92
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +0 -1
- package/es2015/src/components/option/optgroup.component.js.map +0 -1
- package/es2015/src/components/option/option.component.js +0 -38
- package/es2015/src/components/option/option.component.js.map +0 -1
- package/es2015/src/components/select/select.component.js +0 -599
- package/es2015/src/components/select/select.component.js.map +0 -1
- package/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -25
- package/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +0 -1
- package/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +0 -1
- package/es2015/src/index.ssr.js.map +0 -1
- package/es2015/src/misc/extensions/setReadonly.js.map +0 -1
- package/es2015/src/misc/ngSelectControlValueAccessor.directive.js +0 -163
- package/es2015/src/misc/ngSelectControlValueAccessor.directive.js.map +0 -1
- package/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js.map +0 -1
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js +0 -123
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +0 -1
- package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -111
- package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +0 -1
- package/es2015/src/misc/pluginBus/pluginBus.js.map +0 -1
- package/es2015/src/modules/ngSelect.module.js +0 -90
- package/es2015/src/modules/ngSelectDynamic.module.js +0 -20
- package/es2015/src/modules/ngSelectEdit.module.js +0 -51
- package/es2015/src/modules/ngSelectEdit.module.js.map +0 -1
- package/es2015/src/pipes/ngSelectHasValue.pipe.js +0 -23
- package/es2015/src/pipes/ngSelectValue.pipe.js.map +0 -1
- package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +0 -1
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -196
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +0 -1
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -169
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +0 -1
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -318
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +0 -1
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -64
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js.map +0 -1
- package/es2015/src/plugins/normalState/basic/basicNormalState.component.js +0 -58
- package/es2015/src/plugins/normalState/basic/basicNormalState.component.js.map +0 -1
- package/es2015/src/plugins/normalState/edit/editNormalState.component.js +0 -89
- package/es2015/src/plugins/normalState/edit/editNormalState.component.js.map +0 -1
- package/es2015/src/plugins/normalState/normalStateAbstract.component.js +0 -93
- package/es2015/src/plugins/normalState/normalStateAbstract.component.js.map +0 -1
- package/es2015/src/plugins/popup/basic/basicPopup.component.js +0 -62
- package/es2015/src/plugins/popup/basic/basicPopup.component.js.map +0 -1
- package/es2015/src/plugins/popup/edit/editPopup.component.js +0 -85
- package/es2015/src/plugins/popup/edit/editPopup.component.js.map +0 -1
- package/es2015/src/plugins/popup/popupAbstract.component.js +0 -203
- package/es2015/src/plugins/popup/popupAbstract.component.js.map +0 -1
- package/es2015/src/plugins/positioner/default/defaultPositioner.component.js +0 -158
- package/es2015/src/plugins/positioner/default/defaultPositioner.component.js.map +0 -1
- package/es2015/src/plugins/positioner/no/noPositioner.component.js.map +0 -1
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -157
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +0 -1
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -182
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +0 -1
- package/es2015/src/plugins/valueHandler/valueHandlerBase.js +0 -150
- package/es2015/src/plugins/valueHandler/valueHandlerBase.js.map +0 -1
- package/es2020/elements/src/components/ngSelectElements.component.js +0 -181
- package/es2020/elements/src/components/ngSelectElements.component.js.map +0 -1
- package/es2020/elements/src/components/ngSelectElements.interface.js +0 -2
- package/es2020/elements/src/components/ngSelectElements.interface.js.map +0 -1
- package/es2020/elements/src/index.js +0 -4
- package/es2020/elements/src/index.js.map +0 -1
- package/es2020/elements/src/modules/ngSelectElements.module.js +0 -50
- package/es2020/elements/src/modules/ngSelectElements.module.js.map +0 -1
- package/es2020/extensions/src/extensions/getValue.js +0 -2
- package/es2020/extensions/src/extensions/getValue.js.map +0 -1
- package/es2020/extensions/src/extensions/onFocus.js +0 -2
- package/es2020/extensions/src/extensions/onFocus.js.map +0 -1
- package/es2020/extensions/src/extensions/patchOptions.js +0 -12
- package/es2020/extensions/src/extensions/patchOptions.js.map +0 -1
- package/es2020/extensions/src/extensions/reinitializeOptions.js +0 -15
- package/es2020/extensions/src/extensions/reinitializeOptions.js.map +0 -1
- package/es2020/extensions/src/extensions/setReadonly.js +0 -2
- package/es2020/extensions/src/extensions/setReadonly.js.map +0 -1
- package/es2020/extensions/src/extensions/setValue.js +0 -2
- package/es2020/extensions/src/extensions/setValue.js.map +0 -1
- package/es2020/extensions/src/extensions/valueChange.js +0 -2
- package/es2020/extensions/src/extensions/valueChange.js.map +0 -1
- package/es2020/extensions/src/index.js +0 -8
- package/es2020/extensions/src/index.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -73
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -2
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/index.js +0 -2
- package/es2020/material/src/components/basicDialogPopup/index.js.map +0 -1
- package/es2020/material/src/components/basicDialogPopup/types.js +0 -2
- package/es2020/material/src/components/basicDialogPopup/types.js.map +0 -1
- package/es2020/material/src/directives/dialogPopup/dialogPopup.directive.js.map +0 -1
- package/es2020/material/src/directives/types.js +0 -2
- package/es2020/material/src/directives/types.js.map +0 -1
- package/es2020/material/src/index.js +0 -8
- package/es2020/material/src/index.js.map +0 -1
- package/es2020/material/src/modules/dialogPopup.module.js +0 -41
- package/es2020/material/src/modules/dialogPopup.module.js.map +0 -1
- package/es2020/material/src/modules/virtualEditPopup.module.js +0 -31
- package/es2020/material/src/modules/virtualEditPopup.module.js.map +0 -1
- package/es2020/material/src/plugins/popup/components.js +0 -3
- package/es2020/material/src/plugins/popup/components.js.map +0 -1
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.component.js.map +0 -1
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -2
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +0 -1
- package/es2020/material/src/plugins/popup/index.js +0 -3
- package/es2020/material/src/plugins/popup/index.js.map +0 -1
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -89
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +0 -1
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -2
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +0 -1
- package/es2020/src/components/option/index.js +0 -3
- package/es2020/src/components/option/index.js.map +0 -1
- package/es2020/src/components/option/optgroup.component.js +0 -53
- package/es2020/src/components/option/optgroup.component.js.map +0 -1
- package/es2020/src/components/option/optgroup.interface.js +0 -2
- package/es2020/src/components/option/optgroup.interface.js.map +0 -1
- package/es2020/src/components/option/option.component.js.map +0 -1
- package/es2020/src/components/option/option.interface.js +0 -2
- package/es2020/src/components/option/option.interface.js.map +0 -1
- package/es2020/src/components/select/index.js +0 -2
- package/es2020/src/components/select/index.js.map +0 -1
- package/es2020/src/components/select/select.component.js.map +0 -1
- package/es2020/src/components/select/select.interface.js +0 -2
- package/es2020/src/components/select/select.interface.js.map +0 -1
- package/es2020/src/components/select/types.js +0 -6
- package/es2020/src/components/select/types.js.map +0 -1
- package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -25
- package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +0 -1
- package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -66
- package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +0 -1
- package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -42
- package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +0 -1
- package/es2020/src/index.js +0 -42
- package/es2020/src/index.js.map +0 -1
- package/es2020/src/index.ssr.js +0 -10
- package/es2020/src/index.ssr.js.map +0 -1
- package/es2020/src/misc/extensions/getValue.js +0 -12
- package/es2020/src/misc/extensions/getValue.js.map +0 -1
- package/es2020/src/misc/extensions/index.js +0 -6
- package/es2020/src/misc/extensions/index.js.map +0 -1
- package/es2020/src/misc/extensions/onFocus.js +0 -10
- package/es2020/src/misc/extensions/onFocus.js.map +0 -1
- package/es2020/src/misc/extensions/setReadonly.js +0 -18
- package/es2020/src/misc/extensions/setReadonly.js.map +0 -1
- package/es2020/src/misc/extensions/setValue.js +0 -13
- package/es2020/src/misc/extensions/setValue.js.map +0 -1
- package/es2020/src/misc/extensions/valueChange.js +0 -12
- package/es2020/src/misc/extensions/valueChange.js.map +0 -1
- package/es2020/src/misc/index.js +0 -6
- package/es2020/src/misc/index.js.map +0 -1
- package/es2020/src/misc/ngSelectControlValueAccessor.directive.js.map +0 -1
- package/es2020/src/misc/ngSelectOptions.interface.js +0 -2
- package/es2020/src/misc/ngSelectOptions.interface.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -83
- package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -2
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -2
- package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js.map +0 -1
- package/es2020/src/misc/optionsGatherer/types.js +0 -4
- package/es2020/src/misc/optionsGatherer/types.js.map +0 -1
- package/es2020/src/misc/plugin.interface.js +0 -2
- package/es2020/src/misc/plugin.interface.js.map +0 -1
- package/es2020/src/misc/pluginBus/pluginBus.interface.js +0 -2
- package/es2020/src/misc/pluginBus/pluginBus.interface.js.map +0 -1
- package/es2020/src/misc/pluginBus/pluginBus.js +0 -44
- package/es2020/src/misc/templateGatherer.interface.js +0 -2
- package/es2020/src/misc/templateGatherer.interface.js.map +0 -1
- package/es2020/src/misc/types.js +0 -34
- package/es2020/src/misc/types.js.map +0 -1
- package/es2020/src/modules/ngSelect.module.js.map +0 -1
- package/es2020/src/modules/ngSelectDynamic.module.js +0 -20
- package/es2020/src/modules/ngSelectDynamic.module.js.map +0 -1
- package/es2020/src/modules/ngSelectEdit.module.js.map +0 -1
- package/es2020/src/pipes/ngSelectHasValue.pipe.js.map +0 -1
- package/es2020/src/pipes/ngSelectValue.pipe.js +0 -31
- package/es2020/src/pipes/ngSelectValue.pipe.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -145
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -2
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/components.js +0 -3
- package/es2020/src/plugins/keyboardHandler/components.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -2
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/index.js +0 -4
- package/es2020/src/plugins/keyboardHandler/index.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -2
- package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +0 -1
- package/es2020/src/plugins/keyboardHandler/types.js +0 -10
- package/es2020/src/plugins/keyboardHandler/types.js.map +0 -1
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +0 -1
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/components.js +0 -4
- package/es2020/src/plugins/liveSearch/components.js.map +0 -1
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +0 -1
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/index.js +0 -5
- package/es2020/src/plugins/liveSearch/index.js.map +0 -1
- package/es2020/src/plugins/liveSearch/liveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/liveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.component.js.map +0 -1
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -2
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +0 -1
- package/es2020/src/plugins/liveSearch/types.js +0 -10
- package/es2020/src/plugins/liveSearch/types.js.map +0 -1
- package/es2020/src/plugins/normalState/basic/basicNormalState.component.js +0 -58
- package/es2020/src/plugins/normalState/basic/basicNormalState.component.js.map +0 -1
- package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js +0 -2
- package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js.map +0 -1
- package/es2020/src/plugins/normalState/components.js +0 -4
- package/es2020/src/plugins/normalState/components.js.map +0 -1
- package/es2020/src/plugins/normalState/edit/editNormalState.component.js +0 -88
- package/es2020/src/plugins/normalState/edit/editNormalState.component.js.map +0 -1
- package/es2020/src/plugins/normalState/edit/editNormalState.interface.js +0 -2
- package/es2020/src/plugins/normalState/edit/editNormalState.interface.js.map +0 -1
- package/es2020/src/plugins/normalState/index.js +0 -4
- package/es2020/src/plugins/normalState/index.js.map +0 -1
- package/es2020/src/plugins/normalState/normalState.interface.js +0 -2
- package/es2020/src/plugins/normalState/normalState.interface.js.map +0 -1
- package/es2020/src/plugins/normalState/normalStateAbstract.component.js.map +0 -1
- package/es2020/src/plugins/normalState/types.js +0 -10
- package/es2020/src/plugins/normalState/types.js.map +0 -1
- package/es2020/src/plugins/popup/basic/basicPopup.component.js +0 -62
- package/es2020/src/plugins/popup/basic/basicPopup.component.js.map +0 -1
- package/es2020/src/plugins/popup/basic/basicPopup.interface.js +0 -2
- package/es2020/src/plugins/popup/basic/basicPopup.interface.js.map +0 -1
- package/es2020/src/plugins/popup/component.js +0 -4
- package/es2020/src/plugins/popup/component.js.map +0 -1
- package/es2020/src/plugins/popup/edit/editPopup.component.js +0 -85
- package/es2020/src/plugins/popup/edit/editPopup.component.js.map +0 -1
- package/es2020/src/plugins/popup/edit/editPopup.interface.js +0 -2
- package/es2020/src/plugins/popup/edit/editPopup.interface.js.map +0 -1
- package/es2020/src/plugins/popup/index.js +0 -4
- package/es2020/src/plugins/popup/index.js.map +0 -1
- package/es2020/src/plugins/popup/popup.interface.js +0 -2
- package/es2020/src/plugins/popup/popup.interface.js.map +0 -1
- package/es2020/src/plugins/popup/popupAbstract.component.js.map +0 -1
- package/es2020/src/plugins/popup/types.js +0 -10
- package/es2020/src/plugins/popup/types.js.map +0 -1
- package/es2020/src/plugins/positioner/components.js +0 -3
- package/es2020/src/plugins/positioner/components.js.map +0 -1
- package/es2020/src/plugins/positioner/default/defaultPositioner.component.js.map +0 -1
- package/es2020/src/plugins/positioner/default/defaultPositioner.interface.js +0 -2
- package/es2020/src/plugins/positioner/default/defaultPositioner.interface.js.map +0 -1
- package/es2020/src/plugins/positioner/index.js +0 -4
- package/es2020/src/plugins/positioner/index.js.map +0 -1
- package/es2020/src/plugins/positioner/no/noPositioner.component.js +0 -77
- package/es2020/src/plugins/positioner/no/noPositioner.component.js.map +0 -1
- package/es2020/src/plugins/positioner/no/noPositioner.interface.js +0 -2
- package/es2020/src/plugins/positioner/no/noPositioner.interface.js.map +0 -1
- package/es2020/src/plugins/positioner/positioner.interface.js +0 -2
- package/es2020/src/plugins/positioner/positioner.interface.js.map +0 -1
- package/es2020/src/plugins/positioner/types.js +0 -10
- package/es2020/src/plugins/positioner/types.js.map +0 -1
- package/es2020/src/plugins/readonlyState/index.js +0 -2
- package/es2020/src/plugins/readonlyState/index.js.map +0 -1
- package/es2020/src/plugins/readonlyState/readonlyState.interface.js +0 -2
- package/es2020/src/plugins/readonlyState/readonlyState.interface.js.map +0 -1
- package/es2020/src/plugins/readonlyState/types.js +0 -10
- package/es2020/src/plugins/readonlyState/types.js.map +0 -1
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +0 -1
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -2
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +0 -1
- package/es2020/src/plugins/valueHandler/components.js +0 -3
- package/es2020/src/plugins/valueHandler/components.js.map +0 -1
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +0 -1
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -2
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +0 -1
- package/es2020/src/plugins/valueHandler/index.js +0 -5
- package/es2020/src/plugins/valueHandler/index.js.map +0 -1
- package/es2020/src/plugins/valueHandler/types.js +0 -10
- package/es2020/src/plugins/valueHandler/types.js.map +0 -1
- package/es2020/src/plugins/valueHandler/valueHandler.interface.js +0 -2
- package/es2020/src/plugins/valueHandler/valueHandler.interface.js.map +0 -1
- package/es2020/src/plugins/valueHandler/valueHandlerBase.js.map +0 -1
- /package/{es2015 → es2022}/extensions/src/extensions/getValue.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/getValue.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/onFocus.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/onFocus.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/patchOptions.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/patchOptions.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/reinitializeOptions.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setReadonly.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setReadonly.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setValue.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/setValue.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/valueChange.js +0 -0
- /package/{es2015 → es2022}/extensions/src/extensions/valueChange.js.map +0 -0
- /package/{es2015 → es2022}/extensions/src/index.js +0 -0
- /package/{es2015 → es2022}/extensions/src/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/index.js +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/types.js +0 -0
- /package/{es2015 → es2022}/material/src/components/basicDialogPopup/types.js.map +0 -0
- /package/{es2015 → es2022}/material/src/directives/types.js +0 -0
- /package/{es2015 → es2022}/material/src/directives/types.js.map +0 -0
- /package/{es2015 → es2022}/material/src/index.js +0 -0
- /package/{es2015 → es2022}/material/src/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/components.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/components.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/index.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/index.js.map +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -0
- /package/{es2015 → es2022}/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/option/index.js +0 -0
- /package/{es2015 → es2022}/src/components/option/index.js.map +0 -0
- /package/{es2015 → es2022}/src/components/option/optgroup.interface.js +0 -0
- /package/{es2015 → es2022}/src/components/option/optgroup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/option/option.interface.js +0 -0
- /package/{es2015 → es2022}/src/components/option/option.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/select/index.js +0 -0
- /package/{es2015 → es2022}/src/components/select/index.js.map +0 -0
- /package/{es2015 → es2022}/src/components/select/select.interface.js +0 -0
- /package/{es2015 → es2022}/src/components/select/select.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/components/select/types.js +0 -0
- /package/{es2015 → es2022}/src/components/select/types.js.map +0 -0
- /package/{es2015 → es2022}/src/index.js +0 -0
- /package/{es2015 → es2022}/src/index.js.map +0 -0
- /package/{es2015 → es2022}/src/index.ssr.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/getValue.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/getValue.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/index.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/index.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/onFocus.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/onFocus.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/setReadonly.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/setValue.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/setValue.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/valueChange.js +0 -0
- /package/{es2015 → es2022}/src/misc/extensions/valueChange.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/index.js +0 -0
- /package/{es2015 → es2022}/src/misc/index.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/ngSelectOptions.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/ngSelectOptions.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +0 -0
- /package/{es2020 → es2022}/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/optionsGatherer.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/types.js +0 -0
- /package/{es2015 → es2022}/src/misc/optionsGatherer/types.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/plugin.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/plugin.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/pluginBus/pluginBus.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/pluginBus/pluginBus.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/templateGatherer.interface.js +0 -0
- /package/{es2015 → es2022}/src/misc/templateGatherer.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/misc/types.js +0 -0
- /package/{es2015 → es2022}/src/misc/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/keyboardHandler/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/liveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/liveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/liveSearch/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/basic/basicNormalState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/basic/basicNormalState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/edit/editNormalState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/edit/editNormalState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/normalState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/normalState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/normalState/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/basic/basicPopup.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/basic/basicPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/component.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/component.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/edit/editPopup.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/edit/editPopup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/popup.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/popup.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/popup/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/default/defaultPositioner.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/default/defaultPositioner.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/no/noPositioner.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/no/noPositioner.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/positioner.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/positioner.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/positioner/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/readonlyState.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/readonlyState.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/readonlyState/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/components.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/components.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/index.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/index.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/types.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/types.js.map +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/valueHandler.interface.js +0 -0
- /package/{es2015 → es2022}/src/plugins/valueHandler/valueHandler.interface.js.map +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { NgModule, Injector } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
4
|
-
import { createCustomElement } from '@angular/elements';
|
|
5
|
-
import { CommonDynamicModule } from '@anglr/common';
|
|
6
|
-
import { NgSelectModule, OptionComponent } from '@anglr/select';
|
|
7
|
-
import { NgSelectElementsComponent } from '../components/ngSelectElements.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Represents module for WebComponent NgSelect
|
|
11
|
-
*/
|
|
12
|
-
export class NgSelectElementsModule {
|
|
13
|
-
//######################### constructor #########################
|
|
14
|
-
constructor(injector) {
|
|
15
|
-
const ngOption = createCustomElement(OptionComponent, { injector });
|
|
16
|
-
customElements.define('ng-option', ngOption);
|
|
17
|
-
const ngSelect = createCustomElement(NgSelectElementsComponent, { injector });
|
|
18
|
-
customElements.define('ng-select', ngSelect);
|
|
19
|
-
}
|
|
20
|
-
//######################### public methods - implementation of DoBootstrap #########################
|
|
21
|
-
/**
|
|
22
|
-
* Called during bootstrapping of module
|
|
23
|
-
*/
|
|
24
|
-
ngDoBootstrap() {
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
NgSelectElementsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectElementsModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
-
NgSelectElementsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: NgSelectElementsModule, declarations: [NgSelectElementsComponent], imports: [BrowserModule,
|
|
29
|
-
CommonModule,
|
|
30
|
-
CommonDynamicModule,
|
|
31
|
-
NgSelectModule] });
|
|
32
|
-
NgSelectElementsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectElementsModule, imports: [BrowserModule,
|
|
33
|
-
CommonModule,
|
|
34
|
-
CommonDynamicModule,
|
|
35
|
-
NgSelectModule] });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectElementsModule, decorators: [{
|
|
37
|
-
type: NgModule,
|
|
38
|
-
args: [{
|
|
39
|
-
imports: [
|
|
40
|
-
BrowserModule,
|
|
41
|
-
CommonModule,
|
|
42
|
-
CommonDynamicModule,
|
|
43
|
-
NgSelectModule,
|
|
44
|
-
],
|
|
45
|
-
declarations: [
|
|
46
|
-
NgSelectElementsComponent
|
|
47
|
-
]
|
|
48
|
-
}]
|
|
49
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
50
|
-
//# sourceMappingURL=ngSelectElements.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngSelectElements.module.js","sourceRoot":"","sources":["../../../../elements/src/modules/ngSelectElements.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAe,QAAQ,EAAC,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,aAAa,EAAC,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAE9D,OAAO,EAAC,yBAAyB,EAAC,MAAM,0CAA0C,CAAC;;AAEnF;;GAEG;AAeH,MAAM,OAAO,sBAAsB;IAE/B,iEAAiE;IACjE,YAAY,QAAkB;QAE1B,MAAM,QAAQ,GAAG,mBAAmB,CAAC,eAAe,EAAE,EAAC,QAAQ,EAAC,CAAC,CAAC;QAClE,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QAE7C,MAAM,QAAQ,GAAG,mBAAmB,CAAC,yBAAyB,EAAE,EAAC,QAAQ,EAAC,CAAC,CAAC;QAC5E,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;IACjD,CAAC;IAED,oGAAoG;IAEpG;;OAEG;IACI,aAAa;IAEpB,CAAC;;mHAnBQ,sBAAsB;oHAAtB,sBAAsB,iBAH3B,yBAAyB,aAPzB,aAAa;QACb,YAAY;QACZ,mBAAmB;QACnB,cAAc;oHAOT,sBAAsB,YAV3B,aAAa;QACb,YAAY;QACZ,mBAAmB;QACnB,cAAc;2FAOT,sBAAsB;kBAdlC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,aAAa;wBACb,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;qBACjB;oBACD,YAAY,EACZ;wBACI,yBAAyB;qBAC5B;iBACJ","sourcesContent":["import {NgModule, DoBootstrap, Injector} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {BrowserModule} from '@angular/platform-browser';\nimport {createCustomElement} from '@angular/elements';\nimport {CommonDynamicModule} from '@anglr/common';\nimport {NgSelectModule, OptionComponent} from '@anglr/select';\n\nimport {NgSelectElementsComponent} from '../components/ngSelectElements.component';\n\n/**\n * Represents module for WebComponent NgSelect\n */\n@NgModule(\n{\n imports:\n [\n BrowserModule,\n CommonModule,\n CommonDynamicModule,\n NgSelectModule,\n ],\n declarations:\n [\n NgSelectElementsComponent\n ]\n})\nexport class NgSelectElementsModule implements DoBootstrap\n{\n //######################### constructor #########################\n constructor(injector: Injector) \n {\n const ngOption = createCustomElement(OptionComponent, {injector});\n customElements.define('ng-option', ngOption);\n\n const ngSelect = createCustomElement(NgSelectElementsComponent, {injector});\n customElements.define('ng-select', ngSelect);\n }\n\n //######################### public methods - implementation of DoBootstrap #########################\n \n /**\n * Called during bootstrapping of module\n */\n public ngDoBootstrap()\n {\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getValue.js","sourceRoot":"","sources":["../../../../extensions/src/extensions/getValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,IAAI,QAAQ,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {ɵGetValue as getValue} from '@anglr/select';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onFocus.js","sourceRoot":"","sources":["../../../../extensions/src/extensions/onFocus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,IAAI,OAAO,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {ɵOnFocus as onFocus} from '@anglr/select';"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Method used to patch options without full initialization of NgSelect, only options are initialized
|
|
3
|
-
* @param options - Options to be used as patch
|
|
4
|
-
*/
|
|
5
|
-
export function patchOptions(options) {
|
|
6
|
-
return ngSelect => {
|
|
7
|
-
ngSelect.selectOptions = options;
|
|
8
|
-
ngSelect.initOptions();
|
|
9
|
-
ngSelect.invalidateVisuals();
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=patchOptions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patchOptions.js","sourceRoot":"","sources":["../../../../extensions/src/extensions/patchOptions.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,UAAU,YAAY,CAAe,OAAgC;IAEvE,OAAO,QAAQ,CAAC,EAAE;QAEd,QAAQ,CAAC,aAAa,GAAG,OAAO,CAAC;QAEjC,QAAQ,CAAC,WAAW,EAAE,CAAC;QACvB,QAAQ,CAAC,iBAAiB,EAAE,CAAC;IACjC,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {NgSelectAction, NgSelectOptions} from '@anglr/select';\n\n/**\n * Method used to patch options without full initialization of NgSelect, only options are initialized\n * @param options - Options to be used as patch\n */\nexport function patchOptions<TValue = any>(options: NgSelectOptions<TValue>): NgSelectAction<TValue>\n{\n return ngSelect =>\n {\n ngSelect.selectOptions = options;\n\n ngSelect.initOptions();\n ngSelect.invalidateVisuals();\n };\n}"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Method reinitialize options for NgSelect
|
|
3
|
-
* @param options - Options to be used for reinitialization
|
|
4
|
-
*/
|
|
5
|
-
export function reinitializeOptions(options) {
|
|
6
|
-
return ngSelect => {
|
|
7
|
-
if (options) {
|
|
8
|
-
ngSelect.selectOptions = options;
|
|
9
|
-
}
|
|
10
|
-
ngSelect.initOptions();
|
|
11
|
-
ngSelect.invalidateVisuals();
|
|
12
|
-
ngSelect.initialize();
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=reinitializeOptions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reinitializeOptions.js","sourceRoot":"","sources":["../../../../extensions/src/extensions/reinitializeOptions.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,UAAU,mBAAmB,CAAe,OAAiC;IAE/E,OAAO,QAAQ,CAAC,EAAE;QAEd,IAAG,OAAO,EACV;YACI,QAAQ,CAAC,aAAa,GAAG,OAAO,CAAC;SACpC;QAED,QAAQ,CAAC,WAAW,EAAE,CAAC;QACvB,QAAQ,CAAC,iBAAiB,EAAE,CAAC;QAC7B,QAAQ,CAAC,UAAU,EAAE,CAAC;IAC1B,CAAC,CAAC;AACN,CAAC","sourcesContent":["import {NgSelectAction, NgSelectOptions} from '@anglr/select';\n\n/**\n * Method reinitialize options for NgSelect\n * @param options - Options to be used for reinitialization\n */\nexport function reinitializeOptions<TValue = any>(options?: NgSelectOptions<TValue>): NgSelectAction<TValue>\n{\n return ngSelect =>\n {\n if(options)\n {\n ngSelect.selectOptions = options;\n }\n\n ngSelect.initOptions();\n ngSelect.invalidateVisuals();\n ngSelect.initialize();\n };\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setReadonly.js","sourceRoot":"","sources":["../../../../extensions/src/extensions/setReadonly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {ɵSetReadonly as setReadonly} from '@anglr/select';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setValue.js","sourceRoot":"","sources":["../../../../extensions/src/extensions/setValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,IAAI,QAAQ,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {ɵSetValue as setValue} from '@anglr/select';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valueChange.js","sourceRoot":"","sources":["../../../../extensions/src/extensions/valueChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC","sourcesContent":["export {ɵValueChange as valueChange} from '@anglr/select';"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './extensions/getValue';
|
|
2
|
-
export * from './extensions/onFocus';
|
|
3
|
-
export * from './extensions/reinitializeOptions';
|
|
4
|
-
export * from './extensions/setReadonly';
|
|
5
|
-
export * from './extensions/setValue';
|
|
6
|
-
export * from './extensions/valueChange';
|
|
7
|
-
export * from './extensions/patchOptions';
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './extensions/getValue';\nexport * from './extensions/onFocus';\nexport * from './extensions/reinitializeOptions';\nexport * from './extensions/setReadonly';\nexport * from './extensions/setValue';\nexport * from './extensions/valueChange';\nexport * from './extensions/patchOptions';"]}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { Component, ChangeDetectionStrategy, Inject, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { extend } from '@jscrpt/common';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/material/dialog";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
/**
|
|
8
|
-
* Default options for popup
|
|
9
|
-
* @internal
|
|
10
|
-
*/
|
|
11
|
-
const defaultOptions = {
|
|
12
|
-
cssClasses: {
|
|
13
|
-
optionChecked: 'fa fa-check',
|
|
14
|
-
optionItemDiv: 'option-item',
|
|
15
|
-
optionItemTextDiv: 'option-item-text'
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Basic dialog popup
|
|
20
|
-
*/
|
|
21
|
-
export class BasicDialogPopupComponent {
|
|
22
|
-
//######################### constructor #########################
|
|
23
|
-
constructor(dialog, _changeDetector, data) {
|
|
24
|
-
this.dialog = dialog;
|
|
25
|
-
this._changeDetector = _changeDetector;
|
|
26
|
-
this.data = data;
|
|
27
|
-
this.options = extend(true, {}, defaultOptions, data.options);
|
|
28
|
-
}
|
|
29
|
-
//######################### public methods - implementation of OnInit #########################
|
|
30
|
-
/**
|
|
31
|
-
* Initialize component
|
|
32
|
-
*/
|
|
33
|
-
ngOnInit() {
|
|
34
|
-
if (this._optionsGatherer && this._optionsGatherer != this.data.pluginBus.selectOptions.optionsGatherer) {
|
|
35
|
-
this._optionsChangeSubscription.unsubscribe();
|
|
36
|
-
this._optionsChangeSubscription = null;
|
|
37
|
-
this._optionsGatherer = null;
|
|
38
|
-
}
|
|
39
|
-
if (!this._optionsGatherer) {
|
|
40
|
-
this._optionsGatherer = this.data.pluginBus.selectOptions.optionsGatherer;
|
|
41
|
-
this.selectOptions = this._optionsGatherer.availableOptions;
|
|
42
|
-
this._optionsChangeSubscription = this._optionsGatherer.availableOptionsChange.subscribe(() => {
|
|
43
|
-
this.selectOptions = this._optionsGatherer.availableOptions;
|
|
44
|
-
this._changeDetector.detectChanges();
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
//######################### public methods - implementation of OnDestroy #########################
|
|
49
|
-
/**
|
|
50
|
-
* Called when component is destroyed
|
|
51
|
-
*/
|
|
52
|
-
ngOnDestroy() {
|
|
53
|
-
this._optionsChangeSubscription?.unsubscribe();
|
|
54
|
-
this._optionsChangeSubscription = null;
|
|
55
|
-
}
|
|
56
|
-
//######################### public methods #########################
|
|
57
|
-
/**
|
|
58
|
-
* Explicitly runs invalidation of content (change detection)
|
|
59
|
-
*/
|
|
60
|
-
invalidateVisuals() {
|
|
61
|
-
this._changeDetector.detectChanges();
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
BasicDialogPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BasicDialogPopupComponent, deps: [{ token: i1.MatDialogRef }, { token: i0.ChangeDetectorRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
-
BasicDialogPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: BasicDialogPopupComponent, selector: "ng-select-basic-dialog-popup", ngImport: i0, template: " \r\n<ng-template #defaultOptionTextLook let-option>{{option?.text}}</ng-template>\r\n\r\n<div *ngFor=\"let option of selectOptions\"\r\n [ngClass]=\"options?.cssClasses?.optionItemDiv\"\r\n [class.selected]=\"option?.selected\"\r\n (click)=\"data?.pluginBus?.optionSelect?.emit(option)\">\r\n <div [ngClass]=\"options?.cssClasses?.optionItemTextDiv\">\r\n <ng-container *ngTemplateOutlet=\"data?.pluginBus?.selectOptions?.templateGatherer?.optionTemplate || defaultOptionTextLook; context: {$implicit: option, popup: this}\"></ng-container>\r\n </div>\r\n\r\n <div *ngIf=\"option?.selected && data?.pluginBus?.selectOptions?.multiple\" [ngClass]=\"options?.cssClasses?.optionChecked\"></div>\r\n</div>", styles: [".option-item\r\n{\r\n padding: 3px 12px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.option-item .option-item-text\r\n{\r\n min-width: 0;\r\n flex: 1;\r\n white-space: nowrap;\r\n}\r\n\r\n.option-item .option-item-text:hover\r\n{\r\n cursor: pointer;\r\n}\r\n\r\n.option-item .fa-check\r\n{\r\n margin-left: 8px;\r\n}\r\n\r\n.option-item.selected,\r\n.option-item.active\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n}\r\n\r\n.option-item:hover\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n cursor: pointer;\r\n}"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
66
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BasicDialogPopupComponent, decorators: [{
|
|
67
|
-
type: Component,
|
|
68
|
-
args: [{ selector: 'ng-select-basic-dialog-popup', changeDetection: ChangeDetectionStrategy.OnPush, template: " \r\n<ng-template #defaultOptionTextLook let-option>{{option?.text}}</ng-template>\r\n\r\n<div *ngFor=\"let option of selectOptions\"\r\n [ngClass]=\"options?.cssClasses?.optionItemDiv\"\r\n [class.selected]=\"option?.selected\"\r\n (click)=\"data?.pluginBus?.optionSelect?.emit(option)\">\r\n <div [ngClass]=\"options?.cssClasses?.optionItemTextDiv\">\r\n <ng-container *ngTemplateOutlet=\"data?.pluginBus?.selectOptions?.templateGatherer?.optionTemplate || defaultOptionTextLook; context: {$implicit: option, popup: this}\"></ng-container>\r\n </div>\r\n\r\n <div *ngIf=\"option?.selected && data?.pluginBus?.selectOptions?.multiple\" [ngClass]=\"options?.cssClasses?.optionChecked\"></div>\r\n</div>", styles: [".option-item\r\n{\r\n padding: 3px 12px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.option-item .option-item-text\r\n{\r\n min-width: 0;\r\n flex: 1;\r\n white-space: nowrap;\r\n}\r\n\r\n.option-item .option-item-text:hover\r\n{\r\n cursor: pointer;\r\n}\r\n\r\n.option-item .fa-check\r\n{\r\n margin-left: 8px;\r\n}\r\n\r\n.option-item.selected,\r\n.option-item.active\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n}\r\n\r\n.option-item:hover\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n cursor: pointer;\r\n}"] }]
|
|
69
|
-
}], ctorParameters: function () { return [{ type: i1.MatDialogRef }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
70
|
-
type: Inject,
|
|
71
|
-
args: [MAT_DIALOG_DATA]
|
|
72
|
-
}] }]; } });
|
|
73
|
-
//# sourceMappingURL=basicDialogPopup.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basicDialogPopup.component.js","sourceRoot":"","sources":["../../../../../material/src/components/basicDialogPopup/basicDialogPopup.component.ts","../../../../../material/src/components/basicDialogPopup/basicDialogPopup.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAqB,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAC/G,OAAO,EAAC,eAAe,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;;;;AAMtC;;;GAGG;AACH,MAAM,cAAc,GACpB;IACI,UAAU,EACV;QACI,aAAa,EAAE,aAAa;QAC5B,aAAa,EAAE,aAAa;QAC5B,iBAAiB,EAAE,kBAAkB;KACxC;CACJ,CAAC;AAEF;;GAEG;AAQH,MAAM,OAAO,yBAAyB;IA0BlC,iEAAiE;IACjE,YAAmB,MAAuD,EACpD,eAAkC,EACZ,IAA2F;QAFpH,WAAM,GAAN,MAAM,CAAiD;QACpD,oBAAe,GAAf,eAAe,CAAmB;QACZ,SAAI,GAAJ,IAAI,CAAuF;QAEnI,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,+FAA+F;IAE/F;;OAEG;IACI,QAAQ;QAEX,IAAG,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,eAAe,EACtG;YACI,IAAI,CAAC,0BAA0B,CAAC,WAAW,EAAE,CAAC;YAC9C,IAAI,CAAC,0BAA0B,GAAG,IAAI,CAAC;YAEvC,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;QAED,IAAG,CAAC,IAAI,CAAC,gBAAgB,EACzB;YACI,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,eAAe,CAAC;YAC1E,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC;YAE5D,IAAI,CAAC,0BAA0B,GAAG,IAAI,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,SAAS,CAAC,GAAG,EAAE;gBAE1F,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC;gBAC5D,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,CAAC;YACzC,CAAC,CAAC,CAAC;SACN;IACL,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW;QAEd,IAAI,CAAC,0BAA0B,EAAE,WAAW,EAAE,CAAC;QAC/C,IAAI,CAAC,0BAA0B,GAAG,IAAI,CAAC;IAC3C,CAAC;IAED,oEAAoE;IAEpE;;OAEG;IACI,iBAAiB;QAEpB,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,CAAC;IACzC,CAAC;;sHAjFQ,yBAAyB,+EA6Bd,eAAe;0GA7B1B,yBAAyB,oECjCtC,6tBAYM;2FDqBO,yBAAyB;kBAPrC,SAAS;+BAEI,8BAA8B,mBAGvB,uBAAuB,CAAC,MAAM;;0BA+BlC,MAAM;2BAAC,eAAe","sourcesContent":["import {Component, ChangeDetectionStrategy, Inject, OnDestroy, OnInit, ChangeDetectorRef} from '@angular/core';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {OptionsGatherer, ɵNgSelectOption} from '@anglr/select';\nimport {extend} from '@jscrpt/common';\nimport {Subscription} from 'rxjs';\n\nimport {DialogPopupComponentData, DialogPopupContentComponent} from '../../plugins/popup/dialog/dialogPopup.interface';\nimport {BasicDialogPopupOptions, CssClassesBasicDialogPopup} from './basicDialogPopup.interface';\n\n/**\n * Default options for popup\n * @internal\n */\nconst defaultOptions: BasicDialogPopupOptions =\n{\n cssClasses:\n {\n optionChecked: 'fa fa-check',\n optionItemDiv: 'option-item',\n optionItemTextDiv: 'option-item-text'\n }\n};\n\n/**\n * Basic dialog popup\n */\n@Component(\n{\n selector: 'ng-select-basic-dialog-popup',\n templateUrl: 'basicDialogPopup.component.html',\n styleUrls: ['basicDialogPopup.component.css'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class BasicDialogPopupComponent<TValue = any> implements DialogPopupContentComponent<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>, OnInit, OnDestroy\n{\n //######################### protected properties #########################\n\n /**\n * Subscription for available options change\n */\n protected _optionsChangeSubscription: Subscription;\n\n /**\n * Instance of options gatherer, that is used for obtaining available options\n */\n protected _optionsGatherer: OptionsGatherer<TValue>;\n\n //######################### public properties - template bindings #########################\n\n /**\n * Options for NgSelect plugin\n */\n public options: BasicDialogPopupOptions;\n\n /**\n * Array of provided options for select\n */\n public selectOptions: ɵNgSelectOption<TValue>[];\n\n //######################### constructor #########################\n constructor(public dialog: MatDialogRef<BasicDialogPopupComponent<TValue>>,\n protected _changeDetector: ChangeDetectorRef,\n @Inject(MAT_DIALOG_DATA) public data: DialogPopupComponentData<BasicDialogPopupOptions, TValue, CssClassesBasicDialogPopup>)\n {\n this.options = extend(true, {}, defaultOptions, data.options);\n }\n\n //######################### public methods - implementation of OnInit #########################\n \n /**\n * Initialize component\n */\n public ngOnInit()\n {\n if(this._optionsGatherer && this._optionsGatherer != this.data.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.data.pluginBus.selectOptions.optionsGatherer;\n this.selectOptions = this._optionsGatherer.availableOptions;\n\n this._optionsChangeSubscription = this._optionsGatherer.availableOptionsChange.subscribe(() =>\n {\n this.selectOptions = this._optionsGatherer.availableOptions;\n this._changeDetector.detectChanges();\n });\n }\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy()\n {\n this._optionsChangeSubscription?.unsubscribe();\n this._optionsChangeSubscription = null;\n }\n\n //######################### public methods #########################\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n public invalidateVisuals(): void\n {\n this._changeDetector.detectChanges();\n }\n}"," \r\n<ng-template #defaultOptionTextLook let-option>{{option?.text}}</ng-template>\r\n\r\n<div *ngFor=\"let option of selectOptions\"\r\n [ngClass]=\"options?.cssClasses?.optionItemDiv\"\r\n [class.selected]=\"option?.selected\"\r\n (click)=\"data?.pluginBus?.optionSelect?.emit(option)\">\r\n <div [ngClass]=\"options?.cssClasses?.optionItemTextDiv\">\r\n <ng-container *ngTemplateOutlet=\"data?.pluginBus?.selectOptions?.templateGatherer?.optionTemplate || defaultOptionTextLook; context: {$implicit: option, popup: this}\"></ng-container>\r\n </div>\r\n\r\n <div *ngIf=\"option?.selected && data?.pluginBus?.selectOptions?.multiple\" [ngClass]=\"options?.cssClasses?.optionChecked\"></div>\r\n</div>"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basicDialogPopup.interface.js","sourceRoot":"","sources":["../../../../../material/src/components/basicDialogPopup/basicDialogPopup.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {VisualPluginOptions} from '@anglr/select';\n\n/**\n * Css classes for basic dialog popup\n */\nexport interface CssClassesBasicDialogPopup\n{\n /**\n * Css class applied to each option div\n */\n optionItemDiv?: string;\n\n /**\n * Css class applied to each option text div\n */\n optionItemTextDiv?: string;\n\n /**\n * Css class used as icons indicating that option is selected (only when multiple)\n */\n optionChecked?: string;\n}\n\n/**\n * Basic dialog popup options\n */\nexport interface BasicDialogPopupOptions extends VisualPluginOptions<CssClassesBasicDialogPopup>\n{\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../material/src/components/basicDialogPopup/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './basicDialogPopup.interface';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../material/src/components/basicDialogPopup/types.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './basicDialogPopup.component';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialogPopup.directive.js","sourceRoot":"","sources":["../../../../../material/src/directives/dialogPopup/dialogPopup.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAiB,KAAK,EAA2B,MAAM,eAAe,CAAC;AAExF,OAAO,EAAC,UAAU,EAAE,iBAAiB,EAAsB,MAAM,eAAe,CAAC;AACjF,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAEtC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;;;AAGpE;;GAEG;AAaH,MAAM,OAAO,oBAAoB;IAgB7B,iEAAiE;IACjE,YAAsB,OAA0B;QAA1B,YAAO,GAAP,OAAO,CAAmB;QAfhD,gFAAgF;QAEhF;;WAEG;QAEI,cAAS,GAA+C,IAAI,CAAC;QAEpE;;WAEG;QAEI,uBAAkB,GAAwB,IAAI,CAAC;IAKtD,CAAC;IAED,kGAAkG;IAElG;;OAEG;IACI,WAAW,CAAC,OAAsB;QAErC,MAAM,OAAO,GAAuB,EAAE,CAAC;QACvC,IAAI,OAAO,GAAG,KAAK,CAAC;QAEpB,IAAG,MAAM,CAAuB,WAAW,CAAC,IAAI,OAAO,IAAI,IAAI,CAAC,SAAS,EACzE;YACI,OAAO,GAAG,IAAI,CAAC;YAEf,OAAO,CAAC,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QAED,IAAG,MAAM,CAAuB,oBAAoB,CAAC,IAAI,OAAO,EAChE;YACI,OAAO,GAAG,IAAI,CAAC;YAEf,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC,kBAAkB,CAAC;SACnD;QAED,IAAG,OAAO,EACV;YACI,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CACjC;gBACI,OAAO,EACP;oBACI,KAAK,EACL;wBACI,OAAO,EAAE,OAAO;qBACnB;iBACJ;aACJ,CAAC,CAAC,CAAC;SACP;IACL,CAAC;;iHA1DQ,oBAAoB;qGAApB,oBAAoB,gJAR7B;QAEI;YACI,OAAO,EAAE,UAAU;YACnB,QAAQ,EAAE,oBAAoB;SACjC;KACJ;2FAEQ,oBAAoB;kBAZhC,SAAS;mBACV;oBACI,QAAQ,EAAE,wBAAwB;oBAClC,SAAS,EACT;wBAEI;4BACI,OAAO,EAAE,UAAU;4BACnB,QAAQ,EAAE,oBAAoB;yBACjC;qBACJ;iBACJ;wGASU,SAAS;sBADf,KAAK;uBAAC,aAAa;gBAOb,kBAAkB;sBADxB,KAAK","sourcesContent":["import {Directive, ValueProvider, Input, SimpleChanges, OnChanges} from '@angular/core';\nimport {ComponentType} from '@angular/cdk/portal';\nimport {POPUP_TYPE, NgSelectComponent, VisualPluginOptions} from '@anglr/select';\nimport {patchOptions} from '@anglr/select/extensions';\nimport {nameof} from '@jscrpt/common';\n\nimport {DialogPopupComponent} from '../../plugins/popup/components';\nimport {DialogPopupContentComponent, DialogPopupOptions} from '../../plugins/popup';\n\n/**\n * Directive that changes ng select popup to DialogPopup\n */\n@Directive(\n{\n selector: 'ng-select[dialogPopup]',\n providers:\n [\n <ValueProvider>\n {\n provide: POPUP_TYPE,\n useValue: DialogPopupComponent\n }\n ]\n})\nexport class DialogPopupDirective implements OnChanges\n{\n //######################### public properties - inputs #########################\n\n /**\n * Popup type that will be used\n */\n @Input('dialogPopup')\n public popupType: ComponentType<DialogPopupContentComponent> = null;\n\n /**\n * Dialog popup options\n */\n @Input()\n public dialogPopupOptions: VisualPluginOptions = null;\n\n //######################### constructor #########################\n constructor(protected _select: NgSelectComponent)\n {\n }\n\n //######################### public methods - implementation of OnChanges #########################\n \n /**\n * Called when input value changes\n */\n public ngOnChanges(changes: SimpleChanges): void\n {\n const options: DialogPopupOptions = {};\n let changed = false;\n\n if(nameof<DialogPopupDirective>('popupType') in changes && this.popupType)\n {\n changed = true;\n\n options.dialogComponent = this.popupType;\n }\n\n if(nameof<DialogPopupDirective>('dialogPopupOptions') in changes)\n {\n changed = true;\n\n options.dialogOptions = this.dialogPopupOptions;\n }\n\n if(changed)\n {\n this._select.execute(patchOptions(\n {\n plugins:\n {\n popup:\n {\n options: options\n }\n }\n }));\n }\n }\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../material/src/directives/types.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC","sourcesContent":["export * from './dialogPopup/dialogPopup.directive';"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './modules/dialogPopup.module';
|
|
2
|
-
export * from './modules/virtualEditPopup.module';
|
|
3
|
-
export * from './components/basicDialogPopup/types';
|
|
4
|
-
export * from './plugins/popup/components';
|
|
5
|
-
export * from './plugins/popup';
|
|
6
|
-
export * from './components/basicDialogPopup';
|
|
7
|
-
export * from './directives/types';
|
|
8
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../material/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC","sourcesContent":["export * from './modules/dialogPopup.module';\nexport * from './modules/virtualEditPopup.module';\nexport * from './components/basicDialogPopup/types';\nexport * from './plugins/popup/components';\nexport * from './plugins/popup';\nexport * from './components/basicDialogPopup';\nexport * from './directives/types';"]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { MatDialogModule } from '@angular/material/dialog';
|
|
4
|
-
import { BasicDialogPopupComponent } from '../components/basicDialogPopup/types';
|
|
5
|
-
import { DialogPopupComponent } from '../plugins/popup/dialog/dialogPopup.component';
|
|
6
|
-
import { DialogPopupDirective } from '../directives/types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Module allows using of angular material dialog for select popup
|
|
10
|
-
*/
|
|
11
|
-
export class NgSelectDialogPopupModule {
|
|
12
|
-
}
|
|
13
|
-
NgSelectDialogPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectDialogPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14
|
-
NgSelectDialogPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: NgSelectDialogPopupModule, declarations: [DialogPopupComponent,
|
|
15
|
-
BasicDialogPopupComponent,
|
|
16
|
-
DialogPopupDirective], imports: [CommonModule,
|
|
17
|
-
MatDialogModule], exports: [DialogPopupComponent,
|
|
18
|
-
BasicDialogPopupComponent,
|
|
19
|
-
DialogPopupDirective] });
|
|
20
|
-
NgSelectDialogPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectDialogPopupModule, imports: [CommonModule,
|
|
21
|
-
MatDialogModule] });
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgSelectDialogPopupModule, decorators: [{
|
|
23
|
-
type: NgModule,
|
|
24
|
-
args: [{
|
|
25
|
-
imports: [
|
|
26
|
-
CommonModule,
|
|
27
|
-
MatDialogModule
|
|
28
|
-
],
|
|
29
|
-
declarations: [
|
|
30
|
-
DialogPopupComponent,
|
|
31
|
-
BasicDialogPopupComponent,
|
|
32
|
-
DialogPopupDirective
|
|
33
|
-
],
|
|
34
|
-
exports: [
|
|
35
|
-
DialogPopupComponent,
|
|
36
|
-
BasicDialogPopupComponent,
|
|
37
|
-
DialogPopupDirective
|
|
38
|
-
]
|
|
39
|
-
}]
|
|
40
|
-
}] });
|
|
41
|
-
//# sourceMappingURL=dialogPopup.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialogPopup.module.js","sourceRoot":"","sources":["../../../../material/src/modules/dialogPopup.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEzD,OAAO,EAAC,yBAAyB,EAAC,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAC,oBAAoB,EAAC,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAC,oBAAoB,EAAC,MAAM,qBAAqB,CAAC;;AAEzD;;GAEG;AAqBH,MAAM,OAAO,yBAAyB;;sHAAzB,yBAAyB;uHAAzB,yBAAyB,iBAX9B,oBAAoB;QACpB,yBAAyB;QACzB,oBAAoB,aAPpB,YAAY;QACZ,eAAe,aAUf,oBAAoB;QACpB,yBAAyB;QACzB,oBAAoB;uHAGf,yBAAyB,YAhB9B,YAAY;QACZ,eAAe;2FAeV,yBAAyB;kBApBrC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,eAAe;qBAClB;oBACD,YAAY,EACZ;wBACI,oBAAoB;wBACpB,yBAAyB;wBACzB,oBAAoB;qBACvB;oBACD,OAAO,EACP;wBACI,oBAAoB;wBACpB,yBAAyB;wBACzB,oBAAoB;qBACvB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {MatDialogModule} from '@angular/material/dialog';\n\nimport {BasicDialogPopupComponent} from '../components/basicDialogPopup/types';\nimport {DialogPopupComponent} from '../plugins/popup/dialog/dialogPopup.component';\nimport {DialogPopupDirective} from '../directives/types';\n\n/**\n * Module allows using of angular material dialog for select popup\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n MatDialogModule\n ],\n declarations:\n [\n DialogPopupComponent,\n BasicDialogPopupComponent,\n DialogPopupDirective\n ],\n exports:\n [\n DialogPopupComponent,\n BasicDialogPopupComponent,\n DialogPopupDirective\n ]\n})\nexport class NgSelectDialogPopupModule\n{\n}"]}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ScrollingModule } from '@angular/cdk/scrolling';
|
|
4
|
-
import { VirtualEditPopupComponent } from '../plugins/popup/virtualEdit/virtualEditPopup.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Module for VirtualEditPopup components, can also by used for non edit version
|
|
8
|
-
*/
|
|
9
|
-
export class VirtualEditPopupModule {
|
|
10
|
-
}
|
|
11
|
-
VirtualEditPopupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: VirtualEditPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
12
|
-
VirtualEditPopupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: VirtualEditPopupModule, declarations: [VirtualEditPopupComponent], imports: [CommonModule,
|
|
13
|
-
ScrollingModule], exports: [VirtualEditPopupComponent] });
|
|
14
|
-
VirtualEditPopupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: VirtualEditPopupModule, imports: [CommonModule,
|
|
15
|
-
ScrollingModule] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: VirtualEditPopupModule, decorators: [{
|
|
17
|
-
type: NgModule,
|
|
18
|
-
args: [{
|
|
19
|
-
imports: [
|
|
20
|
-
CommonModule,
|
|
21
|
-
ScrollingModule
|
|
22
|
-
],
|
|
23
|
-
declarations: [
|
|
24
|
-
VirtualEditPopupComponent
|
|
25
|
-
],
|
|
26
|
-
exports: [
|
|
27
|
-
VirtualEditPopupComponent
|
|
28
|
-
]
|
|
29
|
-
}]
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=virtualEditPopup.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"virtualEditPopup.module.js","sourceRoot":"","sources":["../../../../material/src/modules/virtualEditPopup.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAC,yBAAyB,EAAC,MAAM,yDAAyD,CAAC;;AAElG;;GAEG;AAiBH,MAAM,OAAO,sBAAsB;;mHAAtB,sBAAsB;oHAAtB,sBAAsB,iBAP3B,yBAAyB,aALzB,YAAY;QACZ,eAAe,aAQf,yBAAyB;oHAGpB,sBAAsB,YAZ3B,YAAY;QACZ,eAAe;2FAWV,sBAAsB;kBAhBlC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,eAAe;qBAClB;oBACD,YAAY,EACZ;wBACI,yBAAyB;qBAC5B;oBACD,OAAO,EACP;wBACI,yBAAyB;qBAC5B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {ScrollingModule} from '@angular/cdk/scrolling';\n\nimport {VirtualEditPopupComponent} from '../plugins/popup/virtualEdit/virtualEditPopup.component';\n\n/**\n * Module for VirtualEditPopup components, can also by used for non edit version\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n ScrollingModule\n ],\n declarations:\n [\n VirtualEditPopupComponent\n ],\n exports:\n [\n VirtualEditPopupComponent\n ]\n})\nexport class VirtualEditPopupModule\n{\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../../../material/src/plugins/popup/components.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0CAA0C,CAAC","sourcesContent":["export * from './dialog/dialogPopup.component';\nexport * from './virtualEdit/virtualEditPopup.component';"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialogPopup.component.js","sourceRoot":"","sources":["../../../../../../material/src/plugins/popup/dialog/dialogPopup.component.ts"],"names":[],"mappings":"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","sourcesContent":["import {ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, forwardRef, Inject, OnDestroy, Optional, resolveForwardRef} from '@angular/core';\nimport {MatDialog, MatDialogRef} from '@angular/material/dialog';\nimport {ComponentType} from '@angular/cdk/portal';\nimport {NgSelectPlugin, NgSelectPluginInstances, NG_SELECT_PLUGIN_INSTANCES, PluginBus, POPUP_OPTIONS, ɵNgSelectOption} from '@anglr/select';\nimport {extend} from '@jscrpt/common';\nimport {Subscription} from 'rxjs';\n\nimport {BasicDialogPopupComponent} from '../../../components/basicDialogPopup/basicDialogPopup.component';\nimport {DialogPopup, DialogPopupContentComponent, DialogPopupOptions, DialogPopupComponentData} from './dialogPopup.interface';\n\n/**\n * Default options for popup\n * @internal\n */\nconst defaultOptions: DialogPopupOptions =\n{\n dialogComponent: forwardRef(() => BasicDialogPopupComponent),\n dialogOptions: {},\n cssClasses:\n {\n dialogDiv: 'popup-div'\n },\n visible: false\n};\n\n/**\n * Component used for rendering basic popup with options\n */\n@Component(\n{\n selector: 'div.ng-select-dialog-popup',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DialogPopupComponent<TComponent extends DialogPopupContentComponent<TDialogOptions, TValue, TCssClasses> = any, TValue = any, TDialogOptions = any, TCssClasses = any> implements DialogPopup, NgSelectPlugin<DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>, TValue>, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Options for NgSelect plugin\n */\n protected _options: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>;\n\n /**\n * Subscription for toggle popup event\n */\n protected _popupToggleSubscription: Subscription;\n\n /**\n * Subscription for popup visibility change request\n */\n protected _visibilityRequestSubscription: Subscription;\n\n /**\n * Component that is used for handling metadata selection itself\n */\n protected _dialogComponent?: ComponentType<TComponent>;\n\n /**\n * Popup dialog reference\n */\n protected _dialogRef?: MatDialogRef<TComponent>;\n\n //######################### public properties - implementation of BasicPopup #########################\n\n /**\n * Options for NgSelect plugin\n */\n public get options(): DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>\n {\n return this._options;\n }\n public set options(options: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>)\n {\n this._options = extend(true, this._options, options);\n }\n\n /**\n * Occurs when visibility of popup has changed\n */\n public visibilityChange: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Html element that represents popup itself\n */\n public get popupElement(): HTMLElement\n {\n return null;\n }\n\n //######################### public properties - template bindings #########################\n\n /**\n * Array of select options available\n * @internal\n */\n public selectOptions: ɵNgSelectOption[];\n\n //######################### constructor #########################\n constructor(@Inject(NG_SELECT_PLUGIN_INSTANCES) @Optional() public ngSelectPlugins: NgSelectPluginInstances,\n @Optional() public pluginBus: PluginBus<TValue>,\n public pluginElement: ElementRef,\n protected _dialog: MatDialog,\n protected _changeDetector: ChangeDetectorRef,\n @Inject(POPUP_OPTIONS) @Optional() options?: DialogPopupOptions<TComponent, TDialogOptions, TValue, TCssClasses>)\n {\n this._options = extend(true, {}, defaultOptions, options);\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n\n /**\n * Called when component is destroyed\n */\n public ngOnDestroy()\n {\n this._popupToggleSubscription?.unsubscribe();\n this._popupToggleSubscription = null;\n\n this._visibilityRequestSubscription?.unsubscribe();\n this._visibilityRequestSubscription = null;\n }\n\n //######################### public methods - implementation of BasicPopup #########################\n\n /**\n * Initialize plugin, to be ready to use, initialize communication with other plugins\n */\n public initialize()\n {\n this._dialogComponent = resolveForwardRef(this.options.dialogComponent);\n\n if(!this._popupToggleSubscription)\n {\n this._popupToggleSubscription = this.pluginBus.togglePopup.subscribe(() => this.toggleDialog());\n }\n\n if(!this._visibilityRequestSubscription)\n {\n this._visibilityRequestSubscription = this.pluginBus.showHidePopup.subscribe(this._handleDialog);\n }\n\n if (this.options.visible)\n {\n this._handleDialog(true);\n }\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 this._changeDetector.detectChanges();\n this._dialogRef?.componentInstance?.invalidateVisuals();\n }\n\n /**\n * Toggles dialog visibility\n */\n protected toggleDialog()\n {\n this._handleDialog(true);\n }\n\n /**\n * Handles dialog visibility change\n */\n protected _handleDialog = (visible: boolean) =>\n {\n if (visible)\n {\n this._dialogRef = this._dialog.open<TComponent, DialogPopupComponentData<TDialogOptions, TValue, TCssClasses>>(this._dialogComponent,\n {\n panelClass: this.options?.cssClasses?.dialogDiv,\n data:\n {\n ngSelectPlugins: this.ngSelectPlugins,\n options: this.options.dialogOptions,\n pluginBus: this.pluginBus\n }\n });\n }\n else\n {\n this._dialogRef?.close();\n this._dialogRef = null;\n }\n };\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dialogPopup.interface.js","sourceRoot":"","sources":["../../../../../../material/src/plugins/popup/dialog/dialogPopup.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {ComponentType} from '@angular/cdk/portal';\nimport {Popup, PopupOptions, NgSelectPluginInstances, PluginBus, VisualPluginOptions} from '@anglr/select';\n\n/**\n * Css classes for dialog popup\n */\nexport interface CssClassesDialogPopup\n{\n /**\n * Css class applied directly to dialog\n */\n dialogDiv?: string;\n}\n\n/**\n * Dialog popup options\n */\nexport interface DialogPopupOptions<TComponent extends DialogPopupContentComponent<TOptions, TValue, TCssClasses> = any, TOptions = any, TValue = any, TCssClasses = any> extends PopupOptions<CssClassesDialogPopup>\n{\n /**\n * Component that is used to show popup content in dialog\n */\n dialogComponent?: ComponentType<TComponent>;\n\n /**\n * Options passed to dialog component\n */\n dialogOptions?: TOptions;\n}\n\n/**\n * Public API for 'DialogPopupComponent'\n */\nexport interface DialogPopup extends Popup\n{\n}\n\n/**\n * Data that are passed to component that displays popup\n */\nexport interface DialogPopupComponentData<TOptions extends VisualPluginOptions<TCssClasses> = any, TValue = any, TCssClasses = any>\n{\n /**\n * NgSelect plugin instances available for this plugin\n */\n ngSelectPlugins: NgSelectPluginInstances;\n\n /**\n * Plugin bus used in select\n */\n pluginBus: PluginBus<TValue>;\n\n /**\n * Dialogs popup options\n */\n options: TOptions;\n}\n\n/**\n * Component that is rendered within dialog and represents popup\n */\nexport interface DialogPopupContentComponent<TOptions = any, TValue = any, TCssClasses = any>\n{\n /**\n * Data that are used for communication with Popup\n */\n data: DialogPopupComponentData<TOptions, TValue, TCssClasses>;\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n invalidateVisuals(): void;\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../material/src/plugins/popup/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0CAA0C,CAAC","sourcesContent":["export * from './dialog/dialogPopup.interface';\nexport * from './virtualEdit/virtualEditPopup.interface';"]}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewChild } from '@angular/core';
|
|
2
|
-
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
3
|
-
import { EditPopupComponent } from '@anglr/select';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@angular/cdk/scrolling";
|
|
7
|
-
//TODO - resize and scroll
|
|
8
|
-
//TODO - too few items and height
|
|
9
|
-
//TODO - dynamic width update and collision with viewport
|
|
10
|
-
/**
|
|
11
|
-
* Component used for rendering virtual edit popup with options
|
|
12
|
-
*/
|
|
13
|
-
export class VirtualEditPopupComponent extends EditPopupComponent {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
//######################### protected properties #########################
|
|
17
|
-
/**
|
|
18
|
-
* Currently stored max width of displayed popup
|
|
19
|
-
*/
|
|
20
|
-
this._maxWidth = 0;
|
|
21
|
-
}
|
|
22
|
-
//######################### protected properties #########################
|
|
23
|
-
/**
|
|
24
|
-
* Gets currently available options
|
|
25
|
-
*/
|
|
26
|
-
get availableOptions() {
|
|
27
|
-
return this.pluginBus.selectOptions.optionsGatherer.availableOptions;
|
|
28
|
-
}
|
|
29
|
-
//######################### public properties #########################
|
|
30
|
-
invalidateVisuals() {
|
|
31
|
-
super.invalidateVisuals();
|
|
32
|
-
this._scrollToOption();
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Toggles popup visibility
|
|
36
|
-
*/
|
|
37
|
-
togglePopup() {
|
|
38
|
-
super.togglePopup();
|
|
39
|
-
if (this.viewPort) {
|
|
40
|
-
this.viewPort.elementScrolled().subscribe(() => {
|
|
41
|
-
const viewportElement = this.viewPort?.getElementRef().nativeElement;
|
|
42
|
-
if (viewportElement) {
|
|
43
|
-
const width = viewportElement.children.item(0).clientWidth;
|
|
44
|
-
if (width > this._maxWidth) {
|
|
45
|
-
this._maxWidth = width;
|
|
46
|
-
viewportElement.style.width = `${viewportElement.children.item(0).clientWidth}px`;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
const viewportElement = this.viewPort?.getElementRef().nativeElement;
|
|
52
|
-
viewportElement.style.width = `${viewportElement.children.item(0).clientWidth}px`;
|
|
53
|
-
}, 0);
|
|
54
|
-
this.viewPort.getElementRef().nativeElement.style.height = this.popupElement.style.maxHeight;
|
|
55
|
-
this.viewPort.checkViewportSize();
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
this._maxWidth = 0;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
_scrollToOption() {
|
|
62
|
-
const activeOption = this.availableOptions.find(itm => itm.active);
|
|
63
|
-
const index = activeOption ? this.availableOptions.indexOf(activeOption) : 0;
|
|
64
|
-
this.viewPort?.scrollToIndex(index);
|
|
65
|
-
// if (index === 0)
|
|
66
|
-
// {
|
|
67
|
-
// // scrollTop = 0;
|
|
68
|
-
// }
|
|
69
|
-
// else
|
|
70
|
-
// {
|
|
71
|
-
// // scrollTop = this._getOptionScrollPosition(this.viewPort.elementRef.nativeElement?.scrollTop);
|
|
72
|
-
// }
|
|
73
|
-
// console.log(scrollTop);
|
|
74
|
-
// if (this.popupElement)
|
|
75
|
-
// {
|
|
76
|
-
// this.viewPort.elementRef.nativeElement.scrollTop = scrollTop;
|
|
77
|
-
// }
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
VirtualEditPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: VirtualEditPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
81
|
-
VirtualEditPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: VirtualEditPopupComponent, selector: "div.ng-select-virtual-edit-popup", viewQueries: [{ propertyName: "viewPort", first: true, predicate: CdkVirtualScrollViewport, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-template #defaultOptionTextLook let-option>{{option?.text}}</ng-template>\r\n\r\n<div #popupDiv \r\n *ngIf=\"options?.visible\"\r\n [ngClass]=\"options?.cssClasses?.popupDiv\">\r\n\r\n <cdk-virtual-scroll-viewport itemSize=\"28\" class=\"thin-scrollbar\">\r\n <div *cdkVirtualFor=\"let option of selectOptions\"\r\n #popupOptions\r\n [ngClass]=\"options?.cssClasses?.optionItemDiv\"\r\n [class.active]=\"option?.active\"\r\n [class.selected]=\"option?.selected\"\r\n (mouseenter)=\"handleMouseActivation(option)\"\r\n (click)=\"pluginBus?.optionSelect?.emit(option)\">\r\n <div [ngClass]=\"options?.cssClasses?.optionItemTextDiv\">\r\n <ng-container *ngTemplateOutlet=\"pluginBus?.selectOptions?.templateGatherer?.optionTemplate || defaultOptionTextLook; context: {$implicit: option, popup: this}\"></ng-container>\r\n </div>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n \r\n <div *ngIf=\"!selectOptions?.length\">{{texts?.noAvailableOptions}}</div>\r\n</div>", styles: [".popup-div\r\n{\r\n position: absolute;\r\n z-index: 1000;\r\n background-color: #FFFFFF;\r\n border-radius: 4px;\r\n border: 1px solid #BBBBBB;\r\n overflow: hidden;\r\n padding: 5px 0;\r\n box-shadow: 0 6px 12px rgba(0,0,0,.175);\r\n scrollbar-width: thin;\r\n}\r\n\r\ncdk-virtual-scroll-viewport\r\n{\r\n height: 290px;\r\n transition: width 200ms;\r\n}\r\n\r\n.popup-div::-webkit-scrollbar-thumb \r\n{\r\n background-color: #cdcdcd;\r\n}\r\n\r\n.popup-div::-webkit-scrollbar \r\n{\r\n width: 6px;\r\n background-color: #f0f0f0;\r\n}\r\n\r\n.option-item\r\n{\r\n padding: 3px 12px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.option-item .option-item-text\r\n{\r\n min-width: 0;\r\n flex: 1;\r\n white-space: nowrap;\r\n}\r\n\r\n.option-item .option-item-text:hover\r\n{\r\n cursor: pointer;\r\n}\r\n\r\n.option-item .fa-check\r\n{\r\n margin-left: 8px;\r\n}\r\n\r\n.option-item.selected,\r\n.option-item.active\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n}\r\n\r\n.option-item:hover\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n cursor: pointer;\r\n}"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "directive", type: i2.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: VirtualEditPopupComponent, decorators: [{
|
|
83
|
-
type: Component,
|
|
84
|
-
args: [{ selector: 'div.ng-select-virtual-edit-popup', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #defaultOptionTextLook let-option>{{option?.text}}</ng-template>\r\n\r\n<div #popupDiv \r\n *ngIf=\"options?.visible\"\r\n [ngClass]=\"options?.cssClasses?.popupDiv\">\r\n\r\n <cdk-virtual-scroll-viewport itemSize=\"28\" class=\"thin-scrollbar\">\r\n <div *cdkVirtualFor=\"let option of selectOptions\"\r\n #popupOptions\r\n [ngClass]=\"options?.cssClasses?.optionItemDiv\"\r\n [class.active]=\"option?.active\"\r\n [class.selected]=\"option?.selected\"\r\n (mouseenter)=\"handleMouseActivation(option)\"\r\n (click)=\"pluginBus?.optionSelect?.emit(option)\">\r\n <div [ngClass]=\"options?.cssClasses?.optionItemTextDiv\">\r\n <ng-container *ngTemplateOutlet=\"pluginBus?.selectOptions?.templateGatherer?.optionTemplate || defaultOptionTextLook; context: {$implicit: option, popup: this}\"></ng-container>\r\n </div>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n \r\n <div *ngIf=\"!selectOptions?.length\">{{texts?.noAvailableOptions}}</div>\r\n</div>", styles: [".popup-div\r\n{\r\n position: absolute;\r\n z-index: 1000;\r\n background-color: #FFFFFF;\r\n border-radius: 4px;\r\n border: 1px solid #BBBBBB;\r\n overflow: hidden;\r\n padding: 5px 0;\r\n box-shadow: 0 6px 12px rgba(0,0,0,.175);\r\n scrollbar-width: thin;\r\n}\r\n\r\ncdk-virtual-scroll-viewport\r\n{\r\n height: 290px;\r\n transition: width 200ms;\r\n}\r\n\r\n.popup-div::-webkit-scrollbar-thumb \r\n{\r\n background-color: #cdcdcd;\r\n}\r\n\r\n.popup-div::-webkit-scrollbar \r\n{\r\n width: 6px;\r\n background-color: #f0f0f0;\r\n}\r\n\r\n.option-item\r\n{\r\n padding: 3px 12px;\r\n display: flex;\r\n align-items: center;\r\n}\r\n\r\n.option-item .option-item-text\r\n{\r\n min-width: 0;\r\n flex: 1;\r\n white-space: nowrap;\r\n}\r\n\r\n.option-item .option-item-text:hover\r\n{\r\n cursor: pointer;\r\n}\r\n\r\n.option-item .fa-check\r\n{\r\n margin-left: 8px;\r\n}\r\n\r\n.option-item.selected,\r\n.option-item.active\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n}\r\n\r\n.option-item:hover\r\n{\r\n background-color: #E8E8E8;\r\n background-image: linear-gradient(to bottom,#F5F5F5 0,#E8E8E8 100%);\r\n cursor: pointer;\r\n}"] }]
|
|
85
|
-
}], propDecorators: { viewPort: [{
|
|
86
|
-
type: ViewChild,
|
|
87
|
-
args: [CdkVirtualScrollViewport]
|
|
88
|
-
}] } });
|
|
89
|
-
//# sourceMappingURL=virtualEditPopup.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"virtualEditPopup.component.js","sourceRoot":"","sources":["../../../../../../material/src/plugins/popup/virtualEdit/virtualEditPopup.component.ts","../../../../../../material/src/plugins/popup/virtualEdit/virtualEditPopup.component.html"],"names":[],"mappings":"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","sourcesContent":["import {ChangeDetectionStrategy, Component, ViewChild} from '@angular/core';\nimport {CdkVirtualScrollViewport} from '@angular/cdk/scrolling';\nimport {EditPopupComponent, NgSelectPlugin, ɵNgSelectOption} from '@anglr/select';\n\nimport {VirtualEditPopup, VirtualEditPopupOptions} from './virtualEditPopup.interface';\n\n//TODO - resize and scroll\n//TODO - too few items and height\n//TODO - dynamic width update and collision with viewport\n\n/**\n * Component used for rendering virtual edit popup with options\n */\n@Component(\n{\n selector: 'div.ng-select-virtual-edit-popup',\n templateUrl: 'virtualEditPopup.component.html',\n styleUrls: ['virtualEditPopup.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class VirtualEditPopupComponent extends EditPopupComponent implements VirtualEditPopup, NgSelectPlugin<VirtualEditPopupOptions>\n{\n //######################### protected properties #########################\n\n /**\n * Currently stored max width of displayed popup\n */\n protected _maxWidth: number = 0;\n\n //######################### public properties - children #########################\n\n // /**\n // * \n // */\n // @ViewChildren('popupOptions')\n // public popupOptions: QueryList<ElementRef>;\n\n /**\n * View port that is used for virtual scrolling\n */\n @ViewChild(CdkVirtualScrollViewport)\n public viewPort: CdkVirtualScrollViewport;\n\n //######################### protected properties #########################\n\n /**\n * Gets currently available options\n */\n protected get availableOptions(): ɵNgSelectOption[]\n {\n return this.pluginBus.selectOptions.optionsGatherer.availableOptions;\n }\n\n //######################### public properties #########################\n\n public override invalidateVisuals()\n {\n super.invalidateVisuals();\n\n this._scrollToOption();\n }\n\n /**\n * Toggles popup visibility\n */\n protected override togglePopup(): void\n {\n super.togglePopup();\n\n if(this.viewPort)\n {\n this.viewPort.elementScrolled().subscribe(() =>\n {\n const viewportElement = this.viewPort?.getElementRef().nativeElement;\n\n if(viewportElement)\n {\n const width = viewportElement.children.item(0).clientWidth;\n\n if(width > this._maxWidth)\n {\n this._maxWidth = width;\n viewportElement.style.width = `${viewportElement.children.item(0).clientWidth}px`;\n }\n }\n });\n\n setTimeout(() =>\n {\n const viewportElement = this.viewPort?.getElementRef().nativeElement;\n \n viewportElement.style.width = `${viewportElement.children.item(0).clientWidth}px`;\n }, 0);\n \n this.viewPort.getElementRef().nativeElement.style.height = this.popupElement.style.maxHeight;\n this.viewPort.checkViewportSize();\n }\n else\n {\n this._maxWidth = 0;\n }\n }\n\n private _scrollToOption()\n {\n const activeOption = this.availableOptions.find(itm => itm.active);\n const index = activeOption ? this.availableOptions.indexOf(activeOption) : 0;\n\n this.viewPort?.scrollToIndex(index);\n\n // if (index === 0)\n // {\n // // scrollTop = 0;\n // }\n // else\n // {\n // // scrollTop = this._getOptionScrollPosition(this.viewPort.elementRef.nativeElement?.scrollTop);\n // }\n\n // console.log(scrollTop);\n\n // if (this.popupElement)\n // {\n // this.viewPort.elementRef.nativeElement.scrollTop = scrollTop;\n // }\n }\n\n // private _getOptionScrollPosition(currentScrollPosition: number)\n // {\n // const activeOptionsElement = this.popupOptions.toArray().find(el => el.nativeElement.classList.contains('active'))?.nativeElement;\n // const top = activeOptionsElement?.offsetTop;\n // const bottom = top + activeOptionsElement?.offsetHeight;\n \n // if (bottom > this.popupElement?.clientHeight + currentScrollPosition)\n // {\n // return Math.max(bottom - this.popupElement?.clientHeight);\n // }\n // else if (top < currentScrollPosition)\n // {\n // return Math.max(0, top);\n // }\n\n // return currentScrollPosition;\n // }\n}","<ng-template #defaultOptionTextLook let-option>{{option?.text}}</ng-template>\r\n\r\n<div #popupDiv \r\n *ngIf=\"options?.visible\"\r\n [ngClass]=\"options?.cssClasses?.popupDiv\">\r\n\r\n <cdk-virtual-scroll-viewport itemSize=\"28\" class=\"thin-scrollbar\">\r\n <div *cdkVirtualFor=\"let option of selectOptions\"\r\n #popupOptions\r\n [ngClass]=\"options?.cssClasses?.optionItemDiv\"\r\n [class.active]=\"option?.active\"\r\n [class.selected]=\"option?.selected\"\r\n (mouseenter)=\"handleMouseActivation(option)\"\r\n (click)=\"pluginBus?.optionSelect?.emit(option)\">\r\n <div [ngClass]=\"options?.cssClasses?.optionItemTextDiv\">\r\n <ng-container *ngTemplateOutlet=\"pluginBus?.selectOptions?.templateGatherer?.optionTemplate || defaultOptionTextLook; context: {$implicit: option, popup: this}\"></ng-container>\r\n </div>\r\n </div>\r\n </cdk-virtual-scroll-viewport>\r\n \r\n <div *ngIf=\"!selectOptions?.length\">{{texts?.noAvailableOptions}}</div>\r\n</div>"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"virtualEditPopup.interface.js","sourceRoot":"","sources":["../../../../../../material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Popup, PopupOptions} from '@anglr/select';\n\n/**\n * Css classes for virtual edit popup\n */\nexport interface CssClassesVirtualEditPopup\n{\n}\n\n/**\n * Virtual edit popup options\n */\nexport interface VirtualEditPopupOptions extends PopupOptions<CssClassesVirtualEditPopup>\n{\n}\n\n/**\n * Public API for 'VirtualEditPopupComponent'\n */\nexport interface VirtualEditPopup extends Popup\n{\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/option/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './option.interface';\nexport * from './optgroup.interface';"]}
|