@simpleangularcontrols/sac-bootstrap3 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 +22 -0
- package/controls/buttons/button.d.ts +7 -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 +10 -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 +9 -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 +10 -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 +7 -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/datetime/date.d.ts +10 -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 +7 -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 +10 -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 +10 -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 +15 -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 +36 -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 +10 -0
- package/controls/grid/grid.d.ts.map +1 -0
- package/controls/grid/grid.module.d.ts +14 -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 +10 -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 +10 -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 +8 -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 +12 -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 +10 -0
- package/controls/input/input.d.ts.map +1 -0
- package/controls/input/input.module.d.ts +18 -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 +22 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +10 -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 +15 -0
- package/controls/list/dropdown.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 +12 -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 +10 -0
- package/controls/list/listbox.d.ts.map +1 -0
- package/controls/list/listbox.ngfactory.d.ts +4 -0
- package/controls/list/listbox.ngfactory.d.ts.map +1 -0
- package/controls/list/listbox.ngsummary.d.ts +2 -0
- package/controls/list/listbox.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 +10 -0
- package/controls/static/staticlabel.d.ts.map +1 -0
- package/controls/static/staticlabel.module.d.ts +11 -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 +11 -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 +7 -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 +13 -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/tooltip/tooltip.d.ts +33 -0
- package/controls/tooltip/tooltip.d.ts.map +1 -0
- package/controls/tooltip/tooltip.module.d.ts +9 -0
- package/controls/tooltip/tooltip.module.d.ts.map +1 -0
- package/controls/tooltip/tooltip.module.ngfactory.d.ts +4 -0
- package/controls/tooltip/tooltip.module.ngfactory.d.ts.map +1 -0
- package/controls/tooltip/tooltip.module.ngsummary.d.ts +2 -0
- package/controls/tooltip/tooltip.module.ngsummary.d.ts.map +1 -0
- package/controls/tooltip/tooltip.ngfactory.d.ts +4 -0
- package/controls/tooltip/tooltip.ngfactory.d.ts.map +1 -0
- package/controls/tooltip/tooltip.ngsummary.d.ts +2 -0
- package/controls/tooltip/tooltip.ngsummary.d.ts.map +1 -0
- package/controls/treeview/ngtreeitemaction.d.ts +9 -0
- package/controls/treeview/ngtreeitemaction.d.ts.map +1 -0
- package/controls/treeview/ngtreeitemaction.ngfactory.d.ts +4 -0
- package/controls/treeview/ngtreeitemaction.ngfactory.d.ts.map +1 -0
- package/controls/treeview/ngtreeitemaction.ngsummary.d.ts +2 -0
- package/controls/treeview/ngtreeitemaction.ngsummary.d.ts.map +1 -0
- package/controls/treeview/treeview.d.ts +7 -0
- package/controls/treeview/treeview.d.ts.map +1 -0
- package/controls/treeview/treeview.module.d.ts +11 -0
- package/controls/treeview/treeview.module.d.ts.map +1 -0
- package/controls/treeview/treeview.module.ngfactory.d.ts +4 -0
- package/controls/treeview/treeview.module.ngfactory.d.ts.map +1 -0
- package/controls/treeview/treeview.module.ngsummary.d.ts +2 -0
- package/controls/treeview/treeview.module.ngsummary.d.ts.map +1 -0
- package/controls/treeview/treeview.ngfactory.d.ts +4 -0
- package/controls/treeview/treeview.ngfactory.d.ts.map +1 -0
- package/controls/treeview/treeview.ngsummary.d.ts +2 -0
- package/controls/treeview/treeview.ngsummary.d.ts.map +1 -0
- package/controls/treeview/treeviewchild.d.ts +7 -0
- package/controls/treeview/treeviewchild.d.ts.map +1 -0
- package/controls/treeview/treeviewchild.ngfactory.d.ts +4 -0
- package/controls/treeview/treeviewchild.ngfactory.d.ts.map +1 -0
- package/controls/treeview/treeviewchild.ngsummary.d.ts +2 -0
- package/controls/treeview/treeviewchild.ngsummary.d.ts.map +1 -0
- package/controls/upload/upload.d.ts +11 -0
- package/controls/upload/upload.d.ts.map +1 -0
- package/controls/upload/upload.module.d.ts +11 -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 +10 -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 +10 -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 +11 -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 +7 -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/controls/buttons/button.mjs +13 -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 +28 -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 +19 -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 +28 -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 +15 -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/datetime/date.mjs +33 -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 +13 -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 +30 -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 +30 -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 +48 -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 +57 -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 +28 -0
- package/esm2020/controls/grid/grid.module.mjs +27 -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 +27 -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 +28 -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 +22 -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 +24 -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 +28 -0
- package/esm2020/controls/input/input.module.mjs +31 -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 +40 -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 +28 -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 +28 -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 +28 -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 +28 -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 +28 -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 +28 -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 +44 -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 +25 -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 +31 -0
- package/esm2020/controls/list/listbox.ngfactory.mjs +4 -0
- package/esm2020/controls/list/listbox.ngsummary.mjs +2 -0
- package/esm2020/controls/static/formcontainer.mjs +47 -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 +28 -0
- package/esm2020/controls/static/staticlabel.module.mjs +24 -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 +20 -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 +13 -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 +61 -0
- package/esm2020/controls/tinymce/tinymce.module.mjs +38 -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/tooltip/tooltip.mjs +40 -0
- package/esm2020/controls/tooltip/tooltip.module.mjs +22 -0
- package/esm2020/controls/tooltip/tooltip.module.ngfactory.mjs +4 -0
- package/esm2020/controls/tooltip/tooltip.module.ngsummary.mjs +2 -0
- package/esm2020/controls/tooltip/tooltip.ngfactory.mjs +4 -0
- package/esm2020/controls/tooltip/tooltip.ngsummary.mjs +2 -0
- package/esm2020/controls/treeview/ngtreeitemaction.mjs +15 -0
- package/esm2020/controls/treeview/ngtreeitemaction.ngfactory.mjs +4 -0
- package/esm2020/controls/treeview/ngtreeitemaction.ngsummary.mjs +2 -0
- package/esm2020/controls/treeview/treeview.mjs +14 -0
- package/esm2020/controls/treeview/treeview.module.mjs +24 -0
- package/esm2020/controls/treeview/treeview.module.ngfactory.mjs +4 -0
- package/esm2020/controls/treeview/treeview.module.ngsummary.mjs +2 -0
- package/esm2020/controls/treeview/treeview.ngfactory.mjs +4 -0
- package/esm2020/controls/treeview/treeview.ngsummary.mjs +2 -0
- package/esm2020/controls/treeview/treeviewchild.mjs +13 -0
- package/esm2020/controls/treeview/treeviewchild.ngfactory.mjs +4 -0
- package/esm2020/controls/treeview/treeviewchild.ngsummary.mjs +2 -0
- package/esm2020/controls/upload/upload.mjs +29 -0
- package/esm2020/controls/upload/upload.module.mjs +24 -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 +45 -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 +37 -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 +25 -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 +12 -0
- package/esm2020/controls/wizard/wizarditem.ngfactory.mjs +4 -0
- package/esm2020/controls/wizard/wizarditem.ngsummary.mjs +2 -0
- package/esm2020/public_api.mjs +66 -0
- package/esm2020/public_api.ngfactory.mjs +2 -0
- package/esm2020/public_api.ngsummary.mjs +2 -0
- package/esm2020/simpleangularcontrols-sac-bootstrap3.mjs +5 -0
- package/fesm2015/simpleangularcontrols-sac-bootstrap3.mjs +1532 -0
- package/fesm2015/simpleangularcontrols-sac-bootstrap3.mjs.map +1 -0
- package/fesm2020/simpleangularcontrols-sac-bootstrap3.mjs +1484 -0
- package/fesm2020/simpleangularcontrols-sac-bootstrap3.mjs.map +1 -0
- package/package.json +42 -0
- package/public_api.d.ts +61 -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-bootstrap3-13.0.0-rc.2.tgz +0 -0
- package/simpleangularcontrols-sac-bootstrap3.d.ts +6 -0
- package/simpleangularcontrols-sac-bootstrap3.d.ts.map +1 -0
|
@@ -0,0 +1,1484 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, NgModule, Input, Directive, HostBinding, forwardRef, Host, Optional, ContentChildren, ComponentFactoryResolver, Injectable, Inject, SkipSelf, TemplateRef, ContentChild } from '@angular/core';
|
|
3
|
+
import { SacButtonCommon, SacDialogCommon, SacFormCommon, SacCheckboxCommon, SacRadiobuttonsCommon, SacRadiobuttonCommon, SacDropdownCommon, SacDropdownOptionCommon, SacListboxCommon, SACCommonListboxOptionModule, SacValidationSummaryCommon, SacTabItemCommon, SacTabCommon, SacTooltipCommon, SacInputCommon, SacInputAreaCommon, SacInputCurrencyCommon, SacInputDecimalCommon, SacInputEmailCommon, SacInputIntegerCommon, SacInputPasswordCommon, SacInputSearchCommon, SacDateSelectorCommon, SacDateCommon, SacDateTimeCommon, SacTimeCommon, SacTinyMceCommon, SacStaticLabelCommon, SacStaticFormContainerCommon, SacWizardItemCommon, SacWizardCommon, SacUploadSingleCommon, SacUploadMultipleCommon, SacConfirmCommon, ServiceConfirmCommon, isDefined, SacConfirmButton, SacPagingCommon, SacGridCommon, SacGridColumnCommon, SacGridColumnBaseCommon, SacGridButtonCommon, SacGridColumnActionCommon, SacGridImageCommon, SacTreeViewChildCommon, SacTreeViewCommon, SacTreeItemActionCommon } from '@simpleangularcontrols/sac-common';
|
|
4
|
+
import * as i2 from '@angular/common';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
import * as i3 from '@angular/forms';
|
|
7
|
+
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ControlContainer, NgForm } from '@angular/forms';
|
|
8
|
+
import * as moment_ from 'moment';
|
|
9
|
+
import * as i4 from 'angular-imask';
|
|
10
|
+
import { IMaskModule } from 'angular-imask';
|
|
11
|
+
import * as i2$1 from '@tinymce/tinymce-angular';
|
|
12
|
+
import { EditorModule } from '@tinymce/tinymce-angular';
|
|
13
|
+
|
|
14
|
+
class SacButtonComponent extends SacButtonCommon {
|
|
15
|
+
}
|
|
16
|
+
SacButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
SacButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacButtonComponent, selector: "sac-button", usesInheritance: true, ngImport: i0, template: "<a\r\n [id]=\"name\"\r\n class=\"btn\"\r\n [class.btn-primary]=\"role === 'primary'\"\r\n [class.btn-secondary]=\"role === 'secondary'\"\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-default]=\"role === 'default'\"\r\n [class.btn-link]=\"role === 'link'\"\r\n [attr.disabled]=\"_isdisabled ? 'disabled' : null\"\r\n (click)=\"buttonClick()\"\r\n>\r\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" style=\"margin-right: 0.5rem\"></i>\r\n {{text}}\r\n</a>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacButtonComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'sac-button', template: "<a\r\n [id]=\"name\"\r\n class=\"btn\"\r\n [class.btn-primary]=\"role === 'primary'\"\r\n [class.btn-secondary]=\"role === 'secondary'\"\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-default]=\"role === 'default'\"\r\n [class.btn-link]=\"role === 'link'\"\r\n [attr.disabled]=\"_isdisabled ? 'disabled' : null\"\r\n (click)=\"buttonClick()\"\r\n>\r\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" style=\"margin-right: 0.5rem\"></i>\r\n {{text}}\r\n</a>\r\n" }]
|
|
21
|
+
}] });
|
|
22
|
+
|
|
23
|
+
class SACBootstrap3ButtonModule {
|
|
24
|
+
}
|
|
25
|
+
SACBootstrap3ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
26
|
+
SACBootstrap3ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ButtonModule, declarations: [SacButtonComponent], imports: [CommonModule], exports: [SacButtonComponent] });
|
|
27
|
+
SACBootstrap3ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ButtonModule, imports: [[
|
|
28
|
+
CommonModule
|
|
29
|
+
]] });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ButtonModule, decorators: [{
|
|
31
|
+
type: NgModule,
|
|
32
|
+
args: [{
|
|
33
|
+
declarations: [SacButtonComponent],
|
|
34
|
+
imports: [
|
|
35
|
+
CommonModule
|
|
36
|
+
],
|
|
37
|
+
exports: [SacButtonComponent]
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
|
|
41
|
+
class SacDialogComponent extends SacDialogCommon {
|
|
42
|
+
constructor(el, cdRef) {
|
|
43
|
+
super(cdRef);
|
|
44
|
+
//#region Bootstrap 3 Spezifische Properites
|
|
45
|
+
this.zindex = 20002;
|
|
46
|
+
this._lastDialogMarginTop = 0;
|
|
47
|
+
this.element = el.nativeElement;
|
|
48
|
+
}
|
|
49
|
+
// Margin Top für Center Position des Dialogs berechnen
|
|
50
|
+
get dialogMarginTop() {
|
|
51
|
+
let result = 0;
|
|
52
|
+
// ContentPlaceholder kann NULL/UNDEFINED sein wenn Dialog nicht angezeigt wird
|
|
53
|
+
if (this.dialogElement !== null && this.dialogElement !== undefined) {
|
|
54
|
+
result = (this.dialogElement.nativeElement.clientHeight / 2) * -1;
|
|
55
|
+
}
|
|
56
|
+
// Change Detection ausführen, falls Wert nach Rendering noch geändert hat. Kann durch HTML Content / Zeilenumbrüche usw. ausgelöst werden.
|
|
57
|
+
if (this._lastDialogMarginTop !== result) {
|
|
58
|
+
this._lastDialogMarginTop = result;
|
|
59
|
+
this.ChangeDetector.detectChanges();
|
|
60
|
+
}
|
|
61
|
+
return result;
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
ngOnInit() {
|
|
65
|
+
// Element an Body für korrektes Styling unter Bootstrap 3 verschieben
|
|
66
|
+
document.body.appendChild(this.element);
|
|
67
|
+
}
|
|
68
|
+
ngOnDestroy() {
|
|
69
|
+
this.hide();
|
|
70
|
+
if (document.body.contains(this.element)) {
|
|
71
|
+
document.body.removeChild(this.element);
|
|
72
|
+
}
|
|
73
|
+
super.ngOnDestroy();
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
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 });
|
|
77
|
+
SacDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDialogComponent, selector: "sac-dialog", inputs: { zindex: "zindex" }, usesInheritance: true, ngImport: i0, template: "<div [id]=\"name\" *ngIf=\"_show\" [ngStyle]=\"{'z-index': zindex}\">\r\n <div class=\"modal in\" style=\"display: block;\" tabindex=\"-1\" role=\"dialog\" #dialog>\r\n <div class=\"modal-dialog\" role=\"document\" [style.width]=\"width\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\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 <span class=\"modal-title\">{{title}}</span>\r\n </div>\r\n <div class=\"modal-body\">\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>\r\n<div class=\"modal-backdrop in\" *ngIf=\"_show && backdrop\" #backdrop></div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDialogComponent, decorators: [{
|
|
79
|
+
type: Component,
|
|
80
|
+
args: [{ selector: 'sac-dialog', template: "<div [id]=\"name\" *ngIf=\"_show\" [ngStyle]=\"{'z-index': zindex}\">\r\n <div class=\"modal in\" style=\"display: block;\" tabindex=\"-1\" role=\"dialog\" #dialog>\r\n <div class=\"modal-dialog\" role=\"document\" [style.width]=\"width\">\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\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 <span class=\"modal-title\">{{title}}</span>\r\n </div>\r\n <div class=\"modal-body\">\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>\r\n<div class=\"modal-backdrop in\" *ngIf=\"_show && backdrop\" #backdrop></div>\r\n" }]
|
|
81
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { zindex: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}] } });
|
|
84
|
+
|
|
85
|
+
class SACBootstrap3DialogModule {
|
|
86
|
+
}
|
|
87
|
+
SACBootstrap3DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
88
|
+
SACBootstrap3DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DialogModule, declarations: [SacDialogComponent], imports: [CommonModule], exports: [SacDialogComponent] });
|
|
89
|
+
SACBootstrap3DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DialogModule, imports: [[
|
|
90
|
+
CommonModule
|
|
91
|
+
]] });
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DialogModule, decorators: [{
|
|
93
|
+
type: NgModule,
|
|
94
|
+
args: [{
|
|
95
|
+
declarations: [SacDialogComponent],
|
|
96
|
+
imports: [
|
|
97
|
+
CommonModule
|
|
98
|
+
],
|
|
99
|
+
exports: [SacDialogComponent]
|
|
100
|
+
}]
|
|
101
|
+
}] });
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Erweiterung / Hooking für automatismen in Formular. Wird als Container für alle Controls benötigt.
|
|
105
|
+
*
|
|
106
|
+
* @example Beispiel über Div Container
|
|
107
|
+
*
|
|
108
|
+
* <div ngForm></div>
|
|
109
|
+
*
|
|
110
|
+
* @example Beispiel über Form Tag
|
|
111
|
+
*
|
|
112
|
+
* <form></form>
|
|
113
|
+
*/
|
|
114
|
+
/* eslint @angular-eslint/directive-selector: 0 */
|
|
115
|
+
class SacFormDirective extends SacFormCommon {
|
|
116
|
+
/**
|
|
117
|
+
* Konstruktor
|
|
118
|
+
* @param form Instanz von NgForm für eigene automatische Formular Logik
|
|
119
|
+
*/
|
|
120
|
+
constructor(form) {
|
|
121
|
+
super(form);
|
|
122
|
+
/**
|
|
123
|
+
* Setzt die Standard CSS Klasse für auf dem Form Container
|
|
124
|
+
*/
|
|
125
|
+
this.cssClassForm = true;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Setzt die CSS Klasse 'form-horizontal' wenn die Orientation auf Horizontal eingestellt ist
|
|
129
|
+
*/
|
|
130
|
+
get orientientationHorizontal() { return this.getOrientation() === 'horizontal'; }
|
|
131
|
+
/**
|
|
132
|
+
* Setzt die CSS Klasse 'form-vertical' wenn die Orientation auf Vertical eingestellt ist
|
|
133
|
+
*/
|
|
134
|
+
get orientientationVertical() { return this.getOrientation() === 'vertical'; }
|
|
135
|
+
}
|
|
136
|
+
SacFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacFormDirective, deps: [{ token: i3.NgForm }], target: i0.ɵɵFactoryTarget.Directive });
|
|
137
|
+
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 });
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacFormDirective, decorators: [{
|
|
139
|
+
type: Directive,
|
|
140
|
+
args: [{
|
|
141
|
+
selector: 'form:not([ngNoForm]):not([formGroup]),[ngForm]',
|
|
142
|
+
exportAs: 'sacform'
|
|
143
|
+
}]
|
|
144
|
+
}], ctorParameters: function () { return [{ type: i3.NgForm }]; }, propDecorators: { cssClassForm: [{
|
|
145
|
+
type: HostBinding,
|
|
146
|
+
args: ['class.form']
|
|
147
|
+
}], orientientationHorizontal: [{
|
|
148
|
+
type: HostBinding,
|
|
149
|
+
args: ['class.form-horizontal']
|
|
150
|
+
}], orientientationVertical: [{
|
|
151
|
+
type: HostBinding,
|
|
152
|
+
args: ['class.form-vertical']
|
|
153
|
+
}] } });
|
|
154
|
+
|
|
155
|
+
class SacCheckboxComponent extends SacCheckboxCommon {
|
|
156
|
+
constructor(parent, injector) {
|
|
157
|
+
super(parent, injector);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
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 });
|
|
161
|
+
SacCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacCheckboxComponent, selector: "sac-checkbox", providers: [
|
|
162
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacCheckboxComponent },
|
|
163
|
+
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => SacCheckboxComponent), multi: true }
|
|
164
|
+
], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div class=\"checkbox\">\r\n <label>\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"checkbox\"\r\n class=\"visible-checkbox\"\r\n [checked]=\"value\"\r\n [disabled]=\"isdisabled\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue($event.target.checked)\"\r\n />\r\n <ng-container *ngIf=\"checkboxtext\"> <span>{{checkboxtext}}</span></ng-container>\r\n </label>\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"] }] });
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacCheckboxComponent, decorators: [{
|
|
166
|
+
type: Component,
|
|
167
|
+
args: [{ selector: 'sac-checkbox', providers: [
|
|
168
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacCheckboxComponent },
|
|
169
|
+
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => SacCheckboxComponent), multi: true }
|
|
170
|
+
], template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div class=\"checkbox\">\r\n <label>\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"checkbox\"\r\n class=\"visible-checkbox\"\r\n [checked]=\"value\"\r\n [disabled]=\"isdisabled\"\r\n (blur)=\"onTouch()\"\r\n (change)=\"setValue($event.target.checked)\"\r\n />\r\n <ng-container *ngIf=\"checkboxtext\"> <span>{{checkboxtext}}</span></ng-container>\r\n </label>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
171
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
172
|
+
type: Host
|
|
173
|
+
}, {
|
|
174
|
+
type: Optional
|
|
175
|
+
}] }, { type: i0.Injector }]; } });
|
|
176
|
+
|
|
177
|
+
class SacRadiobuttonsComponent extends SacRadiobuttonsCommon {
|
|
178
|
+
constructor(parent, injector) {
|
|
179
|
+
super(parent, injector);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
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 });
|
|
183
|
+
SacRadiobuttonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacRadiobuttonsComponent, selector: "sac-radiobuttons", providers: [
|
|
184
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SacRadiobuttonsComponent), multi: true },
|
|
185
|
+
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => SacRadiobuttonsComponent), multi: true }
|
|
186
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\">\r\n <label *ngIf=\"disablelabel === false\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div>\r\n <ng-content></ng-content>\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"] }] });
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacRadiobuttonsComponent, decorators: [{
|
|
188
|
+
type: Component,
|
|
189
|
+
args: [{ selector: 'sac-radiobuttons', providers: [
|
|
190
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SacRadiobuttonsComponent), multi: true },
|
|
191
|
+
{ provide: NG_VALIDATORS, useExisting: forwardRef(() => SacRadiobuttonsComponent), multi: true }
|
|
192
|
+
], template: "<div class=\"form-group\">\r\n <label *ngIf=\"disablelabel === false\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div>\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
193
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
194
|
+
type: Host
|
|
195
|
+
}, {
|
|
196
|
+
type: Optional
|
|
197
|
+
}] }, { type: i0.Injector }]; } });
|
|
198
|
+
|
|
199
|
+
class SacRadiobuttonComponent extends SacRadiobuttonCommon {
|
|
200
|
+
constructor(sacRadioButtons) {
|
|
201
|
+
super(sacRadioButtons);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
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 });
|
|
205
|
+
SacRadiobuttonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacRadiobuttonComponent, selector: "sac-radiobutton", usesInheritance: true, ngImport: i0, template: "<div class=\"radio\" *ngIf=\"hidden===false\">\r\n <label for=\"{{getName}}_{{getIndex}}\">\r\n <input\r\n id=\"{{getName}}_{{getIndex}}\"\r\n name=\"{{getName}}\"\r\n type=\"radio\"\r\n [value]=\"value\"\r\n [checked]=\"checked\"\r\n (change)=\"ChangeEvent()\"\r\n [disabled]=\"isDisabled\"\r\n />\r\n <ng-template\r\n *ngTemplateOutlet=\"labeltemplate || defaultItemLabelTemplate;context:{ label: label }\"\r\n >\r\n </ng-template>\r\n </label>\r\n</div>\r\n\r\n<ng-template #defaultItemLabelTemplate let-label=\"label\"\r\n > <span>{{label}}</span></ng-template\r\n>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacRadiobuttonComponent, decorators: [{
|
|
207
|
+
type: Component,
|
|
208
|
+
args: [{ selector: 'sac-radiobutton', template: "<div class=\"radio\" *ngIf=\"hidden===false\">\r\n <label for=\"{{getName}}_{{getIndex}}\">\r\n <input\r\n id=\"{{getName}}_{{getIndex}}\"\r\n name=\"{{getName}}\"\r\n type=\"radio\"\r\n [value]=\"value\"\r\n [checked]=\"checked\"\r\n (change)=\"ChangeEvent()\"\r\n [disabled]=\"isDisabled\"\r\n />\r\n <ng-template\r\n *ngTemplateOutlet=\"labeltemplate || defaultItemLabelTemplate;context:{ label: label }\"\r\n >\r\n </ng-template>\r\n </label>\r\n</div>\r\n\r\n<ng-template #defaultItemLabelTemplate let-label=\"label\"\r\n > <span>{{label}}</span></ng-template\r\n>\r\n" }]
|
|
209
|
+
}], ctorParameters: function () { return [{ type: SacRadiobuttonsComponent, decorators: [{
|
|
210
|
+
type: Host
|
|
211
|
+
}] }]; } });
|
|
212
|
+
|
|
213
|
+
class SACBootstrap3CheckboxModule {
|
|
214
|
+
}
|
|
215
|
+
SACBootstrap3CheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
216
|
+
SACBootstrap3CheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3CheckboxModule, declarations: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent], imports: [CommonModule], exports: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent] });
|
|
217
|
+
SACBootstrap3CheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3CheckboxModule, imports: [[
|
|
218
|
+
CommonModule
|
|
219
|
+
]] });
|
|
220
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3CheckboxModule, decorators: [{
|
|
221
|
+
type: NgModule,
|
|
222
|
+
args: [{
|
|
223
|
+
declarations: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent],
|
|
224
|
+
imports: [
|
|
225
|
+
CommonModule
|
|
226
|
+
],
|
|
227
|
+
exports: [SacCheckboxComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent]
|
|
228
|
+
}]
|
|
229
|
+
}] });
|
|
230
|
+
|
|
231
|
+
class SacDropdownComponent extends SacDropdownCommon {
|
|
232
|
+
constructor(parent, injector, _renderer, _elementRef) {
|
|
233
|
+
super(parent, injector, _renderer, _elementRef);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
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 });
|
|
237
|
+
SacDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDropdownComponent, selector: "sac-dropdown", providers: [
|
|
238
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacDropdownComponent },
|
|
239
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacDropdownComponent) }
|
|
240
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <select #dropdownitem id=\"{{name}}\" name=\"{{name}}\" class=\"form-control\"\r\n (blur)=\"onTouch()\" (change)=\"setValue(dropdownitem.value)\" [disabled]=\"isdisabled\">\r\n\r\n <option *ngIf=\"emptylabel !== ''\" [ngValue]=\"emptyvalue\">{{emptylabel}}</option>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option *ngFor=\"let item of options\" [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\">\r\n </ng-template>\r\n\r\n </option>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup *ngFor=\"let group of options\" [attr.label]=\"group[grouplabel]\">\r\n <option *ngFor=\"let item of group[groupitems]\" [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\">\r\n </ng-template>\r\n\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n\r\n\r\n </select>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 i3.NgSelectOption; }), selector: "option", inputs: ["ngValue", "value"] }, { type: i0.forwardRef(function () { return i3.ɵNgSelectMultipleOption; }), selector: "option", inputs: ["ngValue", "value"] }, { type: i0.forwardRef(function () { return SacDropdownOptionDirective; }), selector: "option,[sacOption]" }, { 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; }) } });
|
|
241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropdownComponent, decorators: [{
|
|
242
|
+
type: Component,
|
|
243
|
+
args: [{ selector: 'sac-dropdown', providers: [
|
|
244
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacDropdownComponent },
|
|
245
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacDropdownComponent) }
|
|
246
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <select #dropdownitem id=\"{{name}}\" name=\"{{name}}\" class=\"form-control\"\r\n (blur)=\"onTouch()\" (change)=\"setValue(dropdownitem.value)\" [disabled]=\"isdisabled\">\r\n\r\n <option *ngIf=\"emptylabel !== ''\" [ngValue]=\"emptyvalue\">{{emptylabel}}</option>\r\n\r\n <ng-content></ng-content>\r\n\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option *ngFor=\"let item of options\" [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\">\r\n </ng-template>\r\n\r\n </option>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup *ngFor=\"let group of options\" [attr.label]=\"group[grouplabel]\">\r\n <option *ngFor=\"let item of group[groupitems]\" [ngValue]=\"optionvalue ? item[optionvalue] : item\"\r\n [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel], item: item }\">\r\n </ng-template>\r\n\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n\r\n\r\n </select>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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" }]
|
|
247
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
248
|
+
type: Host
|
|
249
|
+
}, {
|
|
250
|
+
type: Optional
|
|
251
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
|
|
252
|
+
class SacDropdownOptionDirective extends SacDropdownOptionCommon {
|
|
253
|
+
constructor(_elementRef, _renderer, dropdownList) {
|
|
254
|
+
super(_elementRef, _renderer, dropdownList);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
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 });
|
|
258
|
+
SacDropdownOptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacDropdownOptionDirective, selector: "option,[sacOption]", usesInheritance: true, ngImport: i0 });
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDropdownOptionDirective, decorators: [{
|
|
260
|
+
type: Directive,
|
|
261
|
+
args: [{ selector: 'option,[sacOption]' }]
|
|
262
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: SacDropdownComponent, decorators: [{
|
|
263
|
+
type: Optional
|
|
264
|
+
}, {
|
|
265
|
+
type: Host
|
|
266
|
+
}] }]; } });
|
|
267
|
+
|
|
268
|
+
class SacListboxComponent extends SacListboxCommon {
|
|
269
|
+
constructor(parent, injector) {
|
|
270
|
+
super(parent, injector);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
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 });
|
|
274
|
+
SacListboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacListboxComponent, selector: "sac-listbox", providers: [
|
|
275
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacListboxComponent },
|
|
276
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacListboxComponent) }
|
|
277
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <!-- <div class=\"col-12\" [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"> -->\r\n <select multiple id=\"{{name}}\" name=\"{{name}}\" class=\"form-control\" [size]=\"rowsize\"\r\n (blur)=\"onTouch()\" (change)=\"getSelectedItems($event.target)\" [disabled]=\"isdisabled\">\r\n <ng-content></ng-content>\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option *ngFor=\"let option of options\" [value]=\"option[optionvalue]\" [disabled]=\"optionenabled !== '' && option[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: option[optionlabel] }\">\r\n </ng-template>\r\n\r\n </option>\r\n </ng-container>\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup *ngFor=\"let option of options\" [attr.label]=\"option[grouplabel]\">\r\n <option *ngFor=\"let item of option[groupitems]\" [value]=\"item[optionvalue]\" [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel] }\">\r\n </ng-template>\r\n\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: SacDropdownOptionDirective, selector: "option,[sacOption]" }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i2.AsyncPipe } });
|
|
278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacListboxComponent, decorators: [{
|
|
279
|
+
type: Component,
|
|
280
|
+
args: [{ selector: 'sac-listbox', providers: [
|
|
281
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacListboxComponent },
|
|
282
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacListboxComponent) }
|
|
283
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <!-- <div class=\"col-12\" [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"> -->\r\n <select multiple id=\"{{name}}\" name=\"{{name}}\" class=\"form-control\" [size]=\"rowsize\"\r\n (blur)=\"onTouch()\" (change)=\"getSelectedItems($event.target)\" [disabled]=\"isdisabled\">\r\n <ng-content></ng-content>\r\n <ng-container *ngIf=\"groupitems === ''\">\r\n <option *ngFor=\"let option of options\" [value]=\"option[optionvalue]\" [disabled]=\"optionenabled !== '' && option[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: option[optionlabel] }\">\r\n </ng-template>\r\n\r\n </option>\r\n </ng-container>\r\n <ng-container *ngIf=\"groupitems !== ''\">\r\n <optgroup *ngFor=\"let option of options\" [attr.label]=\"option[grouplabel]\">\r\n <option *ngFor=\"let item of option[groupitems]\" [value]=\"item[optionvalue]\" [disabled]=\"optionenabled !== '' && item[optionenabled] === false\">\r\n\r\n <ng-template *ngTemplateOutlet=\"optionlabeltemplate || defaultItemLabelTemplate;context:{ label: item[optionlabel] }\">\r\n </ng-template>\r\n\r\n </option>\r\n </optgroup>\r\n </ng-container>\r\n </select>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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" }]
|
|
284
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
285
|
+
type: Host
|
|
286
|
+
}, {
|
|
287
|
+
type: Optional
|
|
288
|
+
}] }, { type: i0.Injector }]; } });
|
|
289
|
+
|
|
290
|
+
class SACBootstrap3ListModule {
|
|
291
|
+
}
|
|
292
|
+
SACBootstrap3ListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
293
|
+
SACBootstrap3ListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ListModule, declarations: [SacDropdownComponent, SacDropdownOptionDirective, SacListboxComponent], imports: [CommonModule, SACCommonListboxOptionModule, FormsModule], exports: [SacDropdownComponent, SacDropdownOptionDirective, SacListboxComponent] });
|
|
294
|
+
SACBootstrap3ListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ListModule, imports: [[
|
|
295
|
+
CommonModule, SACCommonListboxOptionModule, FormsModule
|
|
296
|
+
]] });
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ListModule, decorators: [{
|
|
298
|
+
type: NgModule,
|
|
299
|
+
args: [{
|
|
300
|
+
declarations: [SacDropdownComponent, SacDropdownOptionDirective, SacListboxComponent],
|
|
301
|
+
imports: [
|
|
302
|
+
CommonModule, SACCommonListboxOptionModule, FormsModule
|
|
303
|
+
],
|
|
304
|
+
exports: [SacDropdownComponent, SacDropdownOptionDirective, SacListboxComponent]
|
|
305
|
+
}]
|
|
306
|
+
}] });
|
|
307
|
+
|
|
308
|
+
class SacValidationSummaryComponent extends SacValidationSummaryCommon {
|
|
309
|
+
constructor(parent, injector) {
|
|
310
|
+
super(parent, injector);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
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 });
|
|
314
|
+
SacValidationSummaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacValidationSummaryComponent, selector: "sac-validationsummary", providers: [
|
|
315
|
+
{
|
|
316
|
+
provide: NG_VALUE_ACCESSOR,
|
|
317
|
+
multi: true,
|
|
318
|
+
useExisting: SacValidationSummaryComponent
|
|
319
|
+
}
|
|
320
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"alert alert-danger\" role=\"alert\" *ngIf=\"hasErrors\" [id]=\"name\">\r\n <ul>\r\n <li *ngFor=\"let error of formErrors\">\r\n {{error | async}}\r\n </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: [{ provide: ControlContainer, useExisting: SacFormDirective }] });
|
|
321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacValidationSummaryComponent, decorators: [{
|
|
322
|
+
type: Component,
|
|
323
|
+
args: [{ selector: 'sac-validationsummary', providers: [
|
|
324
|
+
{
|
|
325
|
+
provide: NG_VALUE_ACCESSOR,
|
|
326
|
+
multi: true,
|
|
327
|
+
useExisting: SacValidationSummaryComponent
|
|
328
|
+
}
|
|
329
|
+
], viewProviders: [{ provide: ControlContainer, useExisting: SacFormDirective }], template: "<div class=\"alert alert-danger\" role=\"alert\" *ngIf=\"hasErrors\" [id]=\"name\">\r\n <ul>\r\n <li *ngFor=\"let error of formErrors\">\r\n {{error | async}}\r\n </li>\r\n </ul>\r\n</div>\r\n" }]
|
|
330
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
331
|
+
type: Host
|
|
332
|
+
}, {
|
|
333
|
+
type: Optional
|
|
334
|
+
}] }, { type: i0.Injector }]; } });
|
|
335
|
+
|
|
336
|
+
class SACBootstrap3ValidationSummaryModule {
|
|
337
|
+
}
|
|
338
|
+
SACBootstrap3ValidationSummaryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ValidationSummaryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
339
|
+
SACBootstrap3ValidationSummaryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ValidationSummaryModule, declarations: [SacValidationSummaryComponent], imports: [CommonModule], exports: [SacValidationSummaryComponent] });
|
|
340
|
+
SACBootstrap3ValidationSummaryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ValidationSummaryModule, imports: [[
|
|
341
|
+
CommonModule
|
|
342
|
+
]] });
|
|
343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ValidationSummaryModule, decorators: [{
|
|
344
|
+
type: NgModule,
|
|
345
|
+
args: [{
|
|
346
|
+
declarations: [SacValidationSummaryComponent],
|
|
347
|
+
imports: [
|
|
348
|
+
CommonModule
|
|
349
|
+
],
|
|
350
|
+
exports: [SacValidationSummaryComponent]
|
|
351
|
+
}]
|
|
352
|
+
}] });
|
|
353
|
+
|
|
354
|
+
class SacTabItemComponent extends SacTabItemCommon {
|
|
355
|
+
}
|
|
356
|
+
SacTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
357
|
+
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\"\r\n *ngIf=\"(unloadwhenhidden === true && active === true) || unloadwhenhidden === false\" class=\"tab-pane\">\r\n <ng-template [ngTemplateOutlet]=\"templateRef\"></ng-template>\r\n</div>\r\n\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabItemComponent, decorators: [{
|
|
359
|
+
type: Component,
|
|
360
|
+
args: [{ selector: 'sac-tabitem', template: "<div [id]=\"id\" [hidden]=\"unloadwhenhidden === false && active === false\"\r\n *ngIf=\"(unloadwhenhidden === true && active === true) || unloadwhenhidden === false\" class=\"tab-pane\">\r\n <ng-template [ngTemplateOutlet]=\"templateRef\"></ng-template>\r\n</div>\r\n\r\n" }]
|
|
361
|
+
}] });
|
|
362
|
+
|
|
363
|
+
class SacTabComponent extends SacTabCommon {
|
|
364
|
+
tabItems() {
|
|
365
|
+
return this._tabItems.toArray();
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
SacTabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
369
|
+
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 [id]=\"name\" class=\"content-nav-tabs\">\r\n <ul class=\"nav nav-tabs\" role=\"tablist\">\r\n <li\r\n *ngFor=\"let item of _tabItems\"\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 >\r\n <a [id]=\"GetTabItemButtonId(item._id)\" role=\"tab\">\r\n <ng-template\r\n *ngTemplateOutlet=\"tablabeltemplate || defaultTabLabelTemplate;context:{ label: item.label }\"\r\n >\r\n </ng-template>\r\n </a>\r\n </li>\r\n </ul>\r\n</div>\r\n\r\n<!-- Tab panes -->\r\n<div class=\"tab-content\" style=\"margin-top: 15px\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #defaultTabLabelTemplate let-label=\"label\">\r\n {{label}}\r\n</ng-template>\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"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTabComponent, decorators: [{
|
|
371
|
+
type: Component,
|
|
372
|
+
args: [{ selector: 'sac-tab', template: "<!-- Nav tabs -->\r\n<div [id]=\"name\" class=\"content-nav-tabs\">\r\n <ul class=\"nav nav-tabs\" role=\"tablist\">\r\n <li\r\n *ngFor=\"let item of _tabItems\"\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 >\r\n <a [id]=\"GetTabItemButtonId(item._id)\" role=\"tab\">\r\n <ng-template\r\n *ngTemplateOutlet=\"tablabeltemplate || defaultTabLabelTemplate;context:{ label: item.label }\"\r\n >\r\n </ng-template>\r\n </a>\r\n </li>\r\n </ul>\r\n</div>\r\n\r\n<!-- Tab panes -->\r\n<div class=\"tab-content\" style=\"margin-top: 15px\">\r\n <ng-content></ng-content>\r\n</div>\r\n\r\n<ng-template #defaultTabLabelTemplate let-label=\"label\">\r\n {{label}}\r\n</ng-template>\r\n" }]
|
|
373
|
+
}], propDecorators: { _tabItems: [{
|
|
374
|
+
type: ContentChildren,
|
|
375
|
+
args: [SacTabItemComponent]
|
|
376
|
+
}] } });
|
|
377
|
+
|
|
378
|
+
class SACBootstrap3TabsModule {
|
|
379
|
+
}
|
|
380
|
+
SACBootstrap3TabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
381
|
+
SACBootstrap3TabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TabsModule, declarations: [SacTabComponent, SacTabItemComponent], imports: [CommonModule], exports: [SacTabComponent, SacTabItemComponent] });
|
|
382
|
+
SACBootstrap3TabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TabsModule, imports: [[
|
|
383
|
+
CommonModule
|
|
384
|
+
]] });
|
|
385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TabsModule, decorators: [{
|
|
386
|
+
type: NgModule,
|
|
387
|
+
args: [{
|
|
388
|
+
declarations: [SacTabComponent, SacTabItemComponent],
|
|
389
|
+
imports: [
|
|
390
|
+
CommonModule
|
|
391
|
+
],
|
|
392
|
+
exports: [SacTabComponent, SacTabItemComponent]
|
|
393
|
+
}]
|
|
394
|
+
}] });
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Tooltip Komponente
|
|
398
|
+
*
|
|
399
|
+
* @example ToolTip Control
|
|
400
|
+
*
|
|
401
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
402
|
+
* <i class="tooltip"></i>
|
|
403
|
+
* </ngTooltip>
|
|
404
|
+
*
|
|
405
|
+
* @example ToolTip Control im Inline Mode. Style auf Icon kann auch in Klasse ausgelagert werden.
|
|
406
|
+
*
|
|
407
|
+
* <div class="form-inline">
|
|
408
|
+
* <ngInputSearch iconname="Suchen"></ngInputSearch>
|
|
409
|
+
* <ngTooltip tooltiptext="Mein Tooltip" [inlinemode]="true">
|
|
410
|
+
* <i class="tooltip" style="position: relative; left: 0; top: 3px; display: inline-block; margin-right: 10px;"></i>
|
|
411
|
+
* </ngTooltip>
|
|
412
|
+
* </div>
|
|
413
|
+
*
|
|
414
|
+
*/
|
|
415
|
+
class SacTooltipComponent extends SacTooltipCommon {
|
|
416
|
+
/**
|
|
417
|
+
* Konstrukor
|
|
418
|
+
* @param parent SacFormular Instanz
|
|
419
|
+
* @param injector Component Injector
|
|
420
|
+
*/
|
|
421
|
+
constructor(cdRef, ref) {
|
|
422
|
+
super(cdRef, ref);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
SacTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTooltipComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
426
|
+
SacTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTooltipComponent, selector: "sac-tooltip", usesInheritance: true, ngImport: i0, template: "<div [style.display]=\"inlinemode ? 'inline' : null\">\r\n <div #container (mouseenter)=\"ShowTooltip()\" (mouseleave)=\"HideTooltip()\" [style.display]=\"inlinemode ? 'inline' : null\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div *ngIf=\"IsTooltipVisible()\" [style.visibility]=\"IsTooltipContentVisible ? 'visible' : 'hidden'\" #tooltip class=\"tooltip in\" style=\"display: block;\"\r\n [style.left.px]=\"LeftPos\" [style.top.px]=\"TopPos\"\r\n [class.top]=\"GetTooltipPosition() === TooltipPosition.top\" [class.left]=\"GetTooltipPosition() === TooltipPosition.left\"\r\n [class.right]=\"GetTooltipPosition() === TooltipPosition.right\" [class.bottom]=\"GetTooltipPosition() === TooltipPosition.bottom\">\r\n <div class=\"tooltip-arrow\" style=\"top: 50%;\"></div>\r\n <div class=\"tooltip-inner\">\r\n {{tooltiptext}}\r\n </div>\r\n </div>\r\n</div>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTooltipComponent, decorators: [{
|
|
428
|
+
type: Component,
|
|
429
|
+
args: [{ selector: 'sac-tooltip', template: "<div [style.display]=\"inlinemode ? 'inline' : null\">\r\n <div #container (mouseenter)=\"ShowTooltip()\" (mouseleave)=\"HideTooltip()\" [style.display]=\"inlinemode ? 'inline' : null\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div *ngIf=\"IsTooltipVisible()\" [style.visibility]=\"IsTooltipContentVisible ? 'visible' : 'hidden'\" #tooltip class=\"tooltip in\" style=\"display: block;\"\r\n [style.left.px]=\"LeftPos\" [style.top.px]=\"TopPos\"\r\n [class.top]=\"GetTooltipPosition() === TooltipPosition.top\" [class.left]=\"GetTooltipPosition() === TooltipPosition.left\"\r\n [class.right]=\"GetTooltipPosition() === TooltipPosition.right\" [class.bottom]=\"GetTooltipPosition() === TooltipPosition.bottom\">\r\n <div class=\"tooltip-arrow\" style=\"top: 50%;\"></div>\r\n <div class=\"tooltip-inner\">\r\n {{tooltiptext}}\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
430
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }]; } });
|
|
431
|
+
|
|
432
|
+
class SACBootstrap3TooltipModule {
|
|
433
|
+
}
|
|
434
|
+
SACBootstrap3TooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
435
|
+
SACBootstrap3TooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TooltipModule, declarations: [SacTooltipComponent], imports: [CommonModule, CommonModule], exports: [SacTooltipComponent] });
|
|
436
|
+
SACBootstrap3TooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TooltipModule, imports: [[
|
|
437
|
+
CommonModule, CommonModule
|
|
438
|
+
]] });
|
|
439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TooltipModule, decorators: [{
|
|
440
|
+
type: NgModule,
|
|
441
|
+
args: [{
|
|
442
|
+
declarations: [SacTooltipComponent],
|
|
443
|
+
imports: [
|
|
444
|
+
CommonModule, CommonModule
|
|
445
|
+
],
|
|
446
|
+
exports: [SacTooltipComponent]
|
|
447
|
+
}]
|
|
448
|
+
}] });
|
|
449
|
+
|
|
450
|
+
class SacInputComponent extends SacInputCommon {
|
|
451
|
+
constructor(parent, injector) {
|
|
452
|
+
super(parent, injector);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
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 });
|
|
456
|
+
SacInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputComponent, selector: "sac-input", providers: [
|
|
457
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputComponent },
|
|
458
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputComponent) }
|
|
459
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\" [ngClass]=\"{'language-specific': islanguagespecific }\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 } });
|
|
460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputComponent, decorators: [{
|
|
461
|
+
type: Component,
|
|
462
|
+
args: [{ selector: 'sac-input', providers: [
|
|
463
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputComponent },
|
|
464
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputComponent) }
|
|
465
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\" [ngClass]=\"{'language-specific': islanguagespecific }\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n </div>\r\n" }]
|
|
466
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
467
|
+
type: Host
|
|
468
|
+
}, {
|
|
469
|
+
type: Optional
|
|
470
|
+
}] }, { type: i0.Injector }]; } });
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Komponente für TextArea
|
|
474
|
+
*
|
|
475
|
+
* @example
|
|
476
|
+
*
|
|
477
|
+
* <ngInputArea name="ngInputArea" label="My Label" placeholder='i am input area' [isrequired]="true" customCssClass="myClass1 myClass3"></ngInputArea>
|
|
478
|
+
*
|
|
479
|
+
* @example
|
|
480
|
+
*
|
|
481
|
+
* <ngInputArea name="ngInputArea" label="My Label" height="150px" placeholder='i am input area' [islanguagespecific]="true">
|
|
482
|
+
*
|
|
483
|
+
*/
|
|
484
|
+
class SacInputAreaComponent extends SacInputAreaCommon {
|
|
485
|
+
constructor(parent, injector) {
|
|
486
|
+
super(parent, injector);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
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 });
|
|
490
|
+
SacInputAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputAreaComponent, selector: "sac-inputarea", providers: [
|
|
491
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputAreaComponent },
|
|
492
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputAreaComponent) }
|
|
493
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <textarea id=\"{{name}}\" name=\"{{name}}\" type=\"\" class=\"form-control\" [value]=\"value\" [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\" [attr.rows]=\"rows\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [class.validation-error]=\"invalid && (dirty || touched)\"\r\n [class.language-specific]=\"islanguagespecific\"\r\n [class.required]=\"isrequired\"\r\n [disabled]=\"isdisabled\" [readonly]=\"readonly\"></textarea>\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n\r\n", directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe } });
|
|
494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputAreaComponent, decorators: [{
|
|
495
|
+
type: Component,
|
|
496
|
+
args: [{ selector: 'sac-inputarea', providers: [
|
|
497
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputAreaComponent },
|
|
498
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputAreaComponent) }
|
|
499
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <textarea id=\"{{name}}\" name=\"{{name}}\" type=\"\" class=\"form-control\" [value]=\"value\" [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\" [attr.rows]=\"rows\"\r\n [class.is-invalid]=\"invalid && (dirty || touched)\"\r\n [class.validation-error]=\"invalid && (dirty || touched)\"\r\n [class.language-specific]=\"islanguagespecific\"\r\n [class.required]=\"isrequired\"\r\n [disabled]=\"isdisabled\" [readonly]=\"readonly\"></textarea>\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n\r\n" }]
|
|
500
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
501
|
+
type: Host
|
|
502
|
+
}, {
|
|
503
|
+
type: Optional
|
|
504
|
+
}] }, { type: i0.Injector }]; } });
|
|
505
|
+
|
|
506
|
+
class SacInputCurrencyComponent extends SacInputCurrencyCommon {
|
|
507
|
+
constructor(parent, injector) {
|
|
508
|
+
super(parent, injector);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
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 });
|
|
512
|
+
SacInputCurrencyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputCurrencyComponent, selector: "sac-inputcurrency", providers: [
|
|
513
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputCurrencyComponent },
|
|
514
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputCurrencyComponent) }
|
|
515
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"input-group\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"input-group-addon\">CHF</div>\r\n </div>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 } });
|
|
516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputCurrencyComponent, decorators: [{
|
|
517
|
+
type: Component,
|
|
518
|
+
args: [{ selector: 'sac-inputcurrency', providers: [
|
|
519
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputCurrencyComponent },
|
|
520
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputCurrencyComponent) }
|
|
521
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"input-group\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"input-group-addon\">CHF</div>\r\n </div>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n" }]
|
|
522
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
523
|
+
type: Host
|
|
524
|
+
}, {
|
|
525
|
+
type: Optional
|
|
526
|
+
}] }, { type: i0.Injector }]; } });
|
|
527
|
+
|
|
528
|
+
class SacInputDecimalComponent extends SacInputDecimalCommon {
|
|
529
|
+
constructor(parent, injector) {
|
|
530
|
+
super(parent, injector);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
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 });
|
|
534
|
+
SacInputDecimalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputDecimalComponent, selector: "sac-inputdecimal", providers: [
|
|
535
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputDecimalComponent },
|
|
536
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputDecimalComponent) }
|
|
537
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 } });
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputDecimalComponent, decorators: [{
|
|
539
|
+
type: Component,
|
|
540
|
+
args: [{ selector: 'sac-inputdecimal', providers: [
|
|
541
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputDecimalComponent },
|
|
542
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputDecimalComponent) }
|
|
543
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n (keypress)=\"onKeyPress($event)\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n" }]
|
|
544
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
545
|
+
type: Host
|
|
546
|
+
}, {
|
|
547
|
+
type: Optional
|
|
548
|
+
}] }, { type: i0.Injector }]; } });
|
|
549
|
+
|
|
550
|
+
class SacInputEmailComponent extends SacInputEmailCommon {
|
|
551
|
+
constructor(parent, injector) {
|
|
552
|
+
super(parent, injector);
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
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 });
|
|
556
|
+
SacInputEmailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputEmailComponent, selector: "sac-inputemail", providers: [
|
|
557
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputEmailComponent },
|
|
558
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputEmailComponent) }
|
|
559
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"input-group\">\r\n <div class=\"input-group-addon\">@</div>\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n autocomplete=\"email\" [attr.maxlength]=\"maxlength\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n </div>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 } });
|
|
560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputEmailComponent, decorators: [{
|
|
561
|
+
type: Component,
|
|
562
|
+
args: [{ selector: 'sac-inputemail', providers: [
|
|
563
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputEmailComponent },
|
|
564
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputEmailComponent) }
|
|
565
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"input-group\">\r\n <div class=\"input-group-addon\">@</div>\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n autocomplete=\"email\" [attr.maxlength]=\"maxlength\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n </div>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n" }]
|
|
566
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
567
|
+
type: Host
|
|
568
|
+
}, {
|
|
569
|
+
type: Optional
|
|
570
|
+
}] }, { type: i0.Injector }]; } });
|
|
571
|
+
|
|
572
|
+
class SacInputIntegerComponent extends SacInputIntegerCommon {
|
|
573
|
+
constructor(parent, injector) {
|
|
574
|
+
super(parent, injector);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
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 });
|
|
578
|
+
SacInputIntegerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputIntegerComponent, selector: "sac-inputinteger", providers: [
|
|
579
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputIntegerComponent },
|
|
580
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputIntegerComponent) }
|
|
581
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\" [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\" (keypress)=\"onKeyPress($event)\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 } });
|
|
582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputIntegerComponent, decorators: [{
|
|
583
|
+
type: Component,
|
|
584
|
+
args: [{ selector: 'sac-inputinteger', providers: [
|
|
585
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputIntegerComponent },
|
|
586
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputIntegerComponent) }
|
|
587
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\" [value]=\"value\"\r\n [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\" (keypress)=\"onKeyPress($event)\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n" }]
|
|
588
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
589
|
+
type: Host
|
|
590
|
+
}, {
|
|
591
|
+
type: Optional
|
|
592
|
+
}] }, { type: i0.Injector }]; } });
|
|
593
|
+
|
|
594
|
+
class SacInputPasswordComponent extends SacInputPasswordCommon {
|
|
595
|
+
constructor(parent, injector) {
|
|
596
|
+
super(parent, injector);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
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 });
|
|
600
|
+
SacInputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputPasswordComponent, selector: "sac-inputpassword", providers: [
|
|
601
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputPasswordComponent },
|
|
602
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputPasswordComponent) }
|
|
603
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" class=\"form-control\" type=\"password\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\" autocomplete=\"new-password\" [ngClass]=\"{'language-specific': islanguagespecific }\"\r\n [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 } });
|
|
604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputPasswordComponent, decorators: [{
|
|
605
|
+
type: Component,
|
|
606
|
+
args: [{ selector: 'sac-inputpassword', providers: [
|
|
607
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputPasswordComponent },
|
|
608
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputPasswordComponent) }
|
|
609
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" class=\"form-control\" type=\"password\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\" (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\" autocomplete=\"new-password\" [ngClass]=\"{'language-specific': islanguagespecific }\"\r\n [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <label for=\"{{name}}\" class=\"form-label-adaptive form-label-fixed\" [ngClass]=\"{ 'required': isrequired }\" *ngIf=\"isadaptivelabel && !disablelabel\">{{label}}</label>\r\n <div class=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n" }]
|
|
610
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
611
|
+
type: Host
|
|
612
|
+
}, {
|
|
613
|
+
type: Optional
|
|
614
|
+
}] }, { type: i0.Injector }]; } });
|
|
615
|
+
|
|
616
|
+
class SacInputSearchComponent extends SacInputSearchCommon {
|
|
617
|
+
constructor(parent, injector) {
|
|
618
|
+
super(parent, injector);
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
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 });
|
|
622
|
+
SacInputSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacInputSearchComponent, selector: "sac-inputsearch", providers: [
|
|
623
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputSearchComponent },
|
|
624
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputSearchComponent) }
|
|
625
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"input-group\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\" [ngClass]=\"{'language-specific': islanguagespecific }\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <span class=\"input-group-btn\">\r\n <input type=\"submit\" class=\"btn btn-default\" id=\"{{name}}_search\" (click)=\"searchClick()\" [value]=\"buttontext\" />\r\n </span>\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"] }] });
|
|
626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInputSearchComponent, decorators: [{
|
|
627
|
+
type: Component,
|
|
628
|
+
args: [{ selector: 'sac-inputsearch', providers: [
|
|
629
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacInputSearchComponent },
|
|
630
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacInputSearchComponent) }
|
|
631
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"input-group\">\r\n <input id=\"{{name}}\" name=\"{{name}}\" type=\"text\" class=\"form-control\"\r\n [value]=\"value\" [attr.placeholder]=\"placeholder\"\r\n (blur)=\"onTouch()\" (input)=\"setValue($event.target.value)\"\r\n [attr.maxlength]=\"maxlength\" [ngClass]=\"{'language-specific': islanguagespecific }\" [disabled]=\"isdisabled\" [readonly]=\"readonly\" />\r\n <span class=\"input-group-btn\">\r\n <input type=\"submit\" class=\"btn btn-default\" id=\"{{name}}_search\" (click)=\"searchClick()\" [value]=\"buttontext\" />\r\n </span>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
632
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
633
|
+
type: Host
|
|
634
|
+
}, {
|
|
635
|
+
type: Optional
|
|
636
|
+
}] }, { type: i0.Injector }]; } });
|
|
637
|
+
|
|
638
|
+
class SACBootstrap3InputModule {
|
|
639
|
+
}
|
|
640
|
+
SACBootstrap3InputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3InputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
641
|
+
SACBootstrap3InputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3InputModule, declarations: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent], imports: [CommonModule, CommonModule, FormsModule, SACBootstrap3TooltipModule], exports: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent] });
|
|
642
|
+
SACBootstrap3InputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3InputModule, imports: [[
|
|
643
|
+
CommonModule, CommonModule, FormsModule, SACBootstrap3TooltipModule
|
|
644
|
+
]] });
|
|
645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3InputModule, decorators: [{
|
|
646
|
+
type: NgModule,
|
|
647
|
+
args: [{
|
|
648
|
+
declarations: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent],
|
|
649
|
+
imports: [
|
|
650
|
+
CommonModule, CommonModule, FormsModule, SACBootstrap3TooltipModule
|
|
651
|
+
],
|
|
652
|
+
exports: [SacInputComponent, SacInputAreaComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent]
|
|
653
|
+
}]
|
|
654
|
+
}] });
|
|
655
|
+
|
|
656
|
+
class SacDateSelectorComponent extends SacDateSelectorCommon {
|
|
657
|
+
}
|
|
658
|
+
SacDateSelectorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateSelectorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
659
|
+
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\" style=\"min-width: 265px\">\r\n <table class=\"table-condensed\" style=\"width: 100%\" *ngIf=\"dateselection\">\r\n <thead>\r\n <tr>\r\n <th class=\"prev text-left\" (click)=\"monthBack()\">\r\n <i [class]=\"iconMonthPrev\"></i>\r\n </th>\r\n <th colspan=\"5\" class=\"switch text-center\">{{month+1}}/{{year}}</th>\r\n <th class=\"next text-right\" (click)=\"monthNext()\">\r\n <i [class]=\"iconMonthNext\"></i>\r\n </th>\r\n </tr>\r\n <tr>\r\n <th class=\"dow text-center\">Mo</th>\r\n <th class=\"dow text-center\">Di</th>\r\n <th class=\"dow text-center\">Mi</th>\r\n <th class=\"dow text-center\">Do</th>\r\n <th class=\"dow text-center\">Fr</th>\r\n <th class=\"dow text-center\">Sa</th>\r\n <th class=\"dow text-center\">So</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngFor=\"let week of dates; let i=index\">\r\n <tr>\r\n <td\r\n class=\"text-center\"\r\n *ngFor=\"let item of week\"\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 </td>\r\n </tr>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n <div class=\"container-fluid\" *ngIf=\"timeselection\" style=\"margin-top: 10px\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" style=\"padding-right: 20px\">\r\n <div class=\"form-group\">\r\n <label>Stunde</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control\"\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=\"col-md-6\" style=\"padding-left: 20px\">\r\n <div class=\"form-group\">\r\n <label>Minute</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control\"\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>\r\n <div class=\"row\" style=\"margin-top: 10px\">\r\n <div class=\"col-md-4 text-left\">\r\n <button type=\"button\" class=\"btn btn-default\" (click)=\"setToday()\">\r\n Heute\r\n </button>\r\n </div>\r\n <div class=\"col-md-8 text-right\">\r\n <button type=\"button\" class=\"btn btn-default\" (click)=\"resetSelection()\">\r\n Reset\r\n </button>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary\"\r\n style=\"margin-left: 10px\"\r\n (click)=\"applySelection()\"\r\n >\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"] }] });
|
|
660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateSelectorComponent, decorators: [{
|
|
661
|
+
type: Component,
|
|
662
|
+
args: [{ selector: 'sac-dateselector', template: "<div class=\"calendar-selector\" style=\"min-width: 265px\">\r\n <table class=\"table-condensed\" style=\"width: 100%\" *ngIf=\"dateselection\">\r\n <thead>\r\n <tr>\r\n <th class=\"prev text-left\" (click)=\"monthBack()\">\r\n <i [class]=\"iconMonthPrev\"></i>\r\n </th>\r\n <th colspan=\"5\" class=\"switch text-center\">{{month+1}}/{{year}}</th>\r\n <th class=\"next text-right\" (click)=\"monthNext()\">\r\n <i [class]=\"iconMonthNext\"></i>\r\n </th>\r\n </tr>\r\n <tr>\r\n <th class=\"dow text-center\">Mo</th>\r\n <th class=\"dow text-center\">Di</th>\r\n <th class=\"dow text-center\">Mi</th>\r\n <th class=\"dow text-center\">Do</th>\r\n <th class=\"dow text-center\">Fr</th>\r\n <th class=\"dow text-center\">Sa</th>\r\n <th class=\"dow text-center\">So</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngFor=\"let week of dates; let i=index\">\r\n <tr>\r\n <td\r\n class=\"text-center\"\r\n *ngFor=\"let item of week\"\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 </td>\r\n </tr>\r\n </ng-container>\r\n </tbody>\r\n </table>\r\n <div class=\"container-fluid\" *ngIf=\"timeselection\" style=\"margin-top: 10px\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6\" style=\"padding-right: 20px\">\r\n <div class=\"form-group\">\r\n <label>Stunde</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control\"\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=\"col-md-6\" style=\"padding-left: 20px\">\r\n <div class=\"form-group\">\r\n <label>Minute</label>\r\n <input\r\n type=\"number\"\r\n class=\"form-control\"\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>\r\n <div class=\"row\" style=\"margin-top: 10px\">\r\n <div class=\"col-md-4 text-left\">\r\n <button type=\"button\" class=\"btn btn-default\" (click)=\"setToday()\">\r\n Heute\r\n </button>\r\n </div>\r\n <div class=\"col-md-8 text-right\">\r\n <button type=\"button\" class=\"btn btn-default\" (click)=\"resetSelection()\">\r\n Reset\r\n </button>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary\"\r\n style=\"margin-left: 10px\"\r\n (click)=\"applySelection()\"\r\n >\r\n Apply\r\n </button>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
663
|
+
}] });
|
|
664
|
+
|
|
665
|
+
const moment = moment_["default"];
|
|
666
|
+
class SacDateComponent extends SacDateCommon {
|
|
667
|
+
constructor(parent, injector, _elementRef) {
|
|
668
|
+
super(parent, injector, _elementRef);
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
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 });
|
|
672
|
+
SacDateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDateComponent, selector: "sac-date", providers: [
|
|
673
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: forwardRef(() => SacDateComponent) },
|
|
674
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacDateComponent) }
|
|
675
|
+
], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div style=\"position: relative; width: 140px\">\r\n <div id=\"{{name}}\" class=\"datetime-textbox input-group\">\r\n <!-- this class comes in the div above when disabled [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\" -->\r\n <input\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control date-control\"\r\n [imask]=\"imaskDate\"\r\n placeholder=\"dd.mm.yyyy\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n maxlength=\"10\"\r\n size=\"10\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n (click)=\"showDateSelector()\"\r\n />\r\n <span class=\"input-group-btn\">\r\n <button\r\n class=\"btn btn-default\"\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 </span>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n class=\"popover bottom in\"\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: 10px\"></div>\r\n <h3 class=\"popover-title\" style=\"display: none\"></h3>\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\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</div>\r\n", components: [{ type: SacDateSelectorComponent, selector: "sac-dateselector" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.IMaskDirective, selector: "[imask]", inputs: ["imaskElement", "imask", "unmask"], outputs: ["accept", "complete"], exportAs: ["imask"] }], pipes: { "async": i2.AsyncPipe } });
|
|
676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateComponent, decorators: [{
|
|
677
|
+
type: Component,
|
|
678
|
+
args: [{ selector: 'sac-date', providers: [
|
|
679
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: forwardRef(() => SacDateComponent) },
|
|
680
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacDateComponent) }
|
|
681
|
+
], template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div style=\"position: relative; width: 140px\">\r\n <div id=\"{{name}}\" class=\"datetime-textbox input-group\">\r\n <!-- this class comes in the div above when disabled [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\" -->\r\n <input\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n class=\"form-control date-control\"\r\n [imask]=\"imaskDate\"\r\n placeholder=\"dd.mm.yyyy\"\r\n [attr.placeholder]=\"placeholder\"\r\n [value]=\"valuestring\"\r\n maxlength=\"10\"\r\n size=\"10\"\r\n (blur)=\"onTouch()\"\r\n (accept)=\"setValueString($event)\"\r\n [disabled]=\"isdisabled\"\r\n (click)=\"showDateSelector()\"\r\n />\r\n <span class=\"input-group-btn\">\r\n <button\r\n class=\"btn btn-default\"\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 </span>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n class=\"popover bottom in\"\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: 10px\"></div>\r\n <h3 class=\"popover-title\" style=\"display: none\"></h3>\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\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</div>\r\n" }]
|
|
682
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
683
|
+
type: Host
|
|
684
|
+
}, {
|
|
685
|
+
type: Optional
|
|
686
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }]; } });
|
|
687
|
+
|
|
688
|
+
class SacDateTimeComponent extends SacDateTimeCommon {
|
|
689
|
+
constructor(parent, injector, _elementRef) {
|
|
690
|
+
super(parent, injector, _elementRef);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
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 });
|
|
694
|
+
SacDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacDateTimeComponent, selector: "sac-datetime", providers: [
|
|
695
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: forwardRef(() => SacDateTimeComponent) },
|
|
696
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacDateTimeComponent) }
|
|
697
|
+
], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div style=\"position: relative; width: 180px\">\r\n <div id=\"{{name}}\" class=\"datetime-textbox input-group\">\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 (click)=\"showDateSelector()\"\r\n />\r\n <span class=\"input-group-btn\">\r\n <button\r\n class=\"btn btn-default\"\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 </span>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n class=\"popover bottom in\"\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: 10px\"></div>\r\n <h3 class=\"popover-title\" style=\"display: none\"></h3>\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\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</div>\r\n", components: [{ type: SacDateSelectorComponent, selector: "sac-dateselector" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.IMaskDirective, selector: "[imask]", inputs: ["imaskElement", "imask", "unmask"], outputs: ["accept", "complete"], exportAs: ["imask"] }], pipes: { "async": i2.AsyncPipe } });
|
|
698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacDateTimeComponent, decorators: [{
|
|
699
|
+
type: Component,
|
|
700
|
+
args: [{ selector: 'sac-datetime', providers: [
|
|
701
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: forwardRef(() => SacDateTimeComponent) },
|
|
702
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacDateTimeComponent) }
|
|
703
|
+
], template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div style=\"position: relative; width: 180px\">\r\n <div id=\"{{name}}\" class=\"datetime-textbox input-group\">\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 (click)=\"showDateSelector()\"\r\n />\r\n <span class=\"input-group-btn\">\r\n <button\r\n class=\"btn btn-default\"\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 </span>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n\r\n <div\r\n class=\"popover bottom in\"\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: 10px\"></div>\r\n <h3 class=\"popover-title\" style=\"display: none\"></h3>\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\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</div>\r\n" }]
|
|
704
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
705
|
+
type: Host
|
|
706
|
+
}, {
|
|
707
|
+
type: Optional
|
|
708
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }]; } });
|
|
709
|
+
|
|
710
|
+
class SacTimeComponent extends SacTimeCommon {
|
|
711
|
+
constructor(parent, injector, _elementRef) {
|
|
712
|
+
super(parent, injector, _elementRef);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
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 });
|
|
716
|
+
SacTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTimeComponent, selector: "sac-time", providers: [
|
|
717
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: forwardRef(() => SacTimeComponent) },
|
|
718
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacTimeComponent) }
|
|
719
|
+
], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div style=\"position: relative; width: 140px\">\r\n <div class=\"input-group\">\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n [value]=\"valuestring\"\r\n maxlength=\"6\"\r\n [imask]=\"imaskDate\"\r\n size=\"6\"\r\n class=\"form-control\"\r\n [attr.placeholder]=\"placeholder\"\r\n data-error-msg=\"ctl00_cphContent_ctl00_ucPublicationDetail_dtpValidFrom_timeTextBoxTypeValidator\"\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 <span class=\"input-group-btn\">\r\n <button\r\n class=\"btn btn-default\"\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 </span>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n class=\"popover bottom in\"\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: 10px\"></div>\r\n <h3 class=\"popover-title\" style=\"display: none\"></h3>\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\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</div>\r\n", components: [{ type: SacDateSelectorComponent, selector: "sac-dateselector" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.IMaskDirective, selector: "[imask]", inputs: ["imaskElement", "imask", "unmask"], outputs: ["accept", "complete"], exportAs: ["imask"] }], pipes: { "async": i2.AsyncPipe } });
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTimeComponent, decorators: [{
|
|
721
|
+
type: Component,
|
|
722
|
+
args: [{ selector: 'sac-time', providers: [
|
|
723
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: forwardRef(() => SacTimeComponent) },
|
|
724
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacTimeComponent) }
|
|
725
|
+
], template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div style=\"position: relative; width: 140px\">\r\n <div class=\"input-group\">\r\n <input\r\n id=\"{{name}}\"\r\n name=\"{{name}}\"\r\n type=\"text\"\r\n [value]=\"valuestring\"\r\n maxlength=\"6\"\r\n [imask]=\"imaskDate\"\r\n size=\"6\"\r\n class=\"form-control\"\r\n [attr.placeholder]=\"placeholder\"\r\n data-error-msg=\"ctl00_cphContent_ctl00_ucPublicationDetail_dtpValidFrom_timeTextBoxTypeValidator\"\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 <span class=\"input-group-btn\">\r\n <button\r\n class=\"btn btn-default\"\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 </span>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n <div\r\n class=\"popover bottom in\"\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: 10px\"></div>\r\n <h3 class=\"popover-title\" style=\"display: none\"></h3>\r\n <div class=\"popover-content\">\r\n <sac-dateselector\r\n *ngIf=\"_showselector\"\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</div>\r\n" }]
|
|
726
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
727
|
+
type: Host
|
|
728
|
+
}, {
|
|
729
|
+
type: Optional
|
|
730
|
+
}] }, { type: i0.Injector }, { type: i0.ElementRef }]; } });
|
|
731
|
+
|
|
732
|
+
class SACBootstrap3DateTimeModule {
|
|
733
|
+
}
|
|
734
|
+
SACBootstrap3DateTimeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DateTimeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
735
|
+
SACBootstrap3DateTimeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DateTimeModule, declarations: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent], imports: [CommonModule, IMaskModule], exports: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent] });
|
|
736
|
+
SACBootstrap3DateTimeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DateTimeModule, imports: [[
|
|
737
|
+
CommonModule, IMaskModule
|
|
738
|
+
]] });
|
|
739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3DateTimeModule, decorators: [{
|
|
740
|
+
type: NgModule,
|
|
741
|
+
args: [{
|
|
742
|
+
declarations: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent],
|
|
743
|
+
imports: [
|
|
744
|
+
CommonModule, IMaskModule
|
|
745
|
+
],
|
|
746
|
+
exports: [SacDateComponent, SacDateTimeComponent, SacTimeComponent, SacDateSelectorComponent]
|
|
747
|
+
}]
|
|
748
|
+
}] });
|
|
749
|
+
|
|
750
|
+
class SacTinyMceComponent extends SacTinyMceCommon {
|
|
751
|
+
/**
|
|
752
|
+
* Konstruktor
|
|
753
|
+
* @param parent Formular
|
|
754
|
+
* @param injector Angular Dependency Injection Service
|
|
755
|
+
* @param ngZone ngZone
|
|
756
|
+
*/
|
|
757
|
+
constructor(parent, injector, ngZone) {
|
|
758
|
+
super(parent, injector, ngZone);
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* overwrite tinymce defaults
|
|
762
|
+
* @returns boostrap3 does not support file browser
|
|
763
|
+
*/
|
|
764
|
+
overwriteDefaultSettings() {
|
|
765
|
+
return { file_picker_types: undefined, file_picker_callback: undefined };
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
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 });
|
|
769
|
+
SacTinyMceComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTinyMceComponent, selector: "sac-tinymce", providers: [
|
|
770
|
+
{
|
|
771
|
+
provide: NG_VALUE_ACCESSOR,
|
|
772
|
+
multi: true,
|
|
773
|
+
useExisting: SacTinyMceComponent,
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
provide: NG_VALIDATORS,
|
|
777
|
+
useExisting: forwardRef(() => SacTinyMceComponent),
|
|
778
|
+
multi: true,
|
|
779
|
+
},
|
|
780
|
+
], 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 [class.has-error]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\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=\"help-block\"\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> </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", 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", inputs: ["zindex"] }, { type: SacButtonComponent, selector: "sac-button" }], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.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 } });
|
|
781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTinyMceComponent, decorators: [{
|
|
782
|
+
type: Component,
|
|
783
|
+
args: [{ selector: 'sac-tinymce', providers: [
|
|
784
|
+
{
|
|
785
|
+
provide: NG_VALUE_ACCESSOR,
|
|
786
|
+
multi: true,
|
|
787
|
+
useExisting: SacTinyMceComponent,
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
provide: NG_VALIDATORS,
|
|
791
|
+
useExisting: forwardRef(() => SacTinyMceComponent),
|
|
792
|
+
multi: true,
|
|
793
|
+
},
|
|
794
|
+
], 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 [class.has-error]=\"isinlineerrorenabled && invalid && (dirty || touched)\"\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=\"help-block\"\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> </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" }]
|
|
795
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
796
|
+
type: Host
|
|
797
|
+
}, {
|
|
798
|
+
type: Optional
|
|
799
|
+
}] }, { type: i0.Injector }, { type: i0.NgZone }]; } });
|
|
800
|
+
|
|
801
|
+
class SACBootstrap3TinyMceModule {
|
|
802
|
+
}
|
|
803
|
+
SACBootstrap3TinyMceModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TinyMceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
804
|
+
SACBootstrap3TinyMceModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TinyMceModule, declarations: [SacTinyMceComponent], imports: [CommonModule,
|
|
805
|
+
FormsModule,
|
|
806
|
+
EditorModule,
|
|
807
|
+
SACBootstrap3ButtonModule,
|
|
808
|
+
SACBootstrap3DialogModule], exports: [SacTinyMceComponent] });
|
|
809
|
+
SACBootstrap3TinyMceModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TinyMceModule, imports: [[
|
|
810
|
+
CommonModule,
|
|
811
|
+
FormsModule,
|
|
812
|
+
EditorModule,
|
|
813
|
+
SACBootstrap3ButtonModule,
|
|
814
|
+
SACBootstrap3DialogModule,
|
|
815
|
+
]] });
|
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TinyMceModule, decorators: [{
|
|
817
|
+
type: NgModule,
|
|
818
|
+
args: [{
|
|
819
|
+
declarations: [SacTinyMceComponent],
|
|
820
|
+
imports: [
|
|
821
|
+
CommonModule,
|
|
822
|
+
FormsModule,
|
|
823
|
+
EditorModule,
|
|
824
|
+
SACBootstrap3ButtonModule,
|
|
825
|
+
SACBootstrap3DialogModule,
|
|
826
|
+
],
|
|
827
|
+
exports: [SacTinyMceComponent],
|
|
828
|
+
}]
|
|
829
|
+
}] });
|
|
830
|
+
|
|
831
|
+
class SacStaticLabelComponent extends SacStaticLabelCommon {
|
|
832
|
+
constructor(parent, injector) {
|
|
833
|
+
super(parent, injector);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
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 });
|
|
837
|
+
SacStaticLabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacStaticLabelComponent, selector: "sac-staticlabel", providers: [
|
|
838
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacStaticLabelComponent },
|
|
839
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacStaticLabelComponent) }
|
|
840
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"form-control-static\" [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"] }] });
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacStaticLabelComponent, decorators: [{
|
|
842
|
+
type: Component,
|
|
843
|
+
args: [{ selector: 'sac-staticlabel', providers: [
|
|
844
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacStaticLabelComponent },
|
|
845
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacStaticLabelComponent) }
|
|
846
|
+
], template: "<div class=\"form-group\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\">\r\n <div class=\"form-control-static\" [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" }]
|
|
847
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
848
|
+
type: Host
|
|
849
|
+
}, {
|
|
850
|
+
type: Optional
|
|
851
|
+
}] }, { type: i0.Injector }]; } });
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* Component für einbindung eines beliebigen Controls in die Form Struktur
|
|
855
|
+
*
|
|
856
|
+
* @example
|
|
857
|
+
* <ngStaticFormContainer name='myformcontainer' label="My Custom Form Control" [isrequired]='false'>
|
|
858
|
+
* <input type="range" class="form-control" />
|
|
859
|
+
* </ngStaticFormContainer>
|
|
860
|
+
*
|
|
861
|
+
* @example
|
|
862
|
+
* <ngStaticFormContainer name='myformcintainer' label="My Custom Form Control" [isrequired]='false' tooltiptext="Dies ist ein Tooltip Text">
|
|
863
|
+
* <input type="range" class="form-control" />
|
|
864
|
+
* </ngStaticFormContainer>
|
|
865
|
+
*
|
|
866
|
+
**/
|
|
867
|
+
class SacStaticFormContainerComponent extends SacStaticFormContainerCommon {
|
|
868
|
+
/**
|
|
869
|
+
* Konsturktor
|
|
870
|
+
* @param parent Parent SacFormular Instanz
|
|
871
|
+
* @param injector Injector Instanz
|
|
872
|
+
*/
|
|
873
|
+
constructor(parent, injector) {
|
|
874
|
+
super(parent, injector);
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
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 });
|
|
878
|
+
SacStaticFormContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacStaticFormContainerComponent, selector: "sac-staticformcontainer", providers: [
|
|
879
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacStaticFormContainerComponent },
|
|
880
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacStaticFormContainerComponent) }
|
|
881
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-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=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</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 } });
|
|
882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacStaticFormContainerComponent, decorators: [{
|
|
883
|
+
type: Component,
|
|
884
|
+
args: [{ selector: 'sac-staticformcontainer', providers: [
|
|
885
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacStaticFormContainerComponent },
|
|
886
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacStaticFormContainerComponent) }
|
|
887
|
+
], template: "<div class=\"form-group\" [ngClass]=\"{'has-error': invalid && (dirty || touched)}\">\r\n <label *ngIf=\"disablelabel === false && !isadaptivelabel\" id=\"{{name}}label\" for=\"{{name}}\" class=\"control-label\" [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\" [class.required]=\"isrequired\">{{label}}</label>\r\n <div [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-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=\"help-block help-block-error\" *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\">{{ GetErrorMessage() | async }}</div>\r\n </div>\r\n</div>\r\n" }]
|
|
888
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
889
|
+
type: Host
|
|
890
|
+
}, {
|
|
891
|
+
type: Optional
|
|
892
|
+
}] }, { type: i0.Injector }]; } });
|
|
893
|
+
|
|
894
|
+
class SACBootstrap3StaticLabelModule {
|
|
895
|
+
}
|
|
896
|
+
SACBootstrap3StaticLabelModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3StaticLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
897
|
+
SACBootstrap3StaticLabelModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3StaticLabelModule, declarations: [SacStaticLabelComponent, SacStaticFormContainerComponent], imports: [CommonModule, SACBootstrap3TooltipModule], exports: [SacStaticLabelComponent, SacStaticFormContainerComponent] });
|
|
898
|
+
SACBootstrap3StaticLabelModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3StaticLabelModule, imports: [[
|
|
899
|
+
CommonModule, SACBootstrap3TooltipModule
|
|
900
|
+
]] });
|
|
901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3StaticLabelModule, decorators: [{
|
|
902
|
+
type: NgModule,
|
|
903
|
+
args: [{
|
|
904
|
+
declarations: [SacStaticLabelComponent, SacStaticFormContainerComponent],
|
|
905
|
+
imports: [
|
|
906
|
+
CommonModule, SACBootstrap3TooltipModule
|
|
907
|
+
],
|
|
908
|
+
exports: [SacStaticLabelComponent, SacStaticFormContainerComponent]
|
|
909
|
+
}]
|
|
910
|
+
}] });
|
|
911
|
+
|
|
912
|
+
class SacWizardItemComponent extends SacWizardItemCommon {
|
|
913
|
+
}
|
|
914
|
+
SacWizardItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
915
|
+
SacWizardItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacWizardItemComponent, selector: "sac-wizarditem", usesInheritance: true, ngImport: i0, template: "" });
|
|
916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardItemComponent, decorators: [{
|
|
917
|
+
type: Component,
|
|
918
|
+
args: [{ selector: 'sac-wizarditem', template: "" }]
|
|
919
|
+
}] });
|
|
920
|
+
|
|
921
|
+
class SacWizardComponent extends SacWizardCommon {
|
|
922
|
+
wizardItems() {
|
|
923
|
+
return this._wizardItems;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
SacWizardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
927
|
+
SacWizardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacWizardComponent, selector: "sac-wizard", providers: [
|
|
928
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacWizardComponent }
|
|
929
|
+
], queries: [{ propertyName: "_wizardItems", predicate: SacWizardItemComponent }], usesInheritance: true, ngImport: i0, template: "<ul [id]=\"name\" 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"] }] });
|
|
930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacWizardComponent, decorators: [{
|
|
931
|
+
type: Component,
|
|
932
|
+
args: [{ selector: 'sac-wizard', providers: [
|
|
933
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacWizardComponent }
|
|
934
|
+
], template: "<ul [id]=\"name\" 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" }]
|
|
935
|
+
}], propDecorators: { _wizardItems: [{
|
|
936
|
+
type: ContentChildren,
|
|
937
|
+
args: [SacWizardItemComponent]
|
|
938
|
+
}] } });
|
|
939
|
+
|
|
940
|
+
class SACBootstrap3WizardModule {
|
|
941
|
+
}
|
|
942
|
+
SACBootstrap3WizardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3WizardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
943
|
+
SACBootstrap3WizardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3WizardModule, declarations: [SacWizardComponent, SacWizardItemComponent], imports: [CommonModule], exports: [SacWizardComponent, SacWizardItemComponent] });
|
|
944
|
+
SACBootstrap3WizardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3WizardModule, imports: [[
|
|
945
|
+
CommonModule
|
|
946
|
+
]] });
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3WizardModule, decorators: [{
|
|
948
|
+
type: NgModule,
|
|
949
|
+
args: [{
|
|
950
|
+
declarations: [SacWizardComponent, SacWizardItemComponent],
|
|
951
|
+
imports: [
|
|
952
|
+
CommonModule
|
|
953
|
+
],
|
|
954
|
+
exports: [SacWizardComponent, SacWizardItemComponent]
|
|
955
|
+
}]
|
|
956
|
+
}] });
|
|
957
|
+
|
|
958
|
+
// https://github.com/kukhariev/ngx-uploadx/
|
|
959
|
+
class SacUploadComponent extends SacUploadSingleCommon {
|
|
960
|
+
constructor(parent, injector, renderer, ngZone) {
|
|
961
|
+
super(parent, injector, renderer, ngZone);
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
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 });
|
|
965
|
+
SacUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacUploadComponent, selector: "sac-upload", providers: [
|
|
966
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacUploadComponent },
|
|
967
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacUploadComponent) }
|
|
968
|
+
], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div class=\"input-group upload-component upload-single\">\r\n <div class=\"input-group-btn\">\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [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 class=\"form-control upload-progress\">\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-btn\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && IsPaused()\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </a>\r\n </div>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{inset:0;position:absolute;overflow:hidden;z-index:2;width:100%;margin:0;display:inline-block;opacity:0}.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}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0;line-height:34px;height:34px;color:#000}\n"], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2.AsyncPipe } });
|
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacUploadComponent, decorators: [{
|
|
970
|
+
type: Component,
|
|
971
|
+
args: [{ selector: 'sac-upload', providers: [
|
|
972
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacUploadComponent },
|
|
973
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacUploadComponent) }
|
|
974
|
+
], template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div class=\"input-group upload-component upload-single\">\r\n <div class=\"input-group-btn\">\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [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 class=\"form-control upload-progress\">\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-btn\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && IsPaused()\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </a>\r\n </div>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{inset:0;position:absolute;overflow:hidden;z-index:2;width:100%;margin:0;display:inline-block;opacity:0}.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}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0;line-height:34px;height:34px;color:#000}\n"] }]
|
|
975
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
976
|
+
type: Host
|
|
977
|
+
}, {
|
|
978
|
+
type: Optional
|
|
979
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }]; } });
|
|
980
|
+
|
|
981
|
+
// https://github.com/kukhariev/ngx-uploadx/
|
|
982
|
+
class SacUploadMultipleComponent extends SacUploadMultipleCommon {
|
|
983
|
+
constructor(parent, injector, renderer, ngZone) {
|
|
984
|
+
super(parent, injector, renderer, ngZone);
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
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 });
|
|
988
|
+
SacUploadMultipleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacUploadMultipleComponent, selector: "sac-uploadmultiple", providers: [
|
|
989
|
+
{
|
|
990
|
+
provide: NG_VALUE_ACCESSOR,
|
|
991
|
+
multi: true,
|
|
992
|
+
useExisting: SacUploadMultipleComponent,
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
provide: NG_VALIDATORS,
|
|
996
|
+
multi: true,
|
|
997
|
+
useExisting: forwardRef(() => SacUploadMultipleComponent),
|
|
998
|
+
},
|
|
999
|
+
], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div class=\"upload-component\">\r\n <div class=\"row\">\r\n <div class=\"col-xs-12\">\r\n <div class=\"btn-group\">\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [class]=\"IconBrowse\"></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 <a\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && IsPaused() === true\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </a>\r\n </div>\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 class=\"form-control upload-progress\">\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-btn\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && file.status === 'paused'\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'added' && file.status !== 'paused' ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{inset:0;position:absolute;overflow:hidden;z-index:2;width:100%;margin:0;display:inline-block;opacity:0}.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}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0;line-height:34px;height:34px;color:#000}\n"], directives: [{ type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i2.AsyncPipe } });
|
|
1000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacUploadMultipleComponent, decorators: [{
|
|
1001
|
+
type: Component,
|
|
1002
|
+
args: [{ selector: 'sac-uploadmultiple', providers: [
|
|
1003
|
+
{
|
|
1004
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1005
|
+
multi: true,
|
|
1006
|
+
useExisting: SacUploadMultipleComponent,
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
provide: NG_VALIDATORS,
|
|
1010
|
+
multi: true,
|
|
1011
|
+
useExisting: forwardRef(() => SacUploadMultipleComponent),
|
|
1012
|
+
},
|
|
1013
|
+
], template: "<div\r\n class=\"form-group\"\r\n [ngClass]=\"{'has-error': invalid && (dirty || touched)}\"\r\n>\r\n <label\r\n *ngIf=\"disablelabel === false && !isadaptivelabel\"\r\n id=\"{{name}}label\"\r\n for=\"{{name}}\"\r\n class=\"control-label\"\r\n [ngClass]=\"[labelsize !== 12 ? 'col-md-' + labelsize : 'sr-only']\"\r\n [class.required]=\"isrequired\"\r\n >{{label}}</label\r\n >\r\n <div\r\n [ngClass]=\"[disablelabel === false ? 'col-md-' + _inputsize : 'col-md-12']\"\r\n >\r\n <div class=\"upload-component\">\r\n <div class=\"row\">\r\n <div class=\"col-xs-12\">\r\n <div class=\"btn-group\">\r\n <div\r\n class=\"btn upload-input custom-file\"\r\n [class.disabled]=\"maxfiles > 0 && uploads.length >= maxfiles\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <i [class]=\"IconBrowse\"></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 <a\r\n class=\"btn\"\r\n (click)=\"cancelAll()\"\r\n [attr.disabled]=\"HasQueueItem() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && IsPaused() === true\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"uploadAll()\"\r\n [attr.disabled]=\"IsStateToUpload() === false ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </a>\r\n </div>\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 class=\"form-control upload-progress\">\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-btn\">\r\n <!-- image-preview-clear button -->\r\n <a\r\n class=\"btn\"\r\n (click)=\"cancel(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconDelete\"></span>\r\n </a>\r\n <a\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-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconPause\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload && enablepause && file.status === 'paused'\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconContinue\"></span>\r\n </a>\r\n <a\r\n *ngIf=\"autoupload === false\"\r\n class=\"btn\"\r\n (click)=\"upload(file.uploadId)\"\r\n [attr.disabled]=\"file.status !== 'added' && file.status !== 'paused' ? 'disabled' : null\"\r\n [class.btn-default]=\"!(invalid && (dirty || touched))\"\r\n [class.btn-danger]=\"invalid && (dirty || touched)\"\r\n >\r\n <span [class]=\"IconUpload\"></span> {{\r\n lngResourceService.GetString('UPLOAD_BUTTON_UPLOAD') | async }}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"help-block help-block-error\"\r\n *ngIf=\"isinlineerrorenabled && invalid && (dirty || touched)\"\r\n >\r\n {{ GetErrorMessage() | async }}\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".upload-component .upload-input{position:relative}.upload-component .custom-file>i{margin-right:15px}.upload-component .custom-file .custom-file-input{inset:0;position:absolute;overflow:hidden;z-index:2;width:100%;margin:0;display:inline-block;opacity:0}.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}.upload-component .upload-progress .progress{height:100%}.upload-component .upload-progress .progress .progress-text{position:absolute;left:0;right:0;line-height:34px;height:34px;color:#000}\n"] }]
|
|
1014
|
+
}], ctorParameters: function () { return [{ type: SacFormDirective, decorators: [{
|
|
1015
|
+
type: Host
|
|
1016
|
+
}, {
|
|
1017
|
+
type: Optional
|
|
1018
|
+
}] }, { type: i0.Injector }, { type: i0.Renderer2 }, { type: i0.NgZone }]; } });
|
|
1019
|
+
|
|
1020
|
+
class SACBootstrap3UploadModule {
|
|
1021
|
+
}
|
|
1022
|
+
SACBootstrap3UploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3UploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1023
|
+
SACBootstrap3UploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3UploadModule, declarations: [SacUploadComponent, SacUploadMultipleComponent], imports: [CommonModule, FormsModule], exports: [SacUploadComponent, SacUploadMultipleComponent] });
|
|
1024
|
+
SACBootstrap3UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3UploadModule, imports: [[
|
|
1025
|
+
CommonModule, FormsModule
|
|
1026
|
+
]] });
|
|
1027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3UploadModule, decorators: [{
|
|
1028
|
+
type: NgModule,
|
|
1029
|
+
args: [{
|
|
1030
|
+
declarations: [SacUploadComponent, SacUploadMultipleComponent],
|
|
1031
|
+
imports: [
|
|
1032
|
+
CommonModule, FormsModule
|
|
1033
|
+
],
|
|
1034
|
+
exports: [SacUploadComponent, SacUploadMultipleComponent]
|
|
1035
|
+
}]
|
|
1036
|
+
}] });
|
|
1037
|
+
|
|
1038
|
+
class SacConfirmComponent extends SacConfirmCommon {
|
|
1039
|
+
}
|
|
1040
|
+
SacConfirmComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacConfirmComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1041
|
+
SacConfirmComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacConfirmComponent, selector: "sac-confirm", usesInheritance: true, ngImport: i0, template: "<sac-dialog [(isvisible)]=\"isvisible\" [title]=\"title\" [allowesc]=\"false\" [closebutton]=\"false\">\r\n <div dialogbody>\r\n <div class=\"media\">\r\n <div class=\"media-left media-middle\" *ngIf=\"hasImage()\">\r\n <img [attr.src]=\"image\" />\r\n </div>\r\n <div class=\"media-body\">{{message}}</div>\r\n </div>\r\n </div>\r\n <div dialogfooter>\r\n <ng-container *ngFor=\"let button of buttons\">\r\n <sac-button [name]=\"button.key\" [text]=\"button.text\" (clicked)=\"confirm(button.key)\" style=\"margin-left: 15px;\"></sac-button>\r\n </ng-container>\r\n </div>\r\n</sac-dialog>\r\n", components: [{ type: SacDialogComponent, selector: "sac-dialog", inputs: ["zindex"] }, { 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"] }] });
|
|
1042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacConfirmComponent, decorators: [{
|
|
1043
|
+
type: Component,
|
|
1044
|
+
args: [{ selector: 'sac-confirm', template: "<sac-dialog [(isvisible)]=\"isvisible\" [title]=\"title\" [allowesc]=\"false\" [closebutton]=\"false\">\r\n <div dialogbody>\r\n <div class=\"media\">\r\n <div class=\"media-left media-middle\" *ngIf=\"hasImage()\">\r\n <img [attr.src]=\"image\" />\r\n </div>\r\n <div class=\"media-body\">{{message}}</div>\r\n </div>\r\n </div>\r\n <div dialogfooter>\r\n <ng-container *ngFor=\"let button of buttons\">\r\n <sac-button [name]=\"button.key\" [text]=\"button.text\" (clicked)=\"confirm(button.key)\" style=\"margin-left: 15px;\"></sac-button>\r\n </ng-container>\r\n </div>\r\n</sac-dialog>\r\n" }]
|
|
1045
|
+
}] });
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Service für Confirm Messages in TypeScript Code
|
|
1049
|
+
*
|
|
1050
|
+
* @example
|
|
1051
|
+
* // Beispiel für ConfirmMessage mit Standard Buttons (Ja / Nein).
|
|
1052
|
+
* confirmService.ConfirmMessage('titel', 'frage').subscribe(action => { // Action Code });
|
|
1053
|
+
*
|
|
1054
|
+
* @example
|
|
1055
|
+
* // Beispiel für ConfirmMessage mit eigenen Buttons
|
|
1056
|
+
* let buttons: SacConfirmButton[] = [];
|
|
1057
|
+
* buttons.push(new SacConfirmButton('ActionKey','Text Primary'));
|
|
1058
|
+
* buttons.push(new SacConfirmButton('ActionKey2','Text Button 2'));
|
|
1059
|
+
* confirmService.ConfirmMessage('titel', 'frage', buttons).subscribe(action => { // Action Code });
|
|
1060
|
+
*/
|
|
1061
|
+
class ServiceConfirm extends ServiceConfirmCommon {
|
|
1062
|
+
/**
|
|
1063
|
+
* Konstruktor
|
|
1064
|
+
* @param componentFactoryResolver Component Factory Resolver Instanz
|
|
1065
|
+
* @param appRef Application Referenz. Wird benötigt um den Dialog am Body anzuhängen
|
|
1066
|
+
* @param injector Injector. Wird benötigt um den Dialog dynamisch zu erzeugen
|
|
1067
|
+
*/
|
|
1068
|
+
constructor(componentFactoryResolver, appRef, injector) {
|
|
1069
|
+
super(appRef, injector);
|
|
1070
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
1071
|
+
/**
|
|
1072
|
+
* Titel der im Dialog angezeigt werden soll.
|
|
1073
|
+
*/
|
|
1074
|
+
this.title = '';
|
|
1075
|
+
/**
|
|
1076
|
+
* Message die in Dialog angezeigt werden soll.
|
|
1077
|
+
*/
|
|
1078
|
+
this.message = '';
|
|
1079
|
+
/**
|
|
1080
|
+
* Collection von Buttons die angezeigt werden müssen.
|
|
1081
|
+
*/
|
|
1082
|
+
this.buttons = [];
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* Erzeugen einer Component Factory für einen Dialog
|
|
1086
|
+
*/
|
|
1087
|
+
GetComponentFactory() {
|
|
1088
|
+
return this.componentFactoryResolver.resolveComponentFactory(SacConfirmComponent);
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
* Konfiguration des Dialogs
|
|
1092
|
+
* @param instance Instanz eines SacConfirm Dialogs
|
|
1093
|
+
*/
|
|
1094
|
+
ConfigureDialog(instance) {
|
|
1095
|
+
// Text in Dialog setzen
|
|
1096
|
+
instance.title = this.title;
|
|
1097
|
+
instance.message = this.message;
|
|
1098
|
+
instance.buttons = this.buttons;
|
|
1099
|
+
instance.image = this.iconService.ConfirmDefaultImage;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* Confirm Dialog anzeigen
|
|
1103
|
+
* @param message Nachricht die angezeigt werden soll.
|
|
1104
|
+
* @returns EventEmitter mit Key des Buttons, welcher geklickt wurde.
|
|
1105
|
+
*/
|
|
1106
|
+
ConfirmMessage(title, message, buttons = null) {
|
|
1107
|
+
this.title = title;
|
|
1108
|
+
this.message = message;
|
|
1109
|
+
// Default Buttons setzen, wenn keine Buttons angegeben sind
|
|
1110
|
+
if (!isDefined(buttons)) {
|
|
1111
|
+
// TODO: Text von Localisation Service beziehen
|
|
1112
|
+
this.buttons = [];
|
|
1113
|
+
this.buttons.push(new SacConfirmButton('yes', 'Ja'));
|
|
1114
|
+
this.buttons.push(new SacConfirmButton('no', 'Nein'));
|
|
1115
|
+
}
|
|
1116
|
+
else {
|
|
1117
|
+
this.buttons = buttons;
|
|
1118
|
+
}
|
|
1119
|
+
return super.Confirm();
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
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 });
|
|
1123
|
+
ServiceConfirm.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ServiceConfirm });
|
|
1124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ServiceConfirm, decorators: [{
|
|
1125
|
+
type: Injectable
|
|
1126
|
+
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver, decorators: [{
|
|
1127
|
+
type: Inject,
|
|
1128
|
+
args: [ComponentFactoryResolver]
|
|
1129
|
+
}] }, { type: i0.ApplicationRef }, { type: i0.Injector }]; } });
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Module für Confirm Messages
|
|
1133
|
+
*
|
|
1134
|
+
* In NgModule der Applikation folgenden Eintrag bei Imports einfügen: ExanicBootstrap3ConfirmModule.forRoot()
|
|
1135
|
+
*
|
|
1136
|
+
*/
|
|
1137
|
+
class SACBootstrap3ConfirmModule {
|
|
1138
|
+
static forRoot() {
|
|
1139
|
+
return {
|
|
1140
|
+
ngModule: SACBootstrap3ConfirmModule,
|
|
1141
|
+
providers: [ServiceConfirm]
|
|
1142
|
+
};
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
SACBootstrap3ConfirmModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ConfirmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1146
|
+
SACBootstrap3ConfirmModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ConfirmModule, declarations: [SacConfirmComponent], imports: [CommonModule, SACBootstrap3DialogModule, SACBootstrap3ButtonModule], exports: [SacConfirmComponent] });
|
|
1147
|
+
SACBootstrap3ConfirmModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ConfirmModule, imports: [[CommonModule, SACBootstrap3DialogModule, SACBootstrap3ButtonModule]] });
|
|
1148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3ConfirmModule, decorators: [{
|
|
1149
|
+
type: NgModule,
|
|
1150
|
+
args: [{
|
|
1151
|
+
declarations: [SacConfirmComponent],
|
|
1152
|
+
imports: [CommonModule, SACBootstrap3DialogModule, SACBootstrap3ButtonModule],
|
|
1153
|
+
exports: [SacConfirmComponent]
|
|
1154
|
+
}]
|
|
1155
|
+
}] });
|
|
1156
|
+
|
|
1157
|
+
/**
|
|
1158
|
+
* Factory Methode für SacForm
|
|
1159
|
+
* @param form NgFormular
|
|
1160
|
+
*/
|
|
1161
|
+
function SACFORM_FACTORY(form) {
|
|
1162
|
+
return form;
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Factory Methode für NgForm
|
|
1166
|
+
* @param form NgForm
|
|
1167
|
+
*/
|
|
1168
|
+
function NGFORM_FACTORY(form) {
|
|
1169
|
+
return form;
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Directive zum erben eines NgForm/NgFormular einer übergeordneten Komponente
|
|
1173
|
+
*
|
|
1174
|
+
* @example Implementation in Markup
|
|
1175
|
+
*
|
|
1176
|
+
* <div sacInheritForm>
|
|
1177
|
+
* </div>
|
|
1178
|
+
*
|
|
1179
|
+
* @example Model an Sub-Komponente übergeben
|
|
1180
|
+
*
|
|
1181
|
+
* <div sacInheritForm>
|
|
1182
|
+
* <div>SubForm</div>
|
|
1183
|
+
* <div>
|
|
1184
|
+
* <ngInput [(ngModel)]="mymodel.fieldarea2" name="subformField3" label="field 3" [isrequired]="true"></ngInput>
|
|
1185
|
+
* </div>
|
|
1186
|
+
* </div>
|
|
1187
|
+
*
|
|
1188
|
+
*
|
|
1189
|
+
* (at)Component({
|
|
1190
|
+
* selector: 'sacInheritForm',
|
|
1191
|
+
* templateUrl: './subform.component.html'
|
|
1192
|
+
* })
|
|
1193
|
+
* export class SubFormComponent implements DoCheck {
|
|
1194
|
+
*
|
|
1195
|
+
* (at)Input() mymodel;
|
|
1196
|
+
* (at)Output() mymodelChange = new EventEmitter();
|
|
1197
|
+
*
|
|
1198
|
+
* ngDoCheck() {
|
|
1199
|
+
* this.mymodelChange.next(this.mymodel);
|
|
1200
|
+
* }
|
|
1201
|
+
*}
|
|
1202
|
+
*
|
|
1203
|
+
*/
|
|
1204
|
+
class SacInheritFormDirective {
|
|
1205
|
+
}
|
|
1206
|
+
SacInheritFormDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInheritFormDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1207
|
+
SacInheritFormDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: SacInheritFormDirective, selector: "[sacInheritForm]", providers: [
|
|
1208
|
+
{
|
|
1209
|
+
provide: SacFormDirective,
|
|
1210
|
+
useFactory: SACFORM_FACTORY,
|
|
1211
|
+
deps: [[new SkipSelf(), SacFormDirective]]
|
|
1212
|
+
}, {
|
|
1213
|
+
provide: ControlContainer,
|
|
1214
|
+
useFactory: NGFORM_FACTORY,
|
|
1215
|
+
deps: [NgForm]
|
|
1216
|
+
}
|
|
1217
|
+
], ngImport: i0 });
|
|
1218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacInheritFormDirective, decorators: [{
|
|
1219
|
+
type: Directive,
|
|
1220
|
+
args: [{
|
|
1221
|
+
selector: '[sacInheritForm]',
|
|
1222
|
+
providers: [
|
|
1223
|
+
{
|
|
1224
|
+
provide: SacFormDirective,
|
|
1225
|
+
useFactory: SACFORM_FACTORY,
|
|
1226
|
+
deps: [[new SkipSelf(), SacFormDirective]]
|
|
1227
|
+
}, {
|
|
1228
|
+
provide: ControlContainer,
|
|
1229
|
+
useFactory: NGFORM_FACTORY,
|
|
1230
|
+
deps: [NgForm]
|
|
1231
|
+
}
|
|
1232
|
+
]
|
|
1233
|
+
}]
|
|
1234
|
+
}] });
|
|
1235
|
+
|
|
1236
|
+
class SACBootstrap3FormModule {
|
|
1237
|
+
}
|
|
1238
|
+
SACBootstrap3FormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3FormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1239
|
+
SACBootstrap3FormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3FormModule, declarations: [SacFormDirective, SacInheritFormDirective], imports: [CommonModule,
|
|
1240
|
+
FormsModule], exports: [SacFormDirective, SacInheritFormDirective] });
|
|
1241
|
+
SACBootstrap3FormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3FormModule, imports: [[
|
|
1242
|
+
CommonModule,
|
|
1243
|
+
FormsModule
|
|
1244
|
+
]] });
|
|
1245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3FormModule, decorators: [{
|
|
1246
|
+
type: NgModule,
|
|
1247
|
+
args: [{
|
|
1248
|
+
declarations: [SacFormDirective, SacInheritFormDirective],
|
|
1249
|
+
imports: [
|
|
1250
|
+
CommonModule,
|
|
1251
|
+
FormsModule
|
|
1252
|
+
],
|
|
1253
|
+
exports: [
|
|
1254
|
+
SacFormDirective, SacInheritFormDirective
|
|
1255
|
+
]
|
|
1256
|
+
}]
|
|
1257
|
+
}] });
|
|
1258
|
+
|
|
1259
|
+
class SacPagingComponent extends SacPagingCommon {
|
|
1260
|
+
/**
|
|
1261
|
+
* Konstruktor
|
|
1262
|
+
*/
|
|
1263
|
+
constructor(injector) { super(injector); }
|
|
1264
|
+
}
|
|
1265
|
+
SacPagingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacPagingComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1266
|
+
SacPagingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacPagingComponent, selector: "sac-paging", providers: [
|
|
1267
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacPagingComponent },
|
|
1268
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacPagingComponent) }
|
|
1269
|
+
], usesInheritance: true, ngImport: i0, template: "<div class=\"row\">\r\n <div class=\"pager-nav col-sm-9\" id=\"{{name}}\">\r\n <ul class=\"pagination\" style=\"margin: 10px 0\">\r\n <li\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === firstPageIndex}\"\r\n >\r\n <a (click)=\"firstPage()\">\u00AB</a>\r\n </li>\r\n <li\r\n *ngFor=\"let page of paginators; let i = index\"\r\n [ngClass]=\"{'active': page === activePageIndex}\"\r\n >\r\n <a (click)=\"changePage(page)\">{{page + 1 }}</a>\r\n </li>\r\n <li\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === lastPageIndex}\"\r\n >\r\n <a (click)=\"lastPage()\">\u00BB</a>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"col-sm-3 text-right\" style=\"margin: 20px 0\">\r\n Seite {{getCurrentPageNumber()}} von {{getTotalPageNumber()}}\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"] }] });
|
|
1270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacPagingComponent, decorators: [{
|
|
1271
|
+
type: Component,
|
|
1272
|
+
args: [{ selector: 'sac-paging', providers: [
|
|
1273
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacPagingComponent },
|
|
1274
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacPagingComponent) }
|
|
1275
|
+
], template: "<div class=\"row\">\r\n <div class=\"pager-nav col-sm-9\" id=\"{{name}}\">\r\n <ul class=\"pagination\" style=\"margin: 10px 0\">\r\n <li\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === firstPageIndex}\"\r\n >\r\n <a (click)=\"firstPage()\">\u00AB</a>\r\n </li>\r\n <li\r\n *ngFor=\"let page of paginators; let i = index\"\r\n [ngClass]=\"{'active': page === activePageIndex}\"\r\n >\r\n <a (click)=\"changePage(page)\">{{page + 1 }}</a>\r\n </li>\r\n <li\r\n [ngClass]=\"{'aspNetDisabled disabled': activePageIndex === lastPageIndex}\"\r\n >\r\n <a (click)=\"lastPage()\">\u00BB</a>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"col-sm-3 text-right\" style=\"margin: 20px 0\">\r\n Seite {{getCurrentPageNumber()}} von {{getTotalPageNumber()}}\r\n </div>\r\n</div>\r\n" }]
|
|
1276
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1277
|
+
|
|
1278
|
+
class SacGridComponent extends SacGridCommon {
|
|
1279
|
+
constructor() {
|
|
1280
|
+
super(...arguments);
|
|
1281
|
+
this.ellipsis = false;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
SacGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1285
|
+
SacGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridComponent, selector: "sac-grid", providers: [
|
|
1286
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacGridComponent },
|
|
1287
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacGridComponent) }
|
|
1288
|
+
], queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<table class=\"table table-striped table-condensed table-hover\" id={{name}}>\r\n <thead>\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\" [pagingtext]=\"pagingtext\" [pagesizetext]=\"pagesizetext\"></sac-paging>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>\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"] }] });
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridComponent, decorators: [{
|
|
1290
|
+
type: Component,
|
|
1291
|
+
args: [{ selector: 'sac-grid', providers: [
|
|
1292
|
+
{ provide: NG_VALUE_ACCESSOR, multi: true, useExisting: SacGridComponent },
|
|
1293
|
+
{ provide: NG_VALIDATORS, multi: true, useExisting: forwardRef(() => SacGridComponent) }
|
|
1294
|
+
], template: "<table class=\"table table-striped table-condensed table-hover\" id={{name}}>\r\n <thead>\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\" [pagingtext]=\"pagingtext\" [pagesizetext]=\"pagesizetext\"></sac-paging>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n" }]
|
|
1295
|
+
}], propDecorators: { template: [{
|
|
1296
|
+
type: ContentChild,
|
|
1297
|
+
args: [TemplateRef, { static: true }]
|
|
1298
|
+
}] } });
|
|
1299
|
+
|
|
1300
|
+
class SacGridColumnComponent extends SacGridColumnCommon {
|
|
1301
|
+
constructor(grid, injector, el) {
|
|
1302
|
+
super(grid, injector, el);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
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 });
|
|
1306
|
+
SacGridColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridColumnComponent, selector: "sac-gridcolumn", providers: [
|
|
1307
|
+
{
|
|
1308
|
+
provide: SacGridColumnBaseCommon,
|
|
1309
|
+
useExisting: forwardRef(() => SacGridColumnComponent),
|
|
1310
|
+
},
|
|
1311
|
+
], 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]=\"IconSortUp\"\r\n style=\"padding-left: 0.5rem\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='asc'\"\r\n ></span>\r\n <span\r\n [class]=\"IconSortDown\"\r\n style=\"padding-left: 0.5rem\"\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"] }] });
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridColumnComponent, decorators: [{
|
|
1313
|
+
type: Component,
|
|
1314
|
+
args: [{ selector: 'sac-gridcolumn', providers: [
|
|
1315
|
+
{
|
|
1316
|
+
provide: SacGridColumnBaseCommon,
|
|
1317
|
+
useExisting: forwardRef(() => SacGridColumnComponent),
|
|
1318
|
+
},
|
|
1319
|
+
], 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]=\"IconSortUp\"\r\n style=\"padding-left: 0.5rem\"\r\n *ngIf=\"IsSortedColumn() && GetSortDirection() ==='asc'\"\r\n ></span>\r\n <span\r\n [class]=\"IconSortDown\"\r\n style=\"padding-left: 0.5rem\"\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" }]
|
|
1320
|
+
}], ctorParameters: function () { return [{ type: SacGridComponent }, { type: i0.Injector }, { type: i0.ElementRef }]; } });
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Grid Action Button
|
|
1324
|
+
*
|
|
1325
|
+
* @example Standard Action
|
|
1326
|
+
*
|
|
1327
|
+
* <ngGridButton icon="edit" (clicked)="action('edit')" [isdisabled]="true"></ngGridButton>
|
|
1328
|
+
*
|
|
1329
|
+
* @example Custom Action
|
|
1330
|
+
*
|
|
1331
|
+
* <ngGridButton iconstyle="sprite" icon="icon-sprite-base-main_info" (clicked)="action('info')"></ngGridButton>
|
|
1332
|
+
*
|
|
1333
|
+
*/
|
|
1334
|
+
class SacGridButtonComponent extends SacGridButtonCommon {
|
|
1335
|
+
/**
|
|
1336
|
+
* Gibt das Icon für den Button zurück
|
|
1337
|
+
*/
|
|
1338
|
+
getIconClass() {
|
|
1339
|
+
let iconset = this.iconstyle;
|
|
1340
|
+
let iconcss = this.icon;
|
|
1341
|
+
if (iconset === '') {
|
|
1342
|
+
switch (this.icon) {
|
|
1343
|
+
case 'edit':
|
|
1344
|
+
iconset = 'sprite';
|
|
1345
|
+
iconcss = 'icon-sprite-base-main_edit';
|
|
1346
|
+
break;
|
|
1347
|
+
case 'delete':
|
|
1348
|
+
iconset = 'sprite';
|
|
1349
|
+
iconcss = 'icon-sprite-base-main_delete';
|
|
1350
|
+
break;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
if (this._isdisabledvalue) {
|
|
1354
|
+
iconcss += '_disabled';
|
|
1355
|
+
}
|
|
1356
|
+
const result = iconset + ' ' + iconcss;
|
|
1357
|
+
return result.trim();
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
SacGridButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1361
|
+
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" });
|
|
1362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridButtonComponent, decorators: [{
|
|
1363
|
+
type: Component,
|
|
1364
|
+
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" }]
|
|
1365
|
+
}] });
|
|
1366
|
+
|
|
1367
|
+
class SacGridColumnActionComponent extends SacGridColumnActionCommon {
|
|
1368
|
+
constructor(grid, injector, el) {
|
|
1369
|
+
super(grid, injector, el);
|
|
1370
|
+
this.width = '52px';
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
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 });
|
|
1374
|
+
SacGridColumnActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridColumnActionComponent, selector: "sac-gridcolumnaction", providers: [
|
|
1375
|
+
{
|
|
1376
|
+
provide: SacGridColumnBaseCommon,
|
|
1377
|
+
useExisting: forwardRef(() => SacGridColumnActionComponent),
|
|
1378
|
+
},
|
|
1379
|
+
], usesInheritance: true, ngImport: i0, template: "<th scope=\"col\" *ngIf=\"IsHeader()\" [style.width]=\"width\"><span></span></th>\r\n<td scope=\"col\" *ngIf=\"IsBody()\">\r\n <ng-content></ng-content>\r\n</td>\r\n", directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridColumnActionComponent, decorators: [{
|
|
1381
|
+
type: Component,
|
|
1382
|
+
args: [{ selector: 'sac-gridcolumnaction', providers: [
|
|
1383
|
+
{
|
|
1384
|
+
provide: SacGridColumnBaseCommon,
|
|
1385
|
+
useExisting: forwardRef(() => SacGridColumnActionComponent),
|
|
1386
|
+
},
|
|
1387
|
+
], template: "<th scope=\"col\" *ngIf=\"IsHeader()\" [style.width]=\"width\"><span></span></th>\r\n<td scope=\"col\" *ngIf=\"IsBody()\">\r\n <ng-content></ng-content>\r\n</td>\r\n" }]
|
|
1388
|
+
}], ctorParameters: function () { return [{ type: SacGridComponent }, { type: i0.Injector }, { type: i0.ElementRef }]; } });
|
|
1389
|
+
|
|
1390
|
+
class SacGridImageComponent extends SacGridImageCommon {
|
|
1391
|
+
getIconClass() {
|
|
1392
|
+
switch (this.iconstyle) {
|
|
1393
|
+
case 'edit':
|
|
1394
|
+
return 'sprite icon-sprite-base-main_edit';
|
|
1395
|
+
case 'delete':
|
|
1396
|
+
return 'sprite icon-sprite-base-main_delete';
|
|
1397
|
+
default:
|
|
1398
|
+
return this.iconstyle;
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
}
|
|
1402
|
+
SacGridImageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridImageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1403
|
+
SacGridImageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacGridImageComponent, selector: "sac-gridimage", usesInheritance: true, ngImport: i0, template: "<span style=\"padding-right: 5px;\"><span class=\"{{getIconClass()}}\"></span></span>\r\n" });
|
|
1404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacGridImageComponent, decorators: [{
|
|
1405
|
+
type: Component,
|
|
1406
|
+
args: [{ selector: 'sac-gridimage', template: "<span style=\"padding-right: 5px;\"><span class=\"{{getIconClass()}}\"></span></span>\r\n" }]
|
|
1407
|
+
}] });
|
|
1408
|
+
|
|
1409
|
+
class SACBootstrap3GridModule {
|
|
1410
|
+
}
|
|
1411
|
+
SACBootstrap3GridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3GridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1412
|
+
SACBootstrap3GridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3GridModule, declarations: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent], imports: [CommonModule], exports: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent] });
|
|
1413
|
+
SACBootstrap3GridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3GridModule, imports: [[
|
|
1414
|
+
CommonModule
|
|
1415
|
+
]] });
|
|
1416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3GridModule, decorators: [{
|
|
1417
|
+
type: NgModule,
|
|
1418
|
+
args: [{
|
|
1419
|
+
declarations: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent],
|
|
1420
|
+
imports: [
|
|
1421
|
+
CommonModule
|
|
1422
|
+
],
|
|
1423
|
+
exports: [SacGridComponent, SacGridColumnComponent, SacGridColumnActionComponent, SacPagingComponent, SacGridButtonComponent, SacGridImageComponent]
|
|
1424
|
+
}]
|
|
1425
|
+
}] });
|
|
1426
|
+
|
|
1427
|
+
class SacTreeViewChildComponent extends SacTreeViewChildCommon {
|
|
1428
|
+
}
|
|
1429
|
+
SacTreeViewChildComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTreeViewChildComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1430
|
+
SacTreeViewChildComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTreeViewChildComponent, selector: "sac-treeviewchild", usesInheritance: true, ngImport: i0, template: "<ul class=\"jstree-children\" *ngIf=\"nodes && nodes.length\">\r\n <li\r\n *ngFor=\"let node of nodes; let last = last\"\r\n class=\"jstree-node\"\r\n [ngClass]=\"{\r\n 'jstree-open': !node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-closed': node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-leaf': !node[childrenAttr].length,\r\n 'jstree-last': last\r\n }\"\r\n [id]=\"node[idAttr]\"\r\n >\r\n <div\r\n unselectable=\"on\"\r\n role=\"presentation\"\r\n class=\"jstree-wholerow\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n [ngClass]=\"{'jstree-wholerow-clicked': node === selectedNode, 'jstree-wholerow-hovered': node.hover}\"\r\n >\r\n \r\n </div>\r\n\r\n <i\r\n class=\"jstree-icon jstree-ocl\"\r\n role=\"presentation\"\r\n (click)=\"onCollapseClick(node)\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n ></i>\r\n\r\n <a\r\n class=\"jstree-anchor\"\r\n (click)=\"onClick(node)\"\r\n [ngClass]=\"{'jstree-clicked': node === selectedNode, 'jstreehovered': node.hover}\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"treefileicon; context { item: node }\"\r\n ;\r\n content\r\n ></ng-container>\r\n\r\n {{node[textAttr]}}\r\n </a>\r\n\r\n <ng-container\r\n *ngTemplateOutlet=\"template; context { item: node }\"\r\n ></ng-container>\r\n\r\n <sac-treeviewchild\r\n *ngIf=\"node[childrenAttr] && node[childrenAttr].length\"\r\n [fileicontemplate]=\"fileicontemplate\"\r\n [template]=\"template\"\r\n [collapseall]=\"collapseall\"\r\n [ngClass]=\"(node[collapseAttr]===true)?'collapse':'show'\"\r\n [data]=\"node[childrenAttr]\"\r\n [idAttr]=\"idAttr\"\r\n [parentAttr]=\"parentAttr\"\r\n [textAttr]=\"textAttr\"\r\n [prepareData]=\"false\"\r\n (onselecteditem)=\"sendMsgToParent($event)\"\r\n [(selectedid)]=\"selectedid\"\r\n >\r\n </sac-treeviewchild>\r\n </li>\r\n</ul>\r\n", components: [{ type: SacTreeViewChildComponent, selector: "sac-treeviewchild" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTreeViewChildComponent, decorators: [{
|
|
1432
|
+
type: Component,
|
|
1433
|
+
args: [{ selector: 'sac-treeviewchild', template: "<ul class=\"jstree-children\" *ngIf=\"nodes && nodes.length\">\r\n <li\r\n *ngFor=\"let node of nodes; let last = last\"\r\n class=\"jstree-node\"\r\n [ngClass]=\"{\r\n 'jstree-open': !node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-closed': node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-leaf': !node[childrenAttr].length,\r\n 'jstree-last': last\r\n }\"\r\n [id]=\"node[idAttr]\"\r\n >\r\n <div\r\n unselectable=\"on\"\r\n role=\"presentation\"\r\n class=\"jstree-wholerow\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n [ngClass]=\"{'jstree-wholerow-clicked': node === selectedNode, 'jstree-wholerow-hovered': node.hover}\"\r\n >\r\n \r\n </div>\r\n\r\n <i\r\n class=\"jstree-icon jstree-ocl\"\r\n role=\"presentation\"\r\n (click)=\"onCollapseClick(node)\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n ></i>\r\n\r\n <a\r\n class=\"jstree-anchor\"\r\n (click)=\"onClick(node)\"\r\n [ngClass]=\"{'jstree-clicked': node === selectedNode, 'jstreehovered': node.hover}\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"treefileicon; context { item: node }\"\r\n ;\r\n content\r\n ></ng-container>\r\n\r\n {{node[textAttr]}}\r\n </a>\r\n\r\n <ng-container\r\n *ngTemplateOutlet=\"template; context { item: node }\"\r\n ></ng-container>\r\n\r\n <sac-treeviewchild\r\n *ngIf=\"node[childrenAttr] && node[childrenAttr].length\"\r\n [fileicontemplate]=\"fileicontemplate\"\r\n [template]=\"template\"\r\n [collapseall]=\"collapseall\"\r\n [ngClass]=\"(node[collapseAttr]===true)?'collapse':'show'\"\r\n [data]=\"node[childrenAttr]\"\r\n [idAttr]=\"idAttr\"\r\n [parentAttr]=\"parentAttr\"\r\n [textAttr]=\"textAttr\"\r\n [prepareData]=\"false\"\r\n (onselecteditem)=\"sendMsgToParent($event)\"\r\n [(selectedid)]=\"selectedid\"\r\n >\r\n </sac-treeviewchild>\r\n </li>\r\n</ul>\r\n" }]
|
|
1434
|
+
}] });
|
|
1435
|
+
|
|
1436
|
+
class SacTreeViewComponent extends SacTreeViewCommon {
|
|
1437
|
+
}
|
|
1438
|
+
SacTreeViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTreeViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1439
|
+
SacTreeViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTreeViewComponent, selector: "sac-treeview", usesInheritance: true, ngImport: i0, template: "<div class=\"structure panel panel-default\" icon=\"Structure\">\r\n <div class=\"panel-heading\">\r\n <p class=\"panel-title\"><span>{{ name }}</span></p>\r\n </div>\r\n <div class=\"panel-body\">\r\n <div class=\"right\">\r\n <div\r\n class=\"form-submit form-inline\"\r\n style=\"text-align: right; height: 24px\"\r\n >\r\n <a class=\"btn-inline\"\r\n ><i class=\"icon icon-base-expand\" (click)=\"collapseAllNode(false)\"></i\r\n ></a>\r\n <a class=\"btn-inline\"\r\n ><i\r\n class=\"icon icon-base-collapse\"\r\n (click)=\"collapseAllNode(true)\"\r\n ></i\r\n ></a>\r\n </div>\r\n </div>\r\n <div\r\n [id]=\"name\"\r\n class=\"structure-tree single-root jstree jstree-1 jstree-default\"\r\n >\r\n <ul\r\n class=\"jstree-container-ul jstree-children jstree-no-dots jstree-striped jstree-wholerow-ul\"\r\n *ngIf=\"nodes && nodes.length\"\r\n >\r\n <li\r\n *ngFor=\"let node of nodes; let last = last\"\r\n class=\"jstree-node\"\r\n [ngClass]=\"{\r\n 'jstree-open': !node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-closed': node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-leaf': !node[childrenAttr].length,\r\n 'jstree-last': last\r\n }\"\r\n [id]=\"node[idAttr]\"\r\n >\r\n <div\r\n unselectable=\"on\"\r\n role=\"presentation\"\r\n class=\"jstree-wholerow\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n [ngClass]=\"{'jstree-wholerow-clicked': node === selectedNode, 'jstree-wholerow-hovered': node.hover}\"\r\n >\r\n \r\n </div>\r\n\r\n <i\r\n class=\"jstree-icon jstree-ocl\"\r\n role=\"presentation\"\r\n (click)=\"onCollapseClick(node)\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n ></i>\r\n\r\n <a\r\n class=\"jstree-anchor\"\r\n (click)=\"onClick(node)\"\r\n [ngClass]=\"{'jstree-clicked': node === selectedNode, 'jstreehovered': node.hover}\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"treefileicon; context { item: node }\"\r\n ;\r\n content\r\n ></ng-container>\r\n\r\n <span>{{node[textAttr]}}</span>\r\n </a>\r\n\r\n <ng-container\r\n *ngTemplateOutlet=\"template; context { item: node }\"\r\n ;\r\n content\r\n ></ng-container>\r\n\r\n <sac-treeviewchild\r\n *ngIf=\"node[childrenAttr] && node[childrenAttr].length\"\r\n [fileicontemplate]=\"fileicontemplate\"\r\n [template]=\"template\"\r\n [collapseall]=\"collapseall\"\r\n [ngClass]=\"(node[collapseAttr]===true)?'collapse':'show'\"\r\n [data]=\"node[childrenAttr]\"\r\n [idAttr]=\"idAttr\"\r\n [parentAttr]=\"parentAttr\"\r\n [textAttr]=\"textAttr\"\r\n [prepareData]=\"false\"\r\n (onselecteditem)=\"sendMsgToParent($event)\"\r\n [(selectedid)]=\"selectedid\"\r\n >\r\n </sac-treeviewchild>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: SacTreeViewChildComponent, selector: "sac-treeviewchild" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
1440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTreeViewComponent, decorators: [{
|
|
1441
|
+
type: Component,
|
|
1442
|
+
args: [{ selector: 'sac-treeview', template: "<div class=\"structure panel panel-default\" icon=\"Structure\">\r\n <div class=\"panel-heading\">\r\n <p class=\"panel-title\"><span>{{ name }}</span></p>\r\n </div>\r\n <div class=\"panel-body\">\r\n <div class=\"right\">\r\n <div\r\n class=\"form-submit form-inline\"\r\n style=\"text-align: right; height: 24px\"\r\n >\r\n <a class=\"btn-inline\"\r\n ><i class=\"icon icon-base-expand\" (click)=\"collapseAllNode(false)\"></i\r\n ></a>\r\n <a class=\"btn-inline\"\r\n ><i\r\n class=\"icon icon-base-collapse\"\r\n (click)=\"collapseAllNode(true)\"\r\n ></i\r\n ></a>\r\n </div>\r\n </div>\r\n <div\r\n [id]=\"name\"\r\n class=\"structure-tree single-root jstree jstree-1 jstree-default\"\r\n >\r\n <ul\r\n class=\"jstree-container-ul jstree-children jstree-no-dots jstree-striped jstree-wholerow-ul\"\r\n *ngIf=\"nodes && nodes.length\"\r\n >\r\n <li\r\n *ngFor=\"let node of nodes; let last = last\"\r\n class=\"jstree-node\"\r\n [ngClass]=\"{\r\n 'jstree-open': !node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-closed': node[collapseAttr] && node[childrenAttr] && node[childrenAttr].length,\r\n 'jstree-leaf': !node[childrenAttr].length,\r\n 'jstree-last': last\r\n }\"\r\n [id]=\"node[idAttr]\"\r\n >\r\n <div\r\n unselectable=\"on\"\r\n role=\"presentation\"\r\n class=\"jstree-wholerow\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n [ngClass]=\"{'jstree-wholerow-clicked': node === selectedNode, 'jstree-wholerow-hovered': node.hover}\"\r\n >\r\n \r\n </div>\r\n\r\n <i\r\n class=\"jstree-icon jstree-ocl\"\r\n role=\"presentation\"\r\n (click)=\"onCollapseClick(node)\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n ></i>\r\n\r\n <a\r\n class=\"jstree-anchor\"\r\n (click)=\"onClick(node)\"\r\n [ngClass]=\"{'jstree-clicked': node === selectedNode, 'jstreehovered': node.hover}\"\r\n (mouseover)=\"node.hover=true\"\r\n (mouseout)=\"node.hover=false\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"treefileicon; context { item: node }\"\r\n ;\r\n content\r\n ></ng-container>\r\n\r\n <span>{{node[textAttr]}}</span>\r\n </a>\r\n\r\n <ng-container\r\n *ngTemplateOutlet=\"template; context { item: node }\"\r\n ;\r\n content\r\n ></ng-container>\r\n\r\n <sac-treeviewchild\r\n *ngIf=\"node[childrenAttr] && node[childrenAttr].length\"\r\n [fileicontemplate]=\"fileicontemplate\"\r\n [template]=\"template\"\r\n [collapseall]=\"collapseall\"\r\n [ngClass]=\"(node[collapseAttr]===true)?'collapse':'show'\"\r\n [data]=\"node[childrenAttr]\"\r\n [idAttr]=\"idAttr\"\r\n [parentAttr]=\"parentAttr\"\r\n [textAttr]=\"textAttr\"\r\n [prepareData]=\"false\"\r\n (onselecteditem)=\"sendMsgToParent($event)\"\r\n [(selectedid)]=\"selectedid\"\r\n >\r\n </sac-treeviewchild>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
1443
|
+
}] });
|
|
1444
|
+
|
|
1445
|
+
class SacTreeItemActionComponent extends SacTreeItemActionCommon {
|
|
1446
|
+
constructor(el) {
|
|
1447
|
+
super(el);
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
SacTreeItemActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTreeItemActionComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1451
|
+
SacTreeItemActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.7", type: SacTreeItemActionComponent, selector: "sac-treeitemaction", usesInheritance: true, ngImport: i0, template: "<i class=\"{{transformClass(iconstyle)}}\" (mouseover)=\"item.hover=true\" (mouseout)=\"item.hover=false\" (click)=\"iconaction()\" ></i>" });
|
|
1452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SacTreeItemActionComponent, decorators: [{
|
|
1453
|
+
type: Component,
|
|
1454
|
+
args: [{ selector: 'sac-treeitemaction', template: "<i class=\"{{transformClass(iconstyle)}}\" (mouseover)=\"item.hover=true\" (mouseout)=\"item.hover=false\" (click)=\"iconaction()\" ></i>" }]
|
|
1455
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
1456
|
+
|
|
1457
|
+
class SACBootstrap3TtreeviewModule {
|
|
1458
|
+
}
|
|
1459
|
+
SACBootstrap3TtreeviewModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TtreeviewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1460
|
+
SACBootstrap3TtreeviewModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TtreeviewModule, declarations: [SacTreeViewComponent, SacTreeViewChildComponent, SacTreeItemActionComponent], imports: [CommonModule], exports: [SacTreeViewComponent, SacTreeViewChildComponent, SacTreeItemActionComponent] });
|
|
1461
|
+
SACBootstrap3TtreeviewModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TtreeviewModule, imports: [[
|
|
1462
|
+
CommonModule
|
|
1463
|
+
]] });
|
|
1464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: SACBootstrap3TtreeviewModule, decorators: [{
|
|
1465
|
+
type: NgModule,
|
|
1466
|
+
args: [{
|
|
1467
|
+
declarations: [SacTreeViewComponent, SacTreeViewChildComponent, SacTreeItemActionComponent],
|
|
1468
|
+
imports: [
|
|
1469
|
+
CommonModule
|
|
1470
|
+
],
|
|
1471
|
+
exports: [SacTreeViewComponent, SacTreeViewChildComponent, SacTreeItemActionComponent]
|
|
1472
|
+
}]
|
|
1473
|
+
}] });
|
|
1474
|
+
|
|
1475
|
+
/*
|
|
1476
|
+
* Public API Surface of sac-bootstrap3
|
|
1477
|
+
*/
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Generated bundle index. Do not edit.
|
|
1481
|
+
*/
|
|
1482
|
+
|
|
1483
|
+
export { NGFORM_FACTORY, SACBootstrap3ButtonModule, SACBootstrap3CheckboxModule, SACBootstrap3ConfirmModule, SACBootstrap3DateTimeModule, SACBootstrap3DialogModule, SACBootstrap3FormModule, SACBootstrap3GridModule, SACBootstrap3InputModule, SACBootstrap3ListModule, SACBootstrap3StaticLabelModule, SACBootstrap3TabsModule, SACBootstrap3TinyMceModule, SACBootstrap3TooltipModule, SACBootstrap3TtreeviewModule, SACBootstrap3UploadModule, SACBootstrap3ValidationSummaryModule, SACBootstrap3WizardModule, SACFORM_FACTORY, SacButtonComponent, SacCheckboxComponent, SacConfirmComponent, SacDateComponent, SacDateSelectorComponent, SacDateTimeComponent, SacDialogComponent, SacDropdownComponent, SacDropdownOptionDirective, SacFormDirective, SacGridButtonComponent, SacGridColumnActionComponent, SacGridColumnComponent, SacGridComponent, SacGridImageComponent, SacInheritFormDirective, SacInputAreaComponent, SacInputComponent, SacInputCurrencyComponent, SacInputDecimalComponent, SacInputEmailComponent, SacInputIntegerComponent, SacInputPasswordComponent, SacInputSearchComponent, SacListboxComponent, SacPagingComponent, SacRadiobuttonComponent, SacRadiobuttonsComponent, SacStaticFormContainerComponent, SacStaticLabelComponent, SacTabComponent, SacTabItemComponent, SacTimeComponent, SacTinyMceComponent, SacTooltipComponent, SacTreeItemActionComponent, SacTreeViewChildComponent, SacTreeViewComponent, SacUploadComponent, SacUploadMultipleComponent, SacValidationSummaryComponent, SacWizardComponent, SacWizardItemComponent, ServiceConfirm };
|
|
1484
|
+
//# sourceMappingURL=simpleangularcontrols-sac-bootstrap3.mjs.map
|