@anglr/select 10.0.0 → 11.0.1-beta.20220222062944
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +18 -0
- package/elements/package.json +7 -6
- package/elements/src/components/ngSelectElements.component.d.ts +66 -63
- package/elements/src/components/ngSelectElements.component.d.ts.map +1 -1
- package/elements/src/components/ngSelectElements.interface.d.ts +46 -46
- package/elements/src/components/ngSelectElements.interface.d.ts.map +1 -1
- package/elements/src/index.d.ts +3 -3
- package/elements/src/modules/ngSelectElements.module.d.ts +20 -11
- package/elements/src/modules/ngSelectElements.module.d.ts.map +1 -1
- package/es2015/elements/src/components/ngSelectElements.component.js +187 -0
- package/es2015/elements/src/components/ngSelectElements.component.js.map +1 -0
- package/es2015/elements/src/components/ngSelectElements.interface.js +2 -0
- package/es2015/elements/src/components/ngSelectElements.interface.js.map +1 -0
- package/es2015/elements/src/index.js +4 -0
- package/es2015/elements/src/index.js.map +1 -0
- package/es2015/elements/src/modules/ngSelectElements.module.js +52 -0
- package/es2015/elements/src/modules/ngSelectElements.module.js.map +1 -0
- package/es2015/extensions/src/extensions/getValue.js +2 -0
- package/es2015/extensions/src/extensions/getValue.js.map +1 -0
- package/es2015/extensions/src/extensions/onFocus.js +2 -0
- package/es2015/extensions/src/extensions/onFocus.js.map +1 -0
- package/es2015/extensions/src/extensions/patchOptions.js +12 -0
- package/es2015/extensions/src/extensions/patchOptions.js.map +1 -0
- package/es2015/extensions/src/extensions/reinitializeOptions.js +15 -0
- package/es2015/extensions/src/extensions/reinitializeOptions.js.map +1 -0
- package/es2015/extensions/src/extensions/setReadonly.js +2 -0
- package/es2015/extensions/src/extensions/setReadonly.js.map +1 -0
- package/es2015/extensions/src/extensions/setValue.js +2 -0
- package/es2015/extensions/src/extensions/setValue.js.map +1 -0
- package/es2015/extensions/src/extensions/valueChange.js +2 -0
- package/es2015/extensions/src/extensions/valueChange.js.map +1 -0
- package/es2015/extensions/src/index.js +8 -0
- package/es2015/extensions/src/index.js.map +1 -0
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js +74 -0
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -0
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +2 -0
- package/es2015/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +1 -0
- package/es2015/material/src/components/basicDialogPopup/index.js +2 -0
- package/es2015/material/src/components/basicDialogPopup/index.js.map +1 -0
- package/es2015/material/src/components/basicDialogPopup/types.js +2 -0
- package/es2015/material/src/components/basicDialogPopup/types.js.map +1 -0
- package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js +75 -0
- package/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -0
- package/es2015/material/src/directives/types.js +2 -0
- package/es2015/material/src/directives/types.js.map +1 -0
- package/es2015/material/src/index.js +8 -0
- package/es2015/material/src/index.js.map +1 -0
- package/es2015/material/src/modules/dialogPopup.module.js +43 -0
- package/es2015/material/src/modules/dialogPopup.module.js.map +1 -0
- package/es2015/material/src/modules/virtualEditPopup.module.js +33 -0
- package/es2015/material/src/modules/virtualEditPopup.module.js.map +1 -0
- package/es2015/material/src/plugins/popup/components.js +3 -0
- package/es2015/material/src/plugins/popup/components.js.map +1 -0
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js +143 -0
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -0
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.interface.js +2 -0
- package/es2015/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +1 -0
- package/es2015/material/src/plugins/popup/index.js +3 -0
- package/es2015/material/src/plugins/popup/index.js.map +1 -0
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +92 -0
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -0
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +2 -0
- package/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +1 -0
- package/es2015/popperJs/src/index.js +4 -0
- package/es2015/popperJs/src/index.js.map +1 -0
- package/es2015/popperJs/src/modules/popperjsPositioner.module.js +23 -0
- package/es2015/popperJs/src/modules/popperjsPositioner.module.js.map +1 -0
- package/es2015/popperJs/src/plugins/positioner/components.js +2 -0
- package/es2015/popperJs/src/plugins/positioner/components.js.map +1 -0
- package/es2015/popperJs/src/plugins/positioner/index.js +2 -0
- package/es2015/popperJs/src/plugins/positioner/index.js.map +1 -0
- package/es2015/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +151 -0
- package/es2015/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js.map +1 -0
- package/es2015/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +2 -0
- package/es2015/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js.map +1 -0
- package/es2015/src/components/option/index.js +3 -0
- package/es2015/src/components/option/index.js.map +1 -0
- package/es2015/src/components/option/optgroup.component.js +53 -0
- package/es2015/src/components/option/optgroup.component.js.map +1 -0
- package/es2015/src/components/option/optgroup.interface.js +2 -0
- package/es2015/src/components/option/optgroup.interface.js.map +1 -0
- package/es2015/src/components/option/option.component.js +38 -0
- package/es2015/src/components/option/option.component.js.map +1 -0
- package/es2015/src/components/option/option.interface.js +2 -0
- package/es2015/src/components/option/option.interface.js.map +1 -0
- package/es2015/src/components/select/index.js +2 -0
- package/es2015/src/components/select/index.js.map +1 -0
- package/es2015/src/components/select/select.component.js +605 -0
- package/es2015/src/components/select/select.component.js.map +1 -0
- package/es2015/src/components/select/select.interface.js +2 -0
- package/es2015/src/components/select/select.interface.js.map +1 -0
- package/es2015/src/components/select/types.js +6 -0
- package/es2015/src/components/select/types.js.map +1 -0
- package/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +25 -0
- package/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +1 -0
- package/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js +66 -0
- package/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +1 -0
- package/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +42 -0
- package/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +1 -0
- package/es2015/src/index.js +40 -0
- package/es2015/src/index.js.map +1 -0
- package/es2015/src/index.ssr.js +10 -0
- package/es2015/src/index.ssr.js.map +1 -0
- package/es2015/src/misc/extensions/getValue.js +12 -0
- package/es2015/src/misc/extensions/getValue.js.map +1 -0
- package/es2015/src/misc/extensions/index.js +6 -0
- package/es2015/src/misc/extensions/index.js.map +1 -0
- package/es2015/src/misc/extensions/onFocus.js +10 -0
- package/es2015/src/misc/extensions/onFocus.js.map +1 -0
- package/es2015/src/misc/extensions/setReadonly.js +18 -0
- package/es2015/src/misc/extensions/setReadonly.js.map +1 -0
- package/es2015/src/misc/extensions/setValue.js +13 -0
- package/es2015/src/misc/extensions/setValue.js.map +1 -0
- package/es2015/src/misc/extensions/valueChange.js +12 -0
- package/es2015/src/misc/extensions/valueChange.js.map +1 -0
- package/es2015/src/misc/index.js +6 -0
- package/es2015/src/misc/index.js.map +1 -0
- package/es2015/src/misc/ngSelectControlValueAccessor.directive.js +163 -0
- package/es2015/src/misc/ngSelectControlValueAccessor.directive.js.map +1 -0
- package/es2015/src/misc/ngSelectOptions.interface.js +2 -0
- package/es2015/src/misc/ngSelectOptions.interface.js.map +1 -0
- package/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js +83 -0
- package/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -0
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +2 -0
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +1 -0
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js +123 -0
- package/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -0
- package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js +111 -0
- package/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -0
- package/es2015/src/misc/optionsGatherer/optionsGatherer.interface.js +2 -0
- package/es2015/src/misc/optionsGatherer/optionsGatherer.interface.js.map +1 -0
- package/es2015/src/misc/optionsGatherer/types.js +4 -0
- package/es2015/src/misc/optionsGatherer/types.js.map +1 -0
- package/es2015/src/misc/plugin.interface.js +2 -0
- package/es2015/src/misc/plugin.interface.js.map +1 -0
- package/es2015/src/misc/pluginBus/pluginBus.interface.js +2 -0
- package/es2015/src/misc/pluginBus/pluginBus.interface.js.map +1 -0
- package/es2015/src/misc/pluginBus/pluginBus.js +44 -0
- package/es2015/src/misc/pluginBus/pluginBus.js.map +1 -0
- package/es2015/src/misc/templateGatherer.interface.js +2 -0
- package/es2015/src/misc/templateGatherer.interface.js.map +1 -0
- package/es2015/src/misc/types.js +34 -0
- package/es2015/src/misc/types.js.map +1 -0
- package/es2015/src/modules/ngSelect.module.js +92 -0
- package/es2015/src/modules/ngSelect.module.js.map +1 -0
- package/es2015/src/modules/ngSelectDynamic.module.js +20 -0
- package/es2015/src/modules/ngSelectDynamic.module.js.map +1 -0
- package/es2015/src/modules/ngSelectEdit.module.js +53 -0
- package/es2015/src/modules/ngSelectEdit.module.js.map +1 -0
- package/es2015/src/pipes/ngSelectHasValue.pipe.js +23 -0
- package/es2015/src/pipes/ngSelectHasValue.pipe.js.map +1 -0
- package/es2015/src/pipes/ngSelectValue.pipe.js +31 -0
- package/es2015/src/pipes/ngSelectValue.pipe.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +145 -0
- package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +2 -0
- package/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/components.js +3 -0
- package/es2015/src/plugins/keyboardHandler/components.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +196 -0
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +2 -0
- package/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/index.js +4 -0
- package/es2015/src/plugins/keyboardHandler/index.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/keyboardHandler.interface.js +2 -0
- package/es2015/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +1 -0
- package/es2015/src/plugins/keyboardHandler/types.js +10 -0
- package/es2015/src/plugins/keyboardHandler/types.js.map +1 -0
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js +169 -0
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +1 -0
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +2 -0
- package/es2015/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +1 -0
- package/es2015/src/plugins/liveSearch/components.js +4 -0
- package/es2015/src/plugins/liveSearch/components.js.map +1 -0
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js +318 -0
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +1 -0
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.interface.js +2 -0
- package/es2015/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +1 -0
- package/es2015/src/plugins/liveSearch/index.js +5 -0
- package/es2015/src/plugins/liveSearch/index.js.map +1 -0
- package/es2015/src/plugins/liveSearch/liveSearch.interface.js +2 -0
- package/es2015/src/plugins/liveSearch/liveSearch.interface.js.map +1 -0
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js +64 -0
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js.map +1 -0
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.interface.js +2 -0
- package/es2015/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +1 -0
- package/es2015/src/plugins/liveSearch/types.js +10 -0
- package/es2015/src/plugins/liveSearch/types.js.map +1 -0
- package/es2015/src/plugins/normalState/basic/basicNormalState.component.js +58 -0
- package/es2015/src/plugins/normalState/basic/basicNormalState.component.js.map +1 -0
- package/es2015/src/plugins/normalState/basic/basicNormalState.interface.js +2 -0
- package/es2015/src/plugins/normalState/basic/basicNormalState.interface.js.map +1 -0
- package/es2015/src/plugins/normalState/components.js +4 -0
- package/es2015/src/plugins/normalState/components.js.map +1 -0
- package/es2015/src/plugins/normalState/edit/editNormalState.component.js +89 -0
- package/es2015/src/plugins/normalState/edit/editNormalState.component.js.map +1 -0
- package/es2015/src/plugins/normalState/edit/editNormalState.interface.js +2 -0
- package/es2015/src/plugins/normalState/edit/editNormalState.interface.js.map +1 -0
- package/es2015/src/plugins/normalState/index.js +4 -0
- package/es2015/src/plugins/normalState/index.js.map +1 -0
- package/es2015/src/plugins/normalState/normalState.interface.js +2 -0
- package/es2015/src/plugins/normalState/normalState.interface.js.map +1 -0
- package/es2015/src/plugins/normalState/normalStateAbstract.component.js +93 -0
- package/es2015/src/plugins/normalState/normalStateAbstract.component.js.map +1 -0
- package/es2015/src/plugins/normalState/types.js +10 -0
- package/es2015/src/plugins/normalState/types.js.map +1 -0
- package/es2015/src/plugins/popup/basic/basicPopup.component.js +62 -0
- package/es2015/src/plugins/popup/basic/basicPopup.component.js.map +1 -0
- package/es2015/src/plugins/popup/basic/basicPopup.interface.js +2 -0
- package/es2015/src/plugins/popup/basic/basicPopup.interface.js.map +1 -0
- package/es2015/src/plugins/popup/component.js +4 -0
- package/es2015/src/plugins/popup/component.js.map +1 -0
- package/es2015/src/plugins/popup/edit/editPopup.component.js +85 -0
- package/es2015/src/plugins/popup/edit/editPopup.component.js.map +1 -0
- package/es2015/src/plugins/popup/edit/editPopup.interface.js +2 -0
- package/es2015/src/plugins/popup/edit/editPopup.interface.js.map +1 -0
- package/es2015/src/plugins/popup/index.js +4 -0
- package/es2015/src/plugins/popup/index.js.map +1 -0
- package/es2015/src/plugins/popup/popup.interface.js +2 -0
- package/es2015/src/plugins/popup/popup.interface.js.map +1 -0
- package/es2015/src/plugins/popup/popupAbstract.component.js +203 -0
- package/es2015/src/plugins/popup/popupAbstract.component.js.map +1 -0
- package/es2015/src/plugins/popup/types.js +10 -0
- package/es2015/src/plugins/popup/types.js.map +1 -0
- package/es2015/src/plugins/positioner/basic/basicPositioner.component.js +193 -0
- package/es2015/src/plugins/positioner/basic/basicPositioner.component.js.map +1 -0
- package/es2015/src/plugins/positioner/basic/basicPositioner.interface.js +2 -0
- package/es2015/src/plugins/positioner/basic/basicPositioner.interface.js.map +1 -0
- package/es2015/src/plugins/positioner/basic/types.js +36 -0
- package/es2015/src/plugins/positioner/basic/types.js.map +1 -0
- package/es2015/src/plugins/positioner/components.js +3 -0
- package/es2015/src/plugins/positioner/components.js.map +1 -0
- package/es2015/src/plugins/positioner/index.js +4 -0
- package/es2015/src/plugins/positioner/index.js.map +1 -0
- package/es2015/src/plugins/positioner/no/noPositioner.component.js +68 -0
- package/es2015/src/plugins/positioner/no/noPositioner.component.js.map +1 -0
- package/es2015/src/plugins/positioner/no/noPositioner.interface.js +2 -0
- package/es2015/src/plugins/positioner/no/noPositioner.interface.js.map +1 -0
- package/es2015/src/plugins/positioner/positioner.interface.js +2 -0
- package/es2015/src/plugins/positioner/positioner.interface.js.map +1 -0
- package/es2015/src/plugins/positioner/types.js +11 -0
- package/es2015/src/plugins/positioner/types.js.map +1 -0
- package/es2015/src/plugins/readonlyState/index.js +2 -0
- package/es2015/src/plugins/readonlyState/index.js.map +1 -0
- package/es2015/src/plugins/readonlyState/readonlyState.interface.js +2 -0
- package/es2015/src/plugins/readonlyState/readonlyState.interface.js.map +1 -0
- package/es2015/src/plugins/readonlyState/types.js +10 -0
- package/es2015/src/plugins/readonlyState/types.js.map +1 -0
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js +157 -0
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +1 -0
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.interface.js +2 -0
- package/es2015/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +1 -0
- package/es2015/src/plugins/valueHandler/components.js +3 -0
- package/es2015/src/plugins/valueHandler/components.js.map +1 -0
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +182 -0
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +1 -0
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +2 -0
- package/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +1 -0
- package/es2015/src/plugins/valueHandler/index.js +5 -0
- package/es2015/src/plugins/valueHandler/index.js.map +1 -0
- package/es2015/src/plugins/valueHandler/types.js +10 -0
- package/es2015/src/plugins/valueHandler/types.js.map +1 -0
- package/es2015/src/plugins/valueHandler/valueHandler.interface.js +2 -0
- package/es2015/src/plugins/valueHandler/valueHandler.interface.js.map +1 -0
- package/es2015/src/plugins/valueHandler/valueHandlerBase.js +150 -0
- package/es2015/src/plugins/valueHandler/valueHandlerBase.js.map +1 -0
- package/es2020/elements/src/components/ngSelectElements.component.js +187 -0
- package/es2020/elements/src/components/ngSelectElements.component.js.map +1 -0
- package/es2020/elements/src/components/ngSelectElements.interface.js +2 -0
- package/es2020/elements/src/components/ngSelectElements.interface.js.map +1 -0
- package/es2020/elements/src/index.js +4 -0
- package/es2020/elements/src/index.js.map +1 -0
- package/es2020/elements/src/modules/ngSelectElements.module.js +52 -0
- package/es2020/elements/src/modules/ngSelectElements.module.js.map +1 -0
- package/es2020/extensions/src/extensions/getValue.js +2 -0
- package/es2020/extensions/src/extensions/getValue.js.map +1 -0
- package/es2020/extensions/src/extensions/onFocus.js +2 -0
- package/es2020/extensions/src/extensions/onFocus.js.map +1 -0
- package/es2020/extensions/src/extensions/patchOptions.js +12 -0
- package/es2020/extensions/src/extensions/patchOptions.js.map +1 -0
- package/es2020/extensions/src/extensions/reinitializeOptions.js +15 -0
- package/es2020/extensions/src/extensions/reinitializeOptions.js.map +1 -0
- package/es2020/extensions/src/extensions/setReadonly.js +2 -0
- package/es2020/extensions/src/extensions/setReadonly.js.map +1 -0
- package/es2020/extensions/src/extensions/setValue.js +2 -0
- package/es2020/extensions/src/extensions/setValue.js.map +1 -0
- package/es2020/extensions/src/extensions/valueChange.js +2 -0
- package/es2020/extensions/src/extensions/valueChange.js.map +1 -0
- package/es2020/extensions/src/index.js +8 -0
- package/es2020/extensions/src/index.js.map +1 -0
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js +73 -0
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -0
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +2 -0
- package/es2020/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +1 -0
- package/es2020/material/src/components/basicDialogPopup/index.js +2 -0
- package/es2020/material/src/components/basicDialogPopup/index.js.map +1 -0
- package/es2020/material/src/components/basicDialogPopup/types.js +2 -0
- package/es2020/material/src/components/basicDialogPopup/types.js.map +1 -0
- package/es2020/material/src/directives/dialogPopup/dialogPopup.directive.js +75 -0
- package/es2020/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -0
- package/es2020/material/src/directives/types.js +2 -0
- package/es2020/material/src/directives/types.js.map +1 -0
- package/es2020/material/src/index.js +8 -0
- package/es2020/material/src/index.js.map +1 -0
- package/es2020/material/src/modules/dialogPopup.module.js +43 -0
- package/es2020/material/src/modules/dialogPopup.module.js.map +1 -0
- package/es2020/material/src/modules/virtualEditPopup.module.js +33 -0
- package/es2020/material/src/modules/virtualEditPopup.module.js.map +1 -0
- package/es2020/material/src/plugins/popup/components.js +3 -0
- package/es2020/material/src/plugins/popup/components.js.map +1 -0
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.component.js +140 -0
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -0
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js +2 -0
- package/es2020/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +1 -0
- package/es2020/material/src/plugins/popup/index.js +3 -0
- package/es2020/material/src/plugins/popup/index.js.map +1 -0
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +89 -0
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -0
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +2 -0
- package/es2020/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +1 -0
- package/es2020/popperJs/src/index.js +4 -0
- package/es2020/popperJs/src/index.js.map +1 -0
- package/es2020/popperJs/src/modules/popperjsPositioner.module.js +23 -0
- package/es2020/popperJs/src/modules/popperjsPositioner.module.js.map +1 -0
- package/es2020/popperJs/src/plugins/positioner/components.js +2 -0
- package/es2020/popperJs/src/plugins/positioner/components.js.map +1 -0
- package/es2020/popperJs/src/plugins/positioner/index.js +2 -0
- package/es2020/popperJs/src/plugins/positioner/index.js.map +1 -0
- package/es2020/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +148 -0
- package/es2020/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.js.map +1 -0
- package/es2020/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +2 -0
- package/es2020/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js.map +1 -0
- package/es2020/src/components/option/index.js +3 -0
- package/es2020/src/components/option/index.js.map +1 -0
- package/es2020/src/components/option/optgroup.component.js +53 -0
- package/es2020/src/components/option/optgroup.component.js.map +1 -0
- package/es2020/src/components/option/optgroup.interface.js +2 -0
- package/es2020/src/components/option/optgroup.interface.js.map +1 -0
- package/es2020/src/components/option/option.component.js +38 -0
- package/es2020/src/components/option/option.component.js.map +1 -0
- package/es2020/src/components/option/option.interface.js +2 -0
- package/es2020/src/components/option/option.interface.js.map +1 -0
- package/es2020/src/components/select/index.js +2 -0
- package/es2020/src/components/select/index.js.map +1 -0
- package/es2020/src/components/select/select.component.js +603 -0
- package/es2020/src/components/select/select.component.js.map +1 -0
- package/es2020/src/components/select/select.interface.js +2 -0
- package/es2020/src/components/select/select.interface.js.map +1 -0
- package/es2020/src/components/select/types.js +6 -0
- package/es2020/src/components/select/types.js.map +1 -0
- package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +25 -0
- package/es2020/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +1 -0
- package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js +66 -0
- package/es2020/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +1 -0
- package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +42 -0
- package/es2020/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +1 -0
- package/es2020/src/index.js +40 -0
- package/es2020/src/index.js.map +1 -0
- package/es2020/src/index.ssr.js +10 -0
- package/es2020/src/index.ssr.js.map +1 -0
- package/es2020/src/misc/extensions/getValue.js +12 -0
- package/es2020/src/misc/extensions/getValue.js.map +1 -0
- package/es2020/src/misc/extensions/index.js +6 -0
- package/es2020/src/misc/extensions/index.js.map +1 -0
- package/es2020/src/misc/extensions/onFocus.js +10 -0
- package/es2020/src/misc/extensions/onFocus.js.map +1 -0
- package/es2020/src/misc/extensions/setReadonly.js +18 -0
- package/es2020/src/misc/extensions/setReadonly.js.map +1 -0
- package/es2020/src/misc/extensions/setValue.js +13 -0
- package/es2020/src/misc/extensions/setValue.js.map +1 -0
- package/es2020/src/misc/extensions/valueChange.js +12 -0
- package/es2020/src/misc/extensions/valueChange.js.map +1 -0
- package/es2020/src/misc/index.js +6 -0
- package/es2020/src/misc/index.js.map +1 -0
- package/es2020/src/misc/ngSelectControlValueAccessor.directive.js +162 -0
- package/es2020/src/misc/ngSelectControlValueAccessor.directive.js.map +1 -0
- package/es2020/src/misc/ngSelectOptions.interface.js +2 -0
- package/es2020/src/misc/ngSelectOptions.interface.js.map +1 -0
- package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js +83 -0
- package/es2020/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -0
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +2 -0
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +1 -0
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.js +118 -0
- package/es2020/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -0
- package/es2020/src/misc/optionsGatherer/excludingOptionsGatherer.js +110 -0
- package/es2020/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -0
- package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js +2 -0
- package/es2020/src/misc/optionsGatherer/optionsGatherer.interface.js.map +1 -0
- package/es2020/src/misc/optionsGatherer/types.js +4 -0
- package/es2020/src/misc/optionsGatherer/types.js.map +1 -0
- package/es2020/src/misc/plugin.interface.js +2 -0
- package/es2020/src/misc/plugin.interface.js.map +1 -0
- package/es2020/src/misc/pluginBus/pluginBus.interface.js +2 -0
- package/es2020/src/misc/pluginBus/pluginBus.interface.js.map +1 -0
- package/es2020/src/misc/pluginBus/pluginBus.js +44 -0
- package/es2020/src/misc/pluginBus/pluginBus.js.map +1 -0
- package/es2020/src/misc/templateGatherer.interface.js +2 -0
- package/es2020/src/misc/templateGatherer.interface.js.map +1 -0
- package/es2020/src/misc/types.js +34 -0
- package/es2020/src/misc/types.js.map +1 -0
- package/es2020/src/modules/ngSelect.module.js +92 -0
- package/es2020/src/modules/ngSelect.module.js.map +1 -0
- package/es2020/src/modules/ngSelectDynamic.module.js +20 -0
- package/es2020/src/modules/ngSelectDynamic.module.js.map +1 -0
- package/es2020/src/modules/ngSelectEdit.module.js +53 -0
- package/es2020/src/modules/ngSelectEdit.module.js.map +1 -0
- package/es2020/src/pipes/ngSelectHasValue.pipe.js +23 -0
- package/es2020/src/pipes/ngSelectHasValue.pipe.js.map +1 -0
- package/es2020/src/pipes/ngSelectValue.pipe.js +31 -0
- package/es2020/src/pipes/ngSelectValue.pipe.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +145 -0
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +2 -0
- package/es2020/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/components.js +3 -0
- package/es2020/src/plugins/keyboardHandler/components.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +196 -0
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +2 -0
- package/es2020/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/index.js +4 -0
- package/es2020/src/plugins/keyboardHandler/index.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js +2 -0
- package/es2020/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +1 -0
- package/es2020/src/plugins/keyboardHandler/types.js +10 -0
- package/es2020/src/plugins/keyboardHandler/types.js.map +1 -0
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.component.js +167 -0
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +1 -0
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +2 -0
- package/es2020/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +1 -0
- package/es2020/src/plugins/liveSearch/components.js +4 -0
- package/es2020/src/plugins/liveSearch/components.js.map +1 -0
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.component.js +315 -0
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +1 -0
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js +2 -0
- package/es2020/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +1 -0
- package/es2020/src/plugins/liveSearch/index.js +5 -0
- package/es2020/src/plugins/liveSearch/index.js.map +1 -0
- package/es2020/src/plugins/liveSearch/liveSearch.interface.js +2 -0
- package/es2020/src/plugins/liveSearch/liveSearch.interface.js.map +1 -0
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.component.js +64 -0
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.component.js.map +1 -0
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js +2 -0
- package/es2020/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +1 -0
- package/es2020/src/plugins/liveSearch/types.js +10 -0
- package/es2020/src/plugins/liveSearch/types.js.map +1 -0
- package/es2020/src/plugins/normalState/basic/basicNormalState.component.js +58 -0
- package/es2020/src/plugins/normalState/basic/basicNormalState.component.js.map +1 -0
- package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js +2 -0
- package/es2020/src/plugins/normalState/basic/basicNormalState.interface.js.map +1 -0
- package/es2020/src/plugins/normalState/components.js +4 -0
- package/es2020/src/plugins/normalState/components.js.map +1 -0
- package/es2020/src/plugins/normalState/edit/editNormalState.component.js +88 -0
- package/es2020/src/plugins/normalState/edit/editNormalState.component.js.map +1 -0
- package/es2020/src/plugins/normalState/edit/editNormalState.interface.js +2 -0
- package/es2020/src/plugins/normalState/edit/editNormalState.interface.js.map +1 -0
- package/es2020/src/plugins/normalState/index.js +4 -0
- package/es2020/src/plugins/normalState/index.js.map +1 -0
- package/es2020/src/plugins/normalState/normalState.interface.js +2 -0
- package/es2020/src/plugins/normalState/normalState.interface.js.map +1 -0
- package/es2020/src/plugins/normalState/normalStateAbstract.component.js +92 -0
- package/es2020/src/plugins/normalState/normalStateAbstract.component.js.map +1 -0
- package/es2020/src/plugins/normalState/types.js +10 -0
- package/es2020/src/plugins/normalState/types.js.map +1 -0
- package/es2020/src/plugins/popup/basic/basicPopup.component.js +62 -0
- package/es2020/src/plugins/popup/basic/basicPopup.component.js.map +1 -0
- package/es2020/src/plugins/popup/basic/basicPopup.interface.js +2 -0
- package/es2020/src/plugins/popup/basic/basicPopup.interface.js.map +1 -0
- package/es2020/src/plugins/popup/component.js +4 -0
- package/es2020/src/plugins/popup/component.js.map +1 -0
- package/es2020/src/plugins/popup/edit/editPopup.component.js +85 -0
- package/es2020/src/plugins/popup/edit/editPopup.component.js.map +1 -0
- package/es2020/src/plugins/popup/edit/editPopup.interface.js +2 -0
- package/es2020/src/plugins/popup/edit/editPopup.interface.js.map +1 -0
- package/es2020/src/plugins/popup/index.js +4 -0
- package/es2020/src/plugins/popup/index.js.map +1 -0
- package/es2020/src/plugins/popup/popup.interface.js +2 -0
- package/es2020/src/plugins/popup/popup.interface.js.map +1 -0
- package/es2020/src/plugins/popup/popupAbstract.component.js +202 -0
- package/es2020/src/plugins/popup/popupAbstract.component.js.map +1 -0
- package/es2020/src/plugins/popup/types.js +10 -0
- package/es2020/src/plugins/popup/types.js.map +1 -0
- package/es2020/src/plugins/positioner/basic/basicPositioner.component.js +190 -0
- package/es2020/src/plugins/positioner/basic/basicPositioner.component.js.map +1 -0
- package/es2020/src/plugins/positioner/basic/basicPositioner.interface.js +2 -0
- package/es2020/src/plugins/positioner/basic/basicPositioner.interface.js.map +1 -0
- package/es2020/src/plugins/positioner/basic/types.js +36 -0
- package/es2020/src/plugins/positioner/basic/types.js.map +1 -0
- package/es2020/src/plugins/positioner/components.js +3 -0
- package/es2020/src/plugins/positioner/components.js.map +1 -0
- package/es2020/src/plugins/positioner/index.js +4 -0
- package/es2020/src/plugins/positioner/index.js.map +1 -0
- package/es2020/src/plugins/positioner/no/noPositioner.component.js +68 -0
- package/es2020/src/plugins/positioner/no/noPositioner.component.js.map +1 -0
- package/es2020/src/plugins/positioner/no/noPositioner.interface.js +2 -0
- package/es2020/src/plugins/positioner/no/noPositioner.interface.js.map +1 -0
- package/es2020/src/plugins/positioner/positioner.interface.js +2 -0
- package/es2020/src/plugins/positioner/positioner.interface.js.map +1 -0
- package/es2020/src/plugins/positioner/types.js +11 -0
- package/es2020/src/plugins/positioner/types.js.map +1 -0
- package/es2020/src/plugins/readonlyState/index.js +2 -0
- package/es2020/src/plugins/readonlyState/index.js.map +1 -0
- package/es2020/src/plugins/readonlyState/readonlyState.interface.js +2 -0
- package/es2020/src/plugins/readonlyState/readonlyState.interface.js.map +1 -0
- package/es2020/src/plugins/readonlyState/types.js +10 -0
- package/es2020/src/plugins/readonlyState/types.js.map +1 -0
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.component.js +157 -0
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +1 -0
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js +2 -0
- package/es2020/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +1 -0
- package/es2020/src/plugins/valueHandler/components.js +3 -0
- package/es2020/src/plugins/valueHandler/components.js.map +1 -0
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +177 -0
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +1 -0
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +2 -0
- package/es2020/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +1 -0
- package/es2020/src/plugins/valueHandler/index.js +5 -0
- package/es2020/src/plugins/valueHandler/index.js.map +1 -0
- package/es2020/src/plugins/valueHandler/types.js +10 -0
- package/es2020/src/plugins/valueHandler/types.js.map +1 -0
- package/es2020/src/plugins/valueHandler/valueHandler.interface.js +2 -0
- package/es2020/src/plugins/valueHandler/valueHandler.interface.js.map +1 -0
- package/es2020/src/plugins/valueHandler/valueHandlerBase.js +145 -0
- package/es2020/src/plugins/valueHandler/valueHandlerBase.js.map +1 -0
- package/extensions/package.json +7 -6
- package/extensions/src/extensions/getValue.d.ts +1 -1
- package/extensions/src/extensions/onFocus.d.ts +1 -1
- package/extensions/src/extensions/patchOptions.d.ts +6 -6
- package/extensions/src/extensions/reinitializeOptions.d.ts +6 -6
- package/extensions/src/extensions/setReadonly.d.ts +1 -1
- package/extensions/src/extensions/setValue.d.ts +1 -1
- package/extensions/src/extensions/valueChange.d.ts +1 -1
- package/extensions/src/index.d.ts +8 -0
- package/extensions/src/index.d.ts.map +1 -0
- package/material/package.json +7 -7
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts +46 -43
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts.map +1 -1
- package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts +23 -23
- package/material/src/components/basicDialogPopup/index.d.ts +1 -1
- package/material/src/components/basicDialogPopup/types.d.ts +1 -1
- package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts +26 -23
- package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts.map +1 -1
- package/material/src/directives/types.d.ts +1 -1
- package/material/src/index.d.ts +8 -0
- package/material/src/index.d.ts.map +1 -0
- package/material/src/modules/dialogPopup.module.d.ts +14 -5
- package/material/src/modules/dialogPopup.module.d.ts.map +1 -1
- package/material/src/modules/virtualEditPopup.module.d.ts +12 -5
- package/material/src/modules/virtualEditPopup.module.d.ts.map +1 -1
- package/material/src/plugins/popup/components.d.ts +2 -2
- package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts +82 -79
- package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts.map +1 -1
- package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts +59 -59
- package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts.map +1 -1
- package/material/src/plugins/popup/index.d.ts +2 -2
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts +29 -26
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts.map +1 -1
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts +16 -16
- package/package.json +123 -63
- package/popperJs/package.json +8 -8
- package/popperJs/src/index.d.ts +4 -0
- package/popperJs/src/index.d.ts.map +1 -0
- package/popperJs/src/modules/popperjsPositioner.module.d.ts +10 -5
- package/popperJs/src/modules/popperjsPositioner.module.d.ts.map +1 -1
- package/popperJs/src/plugins/positioner/components.d.ts +1 -1
- package/popperJs/src/plugins/positioner/index.d.ts +1 -1
- package/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.d.ts +77 -74
- package/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.d.ts.map +1 -1
- package/popperJs/src/plugins/positioner/popperJs/popperjsPositioner.interface.d.ts +11 -11
- package/src/components/option/index.d.ts +2 -2
- package/src/components/option/optgroup.component.d.ts +36 -33
- package/src/components/option/optgroup.component.d.ts.map +1 -1
- package/src/components/option/optgroup.interface.d.ts +19 -19
- package/src/components/option/option.component.d.ts +29 -26
- package/src/components/option/option.component.d.ts.map +1 -1
- package/src/components/option/option.interface.d.ts +30 -30
- package/src/components/select/index.d.ts +1 -1
- package/src/components/select/select.component.d.ts +255 -270
- package/src/components/select/select.component.d.ts.map +1 -1
- package/src/components/select/select.interface.d.ts +67 -67
- package/src/components/select/types.d.ts +6 -6
- package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts +10 -7
- package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts.map +1 -1
- package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts +10 -7
- package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts.map +1 -1
- package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts +20 -17
- package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts.map +1 -1
- package/src/index.d.ts +40 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.ssr.d.ts +1 -0
- package/src/index.ssr.d.ts.map +1 -0
- package/src/misc/extensions/getValue.d.ts +6 -5
- package/src/misc/extensions/getValue.d.ts.map +1 -1
- package/src/misc/extensions/index.d.ts +5 -5
- package/src/misc/extensions/onFocus.d.ts +7 -6
- package/src/misc/extensions/onFocus.d.ts.map +1 -1
- package/src/misc/extensions/setReadonly.d.ts +7 -6
- package/src/misc/extensions/setReadonly.d.ts.map +1 -1
- package/src/misc/extensions/setValue.d.ts +7 -6
- package/src/misc/extensions/setValue.d.ts.map +1 -1
- package/src/misc/extensions/valueChange.d.ts +7 -6
- package/src/misc/extensions/valueChange.d.ts.map +1 -1
- package/src/misc/index.d.ts +5 -5
- package/src/misc/ngSelectControlValueAccessor.directive.d.ts +62 -64
- package/src/misc/ngSelectControlValueAccessor.directive.d.ts.map +1 -1
- package/src/misc/ngSelectOptions.interface.d.ts +86 -86
- package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts +69 -69
- package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts +85 -85
- package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts +28 -28
- package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts +72 -72
- package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts +52 -52
- package/src/misc/optionsGatherer/types.d.ts +3 -3
- package/src/misc/plugin.interface.d.ts +107 -107
- package/src/misc/plugin.interface.d.ts.map +1 -1
- package/src/misc/pluginBus/pluginBus.d.ts +48 -45
- package/src/misc/pluginBus/pluginBus.d.ts.map +1 -1
- package/src/misc/pluginBus/pluginBus.interface.d.ts +35 -35
- package/src/misc/templateGatherer.interface.d.ts +16 -16
- package/src/misc/types.d.ts +41 -41
- package/src/modules/ngSelect.module.d.ts +27 -5
- package/src/modules/ngSelect.module.d.ts.map +1 -1
- package/src/modules/ngSelectDynamic.module.d.ts +10 -5
- package/src/modules/ngSelectDynamic.module.d.ts.map +1 -1
- package/src/modules/ngSelectEdit.module.d.ts +16 -5
- package/src/modules/ngSelectEdit.module.d.ts.map +1 -1
- package/src/pipes/ngSelectHasValue.pipe.d.ts +15 -12
- package/src/pipes/ngSelectHasValue.pipe.d.ts.map +1 -1
- package/src/pipes/ngSelectValue.pipe.d.ts +18 -15
- package/src/pipes/ngSelectValue.pipe.d.ts.map +1 -1
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts +57 -54
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts.map +1 -1
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts +11 -11
- package/src/plugins/keyboardHandler/components.d.ts +2 -2
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts +67 -64
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts.map +1 -1
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts +11 -11
- package/src/plugins/keyboardHandler/index.d.ts +3 -3
- package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts +11 -11
- package/src/plugins/keyboardHandler/types.d.ts +10 -10
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts +101 -98
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts +28 -28
- package/src/plugins/liveSearch/components.d.ts +3 -3
- package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts +144 -141
- package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts +36 -36
- package/src/plugins/liveSearch/index.d.ts +4 -4
- package/src/plugins/liveSearch/liveSearch.interface.d.ts +37 -37
- package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts +53 -50
- package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts.map +1 -1
- package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts +11 -11
- package/src/plugins/liveSearch/types.d.ts +10 -10
- package/src/plugins/normalState/basic/basicNormalState.component.d.ts +16 -13
- package/src/plugins/normalState/basic/basicNormalState.component.d.ts.map +1 -1
- package/src/plugins/normalState/basic/basicNormalState.interface.d.ts +28 -28
- package/src/plugins/normalState/components.d.ts +3 -3
- package/src/plugins/normalState/edit/editNormalState.component.d.ts +25 -22
- package/src/plugins/normalState/edit/editNormalState.component.d.ts.map +1 -1
- package/src/plugins/normalState/edit/editNormalState.interface.d.ts +52 -52
- package/src/plugins/normalState/index.d.ts +3 -3
- package/src/plugins/normalState/normalState.interface.d.ts +48 -48
- package/src/plugins/normalState/normalStateAbstract.component.d.ts +69 -66
- package/src/plugins/normalState/normalStateAbstract.component.d.ts.map +1 -1
- package/src/plugins/normalState/types.d.ts +10 -10
- package/src/plugins/popup/basic/basicPopup.component.d.ts +16 -13
- package/src/plugins/popup/basic/basicPopup.component.d.ts.map +1 -1
- package/src/plugins/popup/basic/basicPopup.interface.d.ts +32 -32
- package/src/plugins/popup/component.d.ts +3 -3
- package/src/plugins/popup/edit/editPopup.component.d.ts +31 -28
- package/src/plugins/popup/edit/editPopup.component.d.ts.map +1 -1
- package/src/plugins/popup/edit/editPopup.interface.d.ts +32 -32
- package/src/plugins/popup/index.d.ts +3 -3
- package/src/plugins/popup/popup.interface.d.ts +51 -51
- package/src/plugins/popup/popupAbstract.component.d.ts +133 -130
- package/src/plugins/popup/popupAbstract.component.d.ts.map +1 -1
- package/src/plugins/popup/types.d.ts +10 -10
- package/src/plugins/positioner/basic/basicPositioner.component.d.ts +89 -86
- package/src/plugins/positioner/basic/basicPositioner.component.d.ts.map +1 -1
- package/src/plugins/positioner/basic/basicPositioner.interface.d.ts +28 -28
- package/src/plugins/positioner/basic/types.d.ts +21 -18
- package/src/plugins/positioner/basic/types.d.ts.map +1 -1
- package/src/plugins/positioner/components.d.ts +2 -2
- package/src/plugins/positioner/index.d.ts +3 -3
- package/src/plugins/positioner/no/noPositioner.component.d.ts +41 -38
- package/src/plugins/positioner/no/noPositioner.component.d.ts.map +1 -1
- package/src/plugins/positioner/no/noPositioner.interface.d.ts +11 -11
- package/src/plugins/positioner/positioner.interface.d.ts +20 -20
- package/src/plugins/positioner/positioner.interface.d.ts.map +1 -1
- package/src/plugins/positioner/types.d.ts +11 -11
- package/src/plugins/positioner/types.d.ts.map +1 -1
- package/src/plugins/readonlyState/index.d.ts +1 -1
- package/src/plugins/readonlyState/readonlyState.interface.d.ts +11 -11
- package/src/plugins/readonlyState/types.d.ts +10 -10
- package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts +50 -47
- package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts +11 -11
- package/src/plugins/valueHandler/components.d.ts +2 -2
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts +51 -48
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts.map +1 -1
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts +20 -20
- package/src/plugins/valueHandler/index.d.ts +4 -4
- package/src/plugins/valueHandler/types.d.ts +10 -10
- package/src/plugins/valueHandler/valueHandler.interface.d.ts +30 -30
- package/src/plugins/valueHandler/valueHandlerBase.d.ts +114 -111
- package/src/plugins/valueHandler/valueHandlerBase.d.ts.map +1 -1
- package/version.bak +1 -1
- package/appveyor.yml +0 -67
- package/dist/es2015/public_api.js +0 -7
- package/dist/es2015/select.js +0 -14
- package/dist/es2015/src/components/option/index.js +0 -8
- package/dist/es2015/src/components/option/optgroup.component.js +0 -80
- package/dist/es2015/src/components/option/optgroup.interface.js +0 -29
- package/dist/es2015/src/components/option/option.component.js +0 -68
- package/dist/es2015/src/components/option/option.interface.js +0 -47
- package/dist/es2015/src/components/select/index.js +0 -7
- package/dist/es2015/src/components/select/select.component.js +0 -867
- package/dist/es2015/src/components/select/select.interface.js +0 -77
- package/dist/es2015/src/components/select/types.js +0 -12
- package/dist/es2015/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -32
- package/dist/es2015/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -58
- package/dist/es2015/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -63
- package/dist/es2015/src/misc/extensions/getValue.js +0 -23
- package/dist/es2015/src/misc/extensions/index.js +0 -11
- package/dist/es2015/src/misc/extensions/onFocus.js +0 -21
- package/dist/es2015/src/misc/extensions/setReadonly.js +0 -28
- package/dist/es2015/src/misc/extensions/setValue.js +0 -24
- package/dist/es2015/src/misc/extensions/valueChange.js +0 -27
- package/dist/es2015/src/misc/index.js +0 -11
- package/dist/es2015/src/misc/ngSelectControlValueAccessor.directive.js +0 -254
- package/dist/es2015/src/misc/ngSelectOptions.interface.js +0 -99
- package/dist/es2015/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -157
- package/dist/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -35
- package/dist/es2015/src/misc/optionsGatherer/dynamicOptionsGatherer.js +0 -230
- package/dist/es2015/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -201
- package/dist/es2015/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -65
- package/dist/es2015/src/misc/optionsGatherer/types.js +0 -9
- package/dist/es2015/src/misc/plugin.interface.js +0 -132
- package/dist/es2015/src/misc/pluginBus/pluginBus.interface.js +0 -48
- package/dist/es2015/src/misc/pluginBus/pluginBus.js +0 -95
- package/dist/es2015/src/misc/templateGatherer.interface.js +0 -23
- package/dist/es2015/src/misc/types.js +0 -47
- package/dist/es2015/src/modules/ngSelect.module.js +0 -66
- package/dist/es2015/src/modules/ngSelectDynamic.module.js +0 -20
- package/dist/es2015/src/modules/ngSelectEdit.module.js +0 -41
- package/dist/es2015/src/pipes/ngSelectHasValue.pipe.js +0 -26
- package/dist/es2015/src/pipes/ngSelectValue.pipe.js +0 -38
- package/dist/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -201
- package/dist/es2015/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -16
- package/dist/es2015/src/plugins/keyboardHandler/components.js +0 -8
- package/dist/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -272
- package/dist/es2015/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -16
- package/dist/es2015/src/plugins/keyboardHandler/index.js +0 -9
- package/dist/es2015/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -16
- package/dist/es2015/src/plugins/keyboardHandler/types.js +0 -17
- package/dist/es2015/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -277
- package/dist/es2015/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -40
- package/dist/es2015/src/plugins/liveSearch/components.js +0 -9
- package/dist/es2015/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -494
- package/dist/es2015/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -50
- package/dist/es2015/src/plugins/liveSearch/index.js +0 -10
- package/dist/es2015/src/plugins/liveSearch/liveSearch.interface.js +0 -53
- package/dist/es2015/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -109
- package/dist/es2015/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -16
- package/dist/es2015/src/plugins/liveSearch/types.js +0 -17
- package/dist/es2015/src/plugins/normalState/basic/basicNormalState.component.js +0 -71
- package/dist/es2015/src/plugins/normalState/basic/basicNormalState.interface.js +0 -39
- package/dist/es2015/src/plugins/normalState/components.js +0 -9
- package/dist/es2015/src/plugins/normalState/edit/editNormalState.component.js +0 -108
- package/dist/es2015/src/plugins/normalState/edit/editNormalState.interface.js +0 -71
- package/dist/es2015/src/plugins/normalState/index.js +0 -9
- package/dist/es2015/src/plugins/normalState/normalState.interface.js +0 -59
- package/dist/es2015/src/plugins/normalState/normalStateAbstract.component.js +0 -178
- package/dist/es2015/src/plugins/normalState/types.js +0 -17
- package/dist/es2015/src/plugins/popup/basic/basicPopup.component.js +0 -68
- package/dist/es2015/src/plugins/popup/basic/basicPopup.interface.js +0 -43
- package/dist/es2015/src/plugins/popup/component.js +0 -9
- package/dist/es2015/src/plugins/popup/edit/editPopup.component.js +0 -100
- package/dist/es2015/src/plugins/popup/edit/editPopup.interface.js +0 -43
- package/dist/es2015/src/plugins/popup/index.js +0 -9
- package/dist/es2015/src/plugins/popup/popup.interface.js +0 -70
- package/dist/es2015/src/plugins/popup/popupAbstract.component.js +0 -383
- package/dist/es2015/src/plugins/popup/types.js +0 -17
- package/dist/es2015/src/plugins/positioner/basic/basicPositioner.component.js +0 -302
- package/dist/es2015/src/plugins/positioner/basic/basicPositioner.interface.js +0 -38
- package/dist/es2015/src/plugins/positioner/basic/types.js +0 -52
- package/dist/es2015/src/plugins/positioner/components.js +0 -8
- package/dist/es2015/src/plugins/positioner/index.js +0 -9
- package/dist/es2015/src/plugins/positioner/no/noPositioner.component.js +0 -96
- package/dist/es2015/src/plugins/positioner/no/noPositioner.interface.js +0 -16
- package/dist/es2015/src/plugins/positioner/positioner.interface.js +0 -28
- package/dist/es2015/src/plugins/positioner/types.js +0 -18
- package/dist/es2015/src/plugins/readonlyState/index.js +0 -7
- package/dist/es2015/src/plugins/readonlyState/readonlyState.interface.js +0 -17
- package/dist/es2015/src/plugins/readonlyState/types.js +0 -17
- package/dist/es2015/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -205
- package/dist/es2015/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -17
- package/dist/es2015/src/plugins/valueHandler/components.js +0 -8
- package/dist/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -235
- package/dist/es2015/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -30
- package/dist/es2015/src/plugins/valueHandler/index.js +0 -10
- package/dist/es2015/src/plugins/valueHandler/types.js +0 -17
- package/dist/es2015/src/plugins/valueHandler/valueHandler.interface.js +0 -40
- package/dist/es2015/src/plugins/valueHandler/valueHandlerBase.js +0 -286
- package/dist/es2015/src/select.js +0 -45
- package/dist/es2015/src/select.ssr.js +0 -21
- package/dist/es5/public_api.js +0 -7
- package/dist/es5/select.js +0 -14
- package/dist/es5/src/components/option/index.js +0 -8
- package/dist/es5/src/components/option/optgroup.component.js +0 -109
- package/dist/es5/src/components/option/optgroup.interface.js +0 -29
- package/dist/es5/src/components/option/option.component.js +0 -70
- package/dist/es5/src/components/option/option.interface.js +0 -47
- package/dist/es5/src/components/select/index.js +0 -7
- package/dist/es5/src/components/select/select.component.js +0 -1149
- package/dist/es5/src/components/select/select.interface.js +0 -77
- package/dist/es5/src/components/select/types.js +0 -12
- package/dist/es5/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -31
- package/dist/es5/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -57
- package/dist/es5/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -72
- package/dist/es5/src/misc/extensions/getValue.js +0 -23
- package/dist/es5/src/misc/extensions/index.js +0 -11
- package/dist/es5/src/misc/extensions/onFocus.js +0 -21
- package/dist/es5/src/misc/extensions/setReadonly.js +0 -29
- package/dist/es5/src/misc/extensions/setValue.js +0 -24
- package/dist/es5/src/misc/extensions/valueChange.js +0 -27
- package/dist/es5/src/misc/index.js +0 -11
- package/dist/es5/src/misc/ngSelectControlValueAccessor.directive.js +0 -303
- package/dist/es5/src/misc/ngSelectOptions.interface.js +0 -99
- package/dist/es5/src/misc/optionsGatherer/codeOptionsGatherer.js +0 -208
- package/dist/es5/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +0 -35
- package/dist/es5/src/misc/optionsGatherer/dynamicOptionsGatherer.js +0 -329
- package/dist/es5/src/misc/optionsGatherer/excludingOptionsGatherer.js +0 -271
- package/dist/es5/src/misc/optionsGatherer/optionsGatherer.interface.js +0 -65
- package/dist/es5/src/misc/optionsGatherer/types.js +0 -9
- package/dist/es5/src/misc/plugin.interface.js +0 -132
- package/dist/es5/src/misc/pluginBus/pluginBus.interface.js +0 -48
- package/dist/es5/src/misc/pluginBus/pluginBus.js +0 -97
- package/dist/es5/src/misc/templateGatherer.interface.js +0 -23
- package/dist/es5/src/misc/types.js +0 -47
- package/dist/es5/src/modules/ngSelect.module.js +0 -70
- package/dist/es5/src/modules/ngSelectDynamic.module.js +0 -24
- package/dist/es5/src/modules/ngSelectEdit.module.js +0 -45
- package/dist/es5/src/pipes/ngSelectHasValue.pipe.js +0 -42
- package/dist/es5/src/pipes/ngSelectValue.pipe.js +0 -59
- package/dist/es5/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -250
- package/dist/es5/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -16
- package/dist/es5/src/plugins/keyboardHandler/components.js +0 -8
- package/dist/es5/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -321
- package/dist/es5/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -16
- package/dist/es5/src/plugins/keyboardHandler/index.js +0 -9
- package/dist/es5/src/plugins/keyboardHandler/keyboardHandler.interface.js +0 -16
- package/dist/es5/src/plugins/keyboardHandler/types.js +0 -17
- package/dist/es5/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -348
- package/dist/es5/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -40
- package/dist/es5/src/plugins/liveSearch/components.js +0 -9
- package/dist/es5/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -606
- package/dist/es5/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -50
- package/dist/es5/src/plugins/liveSearch/index.js +0 -10
- package/dist/es5/src/plugins/liveSearch/liveSearch.interface.js +0 -53
- package/dist/es5/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -137
- package/dist/es5/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -16
- package/dist/es5/src/plugins/liveSearch/types.js +0 -17
- package/dist/es5/src/plugins/normalState/basic/basicNormalState.component.js +0 -80
- package/dist/es5/src/plugins/normalState/basic/basicNormalState.interface.js +0 -39
- package/dist/es5/src/plugins/normalState/components.js +0 -9
- package/dist/es5/src/plugins/normalState/edit/editNormalState.component.js +0 -144
- package/dist/es5/src/plugins/normalState/edit/editNormalState.interface.js +0 -71
- package/dist/es5/src/plugins/normalState/index.js +0 -9
- package/dist/es5/src/plugins/normalState/normalState.interface.js +0 -59
- package/dist/es5/src/plugins/normalState/normalStateAbstract.component.js +0 -229
- package/dist/es5/src/plugins/normalState/types.js +0 -17
- package/dist/es5/src/plugins/popup/basic/basicPopup.component.js +0 -76
- package/dist/es5/src/plugins/popup/basic/basicPopup.interface.js +0 -43
- package/dist/es5/src/plugins/popup/component.js +0 -9
- package/dist/es5/src/plugins/popup/edit/editPopup.component.js +0 -138
- package/dist/es5/src/plugins/popup/edit/editPopup.interface.js +0 -43
- package/dist/es5/src/plugins/popup/index.js +0 -9
- package/dist/es5/src/plugins/popup/popup.interface.js +0 -70
- package/dist/es5/src/plugins/popup/popupAbstract.component.js +0 -477
- package/dist/es5/src/plugins/popup/types.js +0 -17
- package/dist/es5/src/plugins/positioner/basic/basicPositioner.component.js +0 -364
- package/dist/es5/src/plugins/positioner/basic/basicPositioner.interface.js +0 -38
- package/dist/es5/src/plugins/positioner/basic/types.js +0 -75
- package/dist/es5/src/plugins/positioner/components.js +0 -8
- package/dist/es5/src/plugins/positioner/index.js +0 -9
- package/dist/es5/src/plugins/positioner/no/noPositioner.component.js +0 -126
- package/dist/es5/src/plugins/positioner/no/noPositioner.interface.js +0 -16
- package/dist/es5/src/plugins/positioner/positioner.interface.js +0 -28
- package/dist/es5/src/plugins/positioner/types.js +0 -18
- package/dist/es5/src/plugins/readonlyState/index.js +0 -7
- package/dist/es5/src/plugins/readonlyState/readonlyState.interface.js +0 -17
- package/dist/es5/src/plugins/readonlyState/types.js +0 -17
- package/dist/es5/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -277
- package/dist/es5/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -17
- package/dist/es5/src/plugins/valueHandler/components.js +0 -8
- package/dist/es5/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -364
- package/dist/es5/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -30
- package/dist/es5/src/plugins/valueHandler/index.js +0 -10
- package/dist/es5/src/plugins/valueHandler/types.js +0 -17
- package/dist/es5/src/plugins/valueHandler/valueHandler.interface.js +0 -40
- package/dist/es5/src/plugins/valueHandler/valueHandlerBase.js +0 -369
- package/dist/es5/src/select.js +0 -45
- package/dist/es5/src/select.ssr.js +0 -21
- package/elements/dist/es2015/elements/index.js +0 -10
- package/elements/dist/es2015/elements/public_api.js +0 -7
- package/elements/dist/es2015/elements/src/components/ngSelectElements.component.js +0 -292
- package/elements/dist/es2015/elements/src/components/ngSelectElements.interface.js +0 -64
- package/elements/dist/es2015/elements/src/index.js +0 -9
- package/elements/dist/es2015/elements/src/modules/ngSelectElements.module.js +0 -54
- package/elements/dist/es5/elements/index.js +0 -10
- package/elements/dist/es5/elements/public_api.js +0 -7
- package/elements/dist/es5/elements/src/components/ngSelectElements.component.js +0 -332
- package/elements/dist/es5/elements/src/components/ngSelectElements.interface.js +0 -64
- package/elements/dist/es5/elements/src/index.js +0 -9
- package/elements/dist/es5/elements/src/modules/ngSelectElements.module.js +0 -63
- package/elements/index.d.ts +0 -5
- package/elements/index.d.ts.map +0 -1
- package/elements/index.metadata.json +0 -1
- package/elements/public_api.d.ts +0 -2
- package/elements/public_api.d.ts.map +0 -1
- package/elements/src/components/ngSelectElements.component.ngfactory.d.ts.map +0 -1
- package/elements/src/modules/ngSelectElements.module.ngfactory.d.ts.map +0 -1
- package/extensions/dist/es2015/extensions/index.js +0 -10
- package/extensions/dist/es2015/extensions/public_api.js +0 -7
- package/extensions/dist/es2015/extensions/src/extensions/getValue.js +0 -7
- package/extensions/dist/es2015/extensions/src/extensions/onFocus.js +0 -7
- package/extensions/dist/es2015/extensions/src/extensions/patchOptions.js +0 -23
- package/extensions/dist/es2015/extensions/src/extensions/reinitializeOptions.js +0 -26
- package/extensions/dist/es2015/extensions/src/extensions/setReadonly.js +0 -7
- package/extensions/dist/es2015/extensions/src/extensions/setValue.js +0 -7
- package/extensions/dist/es2015/extensions/src/extensions/valueChange.js +0 -7
- package/extensions/dist/es2015/extensions/src/extensions.js +0 -13
- package/extensions/dist/es5/extensions/index.js +0 -10
- package/extensions/dist/es5/extensions/public_api.js +0 -7
- package/extensions/dist/es5/extensions/src/extensions/getValue.js +0 -7
- package/extensions/dist/es5/extensions/src/extensions/onFocus.js +0 -7
- package/extensions/dist/es5/extensions/src/extensions/patchOptions.js +0 -23
- package/extensions/dist/es5/extensions/src/extensions/reinitializeOptions.js +0 -26
- package/extensions/dist/es5/extensions/src/extensions/setReadonly.js +0 -7
- package/extensions/dist/es5/extensions/src/extensions/setValue.js +0 -7
- package/extensions/dist/es5/extensions/src/extensions/valueChange.js +0 -7
- package/extensions/dist/es5/extensions/src/extensions.js +0 -13
- package/extensions/index.d.ts +0 -5
- package/extensions/index.d.ts.map +0 -1
- package/extensions/index.metadata.json +0 -1
- package/extensions/public_api.d.ts +0 -2
- package/extensions/public_api.d.ts.map +0 -1
- package/extensions/src/extensions.d.ts +0 -8
- package/extensions/src/extensions.d.ts.map +0 -1
- package/material/dist/es2015/extensions/src/extensions/getValue.js +0 -7
- package/material/dist/es2015/extensions/src/extensions/onFocus.js +0 -7
- package/material/dist/es2015/extensions/src/extensions/patchOptions.js +0 -23
- package/material/dist/es2015/extensions/src/extensions/reinitializeOptions.js +0 -26
- package/material/dist/es2015/extensions/src/extensions/setReadonly.js +0 -7
- package/material/dist/es2015/extensions/src/extensions/setValue.js +0 -7
- package/material/dist/es2015/extensions/src/extensions/valueChange.js +0 -7
- package/material/dist/es2015/extensions/src/extensions.js +0 -13
- package/material/dist/es2015/material/index.js +0 -10
- package/material/dist/es2015/material/public_api.js +0 -7
- package/material/dist/es2015/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -127
- package/material/dist/es2015/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -33
- package/material/dist/es2015/material/src/components/basicDialogPopup/index.js +0 -7
- package/material/dist/es2015/material/src/components/basicDialogPopup/types.js +0 -7
- package/material/dist/es2015/material/src/directives/dialogPopup/dialogPopup.directive.js +0 -99
- package/material/dist/es2015/material/src/directives/types.js +0 -7
- package/material/dist/es2015/material/src/material.js +0 -13
- package/material/dist/es2015/material/src/modules/dialogPopup.module.js +0 -35
- package/material/dist/es2015/material/src/modules/virtualEditPopup.module.js +0 -29
- package/material/dist/es2015/material/src/plugins/popup/components.js +0 -8
- package/material/dist/es2015/material/src/plugins/popup/dialog/dialogPopup.component.js +0 -236
- package/material/dist/es2015/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -82
- package/material/dist/es2015/material/src/plugins/popup/index.js +0 -8
- package/material/dist/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -151
- package/material/dist/es2015/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -21
- package/material/dist/es5/extensions/src/extensions/getValue.js +0 -7
- package/material/dist/es5/extensions/src/extensions/onFocus.js +0 -7
- package/material/dist/es5/extensions/src/extensions/patchOptions.js +0 -23
- package/material/dist/es5/extensions/src/extensions/reinitializeOptions.js +0 -26
- package/material/dist/es5/extensions/src/extensions/setReadonly.js +0 -7
- package/material/dist/es5/extensions/src/extensions/setValue.js +0 -7
- package/material/dist/es5/extensions/src/extensions/valueChange.js +0 -7
- package/material/dist/es5/extensions/src/extensions.js +0 -13
- package/material/dist/es5/material/index.js +0 -10
- package/material/dist/es5/material/public_api.js +0 -7
- package/material/dist/es5/material/src/components/basicDialogPopup/basicDialogPopup.component.js +0 -155
- package/material/dist/es5/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +0 -33
- package/material/dist/es5/material/src/components/basicDialogPopup/index.js +0 -7
- package/material/dist/es5/material/src/components/basicDialogPopup/types.js +0 -7
- package/material/dist/es5/material/src/directives/dialogPopup/dialogPopup.directive.js +0 -109
- package/material/dist/es5/material/src/directives/types.js +0 -7
- package/material/dist/es5/material/src/material.js +0 -13
- package/material/dist/es5/material/src/modules/dialogPopup.module.js +0 -39
- package/material/dist/es5/material/src/modules/virtualEditPopup.module.js +0 -33
- package/material/dist/es5/material/src/plugins/popup/components.js +0 -8
- package/material/dist/es5/material/src/plugins/popup/dialog/dialogPopup.component.js +0 -290
- package/material/dist/es5/material/src/plugins/popup/dialog/dialogPopup.interface.js +0 -82
- package/material/dist/es5/material/src/plugins/popup/index.js +0 -8
- package/material/dist/es5/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +0 -196
- package/material/dist/es5/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +0 -21
- package/material/index.d.ts +0 -6
- package/material/index.d.ts.map +0 -1
- package/material/index.metadata.json +0 -1
- package/material/public_api.d.ts +0 -2
- package/material/public_api.d.ts.map +0 -1
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.css.shim.ngstyle.d.ts.map +0 -1
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.ngfactory.d.ts.map +0 -1
- package/material/src/directives/dialogPopup/dialogPopup.directive.ngfactory.d.ts.map +0 -1
- package/material/src/material.d.ts +0 -8
- package/material/src/material.d.ts.map +0 -1
- package/material/src/modules/dialogPopup.module.ngfactory.d.ts.map +0 -1
- package/material/src/modules/virtualEditPopup.module.ngfactory.d.ts.map +0 -1
- package/material/src/plugins/popup/dialog/dialogPopup.component.ngfactory.d.ts.map +0 -1
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.ngfactory.d.ts.map +0 -1
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.scss.shim.ngstyle.d.ts.map +0 -1
- package/popperJs/dist/es2015/popperjs/index.js +0 -10
- package/popperJs/dist/es2015/popperjs/public_api.js +0 -7
- package/popperJs/dist/es2015/popperjs/src/modules/popperjsPositioner.module.js +0 -23
- package/popperJs/dist/es2015/popperjs/src/plugins/positioner/components.js +0 -7
- package/popperJs/dist/es2015/popperjs/src/plugins/positioner/index.js +0 -7
- package/popperJs/dist/es2015/popperjs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +0 -242
- package/popperJs/dist/es2015/popperjs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +0 -16
- package/popperJs/dist/es2015/popperjs/src/popperJs.js +0 -9
- package/popperJs/dist/es5/popperjs/index.js +0 -10
- package/popperJs/dist/es5/popperjs/public_api.js +0 -7
- package/popperJs/dist/es5/popperjs/src/modules/popperjsPositioner.module.js +0 -27
- package/popperJs/dist/es5/popperjs/src/plugins/positioner/components.js +0 -7
- package/popperJs/dist/es5/popperjs/src/plugins/positioner/index.js +0 -7
- package/popperJs/dist/es5/popperjs/src/plugins/positioner/popperJs/popperJsPositioner.component.js +0 -290
- package/popperJs/dist/es5/popperjs/src/plugins/positioner/popperJs/popperjsPositioner.interface.js +0 -16
- package/popperJs/dist/es5/popperjs/src/popperJs.js +0 -9
- package/popperJs/index.d.ts +0 -6
- package/popperJs/index.d.ts.map +0 -1
- package/popperJs/index.metadata.json +0 -1
- package/popperJs/public_api.d.ts +0 -2
- package/popperJs/public_api.d.ts.map +0 -1
- package/popperJs/src/modules/popperjsPositioner.module.ngfactory.d.ts.map +0 -1
- package/popperJs/src/plugins/positioner/popperJs/popperJsPositioner.component.ngfactory.d.ts.map +0 -1
- package/popperJs/src/popperJs.d.ts +0 -4
- package/popperJs/src/popperJs.d.ts.map +0 -1
- package/public_api.d.ts +0 -2
- package/public_api.d.ts.map +0 -1
- package/select.d.ts +0 -26
- package/select.d.ts.map +0 -1
- package/select.metadata.json +0 -1
- package/src/components/option/optgroup.component.ngfactory.d.ts.map +0 -1
- package/src/components/option/option.component.ngfactory.d.ts.map +0 -1
- package/src/components/select/select.component.ngfactory.d.ts.map +0 -1
- package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.ngfactory.d.ts.map +0 -1
- package/src/directives/ngSelectEdit/ngSelectEdit.directive.ngfactory.d.ts.map +0 -1
- package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.ngfactory.d.ts.map +0 -1
- package/src/misc/ngSelectControlValueAccessor.directive.ngfactory.d.ts.map +0 -1
- package/src/misc/pluginBus/pluginBus.ngfactory.d.ts.map +0 -1
- package/src/modules/ngSelect.module.ngfactory.d.ts.map +0 -1
- package/src/modules/ngSelectDynamic.module.ngfactory.d.ts.map +0 -1
- package/src/modules/ngSelectEdit.module.ngfactory.d.ts.map +0 -1
- package/src/pipes/ngSelectHasValue.pipe.ngfactory.d.ts.map +0 -1
- package/src/pipes/ngSelectValue.pipe.ngfactory.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/liveSearch/edit/editLiveSearch.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/plugins/liveSearch/edit/editLiveSearch.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/liveSearch/no/noLiveSearch.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/normalState/basic/basicNormalState.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/plugins/normalState/basic/basicNormalState.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/normalState/edit/editNormalState.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/plugins/normalState/edit/editNormalState.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/popup/basic/basicPopup.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/plugins/popup/basic/basicPopup.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/popup/edit/editPopup.component.css.shim.ngstyle.d.ts.map +0 -1
- package/src/plugins/popup/edit/editPopup.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/positioner/basic/basicPositioner.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/positioner/basic/types.ngfactory.d.ts.map +0 -1
- package/src/plugins/positioner/no/noPositioner.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/valueHandler/basic/basicValueHandler.component.ngfactory.d.ts.map +0 -1
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.ngfactory.d.ts.map +0 -1
- package/src/select.d.ts +0 -40
- package/src/select.d.ts.map +0 -1
- package/src/select.ssr.d.ts +0 -1
- package/src/select.ssr.d.ts.map +0 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { Directive, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { NORMAL_STATE } from '../normalState/types';
|
|
3
|
+
import { PluginBus } from '../../misc/pluginBus/pluginBus';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../misc/pluginBus/pluginBus";
|
|
6
|
+
/**
|
|
7
|
+
* Base class for value handlers
|
|
8
|
+
*/
|
|
9
|
+
export class ValueHandlerBase {
|
|
10
|
+
//######################### constructor #########################
|
|
11
|
+
constructor(ngSelectPlugins, pluginElement, pluginBus) {
|
|
12
|
+
this.ngSelectPlugins = ngSelectPlugins;
|
|
13
|
+
this.pluginElement = pluginElement;
|
|
14
|
+
this.pluginBus = pluginBus;
|
|
15
|
+
/**
|
|
16
|
+
* Occurs when value of NgSelect changes
|
|
17
|
+
*/
|
|
18
|
+
this.valueChange = new EventEmitter();
|
|
19
|
+
/**
|
|
20
|
+
* Cancels, removes option from selected options
|
|
21
|
+
* @param option - Option to be canceled
|
|
22
|
+
*/
|
|
23
|
+
this._cancelValue = (option) => {
|
|
24
|
+
if (Array.isArray(this.selectedOptions)) {
|
|
25
|
+
const index = this.selectedOptions.indexOf(option);
|
|
26
|
+
if (index >= 0) {
|
|
27
|
+
this.selectedOptions.splice(index, 1);
|
|
28
|
+
this.selectedOptions = [...this.selectedOptions];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
if (this.selectedOptions == option) {
|
|
33
|
+
this.selectedOptions = null;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
this._clearSelected();
|
|
37
|
+
this._markValueAsSelected();
|
|
38
|
+
this._normalState.invalidateVisuals();
|
|
39
|
+
this.valueChange.emit();
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Current selected value of NgSelect
|
|
44
|
+
*/
|
|
45
|
+
get value() {
|
|
46
|
+
if (this.selectedOptions) {
|
|
47
|
+
if (Array.isArray(this.selectedOptions)) {
|
|
48
|
+
return this.selectedOptions.map(opt => opt.value);
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
return this.selectedOptions.value;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
//######################### protected properties #########################
|
|
57
|
+
/**
|
|
58
|
+
* Function of value comparer that is used for comparison of values
|
|
59
|
+
*/
|
|
60
|
+
get valueComparer() {
|
|
61
|
+
var _a, _b;
|
|
62
|
+
return (_b = (_a = this.pluginBus) === null || _a === void 0 ? void 0 : _a.selectOptions) === null || _b === void 0 ? void 0 : _b.valueComparer;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Method that is used for filtering when live search is running on static data
|
|
66
|
+
*/
|
|
67
|
+
get liveSearchFilter() {
|
|
68
|
+
var _a, _b;
|
|
69
|
+
return (_b = (_a = this.pluginBus) === null || _a === void 0 ? void 0 : _a.selectOptions) === null || _b === void 0 ? void 0 : _b.liveSearchFilter;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Normalizer used for normalizing values
|
|
73
|
+
*/
|
|
74
|
+
get normalizer() {
|
|
75
|
+
var _a, _b;
|
|
76
|
+
return (_b = (_a = this.pluginBus) === null || _a === void 0 ? void 0 : _a.selectOptions) === null || _b === void 0 ? void 0 : _b.normalizer;
|
|
77
|
+
}
|
|
78
|
+
//######################### public methods - implementation of OnDestroy #########################
|
|
79
|
+
/**
|
|
80
|
+
* Called when component is destroyed
|
|
81
|
+
*/
|
|
82
|
+
ngOnDestroy() {
|
|
83
|
+
var _a, _b, _c;
|
|
84
|
+
(_a = this._optionSelectSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
85
|
+
this._optionSelectSubscription = null;
|
|
86
|
+
(_b = this._optionsChangeSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
87
|
+
this._optionsChangeSubscription = null;
|
|
88
|
+
(_c = this._optionCancelSubscription) === null || _c === void 0 ? void 0 : _c.unsubscribe();
|
|
89
|
+
this._optionCancelSubscription = null;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Initialize plugin, to be ready to use, initialize communication with other plugins
|
|
93
|
+
*/
|
|
94
|
+
initialize() {
|
|
95
|
+
var _a, _b, _c, _d;
|
|
96
|
+
if (this._optionsGatherer && this._optionsGatherer != ((_b = (_a = this.pluginBus) === null || _a === void 0 ? void 0 : _a.selectOptions) === null || _b === void 0 ? void 0 : _b.optionsGatherer)) {
|
|
97
|
+
this._optionsChangeSubscription.unsubscribe();
|
|
98
|
+
this._optionsChangeSubscription = null;
|
|
99
|
+
this._optionsGatherer = null;
|
|
100
|
+
}
|
|
101
|
+
if (!this._optionsGatherer) {
|
|
102
|
+
this._optionsGatherer = (_d = (_c = this.pluginBus) === null || _c === void 0 ? void 0 : _c.selectOptions) === null || _d === void 0 ? void 0 : _d.optionsGatherer;
|
|
103
|
+
this._optionsChangeSubscription = this._optionsGatherer.optionsChange.subscribe(() => this._loadOptions());
|
|
104
|
+
}
|
|
105
|
+
if (!this._optionSelectSubscription) {
|
|
106
|
+
this._optionSelectSubscription = this.pluginBus.optionSelect.subscribe(this._setValue);
|
|
107
|
+
}
|
|
108
|
+
if (!this._optionCancelSubscription) {
|
|
109
|
+
this._optionCancelSubscription = this.pluginBus.optionCancel.subscribe(this._cancelValue);
|
|
110
|
+
}
|
|
111
|
+
const normalState = this.ngSelectPlugins[NORMAL_STATE];
|
|
112
|
+
this._normalState = normalState;
|
|
113
|
+
this._loadOptions();
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Initialize plugin options, all operations required to be done with plugin options are handled here
|
|
117
|
+
*/
|
|
118
|
+
initOptions() {
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Explicitly runs invalidation of content (change detection)
|
|
122
|
+
*/
|
|
123
|
+
invalidateVisuals() {
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Clears all selected values
|
|
127
|
+
*/
|
|
128
|
+
_clearSelected() {
|
|
129
|
+
this._optionsGatherer.options.forEach((option) => option.selected = false);
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Marks current value as selected
|
|
133
|
+
*/
|
|
134
|
+
_markValueAsSelected() {
|
|
135
|
+
if (this.selectedOptions) {
|
|
136
|
+
if (Array.isArray(this.selectedOptions)) {
|
|
137
|
+
this.selectedOptions.forEach((option) => option.selected = true);
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
this.selectedOptions.selected = true;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
ValueHandlerBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ValueHandlerBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
146
|
+
ValueHandlerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: ValueHandlerBase, ngImport: i0 });
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ValueHandlerBase, decorators: [{
|
|
148
|
+
type: Directive
|
|
149
|
+
}], ctorParameters: function () { return [{ type: undefined }, { type: i0.ElementRef }, { type: i1.PluginBus }]; } });
|
|
150
|
+
//# sourceMappingURL=valueHandlerBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valueHandlerBase.js","sourceRoot":"","sources":["../../../../src/plugins/valueHandler/valueHandlerBase.ts"],"names":[],"mappings":"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","sourcesContent":["import {Directive, ElementRef, EventEmitter, OnDestroy} from '@angular/core';\nimport {Subscription} from 'rxjs';\n\nimport {NgSelectPlugin, OptionsGatherer, CompareValueFunc, LiveSearchFilter, NormalizeFunc} from '../../misc';\nimport {NgSelectPluginInstances} from '../../components/select';\nimport {ɵNgSelectOption, NgSelectOption} from '../../components/option';\nimport {NormalState} from '../normalState';\nimport {NORMAL_STATE} from '../normalState/types';\nimport {ValueHandler, ValueHandlerOptions} from './valueHandler.interface';\nimport {PluginBus} from '../../misc/pluginBus/pluginBus';\n\n/**\n * Base class for value handlers\n */\n@Directive()\nexport abstract class ValueHandlerBase<TValue = any, TOptions extends ValueHandlerOptions = any> implements ValueHandler<TValue>, NgSelectPlugin<TOptions, TValue>, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Options for NgSelect plugin\n */\n protected _options: TOptions;\n\n /**\n * Normal state that is used\n */\n protected _normalState: NormalState;\n\n /**\n * Subscription for option selection\n */\n protected _optionSelectSubscription: Subscription;\n\n /**\n * Subscription for option cancelation\n */\n protected _optionCancelSubscription: Subscription;\n\n /**\n * Subscription for changes of options in options gatherer\n */\n protected _optionsChangeSubscription: Subscription;\n\n /**\n * Instance of previous options gatherer, that is used for obtaining available options\n */\n protected _optionsGatherer: OptionsGatherer<TValue>;\n\n //######################### public properties - implementation of DynamicValueHandler #########################\n\n /**\n * Options for NgSelect plugin\n */\n public abstract options: TOptions;\n\n /**\n * Occurs when value of NgSelect changes\n */\n public valueChange: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Current value of NgSelect\n */\n public selectedOptions: NgSelectOption<TValue>|NgSelectOption<TValue>[];\n\n /**\n * Current selected value of NgSelect\n */\n public get value(): TValue|TValue[]\n {\n if(this.selectedOptions)\n {\n if(Array.isArray(this.selectedOptions))\n {\n return this.selectedOptions.map(opt => opt.value);\n }\n else\n {\n return this.selectedOptions.value;\n }\n }\n\n return null;\n }\n\n //######################### protected properties #########################\n\n /**\n * Function of value comparer that is used for comparison of values\n */\n protected get valueComparer(): CompareValueFunc<TValue>\n {\n return this.pluginBus?.selectOptions?.valueComparer;\n }\n\n /**\n * Method that is used for filtering when live search is running on static data\n */\n protected get liveSearchFilter(): LiveSearchFilter<TValue>\n {\n return this.pluginBus?.selectOptions?.liveSearchFilter;\n }\n\n /**\n * Normalizer used for normalizing values\n */\n protected get normalizer(): NormalizeFunc<TValue>\n {\n return this.pluginBus?.selectOptions?.normalizer;\n }\n\n //######################### constructor #########################\n constructor(public ngSelectPlugins: NgSelectPluginInstances,\n public pluginElement: ElementRef,\n public pluginBus: PluginBus<TValue>)\n {\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy()\n {\n this._optionSelectSubscription?.unsubscribe();\n this._optionSelectSubscription = null;\n\n this._optionsChangeSubscription?.unsubscribe();\n this._optionsChangeSubscription = null;\n\n this._optionCancelSubscription?.unsubscribe();\n this._optionCancelSubscription = null;\n }\n\n //######################### public methods - implementation of DynamicValueHandler #########################\n\n /**\n * Sets value for NgSelect\n * @param value - Value to be set\n */\n public abstract setValue(value:TValue|TValue[]): void;\n\n /**\n * Initialize plugin, to be ready to use, initialize communication with other plugins\n */\n public initialize()\n {\n if(this._optionsGatherer && this._optionsGatherer != this.pluginBus?.selectOptions?.optionsGatherer)\n {\n this._optionsChangeSubscription.unsubscribe();\n this._optionsChangeSubscription = null;\n\n this._optionsGatherer = null;\n }\n\n if(!this._optionsGatherer)\n {\n this._optionsGatherer = this.pluginBus?.selectOptions?.optionsGatherer;\n\n this._optionsChangeSubscription = this._optionsGatherer.optionsChange.subscribe(() => this._loadOptions());\n }\n\n if(!this._optionSelectSubscription)\n {\n this._optionSelectSubscription = this.pluginBus.optionSelect.subscribe(this._setValue);\n }\n\n if(!this._optionCancelSubscription)\n {\n this._optionCancelSubscription = this.pluginBus.optionCancel.subscribe(this._cancelValue);\n }\n\n const normalState = this.ngSelectPlugins[NORMAL_STATE] as NormalState;\n this._normalState = normalState;\n\n this._loadOptions();\n }\n\n /**\n * Initialize plugin options, all operations required to be done with plugin options are handled here\n */\n public initOptions()\n {\n }\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n public invalidateVisuals(): void\n {\n }\n\n //######################### protected methods #########################\n\n /**\n * Sets value \n */\n protected abstract _setValue: (option: ɵNgSelectOption<TValue>) => void;\n\n /**\n * Cancels, removes option from selected options\n * @param option - Option to be canceled\n */\n protected _cancelValue = (option: ɵNgSelectOption<TValue>): void =>\n {\n if(Array.isArray(this.selectedOptions))\n {\n const index = this.selectedOptions.indexOf(option);\n\n if(index >= 0)\n {\n this.selectedOptions.splice(index, 1);\n this.selectedOptions = [...this.selectedOptions];\n }\n }\n else\n {\n if(this.selectedOptions == option)\n {\n this.selectedOptions = null;\n }\n }\n\n this._clearSelected();\n this._markValueAsSelected();\n\n this._normalState.invalidateVisuals();\n this.valueChange.emit();\n }\n\n /**\n * Clears all selected values\n */\n protected _clearSelected()\n {\n this._optionsGatherer.options.forEach((option: ɵNgSelectOption<TValue>) => option.selected = false);\n }\n\n /**\n * Marks current value as selected\n */\n protected _markValueAsSelected()\n {\n if(this.selectedOptions)\n {\n if(Array.isArray(this.selectedOptions))\n {\n this.selectedOptions.forEach((option: ɵNgSelectOption<TValue>) => option.selected = true);\n }\n else\n {\n (this.selectedOptions as ɵNgSelectOption<TValue>).selected = true;\n }\n }\n }\n\n /**\n * Loads options\n */\n protected abstract _loadOptions(): void;\n}"]}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy, Input, ChangeDetectorRef, ElementRef, Inject, Attribute, ComponentFactoryResolver, ApplicationRef, Injector } from '@angular/core';
|
|
2
|
+
import { NgSelectComponent, NG_SELECT_PLUGIN_INSTANCES, CodeOptionsGatherer, PluginBus } from '@anglr/select';
|
|
3
|
+
import { isString } from '@jscrpt/common';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@anglr/select";
|
|
7
|
+
import * as i2 from "@anglr/common";
|
|
8
|
+
import * as i3 from "@angular/common";
|
|
9
|
+
const NG_OPTION = 'NG-OPTION';
|
|
10
|
+
/**
|
|
11
|
+
* Component that represents WebComponent implementation of NgSelect
|
|
12
|
+
*/
|
|
13
|
+
export class NgSelectElementsComponent extends NgSelectComponent {
|
|
14
|
+
//######################### constructors #########################
|
|
15
|
+
constructor(changeDetector, element, componentFactoryResolver, appRef, injector, pluginBus, pluginInstances, readonly, disabled, multiple) {
|
|
16
|
+
super(changeDetector, element, componentFactoryResolver, appRef, injector, pluginBus, pluginInstances, null, null, null, null, null, null, null, null, readonly, disabled, multiple);
|
|
17
|
+
this.pluginInstances = pluginInstances;
|
|
18
|
+
/**
|
|
19
|
+
* Options gatherer used for NgSelect WebComponent
|
|
20
|
+
*/
|
|
21
|
+
this._codeOptionsGatherer = new CodeOptionsGatherer();
|
|
22
|
+
//######################### public methods #########################
|
|
23
|
+
/**
|
|
24
|
+
* Initialize component, automatically called once if not blocked by options
|
|
25
|
+
*/
|
|
26
|
+
this.initializeWC = () => this.initialize();
|
|
27
|
+
/**
|
|
28
|
+
* Initialize options, automaticaly called during init phase, but can be used to reinitialize NgSelectOptions
|
|
29
|
+
*/
|
|
30
|
+
this.initOptionsWC = () => this.initOptions();
|
|
31
|
+
/**
|
|
32
|
+
* Gets instance of plugin by its id
|
|
33
|
+
* @param pluginId - Id of plugin, use constants
|
|
34
|
+
*/
|
|
35
|
+
this.getPluginWC = (pluginId) => this.getPlugin(pluginId);
|
|
36
|
+
/**
|
|
37
|
+
* Explicitly runs invalidation of content (change detection)
|
|
38
|
+
*/
|
|
39
|
+
this.invalidateVisualsWC = () => this.invalidateVisuals();
|
|
40
|
+
/**
|
|
41
|
+
* Executes actions on NgSelect
|
|
42
|
+
* @param actions - Array of actions that are executed over NgSelect
|
|
43
|
+
*/
|
|
44
|
+
this.executeWC = (...actions) => this.execute(...actions);
|
|
45
|
+
/**
|
|
46
|
+
* Executes function on NgSelect and returns result
|
|
47
|
+
* @param func - Function that is executed and its result is returned
|
|
48
|
+
*/
|
|
49
|
+
this.executeAndReturnWC = (func) => this.executeAndReturn(func);
|
|
50
|
+
this._selectOptions.optionsGatherer = this._codeOptionsGatherer;
|
|
51
|
+
this._optionsObserver = new MutationObserver(mutationsList => {
|
|
52
|
+
let added = false;
|
|
53
|
+
let removed = false;
|
|
54
|
+
mutationsList.forEach(itm => {
|
|
55
|
+
itm.addedNodes.forEach(node => {
|
|
56
|
+
if (node.nodeName == NG_OPTION) {
|
|
57
|
+
added = true;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
itm.removedNodes.forEach(node => {
|
|
61
|
+
if (node.nodeName == NG_OPTION) {
|
|
62
|
+
removed = true;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
if (added || removed) {
|
|
66
|
+
const options = [];
|
|
67
|
+
for (let x = 0; x < element.nativeElement.children.length; x++) {
|
|
68
|
+
const itm = element.nativeElement.children.item(x);
|
|
69
|
+
if (itm.nodeName == NG_OPTION) {
|
|
70
|
+
options.push(itm);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
this._codeOptionsGatherer.options = options;
|
|
74
|
+
this._codeOptionsGatherer.optionsChange.emit();
|
|
75
|
+
this._codeOptionsGatherer.availableOptionsChange.emit();
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
this._optionsObserver.observe(element.nativeElement, {
|
|
80
|
+
childList: true
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
//######################### public properties #########################
|
|
84
|
+
/**
|
|
85
|
+
* Occurs every time when NgSelect is initialized or reinitialized, if value is false NgSelect was not initialized yet
|
|
86
|
+
*/
|
|
87
|
+
get initializedWC() {
|
|
88
|
+
return this.initialized;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Gets current state of initialization
|
|
92
|
+
*/
|
|
93
|
+
get isInitializedWC() {
|
|
94
|
+
return this.isInitialized;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets NgSelect options
|
|
98
|
+
*/
|
|
99
|
+
get selectOptionsWC() {
|
|
100
|
+
return this.selectOptions;
|
|
101
|
+
}
|
|
102
|
+
set selectOptionsWC(options) {
|
|
103
|
+
if (isString(options)) {
|
|
104
|
+
try {
|
|
105
|
+
options = JSON.parse(options);
|
|
106
|
+
}
|
|
107
|
+
catch (e) {
|
|
108
|
+
console.log(e);
|
|
109
|
+
options = {};
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
this.selectOptions = options;
|
|
113
|
+
}
|
|
114
|
+
//######################### public methods - implementation of OnDestroy #########################
|
|
115
|
+
/**
|
|
116
|
+
* Called when component is destroyed
|
|
117
|
+
*/
|
|
118
|
+
ngOnDestroy() {
|
|
119
|
+
if (this._optionsObserver) {
|
|
120
|
+
this._optionsObserver.disconnect();
|
|
121
|
+
this._optionsObserver = null;
|
|
122
|
+
}
|
|
123
|
+
super.ngOnDestroy();
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
NgSelectElementsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NgSelectElementsComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }, { token: i1.PluginBus }, { token: NG_SELECT_PLUGIN_INSTANCES }, { token: 'readonly', attribute: true }, { token: 'disabled', attribute: true }, { token: 'multiple', attribute: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
127
|
+
NgSelectElementsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: NgSelectElementsComponent, selector: "ng-select-web-component", inputs: { initializedWC: "initializedWC", isInitializedWC: "isInitializedWC", selectOptionsWC: ["selectOptions", "selectOptionsWC"], initializeWC: "initializeWC", initOptionsWC: "initOptionsWC", getPluginWC: "getPluginWC", invalidateVisualsWC: "invalidateVisualsWC", executeWC: "executeWC", executeAndReturnWC: "executeAndReturnWC" }, providers: [
|
|
128
|
+
{
|
|
129
|
+
provide: NG_SELECT_PLUGIN_INSTANCES,
|
|
130
|
+
useFactory: () => { return {}; }
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
provide: PluginBus,
|
|
134
|
+
useClass: PluginBus
|
|
135
|
+
}
|
|
136
|
+
], usesInheritance: true, ngImport: i0, template: "<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.liveSearch?.type\" (ngComponentOutletExCreated)=\"setLiveSearchComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.positioner?.type\" (ngComponentOutletExCreated)=\"setPositionerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.keyboardHandler?.type\" (ngComponentOutletExCreated)=\"setKeyboardHandlerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.valueHandler?.type\" (ngComponentOutletExCreated)=\"setValueHandlerComponent($event)\"></ng-template>\r\n\r\n<div>\r\n <ng-template [ngIf]=\"!selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.normalState?.type\" (ngComponentOutletExCreated)=\"setNormalStateComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngIf]=\"selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.readonlyState?.type\" (ngComponentOutletExCreated)=\"setReadonlyStateComponent($event)\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.popup?.type\" (ngComponentOutletExCreated)=\"setPopupComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n</div>", styles: [":host\n {\n display: block;\n position: relative;\n }"], directives: [{ type: i2.NgComponentOutletEx, selector: "[ngComponentOutletEx]", inputs: ["ngComponentOutletEx", "ngComponentOutletExInjector", "ngComponentOutletExContent"], outputs: ["ngComponentOutletExCreated"], exportAs: ["ngComponentOutletEx"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NgSelectElementsComponent, decorators: [{
|
|
138
|
+
type: Component,
|
|
139
|
+
args: [{ selector: 'ng-select-web-component', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
140
|
+
{
|
|
141
|
+
provide: NG_SELECT_PLUGIN_INSTANCES,
|
|
142
|
+
useFactory: () => { return {}; }
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
provide: PluginBus,
|
|
146
|
+
useClass: PluginBus
|
|
147
|
+
}
|
|
148
|
+
], styles: [
|
|
149
|
+
`:host
|
|
150
|
+
{
|
|
151
|
+
display: block;
|
|
152
|
+
position: relative;
|
|
153
|
+
}`
|
|
154
|
+
], template: "<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.liveSearch?.type\" (ngComponentOutletExCreated)=\"setLiveSearchComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.positioner?.type\" (ngComponentOutletExCreated)=\"setPositionerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.keyboardHandler?.type\" (ngComponentOutletExCreated)=\"setKeyboardHandlerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.valueHandler?.type\" (ngComponentOutletExCreated)=\"setValueHandlerComponent($event)\"></ng-template>\r\n\r\n<div>\r\n <ng-template [ngIf]=\"!selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.normalState?.type\" (ngComponentOutletExCreated)=\"setNormalStateComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngIf]=\"selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.readonlyState?.type\" (ngComponentOutletExCreated)=\"setReadonlyStateComponent($event)\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.popup?.type\" (ngComponentOutletExCreated)=\"setPopupComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n</div>" }]
|
|
155
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }, { type: i1.PluginBus }, { type: undefined, decorators: [{
|
|
156
|
+
type: Inject,
|
|
157
|
+
args: [NG_SELECT_PLUGIN_INSTANCES]
|
|
158
|
+
}] }, { type: undefined, decorators: [{
|
|
159
|
+
type: Attribute,
|
|
160
|
+
args: ['readonly']
|
|
161
|
+
}] }, { type: undefined, decorators: [{
|
|
162
|
+
type: Attribute,
|
|
163
|
+
args: ['disabled']
|
|
164
|
+
}] }, { type: undefined, decorators: [{
|
|
165
|
+
type: Attribute,
|
|
166
|
+
args: ['multiple']
|
|
167
|
+
}] }]; }, propDecorators: { initializedWC: [{
|
|
168
|
+
type: Input
|
|
169
|
+
}], isInitializedWC: [{
|
|
170
|
+
type: Input
|
|
171
|
+
}], selectOptionsWC: [{
|
|
172
|
+
type: Input,
|
|
173
|
+
args: ['selectOptions']
|
|
174
|
+
}], initializeWC: [{
|
|
175
|
+
type: Input
|
|
176
|
+
}], initOptionsWC: [{
|
|
177
|
+
type: Input
|
|
178
|
+
}], getPluginWC: [{
|
|
179
|
+
type: Input
|
|
180
|
+
}], invalidateVisualsWC: [{
|
|
181
|
+
type: Input
|
|
182
|
+
}], executeWC: [{
|
|
183
|
+
type: Input
|
|
184
|
+
}], executeAndReturnWC: [{
|
|
185
|
+
type: Input
|
|
186
|
+
}] } });
|
|
187
|
+
//# sourceMappingURL=ngSelectElements.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngSelectElements.component.js","sourceRoot":"","sources":["../../../../elements/src/components/ngSelectElements.component.ts","../../../../elements/src/components/ngSelectElements.component.html"],"names":[],"mappings":"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","sourcesContent":["import {Component, ChangeDetectionStrategy, FactoryProvider, Input, ChangeDetectorRef, ElementRef, Inject, Attribute, ComponentFactoryResolver, ApplicationRef, Injector, ClassProvider} from '@angular/core';\nimport {NgSelectComponent, NG_SELECT_PLUGIN_INSTANCES, NgSelectOptions, NgSelectAction, NgSelectFunction, NgSelectPluginInstances, NgSelectPlugin, CodeOptionsGatherer, NgSelectOption, PluginBus} from '@anglr/select';\nimport {isString} from '@jscrpt/common';\nimport {Observable} from 'rxjs';\n\nimport {NgSelectWebComponent} from './ngSelectElements.interface';\n\nconst NG_OPTION = 'NG-OPTION';\n\n/**\n * Component that represents WebComponent implementation of NgSelect\n */\n@Component(\n{\n selector: 'ng-select-web-component',\n templateUrl: 'ngSelectElements.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers:\n [\n <FactoryProvider>\n {\n provide: NG_SELECT_PLUGIN_INSTANCES,\n useFactory: () => {return {};}\n },\n <ClassProvider>\n {\n provide: PluginBus,\n useClass: PluginBus\n }\n ],\n styles: [\n `:host\n {\n display: block;\n position: relative;\n }`\n ]\n})\nexport class NgSelectElementsComponent<TValue = any> extends NgSelectComponent<TValue> implements NgSelectWebComponent<TValue>\n{\n //######################### protected fields #########################\n\n /**\n * Mutation observer, that observes ng-options\n */\n protected _optionsObserver: MutationObserver;\n\n /**\n * Options gatherer used for NgSelect WebComponent\n */\n protected _codeOptionsGatherer: CodeOptionsGatherer<TValue> = new CodeOptionsGatherer<TValue>();\n\n //######################### public properties #########################\n\n /**\n * Occurs every time when NgSelect is initialized or reinitialized, if value is false NgSelect was not initialized yet\n */\n @Input()\n public get initializedWC(): Observable<boolean>\n {\n return this.initialized;\n }\n\n /**\n * Gets current state of initialization\n */\n @Input()\n public get isInitializedWC(): boolean\n {\n return this.isInitialized;\n }\n\n /**\n * Gets or sets NgSelect options\n */\n @Input('selectOptions')\n public get selectOptionsWC(): NgSelectOptions<TValue>\n {\n return this.selectOptions;\n }\n public set selectOptionsWC(options: NgSelectOptions<TValue>)\n {\n if(isString(options))\n {\n try\n {\n options = JSON.parse(options);\n }\n catch(e)\n {\n console.log(e);\n\n options = {};\n }\n }\n\n this.selectOptions = options;\n }\n\n //######################### constructors #########################\n constructor(changeDetector: ChangeDetectorRef,\n element: ElementRef<HTMLElement>,\n componentFactoryResolver: ComponentFactoryResolver,\n appRef: ApplicationRef,\n injector: Injector,\n pluginBus: PluginBus<TValue>,\n @Inject(NG_SELECT_PLUGIN_INSTANCES) protected pluginInstances: NgSelectPluginInstances,\n @Attribute('readonly') readonly?: string,\n @Attribute('disabled') disabled?: string,\n @Attribute('multiple') multiple?: string)\n {\n super(changeDetector, element, componentFactoryResolver, appRef, injector, pluginBus, pluginInstances, null, null, null, null, null, null, null, null, readonly, disabled, multiple);\n\n this._selectOptions.optionsGatherer = this._codeOptionsGatherer;\n\n this._optionsObserver = new MutationObserver(mutationsList =>\n {\n let added: boolean = false;\n let removed: boolean = false;\n\n mutationsList.forEach(itm => \n {\n itm.addedNodes.forEach(node =>\n {\n if(node.nodeName == NG_OPTION)\n {\n added = true;\n }\n });\n\n itm.removedNodes.forEach(node =>\n {\n if(node.nodeName == NG_OPTION)\n {\n removed = true;\n }\n });\n\n if(added || removed)\n {\n const options: NgSelectOption<TValue>[] = [];\n\n for(let x = 0; x < element.nativeElement.children.length; x++)\n {\n const itm = element.nativeElement.children.item(x) as NgSelectOption<TValue> & HTMLElement;\n\n if(itm.nodeName == NG_OPTION)\n {\n options.push(itm);\n }\n }\n\n this._codeOptionsGatherer.options = options;\n this._codeOptionsGatherer.optionsChange.emit();\n this._codeOptionsGatherer.availableOptionsChange.emit();\n }\n });\n });\n\n this._optionsObserver.observe(element.nativeElement,\n {\n childList: true\n });\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public override ngOnDestroy()\n {\n if(this._optionsObserver)\n {\n this._optionsObserver.disconnect();\n this._optionsObserver = null;\n }\n\n super.ngOnDestroy();\n }\n\n //######################### public methods #########################\n\n /**\n * Initialize component, automatically called once if not blocked by options\n */\n @Input()\n public initializeWC = () => this.initialize();\n\n /**\n * Initialize options, automaticaly called during init phase, but can be used to reinitialize NgSelectOptions\n */\n @Input()\n public initOptionsWC = () => this.initOptions();\n\n /**\n * Gets instance of plugin by its id\n * @param pluginId - Id of plugin, use constants\n */\n @Input()\n public getPluginWC = <PluginType extends NgSelectPlugin>(pluginId: string): PluginType => this.getPlugin(pluginId);\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n @Input()\n public invalidateVisualsWC = (): void => this.invalidateVisuals();\n\n /**\n * Executes actions on NgSelect\n * @param actions - Array of actions that are executed over NgSelect\n */\n @Input()\n public executeWC = (...actions: NgSelectAction<TValue>[]) => this.execute(...actions);\n\n /**\n * Executes function on NgSelect and returns result\n * @param func - Function that is executed and its result is returned\n */\n @Input()\n public executeAndReturnWC = <TResult>(func: NgSelectFunction<TResult, TValue>): TResult => this.executeAndReturn(func);\n}","<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.liveSearch?.type\" (ngComponentOutletExCreated)=\"setLiveSearchComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.positioner?.type\" (ngComponentOutletExCreated)=\"setPositionerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.keyboardHandler?.type\" (ngComponentOutletExCreated)=\"setKeyboardHandlerComponent($event)\"></ng-template>\r\n<ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.valueHandler?.type\" (ngComponentOutletExCreated)=\"setValueHandlerComponent($event)\"></ng-template>\r\n\r\n<div>\r\n <ng-template [ngIf]=\"!selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.normalState?.type\" (ngComponentOutletExCreated)=\"setNormalStateComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngIf]=\"selectOptions?.readonly\">\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.readonlyState?.type\" (ngComponentOutletExCreated)=\"setReadonlyStateComponent($event)\"></ng-template>\r\n </ng-template>\r\n\r\n <ng-template [ngComponentOutletEx]=\"selectOptions?.plugins?.popup?.type\" (ngComponentOutletExCreated)=\"setPopupComponent($event)\" [ngComponentOutletExContent]=\"liveSearchElement\"></ng-template>\r\n</div>"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ngSelectElements.interface.js","sourceRoot":"","sources":["../../../../elements/src/components/ngSelectElements.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {NgSelectOptions, NgSelectPlugin, NgSelectAction, NgSelectFunction} from '@anglr/select';\nimport {Observable} from 'rxjs';\n\n/**\n * Public API for NgSelect WebComponent\n */\nexport interface NgSelectWebComponent<TValue = any>\n{\n /**\n * Occurs every time when NgSelect is initialized or reinitialized, if value is false NgSelect was not initialized yet\n */\n readonly initializedWC: Observable<boolean>;\n\n /**\n * Gets current state of initialization\n */\n readonly isInitializedWC: boolean;\n\n /**\n * Gets or sets NgSelect options\n */\n selectOptionsWC: NgSelectOptions<TValue>;\n\n /**\n * Initialize component, automatically called once if not blocked by options\n */\n initializeWC(): void;\n\n /**\n * Initialize options, automaticaly called during init phase, but can be used to reinitialize NgSelectOptions\n */\n initOptionsWC(): void;\n\n /**\n * Gets instance of plugin by its id\n * @param pluginId - Id of plugin, use constants\n */\n getPluginWC<PluginType extends NgSelectPlugin>(pluginId: string): PluginType;\n\n /**\n * Explicitly runs invalidation of content (change detection)\n */\n invalidateVisualsWC(): void;\n\n /**\n * Executes actions on NgSelect\n * @param actions - Array of actions that are executed over NgSelect\n */\n executeWC(...actions: NgSelectAction<TValue>[]): void;\n\n /**\n * Executes function on NgSelect and returns result\n * @param func - Function that is executed and its result is returned\n */\n executeAndReturnWC<TResult>(func: NgSelectFunction<TResult, TValue>): TResult;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC","sourcesContent":["export * from './components/ngSelectElements.component';\nexport * from './modules/ngSelectElements.module';\nexport * from './components/ngSelectElements.interface';"]}
|
|
@@ -0,0 +1,52 @@
|
|
|
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: "13.2.3", ngImport: i0, type: NgSelectElementsModule, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
+
NgSelectElementsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NgSelectElementsModule, declarations: [NgSelectElementsComponent], imports: [BrowserModule,
|
|
29
|
+
CommonModule,
|
|
30
|
+
CommonDynamicModule,
|
|
31
|
+
NgSelectModule] });
|
|
32
|
+
NgSelectElementsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NgSelectElementsModule, imports: [[
|
|
33
|
+
BrowserModule,
|
|
34
|
+
CommonModule,
|
|
35
|
+
CommonDynamicModule,
|
|
36
|
+
NgSelectModule,
|
|
37
|
+
]] });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NgSelectElementsModule, decorators: [{
|
|
39
|
+
type: NgModule,
|
|
40
|
+
args: [{
|
|
41
|
+
imports: [
|
|
42
|
+
BrowserModule,
|
|
43
|
+
CommonModule,
|
|
44
|
+
CommonDynamicModule,
|
|
45
|
+
NgSelectModule,
|
|
46
|
+
],
|
|
47
|
+
declarations: [
|
|
48
|
+
NgSelectElementsComponent
|
|
49
|
+
]
|
|
50
|
+
}]
|
|
51
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
52
|
+
//# sourceMappingURL=ngSelectElements.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,YAX/B;YACI,aAAa;YACb,YAAY;YACZ,mBAAmB;YACnB,cAAc;SACjB;2FAMQ,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}"]}
|
|
@@ -0,0 +1 @@
|
|
|
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';"]}
|
|
@@ -0,0 +1 @@
|
|
|
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';"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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}"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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}"]}
|
|
@@ -0,0 +1 @@
|
|
|
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';"]}
|
|
@@ -0,0 +1 @@
|
|
|
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';"]}
|
|
@@ -0,0 +1 @@
|
|
|
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';"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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';"]}
|