@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
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import {Directive, ValueProvider} from '@angular/core';
|
|
3
|
+
// import {NORMAL_STATE_TYPE, LIVE_SEARCH_TYPE, POPUP_TYPE, KEYBOARD_HANDLER_TYPE} from '../../misc/types';
|
|
4
|
+
// import {EditNormalStateComponent} from '../../plugins/normalState/edit/editNormalState.component';
|
|
5
|
+
// import {EditLiveSearchComponent} from '../../plugins/liveSearch/edit/editLiveSearch.component';
|
|
6
|
+
// import {EditPopupComponent} from '../../plugins/popup/edit/editPopup.component';
|
|
7
|
+
// import {EditKeyboardHandlerComponent} from '../../plugins/keyboardHandler/components';
|
|
8
|
+
// import {SelectComponent} from '../../components';
|
|
9
|
+
// import {ExcludingOptionsGatherer} from '../../misc/optionsGatherer/types';
|
|
10
|
+
// /**
|
|
11
|
+
// * Directive that applies options for NgSelect which enable usage of NgSelect edit (jira like) style
|
|
12
|
+
// */
|
|
13
|
+
// @Directive(
|
|
14
|
+
// {
|
|
15
|
+
// selector: 'ng-select[editStyle]',
|
|
16
|
+
// providers:
|
|
17
|
+
// [
|
|
18
|
+
// <ValueProvider>
|
|
19
|
+
// {
|
|
20
|
+
// provide: NORMAL_STATE_TYPE,
|
|
21
|
+
// useValue: EditNormalStateComponent,
|
|
22
|
+
// },
|
|
23
|
+
// <ValueProvider>
|
|
24
|
+
// {
|
|
25
|
+
// provide: LIVE_SEARCH_TYPE,
|
|
26
|
+
// useValue: EditLiveSearchComponent,
|
|
27
|
+
// },
|
|
28
|
+
// <ValueProvider>
|
|
29
|
+
// {
|
|
30
|
+
// provide: POPUP_TYPE,
|
|
31
|
+
// useValue: EditPopupComponent,
|
|
32
|
+
// },
|
|
33
|
+
// <ValueProvider>
|
|
34
|
+
// {
|
|
35
|
+
// provide: KEYBOARD_HANDLER_TYPE,
|
|
36
|
+
// useValue: EditKeyboardHandlerComponent,
|
|
37
|
+
// },
|
|
38
|
+
// ],
|
|
39
|
+
// })
|
|
40
|
+
// export class SelectEditDirective
|
|
41
|
+
// {
|
|
42
|
+
// //######################### constructor #########################
|
|
43
|
+
// constructor(select: SelectComponent)
|
|
44
|
+
// {
|
|
45
|
+
// select.selectOptions =
|
|
46
|
+
// {
|
|
47
|
+
// optionsGatherer: new ExcludingOptionsGatherer(),
|
|
48
|
+
// };
|
|
49
|
+
// }
|
|
50
|
+
// }
|
|
51
|
+
//# sourceMappingURL=selectEdit.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectEdit.directive.js","sourceRoot":"","sources":["../../../../src/directives/selectEdit/selectEdit.directive.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAE1D,2GAA2G;AAC3G,qGAAqG;AACrG,kGAAkG;AAClG,mFAAmF;AACnF,yFAAyF;AACzF,oDAAoD;AACpD,6EAA6E;AAE7E,MAAM;AACN,uGAAuG;AACvG,MAAM;AACN,cAAc;AACd,IAAI;AACJ,wCAAwC;AACxC,iBAAiB;AACjB,QAAQ;AACR,0BAA0B;AAC1B,YAAY;AACZ,0CAA0C;AAC1C,kDAAkD;AAClD,aAAa;AACb,0BAA0B;AAC1B,YAAY;AACZ,yCAAyC;AACzC,iDAAiD;AACjD,aAAa;AACb,0BAA0B;AAC1B,YAAY;AACZ,mCAAmC;AACnC,4CAA4C;AAC5C,aAAa;AACb,0BAA0B;AAC1B,YAAY;AACZ,8CAA8C;AAC9C,sDAAsD;AACtD,aAAa;AACb,SAAS;AACT,KAAK;AACL,mCAAmC;AACnC,IAAI;AACJ,wEAAwE;AACxE,2CAA2C;AAC3C,QAAQ;AACR,iCAAiC;AACjC,YAAY;AACZ,+DAA+D;AAC/D,aAAa;AACb,QAAQ;AACR,IAAI","sourcesContent":["// import {Directive, ValueProvider} from '@angular/core';\n\n// import {NORMAL_STATE_TYPE, LIVE_SEARCH_TYPE, POPUP_TYPE, KEYBOARD_HANDLER_TYPE} from '../../misc/types';\n// import {EditNormalStateComponent} from '../../plugins/normalState/edit/editNormalState.component';\n// import {EditLiveSearchComponent} from '../../plugins/liveSearch/edit/editLiveSearch.component';\n// import {EditPopupComponent} from '../../plugins/popup/edit/editPopup.component';\n// import {EditKeyboardHandlerComponent} from '../../plugins/keyboardHandler/components';\n// import {SelectComponent} from '../../components';\n// import {ExcludingOptionsGatherer} from '../../misc/optionsGatherer/types';\n\n// /**\n// * Directive that applies options for NgSelect which enable usage of NgSelect edit (jira like) style\n// */\n// @Directive(\n// {\n// selector: 'ng-select[editStyle]',\n// providers:\n// [\n// <ValueProvider>\n// {\n// provide: NORMAL_STATE_TYPE,\n// useValue: EditNormalStateComponent,\n// },\n// <ValueProvider>\n// {\n// provide: LIVE_SEARCH_TYPE,\n// useValue: EditLiveSearchComponent,\n// },\n// <ValueProvider>\n// {\n// provide: POPUP_TYPE,\n// useValue: EditPopupComponent,\n// },\n// <ValueProvider>\n// {\n// provide: KEYBOARD_HANDLER_TYPE,\n// useValue: EditKeyboardHandlerComponent,\n// },\n// ],\n// })\n// export class SelectEditDirective\n// {\n// //######################### constructor #########################\n// constructor(select: SelectComponent)\n// {\n// select.selectOptions =\n// {\n// optionsGatherer: new ExcludingOptionsGatherer(),\n// };\n// }\n// }\n"]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// import {Directive, OnInit, Input} from '@angular/core';
|
|
3
|
+
// import {SelectComponent} from '../../components';
|
|
4
|
+
// import {LiveSearchOptions} from '../../plugins/liveSearch';
|
|
5
|
+
// /**
|
|
6
|
+
// * Directive used for setting live search placeholder text
|
|
7
|
+
// */
|
|
8
|
+
// @Directive(
|
|
9
|
+
// {
|
|
10
|
+
// selector: 'ng-select[placeholder]',
|
|
11
|
+
// })
|
|
12
|
+
// export class SelectPlaceholderDirective implements OnInit
|
|
13
|
+
// {
|
|
14
|
+
// //######################### public properties - inputs #########################
|
|
15
|
+
// /**
|
|
16
|
+
// * Placeholder text used for live search plugin
|
|
17
|
+
// */
|
|
18
|
+
// @Input()
|
|
19
|
+
// public placeholder: string;
|
|
20
|
+
// //######################### constructor #########################
|
|
21
|
+
// constructor(private _select: SelectComponent)
|
|
22
|
+
// {
|
|
23
|
+
// }
|
|
24
|
+
// //######################### public methods - implementation of OnInit #########################
|
|
25
|
+
// /**
|
|
26
|
+
// * Initialize component
|
|
27
|
+
// */
|
|
28
|
+
// public ngOnInit(): void
|
|
29
|
+
// {
|
|
30
|
+
// this._select.selectOptions =
|
|
31
|
+
// {
|
|
32
|
+
// plugins:
|
|
33
|
+
// {
|
|
34
|
+
// liveSearch:
|
|
35
|
+
// {
|
|
36
|
+
// options: <LiveSearchOptions>
|
|
37
|
+
// {
|
|
38
|
+
// texts:
|
|
39
|
+
// {
|
|
40
|
+
// inputPlaceholder: this.placeholder
|
|
41
|
+
// },
|
|
42
|
+
// },
|
|
43
|
+
// },
|
|
44
|
+
// },
|
|
45
|
+
// };
|
|
46
|
+
// }
|
|
47
|
+
// }
|
|
48
|
+
//# sourceMappingURL=selectPlaceholder.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectPlaceholder.directive.js","sourceRoot":"","sources":["../../../../src/directives/selectPlaceholder/selectPlaceholder.directive.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAE1D,oDAAoD;AACpD,8DAA8D;AAE9D,MAAM;AACN,6DAA6D;AAC7D,MAAM;AACN,cAAc;AACd,IAAI;AACJ,0CAA0C;AAC1C,KAAK;AACL,4DAA4D;AAC5D,IAAI;AACJ,uFAAuF;AAEvF,UAAU;AACV,sDAAsD;AACtD,UAAU;AACV,eAAe;AACf,kCAAkC;AAElC,wEAAwE;AACxE,oDAAoD;AACpD,QAAQ;AACR,QAAQ;AAER,sGAAsG;AAEtG,UAAU;AACV,8BAA8B;AAC9B,UAAU;AACV,8BAA8B;AAC9B,QAAQ;AACR,uCAAuC;AACvC,YAAY;AACZ,uBAAuB;AACvB,gBAAgB;AAChB,8BAA8B;AAC9B,oBAAoB;AACpB,mDAAmD;AACnD,wBAAwB;AACxB,iCAAiC;AACjC,4BAA4B;AAC5B,iEAAiE;AACjE,6BAA6B;AAC7B,yBAAyB;AACzB,qBAAqB;AACrB,iBAAiB;AACjB,aAAa;AACb,QAAQ;AACR,IAAI","sourcesContent":["// import {Directive, OnInit, Input} from '@angular/core';\n\n// import {SelectComponent} from '../../components';\n// import {LiveSearchOptions} from '../../plugins/liveSearch';\n\n// /**\n// * Directive used for setting live search placeholder text\n// */\n// @Directive(\n// {\n// selector: 'ng-select[placeholder]',\n// })\n// export class SelectPlaceholderDirective implements OnInit\n// {\n// //######################### public properties - inputs #########################\n\n// /**\n// * Placeholder text used for live search plugin\n// */\n// @Input()\n// public placeholder: string;\n\n// //######################### constructor #########################\n// constructor(private _select: SelectComponent)\n// {\n// }\n\n// //######################### public methods - implementation of OnInit #########################\n\n// /**\n// * Initialize component\n// */\n// public ngOnInit(): void\n// {\n// this._select.selectOptions =\n// {\n// plugins:\n// {\n// liveSearch:\n// {\n// options: <LiveSearchOptions>\n// {\n// texts:\n// {\n// inputPlaceholder: this.placeholder\n// },\n// },\n// },\n// },\n// };\n// }\n// }\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
//TODO: finish
|
|
4
|
+
/**
|
|
5
|
+
* Directive that allows direct access to select properties using inputs, outputs
|
|
6
|
+
*/
|
|
7
|
+
export class WithDirectAccess {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: WithDirectAccess, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.5", type: WithDirectAccess, isStandalone: true, selector: "[withDirectAccess]", ngImport: i0 }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: WithDirectAccess, decorators: [{
|
|
12
|
+
type: Directive,
|
|
13
|
+
args: [{
|
|
14
|
+
selector: '[withDirectAccess]',
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=withDirectAccess.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withDirectAccess.directive.js","sourceRoot":"","sources":["../../../../src/directives/withDirectAccess/withDirectAccess.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;;AAExC,cAAc;AAEd;;GAEG;AAKH,MAAM,OAAO,gBAAgB;8GAAhB,gBAAgB;kGAAhB,gBAAgB;;2FAAhB,gBAAgB;kBAJ5B,SAAS;mBACV;oBACI,QAAQ,EAAE,oBAAoB;iBACjC","sourcesContent":["import {Directive} from '@angular/core';\n\n//TODO: finish\n\n/**\n * Directive that allows direct access to select properties using inputs, outputs\n */\n@Directive(\n{\n selector: '[withDirectAccess]',\n})\nexport class WithDirectAccess\n{\n}\n"]}
|
package/es2022/src/index.js
CHANGED
|
@@ -1,43 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './components/select';
|
|
8
|
-
export * from './directives/ngSelectAbsolute/ngSelectAbsolute.directive';
|
|
9
|
-
export * from './directives/ngSelectEdit/ngSelectEdit.directive';
|
|
10
|
-
export * from './directives/ngSelectPlaceholder/ngSelectPlaceholder.directive';
|
|
11
|
-
export * from './misc/ngSelectControlValueAccessor.directive';
|
|
12
|
-
export * from './misc';
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './directives';
|
|
3
|
+
export * from './misc/classes';
|
|
4
|
+
export * from './misc/enums';
|
|
5
|
+
export * from './misc/providers';
|
|
6
|
+
export * from './misc/tokens';
|
|
13
7
|
export * from './misc/types';
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './misc/optionsGatherer/types';
|
|
17
|
-
export * from './modules/ngSelect.module';
|
|
18
|
-
export * from './modules/ngSelectDynamic.module';
|
|
19
|
-
export * from './modules/ngSelectEdit.module';
|
|
20
|
-
export * from './pipes/ngSelectHasValue.pipe';
|
|
21
|
-
export * from './pipes/ngSelectValue.pipe';
|
|
22
|
-
export * from './plugins/keyboardHandler';
|
|
23
|
-
export * from './plugins/keyboardHandler/types';
|
|
24
|
-
export * from './plugins/keyboardHandler/components';
|
|
25
|
-
export * from './plugins/liveSearch';
|
|
26
|
-
export * from './plugins/liveSearch/types';
|
|
27
|
-
export * from './plugins/liveSearch/components';
|
|
28
|
-
export * from './plugins/normalState';
|
|
29
|
-
export * from './plugins/normalState/types';
|
|
30
|
-
export * from './plugins/normalState/components';
|
|
31
|
-
export * from './plugins/popup';
|
|
32
|
-
export * from './plugins/popup/types';
|
|
33
|
-
export * from './plugins/popup/component';
|
|
34
|
-
export * from './plugins/positioner';
|
|
35
|
-
export * from './plugins/positioner/types';
|
|
36
|
-
export * from './plugins/positioner/components';
|
|
37
|
-
export * from './plugins/readonlyState';
|
|
38
|
-
export * from './plugins/readonlyState/types';
|
|
39
|
-
export * from './plugins/valueHandler';
|
|
40
|
-
export * from './plugins/valueHandler/types';
|
|
41
|
-
export * from './plugins/valueHandler/components';
|
|
42
|
-
export * from './misc/extensions';
|
|
8
|
+
export * from './modules';
|
|
9
|
+
export * from './pipes';
|
|
43
10
|
//# sourceMappingURL=index.js.map
|
package/es2022/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC","sourcesContent":["export * from './components';\nexport * from './directives';\nexport * from './misc/classes';\nexport * from './misc/enums';\nexport * from './misc/providers';\nexport * from './misc/tokens';\nexport * from './misc/types';\nexport * from './modules';\nexport * from './pipes';\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from './initState/initState.interface';
|
|
2
|
+
export * from './normalStateContext/normalStateContext.interface';
|
|
3
|
+
export * from './optionsGatherer/optionsGatherer.interface';
|
|
4
|
+
export * from './pluginDescription/pluginDescription.interface';
|
|
5
|
+
export * from './pluginOptions/pluginOptions.interface';
|
|
6
|
+
export * from './plugins';
|
|
7
|
+
export * from './popupContext/popupContext.interface';
|
|
8
|
+
export * from './selectApi/selectApi.interface';
|
|
9
|
+
export * from './selectBusOptions/selectBusOptions.interface';
|
|
10
|
+
export * from './selectCssClasses/selectCssClasses.interface';
|
|
11
|
+
export * from './selectEvent/selectEvent.interface';
|
|
12
|
+
export * from './selectEvents/selectEvents.interface';
|
|
13
|
+
export * from './selectOption/selectOption.interface';
|
|
14
|
+
export * from './selectOptionGroup/selectOptionGroup.interface';
|
|
15
|
+
export * from './selectOptions/selectOptions.interface';
|
|
16
|
+
export * from './selectPlugin/selectPlugin.interface';
|
|
17
|
+
export * from './selectPluginTypes/selectPluginTypes.interface';
|
|
18
|
+
export * from './templateGatherer/templateGatherer.interface';
|
|
19
|
+
export * from './visualPluginOptions/visualPluginOptions.interface';
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,mDAAmD,CAAC;AAClE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,yCAAyC,CAAC;AACxD,cAAc,WAAW,CAAC;AAC1B,cAAc,uCAAuC,CAAC;AACtD,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC","sourcesContent":["export * from './initState/initState.interface';\nexport * from './normalStateContext/normalStateContext.interface';\nexport * from './optionsGatherer/optionsGatherer.interface';\nexport * from './pluginDescription/pluginDescription.interface';\nexport * from './pluginOptions/pluginOptions.interface';\nexport * from './plugins';\nexport * from './popupContext/popupContext.interface';\nexport * from './selectApi/selectApi.interface';\nexport * from './selectBusOptions/selectBusOptions.interface';\nexport * from './selectCssClasses/selectCssClasses.interface';\nexport * from './selectEvent/selectEvent.interface';\nexport * from './selectEvents/selectEvents.interface';\nexport * from './selectOption/selectOption.interface';\nexport * from './selectOptionGroup/selectOptionGroup.interface';\nexport * from './selectOptions/selectOptions.interface';\nexport * from './selectPlugin/selectPlugin.interface';\nexport * from './selectPluginTypes/selectPluginTypes.interface';\nexport * from './templateGatherer/templateGatherer.interface';\nexport * from './visualPluginOptions/visualPluginOptions.interface';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initState.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/initState/initState.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Wraps state of initialization\n */\nexport interface InitState\n{\n //######################### properties #########################\n\n /**\n * Represents state of initialization\n */\n initialized: boolean;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalStateContext.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/normalStateContext/normalStateContext.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {NormalState} from '../plugins';\n\n/**\n * Context for template that is used within normal state plugin for rendering content\n */\nexport interface NormalStateContext\n{\n /**\n * Instance of plugin itself\n */\n $implicit: NormalState;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optionsGatherer.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/optionsGatherer/optionsGatherer.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Signal} from '@angular/core';\n\nimport {SelectOption} from '../selectOption/selectOption.interface';\n\n/**\n * Gatherer used for obtaining options for select\n */\nexport interface OptionsGatherer<TValue = unknown>\n{\n /**\n * Array of all available options for select\n */\n readonly availableOptions: Signal<readonly SelectOption<TValue>[]|undefined|null>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pluginDescription.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/pluginDescription/pluginDescription.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Type} from '@angular/core';\n\nimport {SelectPlugin} from '../selectPlugin/selectPlugin.interface';\nimport {PluginOptions} from '../pluginOptions/pluginOptions.interface';\n\n/**\n * Description of plugin, used for creating plugin instance\n */\nexport interface PluginDescription<PluginType = unknown>\n{\n /**\n * Type of plugin that will be dynamically instantiated\n */\n type: Type<PluginType>|undefined|null;\n\n /**\n * Options that will be passed to dynamically instantiated plugin\n */\n options: PluginOptions|undefined|null;\n\n /**\n * Optional callback used for obtaining dynamic instance of plugin (allows direct communication with plugin)\n */\n instanceCallback: ((instance: SelectPlugin|undefined|null) => void)|undefined|null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pluginOptions.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/pluginOptions/pluginOptions.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Base options for every plugin\n */\nexport interface PluginOptions\n{\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './interactions/interactions.interface';
|
|
2
|
+
export * from './keyboardHandler/keyboardHandler.interface';
|
|
3
|
+
export * from './liveSearch/liveSearch.interface';
|
|
4
|
+
export * from './normalState/normalState.interface';
|
|
5
|
+
export * from './optionsHandler/optionsHandler.interface';
|
|
6
|
+
export * from './popup/popup.interface';
|
|
7
|
+
export * from './positioner/positioner.interface';
|
|
8
|
+
export * from './readonlyState/readonlyState.interface';
|
|
9
|
+
export * from './valueHandler/valueHandler.interface';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/interfaces/plugins/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC;AACxD,cAAc,uCAAuC,CAAC","sourcesContent":["export * from './interactions/interactions.interface';\nexport * from './keyboardHandler/keyboardHandler.interface';\nexport * from './liveSearch/liveSearch.interface';\nexport * from './normalState/normalState.interface';\nexport * from './optionsHandler/optionsHandler.interface';\nexport * from './popup/popup.interface';\nexport * from './positioner/positioner.interface';\nexport * from './readonlyState/readonlyState.interface';\nexport * from './valueHandler/valueHandler.interface';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interactions.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/interactions/interactions.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {PluginOptions} from '../../pluginOptions/pluginOptions.interface';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\n\n/**\n * Options for interactions plugin\n */\nexport interface InteractionsOptions extends PluginOptions\n{\n}\n\n/**\n * Interactions plugin interface\n */\nexport interface Interactions extends SelectPlugin\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboardHandler.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/keyboardHandler/keyboardHandler.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {PluginOptions} from '../../pluginOptions/pluginOptions.interface';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\n\n/**\n * Options for keyboard handler plugin\n */\nexport interface KeyboardHandlerOptions extends PluginOptions\n{\n}\n\n/**\n * Keyboard handler plugin interface\n */\nexport interface KeyboardHandler extends SelectPlugin\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"liveSearch.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/liveSearch/liveSearch.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {PluginOptions} from '../../pluginOptions/pluginOptions.interface';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\n\n/**\n * Options for live search plugin\n */\nexport interface LiveSearchOptions extends PluginOptions\n{\n}\n\n/**\n * Live search plugin interface\n */\nexport interface LiveSearch extends SelectPlugin\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalState.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/normalState/normalState.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {DisplayTextFunc} from '../../../misc/types';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\nimport {VisualPluginOptions} from '../../visualPluginOptions/visualPluginOptions.interface';\n\n/**\n * Texts that are used within NormalState\n */\nexport interface NormalStateTexts\n{\n /**\n * Displayed when there is no value selected, represents empty value, used if value is null or empty array\n */\n nothingSelected: string;\n}\n\n/**\n * Options for normal state plugin\n */\nexport interface NormalStateOptions<TValue = unknown, TCssClasses = unknown> extends VisualPluginOptions<TCssClasses>\n{\n /**\n * Texts that are used within any NormalState\n */\n texts: NormalStateTexts;\n\n /**\n * Function used for transformation of option into display text\n */\n optionDisplayText: DisplayTextFunc<TValue>;\n}\n\n/**\n * Normal state plugin interface\n */\nexport interface NormalState extends SelectPlugin\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optionsHandler.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/optionsHandler/optionsHandler.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Signal} from '@angular/core';\n\nimport {PluginOptions} from '../../pluginOptions/pluginOptions.interface';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\nimport {SelectOption} from '../../selectOption/selectOption.interface';\n\n/**\n * Options for options handler plugin\n */\nexport interface OptionsHandlerOptions extends PluginOptions\n{\n}\n\n/**\n * Options handler plugin interface\n */\nexport interface OptionsHandler<TValue = unknown, TOptions extends OptionsHandlerOptions = OptionsHandlerOptions> extends SelectPlugin<TOptions, TValue>\n{\n //######################### properties #########################\n\n /**\n * Array of options that are available for displaying in select\n */\n readonly availableOptions: Signal<readonly SelectOption<TValue>[]|undefined|null>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popup.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/popup/popup.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {PluginOptions} from '../../pluginOptions/pluginOptions.interface';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\n\n/**\n * Options for popup plugin\n */\nexport interface PopupOptions extends PluginOptions\n{\n}\n\n/**\n * Popup plugin interface\n */\nexport interface Popup extends SelectPlugin\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"positioner.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/positioner/positioner.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {PluginOptions} from '../../pluginOptions/pluginOptions.interface';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\n\n/**\n * Options for positioner plugin\n */\nexport interface PositionerOptions extends PluginOptions\n{\n}\n\n/**\n * Positioner plugin interface\n */\nexport interface Positioner extends SelectPlugin\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readonlyState.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/readonlyState/readonlyState.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {NormalState, NormalStateOptions} from '../normalState/normalState.interface';\n\n/**\n * Options for readonly state plugin\n */\nexport interface ReadonlyStateOptions<TCssClasses = unknown> extends NormalStateOptions<TCssClasses>\n{\n}\n\n/**\n * Readonly state plugin interface\n */\nexport interface ReadonlyState extends NormalState\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"valueHandler.interface.js","sourceRoot":"","sources":["../../../../../src/interfaces/plugins/valueHandler/valueHandler.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Signal} from '@angular/core';\n\nimport {PluginOptions} from '../../pluginOptions/pluginOptions.interface';\nimport {SelectPlugin} from '../../selectPlugin/selectPlugin.interface';\n\n/**\n * Options for value handler plugin\n */\nexport interface ValueHandlerOptions extends PluginOptions\n{\n}\n\n/**\n * Value handler plugin interface\n */\nexport interface ValueHandler<TValue = unknown, TOptions extends ValueHandlerOptions = ValueHandlerOptions> extends SelectPlugin<TOptions, TValue>\n{\n //######################### properties #########################\n\n /**\n * Current selected value of Select\n */\n readonly value: Signal<TValue|TValue[]|undefined|null>;\n\n //######################### methods #########################\n\n /**\n * Sets value for Select\n * @param value - Value to be set\n */\n setValue(value: TValue|TValue[]|undefined|null): void;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popupContext.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/popupContext/popupContext.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Popup} from '../plugins';\nimport {SelectOption} from '../selectOption/selectOption.interface';\n\n/**\n * Context for template that is used within popup plugin for rendering option\n */\nexport interface PopupContext\n{\n /**\n * Instance of plugin itself\n */\n $implicit: SelectOption;\n\n /**\n * Instance of plugin itself\n */\n popup: Popup;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectApi.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectApi/selectApi.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Signal} from '@angular/core';\n\nimport {SelectOptions} from '../selectOptions/selectOptions.interface';\nimport {SelectPlugin} from '../selectPlugin/selectPlugin.interface';\nimport {SelectAction, SelectFunction} from '../../misc/types';\nimport {SelectEvents} from '../selectEvents/selectEvents.interface';\nimport {SelectPluginType} from '../../misc/enums';\nimport {Interactions, KeyboardHandler, LiveSearch, NormalState, OptionsHandler, Popup, Positioner, ReadonlyState, ValueHandler} from '../plugins';\nimport {SelectCssClasses} from '../selectCssClasses/selectCssClasses.interface';\n\n/**\n * Public API for Select\n */\nexport interface SelectApi<TValue = unknown, TCssClasses = SelectCssClasses>\n{\n /**\n * Gets information whether is select initialized or not, changes when Select is initialized or reinitialized, if value is false Select was not initialized yet\n */\n readonly initialized: Signal<boolean>;\n\n /**\n * Gets or sets Select options\n */\n selectOptions: SelectOptions<TValue, TCssClasses>;\n\n /**\n * Select public events, signal based\n */\n readonly events: SelectEvents;\n\n /**\n * Gets instance of plugin by its type\n * @param pluginType - Type of plugin\n */\n getPlugin(pluginType: SelectPluginType.Interactions): Interactions;\n getPlugin(pluginType: SelectPluginType.KeyboardHandler): KeyboardHandler;\n getPlugin(pluginType: SelectPluginType.LiveSearch): LiveSearch;\n getPlugin(pluginType: SelectPluginType.NormalState): NormalState;\n getPlugin(pluginType: SelectPluginType.OptionsHandler): OptionsHandler;\n getPlugin(pluginType: SelectPluginType.Popup): Popup;\n getPlugin(pluginType: SelectPluginType.Positioner): Positioner;\n getPlugin(pluginType: SelectPluginType.ReadonlyState): ReadonlyState;\n getPlugin(pluginType: SelectPluginType.ValueHandler): ValueHandler;\n getPlugin<PluginInstance extends SelectPlugin>(pluginType: SelectPluginType): PluginInstance;\n\n /**\n * Executes actions on Select\n * @param actions - Array of actions that are executed over Select\n */\n execute(...actions: SelectAction<TValue, TCssClasses>[]): void;\n\n /**\n * Executes function on Select and returns result\n * @param func - Function that is executed and its result is returned\n */\n executeAndReturn<TResult>(func: SelectFunction<TResult, TValue, TCssClasses>): TResult;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectBusOptions.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectBusOptions/selectBusOptions.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {ValueExtractorFunc} from '../../misc/types';\nimport {OptionsGatherer} from '../optionsGatherer/optionsGatherer.interface';\nimport {TemplateGatherer} from '../templateGatherer/templateGatherer.interface';\n\n/**\n * Options used for select bus\n */\nexport interface SelectBusOptions<TValue = unknown>\n{\n //######################### properties #########################\n\n /**\n * Instance of options gatherer that is used for obtaining options\n */\n optionsGatherer: OptionsGatherer<TValue>;\n\n /**\n * Instance of template gatherer used for obtaining custom templates\n */\n templateGatherer: TemplateGatherer;\n\n /**\n * Indication whether is Select readonly or not\n */\n readonly: boolean;\n\n /**\n * Indication that multiple values can be selected\n */\n multiple: boolean;\n\n // /**\n // * Indication whether use non existing value in live search as new value, use with dynamic value handler\n // */\n // useNonExistingAsValue: boolean;\n\n /**\n * Function used to extract value from option, if not provided, select option value will be used as value\n */\n valueExtractor: ValueExtractorFunc<TValue>;\n\n // /**\n // * Method that is used for filtering when live search is running on static data\n // */\n // liveSearchFilter?: LiveSearchFilter<TValue>;\n\n // /**\n // * Normalizer used for normalizing values\n // */\n // normalizer?: NormalizeFunc<TValue>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectCssClasses.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectCssClasses/selectCssClasses.interface.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Css classes for Select\n */\nexport interface SelectCssClasses\n{\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectEvent.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectEvent/selectEvent.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {SelectApi} from '../selectApi/selectApi.interface';\nimport {SelectPlugin} from '../selectPlugin/selectPlugin.interface';\n\n/**\n * Event that is used for 'void' events, storing information about source of event and source element\n */\nexport interface SelectEvent<TData = void>\n{\n /**\n * Html element that caused the event\n */\n sourceElement: HTMLElement;\n\n /**\n * Instance of select or select plugin that caused event\n */\n source: SelectApi|SelectPlugin;\n\n /**\n * Data passed with event that occured\n */\n data?: TData;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectEvents.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectEvents/selectEvents.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Observable} from 'rxjs';\n\nimport {SelectEvent} from '../selectEvent/selectEvent.interface';\nimport {SelectOption} from '../selectOption/selectOption.interface';\n\n/**\n * Represents all events implemented by select bus\n */\nexport interface SelectEvents\n{\n //######################### public properties - events #########################\n\n /**\n * Occurs when popup visibility should be toggled\n */\n readonly togglePopup: Observable<SelectEvent>;\n\n /**\n * Occurs when popup visibility should be changed\n */\n readonly showHidePopup: Observable<SelectEvent<boolean>>;\n\n /**\n * Occurs when option should be selected\n */\n readonly optionSelect: Observable<SelectEvent<SelectOption>>;\n\n /**\n * Occurs when option should be canceled\n */\n readonly optionCancel: Observable<SelectEvent<SelectOption>>;\n\n /**\n * Occurs when any part of select gains focus\n */\n readonly focus: Observable<SelectEvent>;\n\n /**\n * Occurs when live search should gain focus\n */\n readonly liveSearchFocus: Observable<SelectEvent>;\n\n /**\n * Occurs when there is need for updating displayed value\n */\n readonly updateDisplayedValue: Observable<SelectEvent>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectOption.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectOption/selectOption.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Signal, WritableSignal} from '@angular/core';\n\nimport {SelectOptionGroup} from '../selectOptionGroup/selectOptionGroup.interface';\n\n/**\n * Option for select\n */\nexport interface SelectOption<TValue = unknown>\n{\n /**\n * Value that will be used if this option will be selected\n */\n value: Signal<TValue|undefined|null>;\n\n /**\n * Text that is displayed if this value is selected\n */\n text: Signal<string>;\n\n /**\n * If specified this option will be displayed in group\n */\n group: Signal<SelectOptionGroup|undefined|null>;\n}\n\n/**\n * Option for ng select\n */\nexport interface ɵSelectOption<TValue = unknown> extends SelectOption<TValue>\n{\n /**\n * Indication whether is item active\n */\n active: WritableSignal<boolean>;\n\n /**\n * Indication whether is this option selected\n */\n selected: WritableSignal<boolean>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectOptionGroup.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectOptionGroup/selectOptionGroup.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Signal, TemplateRef} from '@angular/core';\n\n/**\n * Option group for Select\n */\nexport interface SelectOptionGroup\n{\n /**\n * Optional template to be used for rendering option group\n */\n template: TemplateRef<{$implicit: string}>|undefined|null;\n\n /**\n * Unique id of group\n */\n readonly id: string;\n\n /**\n * Text that is displayed for this options group\n */\n text: Signal<string>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectOptions.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectOptions/selectOptions.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {SelectBusOptions} from '../selectBusOptions/selectBusOptions.interface';\nimport {SelectCssClasses} from '../selectCssClasses/selectCssClasses.interface';\nimport {SelectPluginTypes} from '../selectPluginTypes/selectPluginTypes.interface';\n\n/**\n * Describes select options used for Select\n */\nexport interface SelectOptions<TValue = unknown, TCssClasses = SelectCssClasses> extends SelectBusOptions<TValue>\n{\n /**\n * Css classes applied to select component\n */\n cssClasses: TCssClasses;\n\n /**\n * Object defining overrides for default plugins, default plugins can be also specified using DI\n */\n plugins: SelectPluginTypes;\n\n /**\n * Indication whether is 'Popup' plugin displayd inside of Select (false) or directly in Body (true)\n */\n absolute: boolean;\n\n /**\n * String that defines element in which should be absolute popup rendered, if not specified, body is used, used only if absolute is set to true, otherwise it has no effect\n *\n * Allows also css classes to be specified (div.body-box)\n */\n containerElement: string|undefined|null;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectPlugin.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectPlugin/selectPlugin.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {ElementRef} from '@angular/core';\nimport {PromiseOr} from '@jscrpt/common';\n\nimport {SelectBus, SelectPluginInstances} from '../../misc/classes';\n\n/**\n * Select plugin interface\n */\nexport interface SelectPlugin<TOptions = unknown, TValue = unknown>\n{\n /**\n * Select plugin instances available for this plugin\n */\n selectPlugins: SelectPluginInstances;\n\n /**\n * Element that represents plugin\n */\n pluginElement: ElementRef<HTMLElement>;\n\n /**\n * Options for Select plugin\n */\n options: TOptions;\n\n /**\n * Plugin bus used in Select\n */\n pluginBus: SelectBus<TValue>;\n\n /**\n * Initialize plugin, to be ready to use, initialize communication with other plugins\n */\n initialize(): PromiseOr<void>;\n\n /**\n * Initialize plugin options, all operations required to be done with plugin options are handled here\n */\n initOptions(): PromiseOr<void>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectPluginTypes.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/selectPluginTypes/selectPluginTypes.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {PluginDescription} from '../pluginDescription/pluginDescription.interface';\nimport {Interactions, KeyboardHandler, LiveSearch, NormalState, OptionsHandler, Popup, Positioner, ReadonlyState, ValueHandler} from '../plugins';\n\n/**\n * All available types of plugins for Select\n */\nexport interface SelectPluginTypes\n{\n /**\n * Handles interactions of plugins and select\n */\n interactions: PluginDescription<Interactions>;\n\n /**\n * Handles keyboard input from user\n */\n keyboardHandler: PluginDescription<KeyboardHandler>;\n\n /**\n * Contains component that is used for live search of options\n */\n liveSearch: PluginDescription<LiveSearch>;\n\n /**\n * Component used for displaying normal state of selected value\n */\n normalState: PluginDescription<NormalState>;\n\n /**\n * Component used for handling available options\n */\n optionsHandler: PluginDescription<OptionsHandler>;\n\n /**\n * Component that handles positioning of popup\n */\n popup: PluginDescription<Popup>;\n\n /**\n * Handles correct position of pop component\n */\n positioner: PluginDescription<Positioner>;\n\n /**\n * Component that is used for displaying readonly state of selected value, can be ommited, in that case normal state is used\n */\n readonlyState: PluginDescription<ReadonlyState>;\n\n /**\n * Component that is used for storing and handling value of select\n */\n valueHandler: PluginDescription<ValueHandler>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"templateGatherer.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/templateGatherer/templateGatherer.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {Signal, TemplateRef} from '@angular/core';\n\nimport {NormalStateContext} from '../normalStateContext/normalStateContext.interface';\nimport {PopupContext} from '../popupContext/popupContext.interface';\n\n/**\n * Gatherer used for obtaining templates for Select\n */\nexport interface TemplateGatherer\n{\n /**\n * Template used within normal state, for rendering normal state if defined\n */\n readonly normalStateTemplate: Signal<TemplateRef<NormalStateContext>|undefined|null>;\n\n /**\n * Template used within Popup, for rendering option if defined\n */\n readonly optionTemplate: Signal<TemplateRef<PopupContext>|undefined|null>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visualPluginOptions.interface.js","sourceRoot":"","sources":["../../../../src/interfaces/visualPluginOptions/visualPluginOptions.interface.ts"],"names":[],"mappings":"","sourcesContent":["import {PluginOptions} from '../pluginOptions/pluginOptions.interface';\n\n/**\n * Base options for every visual plugin (component)\n */\nexport interface VisualPluginOptions<TCssClasses = unknown> extends PluginOptions\n{\n /**\n * Css classes applied to visual plugin (component), possible to override only part of classes\n */\n cssClasses: TCssClasses;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/misc/classes/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,+CAA+C,CAAC","sourcesContent":["export * from './selectBus/selectBus';\nexport * from './selectPluginInstances/selectPluginInstances';\n"]}
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
import { Injectable, EventEmitter } from '@angular/core';
|
|
1
|
+
import { Injectable, EventEmitter, signal } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
|
-
* Class represents centralized bus for
|
|
5
|
+
* Class represents centralized bus for internal communication
|
|
5
6
|
*/
|
|
6
|
-
export class
|
|
7
|
+
export class SelectBus {
|
|
7
8
|
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* HTML element that represents select itself
|
|
11
|
+
*/
|
|
12
|
+
this.selectElement = signal(null, ...(ngDevMode ? [{ debugName: "selectElement" }] : []));
|
|
13
|
+
/**
|
|
14
|
+
* Currently selected options of Select
|
|
15
|
+
*/
|
|
16
|
+
this.selectedOptions = signal(null, ...(ngDevMode ? [{ debugName: "selectedOptions" }] : []));
|
|
8
17
|
//######################### public properties - events #########################
|
|
9
18
|
/**
|
|
10
19
|
* Occurs when popup visibility should be toggled
|
|
11
20
|
*/
|
|
12
|
-
this.togglePopup = new
|
|
21
|
+
this.togglePopup = new Subject();
|
|
13
22
|
/**
|
|
14
23
|
* Occurs when popup visibility should be changed
|
|
15
24
|
*/
|
|
@@ -35,10 +44,10 @@ export class PluginBus {
|
|
|
35
44
|
*/
|
|
36
45
|
this.updateDisplayedValue = new EventEmitter();
|
|
37
46
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.
|
|
39
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.
|
|
47
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: SelectBus, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
48
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: SelectBus }); }
|
|
40
49
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: SelectBus, decorators: [{
|
|
42
51
|
type: Injectable
|
|
43
52
|
}] });
|
|
44
|
-
//# sourceMappingURL=
|
|
53
|
+
//# sourceMappingURL=selectBus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectBus.js","sourceRoot":"","sources":["../../../../../src/misc/classes/selectBus/selectBus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,YAAY,EAAc,MAAM,EAAyB,MAAM,eAAe,CAAC;AACnG,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAC;;AAI7B;;GAEG;AAEH,MAAM,OAAO,SAAS;IADtB;QAYI;;WAEG;QACI,kBAAa,GAA2D,MAAM,CAAC,IAAI,yDAAC,CAAC;QAE5F;;WAEG;QACI,oBAAe,GAA+E,MAAM,CAAC,IAAI,2DAAC,CAAC;QAElH,gFAAgF;QAEhF;;WAEG;QACa,gBAAW,GAAyB,IAAI,OAAO,EAAe,CAAC;QAE/E;;WAEG;QACa,kBAAa,GAAkC,IAAI,YAAY,EAAwB,CAAC;QAExG;;WAEG;QACa,iBAAY,GAAuC,IAAI,YAAY,EAA6B,CAAC;QAEjH;;WAEG;QACa,iBAAY,GAAuC,IAAI,YAAY,EAA6B,CAAC;QAEjH;;WAEG;QACa,UAAK,GAAyB,IAAI,YAAY,EAAe,CAAC;QAE9E;;WAEG;QACa,oBAAe,GAAyB,IAAI,YAAY,EAAe,CAAC;QAExF;;WAEG;QACa,yBAAoB,GAAyB,IAAI,YAAY,EAAe,CAAC;KAChG;8GAzDY,SAAS;kHAAT,SAAS;;2FAAT,SAAS;kBADrB,UAAU","sourcesContent":["import {Injectable, EventEmitter, ElementRef, signal, WritableSignal, Signal} from '@angular/core';\nimport {Subject} from 'rxjs';\n\nimport {SelectEvents, SelectBusOptions, SelectEvent, SelectOption} from '../../../interfaces';\n\n/**\n * Class represents centralized bus for internal communication\n */\n@Injectable()\nexport class SelectBus<TValue = unknown> implements SelectEvents\n{\n //######################### public properties #########################\n\n /**\n * Options passed to select\n *\n * Initialized in constructor of select\n */\n public selectOptions!: Signal<SelectBusOptions<TValue>>;\n\n /**\n * HTML element that represents select itself\n */\n public selectElement: WritableSignal<ElementRef<HTMLElement>|undefined|null> = signal(null);\n\n /**\n * Currently selected options of Select\n */\n public selectedOptions: WritableSignal<SelectOption<TValue>|SelectOption<TValue>[]|undefined|null> = signal(null);\n\n //######################### public properties - events #########################\n\n /**\n * Occurs when popup visibility should be toggled\n */\n public readonly togglePopup: Subject<SelectEvent> = new Subject<SelectEvent>();\n\n /**\n * Occurs when popup visibility should be changed\n */\n public readonly showHidePopup: Subject<SelectEvent<boolean>> = new EventEmitter<SelectEvent<boolean>>();\n\n /**\n * Occurs when option should be selected\n */\n public readonly optionSelect: Subject<SelectEvent<SelectOption>> = new EventEmitter<SelectEvent<SelectOption>>();\n\n /**\n * Occurs when option should be canceled\n */\n public readonly optionCancel: Subject<SelectEvent<SelectOption>> = new EventEmitter<SelectEvent<SelectOption>>();\n\n /**\n * Occurs when any part of select gains focus\n */\n public readonly focus: Subject<SelectEvent> = new EventEmitter<SelectEvent>();\n\n /**\n * Occurs when live search should gain focus\n */\n public readonly liveSearchFocus: Subject<SelectEvent> = new EventEmitter<SelectEvent>();\n\n /**\n * Occurs when there is need for updating displayed value\n */\n public readonly updateDisplayedValue: Subject<SelectEvent> = new EventEmitter<SelectEvent>();\n}\n"]}
|