@anglr/select 15.0.0 → 16.0.0-beta.20260226142137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +153 -0
- package/es2022/extensions/src/extensions/getValue.js +16 -1
- package/es2022/extensions/src/extensions/getValue.js.map +1 -1
- package/es2022/extensions/src/extensions/onFocus.js +14 -1
- package/es2022/extensions/src/extensions/onFocus.js.map +1 -1
- package/es2022/extensions/src/extensions/patchOptions.js +15 -11
- package/es2022/extensions/src/extensions/patchOptions.js.map +1 -1
- package/es2022/extensions/src/extensions/reinitializeOptions.js +19 -14
- package/es2022/extensions/src/extensions/reinitializeOptions.js.map +1 -1
- package/es2022/extensions/src/extensions/setReadonly.js +21 -1
- package/es2022/extensions/src/extensions/setReadonly.js.map +1 -1
- package/es2022/extensions/src/extensions/setValue.js +17 -1
- package/es2022/extensions/src/extensions/setValue.js.map +1 -1
- package/es2022/extensions/src/extensions/valueChange.js +17 -1
- package/es2022/extensions/src/extensions/valueChange.js.map +1 -1
- package/es2022/extensions/src/index.js +1 -7
- package/es2022/extensions/src/index.js.map +1 -1
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js +100 -72
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.component.js.map +1 -1
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.interface.js +26 -1
- package/es2022/material/src/components/basicDialogPopup/basicDialogPopup.interface.js.map +1 -1
- package/es2022/material/src/components/basicDialogPopup/index.js +2 -1
- package/es2022/material/src/components/basicDialogPopup/index.js.map +1 -1
- package/es2022/material/src/components/basicDialogPopup/types.js +2 -1
- package/es2022/material/src/components/basicDialogPopup/types.js.map +1 -1
- package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js +73 -74
- package/es2022/material/src/directives/dialogPopup/dialogPopup.directive.js.map +1 -1
- package/es2022/material/src/index.js +1 -7
- package/es2022/material/src/index.js.map +1 -1
- package/es2022/material/src/modules/dialogPopup.module.js +33 -40
- package/es2022/material/src/modules/dialogPopup.module.js.map +1 -1
- package/es2022/material/src/modules/virtualEditPopup.module.js +27 -30
- package/es2022/material/src/modules/virtualEditPopup.module.js.map +1 -1
- package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js +172 -140
- package/es2022/material/src/plugins/popup/dialog/dialogPopup.component.js.map +1 -1
- package/es2022/material/src/plugins/popup/dialog/dialogPopup.interface.js +65 -1
- package/es2022/material/src/plugins/popup/dialog/dialogPopup.interface.js.map +1 -1
- package/es2022/material/src/plugins/popup/index.js +1 -2
- package/es2022/material/src/plugins/popup/index.js.map +1 -1
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js +120 -88
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.js.map +1 -1
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js +20 -1
- package/es2022/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.js.map +1 -1
- package/es2022/src/components/index.js +4 -0
- package/es2022/src/components/index.js.map +1 -0
- package/es2022/src/components/option/option.component.js +22 -19
- package/es2022/src/components/option/option.component.js.map +1 -1
- package/es2022/src/components/optionGroup/optgroup.component.js +29 -0
- package/es2022/src/components/optionGroup/optgroup.component.js.map +1 -0
- package/es2022/src/components/select/select.component.js +356 -450
- package/es2022/src/components/select/select.component.js.map +1 -1
- package/es2022/src/decorators/index.js +2 -0
- package/es2022/src/decorators/index.js.map +1 -0
- package/es2022/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.js +12 -0
- package/es2022/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.js.map +1 -0
- package/es2022/src/directives/index.js +5 -0
- package/es2022/src/directives/index.js.map +1 -0
- package/es2022/src/directives/normalStateTemplate/normalStateTemplate.directive.js +30 -0
- package/es2022/src/directives/normalStateTemplate/normalStateTemplate.directive.js.map +1 -0
- package/es2022/src/directives/optionTemplate/optionTemplate.directive.js +30 -0
- package/es2022/src/directives/optionTemplate/optionTemplate.directive.js.map +1 -0
- package/es2022/src/directives/selectAbsolute/selectAbsolute.directive.js +25 -0
- package/es2022/src/directives/selectAbsolute/selectAbsolute.directive.js.map +1 -0
- package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js +210 -0
- package/es2022/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.js.map +1 -0
- package/es2022/src/directives/selectEdit/selectEdit.directive.js +51 -0
- package/es2022/src/directives/selectEdit/selectEdit.directive.js.map +1 -0
- package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js +48 -0
- package/es2022/src/directives/selectPlaceholder/selectPlaceholder.directive.js.map +1 -0
- package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js +17 -0
- package/es2022/src/directives/withDirectAccess/withDirectAccess.directive.js.map +1 -0
- package/es2022/src/index.js +8 -41
- package/es2022/src/index.js.map +1 -1
- package/es2022/src/interfaces/index.js +20 -0
- package/es2022/src/interfaces/index.js.map +1 -0
- package/es2022/src/interfaces/initState/initState.interface.js +2 -0
- package/es2022/src/interfaces/initState/initState.interface.js.map +1 -0
- package/es2022/src/interfaces/normalStateContext/normalStateContext.interface.js +2 -0
- package/es2022/src/interfaces/normalStateContext/normalStateContext.interface.js.map +1 -0
- package/es2022/src/interfaces/optionsGatherer/optionsGatherer.interface.js +2 -0
- package/es2022/src/interfaces/optionsGatherer/optionsGatherer.interface.js.map +1 -0
- package/es2022/src/interfaces/pluginDescription/pluginDescription.interface.js +2 -0
- package/es2022/src/interfaces/pluginDescription/pluginDescription.interface.js.map +1 -0
- package/es2022/src/interfaces/pluginOptions/pluginOptions.interface.js +2 -0
- package/es2022/src/interfaces/pluginOptions/pluginOptions.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/index.js +10 -0
- package/es2022/src/interfaces/plugins/index.js.map +1 -0
- package/es2022/src/interfaces/plugins/interactions/interactions.interface.js +2 -0
- package/es2022/src/interfaces/plugins/interactions/interactions.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/liveSearch/liveSearch.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/normalState/normalState.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/optionsHandler/optionsHandler.interface.js +2 -0
- package/es2022/src/interfaces/plugins/optionsHandler/optionsHandler.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/popup/popup.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/positioner/positioner.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/readonlyState/readonlyState.interface.js.map +1 -0
- package/es2022/src/interfaces/plugins/valueHandler/valueHandler.interface.js.map +1 -0
- package/es2022/src/interfaces/popupContext/popupContext.interface.js +2 -0
- package/es2022/src/interfaces/popupContext/popupContext.interface.js.map +1 -0
- package/es2022/src/interfaces/selectApi/selectApi.interface.js +2 -0
- package/es2022/src/interfaces/selectApi/selectApi.interface.js.map +1 -0
- package/es2022/src/interfaces/selectBusOptions/selectBusOptions.interface.js +2 -0
- package/es2022/src/interfaces/selectBusOptions/selectBusOptions.interface.js.map +1 -0
- package/es2022/src/interfaces/selectCssClasses/selectCssClasses.interface.js +2 -0
- package/es2022/src/interfaces/selectCssClasses/selectCssClasses.interface.js.map +1 -0
- package/es2022/src/interfaces/selectEvent/selectEvent.interface.js +2 -0
- package/es2022/src/interfaces/selectEvent/selectEvent.interface.js.map +1 -0
- package/es2022/src/interfaces/selectEvents/selectEvents.interface.js +2 -0
- package/es2022/src/interfaces/selectEvents/selectEvents.interface.js.map +1 -0
- package/es2022/src/interfaces/selectOption/selectOption.interface.js +2 -0
- package/es2022/src/interfaces/selectOption/selectOption.interface.js.map +1 -0
- package/es2022/src/interfaces/selectOptionGroup/selectOptionGroup.interface.js +2 -0
- package/es2022/src/interfaces/selectOptionGroup/selectOptionGroup.interface.js.map +1 -0
- package/es2022/src/interfaces/selectOptions/selectOptions.interface.js +2 -0
- package/es2022/src/interfaces/selectOptions/selectOptions.interface.js.map +1 -0
- package/es2022/src/interfaces/selectPlugin/selectPlugin.interface.js +2 -0
- package/es2022/src/interfaces/selectPlugin/selectPlugin.interface.js.map +1 -0
- package/es2022/src/interfaces/selectPluginTypes/selectPluginTypes.interface.js +2 -0
- package/es2022/src/interfaces/selectPluginTypes/selectPluginTypes.interface.js.map +1 -0
- package/es2022/src/interfaces/templateGatherer/templateGatherer.interface.js.map +1 -0
- package/es2022/src/interfaces/visualPluginOptions/visualPluginOptions.interface.js +2 -0
- package/es2022/src/interfaces/visualPluginOptions/visualPluginOptions.interface.js.map +1 -0
- package/es2022/src/misc/classes/index.js +3 -0
- package/es2022/src/misc/classes/index.js.map +1 -0
- package/es2022/src/misc/{pluginBus/pluginBus.js → classes/selectBus/selectBus.js} +17 -8
- package/es2022/src/misc/classes/selectBus/selectBus.js.map +1 -0
- package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js +163 -0
- package/es2022/src/misc/classes/selectPluginInstances/selectPluginInstances.js.map +1 -0
- package/es2022/src/misc/enums.js +43 -0
- package/es2022/src/misc/enums.js.map +1 -0
- package/es2022/src/misc/extensions/getValue.js +16 -11
- package/es2022/src/misc/extensions/getValue.js.map +1 -1
- package/es2022/src/misc/extensions/index.js +6 -5
- package/es2022/src/misc/extensions/index.js.map +1 -1
- package/es2022/src/misc/extensions/onFocus.js +14 -9
- package/es2022/src/misc/extensions/onFocus.js.map +1 -1
- package/es2022/src/misc/extensions/setReadonly.js +22 -17
- package/es2022/src/misc/extensions/setReadonly.js.map +1 -1
- package/es2022/src/misc/extensions/setValue.js +17 -12
- package/es2022/src/misc/extensions/setValue.js.map +1 -1
- package/es2022/src/misc/extensions/valueChange.js +17 -11
- package/es2022/src/misc/extensions/valueChange.js.map +1 -1
- package/es2022/src/misc/ngSelectOptions.interface.js.map +1 -1
- package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js +119 -82
- package/es2022/src/misc/optionsGatherer/codeOptionsGatherer.js.map +1 -1
- package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js +31 -1
- package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.js.map +1 -1
- package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js +178 -117
- package/es2022/src/misc/optionsGatherer/dynamicOptionsGatherer.js.map +1 -1
- package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js +155 -109
- package/es2022/src/misc/optionsGatherer/excludingOptionsGatherer.js.map +1 -1
- package/es2022/src/misc/optionsGatherer/optionsGatherer.interface.js +55 -1
- package/es2022/src/misc/optionsGatherer/optionsGatherer.interface.js.map +1 -1
- package/es2022/src/misc/optionsGatherer/types.js +4 -3
- package/es2022/src/misc/optionsGatherer/types.js.map +1 -1
- package/es2022/src/misc/providers.js +102 -0
- package/es2022/src/misc/providers.js.map +1 -0
- package/es2022/src/misc/tokens.js +78 -0
- package/es2022/src/misc/tokens.js.map +1 -0
- package/es2022/src/misc/types.js +1 -33
- package/es2022/src/misc/types.js.map +1 -1
- package/es2022/src/modules/index.js +2 -0
- package/es2022/src/modules/index.js.map +1 -0
- package/es2022/src/modules/ngSelect.module.js +31 -75
- package/es2022/src/modules/ngSelect.module.js.map +1 -1
- package/es2022/src/modules/ngSelectEdit.module.js +39 -50
- package/es2022/src/modules/ngSelectEdit.module.js.map +1 -1
- package/es2022/src/pipes/getPlugin/getPlugin.pipe.js +17 -0
- package/es2022/src/pipes/getPlugin/getPlugin.pipe.js.map +1 -0
- package/es2022/src/pipes/index.js +4 -0
- package/es2022/src/pipes/index.js.map +1 -0
- package/es2022/src/pipes/{ngSelectHasValue.pipe.js → selectHasValue/selectHasValue.pipe.js} +7 -7
- package/es2022/src/pipes/selectHasValue/selectHasValue.pipe.js.map +1 -0
- package/es2022/src/pipes/selectValue/selectValue.pipe.js +31 -0
- package/es2022/src/pipes/selectValue/selectValue.pipe.js.map +1 -0
- package/es2022/src/plugins/index.js +10 -0
- package/es2022/src/plugins/index.js.map +1 -0
- package/es2022/src/plugins/interactions/index.js +2 -0
- package/es2022/src/plugins/interactions/index.js.map +1 -0
- package/es2022/src/plugins/interactions/noInteractions/noInteractions.component.js +36 -0
- package/es2022/src/plugins/interactions/noInteractions/noInteractions.component.js.map +1 -0
- package/es2022/src/plugins/keyboardHandler/index.js +1 -3
- package/es2022/src/plugins/keyboardHandler/index.js.map +1 -1
- package/es2022/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.js +36 -0
- package/es2022/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.js.map +1 -0
- package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js +36 -0
- package/es2022/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.js.map +1 -0
- package/es2022/src/plugins/liveSearch/index.js +2 -4
- package/es2022/src/plugins/liveSearch/index.js.map +1 -1
- package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js +36 -0
- package/es2022/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.js.map +1 -0
- package/es2022/src/plugins/normalState/index.js +1 -3
- package/es2022/src/plugins/normalState/index.js.map +1 -1
- package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js +36 -0
- package/es2022/src/plugins/normalState/simpleNormalState/simpleNormalState.component.js.map +1 -0
- package/es2022/src/plugins/optionsHandler/index.js +2 -0
- package/es2022/src/plugins/optionsHandler/index.js.map +1 -0
- package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js +50 -0
- package/es2022/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.js.map +1 -0
- package/es2022/src/plugins/popup/index.js +1 -3
- package/es2022/src/plugins/popup/index.js.map +1 -1
- package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js +36 -0
- package/es2022/src/plugins/popup/simplePopup/simplePopup.component.js.map +1 -0
- package/es2022/src/plugins/positioner/basicPositioner/basicPositioner.component.js +36 -0
- package/es2022/src/plugins/positioner/basicPositioner/basicPositioner.component.js.map +1 -0
- package/es2022/src/plugins/positioner/index.js +1 -3
- package/es2022/src/plugins/positioner/index.js.map +1 -1
- package/es2022/src/plugins/readonlyState/index.js +1 -1
- package/es2022/src/plugins/readonlyState/index.js.map +1 -1
- package/es2022/src/plugins/valueHandler/index.js +1 -4
- package/es2022/src/plugins/valueHandler/index.js.map +1 -1
- package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js +81 -0
- package/es2022/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.js.map +1 -0
- package/extensions/src/extensions/getValue.d.ts +0 -1
- package/extensions/src/extensions/getValue.d.ts.map +1 -1
- package/extensions/src/extensions/onFocus.d.ts +0 -1
- package/extensions/src/extensions/onFocus.d.ts.map +1 -1
- package/extensions/src/extensions/patchOptions.d.ts +0 -6
- package/extensions/src/extensions/patchOptions.d.ts.map +1 -1
- package/extensions/src/extensions/reinitializeOptions.d.ts +0 -6
- package/extensions/src/extensions/reinitializeOptions.d.ts.map +1 -1
- package/extensions/src/extensions/setReadonly.d.ts +0 -1
- package/extensions/src/extensions/setReadonly.d.ts.map +1 -1
- package/extensions/src/extensions/setValue.d.ts +0 -1
- package/extensions/src/extensions/setValue.d.ts.map +1 -1
- package/extensions/src/extensions/valueChange.d.ts +0 -1
- package/extensions/src/extensions/valueChange.d.ts.map +1 -1
- package/extensions/src/index.d.ts +1 -7
- package/extensions/src/index.d.ts.map +1 -1
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts +0 -46
- package/material/src/components/basicDialogPopup/basicDialogPopup.component.d.ts.map +1 -1
- package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts +0 -23
- package/material/src/components/basicDialogPopup/basicDialogPopup.interface.d.ts.map +1 -1
- package/material/src/components/basicDialogPopup/index.d.ts +0 -1
- package/material/src/components/basicDialogPopup/index.d.ts.map +1 -1
- package/material/src/components/basicDialogPopup/types.d.ts +0 -1
- package/material/src/components/basicDialogPopup/types.d.ts.map +1 -1
- package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts +0 -26
- package/material/src/directives/dialogPopup/dialogPopup.directive.d.ts.map +1 -1
- package/material/src/index.d.ts +1 -7
- package/material/src/index.d.ts.map +1 -1
- package/material/src/modules/dialogPopup.module.d.ts +0 -14
- package/material/src/modules/dialogPopup.module.d.ts.map +1 -1
- package/material/src/modules/virtualEditPopup.module.d.ts +0 -12
- package/material/src/modules/virtualEditPopup.module.d.ts.map +1 -1
- package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts +0 -82
- package/material/src/plugins/popup/dialog/dialogPopup.component.d.ts.map +1 -1
- package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts +0 -59
- package/material/src/plugins/popup/dialog/dialogPopup.interface.d.ts.map +1 -1
- package/material/src/plugins/popup/index.d.ts +1 -2
- package/material/src/plugins/popup/index.d.ts.map +1 -1
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts +0 -29
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.component.d.ts.map +1 -1
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts +0 -16
- package/material/src/plugins/popup/virtualEdit/virtualEditPopup.interface.d.ts.map +1 -1
- package/package.json +27 -19
- package/src/components/index.d.ts +4 -0
- package/src/components/index.d.ts.map +1 -0
- package/src/components/option/option.component.d.ts +15 -14
- package/src/components/option/option.component.d.ts.map +1 -1
- package/src/components/optionGroup/optgroup.component.d.ts +25 -0
- package/src/components/optionGroup/optgroup.component.d.ts.map +1 -0
- package/src/components/select/select.component.css +5 -0
- package/src/components/select/select.component.d.ts +94 -179
- package/src/components/select/select.component.d.ts.map +1 -1
- package/src/components/select/select.component.html +10 -16
- package/src/decorators/index.d.ts +2 -0
- package/src/{components/select → decorators}/index.d.ts.map +1 -1
- package/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.d.ts +5 -0
- package/src/decorators/mergeOptionsAsSignal/mergeOptionsAsSignal.decorator.d.ts.map +1 -0
- package/src/directives/index.d.ts +5 -0
- package/src/directives/index.d.ts.map +1 -0
- package/src/directives/normalStateTemplate/normalStateTemplate.directive.d.ts +19 -0
- package/src/directives/normalStateTemplate/normalStateTemplate.directive.d.ts.map +1 -0
- package/src/directives/optionTemplate/optionTemplate.directive.d.ts +19 -0
- package/src/directives/optionTemplate/optionTemplate.directive.d.ts.map +1 -0
- package/src/directives/selectAbsolute/selectAbsolute.directive.d.ts +12 -0
- package/src/directives/selectAbsolute/selectAbsolute.directive.d.ts.map +1 -0
- package/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.d.ts +1 -0
- package/src/directives/selectControlValueAccessor/selectControlValueAccessor.directive.d.ts.map +1 -0
- package/src/directives/selectEdit/selectEdit.directive.d.ts +1 -0
- package/src/directives/selectEdit/selectEdit.directive.d.ts.map +1 -0
- package/src/directives/selectPlaceholder/selectPlaceholder.directive.d.ts +1 -0
- package/src/directives/selectPlaceholder/selectPlaceholder.directive.d.ts.map +1 -0
- package/src/directives/withDirectAccess/withDirectAccess.directive.d.ts +9 -0
- package/src/directives/withDirectAccess/withDirectAccess.directive.d.ts.map +1 -0
- package/src/index.d.ts +8 -41
- package/src/index.d.ts.map +1 -1
- package/src/interfaces/index.d.ts +20 -0
- package/src/interfaces/index.d.ts.map +1 -0
- package/src/interfaces/initState/initState.interface.d.ts +10 -0
- package/src/interfaces/initState/initState.interface.d.ts.map +1 -0
- package/src/interfaces/normalStateContext/normalStateContext.interface.d.ts +11 -0
- package/src/interfaces/normalStateContext/normalStateContext.interface.d.ts.map +1 -0
- package/src/interfaces/optionsGatherer/optionsGatherer.interface.d.ts +12 -0
- package/src/interfaces/optionsGatherer/optionsGatherer.interface.d.ts.map +1 -0
- package/src/interfaces/pluginDescription/pluginDescription.interface.d.ts +21 -0
- package/src/interfaces/pluginDescription/pluginDescription.interface.d.ts.map +1 -0
- package/src/interfaces/pluginOptions/pluginOptions.interface.d.ts +6 -0
- package/src/interfaces/pluginOptions/pluginOptions.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/index.d.ts +10 -0
- package/src/interfaces/plugins/index.d.ts.map +1 -0
- package/src/interfaces/plugins/interactions/interactions.interface.d.ts +13 -0
- package/src/interfaces/plugins/interactions/interactions.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.d.ts +13 -0
- package/src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/liveSearch/liveSearch.interface.d.ts +13 -0
- package/src/interfaces/plugins/liveSearch/liveSearch.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/normalState/normalState.interface.d.ts +31 -0
- package/src/interfaces/plugins/normalState/normalState.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/optionsHandler/optionsHandler.interface.d.ts +19 -0
- package/src/interfaces/plugins/optionsHandler/optionsHandler.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/popup/popup.interface.d.ts +13 -0
- package/src/interfaces/plugins/popup/popup.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/positioner/positioner.interface.d.ts +13 -0
- package/src/interfaces/plugins/positioner/positioner.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/readonlyState/readonlyState.interface.d.ts +12 -0
- package/src/interfaces/plugins/readonlyState/readonlyState.interface.d.ts.map +1 -0
- package/src/interfaces/plugins/valueHandler/valueHandler.interface.d.ts +23 -0
- package/src/interfaces/plugins/valueHandler/valueHandler.interface.d.ts.map +1 -0
- package/src/interfaces/popupContext/popupContext.interface.d.ts +16 -0
- package/src/interfaces/popupContext/popupContext.interface.d.ts.map +1 -0
- package/src/interfaces/selectApi/selectApi.interface.d.ts +50 -0
- package/src/interfaces/selectApi/selectApi.interface.d.ts.map +1 -0
- package/src/interfaces/selectBusOptions/selectBusOptions.interface.d.ts +29 -0
- package/src/interfaces/selectBusOptions/selectBusOptions.interface.d.ts.map +1 -0
- package/src/interfaces/selectCssClasses/selectCssClasses.interface.d.ts +6 -0
- package/src/interfaces/selectCssClasses/selectCssClasses.interface.d.ts.map +1 -0
- package/src/interfaces/selectEvent/selectEvent.interface.d.ts +20 -0
- package/src/interfaces/selectEvent/selectEvent.interface.d.ts.map +1 -0
- package/src/interfaces/selectEvents/selectEvents.interface.d.ts +37 -0
- package/src/interfaces/selectEvents/selectEvents.interface.d.ts.map +1 -0
- package/src/interfaces/selectOption/selectOption.interface.d.ts +33 -0
- package/src/interfaces/selectOption/selectOption.interface.d.ts.map +1 -0
- package/src/interfaces/selectOptionGroup/selectOptionGroup.interface.d.ts +21 -0
- package/src/interfaces/selectOptionGroup/selectOptionGroup.interface.d.ts.map +1 -0
- package/src/interfaces/selectOptions/selectOptions.interface.d.ts +27 -0
- package/src/interfaces/selectOptions/selectOptions.interface.d.ts.map +1 -0
- package/src/interfaces/selectPlugin/selectPlugin.interface.d.ts +33 -0
- package/src/interfaces/selectPlugin/selectPlugin.interface.d.ts.map +1 -0
- package/src/interfaces/selectPluginTypes/selectPluginTypes.interface.d.ts +44 -0
- package/src/interfaces/selectPluginTypes/selectPluginTypes.interface.d.ts.map +1 -0
- package/src/interfaces/templateGatherer/templateGatherer.interface.d.ts +17 -0
- package/src/interfaces/templateGatherer/templateGatherer.interface.d.ts.map +1 -0
- package/src/interfaces/visualPluginOptions/visualPluginOptions.interface.d.ts +11 -0
- package/src/interfaces/visualPluginOptions/visualPluginOptions.interface.d.ts.map +1 -0
- package/src/misc/classes/index.d.ts +3 -0
- package/src/misc/classes/index.d.ts.map +1 -0
- package/src/misc/classes/selectBus/selectBus.d.ts +54 -0
- package/src/misc/classes/selectBus/selectBus.d.ts.map +1 -0
- package/src/misc/classes/selectPluginInstances/selectPluginInstances.d.ts +90 -0
- package/src/misc/classes/selectPluginInstances/selectPluginInstances.d.ts.map +1 -0
- package/src/misc/enums.d.ts +42 -0
- package/src/misc/enums.d.ts.map +1 -0
- package/src/misc/extensions/getValue.d.ts +0 -6
- package/src/misc/extensions/getValue.d.ts.map +1 -1
- package/src/misc/extensions/index.d.ts +0 -5
- package/src/misc/extensions/index.d.ts.map +1 -1
- package/src/misc/extensions/onFocus.d.ts +0 -7
- package/src/misc/extensions/onFocus.d.ts.map +1 -1
- package/src/misc/extensions/setReadonly.d.ts +0 -7
- package/src/misc/extensions/setReadonly.d.ts.map +1 -1
- package/src/misc/extensions/setValue.d.ts +0 -7
- package/src/misc/extensions/setValue.d.ts.map +1 -1
- package/src/misc/extensions/valueChange.d.ts +0 -7
- package/src/misc/extensions/valueChange.d.ts.map +1 -1
- package/src/misc/ngSelectOptions.interface.d.ts +0 -71
- package/src/misc/ngSelectOptions.interface.d.ts.map +1 -1
- package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts +0 -69
- package/src/misc/optionsGatherer/codeOptionsGatherer.d.ts.map +1 -1
- package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts +0 -85
- package/src/misc/optionsGatherer/dynamicOptionsGatherer.d.ts.map +1 -1
- package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts +0 -28
- package/src/misc/optionsGatherer/dynamicOptionsGatherer.interface.d.ts.map +1 -1
- package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts +0 -72
- package/src/misc/optionsGatherer/excludingOptionsGatherer.d.ts.map +1 -1
- package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts +0 -52
- package/src/misc/optionsGatherer/optionsGatherer.interface.d.ts.map +1 -1
- package/src/misc/optionsGatherer/types.d.ts +0 -3
- package/src/misc/optionsGatherer/types.d.ts.map +1 -1
- package/src/misc/providers.d.ts +54 -0
- package/src/misc/providers.d.ts.map +1 -0
- package/src/misc/tokens.d.ts +81 -0
- package/src/misc/tokens.d.ts.map +1 -0
- package/src/misc/types.d.ts +11 -31
- package/src/misc/types.d.ts.map +1 -1
- package/src/modules/index.d.ts +2 -0
- package/src/modules/index.d.ts.map +1 -0
- package/src/modules/ngSelect.module.d.ts +7 -20
- package/src/modules/ngSelect.module.d.ts.map +1 -1
- package/src/modules/ngSelectEdit.module.d.ts +0 -16
- package/src/modules/ngSelectEdit.module.d.ts.map +1 -1
- package/src/pipes/getPlugin/getPlugin.pipe.d.ts +25 -0
- package/src/pipes/getPlugin/getPlugin.pipe.d.ts.map +1 -0
- package/src/pipes/index.d.ts +4 -0
- package/src/pipes/index.d.ts.map +1 -0
- package/src/pipes/selectHasValue/selectHasValue.pipe.d.ts +16 -0
- package/src/pipes/selectHasValue/selectHasValue.pipe.d.ts.map +1 -0
- package/src/pipes/selectValue/selectValue.pipe.d.ts +19 -0
- package/src/pipes/selectValue/selectValue.pipe.d.ts.map +1 -0
- package/src/plugins/index.d.ts +9 -0
- package/src/plugins/index.d.ts.map +1 -0
- package/src/plugins/interactions/index.d.ts +2 -0
- package/src/plugins/interactions/index.d.ts.map +1 -0
- package/src/plugins/interactions/noInteractions/noInteractions.component.d.ts +28 -0
- package/src/plugins/interactions/noInteractions/noInteractions.component.d.ts.map +1 -0
- package/src/plugins/keyboardHandler/index.d.ts +1 -3
- package/src/plugins/keyboardHandler/index.d.ts.map +1 -1
- package/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.d.ts +28 -0
- package/src/plugins/keyboardHandler/simpleKeyboardHandler/simpleKeyboardHandler.component.d.ts.map +1 -0
- package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts +28 -0
- package/src/plugins/liveSearch/filterLiveSearch/filterLiveSearch.component.d.ts.map +1 -0
- package/src/plugins/liveSearch/index.d.ts +2 -4
- package/src/plugins/liveSearch/index.d.ts.map +1 -1
- package/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.d.ts +28 -0
- package/src/plugins/liveSearch/noLiveSearch/noLiveSearch.component.d.ts.map +1 -0
- package/src/plugins/normalState/index.d.ts +1 -3
- package/src/plugins/normalState/index.d.ts.map +1 -1
- package/src/plugins/normalState/simpleNormalState/simpleNormalState.component.d.ts +28 -0
- package/src/plugins/normalState/simpleNormalState/simpleNormalState.component.d.ts.map +1 -0
- package/src/plugins/optionsHandler/index.d.ts +2 -0
- package/src/plugins/optionsHandler/index.d.ts.map +1 -0
- package/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.d.ts +41 -0
- package/src/plugins/optionsHandler/noOptionsHandler/noOptionsHandler.component.d.ts.map +1 -0
- package/src/plugins/popup/index.d.ts +1 -3
- package/src/plugins/popup/index.d.ts.map +1 -1
- package/src/plugins/popup/simplePopup/simplePopup.component.d.ts +28 -0
- package/src/plugins/popup/simplePopup/simplePopup.component.d.ts.map +1 -0
- package/src/plugins/positioner/basicPositioner/basicPositioner.component.d.ts +28 -0
- package/src/plugins/positioner/basicPositioner/basicPositioner.component.d.ts.map +1 -0
- package/src/plugins/positioner/index.d.ts +1 -3
- package/src/plugins/positioner/index.d.ts.map +1 -1
- package/src/plugins/readonlyState/index.d.ts +0 -1
- package/src/plugins/readonlyState/index.d.ts.map +1 -1
- package/src/plugins/valueHandler/index.d.ts +1 -4
- package/src/plugins/valueHandler/index.d.ts.map +1 -1
- package/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.d.ts +46 -0
- package/src/plugins/valueHandler/staticValueHandler/staticValueHandler.component.d.ts.map +1 -0
- package/styles/components/_grid.scss +9 -0
- package/styles/core/_functions.scss +10 -0
- package/styles/core/_misc.scss +146 -0
- package/styles/core/_mixins.scss +44 -0
- package/styles/core/_theme.scss +16 -0
- package/styles/index.scss +2 -0
- package/styles/themes/dark.scss +19 -0
- package/styles/themes/light.scss +19 -0
- package/version.bak +1 -1
- package/es2022/material/src/directives/types.js +0 -2
- package/es2022/material/src/directives/types.js.map +0 -1
- package/es2022/material/src/plugins/popup/components.js +0 -3
- package/es2022/material/src/plugins/popup/components.js.map +0 -1
- package/es2022/src/components/option/index.js +0 -3
- package/es2022/src/components/option/index.js.map +0 -1
- package/es2022/src/components/option/optgroup.component.js +0 -54
- package/es2022/src/components/option/optgroup.component.js.map +0 -1
- package/es2022/src/components/option/optgroup.interface.js +0 -2
- package/es2022/src/components/option/optgroup.interface.js.map +0 -1
- package/es2022/src/components/option/option.interface.js +0 -2
- package/es2022/src/components/option/option.interface.js.map +0 -1
- package/es2022/src/components/select/index.js +0 -2
- package/es2022/src/components/select/index.js.map +0 -1
- package/es2022/src/components/select/select.interface.js +0 -2
- package/es2022/src/components/select/select.interface.js.map +0 -1
- package/es2022/src/components/select/types.js +0 -6
- package/es2022/src/components/select/types.js.map +0 -1
- package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js +0 -25
- package/es2022/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.js.map +0 -1
- package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js +0 -66
- package/es2022/src/directives/ngSelectEdit/ngSelectEdit.directive.js.map +0 -1
- package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js +0 -42
- package/es2022/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.js.map +0 -1
- package/es2022/src/index.ssr.js +0 -10
- package/es2022/src/index.ssr.js.map +0 -1
- package/es2022/src/misc/index.js +0 -6
- package/es2022/src/misc/index.js.map +0 -1
- package/es2022/src/misc/ngSelectControlValueAccessor.directive.js +0 -162
- package/es2022/src/misc/ngSelectControlValueAccessor.directive.js.map +0 -1
- package/es2022/src/misc/plugin.interface.js +0 -2
- package/es2022/src/misc/plugin.interface.js.map +0 -1
- package/es2022/src/misc/pluginBus/pluginBus.interface.js +0 -2
- package/es2022/src/misc/pluginBus/pluginBus.interface.js.map +0 -1
- package/es2022/src/misc/pluginBus/pluginBus.js.map +0 -1
- package/es2022/src/misc/templateGatherer.interface.js.map +0 -1
- package/es2022/src/modules/ngSelectDynamic.module.js +0 -20
- package/es2022/src/modules/ngSelectDynamic.module.js.map +0 -1
- package/es2022/src/pipes/ngSelectHasValue.pipe.js.map +0 -1
- package/es2022/src/pipes/ngSelectValue.pipe.js +0 -31
- package/es2022/src/pipes/ngSelectValue.pipe.js.map +0 -1
- package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js +0 -146
- package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.js.map +0 -1
- package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js +0 -2
- package/es2022/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.js.map +0 -1
- package/es2022/src/plugins/keyboardHandler/components.js +0 -3
- package/es2022/src/plugins/keyboardHandler/components.js.map +0 -1
- package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js +0 -197
- package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.js.map +0 -1
- package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js +0 -2
- package/es2022/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.js.map +0 -1
- package/es2022/src/plugins/keyboardHandler/keyboardHandler.interface.js.map +0 -1
- package/es2022/src/plugins/keyboardHandler/types.js +0 -10
- package/es2022/src/plugins/keyboardHandler/types.js.map +0 -1
- package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js +0 -164
- package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.component.js.map +0 -1
- package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.interface.js +0 -2
- package/es2022/src/plugins/liveSearch/basic/basicLiveSearch.interface.js.map +0 -1
- package/es2022/src/plugins/liveSearch/components.js +0 -4
- package/es2022/src/plugins/liveSearch/components.js.map +0 -1
- package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js +0 -313
- package/es2022/src/plugins/liveSearch/edit/editLiveSearch.component.js.map +0 -1
- package/es2022/src/plugins/liveSearch/edit/editLiveSearch.interface.js +0 -2
- package/es2022/src/plugins/liveSearch/edit/editLiveSearch.interface.js.map +0 -1
- package/es2022/src/plugins/liveSearch/liveSearch.interface.js.map +0 -1
- package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js +0 -65
- package/es2022/src/plugins/liveSearch/no/noLiveSearch.component.js.map +0 -1
- package/es2022/src/plugins/liveSearch/no/noLiveSearch.interface.js +0 -2
- package/es2022/src/plugins/liveSearch/no/noLiveSearch.interface.js.map +0 -1
- package/es2022/src/plugins/liveSearch/types.js +0 -10
- package/es2022/src/plugins/liveSearch/types.js.map +0 -1
- package/es2022/src/plugins/normalState/basic/basicNormalState.component.js +0 -58
- package/es2022/src/plugins/normalState/basic/basicNormalState.component.js.map +0 -1
- package/es2022/src/plugins/normalState/basic/basicNormalState.interface.js +0 -2
- package/es2022/src/plugins/normalState/basic/basicNormalState.interface.js.map +0 -1
- package/es2022/src/plugins/normalState/components.js +0 -4
- package/es2022/src/plugins/normalState/components.js.map +0 -1
- package/es2022/src/plugins/normalState/edit/editNormalState.component.js +0 -88
- package/es2022/src/plugins/normalState/edit/editNormalState.component.js.map +0 -1
- package/es2022/src/plugins/normalState/edit/editNormalState.interface.js +0 -2
- package/es2022/src/plugins/normalState/edit/editNormalState.interface.js.map +0 -1
- package/es2022/src/plugins/normalState/normalState.interface.js.map +0 -1
- package/es2022/src/plugins/normalState/normalStateAbstract.component.js +0 -89
- package/es2022/src/plugins/normalState/normalStateAbstract.component.js.map +0 -1
- package/es2022/src/plugins/normalState/types.js +0 -10
- package/es2022/src/plugins/normalState/types.js.map +0 -1
- package/es2022/src/plugins/popup/basic/basicPopup.component.js +0 -62
- package/es2022/src/plugins/popup/basic/basicPopup.component.js.map +0 -1
- package/es2022/src/plugins/popup/basic/basicPopup.interface.js +0 -2
- package/es2022/src/plugins/popup/basic/basicPopup.interface.js.map +0 -1
- package/es2022/src/plugins/popup/component.js +0 -4
- package/es2022/src/plugins/popup/component.js.map +0 -1
- package/es2022/src/plugins/popup/edit/editPopup.component.js +0 -85
- package/es2022/src/plugins/popup/edit/editPopup.component.js.map +0 -1
- package/es2022/src/plugins/popup/edit/editPopup.interface.js +0 -2
- package/es2022/src/plugins/popup/edit/editPopup.interface.js.map +0 -1
- package/es2022/src/plugins/popup/popup.interface.js.map +0 -1
- package/es2022/src/plugins/popup/popupAbstract.component.js +0 -200
- package/es2022/src/plugins/popup/popupAbstract.component.js.map +0 -1
- package/es2022/src/plugins/popup/types.js +0 -10
- package/es2022/src/plugins/popup/types.js.map +0 -1
- package/es2022/src/plugins/positioner/components.js +0 -3
- package/es2022/src/plugins/positioner/components.js.map +0 -1
- package/es2022/src/plugins/positioner/default/defaultPositioner.component.js +0 -160
- package/es2022/src/plugins/positioner/default/defaultPositioner.component.js.map +0 -1
- package/es2022/src/plugins/positioner/default/defaultPositioner.interface.js +0 -2
- package/es2022/src/plugins/positioner/default/defaultPositioner.interface.js.map +0 -1
- package/es2022/src/plugins/positioner/no/noPositioner.component.js +0 -78
- package/es2022/src/plugins/positioner/no/noPositioner.component.js.map +0 -1
- package/es2022/src/plugins/positioner/no/noPositioner.interface.js +0 -2
- package/es2022/src/plugins/positioner/no/noPositioner.interface.js.map +0 -1
- package/es2022/src/plugins/positioner/positioner.interface.js.map +0 -1
- package/es2022/src/plugins/positioner/types.js +0 -10
- package/es2022/src/plugins/positioner/types.js.map +0 -1
- package/es2022/src/plugins/readonlyState/readonlyState.interface.js.map +0 -1
- package/es2022/src/plugins/readonlyState/types.js +0 -10
- package/es2022/src/plugins/readonlyState/types.js.map +0 -1
- package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js +0 -159
- package/es2022/src/plugins/valueHandler/basic/basicValueHandler.component.js.map +0 -1
- package/es2022/src/plugins/valueHandler/basic/basicValueHandler.interface.js +0 -2
- package/es2022/src/plugins/valueHandler/basic/basicValueHandler.interface.js.map +0 -1
- package/es2022/src/plugins/valueHandler/components.js +0 -3
- package/es2022/src/plugins/valueHandler/components.js.map +0 -1
- package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js +0 -179
- package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.js.map +0 -1
- package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js +0 -2
- package/es2022/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.js.map +0 -1
- package/es2022/src/plugins/valueHandler/types.js +0 -10
- package/es2022/src/plugins/valueHandler/types.js.map +0 -1
- package/es2022/src/plugins/valueHandler/valueHandler.interface.js.map +0 -1
- package/es2022/src/plugins/valueHandler/valueHandlerBase.js +0 -145
- package/es2022/src/plugins/valueHandler/valueHandlerBase.js.map +0 -1
- package/material/src/directives/types.d.ts +0 -2
- package/material/src/directives/types.d.ts.map +0 -1
- package/material/src/plugins/popup/components.d.ts +0 -3
- package/material/src/plugins/popup/components.d.ts.map +0 -1
- package/src/components/option/index.d.ts +0 -3
- package/src/components/option/index.d.ts.map +0 -1
- package/src/components/option/optgroup.component.d.ts +0 -37
- package/src/components/option/optgroup.component.d.ts.map +0 -1
- package/src/components/option/optgroup.interface.d.ts +0 -20
- package/src/components/option/optgroup.interface.d.ts.map +0 -1
- package/src/components/option/option.interface.d.ts +0 -31
- package/src/components/option/option.interface.d.ts.map +0 -1
- package/src/components/select/index.d.ts +0 -2
- package/src/components/select/select.interface.d.ts +0 -68
- package/src/components/select/select.interface.d.ts.map +0 -1
- package/src/components/select/types.d.ts +0 -7
- package/src/components/select/types.d.ts.map +0 -1
- package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts +0 -11
- package/src/directives/ngSelectAbsolute/ngSelectAbsolute.directive.d.ts.map +0 -1
- package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts +0 -11
- package/src/directives/ngSelectEdit/ngSelectEdit.directive.d.ts.map +0 -1
- package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts +0 -21
- package/src/directives/ngSelectPlaceholder/ngSelectPlaceholder.directive.d.ts.map +0 -1
- package/src/index.ssr.d.ts +0 -1
- package/src/index.ssr.d.ts.map +0 -1
- package/src/misc/index.d.ts +0 -6
- package/src/misc/index.d.ts.map +0 -1
- package/src/misc/ngSelectControlValueAccessor.directive.d.ts +0 -63
- package/src/misc/ngSelectControlValueAccessor.directive.d.ts.map +0 -1
- package/src/misc/plugin.interface.d.ts +0 -108
- package/src/misc/plugin.interface.d.ts.map +0 -1
- package/src/misc/pluginBus/pluginBus.d.ts +0 -49
- package/src/misc/pluginBus/pluginBus.d.ts.map +0 -1
- package/src/misc/pluginBus/pluginBus.interface.d.ts +0 -36
- package/src/misc/pluginBus/pluginBus.interface.d.ts.map +0 -1
- package/src/misc/templateGatherer.interface.d.ts +0 -17
- package/src/misc/templateGatherer.interface.d.ts.map +0 -1
- package/src/modules/ngSelectDynamic.module.d.ts +0 -11
- package/src/modules/ngSelectDynamic.module.d.ts.map +0 -1
- package/src/pipes/ngSelectHasValue.pipe.d.ts +0 -16
- package/src/pipes/ngSelectHasValue.pipe.d.ts.map +0 -1
- package/src/pipes/ngSelectValue.pipe.d.ts +0 -19
- package/src/pipes/ngSelectValue.pipe.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts +0 -58
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.component.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts +0 -12
- package/src/plugins/keyboardHandler/basic/basicKeyboardHandler.interface.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/components.d.ts +0 -3
- package/src/plugins/keyboardHandler/components.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts +0 -68
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.component.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts +0 -12
- package/src/plugins/keyboardHandler/edit/editKeyboardHandler.interface.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts +0 -12
- package/src/plugins/keyboardHandler/keyboardHandler.interface.d.ts.map +0 -1
- package/src/plugins/keyboardHandler/types.d.ts +0 -11
- package/src/plugins/keyboardHandler/types.d.ts.map +0 -1
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.css +0 -11
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts +0 -98
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.d.ts.map +0 -1
- package/src/plugins/liveSearch/basic/basicLiveSearch.component.html +0 -5
- package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts +0 -29
- package/src/plugins/liveSearch/basic/basicLiveSearch.interface.d.ts.map +0 -1
- package/src/plugins/liveSearch/components.d.ts +0 -4
- package/src/plugins/liveSearch/components.d.ts.map +0 -1
- package/src/plugins/liveSearch/edit/editLiveSearch.component.css +0 -13
- package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts +0 -141
- package/src/plugins/liveSearch/edit/editLiveSearch.component.d.ts.map +0 -1
- package/src/plugins/liveSearch/edit/editLiveSearch.component.html +0 -13
- package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts +0 -37
- package/src/plugins/liveSearch/edit/editLiveSearch.interface.d.ts.map +0 -1
- package/src/plugins/liveSearch/liveSearch.interface.d.ts +0 -38
- package/src/plugins/liveSearch/liveSearch.interface.d.ts.map +0 -1
- package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts +0 -54
- package/src/plugins/liveSearch/no/noLiveSearch.component.d.ts.map +0 -1
- package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts +0 -12
- package/src/plugins/liveSearch/no/noLiveSearch.interface.d.ts.map +0 -1
- package/src/plugins/liveSearch/types.d.ts +0 -11
- package/src/plugins/liveSearch/types.d.ts.map +0 -1
- package/src/plugins/normalState/basic/basicNormalState.component.css +0 -38
- package/src/plugins/normalState/basic/basicNormalState.component.d.ts +0 -17
- package/src/plugins/normalState/basic/basicNormalState.component.d.ts.map +0 -1
- package/src/plugins/normalState/basic/basicNormalState.component.html +0 -6
- package/src/plugins/normalState/basic/basicNormalState.interface.d.ts +0 -29
- package/src/plugins/normalState/basic/basicNormalState.interface.d.ts.map +0 -1
- package/src/plugins/normalState/components.d.ts +0 -4
- package/src/plugins/normalState/components.d.ts.map +0 -1
- package/src/plugins/normalState/edit/editNormalState.component.css +0 -77
- package/src/plugins/normalState/edit/editNormalState.component.d.ts +0 -26
- package/src/plugins/normalState/edit/editNormalState.component.d.ts.map +0 -1
- package/src/plugins/normalState/edit/editNormalState.component.html +0 -19
- package/src/plugins/normalState/edit/editNormalState.interface.d.ts +0 -53
- package/src/plugins/normalState/edit/editNormalState.interface.d.ts.map +0 -1
- package/src/plugins/normalState/normalState.interface.d.ts +0 -49
- package/src/plugins/normalState/normalState.interface.d.ts.map +0 -1
- package/src/plugins/normalState/normalStateAbstract.component.d.ts +0 -65
- package/src/plugins/normalState/normalStateAbstract.component.d.ts.map +0 -1
- package/src/plugins/normalState/types.d.ts +0 -11
- package/src/plugins/normalState/types.d.ts.map +0 -1
- package/src/plugins/popup/basic/basicPopup.component.css +0 -61
- package/src/plugins/popup/basic/basicPopup.component.d.ts +0 -17
- package/src/plugins/popup/basic/basicPopup.component.d.ts.map +0 -1
- package/src/plugins/popup/basic/basicPopup.component.html +0 -21
- package/src/plugins/popup/basic/basicPopup.interface.d.ts +0 -33
- package/src/plugins/popup/basic/basicPopup.interface.d.ts.map +0 -1
- package/src/plugins/popup/component.d.ts +0 -4
- package/src/plugins/popup/component.d.ts.map +0 -1
- package/src/plugins/popup/edit/editPopup.component.css +0 -61
- package/src/plugins/popup/edit/editPopup.component.d.ts +0 -32
- package/src/plugins/popup/edit/editPopup.component.d.ts.map +0 -1
- package/src/plugins/popup/edit/editPopup.component.html +0 -19
- package/src/plugins/popup/edit/editPopup.interface.d.ts +0 -33
- package/src/plugins/popup/edit/editPopup.interface.d.ts.map +0 -1
- package/src/plugins/popup/popup.interface.d.ts +0 -52
- package/src/plugins/popup/popup.interface.d.ts.map +0 -1
- package/src/plugins/popup/popupAbstract.component.d.ts +0 -130
- package/src/plugins/popup/popupAbstract.component.d.ts.map +0 -1
- package/src/plugins/popup/types.d.ts +0 -11
- package/src/plugins/popup/types.d.ts.map +0 -1
- package/src/plugins/positioner/components.d.ts +0 -3
- package/src/plugins/positioner/components.d.ts.map +0 -1
- package/src/plugins/positioner/default/defaultPositioner.component.d.ts +0 -89
- package/src/plugins/positioner/default/defaultPositioner.component.d.ts.map +0 -1
- package/src/plugins/positioner/default/defaultPositioner.interface.d.ts +0 -12
- package/src/plugins/positioner/default/defaultPositioner.interface.d.ts.map +0 -1
- package/src/plugins/positioner/no/noPositioner.component.d.ts +0 -50
- package/src/plugins/positioner/no/noPositioner.component.d.ts.map +0 -1
- package/src/plugins/positioner/no/noPositioner.interface.d.ts +0 -12
- package/src/plugins/positioner/no/noPositioner.interface.d.ts.map +0 -1
- package/src/plugins/positioner/positioner.interface.d.ts +0 -22
- package/src/plugins/positioner/positioner.interface.d.ts.map +0 -1
- package/src/plugins/positioner/types.d.ts +0 -11
- package/src/plugins/positioner/types.d.ts.map +0 -1
- package/src/plugins/readonlyState/readonlyState.interface.d.ts +0 -12
- package/src/plugins/readonlyState/readonlyState.interface.d.ts.map +0 -1
- package/src/plugins/readonlyState/types.d.ts +0 -11
- package/src/plugins/readonlyState/types.d.ts.map +0 -1
- package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts +0 -51
- package/src/plugins/valueHandler/basic/basicValueHandler.component.d.ts.map +0 -1
- package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts +0 -12
- package/src/plugins/valueHandler/basic/basicValueHandler.interface.d.ts.map +0 -1
- package/src/plugins/valueHandler/components.d.ts +0 -3
- package/src/plugins/valueHandler/components.d.ts.map +0 -1
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts +0 -52
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.component.d.ts.map +0 -1
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts +0 -21
- package/src/plugins/valueHandler/dynamic/dynamicValueHandler.interface.d.ts.map +0 -1
- package/src/plugins/valueHandler/types.d.ts +0 -11
- package/src/plugins/valueHandler/types.d.ts.map +0 -1
- package/src/plugins/valueHandler/valueHandler.interface.d.ts +0 -31
- package/src/plugins/valueHandler/valueHandler.interface.d.ts.map +0 -1
- package/src/plugins/valueHandler/valueHandlerBase.d.ts +0 -115
- package/src/plugins/valueHandler/valueHandlerBase.d.ts.map +0 -1
- /package/es2022/src/{plugins → interfaces/plugins}/keyboardHandler/keyboardHandler.interface.js +0 -0
- /package/es2022/src/{plugins → interfaces/plugins}/liveSearch/liveSearch.interface.js +0 -0
- /package/es2022/src/{plugins → interfaces/plugins}/normalState/normalState.interface.js +0 -0
- /package/es2022/src/{plugins → interfaces/plugins}/popup/popup.interface.js +0 -0
- /package/es2022/src/{plugins → interfaces/plugins}/positioner/positioner.interface.js +0 -0
- /package/es2022/src/{plugins → interfaces/plugins}/readonlyState/readonlyState.interface.js +0 -0
- /package/es2022/src/{plugins → interfaces/plugins}/valueHandler/valueHandler.interface.js +0 -0
- /package/es2022/src/{misc → interfaces/templateGatherer}/templateGatherer.interface.js +0 -0
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { StringLocalization } from '@anglr/common';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { EditLiveSearchOptions, EditLiveSearch } from './editLiveSearch.interface';
|
|
5
|
-
import { NgSelectPlugin, OptionsGatherer } from '../../../misc';
|
|
6
|
-
import { NgSelectPluginInstances } from '../../../components/select';
|
|
7
|
-
import { ValueHandler } from '../../valueHandler';
|
|
8
|
-
import { Popup } from '../../popup';
|
|
9
|
-
import { ɵNgSelectOption } from '../../../components/option';
|
|
10
|
-
import { PluginBus } from '../../../misc/pluginBus/pluginBus';
|
|
11
|
-
import { LiveSearchTexts } from '../liveSearch.interface';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
/**
|
|
14
|
-
* Component used for obtaining edit live search html element
|
|
15
|
-
*/
|
|
16
|
-
export declare class EditLiveSearchComponent implements EditLiveSearch, NgSelectPlugin<EditLiveSearchOptions>, OnDestroy {
|
|
17
|
-
ngSelectPlugins: NgSelectPluginInstances;
|
|
18
|
-
pluginBus: PluginBus;
|
|
19
|
-
pluginElement: ElementRef;
|
|
20
|
-
protected _changeDetector: ChangeDetectorRef;
|
|
21
|
-
protected _stringLocalization: StringLocalization;
|
|
22
|
-
/**
|
|
23
|
-
* Popup plugin used within `NgSelect`
|
|
24
|
-
*/
|
|
25
|
-
protected _popup: Popup;
|
|
26
|
-
/**
|
|
27
|
-
* Value handler plugin used within `NgSelect`
|
|
28
|
-
*/
|
|
29
|
-
protected _valueHandler: ValueHandler;
|
|
30
|
-
/**
|
|
31
|
-
* Instance of previous options gatherer, that is used for obtaining available options
|
|
32
|
-
*/
|
|
33
|
-
protected _optionsGatherer: OptionsGatherer;
|
|
34
|
-
/**
|
|
35
|
-
* Subscription for changes of options in options gatherer
|
|
36
|
-
*/
|
|
37
|
-
protected _optionsChangeSubscription: Subscription;
|
|
38
|
-
/**
|
|
39
|
-
* Subscription for changes of selected value
|
|
40
|
-
*/
|
|
41
|
-
protected _valueChangedSubscription: Subscription;
|
|
42
|
-
/**
|
|
43
|
-
* Subscription for live search focus request
|
|
44
|
-
*/
|
|
45
|
-
protected _liveSearchFocusSubscription: Subscription;
|
|
46
|
-
/**
|
|
47
|
-
* Subscription for update displayed value request
|
|
48
|
-
*/
|
|
49
|
-
protected _updateDisplayedValueSubscription: Subscription;
|
|
50
|
-
/**
|
|
51
|
-
* Options for NgSelect plugin
|
|
52
|
-
*/
|
|
53
|
-
protected _options: EditLiveSearchOptions;
|
|
54
|
-
/**
|
|
55
|
-
* Gets currently available options
|
|
56
|
-
*/
|
|
57
|
-
protected get availableOptions(): ɵNgSelectOption[];
|
|
58
|
-
/**
|
|
59
|
-
* Options for NgSelect plugin
|
|
60
|
-
*/
|
|
61
|
-
get options(): EditLiveSearchOptions;
|
|
62
|
-
set options(options: EditLiveSearchOptions);
|
|
63
|
-
/**
|
|
64
|
-
* HTML element that represents live search
|
|
65
|
-
*/
|
|
66
|
-
get liveSearchElement(): HTMLElement;
|
|
67
|
-
/**
|
|
68
|
-
* Current value of live search
|
|
69
|
-
*/
|
|
70
|
-
searchValue: string;
|
|
71
|
-
/**
|
|
72
|
-
* Occurs when current value of live search changes
|
|
73
|
-
*/
|
|
74
|
-
searchValueChange: EventEmitter<void>;
|
|
75
|
-
/**
|
|
76
|
-
* Current value that is displayed
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
|
-
searchValueDisplayed: string;
|
|
80
|
-
/**
|
|
81
|
-
* Object containing available texts
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
texts: LiveSearchTexts;
|
|
85
|
-
/**
|
|
86
|
-
* View child that represents live search element
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
liveSearchElementChild: ElementRef<HTMLElement>;
|
|
90
|
-
/**
|
|
91
|
-
* View child that represents input element
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
inputElementChild: ElementRef<HTMLInputElement>;
|
|
95
|
-
constructor(ngSelectPlugins: NgSelectPluginInstances, pluginBus: PluginBus, pluginElement: ElementRef, _changeDetector: ChangeDetectorRef, _stringLocalization: StringLocalization, options?: EditLiveSearchOptions);
|
|
96
|
-
/**
|
|
97
|
-
* Called when component is destroyed
|
|
98
|
-
*/
|
|
99
|
-
ngOnDestroy(): void;
|
|
100
|
-
/**
|
|
101
|
-
* Initialize plugin, to be ready to use, initialize communication with other plugins
|
|
102
|
-
*/
|
|
103
|
-
initialize(): void;
|
|
104
|
-
/**
|
|
105
|
-
* Initialize plugin options, all operations required to be done with plugin options are handled here
|
|
106
|
-
*/
|
|
107
|
-
initOptions(): void;
|
|
108
|
-
/**
|
|
109
|
-
* Explicitly runs invalidation of content (change detection)
|
|
110
|
-
*/
|
|
111
|
-
invalidateVisuals(): void;
|
|
112
|
-
/**
|
|
113
|
-
* Handle input value
|
|
114
|
-
* @param value - Value of input
|
|
115
|
-
* @param inputChange - Indication that change was by input event of input
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
118
|
-
handleInput(value: string, inputChange?: boolean): void;
|
|
119
|
-
/**
|
|
120
|
-
* Handles focus event
|
|
121
|
-
* @param element - Element that got focus
|
|
122
|
-
* @param show - Indication whether show popup
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
handleFocus(element: HTMLInputElement, show?: boolean): void;
|
|
126
|
-
/**
|
|
127
|
-
* Handles blur of live search
|
|
128
|
-
*/
|
|
129
|
-
handleBlur(): void;
|
|
130
|
-
/**
|
|
131
|
-
* Initialize texts
|
|
132
|
-
*/
|
|
133
|
-
protected _initTexts(): void;
|
|
134
|
-
/**
|
|
135
|
-
* Activates first available option or selected option
|
|
136
|
-
*/
|
|
137
|
-
protected _activateSelectedOrFirst(): void;
|
|
138
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditLiveSearchComponent, [{ optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
|
|
139
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditLiveSearchComponent, "ng-edit-live-search", never, {}, {}, never, never, false, never>;
|
|
140
|
-
}
|
|
141
|
-
//# sourceMappingURL=editLiveSearch.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editLiveSearch.component.d.ts","sourceRoot":"","sources":["editLiveSearch.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,iBAAiB,EAAoB,UAAU,EAAa,YAAY,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AACtJ,OAAO,EAAsB,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAGtE,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAElC,OAAO,EAAC,qBAAqB,EAAE,cAAc,EAAC,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAC,cAAc,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;AAElC,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,SAAS,EAAC,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;;AAuBxD;;GAEG;AACH,qBAQa,uBAAwB,YAAW,cAAc,EAAE,cAAc,CAAC,qBAAqB,CAAC,EAAE,SAAS;IAqHzC,eAAe,EAAE,uBAAuB;IAC5E,SAAS,EAAE,SAAS;IAChC,aAAa,EAAE,UAAU;IAChC,SAAS,CAAC,eAAe,EAAE,iBAAiB;IACf,SAAS,CAAC,mBAAmB,EAAE,kBAAkB;IArH1F;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC;IAExB;;OAEG;IACH,SAAS,CAAC,aAAa,EAAE,YAAY,CAAC;IAEtC;;OAEG;IACH,SAAS,CAAC,gBAAgB,EAAE,eAAe,CAAC;IAE5C;;OAEG;IACH,SAAS,CAAC,0BAA0B,EAAE,YAAY,CAAC;IAEnD;;OAEG;IACH,SAAS,CAAC,yBAAyB,EAAE,YAAY,CAAC;IAElD;;OAEG;IACH,SAAS,CAAC,4BAA4B,EAAE,YAAY,CAAC;IAErD;;OAEG;IACH,SAAS,CAAC,iCAAiC,EAAE,YAAY,CAAC;IAE1D;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,qBAAqB,CAAC;IAI1C;;OAEG;IACH,SAAS,KAAK,gBAAgB,IAAI,eAAe,EAAE,CAGlD;IAID;;OAEG;IACH,IAAW,OAAO,IAAI,qBAAqB,CAG1C;IACD,IAAW,OAAO,CAAC,OAAO,EAAE,qBAAqB,EAGhD;IAED;;OAEG;IACH,IAAW,iBAAiB,IAAI,WAAW,CAG1C;IAED;;OAEG;IACI,WAAW,EAAE,MAAM,CAAQ;IAElC;;OAEG;IACI,iBAAiB,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAIxE;;;OAGG;IACI,oBAAoB,EAAE,MAAM,CAAQ;IAE3C;;;OAGG;IACI,KAAK,EAAE,eAAe,CAAM;IAInC;;;OAGG;IAEI,sBAAsB,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAEvD;;;OAGG;IAEI,iBAAiB,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;gBAGY,eAAe,EAAE,uBAAuB,EAC5E,SAAS,EAAE,SAAS,EAChC,aAAa,EAAE,UAAU,EACtB,eAAe,EAAE,iBAAiB,EACL,mBAAmB,EAAE,kBAAkB,EACrC,OAAO,CAAC,EAAE,qBAAqB;IAOpF;;OAEG;IACI,WAAW;IAiBlB;;OAEG;IACI,UAAU;IAuHjB;;OAEG;IACI,WAAW;IAIlB;;OAEG;IACI,iBAAiB,IAAI,IAAI;IAOhC;;;;;OAKG;IACI,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,GAAE,OAAe;IA4B9D;;;;;OAKG;IACI,WAAW,CAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,GAAE,OAAe;IAcnE;;OAEG;IACI,UAAU;IA8BjB;;OAEG;IACH,SAAS,CAAC,UAAU;IAUpB;;OAEG;IACH,SAAS,CAAC,wBAAwB;yCAvYzB,uBAAuB;2CAAvB,uBAAuB;CA6ZnC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div style="display: none;">
|
|
2
|
-
<div #liveSearchElement [ngClass]="options?.cssClasses?.wrapperDiv">
|
|
3
|
-
<input #inputElement
|
|
4
|
-
[ngClass]="options?.cssClasses?.input"
|
|
5
|
-
type="text"
|
|
6
|
-
[value]="searchValueDisplayed"
|
|
7
|
-
(input)="handleInput($any($event.target).value, true)"
|
|
8
|
-
(focus)="handleFocus($any($event.target))"
|
|
9
|
-
(click)="handleFocus($any($event.target), true)"
|
|
10
|
-
placeholder="{{texts?.inputPlaceholder}}"
|
|
11
|
-
[disabled]="pluginBus?.selectOptions.readonly">
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { LiveSearch, LiveSearchOptions } from '../liveSearch.interface';
|
|
2
|
-
/**
|
|
3
|
-
* Css classes for edit live search
|
|
4
|
-
*/
|
|
5
|
-
export interface CssClassesEditLiveSearch {
|
|
6
|
-
/**
|
|
7
|
-
* Applied to wrapper div around input
|
|
8
|
-
*/
|
|
9
|
-
wrapperDiv?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Applied to input that represents live search
|
|
12
|
-
*/
|
|
13
|
-
input?: string;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Edit live search options
|
|
17
|
-
*/
|
|
18
|
-
export interface EditLiveSearchOptions extends LiveSearchOptions<CssClassesEditLiveSearch> {
|
|
19
|
-
/**
|
|
20
|
-
* Indication whether keep search value after popup close
|
|
21
|
-
*/
|
|
22
|
-
keepSearchValue?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Indication whether cancel selected value if non existing value is in live search, works for single value
|
|
25
|
-
*/
|
|
26
|
-
nonExistingCancel?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Indicaiton whether empty string in live search cancel selected value
|
|
29
|
-
*/
|
|
30
|
-
emptyCancel?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Public API for 'EditLiveSearchComponent'
|
|
34
|
-
*/
|
|
35
|
-
export interface EditLiveSearch extends LiveSearch {
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=editLiveSearch.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editLiveSearch.interface.d.ts","sourceRoot":"","sources":["editLiveSearch.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IAErC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB,CAAC,wBAAwB,CAAC;IAEtF;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,UAAU;CAEjD"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { NgSelectPlugin, VisualPluginOptions } from '../../misc';
|
|
3
|
-
/**
|
|
4
|
-
* Texts that are used within LiveSearch
|
|
5
|
-
*/
|
|
6
|
-
export interface LiveSearchTexts {
|
|
7
|
-
/**
|
|
8
|
-
* Displayed when nothing was entered into input
|
|
9
|
-
*/
|
|
10
|
-
inputPlaceholder?: string;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Options for live search plugin
|
|
14
|
-
*/
|
|
15
|
-
export interface LiveSearchOptions<TCssClasses = any> extends VisualPluginOptions<TCssClasses> {
|
|
16
|
-
/**
|
|
17
|
-
* Texts that are used within any LiveSearch
|
|
18
|
-
*/
|
|
19
|
-
texts?: LiveSearchTexts;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Keyboard handler plugin interface
|
|
23
|
-
*/
|
|
24
|
-
export interface LiveSearch extends NgSelectPlugin {
|
|
25
|
-
/**
|
|
26
|
-
* HTML element that represents live search
|
|
27
|
-
*/
|
|
28
|
-
readonly liveSearchElement: HTMLElement;
|
|
29
|
-
/**
|
|
30
|
-
* Current value of live search
|
|
31
|
-
*/
|
|
32
|
-
readonly searchValue: string;
|
|
33
|
-
/**
|
|
34
|
-
* Occurs when current value of live search changes
|
|
35
|
-
*/
|
|
36
|
-
readonly searchValueChange: EventEmitter<void>;
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=liveSearch.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"liveSearch.interface.d.ts","sourceRoot":"","sources":["liveSearch.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAC,cAAc,EAAE,mBAAmB,EAAC,MAAM,YAAY,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,eAAe;IAE5B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB,CAAC,WAAW,GAAG,GAAG,CAAE,SAAQ,mBAAmB,CAAC,WAAW,CAAC;IAE1F;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc;IAE9C;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,WAAW,CAAC;IAExC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;CAClD"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { NoLiveSearchOptions, NoLiveSearch } from './noLiveSearch.interface';
|
|
3
|
-
import { NgSelectPlugin } from '../../../misc';
|
|
4
|
-
import { NgSelectPluginInstances } from '../../../components/select';
|
|
5
|
-
import { PluginBus } from '../../../misc/pluginBus/pluginBus';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Component used for no live search
|
|
9
|
-
*/
|
|
10
|
-
export declare class NoLiveSearchComponent implements NoLiveSearch, NgSelectPlugin<NoLiveSearchOptions> {
|
|
11
|
-
ngSelectPlugins: NgSelectPluginInstances;
|
|
12
|
-
pluginElement: ElementRef;
|
|
13
|
-
private _document;
|
|
14
|
-
/**
|
|
15
|
-
* Options for NgSelect plugin
|
|
16
|
-
*/
|
|
17
|
-
protected _options: NoLiveSearchOptions;
|
|
18
|
-
/**
|
|
19
|
-
* Options for NgSelect plugin
|
|
20
|
-
*/
|
|
21
|
-
options: NoLiveSearchOptions;
|
|
22
|
-
/**
|
|
23
|
-
* Plugin bus used for inter plugin shared events
|
|
24
|
-
*/
|
|
25
|
-
pluginBus: PluginBus;
|
|
26
|
-
/**
|
|
27
|
-
* HTML element that represents live search
|
|
28
|
-
*/
|
|
29
|
-
get liveSearchElement(): HTMLElement;
|
|
30
|
-
/**
|
|
31
|
-
* Current value of live search
|
|
32
|
-
*/
|
|
33
|
-
searchValue: string;
|
|
34
|
-
/**
|
|
35
|
-
* Occurs when current value of live search changes
|
|
36
|
-
*/
|
|
37
|
-
searchValueChange: EventEmitter<void>;
|
|
38
|
-
constructor(ngSelectPlugins: NgSelectPluginInstances, pluginElement: ElementRef, _document: Document);
|
|
39
|
-
/**
|
|
40
|
-
* Initialize plugin, to be ready to use, initialize communication with other plugins
|
|
41
|
-
*/
|
|
42
|
-
initialize(): void;
|
|
43
|
-
/**
|
|
44
|
-
* Initialize plugin options, all operations required to be done with plugin options are handled here
|
|
45
|
-
*/
|
|
46
|
-
initOptions(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Explicitly runs invalidation of content (change detection)
|
|
49
|
-
*/
|
|
50
|
-
invalidateVisuals(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoLiveSearchComponent, [{ optional: true; }, null, null]>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoLiveSearchComponent, "ng-no-live-search", never, {}, {}, never, never, false, never>;
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=noLiveSearch.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"noLiveSearch.component.d.ts","sourceRoot":"","sources":["noLiveSearch.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuD,UAAU,EAAE,YAAY,EAAC,MAAM,eAAe,CAAC;AAG7G,OAAO,EAAC,mBAAmB,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAC,SAAS,EAAC,MAAM,mCAAmC,CAAC;;AAE5D;;GAEG;AACH,qBAOa,qBAAsB,YAAW,YAAY,EAAE,cAAc,CAAC,mBAAmB,CAAC;IAwCxB,eAAe,EAAE,uBAAuB;IACxF,aAAa,EAAE,UAAU;IACd,OAAO,CAAC,SAAS;IAtC/C;;OAEG;IACH,SAAS,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IAIxC;;OAEG;IACI,OAAO,EAAE,mBAAmB,CAAC;IAEpC;;OAEG;IACI,SAAS,EAAE,SAAS,CAAC;IAE5B;;OAEG;IACH,IAAW,iBAAiB,IAAI,WAAW,CAG1C;IAED;;OAEG;IACI,WAAW,EAAE,MAAM,CAAQ;IAElC;;OAEG;IACI,iBAAiB,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;gBAGL,eAAe,EAAE,uBAAuB,EACxF,aAAa,EAAE,UAAU,EACN,SAAS,EAAE,QAAQ;IAMzD;;OAEG;IACI,UAAU;IAIjB;;OAEG;IACI,WAAW;IAIlB;;OAEG;IACI,iBAAiB,IAAI,IAAI;yCAjEvB,qBAAqB;2CAArB,qBAAqB;CAoEjC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LiveSearch, LiveSearchOptions } from '../liveSearch.interface';
|
|
2
|
-
/**
|
|
3
|
-
* No live search options
|
|
4
|
-
*/
|
|
5
|
-
export interface NoLiveSearchOptions extends LiveSearchOptions {
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Public API for 'NoLiveSearchComponent'
|
|
9
|
-
*/
|
|
10
|
-
export interface NoLiveSearch extends LiveSearch {
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=noLiveSearch.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"noLiveSearch.interface.d.ts","sourceRoot":"","sources":["noLiveSearch.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,iBAAiB,EAAC,MAAM,yBAAyB,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;CAE7D;AAED;;GAEG;AACH,MAAM,WAAW,YAAa,SAAQ,UAAU;CAE/C"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { LiveSearchOptions } from './liveSearch.interface';
|
|
3
|
-
/**
|
|
4
|
-
* Constant used for accessing live search plugin in NgSelect
|
|
5
|
-
*/
|
|
6
|
-
export declare const LIVE_SEARCH = "LIVE_SEARCH";
|
|
7
|
-
/**
|
|
8
|
-
* Token for injecting options for live search plugin
|
|
9
|
-
*/
|
|
10
|
-
export declare const LIVE_SEARCH_OPTIONS: InjectionToken<LiveSearchOptions>;
|
|
11
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AAEzD;;GAEG;AACH,eAAO,MAAM,WAAW,gBAAgB,CAAC;AAEzC;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,cAAc,CAAC,iBAAiB,CAAgE,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
button.btn-select
|
|
2
|
-
{
|
|
3
|
-
display: flex;
|
|
4
|
-
width: 100%;
|
|
5
|
-
padding: 5px 0px 4px 6px;
|
|
6
|
-
background-color: #ffffff;
|
|
7
|
-
background-image: none;
|
|
8
|
-
border: 1px solid #cccccc;
|
|
9
|
-
border-radius: 4px;
|
|
10
|
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
|
|
11
|
-
height: 28px;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
button.btn-select:hover
|
|
16
|
-
{
|
|
17
|
-
background-color: #F2F2F2;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
button.btn-select:active
|
|
21
|
-
{
|
|
22
|
-
box-shadow: 0 0 5px -1px #888888 inset;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
button.btn-select .selected-value
|
|
26
|
-
{
|
|
27
|
-
flex: 1;
|
|
28
|
-
text-align: left;
|
|
29
|
-
min-width: 0;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
text-overflow: ellipsis;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
button.btn-select .selected-caret
|
|
35
|
-
{
|
|
36
|
-
flex: 0 0 20px;
|
|
37
|
-
align-self: center;
|
|
38
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { StringLocalization } from '@anglr/common';
|
|
3
|
-
import { BasicNormalStateOptions, BasicNormalState, CssClassesBasicNormalState } from './basicNormalState.interface';
|
|
4
|
-
import { NgSelectPlugin } from '../../../misc';
|
|
5
|
-
import { NgSelectPluginInstances } from '../../../components/select';
|
|
6
|
-
import { PluginBus } from '../../../misc/pluginBus/pluginBus';
|
|
7
|
-
import { NormalStateAbstractComponent } from '../normalStateAbstract.component';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Component used for rendering basic simple normal state of select
|
|
11
|
-
*/
|
|
12
|
-
export declare class BasicNormalStateComponent<TValue = any> extends NormalStateAbstractComponent<CssClassesBasicNormalState, BasicNormalStateOptions<TValue>, TValue> implements BasicNormalState, NgSelectPlugin<BasicNormalStateOptions>, OnDestroy {
|
|
13
|
-
constructor(ngSelectPlugins: NgSelectPluginInstances, pluginBus: PluginBus, pluginElement: ElementRef, changeDetector: ChangeDetectorRef, stringLocalization: StringLocalization, options?: BasicNormalStateOptions);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BasicNormalStateComponent<any>, [{ optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BasicNormalStateComponent<any>, "div.normal-state", never, {}, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=basicNormalState.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basicNormalState.component.d.ts","sourceRoot":"","sources":["basicNormalState.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,iBAAiB,EAAoB,UAAU,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAC7H,OAAO,EAAC,kBAAkB,EAAsB,MAAM,eAAe,CAAC;AAGtE,OAAO,EAAC,uBAAuB,EAAE,gBAAgB,EAAE,0BAA0B,EAAC,MAAM,8BAA8B,CAAC;AACnH,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAGnE,OAAO,EAAC,SAAS,EAAC,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAC,4BAA4B,EAAC,MAAM,kCAAkC,CAAC;;AAqB9E;;GAEG;AACH,qBAQa,yBAAyB,CAAC,MAAM,GAAG,GAAG,CAAE,SAAQ,4BAA4B,CAAC,0BAA0B,EAAE,uBAAuB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAE,YAAW,gBAAgB,EAAE,cAAc,CAAC,uBAAuB,CAAC,EAAE,SAAS;gBAG9K,eAAe,EAAE,uBAAuB,EAC5E,SAAS,EAAE,SAAS,EAChC,aAAa,EAAE,UAAU,EACzB,cAAc,EAAE,iBAAiB,EACJ,kBAAkB,EAAE,kBAAkB,EACzB,OAAO,CAAC,EAAE,uBAAuB;yCAR9E,yBAAyB;2CAAzB,yBAAyB;CAcrC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<ng-template #defaultLook>{{valueHandler?.selectedOptions | ngSelectValue: texts?.nothingSelected: options?.optionDisplayText}}</ng-template>
|
|
2
|
-
|
|
3
|
-
<button [ngClass]="options?.cssClasses?.normalStateElement" (click)="pluginBus?.togglePopup.emit(); pluginBus?.liveSearchFocus.emit()" (focus)="pluginBus?.focus?.emit()" [disabled]="!!pluginBus?.selectOptions?.readonly" type="button" [title]="valueHandler?.selectedOptions | ngSelectValue: texts?.nothingSelected">
|
|
4
|
-
<span [ngClass]="options?.cssClasses?.selectedValue"><ng-container *ngTemplateOutlet="pluginBus?.selectOptions?.templateGatherer?.normalStateTemplate || defaultLook; context: {$implicit: this}"></ng-container></span>
|
|
5
|
-
<span [ngClass]="options?.cssClasses?.selectedCarret"></span>
|
|
6
|
-
</button>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { NormalState, NormalStateOptions } from '../normalState.interface';
|
|
2
|
-
/**
|
|
3
|
-
* Css classes for basic normal state
|
|
4
|
-
*/
|
|
5
|
-
export interface CssClassesBasicNormalState {
|
|
6
|
-
/**
|
|
7
|
-
* Applied to currently selected value, which is visible to user (default template)
|
|
8
|
-
*/
|
|
9
|
-
selectedValue?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Applied to "carret", indicating that it is select and there is more options available
|
|
12
|
-
*/
|
|
13
|
-
selectedCarret?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Applied to HTML element that represents normal default state visible to user
|
|
16
|
-
*/
|
|
17
|
-
normalStateElement?: string;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Basic normal state options
|
|
21
|
-
*/
|
|
22
|
-
export interface BasicNormalStateOptions<TValue = any> extends NormalStateOptions<CssClassesBasicNormalState, TValue> {
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Public API for 'BasicNormalStateComponent'
|
|
26
|
-
*/
|
|
27
|
-
export interface BasicNormalState extends NormalState {
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=basicNormalState.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"basicNormalState.interface.d.ts","sourceRoot":"","sources":["basicNormalState.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAEvC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB,CAAC,MAAM,GAAG,GAAG,CAAE,SAAQ,kBAAkB,CAAC,0BAA0B,EAAE,MAAM,CAAC;CAEpH;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,WAAW;CAEpD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["components.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
div.btn-select
|
|
2
|
-
{
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
width: 100%;
|
|
6
|
-
padding: 0;
|
|
7
|
-
background-color: #ffffff;
|
|
8
|
-
background-image: none;
|
|
9
|
-
border: 1px solid #cccccc;
|
|
10
|
-
border-radius: 4px;
|
|
11
|
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
|
|
12
|
-
height: 28px;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
cursor: default;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
div.btn-select:hover .selected-caret
|
|
18
|
-
{
|
|
19
|
-
background-color: #F2F2F2;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
div.btn-select .selected-value
|
|
23
|
-
{
|
|
24
|
-
flex: 1;
|
|
25
|
-
text-align: left;
|
|
26
|
-
min-width: 0;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
text-overflow: ellipsis;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
div.btn-select .selected-caret
|
|
32
|
-
{
|
|
33
|
-
flex: 0 0 20px;
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
flex-direction: row;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.selected-multi-value
|
|
42
|
-
{
|
|
43
|
-
align-self: center;
|
|
44
|
-
padding: 1px 4px;
|
|
45
|
-
border-radius: 4px;
|
|
46
|
-
margin-left: 3px;
|
|
47
|
-
margin-right: 3px;
|
|
48
|
-
background: #BBB;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.selected-multi-value-cancel
|
|
52
|
-
{
|
|
53
|
-
margin-left: 4px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.selected-multi-value-cancel:hover
|
|
57
|
-
{
|
|
58
|
-
opacity: 0.7;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.cancel-selected
|
|
63
|
-
{
|
|
64
|
-
cursor: pointer;
|
|
65
|
-
align-self: center;
|
|
66
|
-
padding: 2px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.cancel-selected:hover
|
|
70
|
-
{
|
|
71
|
-
opacity: 0.7;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.cancel-selected:before
|
|
75
|
-
{
|
|
76
|
-
content: "\f00d";
|
|
77
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { StringLocalization } from '@anglr/common';
|
|
3
|
-
import { NgSelectPluginInstances } from '../../../components/select';
|
|
4
|
-
import { NgSelectPlugin } from '../../../misc';
|
|
5
|
-
import { PluginBus } from '../../../misc/pluginBus/pluginBus';
|
|
6
|
-
import { NormalStateAbstractComponent } from '../normalStateAbstract.component';
|
|
7
|
-
import { CssClassesEditNormalState, EditNormalState, EditNormalStateOptions } from './editNormalState.interface';
|
|
8
|
-
import { NgSelectOption } from '../../../components/option';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* Component used for rendering edit normal state of select
|
|
12
|
-
*/
|
|
13
|
-
export declare class EditNormalStateComponent<TValue = any> extends NormalStateAbstractComponent<CssClassesEditNormalState, EditNormalStateOptions<TValue>, TValue> implements EditNormalState, NgSelectPlugin<EditNormalStateOptions>, OnDestroy {
|
|
14
|
-
/**
|
|
15
|
-
* Gets currently selected options
|
|
16
|
-
*/
|
|
17
|
-
get selectedOptions(): NgSelectOption[];
|
|
18
|
-
constructor(ngSelectPlugins: NgSelectPluginInstances, pluginBus: PluginBus, pluginElement: ElementRef, changeDetector: ChangeDetectorRef, stringLocalization: StringLocalization, options?: EditNormalStateOptions);
|
|
19
|
-
/**
|
|
20
|
-
* Cancel selected options
|
|
21
|
-
*/
|
|
22
|
-
cancelSelected(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditNormalStateComponent<any>, [{ optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditNormalStateComponent<any>, "div.edit-normal-state", never, {}, {}, never, ["*"], false, never>;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=editNormalState.component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editNormalState.component.d.ts","sourceRoot":"","sources":["editNormalState.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,iBAAiB,EAAa,UAAU,EAAU,SAAS,EAAW,MAAM,eAAe,CAAC;AAC7H,OAAO,EAAC,kBAAkB,EAAsB,MAAM,eAAe,CAAC;AAGtE,OAAO,EAAC,uBAAuB,EAAC,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAC,SAAS,EAAC,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAC,4BAA4B,EAAC,MAAM,kCAAkC,CAAC;AAE9E,OAAO,EAAC,yBAAyB,EAAE,eAAe,EAAE,sBAAsB,EAAC,MAAM,6BAA6B,CAAC;AAC/G,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;;AA8B1D;;GAEG;AACH,qBAQa,wBAAwB,CAAC,MAAM,GAAG,GAAG,CAAE,SAAQ,4BAA4B,CAAC,yBAAyB,EAAE,sBAAsB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAE,YAAW,eAAe,EAAE,cAAc,CAAC,sBAAsB,CAAC,EAAE,SAAS;IAIrO;;OAEG;IACH,IAAW,eAAe,IAAI,cAAc,EAAE,CAG7C;gBAG2D,eAAe,EAAE,uBAAuB,EAC5E,SAAS,EAAE,SAAS,EAChC,aAAa,EAAE,UAAU,EACzB,cAAc,EAAE,iBAAiB,EACJ,kBAAkB,EAAE,kBAAkB,EACzB,OAAO,CAAC,EAAE,sBAAsB;IAStF;;OAEG;IACI,cAAc,IAAI,IAAI;yCA9BpB,wBAAwB;2CAAxB,wBAAwB;CA6CpC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<div [ngClass]="options?.cssClasses?.normalStateElement" [title]="valueHandler?.selectedOptions | ngSelectValue: texts?.nothingSelected">
|
|
2
|
-
<ng-template [ngIf]="pluginBus.selectOptions.multiple">
|
|
3
|
-
<div *ngFor="let option of selectedOptions" [ngClass]="options?.cssClasses?.selectedMultiValueContainer">
|
|
4
|
-
<span>{{option | ngSelectValue: texts?.nothingSelected: options?.optionDisplayText}}</span>
|
|
5
|
-
<span [ngClass]="options?.cssClasses?.selectedMultiValueCancel"
|
|
6
|
-
(click)="pluginBus.optionCancel.emit(option)">x</span>
|
|
7
|
-
</div>
|
|
8
|
-
</ng-template>
|
|
9
|
-
|
|
10
|
-
<ng-content></ng-content>
|
|
11
|
-
|
|
12
|
-
<div *ngIf="options?.cancelButton && (valueHandler?.selectedOptions | ngSelectHasValue)"
|
|
13
|
-
(click)="cancelSelected()"
|
|
14
|
-
[ngClass]="options?.cssClasses?.cancelSelectedElement"></div>
|
|
15
|
-
|
|
16
|
-
<div [ngClass]="options?.cssClasses?.selectedCarretWrapper" (click)="pluginBus?.togglePopup.emit(); pluginBus?.liveSearchFocus?.emit()" *ngIf="options?.showOptionsButton">
|
|
17
|
-
<span [ngClass]="options?.cssClasses?.selectedCarret"></span>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { NormalState, NormalStateOptions } from '../normalState.interface';
|
|
2
|
-
/**
|
|
3
|
-
* Css classes for edit normal state
|
|
4
|
-
*/
|
|
5
|
-
export interface CssClassesEditNormalState {
|
|
6
|
-
/**
|
|
7
|
-
* Applied to currently selected value, which is visible to user (default template)
|
|
8
|
-
*/
|
|
9
|
-
selectedValue?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Applied to "carret", indicating that it is select and there is more options available
|
|
12
|
-
*/
|
|
13
|
-
selectedCarret?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Applied to "carret" wrapper element
|
|
16
|
-
*/
|
|
17
|
-
selectedCarretWrapper?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Applied to HTML element that represents normal default state visible to user
|
|
20
|
-
*/
|
|
21
|
-
normalStateElement?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Applied to container displaying single multi value
|
|
24
|
-
*/
|
|
25
|
-
selectedMultiValueContainer?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Applied to element used for canceling selected value
|
|
28
|
-
*/
|
|
29
|
-
selectedMultiValueCancel?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Applied to element that is used as cancel selected button
|
|
32
|
-
*/
|
|
33
|
-
cancelSelectedElement?: string;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Edit normal state options
|
|
37
|
-
*/
|
|
38
|
-
export interface EditNormalStateOptions<TValue = any> extends NormalStateOptions<CssClassesEditNormalState, TValue> {
|
|
39
|
-
/**
|
|
40
|
-
* Indication whether display cancel button
|
|
41
|
-
*/
|
|
42
|
-
cancelButton?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Indication whether display button for displaying options
|
|
45
|
-
*/
|
|
46
|
-
showOptionsButton?: boolean;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Public API for 'EditNormalStateComponent'
|
|
50
|
-
*/
|
|
51
|
-
export interface EditNormalState extends NormalState {
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=editNormalState.interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editNormalState.interface.d.ts","sourceRoot":"","sources":["editNormalState.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IAEtC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAErC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB,CAAC,MAAM,GAAG,GAAG,CAAE,SAAQ,kBAAkB,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAE/G;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,WAAW;CAEnD"}
|