@simpleangularcontrols/sac-bootstrap4 13.0.0-rc.2
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/README.md +18 -0
- package/components/browser/browser.d.ts +49 -0
- package/components/browser/browser.d.ts.map +1 -0
- package/components/browser/browser.module.d.ts +15 -0
- package/components/browser/browser.module.d.ts.map +1 -0
- package/components/browser/browser.module.ngfactory.d.ts +4 -0
- package/components/browser/browser.module.ngfactory.d.ts.map +1 -0
- package/components/browser/browser.module.ngsummary.d.ts +2 -0
- package/components/browser/browser.module.ngsummary.d.ts.map +1 -0
- package/components/browser/browser.ngfactory.d.ts +4 -0
- package/components/browser/browser.ngfactory.d.ts.map +1 -0
- package/components/browser/browser.ngsummary.d.ts +2 -0
- package/components/browser/browser.ngsummary.d.ts.map +1 -0
- package/controls/buttons/button.d.ts +12 -0
- package/controls/buttons/button.d.ts.map +1 -0
- package/controls/buttons/button.module.d.ts +9 -0
- package/controls/buttons/button.module.d.ts.map +1 -0
- package/controls/buttons/button.module.ngfactory.d.ts +4 -0
- package/controls/buttons/button.module.ngfactory.d.ts.map +1 -0
- package/controls/buttons/button.module.ngsummary.d.ts +2 -0
- package/controls/buttons/button.module.ngsummary.d.ts.map +1 -0
- package/controls/buttons/button.ngfactory.d.ts +4 -0
- package/controls/buttons/button.ngfactory.d.ts.map +1 -0
- package/controls/buttons/button.ngsummary.d.ts +2 -0
- package/controls/buttons/button.ngsummary.d.ts.map +1 -0
- package/controls/checkbox/checkbox.d.ts +18 -0
- package/controls/checkbox/checkbox.d.ts.map +1 -0
- package/controls/checkbox/checkbox.module.d.ts +11 -0
- package/controls/checkbox/checkbox.module.d.ts.map +1 -0
- package/controls/checkbox/checkbox.module.ngfactory.d.ts +4 -0
- package/controls/checkbox/checkbox.module.ngfactory.d.ts.map +1 -0
- package/controls/checkbox/checkbox.module.ngsummary.d.ts +2 -0
- package/controls/checkbox/checkbox.module.ngsummary.d.ts.map +1 -0
- package/controls/checkbox/checkbox.ngfactory.d.ts +4 -0
- package/controls/checkbox/checkbox.ngfactory.d.ts.map +1 -0
- package/controls/checkbox/checkbox.ngsummary.d.ts +2 -0
- package/controls/checkbox/checkbox.ngsummary.d.ts.map +1 -0
- package/controls/checkbox/radiobutton.d.ts +16 -0
- package/controls/checkbox/radiobutton.d.ts.map +1 -0
- package/controls/checkbox/radiobutton.ngfactory.d.ts +4 -0
- package/controls/checkbox/radiobutton.ngfactory.d.ts.map +1 -0
- package/controls/checkbox/radiobutton.ngsummary.d.ts +2 -0
- package/controls/checkbox/radiobutton.ngsummary.d.ts.map +1 -0
- package/controls/checkbox/radiobuttons.d.ts +18 -0
- package/controls/checkbox/radiobuttons.d.ts.map +1 -0
- package/controls/checkbox/radiobuttons.ngfactory.d.ts +4 -0
- package/controls/checkbox/radiobuttons.ngfactory.d.ts.map +1 -0
- package/controls/checkbox/radiobuttons.ngsummary.d.ts +2 -0
- package/controls/checkbox/radiobuttons.ngsummary.d.ts.map +1 -0
- package/controls/confirm/confirm.d.ts +10 -0
- package/controls/confirm/confirm.d.ts.map +1 -0
- package/controls/confirm/confirm.module.d.ts +20 -0
- package/controls/confirm/confirm.module.d.ts.map +1 -0
- package/controls/confirm/confirm.module.ngfactory.d.ts +4 -0
- package/controls/confirm/confirm.module.ngfactory.d.ts.map +1 -0
- package/controls/confirm/confirm.module.ngsummary.d.ts +2 -0
- package/controls/confirm/confirm.module.ngsummary.d.ts.map +1 -0
- package/controls/confirm/confirm.ngfactory.d.ts +4 -0
- package/controls/confirm/confirm.ngfactory.d.ts.map +1 -0
- package/controls/confirm/confirm.ngsummary.d.ts +2 -0
- package/controls/confirm/confirm.ngsummary.d.ts.map +1 -0
- package/controls/confirm/confirm.service.d.ts +59 -0
- package/controls/confirm/confirm.service.d.ts.map +1 -0
- package/controls/confirm/confirm.service.ngfactory.d.ts +4 -0
- package/controls/confirm/confirm.service.ngfactory.d.ts.map +1 -0
- package/controls/confirm/confirm.service.ngsummary.d.ts +2 -0
- package/controls/confirm/confirm.service.ngsummary.d.ts.map +1 -0
- package/controls/contextmenu/contextmenu.d.ts +20 -0
- package/controls/contextmenu/contextmenu.d.ts.map +1 -0
- package/controls/contextmenu/contextmenu.module.d.ts +13 -0
- package/controls/contextmenu/contextmenu.module.d.ts.map +1 -0
- package/controls/contextmenu/contextmenu.module.ngfactory.d.ts +4 -0
- package/controls/contextmenu/contextmenu.module.ngfactory.d.ts.map +1 -0
- package/controls/contextmenu/contextmenu.module.ngsummary.d.ts +2 -0
- package/controls/contextmenu/contextmenu.module.ngsummary.d.ts.map +1 -0
- package/controls/contextmenu/contextmenu.ngfactory.d.ts +4 -0
- package/controls/contextmenu/contextmenu.ngfactory.d.ts.map +1 -0
- package/controls/contextmenu/contextmenu.ngsummary.d.ts +2 -0
- package/controls/contextmenu/contextmenu.ngsummary.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuanchor.d.ts +16 -0
- package/controls/contextmenu/contextmenuanchor.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuanchor.ngfactory.d.ts +4 -0
- package/controls/contextmenu/contextmenuanchor.ngfactory.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuanchor.ngsummary.d.ts +2 -0
- package/controls/contextmenu/contextmenuanchor.ngsummary.d.ts.map +1 -0
- package/controls/contextmenu/contextmenucontainer.d.ts +16 -0
- package/controls/contextmenu/contextmenucontainer.d.ts.map +1 -0
- package/controls/contextmenu/contextmenucontainer.ngfactory.d.ts +4 -0
- package/controls/contextmenu/contextmenucontainer.ngfactory.d.ts.map +1 -0
- package/controls/contextmenu/contextmenucontainer.ngsummary.d.ts +2 -0
- package/controls/contextmenu/contextmenucontainer.ngsummary.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuitembutton.d.ts +15 -0
- package/controls/contextmenu/contextmenuitembutton.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuitembutton.ngfactory.d.ts +4 -0
- package/controls/contextmenu/contextmenuitembutton.ngfactory.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuitembutton.ngsummary.d.ts +2 -0
- package/controls/contextmenu/contextmenuitembutton.ngsummary.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuitemsplitter.d.ts +10 -0
- package/controls/contextmenu/contextmenuitemsplitter.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuitemsplitter.ngfactory.d.ts +4 -0
- package/controls/contextmenu/contextmenuitemsplitter.ngfactory.d.ts.map +1 -0
- package/controls/contextmenu/contextmenuitemsplitter.ngsummary.d.ts +2 -0
- package/controls/contextmenu/contextmenuitemsplitter.ngsummary.d.ts.map +1 -0
- package/controls/datetime/date.d.ts +19 -0
- package/controls/datetime/date.d.ts.map +1 -0
- package/controls/datetime/date.ngfactory.d.ts +4 -0
- package/controls/datetime/date.ngfactory.d.ts.map +1 -0
- package/controls/datetime/date.ngsummary.d.ts +2 -0
- package/controls/datetime/date.ngsummary.d.ts.map +1 -0
- package/controls/datetime/dateselector.d.ts +10 -0
- package/controls/datetime/dateselector.d.ts.map +1 -0
- package/controls/datetime/dateselector.ngfactory.d.ts +4 -0
- package/controls/datetime/dateselector.ngfactory.d.ts.map +1 -0
- package/controls/datetime/dateselector.ngsummary.d.ts +2 -0
- package/controls/datetime/dateselector.ngsummary.d.ts.map +1 -0
- package/controls/datetime/datetime.d.ts +19 -0
- package/controls/datetime/datetime.d.ts.map +1 -0
- package/controls/datetime/datetime.module.d.ts +13 -0
- package/controls/datetime/datetime.module.d.ts.map +1 -0
- package/controls/datetime/datetime.module.ngfactory.d.ts +4 -0
- package/controls/datetime/datetime.module.ngfactory.d.ts.map +1 -0
- package/controls/datetime/datetime.module.ngsummary.d.ts +2 -0
- package/controls/datetime/datetime.module.ngsummary.d.ts.map +1 -0
- package/controls/datetime/datetime.ngfactory.d.ts +4 -0
- package/controls/datetime/datetime.ngfactory.d.ts.map +1 -0
- package/controls/datetime/datetime.ngsummary.d.ts +2 -0
- package/controls/datetime/datetime.ngsummary.d.ts.map +1 -0
- package/controls/datetime/time.d.ts +19 -0
- package/controls/datetime/time.d.ts.map +1 -0
- package/controls/datetime/time.ngfactory.d.ts +4 -0
- package/controls/datetime/time.ngfactory.d.ts.map +1 -0
- package/controls/datetime/time.ngsummary.d.ts +2 -0
- package/controls/datetime/time.ngsummary.d.ts.map +1 -0
- package/controls/dialog/dialog.d.ts +29 -0
- package/controls/dialog/dialog.d.ts.map +1 -0
- package/controls/dialog/dialog.module.d.ts +9 -0
- package/controls/dialog/dialog.module.d.ts.map +1 -0
- package/controls/dialog/dialog.module.ngfactory.d.ts +4 -0
- package/controls/dialog/dialog.module.ngfactory.d.ts.map +1 -0
- package/controls/dialog/dialog.module.ngsummary.d.ts +2 -0
- package/controls/dialog/dialog.module.ngsummary.d.ts.map +1 -0
- package/controls/dialog/dialog.ngfactory.d.ts +4 -0
- package/controls/dialog/dialog.ngfactory.d.ts.map +1 -0
- package/controls/dialog/dialog.ngsummary.d.ts +2 -0
- package/controls/dialog/dialog.ngsummary.d.ts.map +1 -0
- package/controls/form/form.d.ts +37 -0
- package/controls/form/form.d.ts.map +1 -0
- package/controls/form/form.module.d.ts +11 -0
- package/controls/form/form.module.d.ts.map +1 -0
- package/controls/form/form.module.ngfactory.d.ts +4 -0
- package/controls/form/form.module.ngfactory.d.ts.map +1 -0
- package/controls/form/form.module.ngsummary.d.ts +2 -0
- package/controls/form/form.module.ngsummary.d.ts.map +1 -0
- package/controls/form/form.ngfactory.d.ts +4 -0
- package/controls/form/form.ngfactory.d.ts.map +1 -0
- package/controls/form/form.ngsummary.d.ts +2 -0
- package/controls/form/form.ngsummary.d.ts.map +1 -0
- package/controls/form/inheritform.directive.d.ts +51 -0
- package/controls/form/inheritform.directive.d.ts.map +1 -0
- package/controls/form/inheritform.directive.ngfactory.d.ts +4 -0
- package/controls/form/inheritform.directive.ngfactory.d.ts.map +1 -0
- package/controls/form/inheritform.directive.ngsummary.d.ts +2 -0
- package/controls/form/inheritform.directive.ngsummary.d.ts.map +1 -0
- package/controls/grid/grid.d.ts +24 -0
- package/controls/grid/grid.d.ts.map +1 -0
- package/controls/grid/grid.module.d.ts +15 -0
- package/controls/grid/grid.module.d.ts.map +1 -0
- package/controls/grid/grid.module.ngfactory.d.ts +4 -0
- package/controls/grid/grid.module.ngfactory.d.ts.map +1 -0
- package/controls/grid/grid.module.ngsummary.d.ts +2 -0
- package/controls/grid/grid.module.ngsummary.d.ts.map +1 -0
- package/controls/grid/grid.ngfactory.d.ts +4 -0
- package/controls/grid/grid.ngfactory.d.ts.map +1 -0
- package/controls/grid/grid.ngsummary.d.ts +2 -0
- package/controls/grid/grid.ngsummary.d.ts.map +1 -0
- package/controls/grid/gridbutton.d.ts +23 -0
- package/controls/grid/gridbutton.d.ts.map +1 -0
- package/controls/grid/gridbutton.ngfactory.d.ts +4 -0
- package/controls/grid/gridbutton.ngfactory.d.ts.map +1 -0
- package/controls/grid/gridbutton.ngsummary.d.ts +2 -0
- package/controls/grid/gridbutton.ngsummary.d.ts.map +1 -0
- package/controls/grid/gridcolumn.d.ts +18 -0
- package/controls/grid/gridcolumn.d.ts.map +1 -0
- package/controls/grid/gridcolumn.ngfactory.d.ts +4 -0
- package/controls/grid/gridcolumn.ngfactory.d.ts.map +1 -0
- package/controls/grid/gridcolumn.ngsummary.d.ts +2 -0
- package/controls/grid/gridcolumn.ngsummary.d.ts.map +1 -0
- package/controls/grid/gridcolumnaction.d.ts +18 -0
- package/controls/grid/gridcolumnaction.d.ts.map +1 -0
- package/controls/grid/gridcolumnaction.ngfactory.d.ts +4 -0
- package/controls/grid/gridcolumnaction.ngfactory.d.ts.map +1 -0
- package/controls/grid/gridcolumnaction.ngsummary.d.ts +2 -0
- package/controls/grid/gridcolumnaction.ngsummary.d.ts.map +1 -0
- package/controls/grid/gridimage.d.ts +15 -0
- package/controls/grid/gridimage.d.ts.map +1 -0
- package/controls/grid/gridimage.ngfactory.d.ts +4 -0
- package/controls/grid/gridimage.ngfactory.d.ts.map +1 -0
- package/controls/grid/gridimage.ngsummary.d.ts +2 -0
- package/controls/grid/gridimage.ngsummary.d.ts.map +1 -0
- package/controls/grid/paging.d.ts +16 -0
- package/controls/grid/paging.d.ts.map +1 -0
- package/controls/grid/paging.ngfactory.d.ts +4 -0
- package/controls/grid/paging.ngfactory.d.ts.map +1 -0
- package/controls/grid/paging.ngsummary.d.ts +2 -0
- package/controls/grid/paging.ngsummary.d.ts.map +1 -0
- package/controls/input/input.d.ts +18 -0
- package/controls/input/input.d.ts.map +1 -0
- package/controls/input/input.module.d.ts +16 -0
- package/controls/input/input.module.d.ts.map +1 -0
- package/controls/input/input.module.ngfactory.d.ts +4 -0
- package/controls/input/input.module.ngfactory.d.ts.map +1 -0
- package/controls/input/input.module.ngsummary.d.ts +2 -0
- package/controls/input/input.module.ngsummary.d.ts.map +1 -0
- package/controls/input/input.ngfactory.d.ts +4 -0
- package/controls/input/input.ngfactory.d.ts.map +1 -0
- package/controls/input/input.ngsummary.d.ts +2 -0
- package/controls/input/input.ngsummary.d.ts.map +1 -0
- package/controls/input/inputarea.d.ts +18 -0
- package/controls/input/inputarea.d.ts.map +1 -0
- package/controls/input/inputarea.ngfactory.d.ts +4 -0
- package/controls/input/inputarea.ngfactory.d.ts.map +1 -0
- package/controls/input/inputarea.ngsummary.d.ts +2 -0
- package/controls/input/inputarea.ngsummary.d.ts.map +1 -0
- package/controls/input/inputcurrency.d.ts +18 -0
- package/controls/input/inputcurrency.d.ts.map +1 -0
- package/controls/input/inputcurrency.ngfactory.d.ts +4 -0
- package/controls/input/inputcurrency.ngfactory.d.ts.map +1 -0
- package/controls/input/inputcurrency.ngsummary.d.ts +2 -0
- package/controls/input/inputcurrency.ngsummary.d.ts.map +1 -0
- package/controls/input/inputdecimal.d.ts +18 -0
- package/controls/input/inputdecimal.d.ts.map +1 -0
- package/controls/input/inputdecimal.ngfactory.d.ts +4 -0
- package/controls/input/inputdecimal.ngfactory.d.ts.map +1 -0
- package/controls/input/inputdecimal.ngsummary.d.ts +2 -0
- package/controls/input/inputdecimal.ngsummary.d.ts.map +1 -0
- package/controls/input/inputemail.d.ts +18 -0
- package/controls/input/inputemail.d.ts.map +1 -0
- package/controls/input/inputemail.ngfactory.d.ts +4 -0
- package/controls/input/inputemail.ngfactory.d.ts.map +1 -0
- package/controls/input/inputemail.ngsummary.d.ts +2 -0
- package/controls/input/inputemail.ngsummary.d.ts.map +1 -0
- package/controls/input/inputinteger.d.ts +18 -0
- package/controls/input/inputinteger.d.ts.map +1 -0
- package/controls/input/inputinteger.ngfactory.d.ts +4 -0
- package/controls/input/inputinteger.ngfactory.d.ts.map +1 -0
- package/controls/input/inputinteger.ngsummary.d.ts +2 -0
- package/controls/input/inputinteger.ngsummary.d.ts.map +1 -0
- package/controls/input/inputpassword.d.ts +18 -0
- package/controls/input/inputpassword.d.ts.map +1 -0
- package/controls/input/inputpassword.ngfactory.d.ts +4 -0
- package/controls/input/inputpassword.ngfactory.d.ts.map +1 -0
- package/controls/input/inputpassword.ngsummary.d.ts +2 -0
- package/controls/input/inputpassword.ngsummary.d.ts.map +1 -0
- package/controls/input/inputsearch.d.ts +18 -0
- package/controls/input/inputsearch.d.ts.map +1 -0
- package/controls/input/inputsearch.ngfactory.d.ts +4 -0
- package/controls/input/inputsearch.ngfactory.d.ts.map +1 -0
- package/controls/input/inputsearch.ngsummary.d.ts +2 -0
- package/controls/input/inputsearch.ngsummary.d.ts.map +1 -0
- package/controls/list/dropdown.d.ts +34 -0
- package/controls/list/dropdown.d.ts.map +1 -0
- package/controls/list/dropdown.module.d.ts +9 -0
- package/controls/list/dropdown.module.d.ts.map +1 -0
- package/controls/list/dropdown.module.ngfactory.d.ts +4 -0
- package/controls/list/dropdown.module.ngfactory.d.ts.map +1 -0
- package/controls/list/dropdown.module.ngsummary.d.ts +2 -0
- package/controls/list/dropdown.module.ngsummary.d.ts.map +1 -0
- package/controls/list/dropdown.ngfactory.d.ts +5 -0
- package/controls/list/dropdown.ngfactory.d.ts.map +1 -0
- package/controls/list/dropdown.ngsummary.d.ts +3 -0
- package/controls/list/dropdown.ngsummary.d.ts.map +1 -0
- package/controls/list/list.module.d.ts +9 -0
- package/controls/list/list.module.d.ts.map +1 -0
- package/controls/list/list.module.ngfactory.d.ts +4 -0
- package/controls/list/list.module.ngfactory.d.ts.map +1 -0
- package/controls/list/list.module.ngsummary.d.ts +2 -0
- package/controls/list/list.module.ngsummary.d.ts.map +1 -0
- package/controls/list/listbox.d.ts +32 -0
- package/controls/list/listbox.d.ts.map +1 -0
- package/controls/list/listbox.ngfactory.d.ts +5 -0
- package/controls/list/listbox.ngfactory.d.ts.map +1 -0
- package/controls/list/listbox.ngsummary.d.ts +3 -0
- package/controls/list/listbox.ngsummary.d.ts.map +1 -0
- package/controls/multilanguage/multilanguage.module.d.ts +14 -0
- package/controls/multilanguage/multilanguage.module.d.ts.map +1 -0
- package/controls/multilanguage/multilanguage.module.ngfactory.d.ts +4 -0
- package/controls/multilanguage/multilanguage.module.ngfactory.d.ts.map +1 -0
- package/controls/multilanguage/multilanguage.module.ngsummary.d.ts +2 -0
- package/controls/multilanguage/multilanguage.module.ngsummary.d.ts.map +1 -0
- package/controls/multilanguage/multilanguageinput.d.ts +22 -0
- package/controls/multilanguage/multilanguageinput.d.ts.map +1 -0
- package/controls/multilanguage/multilanguageinput.ngfactory.d.ts +4 -0
- package/controls/multilanguage/multilanguageinput.ngfactory.d.ts.map +1 -0
- package/controls/multilanguage/multilanguageinput.ngsummary.d.ts +2 -0
- package/controls/multilanguage/multilanguageinput.ngsummary.d.ts.map +1 -0
- package/controls/multilanguage/multilanguageinputarea.d.ts +22 -0
- package/controls/multilanguage/multilanguageinputarea.d.ts.map +1 -0
- package/controls/multilanguage/multilanguageinputarea.ngfactory.d.ts +4 -0
- package/controls/multilanguage/multilanguageinputarea.ngfactory.d.ts.map +1 -0
- package/controls/multilanguage/multilanguageinputarea.ngsummary.d.ts +2 -0
- package/controls/multilanguage/multilanguageinputarea.ngsummary.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenu.d.ts +20 -0
- package/controls/multilanguage/multilanguagemenu.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenu.ngfactory.d.ts +4 -0
- package/controls/multilanguage/multilanguagemenu.ngfactory.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenu.ngsummary.d.ts +2 -0
- package/controls/multilanguage/multilanguagemenu.ngsummary.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenuanchor.d.ts +16 -0
- package/controls/multilanguage/multilanguagemenuanchor.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenuanchor.ngfactory.d.ts +4 -0
- package/controls/multilanguage/multilanguagemenuanchor.ngfactory.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenuanchor.ngsummary.d.ts +2 -0
- package/controls/multilanguage/multilanguagemenuanchor.ngsummary.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenucontainer.d.ts +16 -0
- package/controls/multilanguage/multilanguagemenucontainer.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenucontainer.ngfactory.d.ts +4 -0
- package/controls/multilanguage/multilanguagemenucontainer.ngfactory.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenucontainer.ngsummary.d.ts +2 -0
- package/controls/multilanguage/multilanguagemenucontainer.ngsummary.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenuitembutton.d.ts +15 -0
- package/controls/multilanguage/multilanguagemenuitembutton.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenuitembutton.ngfactory.d.ts +4 -0
- package/controls/multilanguage/multilanguagemenuitembutton.ngfactory.d.ts.map +1 -0
- package/controls/multilanguage/multilanguagemenuitembutton.ngsummary.d.ts +2 -0
- package/controls/multilanguage/multilanguagemenuitembutton.ngsummary.d.ts.map +1 -0
- package/controls/static/formcontainer.d.ts +29 -0
- package/controls/static/formcontainer.d.ts.map +1 -0
- package/controls/static/formcontainer.ngfactory.d.ts +4 -0
- package/controls/static/formcontainer.ngfactory.d.ts.map +1 -0
- package/controls/static/formcontainer.ngsummary.d.ts +2 -0
- package/controls/static/formcontainer.ngsummary.d.ts.map +1 -0
- package/controls/static/staticlabel.d.ts +18 -0
- package/controls/static/staticlabel.d.ts.map +1 -0
- package/controls/static/staticlabel.module.d.ts +10 -0
- package/controls/static/staticlabel.module.d.ts.map +1 -0
- package/controls/static/staticlabel.module.ngfactory.d.ts +4 -0
- package/controls/static/staticlabel.module.ngfactory.d.ts.map +1 -0
- package/controls/static/staticlabel.module.ngsummary.d.ts +2 -0
- package/controls/static/staticlabel.module.ngsummary.d.ts.map +1 -0
- package/controls/static/staticlabel.ngfactory.d.ts +4 -0
- package/controls/static/staticlabel.ngfactory.d.ts.map +1 -0
- package/controls/static/staticlabel.ngsummary.d.ts +2 -0
- package/controls/static/staticlabel.ngsummary.d.ts.map +1 -0
- package/controls/tabs/tab.d.ts +21 -0
- package/controls/tabs/tab.d.ts.map +1 -0
- package/controls/tabs/tab.ngfactory.d.ts +4 -0
- package/controls/tabs/tab.ngfactory.d.ts.map +1 -0
- package/controls/tabs/tab.ngsummary.d.ts +2 -0
- package/controls/tabs/tab.ngsummary.d.ts.map +1 -0
- package/controls/tabs/tabitem.d.ts +10 -0
- package/controls/tabs/tabitem.d.ts.map +1 -0
- package/controls/tabs/tabitem.ngfactory.d.ts +4 -0
- package/controls/tabs/tabitem.ngfactory.d.ts.map +1 -0
- package/controls/tabs/tabitem.ngsummary.d.ts +2 -0
- package/controls/tabs/tabitem.ngsummary.d.ts.map +1 -0
- package/controls/tabs/tabs.module.d.ts +10 -0
- package/controls/tabs/tabs.module.d.ts.map +1 -0
- package/controls/tabs/tabs.module.ngfactory.d.ts +4 -0
- package/controls/tabs/tabs.module.ngfactory.d.ts.map +1 -0
- package/controls/tabs/tabs.module.ngsummary.d.ts +2 -0
- package/controls/tabs/tabs.module.ngsummary.d.ts.map +1 -0
- package/controls/tinymce/tinymce.d.ts +24 -0
- package/controls/tinymce/tinymce.d.ts.map +1 -0
- package/controls/tinymce/tinymce.module.d.ts +14 -0
- package/controls/tinymce/tinymce.module.d.ts.map +1 -0
- package/controls/tinymce/tinymce.module.ngfactory.d.ts +4 -0
- package/controls/tinymce/tinymce.module.ngfactory.d.ts.map +1 -0
- package/controls/tinymce/tinymce.module.ngsummary.d.ts +2 -0
- package/controls/tinymce/tinymce.module.ngsummary.d.ts.map +1 -0
- package/controls/tinymce/tinymce.ngfactory.d.ts +4 -0
- package/controls/tinymce/tinymce.ngfactory.d.ts.map +1 -0
- package/controls/tinymce/tinymce.ngsummary.d.ts +2 -0
- package/controls/tinymce/tinymce.ngsummary.d.ts.map +1 -0
- package/controls/upload/dropzonemultiple.d.ts +25 -0
- package/controls/upload/dropzonemultiple.d.ts.map +1 -0
- package/controls/upload/dropzonemultiple.ngfactory.d.ts +4 -0
- package/controls/upload/dropzonemultiple.ngfactory.d.ts.map +1 -0
- package/controls/upload/dropzonemultiple.ngsummary.d.ts +2 -0
- package/controls/upload/dropzonemultiple.ngsummary.d.ts.map +1 -0
- package/controls/upload/dropzonesingle.d.ts +25 -0
- package/controls/upload/dropzonesingle.d.ts.map +1 -0
- package/controls/upload/dropzonesingle.ngfactory.d.ts +4 -0
- package/controls/upload/dropzonesingle.ngfactory.d.ts.map +1 -0
- package/controls/upload/dropzonesingle.ngsummary.d.ts +2 -0
- package/controls/upload/dropzonesingle.ngsummary.d.ts.map +1 -0
- package/controls/upload/upload.d.ts +21 -0
- package/controls/upload/upload.d.ts.map +1 -0
- package/controls/upload/upload.module.d.ts +13 -0
- package/controls/upload/upload.module.d.ts.map +1 -0
- package/controls/upload/upload.module.ngfactory.d.ts +4 -0
- package/controls/upload/upload.module.ngfactory.d.ts.map +1 -0
- package/controls/upload/upload.module.ngsummary.d.ts +2 -0
- package/controls/upload/upload.module.ngsummary.d.ts.map +1 -0
- package/controls/upload/upload.ngfactory.d.ts +4 -0
- package/controls/upload/upload.ngfactory.d.ts.map +1 -0
- package/controls/upload/upload.ngsummary.d.ts +2 -0
- package/controls/upload/upload.ngsummary.d.ts.map +1 -0
- package/controls/upload/uploadmultiple.d.ts +21 -0
- package/controls/upload/uploadmultiple.d.ts.map +1 -0
- package/controls/upload/uploadmultiple.ngfactory.d.ts +4 -0
- package/controls/upload/uploadmultiple.ngfactory.d.ts.map +1 -0
- package/controls/upload/uploadmultiple.ngsummary.d.ts +2 -0
- package/controls/upload/uploadmultiple.ngsummary.d.ts.map +1 -0
- package/controls/validation/validationsummary.d.ts +18 -0
- package/controls/validation/validationsummary.d.ts.map +1 -0
- package/controls/validation/validationsummary.module.d.ts +9 -0
- package/controls/validation/validationsummary.module.d.ts.map +1 -0
- package/controls/validation/validationsummary.module.ngfactory.d.ts +4 -0
- package/controls/validation/validationsummary.module.ngfactory.d.ts.map +1 -0
- package/controls/validation/validationsummary.module.ngsummary.d.ts +2 -0
- package/controls/validation/validationsummary.module.ngsummary.d.ts.map +1 -0
- package/controls/validation/validationsummary.ngfactory.d.ts +4 -0
- package/controls/validation/validationsummary.ngfactory.d.ts.map +1 -0
- package/controls/validation/validationsummary.ngsummary.d.ts +2 -0
- package/controls/validation/validationsummary.ngsummary.d.ts.map +1 -0
- package/controls/wizard/wizard.d.ts +21 -0
- package/controls/wizard/wizard.d.ts.map +1 -0
- package/controls/wizard/wizard.module.d.ts +10 -0
- package/controls/wizard/wizard.module.d.ts.map +1 -0
- package/controls/wizard/wizard.module.ngfactory.d.ts +4 -0
- package/controls/wizard/wizard.module.ngfactory.d.ts.map +1 -0
- package/controls/wizard/wizard.module.ngsummary.d.ts +2 -0
- package/controls/wizard/wizard.module.ngsummary.d.ts.map +1 -0
- package/controls/wizard/wizard.ngfactory.d.ts +4 -0
- package/controls/wizard/wizard.ngfactory.d.ts.map +1 -0
- package/controls/wizard/wizard.ngsummary.d.ts +2 -0
- package/controls/wizard/wizard.ngsummary.d.ts.map +1 -0
- package/controls/wizard/wizarditem.d.ts +10 -0
- package/controls/wizard/wizarditem.d.ts.map +1 -0
- package/controls/wizard/wizarditem.ngfactory.d.ts +4 -0
- package/controls/wizard/wizarditem.ngfactory.d.ts.map +1 -0
- package/controls/wizard/wizarditem.ngsummary.d.ts +2 -0
- package/controls/wizard/wizarditem.ngsummary.d.ts.map +1 -0
- package/esm2020/components/browser/browser.mjs +108 -0
- package/esm2020/components/browser/browser.module.mjs +47 -0
- package/esm2020/components/browser/browser.module.ngfactory.mjs +4 -0
- package/esm2020/components/browser/browser.module.ngsummary.mjs +2 -0
- package/esm2020/components/browser/browser.ngfactory.mjs +4 -0
- package/esm2020/components/browser/browser.ngsummary.mjs +2 -0
- package/esm2020/controls/buttons/button.mjs +18 -0
- package/esm2020/controls/buttons/button.module.mjs +22 -0
- package/esm2020/controls/buttons/button.module.ngfactory.mjs +4 -0
- package/esm2020/controls/buttons/button.module.ngsummary.mjs +2 -0
- package/esm2020/controls/buttons/button.ngfactory.mjs +4 -0
- package/esm2020/controls/buttons/button.ngsummary.mjs +2 -0
- package/esm2020/controls/checkbox/checkbox.mjs +58 -0
- package/esm2020/controls/checkbox/checkbox.module.mjs +24 -0
- package/esm2020/controls/checkbox/checkbox.module.ngfactory.mjs +4 -0
- package/esm2020/controls/checkbox/checkbox.module.ngsummary.mjs +2 -0
- package/esm2020/controls/checkbox/checkbox.ngfactory.mjs +4 -0
- package/esm2020/controls/checkbox/checkbox.ngsummary.mjs +2 -0
- package/esm2020/controls/checkbox/radiobutton.mjs +26 -0
- package/esm2020/controls/checkbox/radiobutton.ngfactory.mjs +4 -0
- package/esm2020/controls/checkbox/radiobutton.ngsummary.mjs +2 -0
- package/esm2020/controls/checkbox/radiobuttons.mjs +57 -0
- package/esm2020/controls/checkbox/radiobuttons.ngfactory.mjs +4 -0
- package/esm2020/controls/checkbox/radiobuttons.ngsummary.mjs +2 -0
- package/esm2020/controls/confirm/confirm.mjs +18 -0
- package/esm2020/controls/confirm/confirm.module.mjs +34 -0
- package/esm2020/controls/confirm/confirm.module.ngfactory.mjs +4 -0
- package/esm2020/controls/confirm/confirm.module.ngsummary.mjs +2 -0
- package/esm2020/controls/confirm/confirm.ngfactory.mjs +4 -0
- package/esm2020/controls/confirm/confirm.ngsummary.mjs +2 -0
- package/esm2020/controls/confirm/confirm.service.mjs +88 -0
- package/esm2020/controls/confirm/confirm.service.ngfactory.mjs +4 -0
- package/esm2020/controls/confirm/confirm.service.ngsummary.mjs +2 -0
- package/esm2020/controls/contextmenu/contextmenu.mjs +43 -0
- package/esm2020/controls/contextmenu/contextmenu.module.mjs +40 -0
- package/esm2020/controls/contextmenu/contextmenu.module.ngfactory.mjs +4 -0
- package/esm2020/controls/contextmenu/contextmenu.module.ngsummary.mjs +2 -0
- package/esm2020/controls/contextmenu/contextmenu.ngfactory.mjs +4 -0
- package/esm2020/controls/contextmenu/contextmenu.ngsummary.mjs +2 -0
- package/esm2020/controls/contextmenu/contextmenuanchor.mjs +35 -0
- package/esm2020/controls/contextmenu/contextmenuanchor.ngfactory.mjs +4 -0
- package/esm2020/controls/contextmenu/contextmenuanchor.ngsummary.mjs +2 -0
- package/esm2020/controls/contextmenu/contextmenucontainer.mjs +35 -0
- package/esm2020/controls/contextmenu/contextmenucontainer.ngfactory.mjs +4 -0
- package/esm2020/controls/contextmenu/contextmenucontainer.ngsummary.mjs +2 -0
- package/esm2020/controls/contextmenu/contextmenuitembutton.mjs +24 -0
- package/esm2020/controls/contextmenu/contextmenuitembutton.ngfactory.mjs +4 -0
- package/esm2020/controls/contextmenu/contextmenuitembutton.ngsummary.mjs +2 -0
- package/esm2020/controls/contextmenu/contextmenuitemsplitter.mjs +15 -0
- package/esm2020/controls/contextmenu/contextmenuitemsplitter.ngfactory.mjs +4 -0
- package/esm2020/controls/contextmenu/contextmenuitemsplitter.ngsummary.mjs +2 -0
- package/esm2020/controls/datetime/date.mjs +66 -0
- package/esm2020/controls/datetime/date.ngfactory.mjs +4 -0
- package/esm2020/controls/datetime/date.ngsummary.mjs +2 -0
- package/esm2020/controls/datetime/dateselector.mjs +16 -0
- package/esm2020/controls/datetime/dateselector.ngfactory.mjs +4 -0
- package/esm2020/controls/datetime/dateselector.ngsummary.mjs +2 -0
- package/esm2020/controls/datetime/datetime.mjs +60 -0
- package/esm2020/controls/datetime/datetime.module.mjs +26 -0
- package/esm2020/controls/datetime/datetime.module.ngfactory.mjs +4 -0
- package/esm2020/controls/datetime/datetime.module.ngsummary.mjs +2 -0
- package/esm2020/controls/datetime/datetime.ngfactory.mjs +4 -0
- package/esm2020/controls/datetime/datetime.ngsummary.mjs +2 -0
- package/esm2020/controls/datetime/time.mjs +60 -0
- package/esm2020/controls/datetime/time.ngfactory.mjs +4 -0
- package/esm2020/controls/datetime/time.ngsummary.mjs +2 -0
- package/esm2020/controls/dialog/dialog.mjs +42 -0
- package/esm2020/controls/dialog/dialog.module.mjs +22 -0
- package/esm2020/controls/dialog/dialog.module.ngfactory.mjs +4 -0
- package/esm2020/controls/dialog/dialog.module.ngsummary.mjs +2 -0
- package/esm2020/controls/dialog/dialog.ngfactory.mjs +4 -0
- package/esm2020/controls/dialog/dialog.ngsummary.mjs +2 -0
- package/esm2020/controls/form/form.mjs +56 -0
- package/esm2020/controls/form/form.module.mjs +29 -0
- package/esm2020/controls/form/form.module.ngfactory.mjs +4 -0
- package/esm2020/controls/form/form.module.ngsummary.mjs +2 -0
- package/esm2020/controls/form/form.ngfactory.mjs +4 -0
- package/esm2020/controls/form/form.ngsummary.mjs +2 -0
- package/esm2020/controls/form/inheritform.directive.mjs +85 -0
- package/esm2020/controls/form/inheritform.directive.ngfactory.mjs +4 -0
- package/esm2020/controls/form/inheritform.directive.ngsummary.mjs +2 -0
- package/esm2020/controls/grid/grid.mjs +46 -0
- package/esm2020/controls/grid/grid.module.mjs +28 -0
- package/esm2020/controls/grid/grid.module.ngfactory.mjs +4 -0
- package/esm2020/controls/grid/grid.module.ngsummary.mjs +2 -0
- package/esm2020/controls/grid/grid.ngfactory.mjs +4 -0
- package/esm2020/controls/grid/grid.ngsummary.mjs +2 -0
- package/esm2020/controls/grid/gridbutton.mjs +48 -0
- package/esm2020/controls/grid/gridbutton.ngfactory.mjs +4 -0
- package/esm2020/controls/grid/gridbutton.ngsummary.mjs +2 -0
- package/esm2020/controls/grid/gridcolumn.mjs +35 -0
- package/esm2020/controls/grid/gridcolumn.ngfactory.mjs +4 -0
- package/esm2020/controls/grid/gridcolumn.ngsummary.mjs +2 -0
- package/esm2020/controls/grid/gridcolumnaction.mjs +36 -0
- package/esm2020/controls/grid/gridcolumnaction.ngfactory.mjs +4 -0
- package/esm2020/controls/grid/gridcolumnaction.ngsummary.mjs +2 -0
- package/esm2020/controls/grid/gridimage.mjs +29 -0
- package/esm2020/controls/grid/gridimage.ngfactory.mjs +4 -0
- package/esm2020/controls/grid/gridimage.ngsummary.mjs +2 -0
- package/esm2020/controls/grid/paging.mjs +39 -0
- package/esm2020/controls/grid/paging.ngfactory.mjs +4 -0
- package/esm2020/controls/grid/paging.ngsummary.mjs +2 -0
- package/esm2020/controls/input/input.mjs +45 -0
- package/esm2020/controls/input/input.module.mjs +29 -0
- package/esm2020/controls/input/input.module.ngfactory.mjs +4 -0
- package/esm2020/controls/input/input.module.ngsummary.mjs +2 -0
- package/esm2020/controls/input/input.ngfactory.mjs +4 -0
- package/esm2020/controls/input/input.ngsummary.mjs +2 -0
- package/esm2020/controls/input/inputarea.mjs +57 -0
- package/esm2020/controls/input/inputarea.ngfactory.mjs +4 -0
- package/esm2020/controls/input/inputarea.ngsummary.mjs +2 -0
- package/esm2020/controls/input/inputcurrency.mjs +57 -0
- package/esm2020/controls/input/inputcurrency.ngfactory.mjs +4 -0
- package/esm2020/controls/input/inputcurrency.ngsummary.mjs +2 -0
- package/esm2020/controls/input/inputdecimal.mjs +57 -0
- package/esm2020/controls/input/inputdecimal.ngfactory.mjs +4 -0
- package/esm2020/controls/input/inputdecimal.ngsummary.mjs +2 -0
- package/esm2020/controls/input/inputemail.mjs +57 -0
- package/esm2020/controls/input/inputemail.ngfactory.mjs +4 -0
- package/esm2020/controls/input/inputemail.ngsummary.mjs +2 -0
- package/esm2020/controls/input/inputinteger.mjs +57 -0
- package/esm2020/controls/input/inputinteger.ngfactory.mjs +4 -0
- package/esm2020/controls/input/inputinteger.ngsummary.mjs +2 -0
- package/esm2020/controls/input/inputpassword.mjs +57 -0
- package/esm2020/controls/input/inputpassword.ngfactory.mjs +4 -0
- package/esm2020/controls/input/inputpassword.ngsummary.mjs +2 -0
- package/esm2020/controls/input/inputsearch.mjs +52 -0
- package/esm2020/controls/input/inputsearch.ngfactory.mjs +4 -0
- package/esm2020/controls/input/inputsearch.ngsummary.mjs +2 -0
- package/esm2020/controls/list/dropdown.mjs +78 -0
- package/esm2020/controls/list/dropdown.module.mjs +26 -0
- package/esm2020/controls/list/dropdown.module.ngfactory.mjs +4 -0
- package/esm2020/controls/list/dropdown.module.ngsummary.mjs +2 -0
- package/esm2020/controls/list/dropdown.ngfactory.mjs +4 -0
- package/esm2020/controls/list/dropdown.ngsummary.mjs +3 -0
- package/esm2020/controls/list/list.module.mjs +18 -0
- package/esm2020/controls/list/list.module.ngfactory.mjs +4 -0
- package/esm2020/controls/list/list.module.ngsummary.mjs +2 -0
- package/esm2020/controls/list/listbox.mjs +81 -0
- package/esm2020/controls/list/listbox.ngfactory.mjs +4 -0
- package/esm2020/controls/list/listbox.ngsummary.mjs +3 -0
- package/esm2020/controls/multilanguage/multilanguage.module.mjs +35 -0
- package/esm2020/controls/multilanguage/multilanguage.module.ngfactory.mjs +4 -0
- package/esm2020/controls/multilanguage/multilanguage.module.ngsummary.mjs +2 -0
- package/esm2020/controls/multilanguage/multilanguageinput.mjs +64 -0
- package/esm2020/controls/multilanguage/multilanguageinput.ngfactory.mjs +4 -0
- package/esm2020/controls/multilanguage/multilanguageinput.ngsummary.mjs +2 -0
- package/esm2020/controls/multilanguage/multilanguageinputarea.mjs +64 -0
- package/esm2020/controls/multilanguage/multilanguageinputarea.ngfactory.mjs +4 -0
- package/esm2020/controls/multilanguage/multilanguageinputarea.ngsummary.mjs +2 -0
- package/esm2020/controls/multilanguage/multilanguagemenu.mjs +43 -0
- package/esm2020/controls/multilanguage/multilanguagemenu.ngfactory.mjs +4 -0
- package/esm2020/controls/multilanguage/multilanguagemenu.ngsummary.mjs +2 -0
- package/esm2020/controls/multilanguage/multilanguagemenuanchor.mjs +35 -0
- package/esm2020/controls/multilanguage/multilanguagemenuanchor.ngfactory.mjs +4 -0
- package/esm2020/controls/multilanguage/multilanguagemenuanchor.ngsummary.mjs +2 -0
- package/esm2020/controls/multilanguage/multilanguagemenucontainer.mjs +35 -0
- package/esm2020/controls/multilanguage/multilanguagemenucontainer.ngfactory.mjs +4 -0
- package/esm2020/controls/multilanguage/multilanguagemenucontainer.ngsummary.mjs +2 -0
- package/esm2020/controls/multilanguage/multilanguagemenuitembutton.mjs +24 -0
- package/esm2020/controls/multilanguage/multilanguagemenuitembutton.ngfactory.mjs +4 -0
- package/esm2020/controls/multilanguage/multilanguagemenuitembutton.ngsummary.mjs +2 -0
- package/esm2020/controls/static/formcontainer.mjs +63 -0
- package/esm2020/controls/static/formcontainer.ngfactory.mjs +4 -0
- package/esm2020/controls/static/formcontainer.ngsummary.mjs +2 -0
- package/esm2020/controls/static/staticlabel.mjs +52 -0
- package/esm2020/controls/static/staticlabel.module.mjs +23 -0
- package/esm2020/controls/static/staticlabel.module.ngfactory.mjs +4 -0
- package/esm2020/controls/static/staticlabel.module.ngsummary.mjs +2 -0
- package/esm2020/controls/static/staticlabel.ngfactory.mjs +4 -0
- package/esm2020/controls/static/staticlabel.ngsummary.mjs +2 -0
- package/esm2020/controls/tabs/tab.mjs +27 -0
- package/esm2020/controls/tabs/tab.ngfactory.mjs +4 -0
- package/esm2020/controls/tabs/tab.ngsummary.mjs +2 -0
- package/esm2020/controls/tabs/tabitem.mjs +16 -0
- package/esm2020/controls/tabs/tabitem.ngfactory.mjs +4 -0
- package/esm2020/controls/tabs/tabitem.ngsummary.mjs +2 -0
- package/esm2020/controls/tabs/tabs.module.mjs +23 -0
- package/esm2020/controls/tabs/tabs.module.ngfactory.mjs +4 -0
- package/esm2020/controls/tabs/tabs.module.ngsummary.mjs +2 -0
- package/esm2020/controls/tinymce/tinymce.mjs +66 -0
- package/esm2020/controls/tinymce/tinymce.module.mjs +42 -0
- package/esm2020/controls/tinymce/tinymce.module.ngfactory.mjs +4 -0
- package/esm2020/controls/tinymce/tinymce.module.ngsummary.mjs +2 -0
- package/esm2020/controls/tinymce/tinymce.ngfactory.mjs +4 -0
- package/esm2020/controls/tinymce/tinymce.ngsummary.mjs +2 -0
- package/esm2020/controls/upload/dropzonemultiple.mjs +61 -0
- package/esm2020/controls/upload/dropzonemultiple.ngfactory.mjs +4 -0
- package/esm2020/controls/upload/dropzonemultiple.ngsummary.mjs +2 -0
- package/esm2020/controls/upload/dropzonesingle.mjs +61 -0
- package/esm2020/controls/upload/dropzonesingle.ngfactory.mjs +4 -0
- package/esm2020/controls/upload/dropzonesingle.ngsummary.mjs +2 -0
- package/esm2020/controls/upload/upload.mjs +47 -0
- package/esm2020/controls/upload/upload.module.mjs +38 -0
- package/esm2020/controls/upload/upload.module.ngfactory.mjs +4 -0
- package/esm2020/controls/upload/upload.module.ngsummary.mjs +2 -0
- package/esm2020/controls/upload/upload.ngfactory.mjs +4 -0
- package/esm2020/controls/upload/upload.ngsummary.mjs +2 -0
- package/esm2020/controls/upload/uploadmultiple.mjs +55 -0
- package/esm2020/controls/upload/uploadmultiple.ngfactory.mjs +4 -0
- package/esm2020/controls/upload/uploadmultiple.ngsummary.mjs +2 -0
- package/esm2020/controls/validation/validationsummary.mjs +47 -0
- package/esm2020/controls/validation/validationsummary.module.mjs +22 -0
- package/esm2020/controls/validation/validationsummary.module.ngfactory.mjs +4 -0
- package/esm2020/controls/validation/validationsummary.module.ngsummary.mjs +2 -0
- package/esm2020/controls/validation/validationsummary.ngfactory.mjs +4 -0
- package/esm2020/controls/validation/validationsummary.ngsummary.mjs +2 -0
- package/esm2020/controls/wizard/wizard.mjs +32 -0
- package/esm2020/controls/wizard/wizard.module.mjs +23 -0
- package/esm2020/controls/wizard/wizard.module.ngfactory.mjs +4 -0
- package/esm2020/controls/wizard/wizard.module.ngsummary.mjs +2 -0
- package/esm2020/controls/wizard/wizard.ngfactory.mjs +4 -0
- package/esm2020/controls/wizard/wizard.ngsummary.mjs +2 -0
- package/esm2020/controls/wizard/wizarditem.mjs +15 -0
- package/esm2020/controls/wizard/wizarditem.ngfactory.mjs +4 -0
- package/esm2020/controls/wizard/wizarditem.ngsummary.mjs +2 -0
- package/esm2020/public_api.mjs +73 -0
- package/esm2020/public_api.ngfactory.mjs +2 -0
- package/esm2020/public_api.ngsummary.mjs +2 -0
- package/esm2020/simpleangularcontrols-sac-bootstrap4.mjs +5 -0
- package/fesm2015/simpleangularcontrols-sac-bootstrap4.mjs +2736 -0
- package/fesm2015/simpleangularcontrols-sac-bootstrap4.mjs.map +1 -0
- package/fesm2020/simpleangularcontrols-sac-bootstrap4.mjs +2674 -0
- package/fesm2020/simpleangularcontrols-sac-bootstrap4.mjs.map +1 -0
- package/package.json +43 -0
- package/public_api.d.ts +68 -0
- package/public_api.d.ts.map +1 -0
- package/public_api.ngfactory.d.ts +2 -0
- package/public_api.ngfactory.d.ts.map +1 -0
- package/public_api.ngsummary.d.ts +2 -0
- package/public_api.ngsummary.d.ts.map +1 -0
- package/simpleangularcontrols-sac-bootstrap4-13.0.0-rc.2.tgz +0 -0
- package/simpleangularcontrols-sac-bootstrap4.d.ts +6 -0
- package/simpleangularcontrols-sac-bootstrap4.d.ts.map +1 -0
|
@@ -0,0 +1,2736 @@
|
|
|
1
|
+
import * as i2 from '@angular/common';
|
|
2
|
+
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
3
|
+
import * as i1$1 from '@angular/common/http';
|
|
4
|
+
import { HttpClientModule } from '@angular/common/http';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { Component, ComponentFactoryResolver, Injectable, Inject, NgModule, forwardRef, Directive, HostBinding, SkipSelf, Host, Optional, ViewChild, TemplateRef, ContentChild, ContentChildren } from '@angular/core';
|
|
7
|
+
import * as i9 from '@angular/forms';
|
|
8
|
+
import { ControlContainer, NgForm, FormsModule, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
|
|
9
|
+
import * as i1 from '@simpleangularcontrols/sac-common';
|
|
10
|
+
import { SacDialogCommon, SacButtonCommon, SacConfirmCommon, ServiceConfirmCommon, isDefined, SacConfirmButton, SacContextMenuContrainerCommon, SacContextmenuAnchorCommon, SacContextmenuCommon, SacContextmenuItemButtonCommon, SacContextmenuItemCommon, SacFormCommon, SacDropzoneMultipleCommon, SacDropzoneSingleCommon, SacUploadSingleCommon, SacUploadMultipleCommon, SacFileBrowserCommon, SacCheckboxCommon, SacRadiobuttonsCommon, SacRadiobuttonCommon, SacDateSelectorCommon, SacDateCommon, SacDateTimeCommon, SacTimeCommon, SacPagingCommon, SacGridCommon, SacGridButtonCommon, SacGridColumnCommon, SacGridColumnBaseCommon, SacGridColumnActionCommon, SacGridImageCommon, SacInputCommon, SacInputEmailCommon, SacInputAreaCommon, SacInputCurrencyCommon, SacInputDecimalCommon, SacInputIntegerCommon, SacInputPasswordCommon, SacInputSearchCommon, SacListboxCommon, SacListboxOptionCommon, SacDropdownCommon, SacDropdownOptionCommon, SacMultilanguageInputCommon, IconType, SacMultilanguageInputAreaCommon, SacStaticLabelCommon, SacStaticFormContainerCommon, SacTabItemCommon, SacTabCommon, SacTinyMceCommon, SacValidationSummaryCommon, SacWizardItemCommon, SacWizardCommon } from '@simpleangularcontrols/sac-common';
|
|
11
|
+
import { Observable, forkJoin } from 'rxjs';
|
|
12
|
+
import * as moment_ from 'moment';
|
|
13
|
+
import * as i4 from 'angular-imask';
|
|
14
|
+
import { IMaskModule } from 'angular-imask';
|
|
15
|
+
import * as i2$1 from '@tinymce/tinymce-angular';
|
|
16
|
+
import { EditorModule } from '@tinymce/tinymce-angular';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Dialog Komponente
|
|
20
|
+
*/
|
|
21
|
+
class SacDialogComponent extends SacDialogCommon {
|
|
22
|
+
/**
|
|
23
|
+
* Konstruktor
|
|
24
|
+
* @param el DOM Element Referenz
|
|
25
|
+
* @param cdRef Change Detection Service
|
|
26
|
+
*/
|
|
27
|
+
constructor(el, cdRef) {
|
|
28
|
+
super(cdRef);
|
|
29
|
+
this.element = el.nativeElement;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Event wenn Komponente initialisiert wird
|
|
33
|
+
*/
|
|
34
|
+
ngOnInit() {
|
|
35
|
+
// Element an Body für korrektes Styling unter Bootstrap 3 verschieben
|
|
36
|
+
document.body.appendChild(this.element);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Event wenn Element entfernt wird
|
|
40
|
+
*/
|
|
41
|
+
ngOnDestroy() {
|
|
42
|
+
this.hide();
|
|
43
|
+
if (document.body.contains(this.element)) {
|
|
44
|
+
document.body.removeChild(this.element);
|
|
45
|
+
}
|
|
46
|
+
super.ngOnDestroy();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
SacDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDialogComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
SacDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDialogComponent, selector: "sac-dialog", usesInheritance: true, ngImport: i0, template: "<div #dialog class=\"modal show\" style=\"display: block\" tabindex=\"-1\" role=\"dialog\" *ngIf=\"_show\">\r\n <div class=\"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable\" role=\"document\"\r\n [class.modal-xl]=\"_size === 'extralarge'\"\r\n [class.modal-lg]=\"_size === 'large'\"\r\n [class.modal-sm]=\"_size === 'small'\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\">{{title}}</h5>\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\" (click)=\"hide()\" *ngIf=\"closebutton\"><span aria-hidden=\"true\">×</span></button>\r\n </div>\r\n <div class=\"modal-body\" [style.height]=\"height\">\r\n <ng-content select=\"[dialogbody]\"></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-content select=\"[dialogfooter]\"></ng-content>\r\n </div>\r\n </div><!-- /.modal-content -->\r\n </div><!-- /.modal-dialog -->\r\n</div><!-- /.modal -->\r\n<div class=\"modal-backdrop show\" *ngIf=\"_show && backdrop\" #backdrop></div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDialogComponent, decorators: [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{ selector: 'sac-dialog', template: "<div #dialog class=\"modal show\" style=\"display: block\" tabindex=\"-1\" role=\"dialog\" *ngIf=\"_show\">\r\n <div class=\"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable\" role=\"document\"\r\n [class.modal-xl]=\"_size === 'extralarge'\"\r\n [class.modal-lg]=\"_size === 'large'\"\r\n [class.modal-sm]=\"_size === 'small'\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title\">{{title}}</h5>\r\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\" (click)=\"hide()\" *ngIf=\"closebutton\"><span aria-hidden=\"true\">×</span></button>\r\n </div>\r\n <div class=\"modal-body\" [style.height]=\"height\">\r\n <ng-content select=\"[dialogbody]\"></ng-content>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <ng-content select=\"[dialogfooter]\"></ng-content>\r\n </div>\r\n </div><!-- /.modal-content -->\r\n </div><!-- /.modal-dialog -->\r\n</div><!-- /.modal -->\r\n<div class=\"modal-backdrop show\" *ngIf=\"_show && backdrop\" #backdrop></div>\r\n" }]
|
|
54
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Button Component
|
|
58
|
+
*
|
|
59
|
+
* <example-url>http://localhost/demo/mysample.component.html</example-url>
|
|
60
|
+
*/
|
|
61
|
+
class SacButtonComponent extends SacButtonCommon {
|
|
62
|
+
}
|
|
63
|
+
SacButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
+
SacButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacButtonComponent, selector: "sac-button", usesInheritance: true, ngImport: i0, template: "<button [id]=\"name\" type=\"button\" class=\"btn d-flex justify-content-center align-items-center\" [attr.disabled]=\"_isdisabled ? 'disabled' : null\" (click)=\"buttonClick()\"\r\n [class.btn-primary]=\"role === 'primary'\"\r\n [class.btn-secondary]=\"role === 'secondary' || role === 'default'\"\r\n [class.btn-success]=\"role === 'success'\"\r\n [class.btn-danger]=\"role === 'danger'\"\r\n [class.btn-warning]=\"role === 'warning'\"\r\n [class.btn-info]=\"role === 'info'\"\r\n [class.btn-link]=\"role === 'link'\">\r\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" class=\"mr-2\"></i>{{text}}\r\n</button>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacButtonComponent, decorators: [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'sac-button', template: "<button [id]=\"name\" type=\"button\" class=\"btn d-flex justify-content-center align-items-center\" [attr.disabled]=\"_isdisabled ? 'disabled' : null\" (click)=\"buttonClick()\"\r\n [class.btn-primary]=\"role === 'primary'\"\r\n [class.btn-secondary]=\"role === 'secondary' || role === 'default'\"\r\n [class.btn-success]=\"role === 'success'\"\r\n [class.btn-danger]=\"role === 'danger'\"\r\n [class.btn-warning]=\"role === 'warning'\"\r\n [class.btn-info]=\"role === 'info'\"\r\n [class.btn-link]=\"role === 'link'\">\r\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" class=\"mr-2\"></i>{{text}}\r\n</button>\r\n" }]
|
|
68
|
+
}] });
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Confirm Komponente
|
|
72
|
+
*/
|
|
73
|
+
class SacConfirmComponent extends SacConfirmCommon {
|
|
74
|
+
}
|
|
75
|
+
SacConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacConfirmComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
+
SacConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacConfirmComponent, selector: "sac-confirm", usesInheritance: true, ngImport: i0, template: "<sac-dialog\r\n [(isvisible)]=\"isvisible\"\r\n [title]=\"title\"\r\n [allowesc]=\"false\"\r\n [closebutton]=\"false\"\r\n dialogsize=\"small\"\r\n>\r\n <div dialogbody>\r\n <div class=\"media\">\r\n <img\r\n [attr.src]=\"image\"\r\n class=\"align-self-center mr-3\"\r\n *ngIf=\"hasImage()\"\r\n />\r\n <div class=\"media-body\">{{message}}</div>\r\n </div>\r\n </div>\r\n <ng-container dialogfooter>\r\n <ng-container *ngFor=\"let button of buttons\">\r\n <sac-button\r\n [name]=\"button.key\"\r\n [text]=\"button.text\"\r\n (clicked)=\"confirm(button.key)\"\r\n ></sac-button>\r\n </ng-container>\r\n </ng-container>\r\n</sac-dialog>\r\n", components: [{ type: SacDialogComponent, selector: "sac-dialog" }, { type: SacButtonComponent, selector: "sac-button" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacConfirmComponent, decorators: [{
|
|
78
|
+
type: Component,
|
|
79
|
+
args: [{ selector: 'sac-confirm', template: "<sac-dialog\r\n [(isvisible)]=\"isvisible\"\r\n [title]=\"title\"\r\n [allowesc]=\"false\"\r\n [closebutton]=\"false\"\r\n dialogsize=\"small\"\r\n>\r\n <div dialogbody>\r\n <div class=\"media\">\r\n <img\r\n [attr.src]=\"image\"\r\n class=\"align-self-center mr-3\"\r\n *ngIf=\"hasImage()\"\r\n />\r\n <div class=\"media-body\">{{message}}</div>\r\n </div>\r\n </div>\r\n <ng-container dialogfooter>\r\n <ng-container *ngFor=\"let button of buttons\">\r\n <sac-button\r\n [name]=\"button.key\"\r\n [text]=\"button.text\"\r\n (clicked)=\"confirm(button.key)\"\r\n ></sac-button>\r\n </ng-container>\r\n </ng-container>\r\n</sac-dialog>\r\n" }]
|
|
80
|
+
}] });
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Service für Confirm Messages in TypeScript Code
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* // Beispiel für ConfirmMessage mit Standard Buttons (Ja / Nein).
|
|
87
|
+
* confirmService.ConfirmMessage('titel', 'frage').subscribe(action => { // Action Code });
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* // Beispiel für ConfirmMessage mit eigenen Buttons
|
|
91
|
+
* let buttons: SacConfirmButton[] = [];
|
|
92
|
+
* buttons.push(new SacConfirmButton('ActionKey','Text Primary'));
|
|
93
|
+
* buttons.push(new SacConfirmButton('ActionKey2','Text Button 2'));
|
|
94
|
+
* confirmService.ConfirmMessage('titel', 'frage', buttons).subscribe(action => { // Action Code });
|
|
95
|
+
*/
|
|
96
|
+
class ServiceConfirm extends ServiceConfirmCommon {
|
|
97
|
+
/**
|
|
98
|
+
* Konstruktor
|
|
99
|
+
* @param componentFactoryResolver Component Factory Resolver Instanz
|
|
100
|
+
* @param appRef Application Referenz. Wird benötigt um den Dialog am Body anzuhängen
|
|
101
|
+
* @param injector Injector. Wird benötigt um den Dialog dynamisch zu erzeugen
|
|
102
|
+
*/
|
|
103
|
+
constructor(componentFactoryResolver, appRef, injector) {
|
|
104
|
+
super(appRef, injector);
|
|
105
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
106
|
+
/**
|
|
107
|
+
* Titel der im Dialog angezeigt werden soll.
|
|
108
|
+
*/
|
|
109
|
+
this.title = '';
|
|
110
|
+
/**
|
|
111
|
+
* Message die in Dialog angezeigt werden soll.
|
|
112
|
+
*/
|
|
113
|
+
this.message = '';
|
|
114
|
+
/**
|
|
115
|
+
* Collection von Buttons die angezeigt werden müssen.
|
|
116
|
+
*/
|
|
117
|
+
this.buttons = [];
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Erzeugen einer Component Factory für einen Dialog
|
|
121
|
+
*/
|
|
122
|
+
GetComponentFactory() {
|
|
123
|
+
return this.componentFactoryResolver.resolveComponentFactory(SacConfirmComponent);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Confirm Dialog anzeigen
|
|
127
|
+
* @param message Nachricht die angezeigt werden soll.
|
|
128
|
+
* @returns EventEmitter mit Key des Buttons, welcher geklickt wurde.
|
|
129
|
+
*/
|
|
130
|
+
ConfirmMessage(title, message, buttons = null) {
|
|
131
|
+
this.title = title;
|
|
132
|
+
this.message = message;
|
|
133
|
+
// Default Buttons setzen, wenn keine Buttons angegeben sind
|
|
134
|
+
if (!isDefined(buttons)) {
|
|
135
|
+
// TODO: Text von Localisation Service beziehen
|
|
136
|
+
this.buttons = [];
|
|
137
|
+
this.buttons.push(new SacConfirmButton('yes', 'Ja'));
|
|
138
|
+
this.buttons.push(new SacConfirmButton('no', 'Nein'));
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
this.buttons = buttons;
|
|
142
|
+
}
|
|
143
|
+
return super.Confirm();
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Konfiguration des Dialogs
|
|
147
|
+
* @param instance Instanz eines SacConfirm Dialogs
|
|
148
|
+
*/
|
|
149
|
+
ConfigureDialog(instance) {
|
|
150
|
+
// Text in Dialog setzen
|
|
151
|
+
instance.title = this.title;
|
|
152
|
+
instance.message = this.message;
|
|
153
|
+
instance.buttons = this.buttons;
|
|
154
|
+
instance.image = this.iconService.ConfirmDefaultImage;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
ServiceConfirm.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ServiceConfirm, deps: [{ token: ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
158
|
+
ServiceConfirm.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ServiceConfirm });
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ServiceConfirm, decorators: [{
|
|
160
|
+
type: Injectable
|
|
161
|
+
}], ctorParameters: function () {
|
|
162
|
+
return [{ type: i0.ComponentFactoryResolver, decorators: [{
|
|
163
|
+
type: Inject,
|
|
164
|
+
args: [ComponentFactoryResolver]
|
|
165
|
+
}] }, { type: i0.ApplicationRef }, { type: i0.Injector }];
|
|
166
|
+
} });
|
|
167
|
+
|
|
168
|
+
class SACBootstrap4DialogModule {
|
|
169
|
+
}
|
|
170
|
+
SACBootstrap4DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
171
|
+
SACBootstrap4DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DialogModule, declarations: [SacDialogComponent], imports: [CommonModule], exports: [SacDialogComponent] });
|
|
172
|
+
SACBootstrap4DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DialogModule, imports: [[
|
|
173
|
+
CommonModule
|
|
174
|
+
]] });
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DialogModule, decorators: [{
|
|
176
|
+
type: NgModule,
|
|
177
|
+
args: [{
|
|
178
|
+
declarations: [SacDialogComponent],
|
|
179
|
+
imports: [
|
|
180
|
+
CommonModule
|
|
181
|
+
],
|
|
182
|
+
exports: [SacDialogComponent]
|
|
183
|
+
}]
|
|
184
|
+
}] });
|
|
185
|
+
|
|
186
|
+
class SACBootstrap4ButtonModule {
|
|
187
|
+
}
|
|
188
|
+
SACBootstrap4ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
189
|
+
SACBootstrap4ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ButtonModule, declarations: [SacButtonComponent], imports: [CommonModule], exports: [SacButtonComponent] });
|
|
190
|
+
SACBootstrap4ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ButtonModule, imports: [[
|
|
191
|
+
CommonModule
|
|
192
|
+
]] });
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ButtonModule, decorators: [{
|
|
194
|
+
type: NgModule,
|
|
195
|
+
args: [{
|
|
196
|
+
declarations: [SacButtonComponent],
|
|
197
|
+
imports: [
|
|
198
|
+
CommonModule
|
|
199
|
+
],
|
|
200
|
+
exports: [SacButtonComponent]
|
|
201
|
+
}]
|
|
202
|
+
}] });
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Module für Confirm Messages
|
|
206
|
+
*
|
|
207
|
+
* In NgModule der Applikation folgenden Eintrag bei Imports einfügen: ExanicBootstrap4ConfirmModule.forRoot()
|
|
208
|
+
*
|
|
209
|
+
*/
|
|
210
|
+
class SACBootstrap4ConfirmModule {
|
|
211
|
+
static forRoot() {
|
|
212
|
+
return {
|
|
213
|
+
ngModule: SACBootstrap4ConfirmModule,
|
|
214
|
+
providers: [ServiceConfirm]
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
SACBootstrap4ConfirmModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ConfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
219
|
+
SACBootstrap4ConfirmModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ConfirmModule, declarations: [SacConfirmComponent], imports: [CommonModule, SACBootstrap4DialogModule, SACBootstrap4ButtonModule], exports: [SacConfirmComponent] });
|
|
220
|
+
SACBootstrap4ConfirmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ConfirmModule, imports: [[CommonModule, SACBootstrap4DialogModule, SACBootstrap4ButtonModule]] });
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ConfirmModule, decorators: [{
|
|
222
|
+
type: NgModule,
|
|
223
|
+
args: [{
|
|
224
|
+
declarations: [SacConfirmComponent],
|
|
225
|
+
imports: [CommonModule, SACBootstrap4DialogModule, SACBootstrap4ButtonModule],
|
|
226
|
+
exports: [SacConfirmComponent]
|
|
227
|
+
}]
|
|
228
|
+
}] });
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Marker Komponente für Context Menü
|
|
232
|
+
*/
|
|
233
|
+
class SacContextmenuContainerDirective extends SacContextMenuContrainerCommon {
|
|
234
|
+
/**
|
|
235
|
+
* Konstruktor
|
|
236
|
+
* @param _elementRef Referenz auf DOM Element
|
|
237
|
+
*/
|
|
238
|
+
constructor(_elementRef) {
|
|
239
|
+
super(_elementRef);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
SacContextmenuContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuContainerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
243
|
+
SacContextmenuContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacContextmenuContainerDirective, selector: "[sacContextMenuContainer]", providers: [
|
|
244
|
+
{
|
|
245
|
+
provide: SacContextMenuContrainerCommon,
|
|
246
|
+
useExisting: forwardRef(() => SacContextmenuContainerDirective),
|
|
247
|
+
},
|
|
248
|
+
], usesInheritance: true, ngImport: i0 });
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuContainerDirective, decorators: [{
|
|
250
|
+
type: Directive,
|
|
251
|
+
args: [{
|
|
252
|
+
selector: '[sacContextMenuContainer]',
|
|
253
|
+
providers: [
|
|
254
|
+
{
|
|
255
|
+
provide: SacContextMenuContrainerCommon,
|
|
256
|
+
useExisting: forwardRef(() => SacContextmenuContainerDirective),
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
}]
|
|
260
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Anker Komponente für Context Menü. Wird zum positionieren des Context Menü in der Page benötigt.
|
|
264
|
+
*/
|
|
265
|
+
class SacContextmenuAnchorDirective extends SacContextmenuAnchorCommon {
|
|
266
|
+
/**
|
|
267
|
+
* Konstruktor
|
|
268
|
+
* @param _elementRef HTML DOM Referenz
|
|
269
|
+
*/
|
|
270
|
+
constructor(_elementRef) {
|
|
271
|
+
super(_elementRef);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
SacContextmenuAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuAnchorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
275
|
+
SacContextmenuAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacContextmenuAnchorDirective, selector: "[sacContextMenuAnchor]", providers: [
|
|
276
|
+
{
|
|
277
|
+
provide: SacContextmenuAnchorCommon,
|
|
278
|
+
useExisting: forwardRef(() => SacContextmenuAnchorDirective),
|
|
279
|
+
},
|
|
280
|
+
], usesInheritance: true, ngImport: i0 });
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuAnchorDirective, decorators: [{
|
|
282
|
+
type: Directive,
|
|
283
|
+
args: [{
|
|
284
|
+
selector: '[sacContextMenuAnchor]',
|
|
285
|
+
providers: [
|
|
286
|
+
{
|
|
287
|
+
provide: SacContextmenuAnchorCommon,
|
|
288
|
+
useExisting: forwardRef(() => SacContextmenuAnchorDirective),
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
}]
|
|
292
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Component für Contextmenü
|
|
296
|
+
*/
|
|
297
|
+
class SacContextmenuComponent extends SacContextmenuCommon {
|
|
298
|
+
/**
|
|
299
|
+
* Constructor
|
|
300
|
+
* @param _document Referenz auf HTML Document
|
|
301
|
+
* @param _ngZone Angular Zone Service
|
|
302
|
+
* @param _elementRef Referenz auf HTML Element der aktuellen Komponente
|
|
303
|
+
* @param _renderer Render Service von Angular
|
|
304
|
+
* @param _injector injector to resolve services
|
|
305
|
+
*/
|
|
306
|
+
constructor(_document, _ngZone, _elementRef, _renderer, _injector) {
|
|
307
|
+
super(_document, _ngZone, _elementRef, _renderer, _injector);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
SacContextmenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuComponent, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
311
|
+
SacContextmenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacContextmenuComponent, selector: "sac-contextmenu", providers: [
|
|
312
|
+
{
|
|
313
|
+
provide: SacContextmenuCommon,
|
|
314
|
+
useExisting: forwardRef(() => SacContextmenuComponent),
|
|
315
|
+
},
|
|
316
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"dropdown\" [ngClass]=\"cssclass\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"buttontemplate || defaultButtonTemplate\"\r\n ></ng-container>\r\n\r\n <div\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n sacContextMenuContainer\r\n [class.show]=\"isopen\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n\r\n<ng-template #defaultButtonTemplate>\r\n <button\r\n sacContextMenuAnchor\r\n class=\"btn btn-sm btn-link text-secondary text-decoration-none\"\r\n type=\"button\"\r\n (click)=\"toggle()\"\r\n >\r\n <i [class]=\"IconContextMenu\"></i>\r\n </button>\r\n</ng-template>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: SacContextmenuContainerDirective, selector: "[sacContextMenuContainer]" }, { type: SacContextmenuAnchorDirective, selector: "[sacContextMenuAnchor]" }] });
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuComponent, decorators: [{
|
|
318
|
+
type: Component,
|
|
319
|
+
args: [{ selector: 'sac-contextmenu', providers: [
|
|
320
|
+
{
|
|
321
|
+
provide: SacContextmenuCommon,
|
|
322
|
+
useExisting: forwardRef(() => SacContextmenuComponent),
|
|
323
|
+
},
|
|
324
|
+
], template: "<div class=\"dropdown\" [ngClass]=\"cssclass\">\r\n <ng-container\r\n [ngTemplateOutlet]=\"buttontemplate || defaultButtonTemplate\"\r\n ></ng-container>\r\n\r\n <div\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n sacContextMenuContainer\r\n [class.show]=\"isopen\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n\r\n<ng-template #defaultButtonTemplate>\r\n <button\r\n sacContextMenuAnchor\r\n class=\"btn btn-sm btn-link text-secondary text-decoration-none\"\r\n type=\"button\"\r\n (click)=\"toggle()\"\r\n >\r\n <i [class]=\"IconContextMenu\"></i>\r\n </button>\r\n</ng-template>\r\n" }]
|
|
325
|
+
}], ctorParameters: function () {
|
|
326
|
+
return [{ type: undefined, decorators: [{
|
|
327
|
+
type: Inject,
|
|
328
|
+
args: [DOCUMENT]
|
|
329
|
+
}] }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }];
|
|
330
|
+
} });
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Component für Menü Eintrag in Context Menü
|
|
334
|
+
*/
|
|
335
|
+
class SacContextmenuItemButtonComponent extends SacContextmenuItemButtonCommon {
|
|
336
|
+
/**
|
|
337
|
+
* Constructor
|
|
338
|
+
* @param contextmenu Instance von Context Menü
|
|
339
|
+
*/
|
|
340
|
+
constructor(contextmenu) {
|
|
341
|
+
super(contextmenu);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
SacContextmenuItemButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuItemButtonComponent, deps: [{ token: i1.SacContextmenuCommon }], target: i0.ɵɵFactoryTarget.Component });
|
|
345
|
+
SacContextmenuItemButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacContextmenuItemButtonComponent, selector: "sac-contextmenubutton", usesInheritance: true, ngImport: i0, template: "<button\r\n type=\"button\"\r\n class=\"dropdown-item\"\r\n (click)=\"callaction($event)\"\r\n [class.disabled]=\"isdisabled\"\r\n [class]=\"cssclass\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\"\r\n>\r\n <div class=\"d-flex\">\r\n <div *ngIf=\"!isicondisabled\" style=\"min-width: 1.5rem\">\r\n <img *ngIf=\"image\" [src]=\"image\" class=\"align-baseline\" />\r\n <i *ngIf=\"icon\" [class]=\"iconstyle + ' ' + icon\"></i>\r\n </div>\r\n <div class=\"flex-grow-1\">{{ text }}</div>\r\n </div>\r\n</button>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuItemButtonComponent, decorators: [{
|
|
347
|
+
type: Component,
|
|
348
|
+
args: [{ selector: 'sac-contextmenubutton', template: "<button\r\n type=\"button\"\r\n class=\"dropdown-item\"\r\n (click)=\"callaction($event)\"\r\n [class.disabled]=\"isdisabled\"\r\n [class]=\"cssclass\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\"\r\n>\r\n <div class=\"d-flex\">\r\n <div *ngIf=\"!isicondisabled\" style=\"min-width: 1.5rem\">\r\n <img *ngIf=\"image\" [src]=\"image\" class=\"align-baseline\" />\r\n <i *ngIf=\"icon\" [class]=\"iconstyle + ' ' + icon\"></i>\r\n </div>\r\n <div class=\"flex-grow-1\">{{ text }}</div>\r\n </div>\r\n</button>\r\n" }]
|
|
349
|
+
}], ctorParameters: function () { return [{ type: i1.SacContextmenuCommon }]; } });
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Splitter Komponente in Context Menü
|
|
353
|
+
*/
|
|
354
|
+
class SacContextmenuItemSplitterComponent extends SacContextmenuItemCommon {
|
|
355
|
+
}
|
|
356
|
+
SacContextmenuItemSplitterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuItemSplitterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
357
|
+
SacContextmenuItemSplitterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacContextmenuItemSplitterComponent, selector: "sac-contextmenusplitter", usesInheritance: true, ngImport: i0, template: "<div class=\"dropdown-divider\"></div>" });
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacContextmenuItemSplitterComponent, decorators: [{
|
|
359
|
+
type: Component,
|
|
360
|
+
args: [{ selector: 'sac-contextmenusplitter', template: "<div class=\"dropdown-divider\"></div>" }]
|
|
361
|
+
}] });
|
|
362
|
+
|
|
363
|
+
class SACBootstrap4ContextmenuModule {
|
|
364
|
+
}
|
|
365
|
+
SACBootstrap4ContextmenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ContextmenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
366
|
+
SACBootstrap4ContextmenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ContextmenuModule, declarations: [SacContextmenuComponent,
|
|
367
|
+
SacContextmenuItemButtonComponent,
|
|
368
|
+
SacContextmenuItemSplitterComponent,
|
|
369
|
+
SacContextmenuAnchorDirective,
|
|
370
|
+
SacContextmenuContainerDirective], imports: [CommonModule], exports: [SacContextmenuComponent,
|
|
371
|
+
SacContextmenuItemButtonComponent,
|
|
372
|
+
SacContextmenuItemSplitterComponent,
|
|
373
|
+
SacContextmenuAnchorDirective] });
|
|
374
|
+
SACBootstrap4ContextmenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ContextmenuModule, imports: [[CommonModule]] });
|
|
375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ContextmenuModule, decorators: [{
|
|
376
|
+
type: NgModule,
|
|
377
|
+
args: [{
|
|
378
|
+
declarations: [
|
|
379
|
+
SacContextmenuComponent,
|
|
380
|
+
SacContextmenuItemButtonComponent,
|
|
381
|
+
SacContextmenuItemSplitterComponent,
|
|
382
|
+
SacContextmenuAnchorDirective,
|
|
383
|
+
SacContextmenuContainerDirective,
|
|
384
|
+
],
|
|
385
|
+
imports: [CommonModule],
|
|
386
|
+
exports: [
|
|
387
|
+
SacContextmenuComponent,
|
|
388
|
+
SacContextmenuItemButtonComponent,
|
|
389
|
+
SacContextmenuItemSplitterComponent,
|
|
390
|
+
SacContextmenuAnchorDirective,
|
|
391
|
+
],
|
|
392
|
+
}]
|
|
393
|
+
}] });
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Erweiterung / Hooking für automatismen in Formular. Wird als Container für alle Controls benötigt.
|
|
397
|
+
*
|
|
398
|
+
* @example Beispiel über Div Container
|
|
399
|
+
*
|
|
400
|
+
* <div ngForm></div>
|
|
401
|
+
*
|
|
402
|
+
* @example Beispiel über Form Tag
|
|
403
|
+
*
|
|
404
|
+
* <form></form>
|
|
405
|
+
*
|
|
406
|
+
*/
|
|
407
|
+
class SacFormDirective extends SacFormCommon {
|
|
408
|
+
/**
|
|
409
|
+
* Konstruktor
|
|
410
|
+
* @param form Instanz von NgForm für eigene automatische Formular Logik
|
|
411
|
+
*/
|
|
412
|
+
constructor(form) {
|
|
413
|
+
super(form);
|
|
414
|
+
/**
|
|
415
|
+
* Setzt die Standard CSS Klasse für auf dem Form Container
|
|
416
|
+
*/
|
|
417
|
+
this.cssClassForm = true;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Setzt die CSS Klasse 'form-horizontal' wenn die Orientation auf Horizontal eingestellt ist
|
|
421
|
+
*/
|
|
422
|
+
get orientientationHorizontal() { return this.getOrientation() === 'horizontal'; }
|
|
423
|
+
/**
|
|
424
|
+
* Setzt die CSS Klasse 'form-vertical' wenn die Orientation auf Vertical eingestellt ist
|
|
425
|
+
*/
|
|
426
|
+
get orientientationVertical() { return this.getOrientation() === 'vertical'; }
|
|
427
|
+
}
|
|
428
|
+
SacFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacFormDirective, deps: [{ token: i9.NgForm }], target: i0.ɵɵFactoryTarget.Directive });
|
|
429
|
+
SacFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacFormDirective, selector: "form:not([ngNoForm]):not([formGroup]),[ngForm]", host: { properties: { "class.form": "this.cssClassForm", "class.form-horizontal": "this.orientientationHorizontal", "class.form-vertical": "this.orientientationVertical" } }, exportAs: ["sacform"], usesInheritance: true, ngImport: i0 });
|
|
430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacFormDirective, decorators: [{
|
|
431
|
+
type: Directive,
|
|
432
|
+
args: [{
|
|
433
|
+
selector: 'form:not([ngNoForm]):not([formGroup]),[ngForm]',
|
|
434
|
+
exportAs: 'sacform'
|
|
435
|
+
}]
|
|
436
|
+
}], ctorParameters: function () { return [{ type: i9.NgForm }]; }, propDecorators: { cssClassForm: [{
|
|
437
|
+
type: HostBinding,
|
|
438
|
+
args: ['class.form']
|
|
439
|
+
}], orientientationHorizontal: [{
|
|
440
|
+
type: HostBinding,
|
|
441
|
+
args: ['class.form-horizontal']
|
|
442
|
+
}], orientientationVertical: [{
|
|
443
|
+
type: HostBinding,
|
|
444
|
+
args: ['class.form-vertical']
|
|
445
|
+
}] } });
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Factory Methode für SacForm
|
|
449
|
+
* @param form SacFormular
|
|
450
|
+
*/
|
|
451
|
+
function SACFORM_FACTORY(form) {
|
|
452
|
+
return form;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Factory Methode für NgForm
|
|
456
|
+
* @param form NgForm
|
|
457
|
+
*/
|
|
458
|
+
function NGFORM_FACTORY(form) {
|
|
459
|
+
return form;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Directive zum erben eines NgForm/NgFormular einer übergeordneten Komponente
|
|
463
|
+
*
|
|
464
|
+
* @example Implementation in Markup
|
|
465
|
+
*
|
|
466
|
+
* <div sacInheritForm>
|
|
467
|
+
* </div>
|
|
468
|
+
*
|
|
469
|
+
* @example Model an Sub-Komponente übergeben
|
|
470
|
+
*
|
|
471
|
+
* <div sacInheritForm>
|
|
472
|
+
* <div>SubForm</div>
|
|
473
|
+
* <div>
|
|
474
|
+
* <ngInput [(ngModel)]="mymodel.fieldarea2" name="subformField3" label="field 3" [isrequired]="true"></ngInput>
|
|
475
|
+
* </div>
|
|
476
|
+
* </div>
|
|
477
|
+
*
|
|
478
|
+
*
|
|
479
|
+
* (at)Component({
|
|
480
|
+
* selector: 'sacInheritForm',
|
|
481
|
+
* templateUrl: './subform.component.html'
|
|
482
|
+
* })
|
|
483
|
+
* export class SubFormComponent implements DoCheck {
|
|
484
|
+
*
|
|
485
|
+
* (at)Input() mymodel;
|
|
486
|
+
* (at)Output() mymodelChange = new EventEmitter();
|
|
487
|
+
*
|
|
488
|
+
* ngDoCheck() {
|
|
489
|
+
* this.mymodelChange.next(this.mymodel);
|
|
490
|
+
* }
|
|
491
|
+
*}
|
|
492
|
+
*
|
|
493
|
+
*/
|
|
494
|
+
class SacInheritFormDirective {
|
|
495
|
+
}
|
|
496
|
+
SacInheritFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInheritFormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
497
|
+
SacInheritFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacInheritFormDirective, selector: "[sacInheritForm]", providers: [
|
|
498
|
+
{
|
|
499
|
+
provide: SacFormDirective,
|
|
500
|
+
useFactory: SACFORM_FACTORY,
|
|
501
|
+
deps: [[new SkipSelf(), SacFormDirective]]
|
|
502
|
+
}, {
|
|
503
|
+
provide: ControlContainer,
|
|
504
|
+
useFactory: NGFORM_FACTORY,
|
|
505
|
+
deps: [NgForm]
|
|
506
|
+
}
|
|
507
|
+
], ngImport: i0 });
|
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInheritFormDirective, decorators: [{
|
|
509
|
+
type: Directive,
|
|
510
|
+
args: [{
|
|
511
|
+
selector: '[sacInheritForm]',
|
|
512
|
+
providers: [
|
|
513
|
+
{
|
|
514
|
+
provide: SacFormDirective,
|
|
515
|
+
useFactory: SACFORM_FACTORY,
|
|
516
|
+
deps: [[new SkipSelf(), SacFormDirective]]
|
|
517
|
+
}, {
|
|
518
|
+
provide: ControlContainer,
|
|
519
|
+
useFactory: NGFORM_FACTORY,
|
|
520
|
+
deps: [NgForm]
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
}]
|
|
524
|
+
}] });
|
|
525
|
+
|
|
526
|
+
class SACBootstrap4FormModule {
|
|
527
|
+
}
|
|
528
|
+
SACBootstrap4FormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4FormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
529
|
+
SACBootstrap4FormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4FormModule, declarations: [SacFormDirective, SacInheritFormDirective], imports: [CommonModule,
|
|
530
|
+
FormsModule], exports: [SacFormDirective, SacInheritFormDirective] });
|
|
531
|
+
SACBootstrap4FormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4FormModule, imports: [[
|
|
532
|
+
CommonModule,
|
|
533
|
+
FormsModule
|
|
534
|
+
]] });
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4FormModule, decorators: [{
|
|
536
|
+
type: NgModule,
|
|
537
|
+
args: [{
|
|
538
|
+
declarations: [SacFormDirective, SacInheritFormDirective],
|
|
539
|
+
imports: [
|
|
540
|
+
CommonModule,
|
|
541
|
+
FormsModule
|
|
542
|
+
],
|
|
543
|
+
exports: [
|
|
544
|
+
SacFormDirective, SacInheritFormDirective
|
|
545
|
+
]
|
|
546
|
+
}]
|
|
547
|
+
}] });
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* Dropzone Komponente für mehrere Uploads
|
|
551
|
+
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
552
|
+
*/
|
|
553
|
+
class SacDropzoneMultipleComponent extends SacDropzoneMultipleCommon {
|
|
554
|
+
/**
|
|
555
|
+
* Konstruktor
|
|
556
|
+
* @param parent Formular
|
|
557
|
+
* @param injector Angular Dependency Injection Service
|
|
558
|
+
* @param renderer Angular Rendering Engine
|
|
559
|
+
* @param ngZone ngZone
|
|
560
|
+
*/
|
|
561
|
+
constructor(parent, injector, renderer, ngZone) {
|
|
562
|
+
super(parent, injector, renderer, ngZone);
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Initialisiert das Control
|
|
566
|
+
*/
|
|
567
|
+
ngOnInit() {
|
|
568
|
+
super.ngOnInit();
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
SacDropzoneMultipleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropzoneMultipleComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
572
|
+
SacDropzoneMultipleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDropzoneMultipleComponent, selector: "sac-dropzonemultiple", providers: [
|
|
573
|
+
{
|
|
574
|
+
provide: NG_VALUE_ACCESSOR,
|
|
575
|
+
multi: true,
|
|
576
|
+
useExisting: SacDropzoneMultipleComponent,
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
provide: NG_VALIDATORS,
|
|
580
|
+
multi: true,
|
|
581
|
+
useExisting: forwardRef(() => SacDropzoneMultipleComponent),
|
|
582
|
+
},
|
|
583
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div\r\n class=\"dropzone d-flex justify-content-center position-relative\"\r\n (drop)=\"dropHandler($event)\"\r\n (dragover)=\"onDragOver($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n [class.active]=\"active\"\r\n [style.min-height]=\"uploadheight\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length === 0\"\r\n >\r\n <div class=\"align-self-center text-center\">\r\n <div\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length > 0\"\r\n >\r\n <div class=\"align-self-center progress-container\">\r\n <div\r\n class=\"dropzone-uploadstates\"\r\n [class.mt-1]=\"i > 0\"\r\n *ngFor=\"let file of uploads; let i = index\"\r\n >\r\n <div class=\"input-group upload-component upload-component-multiple\">\r\n <div class=\"form-control upload-progress border-secondary\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\"\r\n >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <input\r\n #files\r\n multiple\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n [disabled]=\"HasQueueItem()\"\r\n />\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".dropzone{min-height:9.75rem;border:.125rem dashed lightgray;border-radius:.5rem;background:transparent}.dropzone.is-invalid{border-color:var(--red)}.dropzone .content{position:absolute;inset:0}.dropzone .content .is-invalid{color:var(--red)}.dropzone .content .progress-container{min-width:50%;z-index:100}.dropzone .content .dropzone-uploadstates .upload-progress{padding:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress{height:100%;border-top-right-radius:0;border-bottom-right-radius:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress .progress-text{left:0;right:0;position:absolute}.dropzone .custom-file-input{min-height:100%;height:unset}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe } });
|
|
584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropzoneMultipleComponent, decorators: [{
|
|
585
|
+
type: Component,
|
|
586
|
+
args: [{ selector: 'sac-dropzonemultiple', providers: [
|
|
587
|
+
{
|
|
588
|
+
provide: NG_VALUE_ACCESSOR,
|
|
589
|
+
multi: true,
|
|
590
|
+
useExisting: SacDropzoneMultipleComponent,
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
provide: NG_VALIDATORS,
|
|
594
|
+
multi: true,
|
|
595
|
+
useExisting: forwardRef(() => SacDropzoneMultipleComponent),
|
|
596
|
+
},
|
|
597
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div\r\n class=\"dropzone d-flex justify-content-center position-relative\"\r\n (drop)=\"dropHandler($event)\"\r\n (dragover)=\"onDragOver($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n [class.active]=\"active\"\r\n [style.min-height]=\"uploadheight\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length === 0\"\r\n >\r\n <div class=\"align-self-center text-center\">\r\n <div\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length > 0\"\r\n >\r\n <div class=\"align-self-center progress-container\">\r\n <div\r\n class=\"dropzone-uploadstates\"\r\n [class.mt-1]=\"i > 0\"\r\n *ngFor=\"let file of uploads; let i = index\"\r\n >\r\n <div class=\"input-group upload-component upload-component-multiple\">\r\n <div class=\"form-control upload-progress border-secondary\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\"\r\n >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <input\r\n #files\r\n multiple\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n [disabled]=\"HasQueueItem()\"\r\n />\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".dropzone{min-height:9.75rem;border:.125rem dashed lightgray;border-radius:.5rem;background:transparent}.dropzone.is-invalid{border-color:var(--red)}.dropzone .content{position:absolute;inset:0}.dropzone .content .is-invalid{color:var(--red)}.dropzone .content .progress-container{min-width:50%;z-index:100}.dropzone .content .dropzone-uploadstates .upload-progress{padding:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress{height:100%;border-top-right-radius:0;border-bottom-right-radius:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress .progress-text{left:0;right:0;position:absolute}.dropzone .custom-file-input{min-height:100%;height:unset}\n"] }]
|
|
598
|
+
}], ctorParameters: function () {
|
|
599
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
600
|
+
type: Host
|
|
601
|
+
}, {
|
|
602
|
+
type: Optional
|
|
603
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }];
|
|
604
|
+
} });
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Dropzone Komponente für den Upload eines Files
|
|
608
|
+
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
609
|
+
*/
|
|
610
|
+
class SacDropzoneSingleComponent extends SacDropzoneSingleCommon {
|
|
611
|
+
/**
|
|
612
|
+
* Konstruktor
|
|
613
|
+
* @param parent Formular
|
|
614
|
+
* @param injector Angular Dependency Injection Service
|
|
615
|
+
* @param renderer Angular Rendering Engine
|
|
616
|
+
* @param ngZone ngZone
|
|
617
|
+
*/
|
|
618
|
+
constructor(parent, injector, renderer, ngZone) {
|
|
619
|
+
super(parent, injector, renderer, ngZone);
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Initialisiert das Control
|
|
623
|
+
*/
|
|
624
|
+
ngOnInit() {
|
|
625
|
+
super.ngOnInit();
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
SacDropzoneSingleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropzoneSingleComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
629
|
+
SacDropzoneSingleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDropzoneSingleComponent, selector: "sac-dropzonesingle", providers: [
|
|
630
|
+
{
|
|
631
|
+
provide: NG_VALUE_ACCESSOR,
|
|
632
|
+
multi: true,
|
|
633
|
+
useExisting: SacDropzoneSingleComponent,
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
provide: NG_VALIDATORS,
|
|
637
|
+
multi: true,
|
|
638
|
+
useExisting: forwardRef(() => SacDropzoneSingleComponent),
|
|
639
|
+
},
|
|
640
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div\r\n class=\"dropzone d-flex justify-content-center position-relative\"\r\n (drop)=\"dropHandler($event)\"\r\n (dragover)=\"onDragOver($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n [style.min-height]=\"uploadheight\"\r\n [class.active]=\"active\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length === 0\"\r\n >\r\n <div class=\"align-self-center text-center\">\r\n <div\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length > 0\"\r\n >\r\n <div class=\"align-self-center progress-container\">\r\n <div class=\"dropzone-uploadstates\" *ngFor=\"let file of uploads\">\r\n <div class=\"input-group upload-component upload-component-multiple\">\r\n <div class=\"form-control upload-progress border-secondary\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\"\r\n >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <input\r\n #files\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n [disabled]=\"HasQueueItem()\"\r\n />\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".dropzone{min-height:9.75rem;border:.125rem dashed lightgray;border-radius:.5rem;background:transparent}.dropzone.is-invalid{border-color:var(--red)}.dropzone .content{position:absolute;inset:0}.dropzone .content .is-invalid{color:var(--red)}.dropzone .content .progress-container{min-width:50%;z-index:100}.dropzone .content .dropzone-uploadstates .upload-progress{padding:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress{height:100%;border-top-right-radius:0;border-bottom-right-radius:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress .progress-text{left:0;right:0;position:absolute}.dropzone .custom-file-input{min-height:100%;height:unset}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe } });
|
|
641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropzoneSingleComponent, decorators: [{
|
|
642
|
+
type: Component,
|
|
643
|
+
args: [{ selector: 'sac-dropzonesingle', providers: [
|
|
644
|
+
{
|
|
645
|
+
provide: NG_VALUE_ACCESSOR,
|
|
646
|
+
multi: true,
|
|
647
|
+
useExisting: SacDropzoneSingleComponent,
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
provide: NG_VALIDATORS,
|
|
651
|
+
multi: true,
|
|
652
|
+
useExisting: forwardRef(() => SacDropzoneSingleComponent),
|
|
653
|
+
},
|
|
654
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div\r\n class=\"dropzone d-flex justify-content-center position-relative\"\r\n (drop)=\"dropHandler($event)\"\r\n (dragover)=\"onDragOver($event)\"\r\n (dragleave)=\"onDragLeave($event)\"\r\n [style.min-height]=\"uploadheight\"\r\n [class.active]=\"active\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length === 0\"\r\n >\r\n <div class=\"align-self-center text-center\">\r\n <div\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"content d-flex justify-content-center\"\r\n *ngIf=\"uploads.length > 0\"\r\n >\r\n <div class=\"align-self-center progress-container\">\r\n <div class=\"dropzone-uploadstates\" *ngFor=\"let file of uploads\">\r\n <div class=\"input-group upload-component upload-component-multiple\">\r\n <div class=\"form-control upload-progress border-secondary\">\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\"\r\n >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <input\r\n #files\r\n id=\"{{ name }}_uploadinput\"\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n [disabled]=\"HasQueueItem()\"\r\n />\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".dropzone{min-height:9.75rem;border:.125rem dashed lightgray;border-radius:.5rem;background:transparent}.dropzone.is-invalid{border-color:var(--red)}.dropzone .content{position:absolute;inset:0}.dropzone .content .is-invalid{color:var(--red)}.dropzone .content .progress-container{min-width:50%;z-index:100}.dropzone .content .dropzone-uploadstates .upload-progress{padding:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress{height:100%;border-top-right-radius:0;border-bottom-right-radius:0}.dropzone .content .dropzone-uploadstates .upload-progress .progress .progress-text{left:0;right:0;position:absolute}.dropzone .custom-file-input{min-height:100%;height:unset}\n"] }]
|
|
655
|
+
}], ctorParameters: function () {
|
|
656
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
657
|
+
type: Host
|
|
658
|
+
}, {
|
|
659
|
+
type: Optional
|
|
660
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }];
|
|
661
|
+
} });
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Upload Komponten
|
|
665
|
+
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
666
|
+
*/
|
|
667
|
+
class SacUploadComponent extends SacUploadSingleCommon {
|
|
668
|
+
/**
|
|
669
|
+
* Konstruktor
|
|
670
|
+
* @param parent Formular
|
|
671
|
+
* @param injector Angular Dependency Injection Service
|
|
672
|
+
* @param renderer Angular Rendering Engine
|
|
673
|
+
* @param ngZone ngZone Referenz
|
|
674
|
+
*/
|
|
675
|
+
constructor(parent, injector, renderer, ngZone) {
|
|
676
|
+
super(parent, injector, renderer, ngZone);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
SacUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacUploadComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
680
|
+
SacUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacUploadComponent, selector: "sac-upload", providers: [
|
|
681
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacUploadComponent },
|
|
682
|
+
{
|
|
683
|
+
provide: NG_VALIDATORS,
|
|
684
|
+
multi: true,
|
|
685
|
+
useExisting: forwardRef(() => SacUploadComponent),
|
|
686
|
+
},
|
|
687
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div\r\n class=\"input-group upload-component upload-single\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <div class=\"input-group-prepend\">\r\n <!-- image-preview-input -->\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"HasQueueItem()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i class=\"pr-2\" [class]=\"IconBrowse\"></i>\r\n <span class=\"upload-browse\"\r\n >{{ lngResourceService.GetString('UPLOAD_BUTTON_BROWSE') | async\r\n }}</span\r\n >\r\n <input\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"HasQueueItem()\"\r\n />\r\n </div>\r\n </div>\r\n <div\r\n class=\"form-control upload-progress\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"Progress()===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"Progress()\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"Progress()\"\r\n >\r\n <span class=\"progress-text text-dark\"\r\n >{{ Filename() | async }}</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <!-- <input type=\"textimage-preview-filename\" class=\"form-control image-preview-filename\" disabled=\"disabled\"> --><!-- don't give a name === doesn't send on POST/GET -->\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && IsPaused() === false)\"\r\n class=\"btn\"\r\n (click)=\"pauseAll()\"\r\n [attr.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && IsPaused()\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pr-2\"></span>{{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </button>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .custom-file .custom-file-input{inset:0;position:absolute}.upload-component.upload-multiple .upload-progress .progress{border-top-right-radius:0;border-bottom-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0;border:0}.upload-component .upload-progress .progress{height:calc(2.25rem + 2px)}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i2.AsyncPipe } });
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacUploadComponent, decorators: [{
|
|
689
|
+
type: Component,
|
|
690
|
+
args: [{ selector: 'sac-upload', providers: [
|
|
691
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacUploadComponent },
|
|
692
|
+
{
|
|
693
|
+
provide: NG_VALIDATORS,
|
|
694
|
+
multi: true,
|
|
695
|
+
useExisting: forwardRef(() => SacUploadComponent),
|
|
696
|
+
},
|
|
697
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div\r\n class=\"input-group upload-component upload-single\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <div class=\"input-group-prepend\">\r\n <!-- image-preview-input -->\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"HasQueueItem()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i class=\"pr-2\" [class]=\"IconBrowse\"></i>\r\n <span class=\"upload-browse\"\r\n >{{ lngResourceService.GetString('UPLOAD_BUTTON_BROWSE') | async\r\n }}</span\r\n >\r\n <input\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"HasQueueItem()\"\r\n />\r\n </div>\r\n </div>\r\n <div\r\n class=\"form-control upload-progress\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"Progress()===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"Progress()\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"Progress()\"\r\n >\r\n <span class=\"progress-text text-dark\"\r\n >{{ Filename() | async }}</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <!-- <input type=\"textimage-preview-filename\" class=\"form-control image-preview-filename\" disabled=\"disabled\"> --><!-- don't give a name === doesn't send on POST/GET -->\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && IsPaused() === false)\"\r\n class=\"btn\"\r\n (click)=\"pauseAll()\"\r\n [attr.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && IsPaused()\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pr-2\"></span>{{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </button>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .custom-file .custom-file-input{inset:0;position:absolute}.upload-component.upload-multiple .upload-progress .progress{border-top-right-radius:0;border-bottom-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0;border:0}.upload-component .upload-progress .progress{height:calc(2.25rem + 2px)}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0}\n"] }]
|
|
698
|
+
}], ctorParameters: function () {
|
|
699
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
700
|
+
type: Host
|
|
701
|
+
}, {
|
|
702
|
+
type: Optional
|
|
703
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }];
|
|
704
|
+
} });
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Upload Komponente für den Upload mehrer Files
|
|
708
|
+
* @see https://github.com/kukhariev/ngx-uploadx/
|
|
709
|
+
*/
|
|
710
|
+
class SacUploadMultipleComponent extends SacUploadMultipleCommon {
|
|
711
|
+
/**
|
|
712
|
+
* Konstruktor
|
|
713
|
+
* @param parent Formular
|
|
714
|
+
* @param injector Angular Dependency Injection Service
|
|
715
|
+
* @param renderer Angular Rendering Engine
|
|
716
|
+
* @param ngZone ngZone
|
|
717
|
+
*/
|
|
718
|
+
constructor(parent, injector, renderer, ngZone) {
|
|
719
|
+
super(parent, injector, renderer, ngZone);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
SacUploadMultipleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacUploadMultipleComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
723
|
+
SacUploadMultipleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacUploadMultipleComponent, selector: "sac-uploadmultiple", providers: [
|
|
724
|
+
{
|
|
725
|
+
provide: NG_VALUE_ACCESSOR,
|
|
726
|
+
multi: true,
|
|
727
|
+
useExisting: SacUploadMultipleComponent,
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
provide: NG_VALIDATORS,
|
|
731
|
+
multi: true,
|
|
732
|
+
useExisting: forwardRef(() => SacUploadMultipleComponent),
|
|
733
|
+
},
|
|
734
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div class=\"upload-component\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div\r\n class=\"btn-group\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [class]=\"IconBrowse\" class=\"pr-2\"></i>\r\n <span class=\"upload-browse\">Browse</span>\r\n <input\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n />\r\n </div>\r\n\r\n <div class=\"btn-group\">\r\n <!-- image-preview-clear button -->\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && IsPaused() === false)\"\r\n class=\"btn\"\r\n (click)=\"pauseAll()\"\r\n [attr.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && IsPaused() === true\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pr-2\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </button>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngFor=\"let file of uploads\" style=\"margin-top: 5px\">\r\n <div class=\"input-group upload-component upload-multiple\">\r\n <div\r\n class=\"form-control upload-progress\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\"\r\n >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && file.status !== 'paused')\"\r\n class=\"btn\"\r\n (click)=\"pause(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'uploading' ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && file.status === 'paused'\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"upload(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'added' && file.status !== 'paused' ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pr-2\"></span>{{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .custom-file .custom-file-input{inset:0;position:absolute}.upload-component.upload-multiple .upload-progress .progress{border-top-right-radius:0;border-bottom-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0;border:0}.upload-component .upload-progress .progress{height:calc(2.25rem + 2px)}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe } });
|
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacUploadMultipleComponent, decorators: [{
|
|
736
|
+
type: Component,
|
|
737
|
+
args: [{ selector: 'sac-uploadmultiple', providers: [
|
|
738
|
+
{
|
|
739
|
+
provide: NG_VALUE_ACCESSOR,
|
|
740
|
+
multi: true,
|
|
741
|
+
useExisting: SacUploadMultipleComponent,
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
provide: NG_VALIDATORS,
|
|
745
|
+
multi: true,
|
|
746
|
+
useExisting: forwardRef(() => SacUploadMultipleComponent),
|
|
747
|
+
},
|
|
748
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div class=\"upload-component\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <div\r\n class=\"btn-group\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [class]=\"IconBrowse\" class=\"pr-2\"></i>\r\n <span class=\"upload-browse\">Browse</span>\r\n <input\r\n type=\"file\"\r\n class=\"custom-file-input\"\r\n #files\r\n (click)=\"files.value = ''\"\r\n (uploadxState)=\"onUpload($event)\"\r\n multiple\r\n [disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n />\r\n </div>\r\n\r\n <div class=\"btn-group\">\r\n <!-- image-preview-clear button -->\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && IsPaused() === false)\"\r\n class=\"btn\"\r\n (click)=\"pauseAll()\"\r\n [attr.disabled]=\"IsUploading() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && IsPaused() === true\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pr-2\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </button>\r\n </div>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div *ngFor=\"let file of uploads\" style=\"margin-top: 5px\">\r\n <div class=\"input-group upload-component upload-multiple\">\r\n <div\r\n class=\"form-control upload-progress\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n >\r\n <div class=\"progress\">\r\n <div\r\n class=\"progress-bar\"\r\n [class.progress-bar-success]=\"file.progress===100\"\r\n role=\"progressbar\"\r\n [attr.aria-valuenow]=\"file.progress\"\r\n aria-valuemin=\"0\"\r\n aria-valuemax=\"100\"\r\n [style.width.%]=\"file.progress\"\r\n >\r\n <span class=\"progress-text text-dark\">{{ file.name }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"input-group-append\">\r\n <!-- image-preview-clear button -->\r\n <button\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"(autoupload === false && enablepause) || (autoupload && enablepause && file.status !== 'paused')\"\r\n class=\"btn\"\r\n (click)=\"pause(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'uploading' ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload && enablepause && file.status === 'paused'\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </button>\r\n <button\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn text-nowrap\"\r\n (click)=\"upload(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'added' && file.status !== 'paused' ? 'disabled' : null\"\r\n [class.btn-secondary]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\" class=\"pr-2\"></span>{{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .custom-file .custom-file-input{inset:0;position:absolute}.upload-component.upload-multiple .upload-progress .progress{border-top-right-radius:0;border-bottom-right-radius:0}.upload-component.upload-single .upload-progress .progress{border-radius:0}.upload-component .upload-progress{padding:0;border:0}.upload-component .upload-progress .progress{height:calc(2.25rem + 2px)}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0}\n"] }]
|
|
749
|
+
}], ctorParameters: function () {
|
|
750
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
751
|
+
type: Host
|
|
752
|
+
}, {
|
|
753
|
+
type: Optional
|
|
754
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }];
|
|
755
|
+
} });
|
|
756
|
+
|
|
757
|
+
class SACBootstrap4UploadModule {
|
|
758
|
+
}
|
|
759
|
+
SACBootstrap4UploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4UploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
760
|
+
SACBootstrap4UploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4UploadModule, declarations: [SacUploadComponent,
|
|
761
|
+
SacUploadMultipleComponent,
|
|
762
|
+
SacDropzoneSingleComponent,
|
|
763
|
+
SacDropzoneMultipleComponent], imports: [CommonModule, FormsModule], exports: [SacUploadComponent,
|
|
764
|
+
SacUploadMultipleComponent,
|
|
765
|
+
SacDropzoneSingleComponent,
|
|
766
|
+
SacDropzoneMultipleComponent] });
|
|
767
|
+
SACBootstrap4UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4UploadModule, imports: [[CommonModule, FormsModule]] });
|
|
768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4UploadModule, decorators: [{
|
|
769
|
+
type: NgModule,
|
|
770
|
+
args: [{
|
|
771
|
+
declarations: [
|
|
772
|
+
SacUploadComponent,
|
|
773
|
+
SacUploadMultipleComponent,
|
|
774
|
+
SacDropzoneSingleComponent,
|
|
775
|
+
SacDropzoneMultipleComponent,
|
|
776
|
+
],
|
|
777
|
+
imports: [CommonModule, FormsModule],
|
|
778
|
+
exports: [
|
|
779
|
+
SacUploadComponent,
|
|
780
|
+
SacUploadMultipleComponent,
|
|
781
|
+
SacDropzoneSingleComponent,
|
|
782
|
+
SacDropzoneMultipleComponent,
|
|
783
|
+
],
|
|
784
|
+
}]
|
|
785
|
+
}] });
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Server File Browser Komponente
|
|
789
|
+
*/
|
|
790
|
+
class SacBrowserComponent extends SacFileBrowserCommon {
|
|
791
|
+
/**
|
|
792
|
+
* Konstruktor
|
|
793
|
+
* @param httpClient HTTP Client
|
|
794
|
+
* @param injector Angular Dependency Injection Service
|
|
795
|
+
* @param confirmService Confirm Service
|
|
796
|
+
*/
|
|
797
|
+
constructor(httpClient, injector, confirmService) {
|
|
798
|
+
super(httpClient, injector);
|
|
799
|
+
this.confirmService = confirmService;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* Erzeugt ein Array von einer bestimmten grösse
|
|
803
|
+
* @param anzahl Grösse des Array
|
|
804
|
+
* @returns Array
|
|
805
|
+
*/
|
|
806
|
+
count(anzahl) {
|
|
807
|
+
return new Array(anzahl);
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Confirm Action wenn ein File gelöscht werden soll
|
|
811
|
+
* @param file File das gelöscht werden soll.
|
|
812
|
+
* @returns Observable ob File gelöscht werden kann.
|
|
813
|
+
*/
|
|
814
|
+
confirmDeleteFile(file) {
|
|
815
|
+
return new Observable((observer) => {
|
|
816
|
+
forkJoin({
|
|
817
|
+
title: this.lngResourceService.GetString('FILEBROWSER_DELETE'),
|
|
818
|
+
message: this.lngResourceService.GetString('FILEBROWSER_CONFIRM_DELETEFILE'),
|
|
819
|
+
}).subscribe((text) => {
|
|
820
|
+
this.confirmService
|
|
821
|
+
.ConfirmMessage(text.title, text.message)
|
|
822
|
+
.subscribe((result) => {
|
|
823
|
+
if (result === 'yes') {
|
|
824
|
+
observer.next(true);
|
|
825
|
+
}
|
|
826
|
+
else {
|
|
827
|
+
observer.next(false);
|
|
828
|
+
}
|
|
829
|
+
observer.complete();
|
|
830
|
+
});
|
|
831
|
+
});
|
|
832
|
+
});
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Confirm Action wenn ein Ordner gelöscht werden soll
|
|
836
|
+
* @param node Ordner der gelöscht werden soll
|
|
837
|
+
* @returns Observable ob Ordner gelöscht kann.
|
|
838
|
+
*/
|
|
839
|
+
confirmDeleteNode(node) {
|
|
840
|
+
return new Observable((observer) => {
|
|
841
|
+
forkJoin({
|
|
842
|
+
title: this.lngResourceService.GetString('FILEBROWSER_DELETE'),
|
|
843
|
+
message: this.lngResourceService.GetString('FILEBROWSER_CONFIRM_DELETEFOLDER'),
|
|
844
|
+
}).subscribe((text) => {
|
|
845
|
+
this.confirmService
|
|
846
|
+
.ConfirmMessage(text.title, text.message)
|
|
847
|
+
.subscribe((result) => {
|
|
848
|
+
if (result === 'yes') {
|
|
849
|
+
observer.next(true);
|
|
850
|
+
}
|
|
851
|
+
else {
|
|
852
|
+
observer.next(false);
|
|
853
|
+
}
|
|
854
|
+
observer.complete();
|
|
855
|
+
});
|
|
856
|
+
});
|
|
857
|
+
});
|
|
858
|
+
}
|
|
859
|
+
/**
|
|
860
|
+
* Methode wird aufgerufen, wenn eine Datei verschoben wird
|
|
861
|
+
* @param uploadid Upload ID
|
|
862
|
+
*/
|
|
863
|
+
uploadedFileMoved(uploadid) {
|
|
864
|
+
const item = this.uploadComponent.uploads.find((itm) => itm.documentid === uploadid);
|
|
865
|
+
if (item) {
|
|
866
|
+
this.uploadComponent.cancel(item.uploadId);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
SacBrowserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacBrowserComponent, deps: [{ token: i1$1.HttpClient }, { token: i0.Injector }, { token: ServiceConfirm }], target: i0.ɵɵFactoryTarget.Component });
|
|
871
|
+
SacBrowserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacBrowserComponent, selector: "sac-filebrowser", providers: [ServiceConfirm], viewQueries: [{ propertyName: "uploadComponent", first: true, predicate: SacDropzoneMultipleComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"row\">\r\n <div class=\"col-12 col-md-5 col-lg-4\">\r\n <ul class=\"list-group list-group-flush\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{node: rootNode, deep: 0}\"\r\n ></ng-template>\r\n </ul>\r\n\r\n <ng-template #treeItem let-node=\"node\" let-deep=\"deep\">\r\n <li\r\n class=\"list-group-item py-1 px-2 d-flex align-items-center\"\r\n [class.list-group-item-secondary]=\"node === selectedNode\"\r\n (click)=\"selectNode(node)\"\r\n style=\"cursor: pointer\"\r\n >\r\n <div class=\"mx-3\" *ngFor=\"let i of count(deep)\"></div>\r\n <div\r\n (click)=\"switchExpandNode(node);$event.stopPropagation();\"\r\n class=\"mr-2\"\r\n [ngClass]=\"node.ChildNodes.length === 0 ? iconFolderEmpty: (!node.IsExpanded && node.ChildNodes.length > 0 ? iconFolderCollabsed : (node.IsExpanded && node.ChildNodes.length > 0 ? iconFolderOpen : ''))\"\r\n ></div>\r\n <ng-container *ngIf=\"!node.IsEditMode\">\r\n <div class=\"flex-grow-1\">{{ node.Name }}</div>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.IsEditMode\">\r\n <div class=\"flex-grow-1\" ngForm>\r\n <input\r\n name=\"editFolder\"\r\n class=\"form-control form-control-sm\"\r\n [ngModel]=\"node.Name\"\r\n [ngModelOptions]=\"{updateOn: 'blur'}\"\r\n (ngModelChange)=\"renameNode(node, $event)\"\r\n (keydown.enter)=\"$event.target.blur();false;\"\r\n (blur)=\"renameNode(node, null)\"\r\n (click)=\"$event.stopPropagation()\"\r\n />\r\n </div>\r\n </ng-container>\r\n <div class=\"flex-shrink-0\">\r\n <a\r\n *ngIf=\"node.Path !== '/' && allowfolderrename\"\r\n class=\"btn btn-sm btn-link text-secondary\"\r\n (click)=\"editNode(node);$event.stopPropagation();\"\r\n >\r\n <i [class]=\"iconEdit\"></i>\r\n </a>\r\n <sac-contextmenu cssclass=\"d-inline-block\">\r\n <sac-contextmenubutton\r\n *ngIf=\"allowfoldercreate\"\r\n text=\"{{ lngResourceService.GetString('FILEBROWSER_NEWFOLDER') | async }}\"\r\n [icon]=\"iconFolderNew\"\r\n (clicked)=\"newNode(node)\"\r\n ></sac-contextmenubutton>\r\n <sac-contextmenubutton\r\n *ngIf=\"node.Path !== '/' && allowfolderdelete\"\r\n text=\"{{ lngResourceService.GetString('FILEBROWSER_DELETE') | async }}\"\r\n [icon]=\"iconDelete\"\r\n (clicked)=\"deleteNode(node)\"\r\n ></sac-contextmenubutton>\r\n <sac-contextmenusplitter\r\n *ngIf=\"allowfoldercreate || (node.Path !== '/' && allowfolderdelete)\"\r\n ></sac-contextmenusplitter>\r\n <sac-contextmenubutton\r\n text=\"{{ lngResourceService.GetString('FILEBROWSER_REFRESH') | async }}\"\r\n [icon]=\"iconRefresh\"\r\n (clicked)=\"refreshNode(node)\"\r\n ></sac-contextmenubutton>\r\n </sac-contextmenu>\r\n </div>\r\n </li>\r\n\r\n <ng-container *ngIf=\"node.IsExpanded\">\r\n <ng-template\r\n *ngFor=\"let child of node.ChildNodes\"\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{node: child, deep: deep + 1}\"\r\n ></ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n <div class=\"col-12 col-md-7 col-lg-8\">\r\n <ng-container *ngIf=\"selectedNode && selectedNode.Files\">\r\n <div *ngIf=\"allowfileupload\" ngForm>\r\n <sac-dropzonemultiple\r\n [disablelabel]=\"true\"\r\n [endpoint]=\"apiurl + '/uploadregister'\"\r\n name=\"upload\"\r\n uploadheight=\"5rem\"\r\n [ngModel]=\"uploads\"\r\n (ngModelChange)=\"uploadComplete(selectedNode,$event)\"\r\n [allowedtypes]=\"allowedtypes\"\r\n >{{ lngResourceService.GetString('FILEBROWSER_UPLOAD') | async\r\n }}</sac-dropzonemultiple\r\n >\r\n </div>\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-striped table-hover align-middle\">\r\n <thead>\r\n <th>\r\n {{ lngResourceService.GetString('FILEBROWSER_GRID_FILE') | async\r\n }}\r\n </th>\r\n <th>\r\n {{ lngResourceService.GetString('FILEBROWSER_GRID_SIZE') | async\r\n }}\r\n </th>\r\n <th style=\"width: 80px\"></th>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"selectedNode.Files.length === 0\">\r\n <tr>\r\n <td colspan=\"3\">\r\n {{ lngResourceService.GetString('FILEBROWSER_NO_FILES') |\r\n async }}\r\n </td>\r\n </tr>\r\n </ng-container>\r\n <ng-container *ngIf=\"selectedNode.Files.length > 0\">\r\n <tr\r\n *ngFor=\"let item of selectedNode.Files\"\r\n (click)=\"selectFile(item)\"\r\n [class.table-primary]=\"selectedFileItem === item\"\r\n >\r\n <td [class.p-2]=\"item.IsEditMode\">\r\n <ng-container *ngIf=\"!item.IsEditMode\">\r\n {{ item.Filename }}\r\n </ng-container>\r\n <ng-container *ngIf=\"item.IsEditMode\">\r\n <div>\r\n <input\r\n name=\"editFolder\"\r\n class=\"form-control form-control-sm\"\r\n [ngModel]=\"item.Filename\"\r\n [ngModelOptions]=\"{updateOn: 'blur'}\"\r\n (ngModelChange)=\"renameFile(item, $event)\"\r\n (keydown.enter)=\"$event.target.blur();false\"\r\n (blur)=\"renameFile(item, null)\"\r\n (click)=\"$event.stopPropagation();\"\r\n />\r\n </div>\r\n </ng-container>\r\n </td>\r\n <td>{{ item.Size}}</td>\r\n <td class=\"p-2\">\r\n <div class=\"btn-toolbar\" role=\"toolbar\">\r\n <div class=\"btn-group ml-auto\" role=\"group\">\r\n <a\r\n *ngIf=\"allowfilerename\"\r\n class=\"btn btn-sm btn-link text-secondary\"\r\n (click)=\"editFile(item);$event.stopPropagation();\"\r\n ><i [class]=\"iconEdit\"></i\r\n ></a>\r\n </div>\r\n <div class=\"btn-group\" role=\"group\">\r\n <a\r\n *ngIf=\"allowfiledelete\"\r\n class=\"btn btn-sm btn-link text-secondary\"\r\n (click)=\"deleteFile(item);$event.stopPropagation();\"\r\n ><i [class]=\"iconDelete\"></i\r\n ></a>\r\n </div>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>\r\n", components: [{ type: SacContextmenuComponent, selector: "sac-contextmenu" }, { type: SacContextmenuItemButtonComponent, selector: "sac-contextmenubutton" }, { type: SacContextmenuItemSplitterComponent, selector: "sac-contextmenusplitter" }, { type: SacDropzoneMultipleComponent, selector: "sac-dropzonemultiple" }], directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: SacFormDirective, selector: "form:not([ngNoForm]):not([formGroup]),[ngForm]", exportAs: ["sacform"] }, { type: i9.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i9.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i2.AsyncPipe } });
|
|
872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacBrowserComponent, decorators: [{
|
|
873
|
+
type: Component,
|
|
874
|
+
args: [{ selector: 'sac-filebrowser', providers: [ServiceConfirm], template: "<div class=\"row\">\r\n <div class=\"col-12 col-md-5 col-lg-4\">\r\n <ul class=\"list-group list-group-flush\">\r\n <ng-template\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{node: rootNode, deep: 0}\"\r\n ></ng-template>\r\n </ul>\r\n\r\n <ng-template #treeItem let-node=\"node\" let-deep=\"deep\">\r\n <li\r\n class=\"list-group-item py-1 px-2 d-flex align-items-center\"\r\n [class.list-group-item-secondary]=\"node === selectedNode\"\r\n (click)=\"selectNode(node)\"\r\n style=\"cursor: pointer\"\r\n >\r\n <div class=\"mx-3\" *ngFor=\"let i of count(deep)\"></div>\r\n <div\r\n (click)=\"switchExpandNode(node);$event.stopPropagation();\"\r\n class=\"mr-2\"\r\n [ngClass]=\"node.ChildNodes.length === 0 ? iconFolderEmpty: (!node.IsExpanded && node.ChildNodes.length > 0 ? iconFolderCollabsed : (node.IsExpanded && node.ChildNodes.length > 0 ? iconFolderOpen : ''))\"\r\n ></div>\r\n <ng-container *ngIf=\"!node.IsEditMode\">\r\n <div class=\"flex-grow-1\">{{ node.Name }}</div>\r\n </ng-container>\r\n <ng-container *ngIf=\"node.IsEditMode\">\r\n <div class=\"flex-grow-1\" ngForm>\r\n <input\r\n name=\"editFolder\"\r\n class=\"form-control form-control-sm\"\r\n [ngModel]=\"node.Name\"\r\n [ngModelOptions]=\"{updateOn: 'blur'}\"\r\n (ngModelChange)=\"renameNode(node, $event)\"\r\n (keydown.enter)=\"$event.target.blur();false;\"\r\n (blur)=\"renameNode(node, null)\"\r\n (click)=\"$event.stopPropagation()\"\r\n />\r\n </div>\r\n </ng-container>\r\n <div class=\"flex-shrink-0\">\r\n <a\r\n *ngIf=\"node.Path !== '/' && allowfolderrename\"\r\n class=\"btn btn-sm btn-link text-secondary\"\r\n (click)=\"editNode(node);$event.stopPropagation();\"\r\n >\r\n <i [class]=\"iconEdit\"></i>\r\n </a>\r\n <sac-contextmenu cssclass=\"d-inline-block\">\r\n <sac-contextmenubutton\r\n *ngIf=\"allowfoldercreate\"\r\n text=\"{{ lngResourceService.GetString('FILEBROWSER_NEWFOLDER') | async }}\"\r\n [icon]=\"iconFolderNew\"\r\n (clicked)=\"newNode(node)\"\r\n ></sac-contextmenubutton>\r\n <sac-contextmenubutton\r\n *ngIf=\"node.Path !== '/' && allowfolderdelete\"\r\n text=\"{{ lngResourceService.GetString('FILEBROWSER_DELETE') | async }}\"\r\n [icon]=\"iconDelete\"\r\n (clicked)=\"deleteNode(node)\"\r\n ></sac-contextmenubutton>\r\n <sac-contextmenusplitter\r\n *ngIf=\"allowfoldercreate || (node.Path !== '/' && allowfolderdelete)\"\r\n ></sac-contextmenusplitter>\r\n <sac-contextmenubutton\r\n text=\"{{ lngResourceService.GetString('FILEBROWSER_REFRESH') | async }}\"\r\n [icon]=\"iconRefresh\"\r\n (clicked)=\"refreshNode(node)\"\r\n ></sac-contextmenubutton>\r\n </sac-contextmenu>\r\n </div>\r\n </li>\r\n\r\n <ng-container *ngIf=\"node.IsExpanded\">\r\n <ng-template\r\n *ngFor=\"let child of node.ChildNodes\"\r\n [ngTemplateOutlet]=\"treeItem\"\r\n [ngTemplateOutletContext]=\"{node: child, deep: deep + 1}\"\r\n ></ng-template>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n <div class=\"col-12 col-md-7 col-lg-8\">\r\n <ng-container *ngIf=\"selectedNode && selectedNode.Files\">\r\n <div *ngIf=\"allowfileupload\" ngForm>\r\n <sac-dropzonemultiple\r\n [disablelabel]=\"true\"\r\n [endpoint]=\"apiurl + '/uploadregister'\"\r\n name=\"upload\"\r\n uploadheight=\"5rem\"\r\n [ngModel]=\"uploads\"\r\n (ngModelChange)=\"uploadComplete(selectedNode,$event)\"\r\n [allowedtypes]=\"allowedtypes\"\r\n >{{ lngResourceService.GetString('FILEBROWSER_UPLOAD') | async\r\n }}</sac-dropzonemultiple\r\n >\r\n </div>\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-striped table-hover align-middle\">\r\n <thead>\r\n <th>\r\n {{ lngResourceService.GetString('FILEBROWSER_GRID_FILE') | async\r\n }}\r\n </th>\r\n <th>\r\n {{ lngResourceService.GetString('FILEBROWSER_GRID_SIZE') | async\r\n }}\r\n </th>\r\n <th style=\"width: 80px\"></th>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"selectedNode.Files.length === 0\">\r\n <tr>\r\n <td colspan=\"3\">\r\n {{ lngResourceService.GetString('FILEBROWSER_NO_FILES') |\r\n async }}\r\n </td>\r\n </tr>\r\n </ng-container>\r\n <ng-container *ngIf=\"selectedNode.Files.length > 0\">\r\n <tr\r\n *ngFor=\"let item of selectedNode.Files\"\r\n (click)=\"selectFile(item)\"\r\n [class.table-primary]=\"selectedFileItem === item\"\r\n >\r\n <td [class.p-2]=\"item.IsEditMode\">\r\n <ng-container *ngIf=\"!item.IsEditMode\">\r\n {{ item.Filename }}\r\n </ng-container>\r\n <ng-container *ngIf=\"item.IsEditMode\">\r\n <div>\r\n <input\r\n name=\"editFolder\"\r\n class=\"form-control form-control-sm\"\r\n [ngModel]=\"item.Filename\"\r\n [ngModelOptions]=\"{updateOn: 'blur'}\"\r\n (ngModelChange)=\"renameFile(item, $event)\"\r\n (keydown.enter)=\"$event.target.blur();false\"\r\n (blur)=\"renameFile(item, null)\"\r\n (click)=\"$event.stopPropagation();\"\r\n />\r\n </div>\r\n </ng-container>\r\n </td>\r\n <td>{{ item.Size}}</td>\r\n <td class=\"p-2\">\r\n <div class=\"btn-toolbar\" role=\"toolbar\">\r\n <div class=\"btn-group ml-auto\" role=\"group\">\r\n <a\r\n *ngIf=\"allowfilerename\"\r\n class=\"btn btn-sm btn-link text-secondary\"\r\n (click)=\"editFile(item);$event.stopPropagation();\"\r\n ><i [class]=\"iconEdit\"></i\r\n ></a>\r\n </div>\r\n <div class=\"btn-group\" role=\"group\">\r\n <a\r\n *ngIf=\"allowfiledelete\"\r\n class=\"btn btn-sm btn-link text-secondary\"\r\n (click)=\"deleteFile(item);$event.stopPropagation();\"\r\n ><i [class]=\"iconDelete\"></i\r\n ></a>\r\n </div>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n </div>\r\n </ng-container>\r\n </div>\r\n</div>\r\n" }]
|
|
875
|
+
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: i0.Injector }, { type: ServiceConfirm }]; }, propDecorators: { uploadComponent: [{
|
|
876
|
+
type: ViewChild,
|
|
877
|
+
args: [SacDropzoneMultipleComponent, { static: false }]
|
|
878
|
+
}] } });
|
|
879
|
+
|
|
880
|
+
class SACBootstrap4BrowserModule {
|
|
881
|
+
}
|
|
882
|
+
SACBootstrap4BrowserModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4BrowserModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
883
|
+
SACBootstrap4BrowserModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4BrowserModule, bootstrap: [SacBrowserComponent], declarations: [SacBrowserComponent], imports: [CommonModule,
|
|
884
|
+
HttpClientModule,
|
|
885
|
+
SACBootstrap4ConfirmModule,
|
|
886
|
+
SACBootstrap4ContextmenuModule,
|
|
887
|
+
SACBootstrap4UploadModule,
|
|
888
|
+
SACBootstrap4FormModule,
|
|
889
|
+
FormsModule], exports: [SacBrowserComponent] });
|
|
890
|
+
SACBootstrap4BrowserModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4BrowserModule, imports: [[
|
|
891
|
+
CommonModule,
|
|
892
|
+
HttpClientModule,
|
|
893
|
+
SACBootstrap4ConfirmModule,
|
|
894
|
+
SACBootstrap4ContextmenuModule,
|
|
895
|
+
SACBootstrap4UploadModule,
|
|
896
|
+
SACBootstrap4FormModule,
|
|
897
|
+
FormsModule,
|
|
898
|
+
]] });
|
|
899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4BrowserModule, decorators: [{
|
|
900
|
+
type: NgModule,
|
|
901
|
+
args: [{
|
|
902
|
+
declarations: [SacBrowserComponent],
|
|
903
|
+
imports: [
|
|
904
|
+
CommonModule,
|
|
905
|
+
HttpClientModule,
|
|
906
|
+
SACBootstrap4ConfirmModule,
|
|
907
|
+
SACBootstrap4ContextmenuModule,
|
|
908
|
+
SACBootstrap4UploadModule,
|
|
909
|
+
SACBootstrap4FormModule,
|
|
910
|
+
FormsModule,
|
|
911
|
+
],
|
|
912
|
+
exports: [SacBrowserComponent],
|
|
913
|
+
bootstrap: [SacBrowserComponent],
|
|
914
|
+
}]
|
|
915
|
+
}] });
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Checkbox Kompontente
|
|
919
|
+
*/
|
|
920
|
+
class SacCheckboxComponent extends SacCheckboxCommon {
|
|
921
|
+
/**
|
|
922
|
+
* Konstruktor
|
|
923
|
+
* @param parent Formular
|
|
924
|
+
* @param injector Angular Dependency Injection Service
|
|
925
|
+
*/
|
|
926
|
+
constructor(parent, injector) {
|
|
927
|
+
super(parent, injector);
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
SacCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacCheckboxComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
931
|
+
SacCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacCheckboxComponent, selector: "sac-checkbox", providers: [
|
|
932
|
+
{
|
|
933
|
+
provide: NG_VALUE_ACCESSOR,
|
|
934
|
+
multi: true,
|
|
935
|
+
useExisting: SacCheckboxComponent,
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
provide: NG_VALIDATORS,
|
|
939
|
+
useExisting: forwardRef(() => SacCheckboxComponent),
|
|
940
|
+
multi: true,
|
|
941
|
+
},
|
|
942
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <div class=\"col-12\" [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\">\r\n <ng-container *ngIf=\"!disablelabel\">{{label}}</ng-container>\r\n </div>\r\n <div class=\"col-12\" [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <div class=\"form-check\">\r\n <input class=\"form-check-input\" id=\"{{name}}\" name=\"{{name}}\" type=\"checkbox\" [checked]=\"value\"\r\n (blur)=\"onTouch()\" (change)=\"setValue($event.target.checked)\" [disabled]=\"isdisabled\" />\r\n <label for=\"{{name}}\" class=\"form-check-label\">\r\n <ng-container *ngIf=\"checkboxtext\">{{checkboxtext}}</ng-container>\r\n </label>\r\n </div>\r\n </div>\r\n</div>", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], viewProviders: [
|
|
943
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
944
|
+
] });
|
|
945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacCheckboxComponent, decorators: [{
|
|
946
|
+
type: Component,
|
|
947
|
+
args: [{ selector: 'sac-checkbox', providers: [
|
|
948
|
+
{
|
|
949
|
+
provide: NG_VALUE_ACCESSOR,
|
|
950
|
+
multi: true,
|
|
951
|
+
useExisting: SacCheckboxComponent,
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
provide: NG_VALIDATORS,
|
|
955
|
+
useExisting: forwardRef(() => SacCheckboxComponent),
|
|
956
|
+
multi: true,
|
|
957
|
+
},
|
|
958
|
+
], viewProviders: [
|
|
959
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
960
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <div class=\"col-12\" [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\">\r\n <ng-container *ngIf=\"!disablelabel\">{{label}}</ng-container>\r\n </div>\r\n <div class=\"col-12\" [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <div class=\"form-check\">\r\n <input class=\"form-check-input\" id=\"{{name}}\" name=\"{{name}}\" type=\"checkbox\" [checked]=\"value\"\r\n (blur)=\"onTouch()\" (change)=\"setValue($event.target.checked)\" [disabled]=\"isdisabled\" />\r\n <label for=\"{{name}}\" class=\"form-check-label\">\r\n <ng-container *ngIf=\"checkboxtext\">{{checkboxtext}}</ng-container>\r\n </label>\r\n </div>\r\n </div>\r\n</div>" }]
|
|
961
|
+
}], ctorParameters: function () {
|
|
962
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
963
|
+
type: Host
|
|
964
|
+
}, {
|
|
965
|
+
type: Optional
|
|
966
|
+
}] }, { type: i0.Injector }];
|
|
967
|
+
} });
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Radiobuttons Group Komponente
|
|
971
|
+
*/
|
|
972
|
+
class SacRadiobuttonsComponent extends SacRadiobuttonsCommon {
|
|
973
|
+
/**
|
|
974
|
+
* Konstruktor
|
|
975
|
+
* @param parent Formular
|
|
976
|
+
* @param injector Angular Dependency Injection Service
|
|
977
|
+
*/
|
|
978
|
+
constructor(parent, injector) {
|
|
979
|
+
super(parent, injector);
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
SacRadiobuttonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacRadiobuttonsComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
983
|
+
SacRadiobuttonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacRadiobuttonsComponent, selector: "sac-radiobuttons", providers: [
|
|
984
|
+
{
|
|
985
|
+
provide: NG_VALUE_ACCESSOR,
|
|
986
|
+
useExisting: forwardRef(() => SacRadiobuttonsComponent),
|
|
987
|
+
multi: true,
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
provide: NG_VALIDATORS,
|
|
991
|
+
useExisting: forwardRef(() => SacRadiobuttonsComponent),
|
|
992
|
+
multi: true,
|
|
993
|
+
},
|
|
994
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\">\r\n <div *ngIf=\"disablelabel === false\" class=\"col-form-label col-12 pt-0\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\">\r\n <ng-container *ngIf=\"!disablelabel\">{{label}}</ng-container>\r\n </div>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], viewProviders: [
|
|
995
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
996
|
+
] });
|
|
997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacRadiobuttonsComponent, decorators: [{
|
|
998
|
+
type: Component,
|
|
999
|
+
args: [{ selector: 'sac-radiobuttons', providers: [
|
|
1000
|
+
{
|
|
1001
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1002
|
+
useExisting: forwardRef(() => SacRadiobuttonsComponent),
|
|
1003
|
+
multi: true,
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
provide: NG_VALIDATORS,
|
|
1007
|
+
useExisting: forwardRef(() => SacRadiobuttonsComponent),
|
|
1008
|
+
multi: true,
|
|
1009
|
+
},
|
|
1010
|
+
], viewProviders: [
|
|
1011
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1012
|
+
], template: "<div class=\"row form-group\">\r\n <div *ngIf=\"disablelabel === false\" class=\"col-form-label col-12 pt-0\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\">\r\n <ng-container *ngIf=\"!disablelabel\">{{label}}</ng-container>\r\n </div>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>" }]
|
|
1013
|
+
}], ctorParameters: function () {
|
|
1014
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1015
|
+
type: Host
|
|
1016
|
+
}, {
|
|
1017
|
+
type: Optional
|
|
1018
|
+
}] }, { type: i0.Injector }];
|
|
1019
|
+
} });
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Radiobutton Komponente
|
|
1023
|
+
*/
|
|
1024
|
+
class SacRadiobuttonComponent extends SacRadiobuttonCommon {
|
|
1025
|
+
/**
|
|
1026
|
+
* Konstruktor
|
|
1027
|
+
* @param SacRadioButtons Radio Buttons Group Komponente
|
|
1028
|
+
*/
|
|
1029
|
+
constructor(sacRadioButtons) {
|
|
1030
|
+
super(sacRadioButtons);
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
SacRadiobuttonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacRadiobuttonComponent, deps: [{ token: SacRadiobuttonsComponent, host: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1034
|
+
SacRadiobuttonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacRadiobuttonComponent, selector: "sac-radiobutton", usesInheritance: true, ngImport: i0, template: "<div class=\"form-check\" *ngIf=\"hidden===false\">\r\n <input id=\"{{getName}}_{{getIndex}}\" name=\"{{getName}}\" type=\"radio\" class=\"form-check-input\" [value]=\"value\"\r\n [checked]=\"checked\" (change)=\"ChangeEvent()\" [disabled]=\"isDisabled\" />\r\n <label for=\"{{getName}}_{{getIndex}}\" class=\"form-check-label\">\r\n <ng-template *ngTemplateOutlet=\"labeltemplate || defaultItemLabelTemplate;context:{ label: label }\">\r\n </ng-template>\r\n </label>\r\n</div>\r\n\r\n<ng-template #defaultItemLabelTemplate let-label=\"label\">{{label}}</ng-template>", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacRadiobuttonComponent, decorators: [{
|
|
1036
|
+
type: Component,
|
|
1037
|
+
args: [{ selector: 'sac-radiobutton', template: "<div class=\"form-check\" *ngIf=\"hidden===false\">\r\n <input id=\"{{getName}}_{{getIndex}}\" name=\"{{getName}}\" type=\"radio\" class=\"form-check-input\" [value]=\"value\"\r\n [checked]=\"checked\" (change)=\"ChangeEvent()\" [disabled]=\"isDisabled\" />\r\n <label for=\"{{getName}}_{{getIndex}}\" class=\"form-check-label\">\r\n <ng-template *ngTemplateOutlet=\"labeltemplate || defaultItemLabelTemplate;context:{ label: label }\">\r\n </ng-template>\r\n </label>\r\n</div>\r\n\r\n<ng-template #defaultItemLabelTemplate let-label=\"label\">{{label}}</ng-template>" }]
|
|
1038
|
+
}], ctorParameters: function () {
|
|
1039
|
+
return [{ type: SacRadiobuttonsComponent, decorators: [{
|
|
1040
|
+
type: Host
|
|
1041
|
+
}] }];
|
|
1042
|
+
} });
|
|
1043
|
+
|
|
1044
|
+
class SACBootstrap4CheckboxModule {
|
|
1045
|
+
}
|
|
1046
|
+
SACBootstrap4CheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1047
|
+
SACBootstrap4CheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4CheckboxModule, declarations: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent], imports: [CommonModule], exports: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent] });
|
|
1048
|
+
SACBootstrap4CheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4CheckboxModule, imports: [[
|
|
1049
|
+
CommonModule
|
|
1050
|
+
]] });
|
|
1051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4CheckboxModule, decorators: [{
|
|
1052
|
+
type: NgModule,
|
|
1053
|
+
args: [{
|
|
1054
|
+
declarations: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent],
|
|
1055
|
+
imports: [
|
|
1056
|
+
CommonModule
|
|
1057
|
+
],
|
|
1058
|
+
exports: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent]
|
|
1059
|
+
}]
|
|
1060
|
+
}] });
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* DateTime Selektor Komponente
|
|
1064
|
+
*/
|
|
1065
|
+
class SacDateSelectorComponent extends SacDateSelectorCommon {
|
|
1066
|
+
}
|
|
1067
|
+
SacDateSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateSelectorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1068
|
+
SacDateSelectorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDateSelectorComponent, selector: "sac-dateselector", usesInheritance: true, ngImport: i0, template: "<div class=\"calendar-selector\">\r\n <div *ngIf=\"dateselection\">\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col text-left\">\r\n <a (click)=\"monthBack()\"><span [class]=\"iconMonthPrev\"></span></a>\r\n </div>\r\n <div class=\"col text-center\">{{month+1}}/{{year}}</div>\r\n <div class=\"col text-right\">\r\n <a (click)=\"monthNext()\"><span [class]=\"iconMonthNext\"></span></a>\r\n </div>\r\n </div>\r\n </div>\r\n <div></div>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <ng-container *ngFor=\"let week of dates; let i=index\">\r\n <ng-container *ngFor=\"let item of week\">\r\n <div\r\n class=\"p-2 col text-center\"\r\n [ngStyle]=\"{'cursor': item.isenabled ? 'pointer' : null}\"\r\n [ngClass]=\"{'day-current': item.iscurrent, 'day-selected': item.isselected, 'day-new': item.isnew, 'day-disabled': !item.isenabled}\"\r\n (click)=\"selectDate(item)\"\r\n >\r\n {{ item.displaytext }}\r\n </div>\r\n </ng-container>\r\n <div class=\"w-100\"></div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex flex-row justify-content-start\" *ngIf=\"timeselection\">\r\n <div class=\"p-2\">\r\n <div class=\"form-group\">\r\n <label>Stunde</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"getHours()\"\r\n (input)=\"setHours($event.target.value)\"\r\n min=\"0\"\r\n max=\"23\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"p-2\">\r\n <div class=\"form-group\">\r\n <label>Minute</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"getMinutes()\"\r\n (input)=\"setMinutes($event.target.value)\"\r\n min=\"0\"\r\n max=\"59\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex flex-row\">\r\n <div class=\"mr-auto p-2\">\r\n <button type=\"button\" class=\"btn btn-secondary\" (click)=\"setToday()\">\r\n Heute\r\n </button>\r\n </div>\r\n <div class=\"p-2\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-secondary\"\r\n (click)=\"resetSelection()\"\r\n >\r\n Reset\r\n </button>\r\n </div>\r\n <div class=\"p-2\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"applySelection()\">\r\n Apply\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateSelectorComponent, decorators: [{
|
|
1070
|
+
type: Component,
|
|
1071
|
+
args: [{ selector: 'sac-dateselector', template: "<div class=\"calendar-selector\">\r\n <div *ngIf=\"dateselection\">\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col text-left\">\r\n <a (click)=\"monthBack()\"><span [class]=\"iconMonthPrev\"></span></a>\r\n </div>\r\n <div class=\"col text-center\">{{month+1}}/{{year}}</div>\r\n <div class=\"col text-right\">\r\n <a (click)=\"monthNext()\"><span [class]=\"iconMonthNext\"></span></a>\r\n </div>\r\n </div>\r\n </div>\r\n <div></div>\r\n <div class=\"container\">\r\n <div class=\"row\">\r\n <ng-container *ngFor=\"let week of dates; let i=index\">\r\n <ng-container *ngFor=\"let item of week\">\r\n <div\r\n class=\"p-2 col text-center\"\r\n [ngStyle]=\"{'cursor': item.isenabled ? 'pointer' : null}\"\r\n [ngClass]=\"{'day-current': item.iscurrent, 'day-selected': item.isselected, 'day-new': item.isnew, 'day-disabled': !item.isenabled}\"\r\n (click)=\"selectDate(item)\"\r\n >\r\n {{ item.displaytext }}\r\n </div>\r\n </ng-container>\r\n <div class=\"w-100\"></div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex flex-row justify-content-start\" *ngIf=\"timeselection\">\r\n <div class=\"p-2\">\r\n <div class=\"form-group\">\r\n <label>Stunde</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"getHours()\"\r\n (input)=\"setHours($event.target.value)\"\r\n min=\"0\"\r\n max=\"23\"\r\n />\r\n </div>\r\n </div>\r\n <div class=\"p-2\">\r\n <div class=\"form-group\">\r\n <label>Minute</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"getMinutes()\"\r\n (input)=\"setMinutes($event.target.value)\"\r\n min=\"0\"\r\n max=\"59\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex flex-row\">\r\n <div class=\"mr-auto p-2\">\r\n <button type=\"button\" class=\"btn btn-secondary\" (click)=\"setToday()\">\r\n Heute\r\n </button>\r\n </div>\r\n <div class=\"p-2\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-secondary\"\r\n (click)=\"resetSelection()\"\r\n >\r\n Reset\r\n </button>\r\n </div>\r\n <div class=\"p-2\">\r\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"applySelection()\">\r\n Apply\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1072
|
+
}] });
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Referenz auf Moment.JS
|
|
1076
|
+
*/
|
|
1077
|
+
const moment = moment_["default"];
|
|
1078
|
+
/**
|
|
1079
|
+
* Komponente für Datumauswahl
|
|
1080
|
+
*/
|
|
1081
|
+
class SacDateComponent extends SacDateCommon {
|
|
1082
|
+
/**
|
|
1083
|
+
* Konstruktor
|
|
1084
|
+
* @param parent Formular
|
|
1085
|
+
* @param injector Angular Dependency Injection Service
|
|
1086
|
+
* @param _elementRef Referenz auf HTML DOM Element
|
|
1087
|
+
*/
|
|
1088
|
+
constructor(parent, injector, _elementRef) {
|
|
1089
|
+
super(parent, injector, _elementRef);
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
SacDateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1093
|
+
SacDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDateComponent, selector: "sac-date", providers: [
|
|
1094
|
+
{
|
|
1095
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1096
|
+
multi: true,
|
|
1097
|
+
useExisting: forwardRef(() => SacDateComponent),
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
provide: NG_VALIDATORS,
|
|
1101
|
+
multi: true,
|
|
1102
|
+
useExisting: forwardRef(() => SacDateComponent),
|
|
1103
|
+
},
|
|
1104
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div class=\"input-group-append\">\r\n <button\r\n class=\"btn btn-sm btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: 34px;\r\n max-width: 325px;\r\n \"\r\n >\r\n <div class=\"arrow\" style=\"left: unset; right: 12px\"></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: SacDateSelectorComponent, selector: "sac-dateselector" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.IMaskDirective, selector: "[imask]", inputs: ["imaskElement", "imask", "unmask"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1105
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1106
|
+
] });
|
|
1107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateComponent, decorators: [{
|
|
1108
|
+
type: Component,
|
|
1109
|
+
args: [{ selector: 'sac-date', providers: [
|
|
1110
|
+
{
|
|
1111
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1112
|
+
multi: true,
|
|
1113
|
+
useExisting: forwardRef(() => SacDateComponent),
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
provide: NG_VALIDATORS,
|
|
1117
|
+
multi: true,
|
|
1118
|
+
useExisting: forwardRef(() => SacDateComponent),
|
|
1119
|
+
},
|
|
1120
|
+
], viewProviders: [
|
|
1121
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1122
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div class=\"input-group-append\">\r\n <button\r\n class=\"btn btn-sm btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: 34px;\r\n max-width: 325px;\r\n \"\r\n >\r\n <div class=\"arrow\" style=\"left: unset; right: 12px\"></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1123
|
+
}], ctorParameters: function () {
|
|
1124
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1125
|
+
type: Host
|
|
1126
|
+
}, {
|
|
1127
|
+
type: Optional
|
|
1128
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
1129
|
+
} });
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Date und Time Komponente
|
|
1133
|
+
*/
|
|
1134
|
+
class SacDateTimeComponent extends SacDateTimeCommon {
|
|
1135
|
+
/**
|
|
1136
|
+
* Konstruktor
|
|
1137
|
+
* @param parent Formular
|
|
1138
|
+
* @param injector Angular Dependency Injection Service
|
|
1139
|
+
* @param _elementRef DOM Element Referenz
|
|
1140
|
+
*/
|
|
1141
|
+
constructor(parent, injector, _elementRef) {
|
|
1142
|
+
super(parent, injector, _elementRef);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
SacDateTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateTimeComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1146
|
+
SacDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDateTimeComponent, selector: "sac-datetime", providers: [
|
|
1147
|
+
{
|
|
1148
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1149
|
+
multi: true,
|
|
1150
|
+
useExisting: forwardRef(() => SacDateTimeComponent),
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
provide: NG_VALIDATORS,
|
|
1154
|
+
multi: true,
|
|
1155
|
+
useExisting: forwardRef(() => SacDateTimeComponent),
|
|
1156
|
+
},
|
|
1157
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div class=\"input-group-append\">\r\n <button\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: 34px;\r\n max-width: 325px;\r\n \"\r\n >\r\n <div class=\"arrow\" style=\"left: unset; right: 12px\"></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\"\r\n timeselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: SacDateSelectorComponent, selector: "sac-dateselector" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.IMaskDirective, selector: "[imask]", inputs: ["imaskElement", "imask", "unmask"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1158
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1159
|
+
] });
|
|
1160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateTimeComponent, decorators: [{
|
|
1161
|
+
type: Component,
|
|
1162
|
+
args: [{ selector: 'sac-datetime', providers: [
|
|
1163
|
+
{
|
|
1164
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1165
|
+
multi: true,
|
|
1166
|
+
useExisting: forwardRef(() => SacDateTimeComponent),
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
provide: NG_VALIDATORS,
|
|
1170
|
+
multi: true,
|
|
1171
|
+
useExisting: forwardRef(() => SacDateTimeComponent),
|
|
1172
|
+
},
|
|
1173
|
+
], viewProviders: [
|
|
1174
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1175
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div class=\"input-group-append\">\r\n <button\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showDateSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: 34px;\r\n max-width: 325px;\r\n \"\r\n >\r\n <div class=\"arrow\" style=\"left: unset; right: 12px\"></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"dateselect($event)\"\r\n dateselection=\"true\"\r\n timeselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1176
|
+
}], ctorParameters: function () {
|
|
1177
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1178
|
+
type: Host
|
|
1179
|
+
}, {
|
|
1180
|
+
type: Optional
|
|
1181
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
1182
|
+
} });
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Time Auswahl Komponente
|
|
1186
|
+
*/
|
|
1187
|
+
class SacTimeComponent extends SacTimeCommon {
|
|
1188
|
+
/**
|
|
1189
|
+
* Konstruktor
|
|
1190
|
+
* @param parent Formular
|
|
1191
|
+
* @param injector Angular Dependency Injection Service
|
|
1192
|
+
* @param _elementRef DOM Element Referenz
|
|
1193
|
+
*/
|
|
1194
|
+
constructor(parent, injector, _elementRef) {
|
|
1195
|
+
super(parent, injector, _elementRef);
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
SacTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTimeComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1199
|
+
SacTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTimeComponent, selector: "sac-time", providers: [
|
|
1200
|
+
{
|
|
1201
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1202
|
+
multi: true,
|
|
1203
|
+
useExisting: forwardRef(() => SacTimeComponent),
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
provide: NG_VALIDATORS,
|
|
1207
|
+
multi: true,
|
|
1208
|
+
useExisting: forwardRef(() => SacTimeComponent),
|
|
1209
|
+
},
|
|
1210
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div class=\"input-group-append\">\r\n <button\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showTimeSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: 34px;\r\n max-width: 325px;\r\n \"\r\n >\r\n <div class=\"arrow\" style=\"left: unset; right: 12px\"></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"timeselect($event)\"\r\n timeselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: SacDateSelectorComponent, selector: "sac-dateselector" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.IMaskDirective, selector: "[imask]", inputs: ["imaskElement", "imask", "unmask"], outputs: ["accept", "complete"], exportAs: ["imask"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1211
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1212
|
+
] });
|
|
1213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTimeComponent, decorators: [{
|
|
1214
|
+
type: Component,
|
|
1215
|
+
args: [{ selector: 'sac-time', providers: [
|
|
1216
|
+
{
|
|
1217
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1218
|
+
multi: true,
|
|
1219
|
+
useExisting: forwardRef(() => SacTimeComponent),
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
provide: NG_VALIDATORS,
|
|
1223
|
+
multi: true,
|
|
1224
|
+
useExisting: forwardRef(() => SacTimeComponent),
|
|
1225
|
+
},
|
|
1226
|
+
], viewProviders: [
|
|
1227
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1228
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [imask]=\"imaskDate\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div class=\"input-group-append\">\r\n <button\r\n class=\"btn btn-secondary\"\r\n type=\"button\"\r\n (click)=\"showTimeSelector()\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <i [class]=\"IconSelector\"></i>\r\n </button>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n <div\r\n class=\"popover fade bs-popover-bottom show\"\r\n role=\"tooltip\"\r\n *ngIf=\"_showselector\"\r\n style=\"\r\n display: block;\r\n left: unset;\r\n right: 0px;\r\n top: 34px;\r\n max-width: 325px;\r\n \"\r\n >\r\n <div class=\"arrow\" style=\"left: unset; right: 12px\"></div>\r\n <h3 class=\"popover-header\" style=\"display: none\"></h3>\r\n <div class=\"popover-body\">\r\n <sac-dateselector\r\n [initialvalue]=\"value\"\r\n (selectdate)=\"timeselect($event)\"\r\n timeselection=\"true\"\r\n ></sac-dateselector>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1229
|
+
}], ctorParameters: function () {
|
|
1230
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1231
|
+
type: Host
|
|
1232
|
+
}, {
|
|
1233
|
+
type: Optional
|
|
1234
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }];
|
|
1235
|
+
} });
|
|
1236
|
+
|
|
1237
|
+
class SACBootstrap4DateTimeModule {
|
|
1238
|
+
}
|
|
1239
|
+
SACBootstrap4DateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1240
|
+
SACBootstrap4DateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DateTimeModule, declarations: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent], imports: [CommonModule, IMaskModule], exports: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent] });
|
|
1241
|
+
SACBootstrap4DateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DateTimeModule, imports: [[
|
|
1242
|
+
CommonModule, IMaskModule
|
|
1243
|
+
]] });
|
|
1244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DateTimeModule, decorators: [{
|
|
1245
|
+
type: NgModule,
|
|
1246
|
+
args: [{
|
|
1247
|
+
declarations: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent],
|
|
1248
|
+
imports: [
|
|
1249
|
+
CommonModule, IMaskModule
|
|
1250
|
+
],
|
|
1251
|
+
exports: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent]
|
|
1252
|
+
}]
|
|
1253
|
+
}] });
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* Paging Komponente
|
|
1257
|
+
*/
|
|
1258
|
+
class SacPagingComponent extends SacPagingCommon {
|
|
1259
|
+
/**
|
|
1260
|
+
* Konstruktor
|
|
1261
|
+
* @param injector Angular Dependency Injection Service
|
|
1262
|
+
*/
|
|
1263
|
+
constructor(injector) {
|
|
1264
|
+
super(injector);
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
SacPagingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacPagingComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1268
|
+
SacPagingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacPagingComponent, selector: "sac-paging", providers: [
|
|
1269
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacPagingComponent },
|
|
1270
|
+
{
|
|
1271
|
+
provide: NG_VALIDATORS,
|
|
1272
|
+
multi: true,
|
|
1273
|
+
useExisting: forwardRef(() => SacPagingComponent),
|
|
1274
|
+
},
|
|
1275
|
+
], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"d-flex justify-content-between align-items-center flex-wrap\"\r\n id=\"{{name}}\"\r\n>\r\n <div class=\"col-pagination order-2 order-md-1\" id=\"{{name}}_pages\">\r\n <ul class=\"pagination mb-4 mb-md-0\">\r\n <li\r\n class=\"page-item\"\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === firstPageIndex}\"\r\n >\r\n <a class=\"page-link\" (click)=\"firstPage()\">\u00AB</a>\r\n </li>\r\n <li\r\n class=\"page-item\"\r\n *ngFor=\"let page of paginators; let i = index\"\r\n [ngClass]=\"{'active': page === activePageIndex}\"\r\n >\r\n <a class=\"page-link\" (click)=\"changePage(page)\">{{page + 1 }}</a>\r\n </li>\r\n <li\r\n class=\"page-item\"\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === lastPageIndex}\"\r\n >\r\n <a class=\"page-link\" (click)=\"lastPage()\">\u00BB</a>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"col-summary order-1 order-md-2\">\r\n <div class=\"mb-4 mb-md-0 mr-4 mb-md-0\">{{ PagingText | async }}</div>\r\n </div>\r\n <div class=\"col-pagesize order-3\" *ngIf=\"!pagesizedisabled\">\r\n <div class=\"d-flex align-items-center\" id=\"{{name}}_size\">\r\n <select\r\n class=\"form-control form-control-sm\"\r\n style=\"width: 85px\"\r\n [ngModel]=\"pageSize\"\r\n (ngModelChange)=\"changePageSize($event)\"\r\n >\r\n <option [ngValue]=\"size\" *ngFor=\"let size of getPageSizes\">\r\n {{size}}\r\n </option>\r\n </select>\r\n <div class=\"ml-2\">{{ PageSizeText | async }}</div>\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i9.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i9.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }], pipes: { "async": i2.AsyncPipe } });
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacPagingComponent, decorators: [{
|
|
1277
|
+
type: Component,
|
|
1278
|
+
args: [{ selector: 'sac-paging', providers: [
|
|
1279
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacPagingComponent },
|
|
1280
|
+
{
|
|
1281
|
+
provide: NG_VALIDATORS,
|
|
1282
|
+
multi: true,
|
|
1283
|
+
useExisting: forwardRef(() => SacPagingComponent),
|
|
1284
|
+
},
|
|
1285
|
+
], template: "<div\r\n class=\"d-flex justify-content-between align-items-center flex-wrap\"\r\n id=\"{{name}}\"\r\n>\r\n <div class=\"col-pagination order-2 order-md-1\" id=\"{{name}}_pages\">\r\n <ul class=\"pagination mb-4 mb-md-0\">\r\n <li\r\n class=\"page-item\"\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === firstPageIndex}\"\r\n >\r\n <a class=\"page-link\" (click)=\"firstPage()\">\u00AB</a>\r\n </li>\r\n <li\r\n class=\"page-item\"\r\n *ngFor=\"let page of paginators; let i = index\"\r\n [ngClass]=\"{'active': page === activePageIndex}\"\r\n >\r\n <a class=\"page-link\" (click)=\"changePage(page)\">{{page + 1 }}</a>\r\n </li>\r\n <li\r\n class=\"page-item\"\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === lastPageIndex}\"\r\n >\r\n <a class=\"page-link\" (click)=\"lastPage()\">\u00BB</a>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"col-summary order-1 order-md-2\">\r\n <div class=\"mb-4 mb-md-0 mr-4 mb-md-0\">{{ PagingText | async }}</div>\r\n </div>\r\n <div class=\"col-pagesize order-3\" *ngIf=\"!pagesizedisabled\">\r\n <div class=\"d-flex align-items-center\" id=\"{{name}}_size\">\r\n <select\r\n class=\"form-control form-control-sm\"\r\n style=\"width: 85px\"\r\n [ngModel]=\"pageSize\"\r\n (ngModelChange)=\"changePageSize($event)\"\r\n >\r\n <option [ngValue]=\"size\" *ngFor=\"let size of getPageSizes\">\r\n {{size}}\r\n </option>\r\n </select>\r\n <div class=\"ml-2\">{{ PageSizeText | async }}</div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1286
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Grid Komponente
|
|
1290
|
+
*/
|
|
1291
|
+
class SacGridComponent extends SacGridCommon {
|
|
1292
|
+
/**
|
|
1293
|
+
* Konstrukor
|
|
1294
|
+
* @param cdRef Change Detection Reference
|
|
1295
|
+
*/
|
|
1296
|
+
constructor(cdRef) {
|
|
1297
|
+
super(cdRef);
|
|
1298
|
+
/**
|
|
1299
|
+
* Setzt die Ellipsis Funktion auf der Column
|
|
1300
|
+
*/
|
|
1301
|
+
this.ellipsis = false;
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
SacGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1305
|
+
SacGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridComponent, selector: "sac-grid", providers: [
|
|
1306
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacGridComponent },
|
|
1307
|
+
{
|
|
1308
|
+
provide: NG_VALIDATORS,
|
|
1309
|
+
multi: true,
|
|
1310
|
+
useExisting: forwardRef(() => SacGridComponent),
|
|
1311
|
+
},
|
|
1312
|
+
], queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"table-responsive\">\r\n <table class=\"table table-striped table-hover\" id={{name}}>\r\n <thead class=\"thead-light\">\r\n <tr>\r\n <ng-container *ngTemplateOutlet=\"template; context { row: {}, type: 'header'}\">\r\n </ng-container>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngFor=\"let item of value; let i=index\">\r\n <tr>\r\n <ng-container *ngTemplateOutlet=\"template; context { row: item, type: 'body'}\">\r\n </ng-container>\r\n </tr>\r\n </ng-container>\r\n <tr *ngIf=\"value === undefined || value === null || value.length===0\">\r\n <td [attr.colspan]=\"ColumnCount\">{{emptytext}}</td>\r\n </tr>\r\n <tr>\r\n <td [attr.colspan]=\"ColumnCount\">\r\n <div class=\"container-fluid\">\r\n <sac-paging name=\"{{name}}Paging\" (paging)=\"pageChange($event)\" [pagerdata]=\"pagerdata\" [pagesizes]=\"pagesizes\" [pagingtext]=\"pagingtext\" [pagesizetext]=\"pagesizetext\" [pagesizedisabled]=\"pagesizedisabled\"></sac-paging>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n</div>\r\n", components: [{ type: SacPagingComponent, selector: "sac-paging" }], directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridComponent, decorators: [{
|
|
1314
|
+
type: Component,
|
|
1315
|
+
args: [{ selector: 'sac-grid', providers: [
|
|
1316
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacGridComponent },
|
|
1317
|
+
{
|
|
1318
|
+
provide: NG_VALIDATORS,
|
|
1319
|
+
multi: true,
|
|
1320
|
+
useExisting: forwardRef(() => SacGridComponent),
|
|
1321
|
+
},
|
|
1322
|
+
], template: "<div class=\"table-responsive\">\r\n <table class=\"table table-striped table-hover\" id={{name}}>\r\n <thead class=\"thead-light\">\r\n <tr>\r\n <ng-container *ngTemplateOutlet=\"template; context { row: {}, type: 'header'}\">\r\n </ng-container>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngFor=\"let item of value; let i=index\">\r\n <tr>\r\n <ng-container *ngTemplateOutlet=\"template; context { row: item, type: 'body'}\">\r\n </ng-container>\r\n </tr>\r\n </ng-container>\r\n <tr *ngIf=\"value === undefined || value === null || value.length===0\">\r\n <td [attr.colspan]=\"ColumnCount\">{{emptytext}}</td>\r\n </tr>\r\n <tr>\r\n <td [attr.colspan]=\"ColumnCount\">\r\n <div class=\"container-fluid\">\r\n <sac-paging name=\"{{name}}Paging\" (paging)=\"pageChange($event)\" [pagerdata]=\"pagerdata\" [pagesizes]=\"pagesizes\" [pagingtext]=\"pagingtext\" [pagesizetext]=\"pagesizetext\" [pagesizedisabled]=\"pagesizedisabled\"></sac-paging>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n</div>\r\n" }]
|
|
1323
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { template: [{
|
|
1324
|
+
type: ContentChild,
|
|
1325
|
+
args: [TemplateRef, { static: false }]
|
|
1326
|
+
}] } });
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Grid Action Button
|
|
1330
|
+
*
|
|
1331
|
+
* @example Standard Action
|
|
1332
|
+
*
|
|
1333
|
+
* <ngGridButton icon="edit" (clicked)="action('edit')" [isdisabled]="true"></ngGridButton>
|
|
1334
|
+
*
|
|
1335
|
+
* @example Custom Action
|
|
1336
|
+
*
|
|
1337
|
+
* <ngGridButton iconstyle="sprite" icon="icon-sprite-base-main_info" (clicked)="action("info")"></ngGridButton>
|
|
1338
|
+
*
|
|
1339
|
+
*/
|
|
1340
|
+
class SacGridButtonComponent extends SacGridButtonCommon {
|
|
1341
|
+
/**
|
|
1342
|
+
* Gibt das Icon für den Button zurück
|
|
1343
|
+
*/
|
|
1344
|
+
getIconClass() {
|
|
1345
|
+
let iconset = this.iconstyle;
|
|
1346
|
+
let iconcss = this.icon;
|
|
1347
|
+
if (iconset === '') {
|
|
1348
|
+
switch (this.icon) {
|
|
1349
|
+
case 'edit':
|
|
1350
|
+
iconset = 'sprite';
|
|
1351
|
+
iconcss = 'icon-sprite-base-main_edit';
|
|
1352
|
+
break;
|
|
1353
|
+
case 'delete':
|
|
1354
|
+
iconset = 'sprite';
|
|
1355
|
+
iconcss = 'icon-sprite-base-main_delete';
|
|
1356
|
+
break;
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
if (this._isdisabledvalue) {
|
|
1360
|
+
iconcss += '_disabled';
|
|
1361
|
+
}
|
|
1362
|
+
const result = iconset + ' ' + iconcss;
|
|
1363
|
+
return result.trim();
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
SacGridButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1367
|
+
SacGridButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridButtonComponent, selector: "sac-gridbutton", usesInheritance: true, ngImport: i0, template: "<a (click)=\"callaction()\" style=\"padding-right: 5px;\" [class.disabled]=\"isdisabled\" [attr.disabled]=\"isdisabled ? 'disabled' : null\"><span class=\"{{getIconClass()}}\"></span></a>\r\n" });
|
|
1368
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridButtonComponent, decorators: [{
|
|
1369
|
+
type: Component,
|
|
1370
|
+
args: [{ selector: 'sac-gridbutton', template: "<a (click)=\"callaction()\" style=\"padding-right: 5px;\" [class.disabled]=\"isdisabled\" [attr.disabled]=\"isdisabled ? 'disabled' : null\"><span class=\"{{getIconClass()}}\"></span></a>\r\n" }]
|
|
1371
|
+
}] });
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Grid Column Komponente
|
|
1375
|
+
*/
|
|
1376
|
+
class SacGridColumnComponent extends SacGridColumnCommon {
|
|
1377
|
+
/**
|
|
1378
|
+
* Konstruktor
|
|
1379
|
+
* @param grid Grid Referenz
|
|
1380
|
+
* @param el HTML DOM Element
|
|
1381
|
+
*/
|
|
1382
|
+
constructor(grid, injector, el) {
|
|
1383
|
+
super(grid, injector, el);
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
SacGridColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridColumnComponent, deps: [{ token: SacGridComponent }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1387
|
+
SacGridColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridColumnComponent, selector: "sac-gridcolumn", providers: [
|
|
1388
|
+
{
|
|
1389
|
+
provide: SacGridColumnBaseCommon,
|
|
1390
|
+
useExisting: forwardRef(() => SacGridColumnComponent),
|
|
1391
|
+
},
|
|
1392
|
+
], usesInheritance: true, ngImport: i0, template: "<th\r\n scope=\"col\"\r\n *ngIf=\"IsHeader()\"\r\n [style.width]=\"width\"\r\n (click)=\"SortByColumn()\"\r\n>\r\n <span>{{header}}</span>\r\n <span\r\n class=\"pl-2\"\r\n [class]=\"IconSortUp\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='asc'\"\r\n ></span>\r\n <span\r\n class=\"pl-2\"\r\n [class]=\"IconSortDown\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='desc'\"\r\n ></span>\r\n</th>\r\n<td\r\n scope=\"col\"\r\n *ngIf=\"IsBody()\"\r\n [style.width]=\"width\"\r\n [class.ellipsis]=\"IsEllipsis()\"\r\n>\r\n <span [attr.title]=\"IsEllipsis() ? value : null\"> {{value}} </span>\r\n</td>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridColumnComponent, decorators: [{
|
|
1394
|
+
type: Component,
|
|
1395
|
+
args: [{ selector: 'sac-gridcolumn', providers: [
|
|
1396
|
+
{
|
|
1397
|
+
provide: SacGridColumnBaseCommon,
|
|
1398
|
+
useExisting: forwardRef(() => SacGridColumnComponent),
|
|
1399
|
+
},
|
|
1400
|
+
], template: "<th\r\n scope=\"col\"\r\n *ngIf=\"IsHeader()\"\r\n [style.width]=\"width\"\r\n (click)=\"SortByColumn()\"\r\n>\r\n <span>{{header}}</span>\r\n <span\r\n class=\"pl-2\"\r\n [class]=\"IconSortUp\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='asc'\"\r\n ></span>\r\n <span\r\n class=\"pl-2\"\r\n [class]=\"IconSortDown\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='desc'\"\r\n ></span>\r\n</th>\r\n<td\r\n scope=\"col\"\r\n *ngIf=\"IsBody()\"\r\n [style.width]=\"width\"\r\n [class.ellipsis]=\"IsEllipsis()\"\r\n>\r\n <span [attr.title]=\"IsEllipsis() ? value : null\"> {{value}} </span>\r\n</td>\r\n" }]
|
|
1401
|
+
}], ctorParameters: function () { return [{ type: SacGridComponent }, { type: i0.Injector }, { type: i0.ElementRef }]; } });
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* Grid Action Komponent
|
|
1405
|
+
*/
|
|
1406
|
+
class SacGridColumnActionComponent extends SacGridColumnActionCommon {
|
|
1407
|
+
/**
|
|
1408
|
+
* Konstruktor
|
|
1409
|
+
* @param grid Referenz auf Grid
|
|
1410
|
+
* @param el HTML Element Referenz
|
|
1411
|
+
*/
|
|
1412
|
+
constructor(grid, injector, el) {
|
|
1413
|
+
super(grid, injector, el);
|
|
1414
|
+
this.width = '60px';
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
SacGridColumnActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridColumnActionComponent, deps: [{ token: SacGridComponent }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1418
|
+
SacGridColumnActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridColumnActionComponent, selector: "sac-gridcolumnaction", providers: [
|
|
1419
|
+
{
|
|
1420
|
+
provide: SacGridColumnBaseCommon,
|
|
1421
|
+
useExisting: forwardRef(() => SacGridColumnActionComponent),
|
|
1422
|
+
},
|
|
1423
|
+
], usesInheritance: true, ngImport: i0, template: "<th scope=\"col\" *ngIf=\"IsHeader()\" [style.width]=\"width\"><span></span></th>\r\n<td scope=\"col\" class=\"px-2\" *ngIf=\"IsBody()\">\r\n <ng-content></ng-content>\r\n</td>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridColumnActionComponent, decorators: [{
|
|
1425
|
+
type: Component,
|
|
1426
|
+
args: [{ selector: 'sac-gridcolumnaction', providers: [
|
|
1427
|
+
{
|
|
1428
|
+
provide: SacGridColumnBaseCommon,
|
|
1429
|
+
useExisting: forwardRef(() => SacGridColumnActionComponent),
|
|
1430
|
+
},
|
|
1431
|
+
], template: "<th scope=\"col\" *ngIf=\"IsHeader()\" [style.width]=\"width\"><span></span></th>\r\n<td scope=\"col\" class=\"px-2\" *ngIf=\"IsBody()\">\r\n <ng-content></ng-content>\r\n</td>\r\n" }]
|
|
1432
|
+
}], ctorParameters: function () { return [{ type: SacGridComponent }, { type: i0.Injector }, { type: i0.ElementRef }]; } });
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* Image Item für Grid
|
|
1436
|
+
*/
|
|
1437
|
+
class SacGridImageComponent extends SacGridImageCommon {
|
|
1438
|
+
/**
|
|
1439
|
+
* Gibt die CSS Klassen für Sprite Images zurück
|
|
1440
|
+
* @returns CSS Klasse
|
|
1441
|
+
*/
|
|
1442
|
+
getIconClass() {
|
|
1443
|
+
switch (this.iconstyle) {
|
|
1444
|
+
case 'edit':
|
|
1445
|
+
return 'sprite icon-sprite-base-main_edit';
|
|
1446
|
+
case 'delete':
|
|
1447
|
+
return 'sprite icon-sprite-base-main_delete';
|
|
1448
|
+
default:
|
|
1449
|
+
return this.iconstyle;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
SacGridImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridImageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1454
|
+
SacGridImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridImageComponent, selector: "sac-gridimage", usesInheritance: true, ngImport: i0, template: "<span><span class=\"{{getIconClass()}}\"></span></span>\r\n" });
|
|
1455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridImageComponent, decorators: [{
|
|
1456
|
+
type: Component,
|
|
1457
|
+
args: [{ selector: 'sac-gridimage', template: "<span><span class=\"{{getIconClass()}}\"></span></span>\r\n" }]
|
|
1458
|
+
}] });
|
|
1459
|
+
|
|
1460
|
+
class SACBootstrap4GridModule {
|
|
1461
|
+
}
|
|
1462
|
+
SACBootstrap4GridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4GridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1463
|
+
SACBootstrap4GridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4GridModule, declarations: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent], imports: [CommonModule, FormsModule], exports: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent] });
|
|
1464
|
+
SACBootstrap4GridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4GridModule, imports: [[
|
|
1465
|
+
CommonModule, FormsModule
|
|
1466
|
+
]] });
|
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4GridModule, decorators: [{
|
|
1468
|
+
type: NgModule,
|
|
1469
|
+
args: [{
|
|
1470
|
+
declarations: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent],
|
|
1471
|
+
imports: [
|
|
1472
|
+
CommonModule, FormsModule
|
|
1473
|
+
],
|
|
1474
|
+
exports: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent]
|
|
1475
|
+
}]
|
|
1476
|
+
}] });
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* Input Komponente
|
|
1480
|
+
*/
|
|
1481
|
+
class SacInputComponent extends SacInputCommon {
|
|
1482
|
+
/**
|
|
1483
|
+
* Konstruktor
|
|
1484
|
+
* @param parent Formular
|
|
1485
|
+
* @param injector Angular Dependency Injection Service
|
|
1486
|
+
*/
|
|
1487
|
+
constructor(parent, injector) {
|
|
1488
|
+
super(parent, injector);
|
|
1489
|
+
}
|
|
1490
|
+
}
|
|
1491
|
+
SacInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1492
|
+
SacInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputComponent, selector: "sac-input", providers: [
|
|
1493
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputComponent },
|
|
1494
|
+
{
|
|
1495
|
+
provide: NG_VALIDATORS,
|
|
1496
|
+
multi: true,
|
|
1497
|
+
useExisting: forwardRef(() => SacInputComponent),
|
|
1498
|
+
},
|
|
1499
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [{ provide: ControlContainer, useExisting: SacFormDirective }] });
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputComponent, decorators: [{
|
|
1501
|
+
type: Component,
|
|
1502
|
+
args: [{ selector: 'sac-input', providers: [
|
|
1503
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputComponent },
|
|
1504
|
+
{
|
|
1505
|
+
provide: NG_VALIDATORS,
|
|
1506
|
+
multi: true,
|
|
1507
|
+
useExisting: forwardRef(() => SacInputComponent),
|
|
1508
|
+
},
|
|
1509
|
+
], viewProviders: [{ provide: ControlContainer, useExisting: SacFormDirective }], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1510
|
+
}], ctorParameters: function () {
|
|
1511
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1512
|
+
type: Host
|
|
1513
|
+
}, {
|
|
1514
|
+
type: Optional
|
|
1515
|
+
}] }, { type: i0.Injector }];
|
|
1516
|
+
} });
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* Input Box für E-Mail Adressen
|
|
1520
|
+
*/
|
|
1521
|
+
class SacInputEmailComponent extends SacInputEmailCommon {
|
|
1522
|
+
/**
|
|
1523
|
+
* Konstruktor
|
|
1524
|
+
* @param parent Formular
|
|
1525
|
+
* @param injector Angular Dependency Injection Service
|
|
1526
|
+
*/
|
|
1527
|
+
constructor(parent, injector) {
|
|
1528
|
+
super(parent, injector);
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
SacInputEmailComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputEmailComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1532
|
+
SacInputEmailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputEmailComponent, selector: "sac-inputemail", providers: [
|
|
1533
|
+
{
|
|
1534
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1535
|
+
multi: true,
|
|
1536
|
+
useExisting: forwardRef(() => SacInputEmailComponent),
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
provide: NG_VALIDATORS,
|
|
1540
|
+
multi: true,
|
|
1541
|
+
useExisting: forwardRef(() => SacInputEmailComponent),
|
|
1542
|
+
},
|
|
1543
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <div class=\"input-group-prepend\">\r\n <span class=\"input-group-text\">@</span>\r\n </div>\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxlength\"\r\n autocomplete=\"email\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1544
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1545
|
+
] });
|
|
1546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputEmailComponent, decorators: [{
|
|
1547
|
+
type: Component,
|
|
1548
|
+
args: [{ selector: 'sac-inputemail', providers: [
|
|
1549
|
+
{
|
|
1550
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1551
|
+
multi: true,
|
|
1552
|
+
useExisting: forwardRef(() => SacInputEmailComponent),
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
provide: NG_VALIDATORS,
|
|
1556
|
+
multi: true,
|
|
1557
|
+
useExisting: forwardRef(() => SacInputEmailComponent),
|
|
1558
|
+
},
|
|
1559
|
+
], viewProviders: [
|
|
1560
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1561
|
+
], template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <div class=\"input-group-prepend\">\r\n <span class=\"input-group-text\">@</span>\r\n </div>\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.maxlength]=\"maxlength\"\r\n autocomplete=\"email\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1562
|
+
}], ctorParameters: function () {
|
|
1563
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1564
|
+
type: Host
|
|
1565
|
+
}, {
|
|
1566
|
+
type: Optional
|
|
1567
|
+
}] }, { type: i0.Injector }];
|
|
1568
|
+
} });
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* Input Box für lange Texte
|
|
1572
|
+
*/
|
|
1573
|
+
class SacInputAreaComponent extends SacInputAreaCommon {
|
|
1574
|
+
/**
|
|
1575
|
+
* Konstruktor
|
|
1576
|
+
* @param parent Formular
|
|
1577
|
+
* @param injector Angular Dependency Injection Service
|
|
1578
|
+
*/
|
|
1579
|
+
constructor(parent, injector) {
|
|
1580
|
+
super(parent, injector);
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
SacInputAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputAreaComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1584
|
+
SacInputAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputAreaComponent, selector: "sac-inputarea", providers: [
|
|
1585
|
+
{
|
|
1586
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1587
|
+
multi: true,
|
|
1588
|
+
useExisting: forwardRef(() => SacInputAreaComponent),
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
provide: NG_VALIDATORS,
|
|
1592
|
+
multi: true,
|
|
1593
|
+
useExisting: forwardRef(() => SacInputAreaComponent),
|
|
1594
|
+
},
|
|
1595
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <textarea\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [attr.rows]=\"rows\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [attr.maxlength]=\"maxlength\"\r\n [readonly]=\"readonly\"\r\n ></textarea>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1596
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1597
|
+
] });
|
|
1598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputAreaComponent, decorators: [{
|
|
1599
|
+
type: Component,
|
|
1600
|
+
args: [{ selector: 'sac-inputarea', providers: [
|
|
1601
|
+
{
|
|
1602
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1603
|
+
multi: true,
|
|
1604
|
+
useExisting: forwardRef(() => SacInputAreaComponent),
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
provide: NG_VALIDATORS,
|
|
1608
|
+
multi: true,
|
|
1609
|
+
useExisting: forwardRef(() => SacInputAreaComponent),
|
|
1610
|
+
},
|
|
1611
|
+
], viewProviders: [
|
|
1612
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1613
|
+
], template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <textarea\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [attr.rows]=\"rows\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [attr.maxlength]=\"maxlength\"\r\n [readonly]=\"readonly\"\r\n ></textarea>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1614
|
+
}], ctorParameters: function () {
|
|
1615
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1616
|
+
type: Host
|
|
1617
|
+
}, {
|
|
1618
|
+
type: Optional
|
|
1619
|
+
}] }, { type: i0.Injector }];
|
|
1620
|
+
} });
|
|
1621
|
+
|
|
1622
|
+
/**
|
|
1623
|
+
* Input Control für Währungen
|
|
1624
|
+
*/
|
|
1625
|
+
class SacInputCurrencyComponent extends SacInputCurrencyCommon {
|
|
1626
|
+
/**
|
|
1627
|
+
* Konstruktor
|
|
1628
|
+
* @param parent Formular
|
|
1629
|
+
* @param injector Angular Dependency Injection Service
|
|
1630
|
+
*/
|
|
1631
|
+
constructor(parent, injector) {
|
|
1632
|
+
super(parent, injector);
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
SacInputCurrencyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputCurrencyComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1636
|
+
SacInputCurrencyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputCurrencyComponent, selector: "sac-inputcurrency", providers: [
|
|
1637
|
+
{
|
|
1638
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1639
|
+
multi: true,
|
|
1640
|
+
useExisting: forwardRef(() => SacInputCurrencyComponent),
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
provide: NG_VALIDATORS,
|
|
1644
|
+
multi: true,
|
|
1645
|
+
useExisting: forwardRef(() => SacInputCurrencyComponent),
|
|
1646
|
+
},
|
|
1647
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n />\r\n <div class=\"input-group-append\">\r\n <span class=\"input-group-text\">CHF</span>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1648
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1649
|
+
] });
|
|
1650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputCurrencyComponent, decorators: [{
|
|
1651
|
+
type: Component,
|
|
1652
|
+
args: [{ selector: 'sac-inputcurrency', providers: [
|
|
1653
|
+
{
|
|
1654
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1655
|
+
multi: true,
|
|
1656
|
+
useExisting: forwardRef(() => SacInputCurrencyComponent),
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
provide: NG_VALIDATORS,
|
|
1660
|
+
multi: true,
|
|
1661
|
+
useExisting: forwardRef(() => SacInputCurrencyComponent),
|
|
1662
|
+
},
|
|
1663
|
+
], viewProviders: [
|
|
1664
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1665
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n />\r\n <div class=\"input-group-append\">\r\n <span class=\"input-group-text\">CHF</span>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1666
|
+
}], ctorParameters: function () {
|
|
1667
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1668
|
+
type: Host
|
|
1669
|
+
}, {
|
|
1670
|
+
type: Optional
|
|
1671
|
+
}] }, { type: i0.Injector }];
|
|
1672
|
+
} });
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Input Komponente für Zahlen
|
|
1676
|
+
*/
|
|
1677
|
+
class SacInputDecimalComponent extends SacInputDecimalCommon {
|
|
1678
|
+
/**
|
|
1679
|
+
* Konstruktor
|
|
1680
|
+
* @param parent Formular
|
|
1681
|
+
* @param injector Angular Dependency Injection Service
|
|
1682
|
+
*/
|
|
1683
|
+
constructor(parent, injector) {
|
|
1684
|
+
super(parent, injector);
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
SacInputDecimalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputDecimalComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1688
|
+
SacInputDecimalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputDecimalComponent, selector: "sac-inputdecimal", providers: [
|
|
1689
|
+
{
|
|
1690
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1691
|
+
multi: true,
|
|
1692
|
+
useExisting: forwardRef(() => SacInputDecimalComponent),
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
provide: NG_VALIDATORS,
|
|
1696
|
+
multi: true,
|
|
1697
|
+
useExisting: forwardRef(() => SacInputDecimalComponent),
|
|
1698
|
+
},
|
|
1699
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1700
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1701
|
+
] });
|
|
1702
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputDecimalComponent, decorators: [{
|
|
1703
|
+
type: Component,
|
|
1704
|
+
args: [{ selector: 'sac-inputdecimal', providers: [
|
|
1705
|
+
{
|
|
1706
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1707
|
+
multi: true,
|
|
1708
|
+
useExisting: forwardRef(() => SacInputDecimalComponent),
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
provide: NG_VALIDATORS,
|
|
1712
|
+
multi: true,
|
|
1713
|
+
useExisting: forwardRef(() => SacInputDecimalComponent),
|
|
1714
|
+
},
|
|
1715
|
+
], viewProviders: [
|
|
1716
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1717
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n [readonly]=\"readonly\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n </div>\r\n</div>\r\n" }]
|
|
1718
|
+
}], ctorParameters: function () {
|
|
1719
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1720
|
+
type: Host
|
|
1721
|
+
}, {
|
|
1722
|
+
type: Optional
|
|
1723
|
+
}] }, { type: i0.Injector }];
|
|
1724
|
+
} });
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Input Komponten für Ganzzahlen
|
|
1728
|
+
*/
|
|
1729
|
+
class SacInputIntegerComponent extends SacInputIntegerCommon {
|
|
1730
|
+
/**
|
|
1731
|
+
* Konstruktor
|
|
1732
|
+
* @param parent Formular
|
|
1733
|
+
* @param injector Angular Dependency Injection Service
|
|
1734
|
+
*/
|
|
1735
|
+
constructor(parent, injector) {
|
|
1736
|
+
super(parent, injector);
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
SacInputIntegerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputIntegerComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1740
|
+
SacInputIntegerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputIntegerComponent, selector: "sac-inputinteger", providers: [
|
|
1741
|
+
{
|
|
1742
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1743
|
+
multi: true,
|
|
1744
|
+
useExisting: SacInputIntegerComponent,
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
provide: NG_VALIDATORS,
|
|
1748
|
+
multi: true,
|
|
1749
|
+
useExisting: forwardRef(() => SacInputIntegerComponent),
|
|
1750
|
+
},
|
|
1751
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1752
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1753
|
+
] });
|
|
1754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputIntegerComponent, decorators: [{
|
|
1755
|
+
type: Component,
|
|
1756
|
+
args: [{ selector: 'sac-inputinteger', providers: [
|
|
1757
|
+
{
|
|
1758
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1759
|
+
multi: true,
|
|
1760
|
+
useExisting: SacInputIntegerComponent,
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
provide: NG_VALIDATORS,
|
|
1764
|
+
multi: true,
|
|
1765
|
+
useExisting: forwardRef(() => SacInputIntegerComponent),
|
|
1766
|
+
},
|
|
1767
|
+
], viewProviders: [
|
|
1768
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1769
|
+
], template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.placeholder]=\"placeholder\"\r\n (keypress)=\"onKeyPress($event)\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1770
|
+
}], ctorParameters: function () {
|
|
1771
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1772
|
+
type: Host
|
|
1773
|
+
}, {
|
|
1774
|
+
type: Optional
|
|
1775
|
+
}] }, { type: i0.Injector }];
|
|
1776
|
+
} });
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* Input Box für Passwörter
|
|
1780
|
+
*/
|
|
1781
|
+
class SacInputPasswordComponent extends SacInputPasswordCommon {
|
|
1782
|
+
/**
|
|
1783
|
+
* Konstruktor
|
|
1784
|
+
* @param parent Formular
|
|
1785
|
+
* @param injector Angular Dependency Injection Service
|
|
1786
|
+
*/
|
|
1787
|
+
constructor(parent, injector) {
|
|
1788
|
+
super(parent, injector);
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
SacInputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputPasswordComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1792
|
+
SacInputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputPasswordComponent, selector: "sac-inputpassword", providers: [
|
|
1793
|
+
{
|
|
1794
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1795
|
+
multi: true,
|
|
1796
|
+
useExisting: SacInputPasswordComponent,
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
provide: NG_VALIDATORS,
|
|
1800
|
+
multi: true,
|
|
1801
|
+
useExisting: forwardRef(() => SacInputPasswordComponent),
|
|
1802
|
+
},
|
|
1803
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"password\"\r\n class=\"form-control form-control-sm\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n autocomplete=\"new-password\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
1804
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1805
|
+
] });
|
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputPasswordComponent, decorators: [{
|
|
1807
|
+
type: Component,
|
|
1808
|
+
args: [{ selector: 'sac-inputpassword', providers: [
|
|
1809
|
+
{
|
|
1810
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1811
|
+
multi: true,
|
|
1812
|
+
useExisting: SacInputPasswordComponent,
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
provide: NG_VALIDATORS,
|
|
1816
|
+
multi: true,
|
|
1817
|
+
useExisting: forwardRef(() => SacInputPasswordComponent),
|
|
1818
|
+
},
|
|
1819
|
+
], viewProviders: [
|
|
1820
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1821
|
+
], template: "<div class=\"form-group row\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"password\"\r\n class=\"form-control form-control-sm\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"value\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n autocomplete=\"new-password\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1822
|
+
}], ctorParameters: function () {
|
|
1823
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1824
|
+
type: Host
|
|
1825
|
+
}, {
|
|
1826
|
+
type: Optional
|
|
1827
|
+
}] }, { type: i0.Injector }];
|
|
1828
|
+
} });
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* Input Box für Suche
|
|
1832
|
+
*/
|
|
1833
|
+
class SacInputSearchComponent extends SacInputSearchCommon {
|
|
1834
|
+
/**
|
|
1835
|
+
* Konstruktor
|
|
1836
|
+
* @param parent Formular
|
|
1837
|
+
* @param injector Angular Dependency Injection Service
|
|
1838
|
+
*/
|
|
1839
|
+
constructor(parent, injector) {
|
|
1840
|
+
super(parent, injector);
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
SacInputSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputSearchComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1844
|
+
SacInputSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputSearchComponent, selector: "sac-inputsearch", providers: [
|
|
1845
|
+
{
|
|
1846
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1847
|
+
multi: true,
|
|
1848
|
+
useExisting: SacInputSearchComponent,
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
provide: NG_VALIDATORS,
|
|
1852
|
+
multi: true,
|
|
1853
|
+
useExisting: forwardRef(() => SacInputSearchComponent),
|
|
1854
|
+
},
|
|
1855
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div class=\"input-group input-group-sm\">\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'language-specific': islanguagespecific,'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <div class=\"input-group-append\">\r\n <input\r\n type=\"submit\"\r\n class=\"btn btn-secondary\"\r\n id=\"{{name}}_search\"\r\n (click)=\"searchClick()\"\r\n [value]=\"buttontext\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputSearchComponent, decorators: [{
|
|
1857
|
+
type: Component,
|
|
1858
|
+
args: [{ selector: 'sac-inputsearch', providers: [
|
|
1859
|
+
{
|
|
1860
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1861
|
+
multi: true,
|
|
1862
|
+
useExisting: SacInputSearchComponent,
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
provide: NG_VALIDATORS,
|
|
1866
|
+
multi: true,
|
|
1867
|
+
useExisting: forwardRef(() => SacInputSearchComponent),
|
|
1868
|
+
},
|
|
1869
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}_label\"\r\n for=\"{{name}}\"\r\n class=\"col-form-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div class=\"input-group input-group-sm\">\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'language-specific': islanguagespecific,'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n [readonly]=\"readonly\"\r\n />\r\n <div class=\"input-group-append\">\r\n <input\r\n type=\"submit\"\r\n class=\"btn btn-secondary\"\r\n id=\"{{name}}_search\"\r\n (click)=\"searchClick()\"\r\n [value]=\"buttontext\"\r\n />\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1870
|
+
}], ctorParameters: function () {
|
|
1871
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1872
|
+
type: Host
|
|
1873
|
+
}, {
|
|
1874
|
+
type: Optional
|
|
1875
|
+
}] }, { type: i0.Injector }];
|
|
1876
|
+
} });
|
|
1877
|
+
|
|
1878
|
+
class SACBootstrap4InputModule {
|
|
1879
|
+
}
|
|
1880
|
+
SACBootstrap4InputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4InputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1881
|
+
SACBootstrap4InputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4InputModule, declarations: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent], imports: [CommonModule], exports: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent] });
|
|
1882
|
+
SACBootstrap4InputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4InputModule, imports: [[
|
|
1883
|
+
CommonModule
|
|
1884
|
+
]] });
|
|
1885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4InputModule, decorators: [{
|
|
1886
|
+
type: NgModule,
|
|
1887
|
+
args: [{
|
|
1888
|
+
declarations: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent],
|
|
1889
|
+
imports: [
|
|
1890
|
+
CommonModule
|
|
1891
|
+
],
|
|
1892
|
+
exports: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent]
|
|
1893
|
+
}]
|
|
1894
|
+
}] });
|
|
1895
|
+
|
|
1896
|
+
/**
|
|
1897
|
+
* Listbox Komponente
|
|
1898
|
+
*/
|
|
1899
|
+
class SacListboxComponent extends SacListboxCommon {
|
|
1900
|
+
/**
|
|
1901
|
+
* Konstruktor
|
|
1902
|
+
* @param parent Formular
|
|
1903
|
+
* @param injector Angular Dependiency Injection Service
|
|
1904
|
+
*/
|
|
1905
|
+
constructor(parent, injector) {
|
|
1906
|
+
super(parent, injector);
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
SacListboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacListboxComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1910
|
+
SacListboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacListboxComponent, selector: "sac-listbox", providers: [
|
|
1911
|
+
{
|
|
1912
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1913
|
+
multi: true,
|
|
1914
|
+
useExisting: SacListboxComponent,
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
provide: NG_VALIDATORS,
|
|
1918
|
+
multi: true,
|
|
1919
|
+
useExisting: forwardRef(() => SacListboxComponent),
|
|
1920
|
+
},
|
|
1921
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <select\r\n multiple\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n class=\"form-control form-control-sm\"\r\n [size]=\"rowsize\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"getSelectedItems($event.target)\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option\r\n *ngFor=\"let option of options\"\r\n [value]=\"option[optionvalue]\"\r\n [disabled]=\"optionenabled !== '' && option[optionenabled] === false\"\r\n >\r\n {{option[optionlabel]}}\r\n </option>\r\n </ng-container>\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup\r\n *ngFor=\"let option of options\"\r\n [attr.label]=\"option[grouplabel]\"\r\n >\r\n <option\r\n *ngFor=\"let item of option[groupitems]\"\r\n [value]=\"item[optionvalue]\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\"\r\n >\r\n {{item[optionlabel]}}\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i0.forwardRef(function () { return i2.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i0.forwardRef(function () { return i2.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i0.forwardRef(function () { return i2.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i0.forwardRef(function () { return SacListboxOptionDirective; }), selector: "[sacOption],option" }], pipes: { "async": i0.forwardRef(function () { return i2.AsyncPipe; }) }, viewProviders: [
|
|
1922
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1923
|
+
] });
|
|
1924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacListboxComponent, decorators: [{
|
|
1925
|
+
type: Component,
|
|
1926
|
+
args: [{ selector: 'sac-listbox', providers: [
|
|
1927
|
+
{
|
|
1928
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1929
|
+
multi: true,
|
|
1930
|
+
useExisting: SacListboxComponent,
|
|
1931
|
+
},
|
|
1932
|
+
{
|
|
1933
|
+
provide: NG_VALIDATORS,
|
|
1934
|
+
multi: true,
|
|
1935
|
+
useExisting: forwardRef(() => SacListboxComponent),
|
|
1936
|
+
},
|
|
1937
|
+
], viewProviders: [
|
|
1938
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
1939
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <select\r\n multiple\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n class=\"form-control form-control-sm\"\r\n [size]=\"rowsize\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"getSelectedItems($event.target)\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <ng-content></ng-content>\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option\r\n *ngFor=\"let option of options\"\r\n [value]=\"option[optionvalue]\"\r\n [disabled]=\"optionenabled !== '' && option[optionenabled] === false\"\r\n >\r\n {{option[optionlabel]}}\r\n </option>\r\n </ng-container>\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup\r\n *ngFor=\"let option of options\"\r\n [attr.label]=\"option[grouplabel]\"\r\n >\r\n <option\r\n *ngFor=\"let item of option[groupitems]\"\r\n [value]=\"item[optionvalue]\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\"\r\n >\r\n {{item[optionlabel]}}\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1940
|
+
}], ctorParameters: function () {
|
|
1941
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
1942
|
+
type: Host
|
|
1943
|
+
}, {
|
|
1944
|
+
type: Optional
|
|
1945
|
+
}] }, { type: i0.Injector }];
|
|
1946
|
+
} });
|
|
1947
|
+
/**
|
|
1948
|
+
* Option Item in Listbox
|
|
1949
|
+
*/
|
|
1950
|
+
class SacListboxOptionDirective extends SacListboxOptionCommon {
|
|
1951
|
+
/**
|
|
1952
|
+
* Konstruktor
|
|
1953
|
+
* @param _elementRef Referenz auf DOM Element
|
|
1954
|
+
* @param _renderer Angular Rendering Engine
|
|
1955
|
+
* @param listbox Referenz auf Listbox Komponente
|
|
1956
|
+
*/
|
|
1957
|
+
constructor(_elementRef, _renderer, listbox) {
|
|
1958
|
+
super(_elementRef, _renderer, listbox);
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
SacListboxOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacListboxOptionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SacListboxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1962
|
+
SacListboxOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacListboxOptionDirective, selector: "[sacOption],option", usesInheritance: true, ngImport: i0 });
|
|
1963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacListboxOptionDirective, decorators: [{
|
|
1964
|
+
type: Directive,
|
|
1965
|
+
args: [{ selector: '[sacOption],option' }]
|
|
1966
|
+
}], ctorParameters: function () {
|
|
1967
|
+
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SacListboxComponent, decorators: [{
|
|
1968
|
+
type: Optional
|
|
1969
|
+
}, {
|
|
1970
|
+
type: Host
|
|
1971
|
+
}] }];
|
|
1972
|
+
} });
|
|
1973
|
+
|
|
1974
|
+
class SACBootstrap4ListModule {
|
|
1975
|
+
}
|
|
1976
|
+
SACBootstrap4ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1977
|
+
SACBootstrap4ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ListModule, declarations: [SacListboxComponent, SacListboxOptionDirective], imports: [CommonModule], exports: [SacListboxComponent, SacListboxOptionDirective] });
|
|
1978
|
+
SACBootstrap4ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ListModule, imports: [[CommonModule]] });
|
|
1979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ListModule, decorators: [{
|
|
1980
|
+
type: NgModule,
|
|
1981
|
+
args: [{
|
|
1982
|
+
declarations: [SacListboxComponent, SacListboxOptionDirective],
|
|
1983
|
+
imports: [CommonModule],
|
|
1984
|
+
exports: [SacListboxComponent, SacListboxOptionDirective],
|
|
1985
|
+
}]
|
|
1986
|
+
}] });
|
|
1987
|
+
|
|
1988
|
+
/**
|
|
1989
|
+
* Dropdown Komponente
|
|
1990
|
+
*/
|
|
1991
|
+
class SacDropdownComponent extends SacDropdownCommon {
|
|
1992
|
+
/**
|
|
1993
|
+
* Konstruktor
|
|
1994
|
+
* @param parent Formular
|
|
1995
|
+
* @param injector Dependency Injection Service
|
|
1996
|
+
* @param _renderer Angular Rendering Engine
|
|
1997
|
+
* @param _elementRef Referenz auf HTML DOM Element
|
|
1998
|
+
*/
|
|
1999
|
+
constructor(parent, injector, _renderer, _elementRef) {
|
|
2000
|
+
super(parent, injector, _renderer, _elementRef);
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
SacDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropdownComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2004
|
+
SacDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDropdownComponent, selector: "sac-dropdown", providers: [
|
|
2005
|
+
{
|
|
2006
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2007
|
+
multi: true,
|
|
2008
|
+
useExisting: SacDropdownComponent,
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
provide: NG_VALIDATORS,
|
|
2012
|
+
multi: true,
|
|
2013
|
+
useExisting: forwardRef(() => SacDropdownComponent),
|
|
2014
|
+
},
|
|
2015
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <select\r\n #dropdownitem\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n class=\"form-control form-control-sm\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue(dropdownitem.value)\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <option *ngIf=\"emptylabel !== ''\" [ngValue]=\"emptyvalue\">\r\n {{emptylabel}}\r\n </option>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option\r\n *ngFor=\"let item of options\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\"\r\n >\r\n <ng-template\r\n *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\"\r\n >\r\n </ng-template>\r\n </option>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup\r\n *ngFor=\"let group of options\"\r\n [attr.label]=\"group[grouplabel]\"\r\n >\r\n <option\r\n *ngFor=\"let item of group[groupitems]\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\"\r\n >\r\n <ng-template\r\n *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\"\r\n >\r\n </ng-template>\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #defaultItemLabelTemplate let-label=\"label\">\r\n {{label}}\r\n</ng-template>\r\n", directives: [{ type: i0.forwardRef(function () { return i2.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i0.forwardRef(function () { return i2.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i0.forwardRef(function () { return SacDropdownOptionDirective; }), selector: "[sacOption],option" }, { type: i0.forwardRef(function () { return i2.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i0.forwardRef(function () { return i2.NgTemplateOutlet; }), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i0.forwardRef(function () { return i2.AsyncPipe; }) } });
|
|
2016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropdownComponent, decorators: [{
|
|
2017
|
+
type: Component,
|
|
2018
|
+
args: [{ selector: 'sac-dropdown', providers: [
|
|
2019
|
+
{
|
|
2020
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2021
|
+
multi: true,
|
|
2022
|
+
useExisting: SacDropdownComponent,
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
provide: NG_VALIDATORS,
|
|
2026
|
+
multi: true,
|
|
2027
|
+
useExisting: forwardRef(() => SacDropdownComponent),
|
|
2028
|
+
},
|
|
2029
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <select\r\n #dropdownitem\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n class=\"form-control form-control-sm\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue(dropdownitem.value)\"\r\n [disabled]=\"isdisabled\"\r\n >\r\n <option *ngIf=\"emptylabel !== ''\" [ngValue]=\"emptyvalue\">\r\n {{emptylabel}}\r\n </option>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option\r\n *ngFor=\"let item of options\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\"\r\n >\r\n <ng-template\r\n *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\"\r\n >\r\n </ng-template>\r\n </option>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup\r\n *ngFor=\"let group of options\"\r\n [attr.label]=\"group[grouplabel]\"\r\n >\r\n <option\r\n *ngFor=\"let item of group[groupitems]\"\r\n [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\"\r\n >\r\n <ng-template\r\n *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\"\r\n >\r\n </ng-template>\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div\r\n class=\"invalid-feedback\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #defaultItemLabelTemplate let-label=\"label\">\r\n {{label}}\r\n</ng-template>\r\n" }]
|
|
2030
|
+
}], ctorParameters: function () {
|
|
2031
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
2032
|
+
type: Host
|
|
2033
|
+
}, {
|
|
2034
|
+
type: Optional
|
|
2035
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.ElementRef }];
|
|
2036
|
+
} });
|
|
2037
|
+
/**
|
|
2038
|
+
* Direktive für Dropdown Option List
|
|
2039
|
+
*/
|
|
2040
|
+
class SacDropdownOptionDirective extends SacDropdownOptionCommon {
|
|
2041
|
+
/**
|
|
2042
|
+
* Konstruktor
|
|
2043
|
+
* @param _elementRef Referenz auf HTML DOM Element
|
|
2044
|
+
* @param _renderer Angular Rendering Engine
|
|
2045
|
+
* @param dropdownList Referenz auf DropDown Komponente
|
|
2046
|
+
*/
|
|
2047
|
+
constructor(_elementRef, _renderer, dropdownList) {
|
|
2048
|
+
super(_elementRef, _renderer, dropdownList);
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
SacDropdownOptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropdownOptionDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: SacDropdownComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2052
|
+
SacDropdownOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacDropdownOptionDirective, selector: "[sacOption],option", usesInheritance: true, ngImport: i0 });
|
|
2053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropdownOptionDirective, decorators: [{
|
|
2054
|
+
type: Directive,
|
|
2055
|
+
args: [{ selector: '[sacOption],option' }]
|
|
2056
|
+
}], ctorParameters: function () {
|
|
2057
|
+
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SacDropdownComponent, decorators: [{
|
|
2058
|
+
type: Optional
|
|
2059
|
+
}, {
|
|
2060
|
+
type: Host
|
|
2061
|
+
}] }];
|
|
2062
|
+
} });
|
|
2063
|
+
|
|
2064
|
+
class SACBootstrap4DropdownModule {
|
|
2065
|
+
}
|
|
2066
|
+
SACBootstrap4DropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2067
|
+
SACBootstrap4DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DropdownModule, declarations: [SacDropdownComponent,
|
|
2068
|
+
SacDropdownOptionDirective], imports: [CommonModule], exports: [SacDropdownComponent,
|
|
2069
|
+
SacDropdownOptionDirective] });
|
|
2070
|
+
SACBootstrap4DropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DropdownModule, imports: [[CommonModule]] });
|
|
2071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4DropdownModule, decorators: [{
|
|
2072
|
+
type: NgModule,
|
|
2073
|
+
args: [{
|
|
2074
|
+
declarations: [
|
|
2075
|
+
SacDropdownComponent,
|
|
2076
|
+
SacDropdownOptionDirective,
|
|
2077
|
+
],
|
|
2078
|
+
imports: [CommonModule],
|
|
2079
|
+
exports: [
|
|
2080
|
+
SacDropdownComponent,
|
|
2081
|
+
SacDropdownOptionDirective,
|
|
2082
|
+
],
|
|
2083
|
+
}]
|
|
2084
|
+
}] });
|
|
2085
|
+
|
|
2086
|
+
/**
|
|
2087
|
+
* Marker Komponente für Context Menü
|
|
2088
|
+
*/
|
|
2089
|
+
class SacMultilanguagemenuContainerDirective extends SacContextMenuContrainerCommon {
|
|
2090
|
+
/**
|
|
2091
|
+
* Konstruktor
|
|
2092
|
+
* @param _elementRef Referenz auf DOM Element
|
|
2093
|
+
*/
|
|
2094
|
+
constructor(_elementRef) {
|
|
2095
|
+
super(_elementRef);
|
|
2096
|
+
}
|
|
2097
|
+
}
|
|
2098
|
+
SacMultilanguagemenuContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuContainerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2099
|
+
SacMultilanguagemenuContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacMultilanguagemenuContainerDirective, selector: "[sacMultilanguageMenuContainer]", providers: [
|
|
2100
|
+
{
|
|
2101
|
+
provide: SacContextMenuContrainerCommon,
|
|
2102
|
+
useExisting: forwardRef(() => SacMultilanguagemenuContainerDirective),
|
|
2103
|
+
},
|
|
2104
|
+
], usesInheritance: true, ngImport: i0 });
|
|
2105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuContainerDirective, decorators: [{
|
|
2106
|
+
type: Directive,
|
|
2107
|
+
args: [{
|
|
2108
|
+
selector: '[sacMultilanguageMenuContainer]',
|
|
2109
|
+
providers: [
|
|
2110
|
+
{
|
|
2111
|
+
provide: SacContextMenuContrainerCommon,
|
|
2112
|
+
useExisting: forwardRef(() => SacMultilanguagemenuContainerDirective),
|
|
2113
|
+
},
|
|
2114
|
+
],
|
|
2115
|
+
}]
|
|
2116
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* Anker Komponente für Context Menü. Wird zum positionieren des Context Menü in der Page benötigt.
|
|
2120
|
+
*/
|
|
2121
|
+
class SacMultilanguagemenuAnchorDirective extends SacContextmenuAnchorCommon {
|
|
2122
|
+
/**
|
|
2123
|
+
* Konstruktor
|
|
2124
|
+
* @param _elementRef HTML DOM Referenz
|
|
2125
|
+
*/
|
|
2126
|
+
constructor(_elementRef) {
|
|
2127
|
+
super(_elementRef);
|
|
2128
|
+
}
|
|
2129
|
+
}
|
|
2130
|
+
SacMultilanguagemenuAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuAnchorDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2131
|
+
SacMultilanguagemenuAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacMultilanguagemenuAnchorDirective, selector: "[sacMultilanguageMenuAnchor]", providers: [
|
|
2132
|
+
{
|
|
2133
|
+
provide: SacContextmenuAnchorCommon,
|
|
2134
|
+
useExisting: forwardRef(() => SacMultilanguagemenuAnchorDirective),
|
|
2135
|
+
},
|
|
2136
|
+
], usesInheritance: true, ngImport: i0 });
|
|
2137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuAnchorDirective, decorators: [{
|
|
2138
|
+
type: Directive,
|
|
2139
|
+
args: [{
|
|
2140
|
+
selector: '[sacMultilanguageMenuAnchor]',
|
|
2141
|
+
providers: [
|
|
2142
|
+
{
|
|
2143
|
+
provide: SacContextmenuAnchorCommon,
|
|
2144
|
+
useExisting: forwardRef(() => SacMultilanguagemenuAnchorDirective),
|
|
2145
|
+
},
|
|
2146
|
+
],
|
|
2147
|
+
}]
|
|
2148
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
2149
|
+
|
|
2150
|
+
/**
|
|
2151
|
+
* Component für Contextmenü
|
|
2152
|
+
*/
|
|
2153
|
+
class SacMultilanguagemenuComponent extends SacContextmenuCommon {
|
|
2154
|
+
/**
|
|
2155
|
+
* Constructor
|
|
2156
|
+
* @param _document Referenz auf HTML Document
|
|
2157
|
+
* @param _ngZone Angular Zone Service
|
|
2158
|
+
* @param _elementRef Referenz auf HTML Element der aktuellen Komponente
|
|
2159
|
+
* @param _renderer Render Service von Angular
|
|
2160
|
+
* @param _injector injector to resolve services in base component
|
|
2161
|
+
*/
|
|
2162
|
+
constructor(_document, _ngZone, _elementRef, _renderer, _injector) {
|
|
2163
|
+
super(_document, _ngZone, _elementRef, _renderer, _injector);
|
|
2164
|
+
}
|
|
2165
|
+
}
|
|
2166
|
+
SacMultilanguagemenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuComponent, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2167
|
+
SacMultilanguagemenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacMultilanguagemenuComponent, selector: "[sac-multilanguagemenu]", providers: [
|
|
2168
|
+
{
|
|
2169
|
+
provide: SacContextmenuCommon,
|
|
2170
|
+
useExisting: forwardRef(() => SacMultilanguagemenuComponent),
|
|
2171
|
+
},
|
|
2172
|
+
], usesInheritance: true, ngImport: i0, template: "<ng-container\r\n [ngTemplateOutlet]=\"buttontemplate || defaultButtonTemplate\"\r\n></ng-container>\r\n\r\n<div\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n sacMultilanguageMenuContainer\r\n [class.show]=\"isopen\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #defaultButtonTemplate>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n class=\"btn btn-secondary dropdown-toggle\"\r\n type=\"button\"\r\n (click)=\"toggle()\"\r\n ></button>\r\n</ng-template>\r\n", directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: SacMultilanguagemenuContainerDirective, selector: "[sacMultilanguageMenuContainer]" }, { type: SacMultilanguagemenuAnchorDirective, selector: "[sacMultilanguageMenuAnchor]" }] });
|
|
2173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuComponent, decorators: [{
|
|
2174
|
+
type: Component,
|
|
2175
|
+
args: [{ selector: '[sac-multilanguagemenu]', providers: [
|
|
2176
|
+
{
|
|
2177
|
+
provide: SacContextmenuCommon,
|
|
2178
|
+
useExisting: forwardRef(() => SacMultilanguagemenuComponent),
|
|
2179
|
+
},
|
|
2180
|
+
], template: "<ng-container\r\n [ngTemplateOutlet]=\"buttontemplate || defaultButtonTemplate\"\r\n></ng-container>\r\n\r\n<div\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n sacMultilanguageMenuContainer\r\n [class.show]=\"isopen\"\r\n>\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #defaultButtonTemplate>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n class=\"btn btn-secondary dropdown-toggle\"\r\n type=\"button\"\r\n (click)=\"toggle()\"\r\n ></button>\r\n</ng-template>\r\n" }]
|
|
2181
|
+
}], ctorParameters: function () {
|
|
2182
|
+
return [{ type: undefined, decorators: [{
|
|
2183
|
+
type: Inject,
|
|
2184
|
+
args: [DOCUMENT]
|
|
2185
|
+
}] }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.Injector }];
|
|
2186
|
+
} });
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Component für Menü Eintrag in Context Menü
|
|
2190
|
+
*/
|
|
2191
|
+
class SacMultilanguagemenuItemButtonComponent extends SacContextmenuItemButtonCommon {
|
|
2192
|
+
/**
|
|
2193
|
+
* Constructor
|
|
2194
|
+
* @param contextmenu Instance von Context Menü
|
|
2195
|
+
*/
|
|
2196
|
+
constructor(contextmenu) {
|
|
2197
|
+
super(contextmenu);
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
SacMultilanguagemenuItemButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuItemButtonComponent, deps: [{ token: i1.SacContextmenuCommon }], target: i0.ɵɵFactoryTarget.Component });
|
|
2201
|
+
SacMultilanguagemenuItemButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacMultilanguagemenuItemButtonComponent, selector: "sac-multilanguagemenubutton", usesInheritance: true, ngImport: i0, template: "<button\r\n type=\"button\"\r\n class=\"dropdown-item\"\r\n (click)=\"callaction($event)\"\r\n [class.disabled]=\"isdisabled\"\r\n [class]=\"cssclass\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\"\r\n>\r\n <div class=\"d-flex\">\r\n <div *ngIf=\"!isicondisabled\" style=\"min-width: 1.5rem\">\r\n <img *ngIf=\"image\" [src]=\"image\" class=\"align-baseline\" />\r\n <i *ngIf=\"icon\" [class]=\"iconstyle + ' ' + icon\"></i>\r\n </div>\r\n <div class=\"flex-grow-1\">{{ text }}</div>\r\n </div>\r\n</button>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
2202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguagemenuItemButtonComponent, decorators: [{
|
|
2203
|
+
type: Component,
|
|
2204
|
+
args: [{ selector: 'sac-multilanguagemenubutton', template: "<button\r\n type=\"button\"\r\n class=\"dropdown-item\"\r\n (click)=\"callaction($event)\"\r\n [class.disabled]=\"isdisabled\"\r\n [class]=\"cssclass\"\r\n [attr.disabled]=\"isdisabled ? 'disabled' : null\"\r\n>\r\n <div class=\"d-flex\">\r\n <div *ngIf=\"!isicondisabled\" style=\"min-width: 1.5rem\">\r\n <img *ngIf=\"image\" [src]=\"image\" class=\"align-baseline\" />\r\n <i *ngIf=\"icon\" [class]=\"iconstyle + ' ' + icon\"></i>\r\n </div>\r\n <div class=\"flex-grow-1\">{{ text }}</div>\r\n </div>\r\n</button>\r\n" }]
|
|
2205
|
+
}], ctorParameters: function () { return [{ type: i1.SacContextmenuCommon }]; } });
|
|
2206
|
+
|
|
2207
|
+
/**
|
|
2208
|
+
* Componente für Mehrsprache Texte
|
|
2209
|
+
*/
|
|
2210
|
+
class SacMultilanguageInputComponent extends SacMultilanguageInputCommon {
|
|
2211
|
+
/**
|
|
2212
|
+
* Konstruktor
|
|
2213
|
+
* @param parent Formular Inject
|
|
2214
|
+
* @param injector Default Injector
|
|
2215
|
+
*/
|
|
2216
|
+
constructor(parent, injector) {
|
|
2217
|
+
super(parent, injector);
|
|
2218
|
+
/**
|
|
2219
|
+
* Enum für IconType in HTML Template
|
|
2220
|
+
*/
|
|
2221
|
+
this.IconType = IconType;
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
SacMultilanguageInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguageInputComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2225
|
+
SacMultilanguageInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacMultilanguageInputComponent, selector: "sac-multilanguageinput", providers: [
|
|
2226
|
+
{
|
|
2227
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2228
|
+
multi: true,
|
|
2229
|
+
useExisting: SacMultilanguageInputComponent,
|
|
2230
|
+
},
|
|
2231
|
+
{
|
|
2232
|
+
provide: NG_VALIDATORS,
|
|
2233
|
+
multi: true,
|
|
2234
|
+
useExisting: forwardRef(() => SacMultilanguageInputComponent),
|
|
2235
|
+
},
|
|
2236
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"LanguageValue\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"SetLanguageValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div\r\n placement=\"bottom-right\"\r\n class=\"input-group-append\"\r\n sac-multilanguagemenu\r\n [buttontemplate]=\"menuButton\"\r\n #contextmenu\r\n >\r\n <ng-template #menuButton>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n [id]=\"name + '_dropdownitem'\"\r\n type=\"button\"\r\n class=\"btn dropdown-toggle\"\r\n (click)=\"contextmenu.toggle()\"\r\n [ngClass]=\"[IsAnyEmpty() ? 'btn-warning' : 'btn-secondary']\"\r\n >\r\n <img\r\n src=\"{{SelectedIcon}}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\"\r\n />\r\n <span\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"\r\n ></span>\r\n </button>\r\n </ng-template>\r\n <ng-container *ngFor=\"let sprache of Languages\">\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.Image\"\r\n text=\"{{sprache.Text}}\"\r\n image=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.CssSprite\"\r\n text=\"{{sprache.Text}}\"\r\n icon=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col text-right\"></div>\r\n</div>\r\n", components: [{ type: SacMultilanguagemenuComponent, selector: "[sac-multilanguagemenu]" }, { type: SacMultilanguagemenuItemButtonComponent, selector: "sac-multilanguagemenubutton" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: SacMultilanguagemenuAnchorDirective, selector: "[sacMultilanguageMenuAnchor]" }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
2237
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
2238
|
+
] });
|
|
2239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguageInputComponent, decorators: [{
|
|
2240
|
+
type: Component,
|
|
2241
|
+
args: [{ selector: 'sac-multilanguageinput', providers: [
|
|
2242
|
+
{
|
|
2243
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2244
|
+
multi: true,
|
|
2245
|
+
useExisting: SacMultilanguageInputComponent,
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
provide: NG_VALIDATORS,
|
|
2249
|
+
multi: true,
|
|
2250
|
+
useExisting: forwardRef(() => SacMultilanguageInputComponent),
|
|
2251
|
+
},
|
|
2252
|
+
], viewProviders: [
|
|
2253
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
2254
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"LanguageValue\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n (input)=\"SetLanguageValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n />\r\n <div\r\n placement=\"bottom-right\"\r\n class=\"input-group-append\"\r\n sac-multilanguagemenu\r\n [buttontemplate]=\"menuButton\"\r\n #contextmenu\r\n >\r\n <ng-template #menuButton>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n [id]=\"name + '_dropdownitem'\"\r\n type=\"button\"\r\n class=\"btn dropdown-toggle\"\r\n (click)=\"contextmenu.toggle()\"\r\n [ngClass]=\"[IsAnyEmpty() ? 'btn-warning' : 'btn-secondary']\"\r\n >\r\n <img\r\n src=\"{{SelectedIcon}}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\"\r\n />\r\n <span\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"\r\n ></span>\r\n </button>\r\n </ng-template>\r\n <ng-container *ngFor=\"let sprache of Languages\">\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.Image\"\r\n text=\"{{sprache.Text}}\"\r\n image=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.CssSprite\"\r\n text=\"{{sprache.Text}}\"\r\n icon=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col text-right\"></div>\r\n</div>\r\n" }]
|
|
2255
|
+
}], ctorParameters: function () {
|
|
2256
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
2257
|
+
type: Host
|
|
2258
|
+
}, {
|
|
2259
|
+
type: Optional
|
|
2260
|
+
}] }, { type: i0.Injector }];
|
|
2261
|
+
} });
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* Componente für Mehrsprache Texte als mehrzeiliger Text
|
|
2265
|
+
*/
|
|
2266
|
+
class SacMultilanguageInputAreaComponent extends SacMultilanguageInputAreaCommon {
|
|
2267
|
+
/**
|
|
2268
|
+
* Konstruktor
|
|
2269
|
+
* @param parent Formular Inject
|
|
2270
|
+
* @param injector Default Injector
|
|
2271
|
+
*/
|
|
2272
|
+
constructor(parent, injector) {
|
|
2273
|
+
super(parent, injector);
|
|
2274
|
+
/**
|
|
2275
|
+
* Enum für IconType in HTML Template
|
|
2276
|
+
*/
|
|
2277
|
+
this.IconType = IconType;
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
SacMultilanguageInputAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguageInputAreaComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2281
|
+
SacMultilanguageInputAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacMultilanguageInputAreaComponent, selector: "sac-multilanguageinputarea", providers: [
|
|
2282
|
+
{
|
|
2283
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2284
|
+
multi: true,
|
|
2285
|
+
useExisting: SacMultilanguageInputAreaComponent,
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
provide: NG_VALIDATORS,
|
|
2289
|
+
multi: true,
|
|
2290
|
+
useExisting: forwardRef(() => SacMultilanguageInputAreaComponent),
|
|
2291
|
+
},
|
|
2292
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <textarea\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"LanguageValue\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n style=\"height: auto\"\r\n (input)=\"SetLanguageValue($event.target.value)\"\r\n [attr.rows]=\"rows\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n ></textarea>\r\n\r\n <div\r\n placement=\"bottom-right\"\r\n class=\"input-group-append\"\r\n sac-multilanguagemenu\r\n [buttontemplate]=\"menuButton\"\r\n #contextmenu\r\n >\r\n <ng-template #menuButton>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n [id]=\"name + '_dropdownitem'\"\r\n type=\"button\"\r\n class=\"btn dropdown-toggle\"\r\n (click)=\"contextmenu.toggle()\"\r\n [ngClass]=\"[IsAnyEmpty() ? 'btn-warning' : 'btn-secondary']\"\r\n >\r\n <img\r\n src=\"{{SelectedIcon}}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\"\r\n />\r\n <i\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"\r\n ></i>\r\n </button>\r\n </ng-template>\r\n <ng-container *ngFor=\"let sprache of Languages\">\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.Image\"\r\n text=\"{{sprache.Text}}\"\r\n image=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.CssSprite\"\r\n text=\"{{sprache.Text}}\"\r\n icon=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col text-right\"></div>\r\n</div>\r\n", components: [{ type: SacMultilanguagemenuComponent, selector: "[sac-multilanguagemenu]" }, { type: SacMultilanguagemenuItemButtonComponent, selector: "sac-multilanguagemenubutton" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: SacMultilanguagemenuAnchorDirective, selector: "[sacMultilanguageMenuAnchor]" }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
2293
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
2294
|
+
] });
|
|
2295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacMultilanguageInputAreaComponent, decorators: [{
|
|
2296
|
+
type: Component,
|
|
2297
|
+
args: [{ selector: 'sac-multilanguageinputarea', providers: [
|
|
2298
|
+
{
|
|
2299
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2300
|
+
multi: true,
|
|
2301
|
+
useExisting: SacMultilanguageInputAreaComponent,
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
provide: NG_VALIDATORS,
|
|
2305
|
+
multi: true,
|
|
2306
|
+
useExisting: forwardRef(() => SacMultilanguageInputAreaComponent),
|
|
2307
|
+
},
|
|
2308
|
+
], viewProviders: [
|
|
2309
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
2310
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label\r\n for=\"{{name}}\"\r\n class=\"col-12 col-form-label\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + labelsize : 'sr-only' ]\"\r\n >{{label}}</label\r\n >\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\"\r\n >\r\n <div\r\n class=\"input-group input-group-sm\"\r\n [class.has-validation]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n <textarea\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control form-control-sm\"\r\n [value]=\"LanguageValue\"\r\n [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\"\r\n style=\"height: auto\"\r\n (input)=\"SetLanguageValue($event.target.value)\"\r\n [attr.rows]=\"rows\"\r\n [attr.maxlength]=\"maxlength\"\r\n [ngClass]=\"{'is-invalid': invalid && (dirty || touched) }\"\r\n [disabled]=\"isdisabled\"\r\n ></textarea>\r\n\r\n <div\r\n placement=\"bottom-right\"\r\n class=\"input-group-append\"\r\n sac-multilanguagemenu\r\n [buttontemplate]=\"menuButton\"\r\n #contextmenu\r\n >\r\n <ng-template #menuButton>\r\n <button\r\n sacMultilanguageMenuAnchor\r\n [id]=\"name + '_dropdownitem'\"\r\n type=\"button\"\r\n class=\"btn dropdown-toggle\"\r\n (click)=\"contextmenu.toggle()\"\r\n [ngClass]=\"[IsAnyEmpty() ? 'btn-warning' : 'btn-secondary']\"\r\n >\r\n <img\r\n src=\"{{SelectedIcon}}\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.Image\"\r\n />\r\n <i\r\n [ngClass]=\"SelectedIcon\"\r\n class=\"align-baseline mr-1 ml-1\"\r\n *ngIf=\"SelectedIconType === IconType.CssSprite\"\r\n ></i>\r\n </button>\r\n </ng-template>\r\n <ng-container *ngFor=\"let sprache of Languages\">\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.Image\"\r\n text=\"{{sprache.Text}}\"\r\n image=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n <sac-multilanguagemenubutton\r\n *ngIf=\"sprache.IconType === IconType.CssSprite\"\r\n text=\"{{sprache.Text}}\"\r\n icon=\"{{sprache.Icon}}\"\r\n [cssclass]=\"IsEmpty(sprache) ? 'text-danger border-left border-danger': ''\"\r\n (clicked)=\"SelectLanguage(sprache)\"\r\n ></sac-multilanguagemenubutton>\r\n </ng-container>\r\n </div>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"row\">\r\n <div class=\"col text-right\"></div>\r\n</div>\r\n" }]
|
|
2311
|
+
}], ctorParameters: function () {
|
|
2312
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
2313
|
+
type: Host
|
|
2314
|
+
}, {
|
|
2315
|
+
type: Optional
|
|
2316
|
+
}] }, { type: i0.Injector }];
|
|
2317
|
+
} });
|
|
2318
|
+
|
|
2319
|
+
class SACBootstrap4MultilanguageModule {
|
|
2320
|
+
}
|
|
2321
|
+
SACBootstrap4MultilanguageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4MultilanguageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2322
|
+
SACBootstrap4MultilanguageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4MultilanguageModule, declarations: [SacMultilanguageInputComponent,
|
|
2323
|
+
SacMultilanguageInputAreaComponent,
|
|
2324
|
+
SacMultilanguagemenuComponent,
|
|
2325
|
+
SacMultilanguagemenuAnchorDirective,
|
|
2326
|
+
SacMultilanguagemenuContainerDirective,
|
|
2327
|
+
SacMultilanguagemenuItemButtonComponent], imports: [CommonModule], exports: [SacMultilanguageInputComponent, SacMultilanguageInputAreaComponent] });
|
|
2328
|
+
SACBootstrap4MultilanguageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4MultilanguageModule, imports: [[CommonModule]] });
|
|
2329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4MultilanguageModule, decorators: [{
|
|
2330
|
+
type: NgModule,
|
|
2331
|
+
args: [{
|
|
2332
|
+
declarations: [
|
|
2333
|
+
SacMultilanguageInputComponent,
|
|
2334
|
+
SacMultilanguageInputAreaComponent,
|
|
2335
|
+
SacMultilanguagemenuComponent,
|
|
2336
|
+
SacMultilanguagemenuAnchorDirective,
|
|
2337
|
+
SacMultilanguagemenuContainerDirective,
|
|
2338
|
+
SacMultilanguagemenuItemButtonComponent,
|
|
2339
|
+
],
|
|
2340
|
+
imports: [CommonModule],
|
|
2341
|
+
exports: [SacMultilanguageInputComponent, SacMultilanguageInputAreaComponent],
|
|
2342
|
+
}]
|
|
2343
|
+
}] });
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Komponente für statischen Text in einem Formular
|
|
2347
|
+
*/
|
|
2348
|
+
class SacStaticLabelComponent extends SacStaticLabelCommon {
|
|
2349
|
+
/**
|
|
2350
|
+
* Konstruktor
|
|
2351
|
+
* @param parent Formular
|
|
2352
|
+
* @param injector Angular Dependency Injection Service
|
|
2353
|
+
*/
|
|
2354
|
+
constructor(parent, injector) {
|
|
2355
|
+
super(parent, injector);
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
SacStaticLabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacStaticLabelComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2359
|
+
SacStaticLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacStaticLabelComponent, selector: "sac-staticlabel", providers: [
|
|
2360
|
+
{
|
|
2361
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2362
|
+
multi: true,
|
|
2363
|
+
useExisting: SacStaticLabelComponent,
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
provide: NG_VALIDATORS,
|
|
2367
|
+
multi: true,
|
|
2368
|
+
useExisting: forwardRef(() => SacStaticLabelComponent),
|
|
2369
|
+
},
|
|
2370
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}_label\" for=\"{{name}}\" class=\"col-12 col-form-label\" [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <div class=\"form-control-plaintext\" [innerHTML]=\"value\">\r\n </div>\r\n <label for=\"{{name}}\" class=\"col-left control-label\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacStaticLabelComponent, decorators: [{
|
|
2372
|
+
type: Component,
|
|
2373
|
+
args: [{ selector: 'sac-staticlabel', providers: [
|
|
2374
|
+
{
|
|
2375
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2376
|
+
multi: true,
|
|
2377
|
+
useExisting: SacStaticLabelComponent,
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
provide: NG_VALIDATORS,
|
|
2381
|
+
multi: true,
|
|
2382
|
+
useExisting: forwardRef(() => SacStaticLabelComponent),
|
|
2383
|
+
},
|
|
2384
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}_label\" for=\"{{name}}\" class=\"col-12 col-form-label\" [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <div class=\"form-control-plaintext\" [innerHTML]=\"value\">\r\n </div>\r\n <label for=\"{{name}}\" class=\"col-left control-label\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n </div>\r\n</div>\r\n" }]
|
|
2385
|
+
}], ctorParameters: function () {
|
|
2386
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
2387
|
+
type: Host
|
|
2388
|
+
}, {
|
|
2389
|
+
type: Optional
|
|
2390
|
+
}] }, { type: i0.Injector }];
|
|
2391
|
+
} });
|
|
2392
|
+
|
|
2393
|
+
/**
|
|
2394
|
+
* Component für einbindung eines beliebigen Controls in die Form Struktur
|
|
2395
|
+
*
|
|
2396
|
+
* @example
|
|
2397
|
+
* <ngStaticFormContainer name='myformcontainer' label="My Custom Form Control" [isrequired]='false'>
|
|
2398
|
+
* <input type="range" class="form-control form-control-sm" />
|
|
2399
|
+
* </ngStaticFormContainer>
|
|
2400
|
+
*
|
|
2401
|
+
* @example
|
|
2402
|
+
* <ngStaticFormContainer name='myformcintainer' label="My Custom Form Control" [isrequired]='false' tooltiptext="Dies ist ein Tooltip Text">
|
|
2403
|
+
* <input type="range" class="form-control form-control-sm" />
|
|
2404
|
+
* </ngStaticFormContainer>
|
|
2405
|
+
*
|
|
2406
|
+
**/
|
|
2407
|
+
class SacStaticFormContainerComponent extends SacStaticFormContainerCommon {
|
|
2408
|
+
/**
|
|
2409
|
+
* Konsturktor
|
|
2410
|
+
* @param parent Parent SacFormular Instanz
|
|
2411
|
+
* @param injector Injector Instanz
|
|
2412
|
+
*/
|
|
2413
|
+
constructor(parent, injector) {
|
|
2414
|
+
super(parent, injector);
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
SacStaticFormContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacStaticFormContainerComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2418
|
+
SacStaticFormContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacStaticFormContainerComponent, selector: "sac-staticformcontainer", providers: [
|
|
2419
|
+
{
|
|
2420
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2421
|
+
multi: true,
|
|
2422
|
+
useExisting: SacStaticFormContainerComponent,
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
provide: NG_VALIDATORS,
|
|
2426
|
+
multi: true,
|
|
2427
|
+
useExisting: forwardRef(() => SacStaticFormContainerComponent),
|
|
2428
|
+
},
|
|
2429
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}_label\" for=\"{{name}}\" class=\"col-form-label\" [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <ng-content></ng-content>\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"invalid-feedback\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "async": i2.AsyncPipe } });
|
|
2430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacStaticFormContainerComponent, decorators: [{
|
|
2431
|
+
type: Component,
|
|
2432
|
+
args: [{ selector: 'sac-staticformcontainer', providers: [
|
|
2433
|
+
{
|
|
2434
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2435
|
+
multi: true,
|
|
2436
|
+
useExisting: SacStaticFormContainerComponent,
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
provide: NG_VALIDATORS,
|
|
2440
|
+
multi: true,
|
|
2441
|
+
useExisting: forwardRef(() => SacStaticFormContainerComponent),
|
|
2442
|
+
},
|
|
2443
|
+
], template: "<div class=\"row form-group\" [class.no-gutters]=\"disablelabel\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}_label\" for=\"{{name}}\" class=\"col-form-label\" [ngClass]=\"[labelsize !== 12 ? 'col-sm-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-sm-' + _inputsize : 'col-sm-12']\">\r\n <ng-content></ng-content>\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"invalid-feedback\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n" }]
|
|
2444
|
+
}], ctorParameters: function () {
|
|
2445
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
2446
|
+
type: Host
|
|
2447
|
+
}, {
|
|
2448
|
+
type: Optional
|
|
2449
|
+
}] }, { type: i0.Injector }];
|
|
2450
|
+
} });
|
|
2451
|
+
|
|
2452
|
+
class SACBootstrap4StaticLabelModule {
|
|
2453
|
+
}
|
|
2454
|
+
SACBootstrap4StaticLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4StaticLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2455
|
+
SACBootstrap4StaticLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4StaticLabelModule, declarations: [SacStaticLabelComponent, SacStaticFormContainerComponent], imports: [CommonModule], exports: [SacStaticLabelComponent, SacStaticFormContainerComponent] });
|
|
2456
|
+
SACBootstrap4StaticLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4StaticLabelModule, imports: [[
|
|
2457
|
+
CommonModule
|
|
2458
|
+
]] });
|
|
2459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4StaticLabelModule, decorators: [{
|
|
2460
|
+
type: NgModule,
|
|
2461
|
+
args: [{
|
|
2462
|
+
declarations: [SacStaticLabelComponent, SacStaticFormContainerComponent],
|
|
2463
|
+
imports: [
|
|
2464
|
+
CommonModule
|
|
2465
|
+
],
|
|
2466
|
+
exports: [SacStaticLabelComponent, SacStaticFormContainerComponent]
|
|
2467
|
+
}]
|
|
2468
|
+
}] });
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Tab Item Komponente
|
|
2472
|
+
*/
|
|
2473
|
+
class SacTabItemComponent extends SacTabItemCommon {
|
|
2474
|
+
}
|
|
2475
|
+
SacTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2476
|
+
SacTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTabItemComponent, selector: "sac-tabitem", usesInheritance: true, ngImport: i0, template: "<div [id]=\"id\" [hidden]=\"unloadwhenhidden === false && active === false\" *ngIf=\"(unloadwhenhidden === true && active === true) || unloadwhenhidden === false\" class=\"tab-pane\">\r\n <ng-template [ngTemplateOutlet]=\"templateRef\"></ng-template>\r\n</div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabItemComponent, decorators: [{
|
|
2478
|
+
type: Component,
|
|
2479
|
+
args: [{ selector: 'sac-tabitem', template: "<div [id]=\"id\" [hidden]=\"unloadwhenhidden === false && active === false\" *ngIf=\"(unloadwhenhidden === true && active === true) || unloadwhenhidden === false\" class=\"tab-pane\">\r\n <ng-template [ngTemplateOutlet]=\"templateRef\"></ng-template>\r\n</div>\r\n" }]
|
|
2480
|
+
}] });
|
|
2481
|
+
|
|
2482
|
+
/**
|
|
2483
|
+
* Komponente für Tabs
|
|
2484
|
+
*/
|
|
2485
|
+
class SacTabComponent extends SacTabCommon {
|
|
2486
|
+
/**
|
|
2487
|
+
* Gibt die TabItems zurück
|
|
2488
|
+
* @returns Array von TabItems
|
|
2489
|
+
*/
|
|
2490
|
+
tabItems() {
|
|
2491
|
+
return this._tabItems.toArray();
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
SacTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2495
|
+
SacTabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTabComponent, selector: "sac-tab", queries: [{ propertyName: "_tabItems", predicate: SacTabItemComponent }], usesInheritance: true, ngImport: i0, template: "<!-- Nav tabs -->\r\n<div class=\"nav nav-tabs\" role=\"tablist\">\r\n <a\r\n *ngFor=\"let item of _tabItems\"\r\n role=\"tab\"\r\n class=\"nav-item nav-link active\"\r\n data-toggle=\"tab\"\r\n [ngClass]=\"{ 'active show': item.active, 'disabled': item.disabled }\"\r\n (click)=\"selectTab(item)\"\r\n [ngStyle]=\"{'cursor': item.disabled ? 'not-allowed' : 'pointer'}\"\r\n >{{item.label}}</a\r\n >\r\n</div>\r\n\r\n<!-- Tab panes -->\r\n<div class=\"tab-content pl-3 pt-2\">\r\n <ng-content></ng-content>\r\n</div>\r\n", directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
2496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabComponent, decorators: [{
|
|
2497
|
+
type: Component,
|
|
2498
|
+
args: [{ selector: 'sac-tab', template: "<!-- Nav tabs -->\r\n<div class=\"nav nav-tabs\" role=\"tablist\">\r\n <a\r\n *ngFor=\"let item of _tabItems\"\r\n role=\"tab\"\r\n class=\"nav-item nav-link active\"\r\n data-toggle=\"tab\"\r\n [ngClass]=\"{ 'active show': item.active, 'disabled': item.disabled }\"\r\n (click)=\"selectTab(item)\"\r\n [ngStyle]=\"{'cursor': item.disabled ? 'not-allowed' : 'pointer'}\"\r\n >{{item.label}}</a\r\n >\r\n</div>\r\n\r\n<!-- Tab panes -->\r\n<div class=\"tab-content pl-3 pt-2\">\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
2499
|
+
}], propDecorators: { _tabItems: [{
|
|
2500
|
+
type: ContentChildren,
|
|
2501
|
+
args: [SacTabItemComponent]
|
|
2502
|
+
}] } });
|
|
2503
|
+
|
|
2504
|
+
class SACBootstrap4TabsModule {
|
|
2505
|
+
}
|
|
2506
|
+
SACBootstrap4TabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2507
|
+
SACBootstrap4TabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TabsModule, declarations: [SacTabComponent, SacTabItemComponent], imports: [CommonModule], exports: [SacTabComponent, SacTabItemComponent] });
|
|
2508
|
+
SACBootstrap4TabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TabsModule, imports: [[
|
|
2509
|
+
CommonModule
|
|
2510
|
+
]] });
|
|
2511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TabsModule, decorators: [{
|
|
2512
|
+
type: NgModule,
|
|
2513
|
+
args: [{
|
|
2514
|
+
declarations: [SacTabComponent, SacTabItemComponent],
|
|
2515
|
+
imports: [
|
|
2516
|
+
CommonModule
|
|
2517
|
+
],
|
|
2518
|
+
exports: [SacTabComponent, SacTabItemComponent]
|
|
2519
|
+
}]
|
|
2520
|
+
}] });
|
|
2521
|
+
|
|
2522
|
+
/**
|
|
2523
|
+
* TinyMCE Komponente
|
|
2524
|
+
*/
|
|
2525
|
+
class SacTinyMceComponent extends SacTinyMceCommon {
|
|
2526
|
+
/**
|
|
2527
|
+
* Konstruktor
|
|
2528
|
+
* @param parent Formular
|
|
2529
|
+
* @param injector Angular Dependency Injection Service
|
|
2530
|
+
* @param ngZone ngZone
|
|
2531
|
+
*/
|
|
2532
|
+
constructor(parent, injector, ngZone) {
|
|
2533
|
+
super(parent, injector, ngZone);
|
|
2534
|
+
}
|
|
2535
|
+
/**
|
|
2536
|
+
* overwrite tinymce defaults
|
|
2537
|
+
* @returns boostrap4 has no overwrites
|
|
2538
|
+
*/
|
|
2539
|
+
overwriteDefaultSettings() {
|
|
2540
|
+
return {};
|
|
2541
|
+
}
|
|
2542
|
+
}
|
|
2543
|
+
SacTinyMceComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTinyMceComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2544
|
+
SacTinyMceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTinyMceComponent, selector: "sac-tinymce", providers: [
|
|
2545
|
+
{
|
|
2546
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2547
|
+
multi: true,
|
|
2548
|
+
useExisting: SacTinyMceComponent,
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
provide: NG_VALIDATORS,
|
|
2552
|
+
useExisting: forwardRef(() => SacTinyMceComponent),
|
|
2553
|
+
multi: true,
|
|
2554
|
+
},
|
|
2555
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-row form-group\">\r\n <div\r\n class=\"col\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + labelsize : 'sr-only' ]\"\r\n >\r\n <label for=\"{{name}}\" class=\"form-control-label\">{{label}}</label>\r\n </div>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <editor\r\n [id]=\"name + '_tinymce'\"\r\n [init]=\"_config\"\r\n [initialValue]=\"value\"\r\n ngModel\r\n [ngModelOptions]=\"{standalone: true}\"\r\n (ngModelChange)=\"setValue($event)\"\r\n (onSaveContent)=\"save($event.event.content)\"\r\n [disabled]=\"disabled\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n ></editor>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<sac-dialog\r\n *ngIf=\"selectdialogvisible\"\r\n [allowesc]=\"false\"\r\n [backdrop]=\"true\"\r\n [(isvisible)]=\"selectdialogvisible\"\r\n title=\"{{ lngResourceService.GetString('TINYMCE_FILESELECT_DIALOGTITLE') | async }}\"\r\n size=\"large\"\r\n height=\"500px\"\r\n>\r\n <ng-container dialogbody>\r\n <sac-filebrowser\r\n [apiurl]=\"filebrowserapiurl\"\r\n (file)=\"selectDialogSettings.value = $event\"\r\n [allowfoldercreate]=\"allowfoldercreate\"\r\n [allowfolderrename]=\"allowfolderrename\"\r\n [allowfolderdelete]=\"allowfolderdelete\"\r\n [allowfileupload]=\"allowfileupload\"\r\n [allowfilerename]=\"allowfilerename\"\r\n [allowfiledelete]=\"allowfiledelete\"\r\n [selectedfile]=\"selectDialogSettings.value\"\r\n [allowedtypes]=\"selectDialogSettings.allowedtypes\"\r\n ></sac-filebrowser>\r\n </ng-container>\r\n <ng-container dialogfooter>\r\n <sac-button\r\n role=\"primary\"\r\n [name]=\"name + '_modalOk'\"\r\n text=\"{{ lngResourceService.GetString('TINYMCE_FILESELECT_OK') | async }}\"\r\n (clicked)=\"setSelectDialogResult()\"\r\n ></sac-button>\r\n <sac-button\r\n [name]=\"name + '_modalClose'\"\r\n text=\"{{ lngResourceService.GetString('TINYMCE_FILESELECT_CANCEL') | async }}\"\r\n (clicked)=\"closeSelectDialog()\"\r\n ></sac-button>\r\n </ng-container>\r\n</sac-dialog>\r\n", styles: [".is-invalid{border:1px solid var(--red)}\n"], components: [{ type: i2$1.EditorComponent, selector: "editor", inputs: ["cloudChannel", "apiKey", "init", "id", "initialValue", "outputFormat", "inline", "tagName", "plugins", "toolbar", "modelEvents", "allowedEvents", "ignoreEvents", "disabled"] }, { type: SacDialogComponent, selector: "sac-dialog" }, { type: SacBrowserComponent, selector: "sac-filebrowser" }, { type: SacButtonComponent, selector: "sac-button" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [{ provide: ControlContainer, useExisting: SacFormDirective }] });
|
|
2556
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTinyMceComponent, decorators: [{
|
|
2557
|
+
type: Component,
|
|
2558
|
+
args: [{ selector: 'sac-tinymce', providers: [
|
|
2559
|
+
{
|
|
2560
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2561
|
+
multi: true,
|
|
2562
|
+
useExisting: SacTinyMceComponent,
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
provide: NG_VALIDATORS,
|
|
2566
|
+
useExisting: forwardRef(() => SacTinyMceComponent),
|
|
2567
|
+
multi: true,
|
|
2568
|
+
},
|
|
2569
|
+
], viewProviders: [{ provide: ControlContainer, useExisting: SacFormDirective }], template: "<div class=\"form-row form-group\">\r\n <div\r\n class=\"col\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + labelsize : 'sr-only' ]\"\r\n >\r\n <label for=\"{{name}}\" class=\"form-control-label\">{{label}}</label>\r\n </div>\r\n <div\r\n class=\"col-12\"\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <editor\r\n [id]=\"name + '_tinymce'\"\r\n [init]=\"_config\"\r\n [initialValue]=\"value\"\r\n ngModel\r\n [ngModelOptions]=\"{standalone: true}\"\r\n (ngModelChange)=\"setValue($event)\"\r\n (onSaveContent)=\"save($event.event.content)\"\r\n [disabled]=\"disabled\"\r\n [class.is-invalid]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n ></editor>\r\n <div\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n class=\"invalid-feedback\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<sac-dialog\r\n *ngIf=\"selectdialogvisible\"\r\n [allowesc]=\"false\"\r\n [backdrop]=\"true\"\r\n [(isvisible)]=\"selectdialogvisible\"\r\n title=\"{{ lngResourceService.GetString('TINYMCE_FILESELECT_DIALOGTITLE') | async }}\"\r\n size=\"large\"\r\n height=\"500px\"\r\n>\r\n <ng-container dialogbody>\r\n <sac-filebrowser\r\n [apiurl]=\"filebrowserapiurl\"\r\n (file)=\"selectDialogSettings.value = $event\"\r\n [allowfoldercreate]=\"allowfoldercreate\"\r\n [allowfolderrename]=\"allowfolderrename\"\r\n [allowfolderdelete]=\"allowfolderdelete\"\r\n [allowfileupload]=\"allowfileupload\"\r\n [allowfilerename]=\"allowfilerename\"\r\n [allowfiledelete]=\"allowfiledelete\"\r\n [selectedfile]=\"selectDialogSettings.value\"\r\n [allowedtypes]=\"selectDialogSettings.allowedtypes\"\r\n ></sac-filebrowser>\r\n </ng-container>\r\n <ng-container dialogfooter>\r\n <sac-button\r\n role=\"primary\"\r\n [name]=\"name + '_modalOk'\"\r\n text=\"{{ lngResourceService.GetString('TINYMCE_FILESELECT_OK') | async }}\"\r\n (clicked)=\"setSelectDialogResult()\"\r\n ></sac-button>\r\n <sac-button\r\n [name]=\"name + '_modalClose'\"\r\n text=\"{{ lngResourceService.GetString('TINYMCE_FILESELECT_CANCEL') | async }}\"\r\n (clicked)=\"closeSelectDialog()\"\r\n ></sac-button>\r\n </ng-container>\r\n</sac-dialog>\r\n", styles: [".is-invalid{border:1px solid var(--red)}\n"] }]
|
|
2570
|
+
}], ctorParameters: function () {
|
|
2571
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
2572
|
+
type: Host
|
|
2573
|
+
}, {
|
|
2574
|
+
type: Optional
|
|
2575
|
+
}] }, { type: i0.Injector }, { type: i0.NgZone }];
|
|
2576
|
+
} });
|
|
2577
|
+
|
|
2578
|
+
class SACBootstrap4TinyMceModule {
|
|
2579
|
+
}
|
|
2580
|
+
SACBootstrap4TinyMceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TinyMceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2581
|
+
SACBootstrap4TinyMceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TinyMceModule, declarations: [SacTinyMceComponent], imports: [CommonModule,
|
|
2582
|
+
FormsModule,
|
|
2583
|
+
EditorModule,
|
|
2584
|
+
SACBootstrap4ButtonModule,
|
|
2585
|
+
SACBootstrap4DialogModule,
|
|
2586
|
+
SACBootstrap4BrowserModule], exports: [SacTinyMceComponent] });
|
|
2587
|
+
SACBootstrap4TinyMceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TinyMceModule, imports: [[
|
|
2588
|
+
CommonModule,
|
|
2589
|
+
FormsModule,
|
|
2590
|
+
EditorModule,
|
|
2591
|
+
SACBootstrap4ButtonModule,
|
|
2592
|
+
SACBootstrap4DialogModule,
|
|
2593
|
+
SACBootstrap4BrowserModule,
|
|
2594
|
+
]] });
|
|
2595
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4TinyMceModule, decorators: [{
|
|
2596
|
+
type: NgModule,
|
|
2597
|
+
args: [{
|
|
2598
|
+
declarations: [SacTinyMceComponent],
|
|
2599
|
+
imports: [
|
|
2600
|
+
CommonModule,
|
|
2601
|
+
FormsModule,
|
|
2602
|
+
EditorModule,
|
|
2603
|
+
SACBootstrap4ButtonModule,
|
|
2604
|
+
SACBootstrap4DialogModule,
|
|
2605
|
+
SACBootstrap4BrowserModule,
|
|
2606
|
+
],
|
|
2607
|
+
exports: [SacTinyMceComponent],
|
|
2608
|
+
}]
|
|
2609
|
+
}] });
|
|
2610
|
+
|
|
2611
|
+
/**
|
|
2612
|
+
* Validation Summary Kompontente
|
|
2613
|
+
*/
|
|
2614
|
+
class SacValidationSummaryComponent extends SacValidationSummaryCommon {
|
|
2615
|
+
/**
|
|
2616
|
+
* Konstruktor
|
|
2617
|
+
* @param parent Formular
|
|
2618
|
+
* @param injector Angular Dependency Injection Service
|
|
2619
|
+
*/
|
|
2620
|
+
constructor(parent, injector) {
|
|
2621
|
+
super(parent, injector);
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
SacValidationSummaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacValidationSummaryComponent, deps: [{ token: SacFormDirective, host: true, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
2625
|
+
SacValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacValidationSummaryComponent, selector: "sac-validationsummary", providers: [
|
|
2626
|
+
{
|
|
2627
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2628
|
+
multi: true,
|
|
2629
|
+
useExisting: SacValidationSummaryComponent,
|
|
2630
|
+
},
|
|
2631
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"alert alert-danger\" role=\"alert\" *ngIf=\"hasErrors\">\r\n <ul class=\"mb-0\">\r\n <li *ngFor=\"let error of formErrors\">{{error | async}}</li>\r\n </ul>\r\n</div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe }, viewProviders: [
|
|
2632
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
2633
|
+
] });
|
|
2634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacValidationSummaryComponent, decorators: [{
|
|
2635
|
+
type: Component,
|
|
2636
|
+
args: [{ selector: 'sac-validationsummary', providers: [
|
|
2637
|
+
{
|
|
2638
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2639
|
+
multi: true,
|
|
2640
|
+
useExisting: SacValidationSummaryComponent,
|
|
2641
|
+
},
|
|
2642
|
+
], viewProviders: [
|
|
2643
|
+
{ provide: ControlContainer, useExisting: SacFormDirective },
|
|
2644
|
+
], template: "<div class=\"alert alert-danger\" role=\"alert\" *ngIf=\"hasErrors\">\r\n <ul class=\"mb-0\">\r\n <li *ngFor=\"let error of formErrors\">{{error | async}}</li>\r\n </ul>\r\n</div>\r\n" }]
|
|
2645
|
+
}], ctorParameters: function () {
|
|
2646
|
+
return [{ type: SacFormDirective, decorators: [{
|
|
2647
|
+
type: Host
|
|
2648
|
+
}, {
|
|
2649
|
+
type: Optional
|
|
2650
|
+
}] }, { type: i0.Injector }];
|
|
2651
|
+
} });
|
|
2652
|
+
|
|
2653
|
+
class SACBootstrap4ValidationSummaryModule {
|
|
2654
|
+
}
|
|
2655
|
+
SACBootstrap4ValidationSummaryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ValidationSummaryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2656
|
+
SACBootstrap4ValidationSummaryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ValidationSummaryModule, declarations: [SacValidationSummaryComponent], imports: [CommonModule], exports: [SacValidationSummaryComponent] });
|
|
2657
|
+
SACBootstrap4ValidationSummaryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ValidationSummaryModule, imports: [[
|
|
2658
|
+
CommonModule
|
|
2659
|
+
]] });
|
|
2660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4ValidationSummaryModule, decorators: [{
|
|
2661
|
+
type: NgModule,
|
|
2662
|
+
args: [{
|
|
2663
|
+
declarations: [SacValidationSummaryComponent],
|
|
2664
|
+
imports: [
|
|
2665
|
+
CommonModule
|
|
2666
|
+
],
|
|
2667
|
+
exports: [SacValidationSummaryComponent]
|
|
2668
|
+
}]
|
|
2669
|
+
}] });
|
|
2670
|
+
|
|
2671
|
+
/**
|
|
2672
|
+
* Wizard Komponente Item
|
|
2673
|
+
*/
|
|
2674
|
+
class SacWizardItemComponent extends SacWizardItemCommon {
|
|
2675
|
+
}
|
|
2676
|
+
SacWizardItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2677
|
+
SacWizardItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacWizardItemComponent, selector: "sac-wizarditem", usesInheritance: true, ngImport: i0, template: "" });
|
|
2678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardItemComponent, decorators: [{
|
|
2679
|
+
type: Component,
|
|
2680
|
+
args: [{ selector: 'sac-wizarditem', template: "" }]
|
|
2681
|
+
}] });
|
|
2682
|
+
|
|
2683
|
+
/**
|
|
2684
|
+
* Wizard Komponente
|
|
2685
|
+
*/
|
|
2686
|
+
class SacWizardComponent extends SacWizardCommon {
|
|
2687
|
+
/**
|
|
2688
|
+
* Gibt die Wizard Items zurück
|
|
2689
|
+
* @returns Collection von WizardItems
|
|
2690
|
+
*/
|
|
2691
|
+
wizardItems() {
|
|
2692
|
+
return this._wizardItems;
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
SacWizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2696
|
+
SacWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacWizardComponent, selector: "sac-wizard", providers: [
|
|
2697
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacWizardComponent },
|
|
2698
|
+
], queries: [{ propertyName: "_wizardItems", predicate: SacWizardItemComponent }], usesInheritance: true, ngImport: i0, template: "<ul class=\"nav nav-wizard\" role=\"tablist\">\r\n <li *ngFor=\"let item of _wizardItems\" class=\"nav-item\" [ngClass]=\"{ 'active': item._active, 'disabled': item._disabled, 'success': item._iscomplete }\"\r\n [ngStyle]=\"{'cursor': item._disabled ? 'not-allowed' : 'pointer'}\">\r\n <a role=\"tab\" (click)=\"selectStep(item)\">\r\n <div class=\"circle\">\r\n <span class=\"step\"></span>\r\n </div>\r\n </a>\r\n <div class=\"info\">\r\n <a (click)=\"selectStep(item)\">{{item._label}}</a>\r\n </div>\r\n </li>\r\n</ul>\r\n", directives: [{ type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
2699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardComponent, decorators: [{
|
|
2700
|
+
type: Component,
|
|
2701
|
+
args: [{ selector: 'sac-wizard', providers: [
|
|
2702
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacWizardComponent },
|
|
2703
|
+
], template: "<ul class=\"nav nav-wizard\" role=\"tablist\">\r\n <li *ngFor=\"let item of _wizardItems\" class=\"nav-item\" [ngClass]=\"{ 'active': item._active, 'disabled': item._disabled, 'success': item._iscomplete }\"\r\n [ngStyle]=\"{'cursor': item._disabled ? 'not-allowed' : 'pointer'}\">\r\n <a role=\"tab\" (click)=\"selectStep(item)\">\r\n <div class=\"circle\">\r\n <span class=\"step\"></span>\r\n </div>\r\n </a>\r\n <div class=\"info\">\r\n <a (click)=\"selectStep(item)\">{{item._label}}</a>\r\n </div>\r\n </li>\r\n</ul>\r\n" }]
|
|
2704
|
+
}], propDecorators: { _wizardItems: [{
|
|
2705
|
+
type: ContentChildren,
|
|
2706
|
+
args: [SacWizardItemComponent]
|
|
2707
|
+
}] } });
|
|
2708
|
+
|
|
2709
|
+
class SACBootstrap4WizardModule {
|
|
2710
|
+
}
|
|
2711
|
+
SACBootstrap4WizardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4WizardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2712
|
+
SACBootstrap4WizardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4WizardModule, declarations: [SacWizardComponent, SacWizardItemComponent], imports: [CommonModule], exports: [SacWizardComponent, SacWizardItemComponent] });
|
|
2713
|
+
SACBootstrap4WizardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4WizardModule, imports: [[
|
|
2714
|
+
CommonModule
|
|
2715
|
+
]] });
|
|
2716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap4WizardModule, decorators: [{
|
|
2717
|
+
type: NgModule,
|
|
2718
|
+
args: [{
|
|
2719
|
+
declarations: [SacWizardComponent, SacWizardItemComponent],
|
|
2720
|
+
imports: [
|
|
2721
|
+
CommonModule
|
|
2722
|
+
],
|
|
2723
|
+
exports: [SacWizardComponent, SacWizardItemComponent]
|
|
2724
|
+
}]
|
|
2725
|
+
}] });
|
|
2726
|
+
|
|
2727
|
+
/*
|
|
2728
|
+
* Public API Surface of sac-bootstrap4
|
|
2729
|
+
*/
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* Generated bundle index. Do not edit.
|
|
2733
|
+
*/
|
|
2734
|
+
|
|
2735
|
+
export { NGFORM_FACTORY, SACBootstrap4BrowserModule, SACBootstrap4ButtonModule, SACBootstrap4CheckboxModule, SACBootstrap4ConfirmModule, SACBootstrap4ContextmenuModule, SACBootstrap4DateTimeModule, SACBootstrap4DialogModule, SACBootstrap4DropdownModule, SACBootstrap4FormModule, SACBootstrap4GridModule, SACBootstrap4InputModule, SACBootstrap4ListModule, SACBootstrap4MultilanguageModule, SACBootstrap4StaticLabelModule, SACBootstrap4TabsModule, SACBootstrap4TinyMceModule, SACBootstrap4UploadModule, SACBootstrap4ValidationSummaryModule, SACBootstrap4WizardModule, SACFORM_FACTORY, SacBrowserComponent, SacButtonComponent, SacCheckboxComponent, SacConfirmComponent, SacContextmenuAnchorDirective, SacContextmenuComponent, SacContextmenuItemButtonComponent, SacContextmenuItemSplitterComponent, SacDateComponent, SacDateSelectorComponent, SacDateTimeComponent, SacDialogComponent, SacDropdownComponent, SacDropdownOptionDirective, SacDropzoneMultipleComponent, SacDropzoneSingleComponent, SacFormDirective, SacGridButtonComponent, SacGridColumnActionComponent, SacGridColumnComponent, SacGridComponent, SacGridImageComponent, SacInheritFormDirective, SacInputAreaComponent, SacInputComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent, SacListboxComponent, SacListboxOptionDirective, SacMultilanguageInputAreaComponent, SacMultilanguageInputComponent, SacPagingComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent, SacStaticFormContainerComponent, SacStaticLabelComponent, SacTabComponent, SacTabItemComponent, SacTimeComponent, SacTinyMceComponent, SacUploadComponent, SacUploadMultipleComponent, SacValidationSummaryComponent, SacWizardComponent, SacWizardItemComponent, ServiceConfirm };
|
|
2736
|
+
//# sourceMappingURL=simpleangularcontrols-sac-bootstrap4.mjs.map
|