@simpleangularcontrols/sac-common 10.0.0-rc.3 → 10.0.0-rc.30
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 +16 -16
- package/bundles/simpleangularcontrols-sac-common.umd.js +13451 -11757
- package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js +1 -1
- package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -1
- package/common/basedatetimecontrol.d.ts +200 -83
- package/common/basedatetimecontrol.ngfactory.d.ts +1 -1
- package/common/baseinputcontrol.d.ts +40 -42
- package/common/baseinputcontrol.ngfactory.d.ts +1 -1
- package/common/baselistcontrol.d.ts +43 -43
- package/common/baselistcontrol.ngfactory.d.ts +1 -1
- package/common/basemodelcontrol.d.ts +300 -252
- package/common/basemodelcontrol.ngfactory.d.ts +1 -1
- package/common/baseselectcontrol.d.ts +14 -14
- package/common/baseselectcontrol.ngfactory.d.ts +1 -1
- package/common/baseuploadcontrol.d.ts +324 -284
- package/common/baseuploadcontrol.ngfactory.d.ts +1 -1
- package/components/browser/browser.d.ts +264 -267
- package/components/browser/browser.ngfactory.d.ts +1 -1
- package/components/browser/models/browserfile.d.ts +17 -17
- package/components/browser/models/browserfile.ngfactory.d.ts +1 -1
- package/components/browser/models/browserfiledeleterequest.d.ts +18 -18
- package/components/browser/models/browserfiledeleterequest.ngfactory.d.ts +1 -1
- package/components/browser/models/browserfilerenamerequest.d.ts +22 -22
- package/components/browser/models/browserfilerenamerequest.ngfactory.d.ts +1 -1
- package/components/browser/models/browserfileresponse.d.ts +10 -10
- package/components/browser/models/browserfileresponse.ngfactory.d.ts +1 -1
- package/components/browser/models/browserfilesaverequest.d.ts +22 -22
- package/components/browser/models/browserfilesaverequest.ngfactory.d.ts +1 -1
- package/components/browser/models/browsernode.d.ts +34 -34
- package/components/browser/models/browsernode.ngfactory.d.ts +1 -1
- package/components/browser/models/browsernodedeleterequest.d.ts +14 -14
- package/components/browser/models/browsernodedeleterequest.ngfactory.d.ts +1 -1
- package/components/browser/models/browsernodenewrequest.d.ts +18 -18
- package/components/browser/models/browsernodenewrequest.ngfactory.d.ts +1 -1
- package/components/browser/models/browsernoderenamerequest.d.ts +18 -18
- package/components/browser/models/browsernoderenamerequest.ngfactory.d.ts +1 -1
- package/components/browser/models/browsernoderequest.d.ts +18 -18
- package/components/browser/models/browsernoderequest.ngfactory.d.ts +1 -1
- package/components/browser/models/browsernoderesponse.d.ts +10 -10
- package/components/browser/models/browsernoderesponse.ngfactory.d.ts +1 -1
- package/controls/buttons/button.d.ts +80 -70
- package/controls/buttons/button.ngfactory.d.ts +1 -1
- package/controls/checkbox/checkbox.d.ts +32 -23
- package/controls/checkbox/checkbox.ngfactory.d.ts +1 -1
- package/controls/checkbox/radiobutton.d.ts +120 -79
- package/controls/checkbox/radiobutton.ngfactory.d.ts +1 -1
- package/controls/checkbox/radiobuttons.d.ts +63 -60
- package/controls/checkbox/radiobuttons.ngfactory.d.ts +1 -1
- package/controls/confirm/confirm.button.d.ts +25 -25
- package/controls/confirm/confirm.button.ngfactory.d.ts +1 -1
- package/controls/confirm/confirm.d.ts +50 -49
- package/controls/confirm/confirm.ngfactory.d.ts +1 -1
- package/controls/confirm/confirm.service.d.ts +63 -63
- package/controls/confirm/confirm.service.ngfactory.d.ts +1 -1
- package/controls/contextmenu/contextmenu.d.ts +134 -113
- package/controls/contextmenu/contextmenu.interface.d.ts +9 -0
- package/{utilities/positioning.ngfactory.d.ts → controls/contextmenu/contextmenu.interface.ngfactory.d.ts} +1 -1
- package/controls/contextmenu/contextmenu.ngfactory.d.ts +1 -1
- package/controls/contextmenu/contextmenuanchor.d.ts +15 -15
- package/controls/contextmenu/contextmenuanchor.ngfactory.d.ts +1 -1
- package/controls/contextmenu/contextmenucontainer.d.ts +15 -15
- package/controls/contextmenu/contextmenucontainer.ngfactory.d.ts +1 -1
- package/controls/contextmenu/contextmenuitem.d.ts +10 -5
- package/controls/contextmenu/contextmenuitem.ngfactory.d.ts +1 -1
- package/controls/contextmenu/contextmenuitembutton.d.ts +67 -66
- package/controls/contextmenu/contextmenuitembutton.ngfactory.d.ts +1 -1
- package/controls/datetime/date.d.ts +117 -120
- package/controls/datetime/date.ngfactory.d.ts +1 -1
- package/controls/datetime/dateselector.d.ts +176 -161
- package/controls/datetime/dateselector.ngfactory.d.ts +1 -1
- package/controls/datetime/datetime.d.ts +129 -135
- package/controls/datetime/datetime.ngfactory.d.ts +1 -1
- package/controls/datetime/time.d.ts +121 -115
- package/controls/datetime/time.ngfactory.d.ts +1 -1
- package/controls/dialog/dialog.d.ts +103 -105
- package/controls/dialog/dialog.ngfactory.d.ts +1 -1
- package/controls/form/form.d.ts +52 -47
- package/controls/form/form.ngfactory.d.ts +1 -1
- package/controls/grid/grid.d.ts +132 -125
- package/controls/grid/grid.ngfactory.d.ts +1 -1
- package/controls/grid/gridbutton.d.ts +53 -33
- package/controls/grid/gridbutton.ngfactory.d.ts +1 -1
- package/controls/grid/gridcolumn.d.ts +32 -28
- package/controls/grid/gridcolumn.ngfactory.d.ts +1 -1
- package/controls/grid/gridcolumnaction.d.ts +15 -15
- package/controls/grid/gridcolumnaction.ngfactory.d.ts +1 -1
- package/controls/grid/gridcolumnbase.d.ts +115 -86
- package/controls/grid/gridcolumnbase.ngfactory.d.ts +1 -1
- package/controls/grid/gridimage.d.ts +9 -9
- package/controls/grid/gridimage.ngfactory.d.ts +1 -1
- package/controls/grid/model.d.ts +95 -83
- package/controls/grid/model.ngfactory.d.ts +1 -1
- package/controls/grid/paging.d.ts +148 -147
- package/controls/grid/paging.ngfactory.d.ts +1 -1
- package/controls/input/input.d.ts +35 -35
- package/controls/input/input.ngfactory.d.ts +1 -1
- package/controls/input/inputarea.d.ts +28 -26
- package/controls/input/inputarea.ngfactory.d.ts +1 -1
- package/controls/input/inputcurrency.d.ts +14 -11
- package/controls/input/inputcurrency.ngfactory.d.ts +1 -1
- package/controls/input/inputdecimal.d.ts +59 -59
- package/controls/input/inputdecimal.ngfactory.d.ts +1 -1
- package/controls/input/inputemail.d.ts +19 -19
- package/controls/input/inputemail.ngfactory.d.ts +1 -1
- package/controls/input/inputinteger.d.ts +59 -59
- package/controls/input/inputinteger.ngfactory.d.ts +1 -1
- package/controls/input/inputpassword.d.ts +43 -23
- package/controls/input/inputpassword.ngfactory.d.ts +1 -1
- package/controls/input/inputsearch.d.ts +35 -23
- package/controls/input/inputsearch.ngfactory.d.ts +1 -1
- package/controls/layout/formlayout.d.ts +65 -46
- package/controls/layout/formlayout.ngfactory.d.ts +1 -1
- package/controls/list/buildvaluestring.d.ts +6 -0
- package/controls/{treeview/ngtreeitemaction.ngfactory.d.ts → list/buildvaluestring.ngfactory.d.ts} +1 -1
- package/controls/list/dropdown.d.ts +97 -138
- package/controls/list/dropdown.ngfactory.d.ts +1 -1
- package/controls/list/dropdownoptions.d.ts +38 -0
- package/{validation/minlength.validator.ngfactory.d.ts → controls/list/dropdownoptions.ngfactory.d.ts} +1 -1
- package/controls/list/list.module.d.ts +2 -2
- package/controls/list/list.module.ngfactory.d.ts +3 -3
- package/controls/list/listbox.d.ts +88 -86
- package/controls/list/listbox.ngfactory.d.ts +1 -1
- package/controls/multilanguage/multilanguageinput.d.ts +102 -102
- package/controls/multilanguage/multilanguageinput.ngfactory.d.ts +1 -1
- package/controls/multilanguage/multilanguageinputarea.d.ts +107 -107
- package/controls/multilanguage/multilanguageinputarea.ngfactory.d.ts +1 -1
- package/controls/static/formcontainer.d.ts +35 -31
- package/controls/static/formcontainer.ngfactory.d.ts +1 -1
- package/controls/static/staticlabel.d.ts +18 -18
- package/controls/static/staticlabel.ngfactory.d.ts +1 -1
- package/controls/tabs/tab.d.ts +49 -45
- package/controls/tabs/tab.ngfactory.d.ts +1 -1
- package/controls/tabs/tabitem.d.ts +30 -30
- package/controls/tabs/tabitem.ngfactory.d.ts +1 -1
- package/controls/tinymce/tinymce.d.ts +153 -149
- package/controls/tinymce/tinymce.ngfactory.d.ts +1 -1
- package/controls/tinymce/tinymcedialogsettings.d.ts +27 -27
- package/controls/tinymce/tinymcedialogsettings.ngfactory.d.ts +1 -1
- package/controls/tinymce/tinymcedialogsettingsmeta.d.ts +9 -9
- package/controls/tinymce/tinymcedialogsettingsmeta.ngfactory.d.ts +1 -1
- package/controls/tinymce/tinymceinstance.d.ts +10 -10
- package/controls/tinymce/tinymceinstance.ngfactory.d.ts +1 -1
- package/controls/tooltip/tooltip.d.ts +158 -138
- package/controls/tooltip/tooltip.ngfactory.d.ts +1 -1
- package/controls/treeview/treeview.d.ts +230 -185
- package/controls/treeview/treeview.ngfactory.d.ts +1 -1
- package/controls/upload/dropzonemultiple.d.ts +74 -70
- package/controls/upload/dropzonemultiple.ngfactory.d.ts +1 -1
- package/controls/upload/dropzonesingle.d.ts +51 -47
- package/controls/upload/dropzonesingle.ngfactory.d.ts +1 -1
- package/controls/upload/uploadmultiple.d.ts +54 -50
- package/controls/upload/uploadmultiple.ngfactory.d.ts +1 -1
- package/controls/upload/uploadsingle.d.ts +31 -27
- package/controls/upload/uploadsingle.ngfactory.d.ts +1 -1
- package/controls/validation/validationsummary.d.ts +65 -60
- package/controls/validation/validationsummary.ngfactory.d.ts +1 -1
- package/controls/wizard/wizard.d.ts +80 -73
- package/controls/wizard/wizard.ngfactory.d.ts +1 -1
- package/controls/wizard/wizarditem.d.ts +25 -25
- package/controls/wizard/wizarditem.ngfactory.d.ts +1 -1
- package/enums/ButtonRoleType.d.ts +26 -1
- package/enums/ButtonRoleType.ngfactory.d.ts +1 -1
- package/enums/ControlHeight.d.ts +17 -17
- package/enums/ControlHeight.ngfactory.d.ts +1 -1
- package/enums/IconType.d.ts +7 -7
- package/enums/IconType.ngfactory.d.ts +1 -1
- package/esm2015/common/basedatetimecontrol.js +364 -164
- package/esm2015/common/basedatetimecontrol.ngfactory.js +7 -7
- package/esm2015/common/baseinputcontrol.js +75 -78
- package/esm2015/common/baseinputcontrol.ngfactory.js +7 -7
- package/esm2015/common/baselistcontrol.js +59 -55
- package/esm2015/common/baselistcontrol.ngfactory.js +7 -7
- package/esm2015/common/basemodelcontrol.js +563 -483
- package/esm2015/common/basemodelcontrol.ngfactory.js +7 -7
- package/esm2015/common/baseselectcontrol.js +28 -26
- package/esm2015/common/baseselectcontrol.ngfactory.js +7 -7
- package/esm2015/common/baseuploadcontrol.js +523 -457
- package/esm2015/common/baseuploadcontrol.ngfactory.js +7 -7
- package/esm2015/components/browser/browser.js +533 -545
- package/esm2015/components/browser/browser.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browserfile.js +1 -1
- package/esm2015/components/browser/models/browserfile.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browserfiledeleterequest.js +15 -13
- package/esm2015/components/browser/models/browserfiledeleterequest.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browserfilerenamerequest.js +15 -13
- package/esm2015/components/browser/models/browserfilerenamerequest.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browserfileresponse.js +1 -1
- package/esm2015/components/browser/models/browserfileresponse.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browserfilesaverequest.js +15 -13
- package/esm2015/components/browser/models/browserfilesaverequest.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browsernode.js +1 -1
- package/esm2015/components/browser/models/browsernode.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browsernodedeleterequest.js +15 -13
- package/esm2015/components/browser/models/browsernodedeleterequest.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browsernodenewrequest.js +15 -13
- package/esm2015/components/browser/models/browsernodenewrequest.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browsernoderenamerequest.js +15 -13
- package/esm2015/components/browser/models/browsernoderenamerequest.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browsernoderequest.js +15 -13
- package/esm2015/components/browser/models/browsernoderequest.ngfactory.js +7 -7
- package/esm2015/components/browser/models/browsernoderesponse.js +1 -1
- package/esm2015/components/browser/models/browsernoderesponse.ngfactory.js +7 -7
- package/esm2015/controls/buttons/button.js +152 -141
- package/esm2015/controls/buttons/button.ngfactory.js +7 -7
- package/esm2015/controls/checkbox/checkbox.js +56 -33
- package/esm2015/controls/checkbox/checkbox.ngfactory.js +7 -7
- package/esm2015/controls/checkbox/radiobutton.js +173 -115
- package/esm2015/controls/checkbox/radiobutton.ngfactory.js +7 -7
- package/esm2015/controls/checkbox/radiobuttons.js +116 -113
- package/esm2015/controls/checkbox/radiobuttons.ngfactory.js +7 -7
- package/esm2015/controls/confirm/confirm.button.js +32 -32
- package/esm2015/controls/confirm/confirm.button.ngfactory.js +7 -7
- package/esm2015/controls/confirm/confirm.js +74 -75
- package/esm2015/controls/confirm/confirm.ngfactory.js +7 -7
- package/esm2015/controls/confirm/confirm.service.js +87 -87
- package/esm2015/controls/confirm/confirm.service.ngfactory.js +7 -7
- package/esm2015/controls/contextmenu/contextmenu.interface.js +1 -0
- package/esm2015/controls/contextmenu/contextmenu.interface.ngfactory.js +7 -0
- package/esm2015/controls/contextmenu/contextmenu.js +210 -194
- package/esm2015/controls/contextmenu/contextmenu.ngfactory.js +7 -7
- package/esm2015/controls/contextmenu/contextmenuanchor.js +22 -22
- package/esm2015/controls/contextmenu/contextmenuanchor.ngfactory.js +7 -7
- package/esm2015/controls/contextmenu/contextmenucontainer.js +22 -22
- package/esm2015/controls/contextmenu/contextmenucontainer.ngfactory.js +7 -7
- package/esm2015/controls/contextmenu/contextmenuitem.js +21 -10
- package/esm2015/controls/contextmenu/contextmenuitem.ngfactory.js +7 -7
- package/esm2015/controls/contextmenu/contextmenuitembutton.js +106 -97
- package/esm2015/controls/contextmenu/contextmenuitembutton.ngfactory.js +7 -7
- package/esm2015/controls/datetime/date.js +213 -212
- package/esm2015/controls/datetime/date.ngfactory.js +7 -7
- package/esm2015/controls/datetime/dateselector.js +481 -458
- package/esm2015/controls/datetime/dateselector.ngfactory.js +7 -7
- package/esm2015/controls/datetime/datetime.js +227 -229
- package/esm2015/controls/datetime/datetime.ngfactory.js +7 -7
- package/esm2015/controls/datetime/time.js +222 -212
- package/esm2015/controls/datetime/time.ngfactory.js +7 -7
- package/esm2015/controls/dialog/dialog.js +182 -207
- package/esm2015/controls/dialog/dialog.ngfactory.js +7 -7
- package/esm2015/controls/form/form.js +114 -110
- package/esm2015/controls/form/form.ngfactory.js +7 -7
- package/esm2015/controls/grid/grid.js +155 -144
- package/esm2015/controls/grid/grid.ngfactory.js +7 -7
- package/esm2015/controls/grid/gridbutton.js +102 -54
- package/esm2015/controls/grid/gridbutton.ngfactory.js +7 -7
- package/esm2015/controls/grid/gridcolumn.js +60 -49
- package/esm2015/controls/grid/gridcolumn.ngfactory.js +7 -7
- package/esm2015/controls/grid/gridcolumnaction.js +27 -26
- package/esm2015/controls/grid/gridcolumnaction.ngfactory.js +7 -7
- package/esm2015/controls/grid/gridcolumnbase.js +159 -126
- package/esm2015/controls/grid/gridcolumnbase.ngfactory.js +7 -7
- package/esm2015/controls/grid/gridimage.js +13 -13
- package/esm2015/controls/grid/gridimage.ngfactory.js +7 -7
- package/esm2015/controls/grid/model.js +103 -79
- package/esm2015/controls/grid/model.ngfactory.js +7 -7
- package/esm2015/controls/grid/paging.js +261 -254
- package/esm2015/controls/grid/paging.ngfactory.js +7 -7
- package/esm2015/controls/input/input.js +64 -66
- package/esm2015/controls/input/input.ngfactory.js +7 -7
- package/esm2015/controls/input/inputarea.js +63 -54
- package/esm2015/controls/input/inputarea.ngfactory.js +7 -7
- package/esm2015/controls/input/inputcurrency.js +34 -31
- package/esm2015/controls/input/inputcurrency.ngfactory.js +7 -7
- package/esm2015/controls/input/inputdecimal.js +140 -146
- package/esm2015/controls/input/inputdecimal.ngfactory.js +7 -7
- package/esm2015/controls/input/inputemail.js +41 -41
- package/esm2015/controls/input/inputemail.ngfactory.js +7 -7
- package/esm2015/controls/input/inputinteger.js +126 -130
- package/esm2015/controls/input/inputinteger.ngfactory.js +7 -7
- package/esm2015/controls/input/inputpassword.js +78 -46
- package/esm2015/controls/input/inputpassword.ngfactory.js +7 -7
- package/esm2015/controls/input/inputsearch.js +69 -37
- package/esm2015/controls/input/inputsearch.ngfactory.js +7 -7
- package/esm2015/controls/layout/formlayout.js +89 -70
- package/esm2015/controls/layout/formlayout.ngfactory.js +7 -7
- package/esm2015/controls/list/buildvaluestring.js +20 -0
- package/esm2015/controls/list/buildvaluestring.ngfactory.js +7 -0
- package/esm2015/controls/list/dropdown.js +182 -270
- package/esm2015/controls/list/dropdown.ngfactory.js +7 -7
- package/esm2015/controls/list/dropdownoptions.js +79 -0
- package/esm2015/controls/list/dropdownoptions.ngfactory.js +7 -0
- package/esm2015/controls/list/list.module.js +11 -11
- package/esm2015/controls/list/list.module.ngfactory.js +7 -7
- package/esm2015/controls/list/listbox.js +189 -187
- package/esm2015/controls/list/listbox.ngfactory.js +7 -7
- package/esm2015/controls/multilanguage/multilanguageinput.js +224 -230
- package/esm2015/controls/multilanguage/multilanguageinput.ngfactory.js +7 -7
- package/esm2015/controls/multilanguage/multilanguageinputarea.js +225 -231
- package/esm2015/controls/multilanguage/multilanguageinputarea.ngfactory.js +7 -7
- package/esm2015/controls/static/formcontainer.js +61 -50
- package/esm2015/controls/static/formcontainer.ngfactory.js +7 -7
- package/esm2015/controls/static/staticlabel.js +35 -31
- package/esm2015/controls/static/staticlabel.ngfactory.js +7 -7
- package/esm2015/controls/tabs/tab.js +82 -72
- package/esm2015/controls/tabs/tab.ngfactory.js +7 -7
- package/esm2015/controls/tabs/tabitem.js +34 -32
- package/esm2015/controls/tabs/tabitem.ngfactory.js +7 -7
- package/esm2015/controls/tinymce/tinymce.js +239 -238
- package/esm2015/controls/tinymce/tinymce.ngfactory.js +7 -7
- package/esm2015/controls/tinymce/tinymcedialogsettings.js +15 -13
- package/esm2015/controls/tinymce/tinymcedialogsettings.ngfactory.js +7 -7
- package/esm2015/controls/tinymce/tinymcedialogsettingsmeta.js +1 -4
- package/esm2015/controls/tinymce/tinymcedialogsettingsmeta.ngfactory.js +7 -7
- package/esm2015/controls/tinymce/tinymceinstance.js +1 -1
- package/esm2015/controls/tinymce/tinymceinstance.ngfactory.js +7 -7
- package/esm2015/controls/tooltip/tooltip.js +258 -361
- package/esm2015/controls/tooltip/tooltip.ngfactory.js +7 -7
- package/esm2015/controls/treeview/treeview.js +412 -322
- package/esm2015/controls/treeview/treeview.ngfactory.js +7 -7
- package/esm2015/controls/upload/dropzonemultiple.js +169 -163
- package/esm2015/controls/upload/dropzonemultiple.ngfactory.js +7 -7
- package/esm2015/controls/upload/dropzonesingle.js +116 -108
- package/esm2015/controls/upload/dropzonesingle.ngfactory.js +7 -7
- package/esm2015/controls/upload/uploadmultiple.js +129 -121
- package/esm2015/controls/upload/uploadmultiple.ngfactory.js +7 -7
- package/esm2015/controls/upload/uploadsingle.js +67 -55
- package/esm2015/controls/upload/uploadsingle.ngfactory.js +7 -7
- package/esm2015/controls/validation/validationsummary.js +140 -133
- package/esm2015/controls/validation/validationsummary.ngfactory.js +7 -7
- package/esm2015/controls/wizard/wizard.js +152 -139
- package/esm2015/controls/wizard/wizard.ngfactory.js +7 -7
- package/esm2015/controls/wizard/wizarditem.js +29 -27
- package/esm2015/controls/wizard/wizarditem.ngfactory.js +7 -7
- package/esm2015/enums/ButtonRoleType.js +1 -1
- package/esm2015/enums/ButtonRoleType.ngfactory.js +7 -7
- package/esm2015/enums/ControlHeight.js +19 -19
- package/esm2015/enums/ControlHeight.ngfactory.js +7 -7
- package/esm2015/enums/IconType.js +9 -9
- package/esm2015/enums/IconType.ngfactory.js +7 -7
- package/esm2015/interfaces/ISacConfigurationService.js +1 -1
- package/esm2015/interfaces/ISacConfigurationService.ngfactory.js +7 -7
- package/esm2015/interfaces/ISacFileBrowserService.js +1 -1
- package/esm2015/interfaces/ISacFileBrowserService.ngfactory.js +7 -7
- package/esm2015/interfaces/ISacIconService.js +1 -1
- package/esm2015/interfaces/ISacIconService.ngfactory.js +7 -7
- package/esm2015/interfaces/ISacLabelSizes.js +1 -1
- package/esm2015/interfaces/ISacLabelSizes.ngfactory.js +7 -7
- package/esm2015/interfaces/ISacLanguageService.js +1 -1
- package/esm2015/interfaces/ISacLanguageService.ngfactory.js +7 -7
- package/esm2015/interfaces/ISacLocalisationService.js +1 -1
- package/esm2015/interfaces/ISacLocalisationService.ngfactory.js +7 -7
- package/esm2015/interfaces/ISacUploadEventCompleteState.js +1 -0
- package/esm2015/interfaces/ISacUploadEventCompleteState.ngfactory.js +7 -0
- package/esm2015/interfaces/ISacValidationKeyService.js +1 -1
- package/esm2015/interfaces/ISacValidationKeyService.ngfactory.js +7 -7
- package/esm2015/interfaces/iabstractcontrollabel.js +1 -1
- package/esm2015/interfaces/iabstractcontrollabel.ngfactory.js +7 -7
- package/esm2015/interfaces/iconfirmcomponent.js +1 -1
- package/esm2015/interfaces/iconfirmcomponent.ngfactory.js +7 -7
- package/esm2015/interfaces/idatetimecontrol.js +1 -1
- package/esm2015/interfaces/idatetimecontrol.ngfactory.js +7 -7
- package/esm2015/interfaces/iuploadcontrol.js +1 -1
- package/esm2015/interfaces/iuploadcontrol.ngfactory.js +7 -7
- package/esm2015/interfaces/treeviewaction.interface.js +1 -0
- package/esm2015/interfaces/treeviewaction.interface.ngfactory.js +7 -0
- package/esm2015/models/languagemodel.js +15 -13
- package/esm2015/models/languagemodel.ngfactory.js +7 -7
- package/esm2015/public_api.js +112 -101
- package/esm2015/public_api.ngfactory.js +7 -7
- package/esm2015/services/index.js +7 -7
- package/esm2015/services/index.ngfactory.js +7 -7
- package/esm2015/services/sac-configuration.service.js +119 -77
- package/esm2015/services/sac-configuration.service.ngfactory.js +7 -7
- package/esm2015/services/sac-filebrowser.service.js +217 -203
- package/esm2015/services/sac-filebrowser.service.ngfactory.js +7 -7
- package/esm2015/services/sac-icon.service.js +233 -155
- package/esm2015/services/sac-icon.service.ngfactory.js +7 -7
- package/esm2015/services/sac-language.service.js +47 -43
- package/esm2015/services/sac-language.service.ngfactory.js +7 -7
- package/esm2015/services/sac-localisation.service.js +353 -460
- package/esm2015/services/sac-localisation.service.ngfactory.js +7 -7
- package/esm2015/services/sac-validationkey.service.js +306 -156
- package/esm2015/services/sac-validationkey.service.ngfactory.js +7 -7
- package/esm2015/simpleangularcontrols-sac-common.js +5 -11
- package/esm2015/simpleangularcontrols-sac-common.ngfactory.js +7 -7
- package/esm2015/utilities/convertion.js +34 -32
- package/esm2015/utilities/convertion.ngfactory.js +7 -7
- package/esm2015/utilities/datatypes.js +11 -9
- package/esm2015/utilities/datatypes.ngfactory.js +7 -7
- package/esm2015/utilities/enums.js +21 -16
- package/esm2015/utilities/enums.ngfactory.js +7 -7
- package/esm2015/utilities/guid.js +18 -16
- package/esm2015/utilities/guid.ngfactory.js +7 -7
- package/esm2015/utilities/interpolation.js +57 -50
- package/esm2015/utilities/interpolation.ngfactory.js +7 -7
- package/esm2015/utilities/popuphelper.js +380 -0
- package/esm2015/utilities/popuphelper.ngfactory.js +7 -0
- package/esm2015/utilities/positioncalculator.js +209 -0
- package/esm2015/utilities/positioncalculator.ngfactory.js +7 -0
- package/esm2015/utilities/positionelements.js +108 -0
- package/esm2015/utilities/positionelements.ngfactory.js +7 -0
- package/esm2015/utilities/testingattribute.pipe.js +54 -0
- package/esm2015/utilities/testingattribute.pipe.ngfactory.js +7 -0
- package/esm2015/utilities/utilities.module.js +12 -0
- package/esm2015/utilities/utilities.module.ngfactory.js +7 -0
- package/esm2015/validation/email.validator.js +22 -13
- package/esm2015/validation/email.validator.ngfactory.js +7 -7
- package/esm2015/validation/equals.validator.js +24 -0
- package/esm2015/validation/equals.validator.ngfactory.js +7 -0
- package/esm2015/validation/index.js +3 -3
- package/esm2015/validation/index.ngfactory.js +7 -7
- package/esm2015/validation/invaliddate.validator.js +23 -14
- package/esm2015/validation/invaliddate.validator.ngfactory.js +7 -7
- package/esm2015/validation/isDateValid.js +24 -15
- package/esm2015/validation/isDateValid.ngfactory.js +7 -7
- package/esm2015/validation/maxdate.validator.js +31 -21
- package/esm2015/validation/maxdate.validator.ngfactory.js +7 -7
- package/esm2015/validation/maxtime.validator.js +31 -21
- package/esm2015/validation/maxtime.validator.ngfactory.js +7 -7
- package/esm2015/validation/maxvalue.validator.js +26 -16
- package/esm2015/validation/maxvalue.validator.ngfactory.js +7 -7
- package/esm2015/validation/mindate.validator.js +31 -21
- package/esm2015/validation/mindate.validator.ngfactory.js +7 -7
- package/esm2015/validation/minfiles.validator.js +29 -19
- package/esm2015/validation/minfiles.validator.ngfactory.js +7 -7
- package/esm2015/validation/mintextlength.validator.js +31 -0
- package/esm2015/validation/mintextlength.validator.ngfactory.js +7 -0
- package/esm2015/validation/mintime.validator.js +31 -21
- package/esm2015/validation/mintime.validator.ngfactory.js +7 -7
- package/esm2015/validation/minvalue.validator.js +26 -16
- package/esm2015/validation/minvalue.validator.ngfactory.js +7 -7
- package/esm2015/validation/multilanguagerequired.validator.js +32 -22
- package/esm2015/validation/multilanguagerequired.validator.ngfactory.js +7 -7
- package/esm2015/validation/multilanguagerequiredany.validator.js +32 -22
- package/esm2015/validation/multilanguagerequiredany.validator.ngfactory.js +7 -7
- package/esm2015/validation/notequals.validator.js +24 -0
- package/esm2015/validation/notequals.validator.ngfactory.js +7 -0
- package/esm2015/validation/pattern.validator.js +26 -16
- package/esm2015/validation/pattern.validator.ngfactory.js +7 -7
- package/esm2015/validation/required.validator.js +22 -13
- package/esm2015/validation/required.validator.ngfactory.js +7 -7
- package/esm2015/validation/validation.class.js +201 -189
- package/esm2015/validation/validation.class.ngfactory.js +7 -7
- package/esm2015/validation/validationerrorcreator.js +22 -11
- package/esm2015/validation/validationerrorcreator.ngfactory.js +7 -7
- package/esm2015/validation/validationerroritem.js +29 -27
- package/esm2015/validation/validationerroritem.ngfactory.js +7 -7
- package/fesm2015/simpleangularcontrols-sac-common.js +11670 -10109
- package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -1
- package/interfaces/ISacConfigurationService.d.ts +70 -38
- package/interfaces/ISacConfigurationService.ngfactory.d.ts +1 -1
- package/interfaces/ISacFileBrowserService.d.ts +65 -65
- package/interfaces/ISacFileBrowserService.ngfactory.d.ts +1 -1
- package/interfaces/ISacIconService.d.ts +141 -89
- package/interfaces/ISacIconService.ngfactory.d.ts +1 -1
- package/interfaces/ISacLabelSizes.d.ts +29 -26
- package/interfaces/ISacLabelSizes.ngfactory.d.ts +1 -1
- package/interfaces/ISacLanguageService.d.ts +12 -12
- package/interfaces/ISacLanguageService.ngfactory.d.ts +1 -1
- package/interfaces/ISacLocalisationService.d.ts +10 -10
- package/interfaces/ISacLocalisationService.ngfactory.d.ts +1 -1
- package/interfaces/ISacUploadEventCompleteState.d.ts +11 -0
- package/{controls/treeview/treeviewchild.ngfactory.d.ts → interfaces/ISacUploadEventCompleteState.ngfactory.d.ts} +1 -1
- package/interfaces/ISacValidationKeyService.d.ts +52 -52
- package/interfaces/ISacValidationKeyService.ngfactory.d.ts +1 -1
- package/interfaces/iabstractcontrollabel.d.ts +9 -6
- package/interfaces/iabstractcontrollabel.ngfactory.d.ts +1 -1
- package/interfaces/iconfirmcomponent.d.ts +18 -18
- package/interfaces/iconfirmcomponent.ngfactory.d.ts +1 -1
- package/interfaces/idatetimecontrol.d.ts +16 -7
- package/interfaces/idatetimecontrol.ngfactory.d.ts +1 -1
- package/interfaces/iuploadcontrol.d.ts +9 -9
- package/interfaces/iuploadcontrol.ngfactory.d.ts +1 -1
- package/interfaces/treeviewaction.interface.d.ts +13 -0
- package/interfaces/treeviewaction.interface.ngfactory.d.ts +1 -0
- package/models/languagemodel.d.ts +22 -22
- package/models/languagemodel.ngfactory.d.ts +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +89 -79
- package/public_api.ngfactory.d.ts +1 -1
- package/services/index.d.ts +6 -6
- package/services/index.ngfactory.d.ts +1 -1
- package/services/sac-configuration.service.d.ts +137 -81
- package/services/sac-configuration.service.ngfactory.d.ts +1 -1
- package/services/sac-filebrowser.service.d.ts +148 -140
- package/services/sac-filebrowser.service.ngfactory.d.ts +1 -1
- package/services/sac-icon.service.d.ts +288 -184
- package/services/sac-icon.service.ngfactory.d.ts +1 -1
- package/services/sac-language.service.d.ts +26 -26
- package/services/sac-language.service.ngfactory.d.ts +1 -1
- package/services/sac-localisation.service.d.ts +141 -137
- package/services/sac-localisation.service.ngfactory.d.ts +1 -1
- package/services/sac-validationkey.service.d.ts +202 -55
- package/services/sac-validationkey.service.ngfactory.d.ts +1 -1
- package/simpleangularcontrols-sac-common-10.0.0-rc.30.tgz +0 -0
- package/simpleangularcontrols-sac-common.d.ts +4 -10
- package/simpleangularcontrols-sac-common.metadata.json +1 -1
- package/simpleangularcontrols-sac-common.ngfactory.d.ts +1 -1
- package/utilities/convertion.d.ts +15 -15
- package/utilities/convertion.ngfactory.d.ts +1 -1
- package/utilities/datatypes.d.ts +6 -6
- package/utilities/datatypes.ngfactory.d.ts +1 -1
- package/utilities/enums.d.ts +19 -10
- package/utilities/enums.ngfactory.d.ts +1 -1
- package/utilities/guid.d.ts +4 -4
- package/utilities/guid.ngfactory.d.ts +1 -1
- package/utilities/interpolation.d.ts +22 -21
- package/utilities/interpolation.ngfactory.d.ts +1 -1
- package/utilities/popuphelper.d.ts +120 -0
- package/utilities/popuphelper.ngfactory.d.ts +1 -0
- package/utilities/positioncalculator.d.ts +82 -0
- package/utilities/positioncalculator.ngfactory.d.ts +1 -0
- package/utilities/positionelements.d.ts +30 -0
- package/utilities/positionelements.ngfactory.d.ts +1 -0
- package/utilities/testingattribute.pipe.d.ts +27 -0
- package/utilities/testingattribute.pipe.ngfactory.d.ts +1 -0
- package/utilities/utilities.module.d.ts +2 -0
- package/utilities/utilities.module.ngfactory.d.ts +3 -0
- package/validation/email.validator.d.ts +9 -2
- package/validation/email.validator.ngfactory.d.ts +1 -1
- package/validation/equals.validator.d.ts +10 -0
- package/validation/equals.validator.ngfactory.d.ts +1 -0
- package/validation/index.d.ts +2 -2
- package/validation/index.ngfactory.d.ts +1 -1
- package/validation/invaliddate.validator.d.ts +9 -2
- package/validation/invaliddate.validator.ngfactory.d.ts +1 -1
- package/validation/isDateValid.d.ts +8 -5
- package/validation/isDateValid.ngfactory.d.ts +1 -1
- package/validation/maxdate.validator.d.ts +10 -2
- package/validation/maxdate.validator.ngfactory.d.ts +1 -1
- package/validation/maxtime.validator.d.ts +10 -2
- package/validation/maxtime.validator.ngfactory.d.ts +1 -1
- package/validation/maxvalue.validator.d.ts +10 -2
- package/validation/maxvalue.validator.ngfactory.d.ts +1 -1
- package/validation/mindate.validator.d.ts +10 -2
- package/validation/mindate.validator.ngfactory.d.ts +1 -1
- package/validation/minfiles.validator.d.ts +10 -2
- package/validation/minfiles.validator.ngfactory.d.ts +1 -1
- package/validation/mintextlength.validator.d.ts +10 -0
- package/validation/mintextlength.validator.ngfactory.d.ts +1 -0
- package/validation/mintime.validator.d.ts +10 -2
- package/validation/mintime.validator.ngfactory.d.ts +1 -1
- package/validation/minvalue.validator.d.ts +10 -2
- package/validation/minvalue.validator.ngfactory.d.ts +1 -1
- package/validation/multilanguagerequired.validator.d.ts +11 -3
- package/validation/multilanguagerequired.validator.ngfactory.d.ts +1 -1
- package/validation/multilanguagerequiredany.validator.d.ts +11 -3
- package/validation/multilanguagerequiredany.validator.ngfactory.d.ts +1 -1
- package/validation/notequals.validator.d.ts +10 -0
- package/validation/notequals.validator.ngfactory.d.ts +1 -0
- package/validation/pattern.validator.d.ts +10 -2
- package/validation/pattern.validator.ngfactory.d.ts +1 -1
- package/validation/required.validator.d.ts +9 -2
- package/validation/required.validator.ngfactory.d.ts +1 -1
- package/validation/validation.class.d.ts +141 -139
- package/validation/validation.class.ngfactory.d.ts +1 -1
- package/validation/validationerrorcreator.d.ts +10 -1
- package/validation/validationerrorcreator.ngfactory.d.ts +1 -1
- package/validation/validationerroritem.d.ts +33 -33
- package/validation/validationerroritem.ngfactory.d.ts +1 -1
- package/controls/treeview/ngtreeitemaction.d.ts +0 -40
- package/controls/treeview/treeviewchild.d.ts +0 -12
- package/esm2015/controls/treeview/ngtreeitemaction.js +0 -60
- package/esm2015/controls/treeview/ngtreeitemaction.ngfactory.js +0 -7
- package/esm2015/controls/treeview/treeviewchild.js +0 -18
- package/esm2015/controls/treeview/treeviewchild.ngfactory.js +0 -7
- package/esm2015/utilities/positioning.js +0 -301
- package/esm2015/utilities/positioning.ngfactory.js +0 -7
- package/esm2015/validation/minlength.validator.js +0 -21
- package/esm2015/validation/minlength.validator.ngfactory.js +0 -7
- package/simpleangularcontrols-sac-common-10.0.0-rc.3.tgz +0 -0
- package/utilities/positioning.d.ts +0 -82
- package/validation/minlength.validator.d.ts +0 -2
|
@@ -1,284 +1,324 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
/**
|
|
10
|
-
* Base
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class SacUploadBase<VALUE> extends SacBaseModelControl<VALUE> implements OnInit, OnDestroy {
|
|
13
|
-
private renderer;
|
|
14
|
-
private ngZone;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
private
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
private
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
private
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
private
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
private
|
|
35
|
-
/**
|
|
36
|
-
* Upload Settings
|
|
37
|
-
*/
|
|
38
|
-
private options;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Upload Service
|
|
45
|
-
*/
|
|
46
|
-
protected uploadService: UploadxService;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
*/
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
*
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
*
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
*/
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
*/
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
*/
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
*/
|
|
110
|
-
get
|
|
111
|
-
/**
|
|
112
|
-
* icon for
|
|
113
|
-
*/
|
|
114
|
-
get
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
*
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
*
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
*
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
*
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
*
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
*
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
*
|
|
163
|
-
* @
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
*
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
*
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
* Upload
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
*
|
|
206
|
-
*/
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
* @param
|
|
211
|
-
*/
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
*
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
*
|
|
229
|
-
*/
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
*
|
|
252
|
-
*/
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
*
|
|
261
|
-
*/
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
*
|
|
265
|
-
*/
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
*
|
|
269
|
-
*/
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
*
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
*
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
1
|
+
import { SacFormLayoutCommon } from '../controls/layout/formlayout';
|
|
2
|
+
import { ISacLocalisationService } from '../interfaces/ISacLocalisationService';
|
|
3
|
+
import { ISacUploadEventCompleteState } from '../interfaces/ISacUploadEventCompleteState';
|
|
4
|
+
import { SacBaseModelControl } from './basemodelcontrol';
|
|
5
|
+
import { EventEmitter, Injector, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
6
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
7
|
+
import { UploadState, UploadxService } from 'ngx-uploadx';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
/**
|
|
10
|
+
* Base class for uploader control
|
|
11
|
+
*/
|
|
12
|
+
export declare abstract class SacUploadBase<VALUE> extends SacBaseModelControl<VALUE> implements OnInit, OnDestroy {
|
|
13
|
+
private renderer;
|
|
14
|
+
private ngZone;
|
|
15
|
+
/**
|
|
16
|
+
* Allowed file types
|
|
17
|
+
*/
|
|
18
|
+
private _allowedtypes;
|
|
19
|
+
/**
|
|
20
|
+
* Automatically uploads files
|
|
21
|
+
*/
|
|
22
|
+
private _autoupload;
|
|
23
|
+
/**
|
|
24
|
+
* Allow pausing of uploads
|
|
25
|
+
*/
|
|
26
|
+
private _enablepause;
|
|
27
|
+
/**
|
|
28
|
+
* API Endpoint
|
|
29
|
+
*/
|
|
30
|
+
private _endpoint;
|
|
31
|
+
/**
|
|
32
|
+
* Token for Bearer Authentication
|
|
33
|
+
*/
|
|
34
|
+
private _token;
|
|
35
|
+
/**
|
|
36
|
+
* Upload Settings
|
|
37
|
+
*/
|
|
38
|
+
private options;
|
|
39
|
+
/**
|
|
40
|
+
* File Input Control
|
|
41
|
+
*/
|
|
42
|
+
private uploadInput;
|
|
43
|
+
/**
|
|
44
|
+
* Upload Service
|
|
45
|
+
*/
|
|
46
|
+
protected uploadService: UploadxService;
|
|
47
|
+
/**
|
|
48
|
+
* Handling of new files in the input control
|
|
49
|
+
*/
|
|
50
|
+
fileListener: () => void;
|
|
51
|
+
/**
|
|
52
|
+
* Defines the control as required
|
|
53
|
+
*/
|
|
54
|
+
isrequired: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Listener for files
|
|
57
|
+
*/
|
|
58
|
+
listenerFn: () => void;
|
|
59
|
+
/**
|
|
60
|
+
* Service für Error Localisation
|
|
61
|
+
*/
|
|
62
|
+
lngResourceService: ISacLocalisationService;
|
|
63
|
+
/**
|
|
64
|
+
* Max. file size for files that can be uploaded. 0 disables the filter
|
|
65
|
+
*/
|
|
66
|
+
maxfilesize: number;
|
|
67
|
+
/**
|
|
68
|
+
* Event when an error is triggered in the component.
|
|
69
|
+
*/
|
|
70
|
+
onfileerror: EventEmitter<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Event when a file has been uploaded. The event is triggered for multiple uploads per file.
|
|
73
|
+
*/
|
|
74
|
+
onuploadcomplete: EventEmitter<ISacUploadEventCompleteState>;
|
|
75
|
+
/**
|
|
76
|
+
* Array of uploads
|
|
77
|
+
*/
|
|
78
|
+
uploads: SacUploadFile[];
|
|
79
|
+
/**
|
|
80
|
+
* Resource key for validation message 'required' at control
|
|
81
|
+
*/
|
|
82
|
+
validationmessagerequired: string;
|
|
83
|
+
/**
|
|
84
|
+
* Resource key for validation message 'required' in validation summary
|
|
85
|
+
*/
|
|
86
|
+
validationmessagesummaryrequired: string;
|
|
87
|
+
/**
|
|
88
|
+
* Constructor
|
|
89
|
+
* @param formlayout SacFormLayoutCommon to define scoped layout settings
|
|
90
|
+
* @param injector Injector for injecting services
|
|
91
|
+
* @param renderer angular rendering engine
|
|
92
|
+
* @param ngZone ngzone for handling external scripts
|
|
93
|
+
*/
|
|
94
|
+
constructor(formlayout: SacFormLayoutCommon, injector: Injector, renderer: Renderer2, ngZone: NgZone);
|
|
95
|
+
/**
|
|
96
|
+
* Icon for browse button
|
|
97
|
+
*/
|
|
98
|
+
get IconBrowse(): string;
|
|
99
|
+
/**
|
|
100
|
+
* icon for continous buttons
|
|
101
|
+
*/
|
|
102
|
+
get IconContinue(): string;
|
|
103
|
+
/**
|
|
104
|
+
* icon for delete buttons
|
|
105
|
+
*/
|
|
106
|
+
get IconDelete(): string;
|
|
107
|
+
/**
|
|
108
|
+
* icon for pause buttons
|
|
109
|
+
*/
|
|
110
|
+
get IconPause(): string;
|
|
111
|
+
/**
|
|
112
|
+
* icon for upload button
|
|
113
|
+
*/
|
|
114
|
+
get IconUpload(): string;
|
|
115
|
+
get allowedtypes(): string;
|
|
116
|
+
/**
|
|
117
|
+
* Allowed file types for upload. Format: ".xxx,.yyy,.zzz"
|
|
118
|
+
*/
|
|
119
|
+
set allowedtypes(types: string);
|
|
120
|
+
/**
|
|
121
|
+
* Indicates whether files should be uploaded automatically after selection.
|
|
122
|
+
* @returns true when auto-upload is enabled.
|
|
123
|
+
*/
|
|
124
|
+
get autoupload(): boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Automatically uploads files after selection.
|
|
127
|
+
* @param v true to enable automatic upload.
|
|
128
|
+
*/
|
|
129
|
+
set autoupload(v: boolean);
|
|
130
|
+
/**
|
|
131
|
+
* Indicates whether upload pause is allowed.
|
|
132
|
+
* @returns true when pause support is active.
|
|
133
|
+
*/
|
|
134
|
+
get enablepause(): boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Uploads can be paused.
|
|
137
|
+
* @param v true to allow pausing uploads.
|
|
138
|
+
*/
|
|
139
|
+
set enablepause(v: boolean);
|
|
140
|
+
/**
|
|
141
|
+
* API endpoint for upload registration.
|
|
142
|
+
* @returns configured endpoint URL.
|
|
143
|
+
*/
|
|
144
|
+
get endpoint(): string;
|
|
145
|
+
/**
|
|
146
|
+
* Defines the registration endpoint for uploads.
|
|
147
|
+
* @param v upload endpoint URL.
|
|
148
|
+
*/
|
|
149
|
+
set endpoint(v: string);
|
|
150
|
+
/**
|
|
151
|
+
* Bearer authentication token used by upload service.
|
|
152
|
+
* @returns current auth token or null.
|
|
153
|
+
*/
|
|
154
|
+
get token(): string | null;
|
|
155
|
+
/**
|
|
156
|
+
* Sets Bearer authentication token for service requests.
|
|
157
|
+
* @param v token string or null to clear token.
|
|
158
|
+
*/
|
|
159
|
+
set token(v: string | null);
|
|
160
|
+
/**
|
|
161
|
+
* Method can be used for controls to perform additional validations when adding files
|
|
162
|
+
*
|
|
163
|
+
* @param file File that was added.
|
|
164
|
+
* @returns Validation is successful
|
|
165
|
+
*/
|
|
166
|
+
abstract CustomAddValidation(file: UploadState): boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Name of the file being uploaded
|
|
169
|
+
* @returns Observable of the file name.
|
|
170
|
+
*/
|
|
171
|
+
Filename(): Observable<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Indicates whether the queue contains elements
|
|
174
|
+
* @returns Elements in the queue
|
|
175
|
+
*/
|
|
176
|
+
HasQueueItem(): boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Indicates whether an upload is complete
|
|
179
|
+
* @returns Upload successful
|
|
180
|
+
*/
|
|
181
|
+
HasSuccessUpload(): boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Checks if an upload is paused
|
|
184
|
+
* @returns Paused upload is present
|
|
185
|
+
*/
|
|
186
|
+
IsPaused(): boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Checks if there are elements in the queue ready for upload.
|
|
189
|
+
* @returns Elements available for upload
|
|
190
|
+
*/
|
|
191
|
+
IsStateToUpload(): boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Checks if a file upload is in progress
|
|
194
|
+
* @returns Upload is in progress
|
|
195
|
+
*/
|
|
196
|
+
IsUploading(): boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Returns the upload progress
|
|
199
|
+
* @returns Upload progress. Value from 0-100
|
|
200
|
+
*/
|
|
201
|
+
Progress(): number;
|
|
202
|
+
/**
|
|
203
|
+
* Method that sets or deletes the upload IDs in the model
|
|
204
|
+
*
|
|
205
|
+
* @param file Type of file IDs
|
|
206
|
+
*/
|
|
207
|
+
abstract SetUploadValue(file: UploadState): void;
|
|
208
|
+
/**
|
|
209
|
+
* Cancel single upload
|
|
210
|
+
* @param uploadId ID of File to cancel
|
|
211
|
+
*/
|
|
212
|
+
cancel(uploadId: any): void;
|
|
213
|
+
/**
|
|
214
|
+
* Cancel all Uploaded files
|
|
215
|
+
*/
|
|
216
|
+
cancelAll(): void;
|
|
217
|
+
/**
|
|
218
|
+
* Destroy the control
|
|
219
|
+
*/
|
|
220
|
+
ngOnDestroy(): void;
|
|
221
|
+
/**
|
|
222
|
+
* Initializes the control
|
|
223
|
+
*/
|
|
224
|
+
ngOnInit(): void;
|
|
225
|
+
/**
|
|
226
|
+
* Upload event
|
|
227
|
+
*
|
|
228
|
+
* @param uploadsOutStream Upload item
|
|
229
|
+
*/
|
|
230
|
+
onUpload(ufile: UploadState): void;
|
|
231
|
+
/**
|
|
232
|
+
* Cancel single file
|
|
233
|
+
* @param uploadId ID of file to cancel
|
|
234
|
+
*/
|
|
235
|
+
pause(uploadId: any): void;
|
|
236
|
+
/**
|
|
237
|
+
* Pause all uploads
|
|
238
|
+
*/
|
|
239
|
+
pauseAll(): void;
|
|
240
|
+
/**
|
|
241
|
+
* Sets the bearer token in the upload service
|
|
242
|
+
*/
|
|
243
|
+
setToken(value: string): void;
|
|
244
|
+
/**
|
|
245
|
+
* Upload Single File
|
|
246
|
+
*
|
|
247
|
+
* @param uploadId ID of File to Upload
|
|
248
|
+
*/
|
|
249
|
+
upload(uploadId: any): void;
|
|
250
|
+
/**
|
|
251
|
+
* Upload all queued Files
|
|
252
|
+
*/
|
|
253
|
+
uploadAll(): void;
|
|
254
|
+
/**
|
|
255
|
+
* Validates the upload control
|
|
256
|
+
* @param c Control to be validated
|
|
257
|
+
*/
|
|
258
|
+
validateData(c: AbstractControl): ValidationErrors | null;
|
|
259
|
+
/**
|
|
260
|
+
* get max. files that can be uploaded
|
|
261
|
+
*/
|
|
262
|
+
protected abstract GetMaxFiles(): number;
|
|
263
|
+
/**
|
|
264
|
+
* Updates the file count on the form control
|
|
265
|
+
*/
|
|
266
|
+
private UpdateFileCount;
|
|
267
|
+
/**
|
|
268
|
+
* Returns the number of uploaded files
|
|
269
|
+
*/
|
|
270
|
+
private UploadedFileCount;
|
|
271
|
+
/**
|
|
272
|
+
* Checks whether the file extension is valid
|
|
273
|
+
*
|
|
274
|
+
* @param filename File name
|
|
275
|
+
*/
|
|
276
|
+
private isExtensionValid;
|
|
277
|
+
/**
|
|
278
|
+
* Checks if the file is not too large.
|
|
279
|
+
*
|
|
280
|
+
* @param filesize Max file size in bytes
|
|
281
|
+
*/
|
|
282
|
+
private isFileSizeValid;
|
|
283
|
+
/**
|
|
284
|
+
* Sets the allowed data types for upload
|
|
285
|
+
*
|
|
286
|
+
* @param types Allowed file extensions
|
|
287
|
+
*/
|
|
288
|
+
private setAllowedTypes;
|
|
289
|
+
/**
|
|
290
|
+
* Sets the upload endpoint
|
|
291
|
+
* @param url Register URI
|
|
292
|
+
*/
|
|
293
|
+
private setEndpoint;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Class for uploading a file in the upload component
|
|
297
|
+
*/
|
|
298
|
+
export declare class SacUploadFile {
|
|
299
|
+
/**
|
|
300
|
+
* Document ID
|
|
301
|
+
*/
|
|
302
|
+
documentid: string;
|
|
303
|
+
/**
|
|
304
|
+
* File name
|
|
305
|
+
*/
|
|
306
|
+
name: string;
|
|
307
|
+
/**
|
|
308
|
+
* Upload progress
|
|
309
|
+
*/
|
|
310
|
+
progress: number;
|
|
311
|
+
/**
|
|
312
|
+
* Upload status
|
|
313
|
+
*/
|
|
314
|
+
status: string;
|
|
315
|
+
/**
|
|
316
|
+
* Upload ID
|
|
317
|
+
*/
|
|
318
|
+
uploadId: string;
|
|
319
|
+
/**
|
|
320
|
+
* Constructor
|
|
321
|
+
* @param ufile Upload state
|
|
322
|
+
*/
|
|
323
|
+
constructor(ufile: UploadState);
|
|
324
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|