@simpleangularcontrols/sac-common 10.0.0-rc.1

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.
Files changed (514) hide show
  1. package/README.md +16 -0
  2. package/bundles/simpleangularcontrols-sac-common.umd.js +12054 -0
  3. package/bundles/simpleangularcontrols-sac-common.umd.js.map +1 -0
  4. package/bundles/simpleangularcontrols-sac-common.umd.min.js +2 -0
  5. package/bundles/simpleangularcontrols-sac-common.umd.min.js.map +1 -0
  6. package/common/basedatetimecontrol.d.ts +83 -0
  7. package/common/basedatetimecontrol.ngfactory.d.ts +1 -0
  8. package/common/baseinputcontrol.d.ts +42 -0
  9. package/common/baseinputcontrol.ngfactory.d.ts +1 -0
  10. package/common/baselistcontrol.d.ts +43 -0
  11. package/common/baselistcontrol.ngfactory.d.ts +1 -0
  12. package/common/basemodelcontrol.d.ts +252 -0
  13. package/common/basemodelcontrol.ngfactory.d.ts +1 -0
  14. package/common/baseselectcontrol.d.ts +14 -0
  15. package/common/baseselectcontrol.ngfactory.d.ts +1 -0
  16. package/common/baseuploadcontrol.d.ts +284 -0
  17. package/common/baseuploadcontrol.ngfactory.d.ts +1 -0
  18. package/components/browser/browser.d.ts +267 -0
  19. package/components/browser/browser.ngfactory.d.ts +1 -0
  20. package/components/browser/models/browserfile.d.ts +17 -0
  21. package/components/browser/models/browserfile.ngfactory.d.ts +1 -0
  22. package/components/browser/models/browserfiledeleterequest.d.ts +18 -0
  23. package/components/browser/models/browserfiledeleterequest.ngfactory.d.ts +1 -0
  24. package/components/browser/models/browserfilerenamerequest.d.ts +22 -0
  25. package/components/browser/models/browserfilerenamerequest.ngfactory.d.ts +1 -0
  26. package/components/browser/models/browserfileresponse.d.ts +10 -0
  27. package/components/browser/models/browserfileresponse.ngfactory.d.ts +1 -0
  28. package/components/browser/models/browserfilesaverequest.d.ts +22 -0
  29. package/components/browser/models/browserfilesaverequest.ngfactory.d.ts +1 -0
  30. package/components/browser/models/browsernode.d.ts +34 -0
  31. package/components/browser/models/browsernode.ngfactory.d.ts +1 -0
  32. package/components/browser/models/browsernodedeleterequest.d.ts +14 -0
  33. package/components/browser/models/browsernodedeleterequest.ngfactory.d.ts +1 -0
  34. package/components/browser/models/browsernodenewrequest.d.ts +18 -0
  35. package/components/browser/models/browsernodenewrequest.ngfactory.d.ts +1 -0
  36. package/components/browser/models/browsernoderenamerequest.d.ts +18 -0
  37. package/components/browser/models/browsernoderenamerequest.ngfactory.d.ts +1 -0
  38. package/components/browser/models/browsernoderequest.d.ts +18 -0
  39. package/components/browser/models/browsernoderequest.ngfactory.d.ts +1 -0
  40. package/components/browser/models/browsernoderesponse.d.ts +10 -0
  41. package/components/browser/models/browsernoderesponse.ngfactory.d.ts +1 -0
  42. package/controls/buttons/button.d.ts +70 -0
  43. package/controls/buttons/button.ngfactory.d.ts +1 -0
  44. package/controls/checkbox/checkbox.d.ts +23 -0
  45. package/controls/checkbox/checkbox.ngfactory.d.ts +1 -0
  46. package/controls/checkbox/radiobutton.d.ts +79 -0
  47. package/controls/checkbox/radiobutton.ngfactory.d.ts +1 -0
  48. package/controls/checkbox/radiobuttons.d.ts +60 -0
  49. package/controls/checkbox/radiobuttons.ngfactory.d.ts +1 -0
  50. package/controls/confirm/confirm.button.d.ts +25 -0
  51. package/controls/confirm/confirm.button.ngfactory.d.ts +1 -0
  52. package/controls/confirm/confirm.d.ts +49 -0
  53. package/controls/confirm/confirm.ngfactory.d.ts +1 -0
  54. package/controls/confirm/confirm.service.d.ts +63 -0
  55. package/controls/confirm/confirm.service.ngfactory.d.ts +1 -0
  56. package/controls/contextmenu/contextmenu.d.ts +113 -0
  57. package/controls/contextmenu/contextmenu.ngfactory.d.ts +1 -0
  58. package/controls/contextmenu/contextmenuanchor.d.ts +15 -0
  59. package/controls/contextmenu/contextmenuanchor.ngfactory.d.ts +1 -0
  60. package/controls/contextmenu/contextmenucontainer.d.ts +15 -0
  61. package/controls/contextmenu/contextmenucontainer.ngfactory.d.ts +1 -0
  62. package/controls/contextmenu/contextmenuitem.d.ts +5 -0
  63. package/controls/contextmenu/contextmenuitem.ngfactory.d.ts +1 -0
  64. package/controls/contextmenu/contextmenuitembutton.d.ts +66 -0
  65. package/controls/contextmenu/contextmenuitembutton.ngfactory.d.ts +1 -0
  66. package/controls/datetime/date.d.ts +120 -0
  67. package/controls/datetime/date.ngfactory.d.ts +1 -0
  68. package/controls/datetime/dateselector.d.ts +161 -0
  69. package/controls/datetime/dateselector.ngfactory.d.ts +1 -0
  70. package/controls/datetime/datetime.d.ts +135 -0
  71. package/controls/datetime/datetime.ngfactory.d.ts +1 -0
  72. package/controls/datetime/time.d.ts +115 -0
  73. package/controls/datetime/time.ngfactory.d.ts +1 -0
  74. package/controls/dialog/dialog.d.ts +105 -0
  75. package/controls/dialog/dialog.ngfactory.d.ts +1 -0
  76. package/controls/form/form.d.ts +47 -0
  77. package/controls/form/form.ngfactory.d.ts +1 -0
  78. package/controls/grid/grid.d.ts +125 -0
  79. package/controls/grid/grid.ngfactory.d.ts +1 -0
  80. package/controls/grid/gridbutton.d.ts +33 -0
  81. package/controls/grid/gridbutton.ngfactory.d.ts +1 -0
  82. package/controls/grid/gridcolumn.d.ts +28 -0
  83. package/controls/grid/gridcolumn.ngfactory.d.ts +1 -0
  84. package/controls/grid/gridcolumnaction.d.ts +15 -0
  85. package/controls/grid/gridcolumnaction.ngfactory.d.ts +1 -0
  86. package/controls/grid/gridcolumnbase.d.ts +86 -0
  87. package/controls/grid/gridcolumnbase.ngfactory.d.ts +1 -0
  88. package/controls/grid/gridimage.d.ts +9 -0
  89. package/controls/grid/gridimage.ngfactory.d.ts +1 -0
  90. package/controls/grid/model.d.ts +83 -0
  91. package/controls/grid/model.ngfactory.d.ts +1 -0
  92. package/controls/grid/paging.d.ts +147 -0
  93. package/controls/grid/paging.ngfactory.d.ts +1 -0
  94. package/controls/input/input.d.ts +35 -0
  95. package/controls/input/input.ngfactory.d.ts +1 -0
  96. package/controls/input/inputarea.d.ts +26 -0
  97. package/controls/input/inputarea.ngfactory.d.ts +1 -0
  98. package/controls/input/inputcurrency.d.ts +11 -0
  99. package/controls/input/inputcurrency.ngfactory.d.ts +1 -0
  100. package/controls/input/inputdecimal.d.ts +59 -0
  101. package/controls/input/inputdecimal.ngfactory.d.ts +1 -0
  102. package/controls/input/inputemail.d.ts +19 -0
  103. package/controls/input/inputemail.ngfactory.d.ts +1 -0
  104. package/controls/input/inputinteger.d.ts +59 -0
  105. package/controls/input/inputinteger.ngfactory.d.ts +1 -0
  106. package/controls/input/inputpassword.d.ts +23 -0
  107. package/controls/input/inputpassword.ngfactory.d.ts +1 -0
  108. package/controls/input/inputsearch.d.ts +23 -0
  109. package/controls/input/inputsearch.ngfactory.d.ts +1 -0
  110. package/controls/layout/formlayout.d.ts +46 -0
  111. package/controls/layout/formlayout.ngfactory.d.ts +1 -0
  112. package/controls/list/dropdown.d.ts +138 -0
  113. package/controls/list/dropdown.ngfactory.d.ts +1 -0
  114. package/controls/list/list.module.d.ts +2 -0
  115. package/controls/list/list.module.ngfactory.d.ts +3 -0
  116. package/controls/list/listbox.d.ts +86 -0
  117. package/controls/list/listbox.ngfactory.d.ts +1 -0
  118. package/controls/multilanguage/multilanguageinput.d.ts +102 -0
  119. package/controls/multilanguage/multilanguageinput.ngfactory.d.ts +1 -0
  120. package/controls/multilanguage/multilanguageinputarea.d.ts +107 -0
  121. package/controls/multilanguage/multilanguageinputarea.ngfactory.d.ts +1 -0
  122. package/controls/static/formcontainer.d.ts +31 -0
  123. package/controls/static/formcontainer.ngfactory.d.ts +1 -0
  124. package/controls/static/staticlabel.d.ts +18 -0
  125. package/controls/static/staticlabel.ngfactory.d.ts +1 -0
  126. package/controls/tabs/tab.d.ts +45 -0
  127. package/controls/tabs/tab.ngfactory.d.ts +1 -0
  128. package/controls/tabs/tabitem.d.ts +30 -0
  129. package/controls/tabs/tabitem.ngfactory.d.ts +1 -0
  130. package/controls/tinymce/tinymce.d.ts +149 -0
  131. package/controls/tinymce/tinymce.ngfactory.d.ts +1 -0
  132. package/controls/tinymce/tinymcedialogsettings.d.ts +27 -0
  133. package/controls/tinymce/tinymcedialogsettings.ngfactory.d.ts +1 -0
  134. package/controls/tinymce/tinymcedialogsettingsmeta.d.ts +9 -0
  135. package/controls/tinymce/tinymcedialogsettingsmeta.ngfactory.d.ts +1 -0
  136. package/controls/tinymce/tinymceinstance.d.ts +10 -0
  137. package/controls/tinymce/tinymceinstance.ngfactory.d.ts +1 -0
  138. package/controls/tooltip/tooltip.d.ts +138 -0
  139. package/controls/tooltip/tooltip.ngfactory.d.ts +1 -0
  140. package/controls/treeview/ngtreeitemaction.d.ts +40 -0
  141. package/controls/treeview/ngtreeitemaction.ngfactory.d.ts +1 -0
  142. package/controls/treeview/treeview.d.ts +185 -0
  143. package/controls/treeview/treeview.ngfactory.d.ts +1 -0
  144. package/controls/treeview/treeviewchild.d.ts +12 -0
  145. package/controls/treeview/treeviewchild.ngfactory.d.ts +1 -0
  146. package/controls/upload/dropzonemultiple.d.ts +70 -0
  147. package/controls/upload/dropzonemultiple.ngfactory.d.ts +1 -0
  148. package/controls/upload/dropzonesingle.d.ts +47 -0
  149. package/controls/upload/dropzonesingle.ngfactory.d.ts +1 -0
  150. package/controls/upload/uploadmultiple.d.ts +50 -0
  151. package/controls/upload/uploadmultiple.ngfactory.d.ts +1 -0
  152. package/controls/upload/uploadsingle.d.ts +27 -0
  153. package/controls/upload/uploadsingle.ngfactory.d.ts +1 -0
  154. package/controls/validation/validationsummary.d.ts +60 -0
  155. package/controls/validation/validationsummary.ngfactory.d.ts +1 -0
  156. package/controls/wizard/wizard.d.ts +73 -0
  157. package/controls/wizard/wizard.ngfactory.d.ts +1 -0
  158. package/controls/wizard/wizarditem.d.ts +25 -0
  159. package/controls/wizard/wizarditem.ngfactory.d.ts +1 -0
  160. package/enums/ButtonRoleType.d.ts +1 -0
  161. package/enums/ButtonRoleType.ngfactory.d.ts +1 -0
  162. package/enums/ControlHeight.d.ts +17 -0
  163. package/enums/ControlHeight.ngfactory.d.ts +1 -0
  164. package/enums/IconType.d.ts +7 -0
  165. package/enums/IconType.ngfactory.d.ts +1 -0
  166. package/esm2015/common/basedatetimecontrol.js +164 -0
  167. package/esm2015/common/basedatetimecontrol.ngfactory.js +7 -0
  168. package/esm2015/common/baseinputcontrol.js +78 -0
  169. package/esm2015/common/baseinputcontrol.ngfactory.js +7 -0
  170. package/esm2015/common/baselistcontrol.js +55 -0
  171. package/esm2015/common/baselistcontrol.ngfactory.js +7 -0
  172. package/esm2015/common/basemodelcontrol.js +483 -0
  173. package/esm2015/common/basemodelcontrol.ngfactory.js +7 -0
  174. package/esm2015/common/baseselectcontrol.js +26 -0
  175. package/esm2015/common/baseselectcontrol.ngfactory.js +7 -0
  176. package/esm2015/common/baseuploadcontrol.js +457 -0
  177. package/esm2015/common/baseuploadcontrol.ngfactory.js +7 -0
  178. package/esm2015/components/browser/browser.js +545 -0
  179. package/esm2015/components/browser/browser.ngfactory.js +7 -0
  180. package/esm2015/components/browser/models/browserfile.js +1 -0
  181. package/esm2015/components/browser/models/browserfile.ngfactory.js +7 -0
  182. package/esm2015/components/browser/models/browserfiledeleterequest.js +13 -0
  183. package/esm2015/components/browser/models/browserfiledeleterequest.ngfactory.js +7 -0
  184. package/esm2015/components/browser/models/browserfilerenamerequest.js +13 -0
  185. package/esm2015/components/browser/models/browserfilerenamerequest.ngfactory.js +7 -0
  186. package/esm2015/components/browser/models/browserfileresponse.js +1 -0
  187. package/esm2015/components/browser/models/browserfileresponse.ngfactory.js +7 -0
  188. package/esm2015/components/browser/models/browserfilesaverequest.js +13 -0
  189. package/esm2015/components/browser/models/browserfilesaverequest.ngfactory.js +7 -0
  190. package/esm2015/components/browser/models/browsernode.js +1 -0
  191. package/esm2015/components/browser/models/browsernode.ngfactory.js +7 -0
  192. package/esm2015/components/browser/models/browsernodedeleterequest.js +13 -0
  193. package/esm2015/components/browser/models/browsernodedeleterequest.ngfactory.js +7 -0
  194. package/esm2015/components/browser/models/browsernodenewrequest.js +13 -0
  195. package/esm2015/components/browser/models/browsernodenewrequest.ngfactory.js +7 -0
  196. package/esm2015/components/browser/models/browsernoderenamerequest.js +13 -0
  197. package/esm2015/components/browser/models/browsernoderenamerequest.ngfactory.js +7 -0
  198. package/esm2015/components/browser/models/browsernoderequest.js +13 -0
  199. package/esm2015/components/browser/models/browsernoderequest.ngfactory.js +7 -0
  200. package/esm2015/components/browser/models/browsernoderesponse.js +1 -0
  201. package/esm2015/components/browser/models/browsernoderesponse.ngfactory.js +7 -0
  202. package/esm2015/controls/buttons/button.js +141 -0
  203. package/esm2015/controls/buttons/button.ngfactory.js +7 -0
  204. package/esm2015/controls/checkbox/checkbox.js +33 -0
  205. package/esm2015/controls/checkbox/checkbox.ngfactory.js +7 -0
  206. package/esm2015/controls/checkbox/radiobutton.js +115 -0
  207. package/esm2015/controls/checkbox/radiobutton.ngfactory.js +7 -0
  208. package/esm2015/controls/checkbox/radiobuttons.js +113 -0
  209. package/esm2015/controls/checkbox/radiobuttons.ngfactory.js +7 -0
  210. package/esm2015/controls/confirm/confirm.button.js +32 -0
  211. package/esm2015/controls/confirm/confirm.button.ngfactory.js +7 -0
  212. package/esm2015/controls/confirm/confirm.js +75 -0
  213. package/esm2015/controls/confirm/confirm.ngfactory.js +7 -0
  214. package/esm2015/controls/confirm/confirm.service.js +87 -0
  215. package/esm2015/controls/confirm/confirm.service.ngfactory.js +7 -0
  216. package/esm2015/controls/contextmenu/contextmenu.js +194 -0
  217. package/esm2015/controls/contextmenu/contextmenu.ngfactory.js +7 -0
  218. package/esm2015/controls/contextmenu/contextmenuanchor.js +22 -0
  219. package/esm2015/controls/contextmenu/contextmenuanchor.ngfactory.js +7 -0
  220. package/esm2015/controls/contextmenu/contextmenucontainer.js +22 -0
  221. package/esm2015/controls/contextmenu/contextmenucontainer.ngfactory.js +7 -0
  222. package/esm2015/controls/contextmenu/contextmenuitem.js +10 -0
  223. package/esm2015/controls/contextmenu/contextmenuitem.ngfactory.js +7 -0
  224. package/esm2015/controls/contextmenu/contextmenuitembutton.js +97 -0
  225. package/esm2015/controls/contextmenu/contextmenuitembutton.ngfactory.js +7 -0
  226. package/esm2015/controls/datetime/date.js +212 -0
  227. package/esm2015/controls/datetime/date.ngfactory.js +7 -0
  228. package/esm2015/controls/datetime/dateselector.js +458 -0
  229. package/esm2015/controls/datetime/dateselector.ngfactory.js +7 -0
  230. package/esm2015/controls/datetime/datetime.js +229 -0
  231. package/esm2015/controls/datetime/datetime.ngfactory.js +7 -0
  232. package/esm2015/controls/datetime/time.js +212 -0
  233. package/esm2015/controls/datetime/time.ngfactory.js +7 -0
  234. package/esm2015/controls/dialog/dialog.js +207 -0
  235. package/esm2015/controls/dialog/dialog.ngfactory.js +7 -0
  236. package/esm2015/controls/form/form.js +110 -0
  237. package/esm2015/controls/form/form.ngfactory.js +7 -0
  238. package/esm2015/controls/grid/grid.js +144 -0
  239. package/esm2015/controls/grid/grid.ngfactory.js +7 -0
  240. package/esm2015/controls/grid/gridbutton.js +54 -0
  241. package/esm2015/controls/grid/gridbutton.ngfactory.js +7 -0
  242. package/esm2015/controls/grid/gridcolumn.js +49 -0
  243. package/esm2015/controls/grid/gridcolumn.ngfactory.js +7 -0
  244. package/esm2015/controls/grid/gridcolumnaction.js +26 -0
  245. package/esm2015/controls/grid/gridcolumnaction.ngfactory.js +7 -0
  246. package/esm2015/controls/grid/gridcolumnbase.js +126 -0
  247. package/esm2015/controls/grid/gridcolumnbase.ngfactory.js +7 -0
  248. package/esm2015/controls/grid/gridimage.js +13 -0
  249. package/esm2015/controls/grid/gridimage.ngfactory.js +7 -0
  250. package/esm2015/controls/grid/model.js +79 -0
  251. package/esm2015/controls/grid/model.ngfactory.js +7 -0
  252. package/esm2015/controls/grid/paging.js +254 -0
  253. package/esm2015/controls/grid/paging.ngfactory.js +7 -0
  254. package/esm2015/controls/input/input.js +66 -0
  255. package/esm2015/controls/input/input.ngfactory.js +7 -0
  256. package/esm2015/controls/input/inputarea.js +54 -0
  257. package/esm2015/controls/input/inputarea.ngfactory.js +7 -0
  258. package/esm2015/controls/input/inputcurrency.js +31 -0
  259. package/esm2015/controls/input/inputcurrency.ngfactory.js +7 -0
  260. package/esm2015/controls/input/inputdecimal.js +146 -0
  261. package/esm2015/controls/input/inputdecimal.ngfactory.js +7 -0
  262. package/esm2015/controls/input/inputemail.js +41 -0
  263. package/esm2015/controls/input/inputemail.ngfactory.js +7 -0
  264. package/esm2015/controls/input/inputinteger.js +130 -0
  265. package/esm2015/controls/input/inputinteger.ngfactory.js +7 -0
  266. package/esm2015/controls/input/inputpassword.js +46 -0
  267. package/esm2015/controls/input/inputpassword.ngfactory.js +7 -0
  268. package/esm2015/controls/input/inputsearch.js +37 -0
  269. package/esm2015/controls/input/inputsearch.ngfactory.js +7 -0
  270. package/esm2015/controls/layout/formlayout.js +70 -0
  271. package/esm2015/controls/layout/formlayout.ngfactory.js +7 -0
  272. package/esm2015/controls/list/dropdown.js +270 -0
  273. package/esm2015/controls/list/dropdown.ngfactory.js +7 -0
  274. package/esm2015/controls/list/list.module.js +11 -0
  275. package/esm2015/controls/list/list.module.ngfactory.js +7 -0
  276. package/esm2015/controls/list/listbox.js +187 -0
  277. package/esm2015/controls/list/listbox.ngfactory.js +7 -0
  278. package/esm2015/controls/multilanguage/multilanguageinput.js +230 -0
  279. package/esm2015/controls/multilanguage/multilanguageinput.ngfactory.js +7 -0
  280. package/esm2015/controls/multilanguage/multilanguageinputarea.js +231 -0
  281. package/esm2015/controls/multilanguage/multilanguageinputarea.ngfactory.js +7 -0
  282. package/esm2015/controls/static/formcontainer.js +50 -0
  283. package/esm2015/controls/static/formcontainer.ngfactory.js +7 -0
  284. package/esm2015/controls/static/staticlabel.js +31 -0
  285. package/esm2015/controls/static/staticlabel.ngfactory.js +7 -0
  286. package/esm2015/controls/tabs/tab.js +72 -0
  287. package/esm2015/controls/tabs/tab.ngfactory.js +7 -0
  288. package/esm2015/controls/tabs/tabitem.js +32 -0
  289. package/esm2015/controls/tabs/tabitem.ngfactory.js +7 -0
  290. package/esm2015/controls/tinymce/tinymce.js +238 -0
  291. package/esm2015/controls/tinymce/tinymce.ngfactory.js +7 -0
  292. package/esm2015/controls/tinymce/tinymcedialogsettings.js +13 -0
  293. package/esm2015/controls/tinymce/tinymcedialogsettings.ngfactory.js +7 -0
  294. package/esm2015/controls/tinymce/tinymcedialogsettingsmeta.js +4 -0
  295. package/esm2015/controls/tinymce/tinymcedialogsettingsmeta.ngfactory.js +7 -0
  296. package/esm2015/controls/tinymce/tinymceinstance.js +1 -0
  297. package/esm2015/controls/tinymce/tinymceinstance.ngfactory.js +7 -0
  298. package/esm2015/controls/tooltip/tooltip.js +361 -0
  299. package/esm2015/controls/tooltip/tooltip.ngfactory.js +7 -0
  300. package/esm2015/controls/treeview/ngtreeitemaction.js +60 -0
  301. package/esm2015/controls/treeview/ngtreeitemaction.ngfactory.js +7 -0
  302. package/esm2015/controls/treeview/treeview.js +322 -0
  303. package/esm2015/controls/treeview/treeview.ngfactory.js +7 -0
  304. package/esm2015/controls/treeview/treeviewchild.js +18 -0
  305. package/esm2015/controls/treeview/treeviewchild.ngfactory.js +7 -0
  306. package/esm2015/controls/upload/dropzonemultiple.js +163 -0
  307. package/esm2015/controls/upload/dropzonemultiple.ngfactory.js +7 -0
  308. package/esm2015/controls/upload/dropzonesingle.js +108 -0
  309. package/esm2015/controls/upload/dropzonesingle.ngfactory.js +7 -0
  310. package/esm2015/controls/upload/uploadmultiple.js +121 -0
  311. package/esm2015/controls/upload/uploadmultiple.ngfactory.js +7 -0
  312. package/esm2015/controls/upload/uploadsingle.js +55 -0
  313. package/esm2015/controls/upload/uploadsingle.ngfactory.js +7 -0
  314. package/esm2015/controls/validation/validationsummary.js +133 -0
  315. package/esm2015/controls/validation/validationsummary.ngfactory.js +7 -0
  316. package/esm2015/controls/wizard/wizard.js +139 -0
  317. package/esm2015/controls/wizard/wizard.ngfactory.js +7 -0
  318. package/esm2015/controls/wizard/wizarditem.js +27 -0
  319. package/esm2015/controls/wizard/wizarditem.ngfactory.js +7 -0
  320. package/esm2015/enums/ButtonRoleType.js +1 -0
  321. package/esm2015/enums/ButtonRoleType.ngfactory.js +7 -0
  322. package/esm2015/enums/ControlHeight.js +19 -0
  323. package/esm2015/enums/ControlHeight.ngfactory.js +7 -0
  324. package/esm2015/enums/IconType.js +9 -0
  325. package/esm2015/enums/IconType.ngfactory.js +7 -0
  326. package/esm2015/interfaces/ISacConfigurationService.js +1 -0
  327. package/esm2015/interfaces/ISacConfigurationService.ngfactory.js +7 -0
  328. package/esm2015/interfaces/ISacFileBrowserService.js +1 -0
  329. package/esm2015/interfaces/ISacFileBrowserService.ngfactory.js +7 -0
  330. package/esm2015/interfaces/ISacIconService.js +1 -0
  331. package/esm2015/interfaces/ISacIconService.ngfactory.js +7 -0
  332. package/esm2015/interfaces/ISacLabelSizes.js +1 -0
  333. package/esm2015/interfaces/ISacLabelSizes.ngfactory.js +7 -0
  334. package/esm2015/interfaces/ISacLanguageService.js +1 -0
  335. package/esm2015/interfaces/ISacLanguageService.ngfactory.js +7 -0
  336. package/esm2015/interfaces/ISacLocalisationService.js +1 -0
  337. package/esm2015/interfaces/ISacLocalisationService.ngfactory.js +7 -0
  338. package/esm2015/interfaces/ISacValidationKeyService.js +1 -0
  339. package/esm2015/interfaces/ISacValidationKeyService.ngfactory.js +7 -0
  340. package/esm2015/interfaces/iabstractcontrollabel.js +1 -0
  341. package/esm2015/interfaces/iabstractcontrollabel.ngfactory.js +7 -0
  342. package/esm2015/interfaces/iconfirmcomponent.js +1 -0
  343. package/esm2015/interfaces/iconfirmcomponent.ngfactory.js +7 -0
  344. package/esm2015/interfaces/idatetimecontrol.js +1 -0
  345. package/esm2015/interfaces/idatetimecontrol.ngfactory.js +7 -0
  346. package/esm2015/interfaces/iuploadcontrol.js +1 -0
  347. package/esm2015/interfaces/iuploadcontrol.ngfactory.js +7 -0
  348. package/esm2015/models/languagemodel.js +13 -0
  349. package/esm2015/models/languagemodel.ngfactory.js +7 -0
  350. package/esm2015/public_api.js +101 -0
  351. package/esm2015/public_api.ngfactory.js +7 -0
  352. package/esm2015/services/index.js +7 -0
  353. package/esm2015/services/index.ngfactory.js +7 -0
  354. package/esm2015/services/sac-configuration.service.js +77 -0
  355. package/esm2015/services/sac-configuration.service.ngfactory.js +7 -0
  356. package/esm2015/services/sac-filebrowser.service.js +203 -0
  357. package/esm2015/services/sac-filebrowser.service.ngfactory.js +7 -0
  358. package/esm2015/services/sac-icon.service.js +155 -0
  359. package/esm2015/services/sac-icon.service.ngfactory.js +7 -0
  360. package/esm2015/services/sac-language.service.js +43 -0
  361. package/esm2015/services/sac-language.service.ngfactory.js +7 -0
  362. package/esm2015/services/sac-localisation.service.js +460 -0
  363. package/esm2015/services/sac-localisation.service.ngfactory.js +7 -0
  364. package/esm2015/services/sac-validationkey.service.js +156 -0
  365. package/esm2015/services/sac-validationkey.service.ngfactory.js +7 -0
  366. package/esm2015/simpleangularcontrols-sac-common.js +11 -0
  367. package/esm2015/simpleangularcontrols-sac-common.ngfactory.js +7 -0
  368. package/esm2015/utilities/convertion.js +32 -0
  369. package/esm2015/utilities/convertion.ngfactory.js +7 -0
  370. package/esm2015/utilities/datatypes.js +9 -0
  371. package/esm2015/utilities/datatypes.ngfactory.js +7 -0
  372. package/esm2015/utilities/enums.js +16 -0
  373. package/esm2015/utilities/enums.ngfactory.js +7 -0
  374. package/esm2015/utilities/guid.js +16 -0
  375. package/esm2015/utilities/guid.ngfactory.js +7 -0
  376. package/esm2015/utilities/interpolation.js +50 -0
  377. package/esm2015/utilities/interpolation.ngfactory.js +7 -0
  378. package/esm2015/utilities/positioning.js +301 -0
  379. package/esm2015/utilities/positioning.ngfactory.js +7 -0
  380. package/esm2015/validation/email.validator.js +13 -0
  381. package/esm2015/validation/email.validator.ngfactory.js +7 -0
  382. package/esm2015/validation/index.js +3 -0
  383. package/esm2015/validation/index.ngfactory.js +7 -0
  384. package/esm2015/validation/invaliddate.validator.js +14 -0
  385. package/esm2015/validation/invaliddate.validator.ngfactory.js +7 -0
  386. package/esm2015/validation/isDateValid.js +15 -0
  387. package/esm2015/validation/isDateValid.ngfactory.js +7 -0
  388. package/esm2015/validation/maxdate.validator.js +21 -0
  389. package/esm2015/validation/maxdate.validator.ngfactory.js +7 -0
  390. package/esm2015/validation/maxtime.validator.js +21 -0
  391. package/esm2015/validation/maxtime.validator.ngfactory.js +7 -0
  392. package/esm2015/validation/maxvalue.validator.js +16 -0
  393. package/esm2015/validation/maxvalue.validator.ngfactory.js +7 -0
  394. package/esm2015/validation/mindate.validator.js +21 -0
  395. package/esm2015/validation/mindate.validator.ngfactory.js +7 -0
  396. package/esm2015/validation/minfiles.validator.js +19 -0
  397. package/esm2015/validation/minfiles.validator.ngfactory.js +7 -0
  398. package/esm2015/validation/minlength.validator.js +21 -0
  399. package/esm2015/validation/minlength.validator.ngfactory.js +7 -0
  400. package/esm2015/validation/mintime.validator.js +21 -0
  401. package/esm2015/validation/mintime.validator.ngfactory.js +7 -0
  402. package/esm2015/validation/minvalue.validator.js +16 -0
  403. package/esm2015/validation/minvalue.validator.ngfactory.js +7 -0
  404. package/esm2015/validation/multilanguagerequired.validator.js +22 -0
  405. package/esm2015/validation/multilanguagerequired.validator.ngfactory.js +7 -0
  406. package/esm2015/validation/multilanguagerequiredany.validator.js +22 -0
  407. package/esm2015/validation/multilanguagerequiredany.validator.ngfactory.js +7 -0
  408. package/esm2015/validation/pattern.validator.js +16 -0
  409. package/esm2015/validation/pattern.validator.ngfactory.js +7 -0
  410. package/esm2015/validation/required.validator.js +13 -0
  411. package/esm2015/validation/required.validator.ngfactory.js +7 -0
  412. package/esm2015/validation/validation.class.js +189 -0
  413. package/esm2015/validation/validation.class.ngfactory.js +7 -0
  414. package/esm2015/validation/validationerrorcreator.js +11 -0
  415. package/esm2015/validation/validationerrorcreator.ngfactory.js +7 -0
  416. package/esm2015/validation/validationerroritem.js +27 -0
  417. package/esm2015/validation/validationerroritem.ngfactory.js +7 -0
  418. package/fesm2015/simpleangularcontrols-sac-common.js +10319 -0
  419. package/fesm2015/simpleangularcontrols-sac-common.js.map +1 -0
  420. package/interfaces/ISacConfigurationService.d.ts +38 -0
  421. package/interfaces/ISacConfigurationService.ngfactory.d.ts +1 -0
  422. package/interfaces/ISacFileBrowserService.d.ts +65 -0
  423. package/interfaces/ISacFileBrowserService.ngfactory.d.ts +1 -0
  424. package/interfaces/ISacIconService.d.ts +89 -0
  425. package/interfaces/ISacIconService.ngfactory.d.ts +1 -0
  426. package/interfaces/ISacLabelSizes.d.ts +26 -0
  427. package/interfaces/ISacLabelSizes.ngfactory.d.ts +1 -0
  428. package/interfaces/ISacLanguageService.d.ts +12 -0
  429. package/interfaces/ISacLanguageService.ngfactory.d.ts +1 -0
  430. package/interfaces/ISacLocalisationService.d.ts +10 -0
  431. package/interfaces/ISacLocalisationService.ngfactory.d.ts +1 -0
  432. package/interfaces/ISacValidationKeyService.d.ts +52 -0
  433. package/interfaces/ISacValidationKeyService.ngfactory.d.ts +1 -0
  434. package/interfaces/iabstractcontrollabel.d.ts +6 -0
  435. package/interfaces/iabstractcontrollabel.ngfactory.d.ts +1 -0
  436. package/interfaces/iconfirmcomponent.d.ts +18 -0
  437. package/interfaces/iconfirmcomponent.ngfactory.d.ts +1 -0
  438. package/interfaces/idatetimecontrol.d.ts +7 -0
  439. package/interfaces/idatetimecontrol.ngfactory.d.ts +1 -0
  440. package/interfaces/iuploadcontrol.d.ts +9 -0
  441. package/interfaces/iuploadcontrol.ngfactory.d.ts +1 -0
  442. package/models/languagemodel.d.ts +22 -0
  443. package/models/languagemodel.ngfactory.d.ts +1 -0
  444. package/package.json +28 -0
  445. package/public_api.d.ts +79 -0
  446. package/public_api.ngfactory.d.ts +1 -0
  447. package/services/index.d.ts +6 -0
  448. package/services/index.ngfactory.d.ts +1 -0
  449. package/services/sac-configuration.service.d.ts +81 -0
  450. package/services/sac-configuration.service.ngfactory.d.ts +1 -0
  451. package/services/sac-filebrowser.service.d.ts +140 -0
  452. package/services/sac-filebrowser.service.ngfactory.d.ts +1 -0
  453. package/services/sac-icon.service.d.ts +184 -0
  454. package/services/sac-icon.service.ngfactory.d.ts +1 -0
  455. package/services/sac-language.service.d.ts +26 -0
  456. package/services/sac-language.service.ngfactory.d.ts +1 -0
  457. package/services/sac-localisation.service.d.ts +137 -0
  458. package/services/sac-localisation.service.ngfactory.d.ts +1 -0
  459. package/services/sac-validationkey.service.d.ts +55 -0
  460. package/services/sac-validationkey.service.ngfactory.d.ts +1 -0
  461. package/simpleangularcontrols-sac-common-10.0.0-rc.1.tgz +0 -0
  462. package/simpleangularcontrols-sac-common.d.ts +10 -0
  463. package/simpleangularcontrols-sac-common.metadata.json +1 -0
  464. package/simpleangularcontrols-sac-common.ngfactory.d.ts +1 -0
  465. package/utilities/convertion.d.ts +15 -0
  466. package/utilities/convertion.ngfactory.d.ts +1 -0
  467. package/utilities/datatypes.d.ts +6 -0
  468. package/utilities/datatypes.ngfactory.d.ts +1 -0
  469. package/utilities/enums.d.ts +10 -0
  470. package/utilities/enums.ngfactory.d.ts +1 -0
  471. package/utilities/guid.d.ts +4 -0
  472. package/utilities/guid.ngfactory.d.ts +1 -0
  473. package/utilities/interpolation.d.ts +21 -0
  474. package/utilities/interpolation.ngfactory.d.ts +1 -0
  475. package/utilities/positioning.d.ts +82 -0
  476. package/utilities/positioning.ngfactory.d.ts +1 -0
  477. package/validation/email.validator.d.ts +2 -0
  478. package/validation/email.validator.ngfactory.d.ts +1 -0
  479. package/validation/index.d.ts +2 -0
  480. package/validation/index.ngfactory.d.ts +1 -0
  481. package/validation/invaliddate.validator.d.ts +2 -0
  482. package/validation/invaliddate.validator.ngfactory.d.ts +1 -0
  483. package/validation/isDateValid.d.ts +5 -0
  484. package/validation/isDateValid.ngfactory.d.ts +1 -0
  485. package/validation/maxdate.validator.d.ts +2 -0
  486. package/validation/maxdate.validator.ngfactory.d.ts +1 -0
  487. package/validation/maxtime.validator.d.ts +2 -0
  488. package/validation/maxtime.validator.ngfactory.d.ts +1 -0
  489. package/validation/maxvalue.validator.d.ts +2 -0
  490. package/validation/maxvalue.validator.ngfactory.d.ts +1 -0
  491. package/validation/mindate.validator.d.ts +2 -0
  492. package/validation/mindate.validator.ngfactory.d.ts +1 -0
  493. package/validation/minfiles.validator.d.ts +2 -0
  494. package/validation/minfiles.validator.ngfactory.d.ts +1 -0
  495. package/validation/minlength.validator.d.ts +2 -0
  496. package/validation/minlength.validator.ngfactory.d.ts +1 -0
  497. package/validation/mintime.validator.d.ts +2 -0
  498. package/validation/mintime.validator.ngfactory.d.ts +1 -0
  499. package/validation/minvalue.validator.d.ts +2 -0
  500. package/validation/minvalue.validator.ngfactory.d.ts +1 -0
  501. package/validation/multilanguagerequired.validator.d.ts +3 -0
  502. package/validation/multilanguagerequired.validator.ngfactory.d.ts +1 -0
  503. package/validation/multilanguagerequiredany.validator.d.ts +3 -0
  504. package/validation/multilanguagerequiredany.validator.ngfactory.d.ts +1 -0
  505. package/validation/pattern.validator.d.ts +2 -0
  506. package/validation/pattern.validator.ngfactory.d.ts +1 -0
  507. package/validation/required.validator.d.ts +2 -0
  508. package/validation/required.validator.ngfactory.d.ts +1 -0
  509. package/validation/validation.class.d.ts +139 -0
  510. package/validation/validation.class.ngfactory.d.ts +1 -0
  511. package/validation/validationerrorcreator.d.ts +1 -0
  512. package/validation/validationerrorcreator.ngfactory.d.ts +1 -0
  513. package/validation/validationerroritem.d.ts +33 -0
  514. package/validation/validationerroritem.ngfactory.d.ts +1 -0
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("rxjs"),require("@angular/common/http"),require("moment"),require("imask"),require("ngx-uploadx"),require("@angular/common")):"function"==typeof define&&define.amd?define("@simpleangularcontrols/sac-common",["exports","@angular/core","@angular/forms","rxjs","@angular/common/http","moment","imask","ngx-uploadx","@angular/common"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).simpleangularcontrols=e.simpleangularcontrols||{},e.simpleangularcontrols["sac-common"]={}),e.ng.core,e.ng.forms,e.rxjs,e.ng.common.http,e.moment,e.IMask,e.ngxUploadx,e.ng.common)}(this,(function(e,t,i,n,o,r,a,l,s){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=u(r),c=function(){function e(){this._isdisabledvalue=!1,this._role="default",this.icon="",this.name="",this.text="",this.clicked=new t.EventEmitter,this._isloadingvalue=!1,this.hasError=!1}return Object.defineProperty(e.prototype,"isdisabled",{get:function(){return this._isdisabledvalue},set:function(e){this._isdisabledvalue=null==e||"boolean"==typeof e?e:"true"===e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isloading",{get:function(){return this._isloadingvalue},set:function(e){this._isloadingvalue=null==e||"boolean"==typeof e?e:"true"===e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"role",{get:function(){return this._role},set:function(e){switch(e){case"":case"primary":case"default":case"light":case"dark":case"link":case"success":case"secondary":case"danger":case"warning":case"info":this._role=""===e?"default":e;break;default:throw new Error('Invalid role " + v + " for button.')}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_isdisabled",{get:function(){return this._isdisabledvalue},enumerable:!1,configurable:!0}),e.prototype.buttonClick=function(){!1===this._isdisabled&&!1===this._isloadingvalue&&this.clicked.emit()},e}();c.decorators=[{type:t.Directive}],c.propDecorators={icon:[{type:t.Input}],name:[{type:t.Input}],text:[{type:t.Input}],clicked:[{type:t.Output}],isdisabled:[{type:t.Input}],isloading:[{type:t.Input}],role:[{type:t.Input}]};var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)};function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}Object.create;function f(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,o,r=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}Object.create;"function"==typeof SuppressedError&&SuppressedError;var g,v=function(){function e(){this.componentHeight=null,this.inlineError=!0,this.isAdaptiveLabel=!1,this.labelSizeLg=null,this.labelSizeMd=null,this.labelSizeSm=null,this.labelSizeXl=null,this.labelSizeXs=null,this.labelSizeXxl=null}return Object.defineProperty(e.prototype,"IsInlineErrorEnabled",{get:function(){return!1!==this.inlineError},enumerable:!1,configurable:!0}),e}();v.decorators=[{type:t.Directive}],v.propDecorators={componentHeight:[{type:t.Input}],inlineError:[{type:t.Input}],isAdaptiveLabel:[{type:t.Input}],labelSizeLg:[{type:t.Input}],labelSizeMd:[{type:t.Input}],labelSizeSm:[{type:t.Input}],labelSizeXl:[{type:t.Input}],labelSizeXs:[{type:t.Input}],labelSizeXxl:[{type:t.Input}]},(g=e.ControlHeight||(e.ControlHeight={}))[g.Default=0]="Default",g[g.Small=1]="Small",g[g.Large=2]="Large";var b=function(){};b.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new b},token:b,providedIn:"root"}),b.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),Object.defineProperty(t.prototype,"ComponentHeight",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CurrencyText",{get:function(){return"CHF"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LabelSizeLg",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LabelSizeMd",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LabelSizeSm",{get:function(){return 4},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LabelSizeXl",{get:function(){return null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LabelSizeXs",{get:function(){return 12},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"LabelSizeXxl",{get:function(){return null},enumerable:!1,configurable:!0}),t}(b);I.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new I},token:I,providedIn:"root"}),I.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var E=new t.InjectionToken("SacConfigurationService"),S=function(e){Object.assign(this,e)},O=function(e){Object.assign(this,e)},_=function(e){Object.assign(this,e)},R=function(e){Object.assign(this,e)},T=function(e){Object.assign(this,e)},D=function(e){Object.assign(this,e)},A=function(e){Object.assign(this,e)},w=new t.InjectionToken("FileBrowserService"),P=function(){};P.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new P},token:P,providedIn:"root"}),P.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var M=function(e){function t(t){var i=e.call(this)||this;return i.httpclient=t,i}return h(t,e),t.prototype.GetNode=function(e,t,i){var n=e+"/getnodes";t||(t="");var o=new A({Path:t,AllowedTypes:i});return this.httpclient.post(n,o,{withCredentials:!0})},t.prototype.SaveNode=function(e,t,i){var n=e+"/newnode";t||(t="");var o=new T({Path:t,NewFoldername:i});return this.httpclient.post(n,o,{withCredentials:!0})},t.prototype.RenameNode=function(e,t,i){var n=e+"/renamenode";t||(t="");var o=new D({Path:t,NewFoldername:i});return this.httpclient.put(n,o,{withCredentials:!0})},t.prototype.DeleteNode=function(e,t){var i=e+"/deletenode";t||(t="");var n=new R({Path:t});return this.httpclient.post(i,n,{withCredentials:!0})},t.prototype.GetFiles=function(e,t,i){var n=e+"/getfiles";t||(t="");var o=new A({Path:t,AllowedTypes:i});return this.httpclient.post(n,o,{withCredentials:!0})},t.prototype.SaveFile=function(e,t,i,n){var o=e+"/uploadfile";t||(t="");var r=new _({Path:t,UploadId:i,AllowedTypes:n});return this.httpclient.post(o,r,{withCredentials:!0})},t.prototype.DeleteFile=function(e,t,i){var n=e+"/deletefile";t||(t="");var o=new S({Path:t,AllowedTypes:i});return this.httpclient.post(n,o,{withCredentials:!0})},t.prototype.RenameFile=function(e,t,i,n){var o=e+"/renamefile";t||(t="");var r=new O({Path:t,NewFilename:i,AllowedTypes:n});return this.httpclient.put(o,r,{withCredentials:!0})},t}(P);M.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new M(t.ɵɵinject(o.HttpClient))},token:M,providedIn:"root"}),M.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],M.ctorParameters=function(){return[{type:o.HttpClient}]};var C=function(){};C.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new C},token:C,providedIn:"root"}),C.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),Object.defineProperty(t.prototype,"BrowserComponentDeleteIcon",{get:function(){return"fas fa-trash"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowserComponentEditIcon",{get:function(){return"fas fa-pen"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowserComponentFolderClosedIcon",{get:function(){return"fa fa-folder-plus"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowserComponentFolderEmptyIcon",{get:function(){return"fa fa-folder"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowserComponentFolderNewIcon",{get:function(){return"far fa-folder"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowserComponentFolderOpenIcon",{get:function(){return"fa fa-folder-open"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"BrowserComponentRefreshIcon",{get:function(){return"fas fa-sync-alt"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ConfirmDefaultImage",{get:function(){return"/assets/icons/dialog/question.png"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ContextMenuOpenIcon",{get:function(){return"fas fa-ellipsis-v"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DateComponentSelectorIcon",{get:function(){return"fa fa-calendar"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DateTimeComponentSelectorIcon",{get:function(){return"fa fa-calendar"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DateTimeSelectorComponentMonthNextIcon",{get:function(){return"fa fa-chevron-right"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"DateTimeSelectorComponentMonthPrevIcon",{get:function(){return"fa fa-chevron-left"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GridComponentSortDown",{get:function(){return"fa fa-caret-down"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"GridComponentSortUp",{get:function(){return"fa fa-caret-up"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TimeComponentSelectorIcon",{get:function(){return"fa fa-clock"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UploadComponentBrowseIcon",{get:function(){return"fa fa-folder-open"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UploadComponentContinueIcon",{get:function(){return"fa fa-play"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UploadComponentDeleteIcon",{get:function(){return"fa fa-times"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UploadComponentPauseIcon",{get:function(){return"fa fa-pause"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UploadComponentUploadIcon",{get:function(){return"fa fa-upload"},enumerable:!1,configurable:!0}),t}(C);V.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new V},token:V,providedIn:"root"}),V.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var L,N=new t.InjectionToken("SacIconService");(L=e.IconType||(e.IconType={}))[L.Image=1]="Image",L[L.CssSprite=2]="CssSprite";var x=new t.InjectionToken("SacLanguageService"),F=function(){};F.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new F},token:F,providedIn:"root"}),F.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var j=function(t){function i(){return null!==t&&t.apply(this,arguments)||this}return h(i,t),i.prototype.GetLanguages=function(){return new n.Observable((function(t){var i=[];i.push({Icon:"/icons/en.png",IconType:e.IconType.Image,IsoCode:"en",Text:"English"}),t.next(i),t.complete()}))},i}(F);function U(e){return null!=e}j.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new j},token:j,providedIn:"root"}),j.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var q=function(){function e(){this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}return e.prototype.interpolateString=function(e,t){var i=this;return t?e.replace(this.templateMatcher,(function(e,n){var o=i.getValue(t,n);return U(o)?o:e})):e},e.prototype.getValue=function(e,t){var i=t.split(".");t="";do{t+=i.shift(),!U(e)||!U(e[t])||"object"!=typeof e[t]&&i.length?i.length?t+=".":e=void 0:(e=e[t],t="")}while(i.length);return e},e}(),k=function(){function e(){}return Object.defineProperty(e.prototype,"ConfirmDefaultButtonNo",{get:function(){return"CONFIRM_BUTTON_NO"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ConfirmDefaultButtonYes",{get:function(){return"CONFIRM_BUTTON_YES"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserButtonDelete",{get:function(){return"FILEBROWSER_DELETE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserButtonNewFolder",{get:function(){return"FILEBROWSER_NEWFOLDER"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserButtonRefresh",{get:function(){return"FILEBROWSER_REFRESH"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserButtonUpload",{get:function(){return"FILEBROWSER_UPLOAD"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserConfirmTextDeleteFile",{get:function(){return"FILEBROWSER_CONFIRM_DELETEFILE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserConfirmTextDeleteFolder",{get:function(){return"FILEBROWSER_CONFIRM_DELETEFOLDER"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserGridFilename",{get:function(){return"FILEBROWSER_GRID_FILE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserGridNoFiles",{get:function(){return"FILEBROWSER_NO_FILES"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"FilebrowserGridSize",{get:function(){return"FILEBROWSER_GRID_SIZE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"PagingEntries",{get:function(){return"PAGING_PAGEENTRIESTEXT"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"PagingPageOf",{get:function(){return"PAGING_PAGEOFTEXT"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"TinyMceFileselectCancel",{get:function(){return"TINYMCE_FILESELECT_CANCEL"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"TinyMceFileselectDialogtitle",{get:function(){return"TINYMCE_FILESELECT_DIALOGTITLE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"TinyMceFileselectOk",{get:function(){return"TINYMCE_FILESELECT_OK"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"UploadButtonBrowse",{get:function(){return"UPLOAD_BUTTON_BROWSE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"UploadButtonUpload",{get:function(){return"UPLOAD_BUTTON_UPLOAD"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"UploadNoFilesSelected",{get:function(){return"UPLOAD_NO_FILE_SELECTED"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorDatetimeFormat",{get:function(){return"VALIDATION_ERROR_DATETIMEFORMAT"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorEmail",{get:function(){return"VALIDATION_ERROR_EMAIL"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorFilesMin",{get:function(){return"VALIDATION_ERROR_FILESMIN"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMaxDate",{get:function(){return"VALIDATION_ERROR_MAXDATE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMaxTime",{get:function(){return"VALIDATION_ERROR_MAXTIME"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMaxValue",{get:function(){return"VALIDATION_ERROR_MAXVALUE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMinDate",{get:function(){return"VALIDATION_ERROR_MINDATE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMinLength",{get:function(){return"VALIDATION_ERROR_MINLENGTH"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMinTime",{get:function(){return"VALIDATION_ERROR_MINTIME"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMinValue",{get:function(){return"VALIDATION_ERROR_MINVALUE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMultilanguageRequired",{get:function(){return"VALIDATION_ERROR_MULTILANGUAGEREQUIRED"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorMultilanguageRequiredAny",{get:function(){return"VALIDATION_ERROR_MULTILANGUAGEREQUIREDANY"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorPattern",{get:function(){return"VALIDATION_ERROR_PATTERN"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorRequired",{get:function(){return"VALIDATION_ERROR_REQUIRED"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryDatetimeFormat",{get:function(){return"VALIDATION_ERROR_SUMMARY_DATETIMEFORMAT"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryEmail",{get:function(){return"VALIDATION_ERROR_SUMMARY_EMAIL"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryFilesMin",{get:function(){return"VALIDATION_ERROR_SUMMARY_FILESMIN"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMaxDate",{get:function(){return"VALIDATION_ERROR_SUMMARY_MAXDATE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMaxTime",{get:function(){return"VALIDATION_ERROR_SUMMARY_MAXTIME"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMaxValue",{get:function(){return"VALIDATION_ERROR_SUMMARY_MAXVALUE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMinDate",{get:function(){return"VALIDATION_ERROR_SUMMARY_MINDATE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMinLength",{get:function(){return"VALIDATION_ERROR_SUMMARY_MINLENGTH"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMinTime",{get:function(){return"VALIDATION_ERROR_SUMMARY_MINTIME"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMinValue",{get:function(){return"VALIDATION_ERROR_SUMMARY_MINVALUE"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMultilanguageRequired",{get:function(){return"VALIDATION_ERROR_SUMMARY_MULTILANGUAGEREQUIRED"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryMultilanguageRequiredAny",{get:function(){return"VALIDATION_ERROR_SUMMARY_MULTILANGUAGEREQUIREDANY"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryPattern",{get:function(){return"VALIDATION_ERROR_SUMMARY_PATTERN"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ValidationErrorSummaryRequired",{get:function(){return"VALIDATION_ERROR_SUMMARY_REQUIRED"},enumerable:!1,configurable:!0}),e}();k.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new k},token:k,providedIn:"root"}),k.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var z=new t.InjectionToken("SacValidationkeyService"),B=function(){};B.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new B},token:B,providedIn:"root"}),B.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var G=function(e){function t(t){var i=e.call(this)||this;return i.validationKeyService=t,i.data=new Map,i.data.set("de",new Map),i.data.get("de").set(t.ValidationErrorRequired,i.VALIDATION_ERROR_REQUIRED.get("de")),i.data.get("de").set(t.ValidationErrorSummaryRequired,i.VALIDATION_ERROR_SUMMARY_REQUIRED.get("de")),i.data.get("de").set(t.ValidationErrorMinValue,i.VALIDATION_ERROR_MINVALUE.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMinValue,i.VALIDATION_ERROR_SUMMARY_MINVALUE.get("de")),i.data.get("de").set(t.ValidationErrorPattern,i.VALIDATION_ERROR_PATTERN.get("de")),i.data.get("de").set(t.ValidationErrorSummaryPattern,i.VALIDATION_ERROR_SUMMARY_PATTERN.get("de")),i.data.get("de").set(t.ValidationErrorMaxValue,i.VALIDATION_ERROR_MAXVALUE.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMaxValue,i.VALIDATION_ERROR_SUMMARY_MAXVALUE.get("de")),i.data.get("de").set(t.ValidationErrorEmail,i.VALIDATION_ERROR_EMAIL.get("de")),i.data.get("de").set(t.ValidationErrorSummaryEmail,i.VALIDATION_ERROR_SUMMARY_EMAIL.get("de")),i.data.get("de").set(t.ValidationErrorMinLength,i.VALIDATION_ERROR_MINLENGTH.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMinLength,i.VALIDATION_ERROR_SUMMARY_MINLENGTH.get("de")),i.data.get("de").set(t.ValidationErrorMinDate,i.VALIDATION_ERROR_MINDATE.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMinDate,i.VALIDATION_ERROR_SUMMARY_MINDATE.get("de")),i.data.get("de").set(t.ValidationErrorMaxDate,i.VALIDATION_ERROR_MAXDATE.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMaxDate,i.VALIDATION_ERROR_SUMMARY_MAXDATE.get("de")),i.data.get("de").set(t.ValidationErrorMinTime,i.VALIDATION_ERROR_MINTIME.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMinTime,i.VALIDATION_ERROR_SUMMARY_MINTIME.get("de")),i.data.get("de").set(t.ValidationErrorMaxTime,i.VALIDATION_ERROR_MAXTIME.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMaxTime,i.VALIDATION_ERROR_SUMMARY_MAXTIME.get("de")),i.data.get("de").set(t.ValidationErrorDatetimeFormat,i.VALIDATION_ERROR_DATETIMEFORMAT.get("de")),i.data.get("de").set(t.ValidationErrorSummaryDatetimeFormat,i.VALIDATION_ERROR_SUMMARY_DATETIMEFORMAT.get("de")),i.data.get("de").set(t.ValidationErrorFilesMin,i.VALIDATION_ERROR_FILESMIN.get("de")),i.data.get("de").set(t.ValidationErrorSummaryFilesMin,i.VALIDATION_ERROR_SUMMARY_FILESMIN.get("de")),i.data.get("de").set(t.ValidationErrorMultilanguageRequiredAny,i.VALIDATION_ERROR_MULTILANGUAGEREQUIREDANY.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMultilanguageRequiredAny,i.VALIDATION_ERROR_SUMMARY_MULTILANGUAGEREQUIREDANY.get("de")),i.data.get("de").set(t.ValidationErrorMultilanguageRequired,i.VALIDATION_ERROR_MULTILANGUAGEREQUIRED.get("de")),i.data.get("de").set(t.ValidationErrorSummaryMultilanguageRequired,i.VALIDATION_ERROR_SUMMARY_MULTILANGUAGEREQUIRED.get("de")),i.data.get("de").set(t.PagingPageOf,i.PAGING_PAGEOFTEXT.get("de")),i.data.get("de").set(t.PagingEntries,i.PAGING_PAGEENTRIESTEXT.get("de")),i.data.get("de").set(t.UploadNoFilesSelected,i.UPLOAD_NO_FILE_SELECTED.get("de")),i.data.get("de").set(t.UploadButtonUpload,i.UPLOAD_BUTTON_UPLOAD.get("de")),i.data.get("de").set(t.UploadButtonBrowse,i.UPLOAD_BUTTON_BROWSE.get("de")),i.data.get("de").set(t.TinyMceFileselectOk,i.TINYMCE_FILESELECT_OK.get("de")),i.data.get("de").set(t.TinyMceFileselectCancel,i.TINYMCE_FILESELECT_CANCEL.get("de")),i.data.get("de").set(t.TinyMceFileselectDialogtitle,i.TINYMCE_FILESELECT_DIALOGTITLE.get("de")),i.data.get("de").set(t.ConfirmDefaultButtonYes,i.CONFIRM_BUTTON_YES.get("de")),i.data.get("de").set(t.ConfirmDefaultButtonNo,i.CONFIRM_BUTTON_NO.get("de")),i.data.get("de").set(t.FilebrowserGridNoFiles,i.FILEBROWSER_NO_FILES.get("de")),i.data.get("de").set(t.FilebrowserGridFilename,i.FILEBROWSER_GRID_FILE.get("de")),i.data.get("de").set(t.FilebrowserGridSize,i.FILEBROWSER_GRID_SIZE.get("de")),i.data.get("de").set(t.FilebrowserButtonUpload,i.FILEBROWSER_UPLOAD.get("de")),i.data.get("de").set(t.FilebrowserButtonNewFolder,i.FILEBROWSER_NEWFOLDER.get("de")),i.data.get("de").set(t.FilebrowserButtonRefresh,i.FILEBROWSER_REFRESH.get("de")),i.data.get("de").set(t.FilebrowserButtonDelete,i.FILEBROWSER_DELETE.get("de")),i.data.get("de").set(i.validationKeyService.FilebrowserConfirmTextDeleteFolder,i.FILEBROWSER_CONFIRM_DELETEFOLDER.get("de")),i.data.get("de").set(i.validationKeyService.FilebrowserConfirmTextDeleteFile,i.FILEBROWSER_CONFIRM_DELETEFILE.get("de")),i.data.set("en",new Map),i}return h(t,e),Object.defineProperty(t.prototype,"CONFIRM_BUTTON_NO",{get:function(){return new Map([["de","Nein"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"CONFIRM_BUTTON_YES",{get:function(){return new Map([["de","Ja"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_CONFIRM_DELETEFILE",{get:function(){return new Map([["de","Soll die Datei gelöscht werden?"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_CONFIRM_DELETEFOLDER",{get:function(){return new Map([["de","Soll der Ordner gelöscht werden?"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_DELETE",{get:function(){return new Map([["de","Löschen"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_GRID_FILE",{get:function(){return new Map([["de","Dateiname"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_GRID_SIZE",{get:function(){return new Map([["de","Grösse"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_NEWFOLDER",{get:function(){return new Map([["de","Neuer Ordner"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_NO_FILES",{get:function(){return new Map([["de","Keine Dateien vorhanden"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_REFRESH",{get:function(){return new Map([["de","Aktualisieren"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"FILEBROWSER_UPLOAD",{get:function(){return new Map([["de","Legen Sie Dateien hier ab um Sie hochzuladen"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PAGING_PAGEENTRIESTEXT",{get:function(){return new Map([["de","Einträge pro Seite"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"PAGING_PAGEOFTEXT",{get:function(){return new Map([["de","Seite {{CURRENTPAGE}} von {{TOTALPAGES}}"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TINYMCE_FILESELECT_CANCEL",{get:function(){return new Map([["de","Abbrechen"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TINYMCE_FILESELECT_DIALOGTITLE",{get:function(){return new Map([["de","Datei auswählen"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"TINYMCE_FILESELECT_OK",{get:function(){return new Map([["de","OK"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UPLOAD_BUTTON_BROWSE",{get:function(){return new Map([["de","Browse..."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UPLOAD_BUTTON_UPLOAD",{get:function(){return new Map([["de","Upload"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"UPLOAD_NO_FILE_SELECTED",{get:function(){return new Map([["de","Keine Datei ausgewählt"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_DATETIMEFORMAT",{get:function(){return new Map([["de","Feld ist kein gültiges Datum."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_EMAIL",{get:function(){return new Map([["de","Feld ist keine E-Mail Adresse"]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_FILESMIN",{get:function(){return new Map([["de","Es müssen min. {{MINFILES}} Dateien hochgeladen sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MAXDATE",{get:function(){return new Map([["de","Feld muss älter oder gleich {{MAXDATE}} sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MAXTIME",{get:function(){return new Map([["de","Feld muss älter oder gleich {{MAXTIME}} sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MAXVALUE",{get:function(){return new Map([["de",'Feld "{{FIELD}}" darf nicht grösser als {{MAXVALUE}} sein.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MINDATE",{get:function(){return new Map([["de","Feld muss neuer oder gleich {{MINDATE}} sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MINLENGTH",{get:function(){return new Map([["de","Feld erfordert min. {{MINLENGTH}} Zeichen."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MINTIME",{get:function(){return new Map([["de","Feld muss neuer oder gleich {{MINTIME}} sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MINVALUE",{get:function(){return new Map([["de","Wert darf nicht kleiner als {{MINVALUE}} sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MULTILANGUAGEREQUIRED",{get:function(){return new Map([["de","Es müssen alle Sprachen erfasst sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_MULTILANGUAGEREQUIREDANY",{get:function(){return new Map([["de","Es muss min. 1 Sprache erfasst sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_PATTERN",{get:function(){return new Map([["de","Wert entspricht nicht der Format Vorlage."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_REQUIRED",{get:function(){return new Map([["de","Feld ist erforderlich."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_DATETIMEFORMAT",{get:function(){return new Map([["de",'Feld "{{FIELD}}" ist kein gültiges Datum.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_EMAIL",{get:function(){return new Map([["de",'Feld "{{FIELD}}" ist keine E-Mail Adresse']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_FILESMIN",{get:function(){return new Map([["de",'Feld "{{FIELD}}" muss min. {{MINFILES}} Dateien hochgeladen haben.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MAXDATE",{get:function(){return new Map([["de",'Feld "{{FIELD}}" muss älter oder gleich {{MAXDATE}} sein.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MAXTIME",{get:function(){return new Map([["de",'Feld "{{FIELD}}" muss älter oder gleich {{MAXTIME}} sein.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MAXVALUE",{get:function(){return new Map([["de","Wert darf nicht grösser als {{MAXVALUE}} sein."]])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MINDATE",{get:function(){return new Map([["de",'Feld "{{FIELD}}" muss neuer oder gleich {{MINDATE}} sein.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MINLENGTH",{get:function(){return new Map([["de",'Feld "{{FIELD}}" erfordert min. {{MINLENGTH}} Zeichen.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MINTIME",{get:function(){return new Map([["de",'Feld "{{FIELD}}" muss neuer oder gleich {{MINTIME}} sein.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MINVALUE",{get:function(){return new Map([["de",'Feld "{{FIELD}}" darf nicht kleiner als {{MINVALUE}} sein.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MULTILANGUAGEREQUIRED",{get:function(){return new Map([["de",'Feld "{{FIELD}}" muss alle Sprachen erfasst haben.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_MULTILANGUAGEREQUIREDANY",{get:function(){return new Map([["de",'Feld "{{FIELD}}" muss min. 1 Sprache erfasst haben.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_PATTERN",{get:function(){return new Map([["de",'Feld "{{FIELD}}" entspricht nicht der Format Vorlage.']])},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VALIDATION_ERROR_SUMMARY_REQUIRED",{get:function(){return new Map([["de",'Feld "{{FIELD}}" ist erforderlich.']])},enumerable:!1,configurable:!0}),t.prototype.GetString=function(e,t){var i=this;return new n.Observable((function(n){var o=i.GetLanguage();if(!i.data.has(o)&&(o=i.GetFallbackLanguage(),!i.data.has(o)))return n.next(e),void n.complete();if(i.data.get(o).has(e)){var r=i.data.get(o).get(e);if(null!=t){var a=new q;return n.next(a.interpolateString(r,t)),void n.complete()}return n.next(r),void n.complete()}return n.next(e),void n.complete()}))},t.prototype.GetFallbackLanguage=function(){return"de"},t.prototype.GetLanguage=function(){var e=navigator.language;return e.indexOf("-")>=0?e.split("-")[0]:e},t}(B);G.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new G(t.ɵɵinject(z))},token:G,providedIn:"root"}),G.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],G.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[z]}]}]};var H=new t.InjectionToken("SacLocalisationService");function K(e){return null==e||"boolean"==typeof e?e:"true"===e.toString()}var Y=function(){function t(t,i){this.injector=i,this._inlineerrorenabled=null,this._label="",this._dirty=!1,this._disabledForm=!1,this._touched=!1,this._value=null,this.formlayout=null,this.componentHeight=null,this.disabled=!1,this.disablelabel=!1,this.inlineError=!0,this.isAdaptiveLabel=!1,this.labelSizeLg=null,this.labelSizeMd=null,this.labelSizeSm=null,this.labelSizeXl=null,this.labelSizeXs=null,this.labelSizeXxl=null,this.name=void 0!==typeof crypto?crypto.randomUUID().replace(/\-/gi,""):"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})),this.ControlHeight=e.ControlHeight,this.propagateChange=function(){},this.propagateTouch=function(){},this.formlayout=t,this.validationKeyService=i.get(z,new k),this.lngResourceService=i.get(H,new G(this.validationKeyService)),this.configurationService=i.get(E,new I)}return Object.defineProperty(t.prototype,"inlineerrorenabled",{get:function(){return this._inlineerrorenabled},set:function(e){this._inlineerrorenabled=null==e?null:K(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{get:function(){return this._label},set:function(e){this._label=e,this.UpdateLabelToControl()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){this.disabled||(this._value=this.ConvertInputValue(e),this.propagateChange(this._value))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return null!==this.ngControl&&(this._dirty=this.ngControl.dirty),this._dirty},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return void 0!==this.ngControl&&null!==this.ngControl&&this.ngControl.invalid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isdisabled",{get:function(){return this._disabledForm||this.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isinlineerrorenabled",{get:function(){var e,t;return null===(null===(e=this.formlayout)||void 0===e?void 0:e.IsInlineErrorEnabled)||void 0===(null===(t=this.formlayout)||void 0===t?void 0:t.IsInlineErrorEnabled)?this._inlineerrorenabled:!1!==this.formlayout.IsInlineErrorEnabled&&!1!==this._inlineerrorenabled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelSizes",{get:function(){return{labelSizeSm:this.labelSizeSm,labelSizeMd:this.labelSizeMd,labelSizeXs:this.labelSizeXs,labelSizeXl:this.labelSizeXl,labelSizeXxl:this.labelSizeXxl,labelSizeLg:this.labelSizeLg}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return null!==this.ngControl&&(this._touched=this.ngControl.touched),this._touched},enumerable:!1,configurable:!0}),t.prototype.GetErrorMessage=function(){if(void 0===this.ngControl.errors||null===this.ngControl.errors)return new n.Observable((function(e){e.next(""),e.complete()}));var e=this.ngControl.errors;if(0===e.length)return new n.Observable((function(e){e.next(""),e.complete()}));var t=Object.keys(e);if(t.length<=0)return new n.Observable((function(e){e.next(""),e.complete()}));var i=e[t[0]],o={};return null!==i.parameters&&void 0!==i.parameters&&i.parameters.forEach((function(e,t){o[t]=e})),o.FIELD=i.fieldName,this.lngResourceService.GetString(i.errorMessageKey,o)},t.prototype.ngAfterViewInit=function(){var e=this.injector.get(i.NgControl,null);if(e instanceof i.FormControlName){var t=this.injector.get(i.FormGroupDirective,null);this.ngControl=t.getControl(e)}else e&&(this.ngControl=e.control);this.UpdateLabelToControl()},t.prototype.ngOnInit=function(){this.setLabelSizes(),this.setComponentHeight(),this.setIsAdaptiveLabel(),this.OnClassInit()},t.prototype.onTouch=function(){this._touched=!0,this.propagateTouch()},t.prototype.registerOnChange=function(e){this.propagateChange=function(t){return e(t)}},t.prototype.registerOnTouched=function(e){this.propagateTouch=function(t){return e(t)}},t.prototype.registerOnValidatorChange=function(e){this._onChange=e},t.prototype.setDisabledState=function(e){this._disabledForm=e},t.prototype.setValue=function(e){this.value=e},t.prototype.validate=function(e){return this.validateData(e)},t.prototype.writeValue=function(e){this._value=e},t.prototype.ConvertInputValue=function(e){return e},t.prototype.GetDecimalSymbol=function(){return"."},t.prototype.OnClassInit=function(){},t.prototype.UpdateValueAndValidity=function(){this.ngControl&&this.ngControl.updateValueAndValidity({onlySelf:!0})},t.prototype.UpdateLabelToControl=function(){this.ngControl&&(this.ngControl.controllabel=this.label)},t.prototype.setComponentHeight=function(){var e;this.componentHeight||((null===(e=this.formlayout)||void 0===e?void 0:e.componentHeight)?this.componentHeight=this.formlayout.componentHeight:this.componentHeight=this.configurationService.ComponentHeight)},t.prototype.setIsAdaptiveLabel=function(){var e;this.isAdaptiveLabel||(void 0!==(null===(e=this.formlayout)||void 0===e?void 0:e.isAdaptiveLabel)?this.isAdaptiveLabel=this.formlayout.isAdaptiveLabel:this.isAdaptiveLabel=!1)},t.prototype.setLabelSizes=function(){var e,t,i,n,o,r;this.labelSizeXs||((null===(e=this.formlayout)||void 0===e?void 0:e.labelSizeXs)?this.labelSizeXs=this.formlayout.labelSizeXs:this.labelSizeXs=this.configurationService.LabelSizeXs),this.labelSizeSm||((null===(t=this.formlayout)||void 0===t?void 0:t.labelSizeSm)?this.labelSizeSm=this.formlayout.labelSizeSm:this.labelSizeSm=this.configurationService.LabelSizeSm),this.labelSizeMd||((null===(i=this.formlayout)||void 0===i?void 0:i.labelSizeMd)?this.labelSizeMd=this.formlayout.labelSizeMd:this.labelSizeMd=this.configurationService.LabelSizeMd),this.labelSizeLg||((null===(n=this.formlayout)||void 0===n?void 0:n.labelSizeLg)?this.labelSizeLg=this.formlayout.labelSizeLg:this.labelSizeLg=this.configurationService.LabelSizeLg),this.labelSizeXl||((null===(o=this.formlayout)||void 0===o?void 0:o.labelSizeXl)?this.labelSizeXl=this.formlayout.labelSizeXl:this.labelSizeXl=this.configurationService.LabelSizeXl),this.labelSizeXxl||((null===(r=this.formlayout)||void 0===r?void 0:r.labelSizeXxl)?this.labelSizeXxl=this.formlayout.labelSizeXxl:this.labelSizeXxl=this.configurationService.LabelSizeXxl)},t}();Y.decorators=[{type:t.Directive}],Y.ctorParameters=function(){return[{type:v,decorators:[{type:t.Host}]},{type:t.Injector}]},Y.propDecorators={componentHeight:[{type:t.Input}],disabled:[{type:t.Input}],disablelabel:[{type:t.Input}],inlineError:[{type:t.Input}],isAdaptiveLabel:[{type:t.Input}],labelSizeLg:[{type:t.Input}],labelSizeMd:[{type:t.Input}],labelSizeSm:[{type:t.Input}],labelSizeXl:[{type:t.Input}],labelSizeXs:[{type:t.Input}],labelSizeXxl:[{type:t.Input}],name:[{type:t.Input}],inlineerrorenabled:[{type:t.Input}],label:[{type:t.Input}],value:[{type:t.Input}]};var X=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.tooltiptext="",t.stacked=!1,t}return h(t,e),t.prototype.validateData=function(e){return null},t}(Y);X.decorators=[{type:t.Directive}],X.propDecorators={tooltiptext:[{type:t.Input}],checkboxtext:[{type:t.Input}],stacked:[{type:t.Input}]};var W=function(e,t,i,n){void 0===n&&(n=null),this.fieldName=null,this.parameters=new Map,this.errorType=e,this.errorMessageKey=t,this.errorMessageValidationSummaryKey=i,this.fieldName=n};function Q(e,t,i,n){var o;void 0===n&&(n=new Map);var r=new W(e,t,i);return null!=n&&n.size>0&&n.forEach((function(e,t){r.parameters.set(t,e)})),(o={})[e]=r,o}var Z=p.default;function $(e,t){if(null==e||""===e)return!0;var i=Z(e,[t],!0);return(i=i.utc()).isValid()}p.default;var J=function(){function e(){}return e.GetValidationErrorItem=function(e,t,i,n,o){return void 0===n&&(n=null),void 0===o&&(o=new Map),Q(e,t,i,o)},e.email=function(e,t){return function(e,t){return function(n){return null!==i.Validators.email(n)?Q("email",e,t):null}}(e,t)},e.isValidDate=function(e,t){return function(e,t){return function(i){var n=i;return $(i.value,n.datetimeformatstring)?null:Q("dateformat",e,t)}}(e,t)},e.maxDate=function(e,t,i){return function(e,t,i){return function(n){var o=n;if(!$(o.value,o.datetimeformatstring)||null===e)return null;if(null!==o.value&&e<o.value){var r=new Map;return r.set("MAXDATE",p.default(e).format(o.datetimeformatstring)),Q("datemax",t,i,r)}return null}}(e,t,i)},e.maxTime=function(e,t,i){return function(e,t,i){return function(n){var o=n;if(!$(o.value,o.datetimeformatstring)||null===e)return null;if(null!==o.value&&e<o.value){var r=new Map;return r.set("MAXTIME",p.default(e).format(o.datetimeformatstring)),Q("timemax",t,i,r)}return null}}(e,t,i)},e.maxValue=function(e,t,n){return function(e,t,n){return function(o){if(null!==i.Validators.max(e)(o)){var r=new Map;return r.set("MAXVALUE",e),Q("maxvalue",t,n,r)}return null}}(e,t,n)},e.minDate=function(e,t,i){return function(e,t,i){return function(n){var o=n;if(!$(o.value,o.datetimeformatstring)||null===e)return null;if(null!==o.value&&e>o.value){var r=new Map;return r.set("MINDATE",p.default(e).format(o.datetimeformatstring)),Q("datemin",t,i,r)}return null}}(e,t,i)},e.minFiles=function(e,t,i){return function(e,t,i){return function(n){var o=n;if(!e||0===e)return null;if(null!==o.uploadedfilecount&&e>o.uploadedfilecount){var r=new Map;return r.set("MINFILES",e),Q("minfiles",t,i,r)}return null}}(e,t,i)},e.minLength=function(e,t,n){return function(e,t,n){return function(o){var r=i.Validators.minLength(e);if(null!=e&&""!==o.value&&void 0!==o.value&&null!=o.value&&null!=r(o)){var a=new Map;return a.set("MINLENGTH",e),Q("minlength",t,n,a)}return null}}(e,t,n)},e.minTime=function(e,t,i){return function(e,t,i){return function(n){var o=n;if(!$(o.value,o.datetimeformatstring)||null===e)return null;if(null!==o.value&&e>o.value){var r=new Map;return r.set("MINTIME",p.default(e).format(o.datetimeformatstring)),Q("timemin",t,i,r)}return null}}(e,t,i)},e.minValue=function(e,t,n){return function(e,t,n){return function(o){if(null!==i.Validators.min(e)(o)){var r=new Map;return r.set("MINVALUE",e),Q("minvalue",t,n,r)}return null}}(e,t,n)},e.multilanguageRequired=function(e,t,i){return function(e,t,i){return function(n){var o=!1;return e.forEach((function(e){n.value&&(void 0!==n.value[e.IsoCode]&&null!==n.value[e.IsoCode]&&""!==n.value[e.IsoCode]||(o=!0))})),o?Q("required",t,i):null}}(e,t,i)},e.multilanguageRequiredAny=function(e,t,i){return function(e,t,i){return function(n){var o=!1;return e.forEach((function(e){n.value&&void 0!==n.value[e.IsoCode]&&null!==n.value[e.IsoCode]&&""!==n.value[e.IsoCode]&&(o=!0)})),o?null:Q("requiredany",t,i)}}(e,t,i)},e.pattern=function(e,t,n){return function(e,t,n){return function(o){if(null!==i.Validators.pattern(e)(o)){var r=new Map;return r.set("PATTERN",e),Q("pattern",t,n,r)}return null}}(e,t,n)},e.required=function(e,t){return function(e,t){return function(n){return null!==i.Validators.required(n)?Q("required",e,t):null}}(e,t)},e}(),ee=function(e){function t(t,i){var n=e.call(this,t,i)||this;return n.contentRadiobuttons=[],n.radioButtonIndex=0,n.validationmessagerequired=n.validationKeyService.ValidationErrorRequired,n.validationmessagesummaryrequired=n.validationKeyService.ValidationErrorSummaryRequired,n}return h(t,e),t.prototype.GetRadionButtonIndex=function(){return this.radioButtonIndex++,this.radioButtonIndex},t.prototype.HasCheckedItem=function(){var e=this.contentRadiobuttons;return null!=e&&this.contentRadiobuttons.some((function(e){return e.checked}))},t.prototype.RegisterRadioButton=function(e){this.contentRadiobuttons.push(e)},t.prototype.SelectItem=function(e){this.contentRadiobuttons.forEach((function(t){t.checked=t.value===e})),this.value=e},t.prototype.UnregisterRadioButton=function(e){var t=this.contentRadiobuttons.indexOf(e);t>=0&&this.contentRadiobuttons.splice(t,1)},t.prototype.validateData=function(e){return this.HasCheckedItem()?null:J.GetValidationErrorItem("required",this.validationmessagerequired,this.validationmessagesummaryrequired,this.label)},t.prototype.writeValue=function(t){e.prototype.writeValue.call(this,t),null!=t&&this.contentRadiobuttons.forEach((function(e){e.checked=e.value===t}))},t}(Y);ee.decorators=[{type:t.Directive}],ee.ctorParameters=function(){return[{type:v,decorators:[{type:t.Host}]},{type:t.Injector}]},ee.propDecorators={validationmessagerequired:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}]};var te=function(){function i(i){this.sacRadioButtons=i,this.ControlHeight=e.ControlHeight,this.onselectitem=new t.EventEmitter,this._hidden=!1,this._index=null,this.sacRadioButtons.RegisterRadioButton(this)}return Object.defineProperty(i.prototype,"isDisabled",{get:function(){return this.disabled||this.sacRadioButtons.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"hidden",{get:function(){return this._hidden},set:function(e){this._hidden=null==e||"boolean"==typeof e?e:"true"===e,this._hidden&&this.checked&&this.sacRadioButtons.SelectItem(null)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"getIndex",{get:function(){return null===this._index&&null!==this.sacRadioButtons&&void 0!==this.sacRadioButtons&&(this._index=this.sacRadioButtons.GetRadionButtonIndex()),this._index},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"getName",{get:function(){return this.sacRadioButtons.name},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"componentHeight",{get:function(){return this.sacRadioButtons.componentHeight},enumerable:!1,configurable:!0}),i.prototype.ngOnDestroy=function(){this.sacRadioButtons.UnregisterRadioButton(this)},i.prototype.ChangeEvent=function(){this.disabled||(this.sacRadioButtons.SelectItem(this.value),this.onselectitem.emit())},i}();te.decorators=[{type:t.Directive}],te.ctorParameters=function(){return[{type:ee}]},te.propDecorators={value:[{type:t.Input}],label:[{type:t.Input}],checked:[{type:t.Input}],disabled:[{type:t.Input}],onselectitem:[{type:t.Output}],hidden:[{type:t.Input}],labeltemplate:[{type:t.Input}]};var ie=function(){function e(e){this.cdRef=e,this.hasSetBodyTag=!1,this._show=!1,this._size="",this.title="Dialog",this.allowesc=!0,this.backdrop=!0,this.name="",this.closebutton=!0,this.width=null,this.height=null,this.isvisibleChange=new t.EventEmitter}return Object.defineProperty(e.prototype,"dialogElementSetter",{set:function(e){this.dialogElement=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{set:function(e){e=e.toLowerCase(),this._size=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isvisible",{get:function(){return this._show},set:function(e){!e||this.hasSetBodyTag||document.body.classList.contains("modal-open")||(document.body.classList.add("modal-open"),this.hasSetBodyTag=!0),!e&&this.hasSetBodyTag&&document.body.classList.contains("modal-open")&&(document.body.classList.remove("modal-open"),this.hasSetBodyTag=!1),this._show=e},enumerable:!1,configurable:!0}),e.prototype.issetdefaultsize=function(){var e=!1;switch(this._size){case"small":case"medium":case"large":case"extralarge":case"":e=!0}return e},e.prototype.ngOnDestroy=function(){this.hasSetBodyTag&&document.body.classList.contains("modal-open")&&(document.body.classList.remove("modal-open"),this.hasSetBodyTag=!1)},e.prototype.show=function(){this._show=!0,this.hasSetBodyTag||document.body.classList.contains("modal-open")||(document.body.classList.add("modal-open"),this.hasSetBodyTag=!0),this.isvisibleChange.emit(this._show)},e.prototype.hide=function(){this.hasSetBodyTag&&document.body.classList.contains("modal-open")&&(document.body.classList.remove("modal-open"),this.hasSetBodyTag=!1),this._show=!1,this.isvisibleChange.emit(this._show)},Object.defineProperty(e.prototype,"ChangeDetector",{get:function(){return this.cdRef},enumerable:!1,configurable:!0}),e.prototype.onClick=function(e){!1===this.allowesc||null!==this.dialogElement&&void 0!==this.dialogElement&&e.target!==this.dialogElement.nativeElement||this.hide()},e.prototype.onKeydownHandler=function(e){!0===this.allowesc&&"Escape"===e.key&&this.hide()},e}();ie.decorators=[{type:t.Directive}],ie.ctorParameters=function(){return[{type:t.ChangeDetectorRef}]},ie.propDecorators={dialogElementSetter:[{type:t.ViewChild,args:["dialog",{static:!1}]}],title:[{type:t.Input}],allowesc:[{type:t.Input}],backdrop:[{type:t.Input}],name:[{type:t.Input}],closebutton:[{type:t.Input}],width:[{type:t.Input}],height:[{type:t.Input}],size:[{type:t.Input}],isvisibleChange:[{type:t.Output}],isvisible:[{type:t.Input}],onClick:[{type:t.HostListener,args:["click",["$event"]]}],onKeydownHandler:[{type:t.HostListener,args:["document:keydown",["$event"]]}]};var ne=function(){function e(e){this.form=e,this._updateon="change",this.form.options={updateOn:this._updateon}}return Object.defineProperty(e.prototype,"updateon",{get:function(){return this._updateon},set:function(e){this._updateon=e,this.form.options.updateOn=e},enumerable:!1,configurable:!0}),e.prototype.getForm=function(){return this.form},e.prototype.markAsTouched=function(){this.form&&this.form.invalid&&this.markAsTouchedInternal(this.form.controls)},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e=!0),this.updateValueAndValidityInternal(this.form.controls),this.getForm().form.updateValueAndValidity(),e&&this.markAsTouched()},e.prototype.markAsTouchedInternal=function(e){var t,n,o=Object.keys(e);try{for(var r=f(o),a=r.next();!a.done;a=r.next()){var l=e[a.value];l instanceof i.FormGroup?this.markAsTouchedInternal(l.controls):l.markAsTouched({onlySelf:!0})}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.updateValueAndValidityInternal=function(e){var t,n,o=Object.keys(e);try{for(var r=f(o),a=r.next();!a.done;a=r.next()){var l=e[a.value];l instanceof i.FormGroup?this.updateValueAndValidityInternal(l.controls):l.updateValueAndValidity({onlySelf:!0})}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e}();ne.decorators=[{type:t.Directive}],ne.ctorParameters=function(){return[{type:i.NgForm}]},ne.propDecorators={updateon:[{type:t.Input}]};var oe=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.optionlabel="label",t.optionvalue="value",t.optionenabled="",t.isrequired=!1,t.width=null,t}return h(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return this._options},set:function(e){this._options=e},enumerable:!1,configurable:!0}),t}(Y);oe.decorators=[{type:t.Directive}],oe.propDecorators={optionlabeltemplate:[{type:t.Input}],optionlabel:[{type:t.Input}],optionvalue:[{type:t.Input}],optionenabled:[{type:t.Input}],isrequired:[{type:t.Input}],width:[{type:t.Input}],options:[{type:t.Input}]};var re=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.grouplabel="label",t.groupitems="",t}return h(t,e),t}(oe);re.decorators=[{type:t.Directive}],re.propDecorators={grouplabel:[{type:t.Input}],groupitems:[{type:t.Input}]};var ae=function(e){function t(t,i,n,o){var r=e.call(this,t,i)||this;return r.renderer=n,r.elementRef=o,r._compareWith=Object.is,r.emptylabel="",r.emptyvalue=null,r.validationmessagerequired=r.validationKeyService.ValidationErrorRequired,r.validationmessagesummaryrequired=r.validationKeyService.ValidationErrorSummaryRequired,r._optionIdCounter=0,r._optionMap=new Map,r}return h(t,e),Object.defineProperty(t.prototype,"comparewith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!1,configurable:!0}),t.prototype.registerOption=function(){return(this._optionIdCounter++).toString()},t.prototype.setOptionMap=function(e,t){this._optionMap.set(e,t),this.value===t&&this.setSelectedValue(t)},t.prototype.setValue=function(t){e.prototype.setValue.call(this,this.getOptionValue(t))},t.prototype.validateData=function(e){var t=null;return this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),t},t.prototype.writeValue=function(t){this.setSelectedValue(t),e.prototype.writeValue.call(this,t)},t.prototype.extractId=function(e){return e.split(":")[0]},t.prototype.getOptionId=function(e){var t,i;try{for(var n=f(Array.from(this._optionMap.keys())),o=n.next();!o.done;o=n.next()){var r=o.value;if(this._compareWith(this._optionMap.get(r),e))return r}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}return null},t.prototype.getOptionValue=function(e){var t=this.extractId(e);return this._optionMap.has(t)?this._optionMap.get(t):e},t.prototype.setSelectedValue=function(e){var t=this.elementRef.nativeElement.getElementsByTagName("select")[0],i=se(this.getOptionId(e),e);void 0!==t&&this.renderer.setProperty(t,"value",i)},t}(re);ae.decorators=[{type:t.Directive}],ae.ctorParameters=function(){return[{type:v,decorators:[{type:t.Host}]},{type:t.Injector},{type:t.Renderer2},{type:t.ElementRef}]},ae.propDecorators={emptylabel:[{type:t.Input}],emptyvalue:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}],comparewith:[{type:t.Input}]};var le=function(){function e(e,t,i){this._element=e,this._renderer=t,this._dropdown=i,this.id=null,this._dropdown&&(this.id=this._dropdown.registerOption())}return Object.defineProperty(e.prototype,"ngValue",{set:function(e){null!=this._dropdown&&(this._dropdown.setOptionMap(this.id,e),this._setElementValue(se(this.id,e)),this._dropdown.writeValue(this._dropdown.value))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{set:function(e){this._setElementValue(e)},enumerable:!1,configurable:!0}),e.prototype._setElementValue=function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)},e.prototype.ngOnDestroy=function(){this._dropdown&&this._dropdown._optionMap.delete(this.id)},e}();function se(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}le.decorators=[{type:t.Directive}],le.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:ae}]},le.propDecorators={ngValue:[{type:t.Input}],value:[{type:t.Input}]};var ue=function(){function e(e,t,i){this._element=e,this._renderer=t,this._listbox=i,this._value=null,this._listbox&&this._listbox.registerOption(this)}return Object.defineProperty(e.prototype,"ngvalue",{set:function(e){this._listbox&&(this._value=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._listbox&&(this._value=e)},enumerable:!1,configurable:!0}),e.prototype._setSelected=function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)},e.prototype.ngOnDestroy=function(){this._listbox&&this._listbox.unregisterOption(this)},e}();ue.decorators=[{type:t.Directive}],ue.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2},{type:pe}]},ue.propDecorators={ngvalue:[{type:t.Input}],value:[{type:t.Input}]};var pe=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.rowsize=5,t.validationmessagerequired=t.validationKeyService.ValidationErrorRequired,t.validationmessagesummaryrequired=t.validationKeyService.ValidationErrorSummaryRequired,t.optionlist=new Array,t}return h(t,e),t.prototype.getSelectedItems=function(e){var t=new Array;if(e.hasOwnProperty("selectedOptions"))for(var i=e.selectedOptions,n=0;n<i.length;n++){var o=i.item(n);t.push(o.value)}else{for(i=e.options,n=0;n<i.length;n++){(o=i.item(n)).selected&&t.push(o.value)}this.setValue(t)}},t.prototype.registerOption=function(e){this.optionlist.push(e)},t.prototype.unregisterOption=function(e){var t=this.optionlist.indexOf(e);this.optionlist.splice(t,1)},t.prototype.validateData=function(e){var t=null;return this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),t},t.prototype.writeValue=function(t){this.optionlist&&t&&this.optionlist.forEach((function(e){t.indexOf(e.value)>=0&&e._setSelected(!0)})),e.prototype.writeValue.call(this,t)},t}(re);pe.decorators=[{type:t.Directive}],pe.propDecorators={rowsize:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}],contentOptions:[{type:t.ViewChildren,args:[ue]}]};var ce=function(){function e(){this.name="",this.unloadtabitemswhenhidden=null,this.tabselected=new t.EventEmitter}return e.prototype.ngAfterContentInit=function(){this.initTabs()},e.prototype.initTabs=function(){var e=this,t=this.tabItems().filter((function(e){return e.active}));this.tabItems().forEach((function(t){null!==e.unloadtabitemswhenhidden&&(t.unloadwhenhidden=e.unloadtabitemswhenhidden)})),0===t.length&&this.selectTab(this.tabItems()[0])},e.prototype.selectTab=function(e){e.disabled||(this.tabItems().forEach((function(e){return e.active=!1})),e.active=!0,this.tabselected.emit(e.id))},e.prototype.GetTabItemButtonId=function(e){return this.name+"_"+e},e}();ce.decorators=[{type:t.Directive}],ce.propDecorators={name:[{type:t.Input}],tablabeltemplate:[{type:t.Input}],unloadtabitemswhenhidden:[{type:t.Input}],tabselected:[{type:t.Output}]};var de=function(){this.active=!1,this.disabled=!1,this.unloadwhenhidden=!0};de.decorators=[{type:t.Directive}],de.propDecorators={active:[{type:t.Input}],disabled:[{type:t.Input}],id:[{type:t.Input}],label:[{type:t.Input}],unloadwhenhidden:[{type:t.Input}],templateRef:[{type:t.ContentChild,args:[t.TemplateRef,{static:!0}]}]};var he=function(){function e(e,t){this.name="",this.parent=e,this.validationKeyService=t.get(z,new k),this.lngResourceService=t.get(H,new G(this.validationKeyService))}return Object.defineProperty(e.prototype,"formErrors",{get:function(){var e,t=new Array;if(this.parent)e=this.parent.getForm().form;else{if(!(this.form instanceof i.FormGroup))throw new Error("missing form");e=this.form,this.formGroupName&&(e=e.get(this.formGroupName))}var n=Object.keys(e.controls).map((function(t){return e.controls[t]}));return this.getErrorCollection(n,t),t.filter((function(e){return null!==e}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasErrors",{get:function(){return this.formErrors.length>0},enumerable:!1,configurable:!0}),e.prototype.addErrorToCollection=function(e,t){var i;if(null!==e.errors&&!1!==e.touched&&!0!==e.valid){var n=Object.keys(e.errors);if(!(n.length<=0)){var o=e.errors[n[0]],r={};null!==o.parameters&&void 0!==o.parameters&&o.parameters.forEach((function(e,t){r[t]=e})),(null===(i=e)||void 0===i?void 0:i.controllabel)?r.FIELD=e.controllabel:r.FIELD=o.fieldName,t.push(this.lngResourceService.GetString(o.errorMessageValidationSummaryKey,r))}}},e.prototype.getErrorCollection=function(e,t){var i=this;e.forEach((function(e){void 0===e.controls||null===e.controls?i.addErrorToCollection(e,t):Object.keys(e.controls).map((function(n){var o=e.controls[n];if(!1!==o.touched&&!0!==o.valid)if(void 0===o.controls||null===o.controls)i.addErrorToCollection(o,t);else{var r=Object.keys(o.controls).map((function(e){return o.controls[e]}));i.getErrorCollection(r,t)}}))}))},e}();he.decorators=[{type:t.Directive}],he.ctorParameters=function(){return[{type:ne},{type:t.Injector}]},he.propDecorators={form:[{type:t.Input}],formGroupName:[{type:t.Input}],name:[{type:t.Input}]};var fe=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.allowedchars="",t.disableautocomplete=!1,t.isrequired=!1,t.placeholder=null,t.readonly=!1,t.tooltiptext="",t}return h(t,e),t.prototype.onKeyPress=function(e){if(0===this.allowedchars.length)return!0;var t=e.key;this.allowedchars.indexOf(t)<0&&e.preventDefault();var i=e.target;this.OnKeyPressValidation(i.selectionStart,t)||e.preventDefault()},t.prototype.OnKeyPressValidation=function(e,t){return!0},t}(Y);fe.decorators=[{type:t.Directive}],fe.propDecorators={allowedchars:[{type:t.Input}],disableautocomplete:[{type:t.Input}],isrequired:[{type:t.Input}],placeholder:[{type:t.Input}],readonly:[{type:t.Input}],regexvalidation:[{type:t.Input}],tooltiptext:[{type:t.Input}]};var me=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.controlwidth=null,t.maxlength=null,t.validationmessagepattern=t.validationKeyService.ValidationErrorPattern,t.validationmessagerequired=t.validationKeyService.ValidationErrorRequired,t.validationmessagesummarypattern=t.validationKeyService.ValidationErrorSummaryPattern,t.validationmessagesummaryrequired=t.validationKeyService.ValidationErrorSummaryRequired,t}return h(t,e),t.prototype.validateData=function(e){var t=null;return this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),null===t&&void 0!==this.regexvalidation&&null!==this.regexvalidation&&(t=J.pattern(this.regexvalidation,this.validationmessagepattern,this.validationmessagesummarypattern)(e)),t},t}(fe);me.decorators=[{type:t.Directive}],me.propDecorators={controlwidth:[{type:t.Input}],maxlength:[{type:t.Input}],validationmessagepattern:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagesummarypattern:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}]};var ye=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.rows=5,t.height=null,t.customcssclass="",t}return h(t,e),Object.defineProperty(t.prototype,"_currentLength",{get:function(){return null===this.value||void 0===this.value?0:this.value.length+this.value.split(/\r|\n/).length-1},enumerable:!1,configurable:!0}),t.prototype.onKeyPress=function(e){if(void 0===this.maxlength||null===this.maxlength)return!0;(this._currentLength>=this.maxlength||("Enter"===e.key||" "===e.key)&&this._currentLength+1>=this.maxlength)&&e.preventDefault()},t}(me);ye.decorators=[{type:t.Directive}],ye.propDecorators={rows:[{type:t.Input}],height:[{type:t.Input}],customcssclass:[{type:t.Input}]};var ge=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.allownegativ=!1,t.maxvalue=void 0,t.minvalue=void 0,t.validationmessagemaxvalue=t.validationKeyService.ValidationErrorMaxValue,t.validationmessageminvalue=t.validationKeyService.ValidationErrorMinValue,t.validationmessagerequired=t.validationKeyService.ValidationErrorRequired,t.validationmessagesummarymaxvalue=t.validationKeyService.ValidationErrorSummaryMaxValue,t.validationmessagesummaryminvalue=t.validationKeyService.ValidationErrorSummaryMinValue,t.validationmessagesummaryrequired=t.validationKeyService.ValidationErrorRequired,t}return h(t,e),t.prototype.validateData=function(e){var t=null;return this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),null===t&&void 0!==this.minvalue&&null!==this.minvalue&&(t=J.minValue(this.minvalue,this.validationmessageminvalue,this.validationmessagesummaryminvalue)(e)),null===t&&void 0!==this.maxvalue&&null!==this.maxvalue&&(t=J.maxValue(this.maxvalue,this.validationmessagemaxvalue,this.validationmessagesummarymaxvalue)(e)),t},t.prototype.ConvertInputValue=function(e){return""===e||null===e?null:!0===this.allownegativ&&"-"===e?"-":"."===e?"0.":parseFloat(e)},t.prototype.OnClassInit=function(){e.prototype.OnClassInit.call(this),this.allowedchars="0123456789"+this.GetDecimalSymbol(),this.allownegativ&&(this.allowedchars=this.allowedchars+"-")},t.prototype.OnKeyPressValidation=function(e,t){return!(!1===this.allownegativ&&"-"===t||!0===this.allownegativ&&e>0&&"-"===t)&&(!(null!==this._value&&this._value.toString().length<e&&"."===t)&&!(t===this.GetDecimalSymbol()&&null!==this._value&&this._value.toString().indexOf(this.GetDecimalSymbol())>=0))},t}(fe);ge.decorators=[{type:t.Directive}],ge.propDecorators={allownegativ:[{type:t.Input}],maxvalue:[{type:t.Input}],minvalue:[{type:t.Input}],validationmessagemaxvalue:[{type:t.Input}],validationmessageminvalue:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagesummarymaxvalue:[{type:t.Input}],validationmessagesummaryminvalue:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}]};var ve=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.currency="",t}return h(t,e),t.prototype.OnClassInit=function(){e.prototype.OnClassInit.call(this),this.currency||(this.currency=this.configurationService.CurrencyText)},t}(ge);ve.decorators=[{type:t.Directive}],ve.propDecorators={currency:[{type:t.Input}]};var be=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.validationmessageemail=t.validationKeyService.ValidationErrorEmail,t.validationmessagesummaryemail=t.validationKeyService.ValidationErrorSummaryEmail,t}return h(t,e),t.prototype.validateData=function(t){var i=e.prototype.validateData.call(this,t);return null===i&&(i=J.email(this.validationmessageemail,this.validationmessagesummaryemail)(t)),i},t}(me);be.decorators=[{type:t.Directive}],be.propDecorators={validationmessageemail:[{type:t.Input}],validationmessagesummaryemail:[{type:t.Input}]};var Ie=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.allownegativ=!1,t.maxvalue=void 0,t.minvalue=void 0,t.validationmessagemaxvalue=t.validationKeyService.ValidationErrorMaxValue,t.validationmessageminvalue=t.validationKeyService.ValidationErrorMinValue,t.validationmessagerequired=t.validationKeyService.ValidationErrorRequired,t.validationmessagesummarymaxvalue=t.validationKeyService.ValidationErrorSummaryMaxValue,t.validationmessagesummaryminvalue=t.validationKeyService.ValidationErrorSummaryMinValue,t.validationmessagesummaryrequired=t.validationKeyService.ValidationErrorSummaryRequired,t}return h(t,e),t.prototype.validateData=function(e){var t=null;return this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),null===t&&void 0!==this.minvalue&&null!==this.minvalue&&(t=J.minValue(this.minvalue,this.validationmessageminvalue,this.validationmessagesummaryminvalue)(e)),null===t&&void 0!==this.maxvalue&&null!==this.maxvalue&&(t=J.maxValue(this.maxvalue,this.validationmessagemaxvalue,this.validationmessagesummarymaxvalue)(e)),t},t.prototype.ConvertInputValue=function(e){return""===e||null===e?null:!0===this.allownegativ&&"-"===e?"-":parseInt(e,10)},t.prototype.OnClassInit=function(){e.prototype.OnClassInit.call(this),this.allowedchars="0123456789",this.allownegativ&&(this.allowedchars=this.allowedchars+"-")},t.prototype.OnKeyPressValidation=function(e,t){return!(!1===this.allownegativ&&"-"===t||!0===this.allownegativ&&e>0&&"-"===t)},t}(fe);Ie.decorators=[{type:t.Directive}],Ie.propDecorators={allownegativ:[{type:t.Input}],maxvalue:[{type:t.Input}],minvalue:[{type:t.Input}],validationmessagemaxvalue:[{type:t.Input}],validationmessageminvalue:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagesummarymaxvalue:[{type:t.Input}],validationmessagesummaryminvalue:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}]};var Ee=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.minlength=5,t.validationmessageminlength=t.validationKeyService.ValidationErrorMinLength,t.validationmessagesummaryminlength=t.validationKeyService.ValidationErrorSummaryMinLength,t}return h(t,e),t.prototype.validateData=function(t){var i=e.prototype.validateData.call(this,t);return null===i&&(i=J.minLength(this.minlength,this.validationmessageminlength,this.validationmessagesummaryminlength)(t)),i},t}(me);Ee.decorators=[{type:t.Directive}],Ee.propDecorators={minlength:[{type:t.Input}],validationmessageminlength:[{type:t.Input}],validationmessagesummaryminlength:[{type:t.Input}]};var Se=function(e){function i(){var i=e.apply(this,y(arguments))||this;return i.iconname="",i.buttontext="",i.clicked=new t.EventEmitter,i}return h(i,e),i.prototype.searchClick=function(){this.clicked.emit(this.value)},i}(me);Se.decorators=[{type:t.Directive}],Se.propDecorators={iconname:[{type:t.Input}],buttontext:[{type:t.Input}],clicked:[{type:t.Output}]};var Oe,_e=function(e,t,i){this.TotalRowCount=0,this.CurrentPageIndex=0,this.PageSize=20,this.PageSize=e,this.CurrentPageIndex=t,this.TotalRowCount=i},Re=function(e,t){this.PageSize=0,this.NewPageIndex=0,this.PageSize=e,this.NewPageIndex=t},Te=function(){},De=function(e,t){this.SortColumn=e,this.SortOrder=t};(Oe=e.SortOrder||(e.SortOrder={}))[Oe.None=0]="None",Oe[Oe.Ascending=1]="Ascending",Oe[Oe.Descending=2]="Descending";var Ae=function(){function i(i,n){this.cd=i,this.activePage=1,this.firstPageNumber=1,this.paginators=[],this.pagesizedisabled=!1,this.pagesizes="20|50|100",this.paging=new t.EventEmitter,this.sorting=new t.EventEmitter,this.ColumnCount=0,this.sortColumn="",this.sortDirection=e.SortOrder.None,this.validationKeyService=n.get(z,new k),this.pagesizetext=this.validationKeyService.PagingEntries,this.pagingtext=this.validationKeyService.PagingPageOf}return Object.defineProperty(i.prototype,"sortdata",{set:function(e){this.sortColumn=e.SortColumn,this.sortDirection=e.SortOrder},enumerable:!1,configurable:!0}),i.prototype.RegisterColumn=function(){this.ColumnCount++,this.cd.detectChanges()},i.prototype.SortBy=function(t){var i;if(t===this.sortColumn)switch(this.sortDirection){case e.SortOrder.None:case e.SortOrder.Descending:i=e.SortOrder.Ascending;break;case e.SortOrder.Ascending:i=e.SortOrder.Descending}else i=e.SortOrder.Ascending;var n=new De;n.SortColumn=t,n.SortOrder=i,this.sorting.emit(n)},i.prototype.UnregisterColumn=function(){this.ColumnCount--},i.prototype.pageChange=function(e){this.paging.emit(e)},i}();Ae.decorators=[{type:t.Directive}],Ae.ctorParameters=function(){return[{type:t.ChangeDetectorRef},{type:t.Injector}]},Ae.propDecorators={body:[{type:t.Input}],emptytext:[{type:t.Input}],headers:[{type:t.Input}],maxvisiblepagenumbers:[{type:t.Input}],name:[{type:t.Input}],pagerdata:[{type:t.Input}],pagesizedisabled:[{type:t.Input}],pagesizes:[{type:t.Input}],pagesizetext:[{type:t.Input}],pagingtext:[{type:t.Input}],value:[{type:t.Input}],paging:[{type:t.Output}],sorting:[{type:t.Output}],sortdata:[{type:t.Input}]};var we=function(){function e(){this.iconstyle="",this._isdisabledvalue=!1,this.clicked=new t.EventEmitter}return Object.defineProperty(e.prototype,"isdisabled",{get:function(){return this._isdisabledvalue},set:function(e){this._isdisabledvalue=null==e||"boolean"==typeof e?e:"true"===e},enumerable:!1,configurable:!0}),e.prototype.callaction=function(){this._isdisabledvalue||this.clicked.emit(this.iconstyle)},e}();we.decorators=[{type:t.Directive}],we.propDecorators={iconstyle:[{type:t.Input}],icon:[{type:t.Input}],isdisabled:[{type:t.Input}],clicked:[{type:t.Output}]};var Pe=function(){function t(e,t,i){this.grid=e,this.injector=t,this.el=i,this.iconService=t.get(N,new V)}return t.prototype.ngOnInit=function(){for(var e=this.el.nativeElement,t=e.parentElement;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e),this.IsHeader()&&this.grid.RegisterColumn()},t.prototype.ngOnDestroy=function(){this.IsHeader()&&this.grid.UnregisterColumn()},t.prototype.IsHeader=function(){return"header"===this.type},t.prototype.IsBody=function(){return"body"===this.type},t.prototype.IsFooter=function(){return"footer"===this.type},Object.defineProperty(t.prototype,"IconSortUp",{get:function(){return this.iconService.GridComponentSortUp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IconSortDown",{get:function(){return this.iconService.GridComponentSortDown},enumerable:!1,configurable:!0}),t.prototype.SortByColumn=function(){if(void 0!==this.sortkey&&null!==this.sortkey&&""!==this.sortkey)return this.grid.SortBy(this.sortkey)},t.prototype.IsSortedColumn=function(){return this.grid.sortColumn===this.sortkey},t.prototype.GetSortDirection=function(){switch(this.grid.sortDirection){case e.SortOrder.None:return"none";case e.SortOrder.Ascending:return"asc";case e.SortOrder.Descending:return"desc";default:return"none"}},t}();Pe.decorators=[{type:t.Directive}],Pe.ctorParameters=function(){return[{type:Ae},{type:t.Injector},{type:t.ElementRef}]},Pe.propDecorators={name:[{type:t.Input}],value:[{type:t.Input}],header:[{type:t.Input}],width:[{type:t.Input}],type:[{type:t.Input}],sortkey:[{type:t.Input}]};var Me=function(e){function t(t,i,n){var o=e.call(this,t,i,n)||this;return o._ellipsis=!1,o}return h(t,e),Object.defineProperty(t.prototype,"ellipsis",{get:function(){return this._ellipsis},set:function(e){this._ellipsis=K(e)},enumerable:!1,configurable:!0}),t.prototype.IsEllipsis=function(){return this._ellipsis},t}(Pe);Me.decorators=[{type:t.Directive}],Me.ctorParameters=function(){return[{type:Ae},{type:t.Injector},{type:t.ElementRef}]},Me.propDecorators={ellipsis:[{type:t.Input}]};var Ce=function(e){function t(t,i,n){return e.call(this,t,i,n)||this}return h(t,e),t}(Pe);Ce.decorators=[{type:t.Directive}],Ce.ctorParameters=function(){return[{type:Ae},{type:t.Injector},{type:t.ElementRef}]};var Ve=function(){};Ve.decorators=[{type:t.Directive}],Ve.propDecorators={iconstyle:[{type:t.Input}]};var Le=function(){function e(e){this.totalRowCount=0,this.pagesizedisabled=!1,this.pagesizes="20|50|100",this.pagesizetext="",this.pagingtext="",this.paging=new t.EventEmitter,this.activePageIndex=0,this.firstPageIndex=0,this.lastPageIndex=0,this.pageSize=20,this.paginators=[],this.validationKeyService=e.get(z,new k),this.pagesizetext=this.validationKeyService.PagingEntries,this.pagingtext=this.validationKeyService.PagingPageOf,this.lngResourceService=e.get(H,new G(this.validationKeyService))}return Object.defineProperty(e.prototype,"pagerdata",{set:function(e){null!=e&&(this.totalRowCount=e.TotalRowCount,this.activePageIndex=e.CurrentPageIndex,this.pageSize=e.PageSize),this.createPager()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"PageSizeText",{get:function(){return this.lngResourceService.GetString(this.pagesizetext)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"PagingText",{get:function(){return this.lngResourceService.GetString(this.pagingtext,{CURRENTPAGE:this.getCurrentPageNumber(),TOTALPAGES:this.getTotalPageNumber()})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getPageSizes",{get:function(){return this.pagesizes.split("|").map((function(e){return Number(e)}))},enumerable:!1,configurable:!0}),e.prototype.changePage=function(e){this.activePageIndex!==e&&this.paged(e)},e.prototype.changePageSize=function(e){var t=new Re(e,this.activePageIndex);this.paging.emit(t)},e.prototype.firstPage=function(){this.activePageIndex!==this.firstPageIndex&&this.paged(0)},e.prototype.getCurrentPageNumber=function(){return this.activePageIndex+1},e.prototype.getTotalPageNumber=function(){return this.lastPageIndex+1},e.prototype.lastPage=function(){this.activePageIndex!==this.lastPageIndex&&this.paged(this.lastPageIndex)},e.prototype.nextPage=function(){this.activePageIndex!==this.lastPageIndex&&this.paged(this.activePageIndex+1)},e.prototype.previousPage=function(){this.activePageIndex!==this.firstPageIndex&&this.paged(this.activePageIndex-1)},e.prototype.createPager=function(){if(this.paginators=[],this.totalRowCount>0){var e=Math.ceil(this.totalRowCount/this.pageSize);0===e&&(e=1),this.lastPageIndex=e-1;var t=this.getStartPageIndex(e),i=this.getEndPageIndex(e);this.activePageIndex>this.lastPageIndex&&(this.activePageIndex=this.lastPageIndex);for(var n=t;n<=i;n++)this.paginators.push(n)}else this.paginators.push(0)},e.prototype.getEndPageIndex=function(e){var t=this.activePageIndex+2,i=4>e-1?e-1:4;return t>e-1?t=e-1:this.activePageIndex<2&&(t=i),t},e.prototype.getStartPageIndex=function(e){var t=0;return t=this.activePageIndex-2,e-this.activePageIndex-1<2&&(t=e-5),t<0&&(t=0),t},e.prototype.paged=function(e){var t=new Re(this.pageSize,e);this.paging.emit(t)},e}();Le.decorators=[{type:t.Directive}],Le.ctorParameters=function(){return[{type:t.Injector}]},Le.propDecorators={name:[{type:t.Input}],pagesizedisabled:[{type:t.Input}],pagesizes:[{type:t.Input}],pagesizetext:[{type:t.Input}],pagingtext:[{type:t.Input}],paging:[{type:t.Output}],pagerdata:[{type:t.Input}]};var Ne=p.default,xe=function(e){function t(t,i,n){var o=e.call(this,t,i)||this;return o.elementRef=n,o._valueAsString="",o.isrequired=!1,o.placeholder=null,o.validationmessagedatetimeformat=o.validationKeyService.ValidationErrorDatetimeFormat,o.validationmessagedatetimeformatsummary=o.validationKeyService.ValidationErrorSummaryDatetimeFormat,o.validationmessagerequired=o.validationKeyService.ValidationErrorRequired,o.validationmessagerequiredsummary=o.validationKeyService.ValidationErrorSummaryRequired,o}return h(t,e),Object.defineProperty(t.prototype,"valuestring",{get:function(){return null===this.value?this._valueAsString:Ne.utc(this.value).local().format(this.GetDateTimeFormatString())},set:function(e){this._valueAsString=e;var t=Ne(e,[this.GetDateTimeFormatString()],!0);(t=this.ModifyParsedDateTimeValue(t).utc()).isValid()?this.value=t.toDate():this.value=null},enumerable:!1,configurable:!0}),t.prototype.getDate=function(e){var t=new Date(e),i=t.getUTCFullYear(),n=t.getUTCMonth(),o=t.getUTCDate(),r=t.getUTCHours(),a=t.getUTCMinutes(),l=t.getUTCSeconds();return Ne(Date.UTC(i,n,o,r,a,l))},t.prototype.ngAfterViewInit=function(){e.prototype.ngAfterViewInit.call(this),this.SetDateTimeFormat()},t.prototype.setValueString=function(e){this.valuestring=e},t.prototype.validateData=function(e){var t=null;return t=J.isValidDate(this.validationmessagedatetimeformat,this.validationmessagedatetimeformatsummary)(e),this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagerequiredsummary)(e)),t},t.prototype.writeValue=function(t){""===t||null==t?(this._valueAsString="",this._value=null):this._value=this.getDate(t).toDate(),e.prototype.writeValue.call(this,this._value)},t.prototype.SetDateTimeFormat=function(){this.ngControl&&(this.ngControl.datetimeformatstring=this.GetDateTimeFormatString())},t}(Y);xe.decorators=[{type:t.Directive}],xe.ctorParameters=function(){return[{type:v},{type:t.Injector},{type:t.ElementRef}]},xe.propDecorators={isrequired:[{type:t.Input}],placeholder:[{type:t.Input}],validationmessagedatetimeformat:[{type:t.Input}],validationmessagedatetimeformatsummary:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagerequiredsummary:[{type:t.Input}],valuestring:[{type:t.Input}]};var Fe=p.default,je=function(e){function t(t,i,n){var o=e.call(this,t,i,n)||this;return o.elementRef=n,o.DATEFORMAT="DD.MM.YYYY",o.imaskDate={mask:o.DATEFORMAT,blocks:{DD:{mask:a.MaskedRange,from:1,to:31,maxLength:2},MM:{mask:a.MaskedRange,from:1,to:12,maxLength:2},YYYY:{mask:a.MaskedRange,from:1,to:9999}},placeholderChar:"_",autofix:!0,lazy:!1,overwrite:!0},o.validationmessagemaxdate=o.validationKeyService.ValidationErrorMaxDate,o.validationmessagemindate=o.validationKeyService.ValidationErrorMinDate,o.validationmessagesummarymaxdate=o.validationKeyService.ValidationErrorSummaryMaxDate,o.validationmessagesummarymindate=o.validationKeyService.ValidationErrorSummaryMinDate,o._maxdate=null,o._mindate=null,o._showselector=!1,o.iconService=i.get(N,new V),o}return h(t,e),Object.defineProperty(t.prototype,"maxdate",{set:function(t){var i=Fe(t,[this.DATEFORMAT],!0);i.isValid()?this._maxdate=e.prototype.getDate.call(this,i).toDate():this._maxdate=null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mindate",{set:function(t){var i=Fe(t,[this.DATEFORMAT],!0);i.isValid()?this._mindate=e.prototype.getDate.call(this,i).toDate():this._mindate=null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IconSelector",{get:function(){return this.iconService.DateComponentSelectorIcon},enumerable:!1,configurable:!0}),t.prototype.onClick=function(e){this.elementRef.nativeElement.contains(e)||(this._showselector=!1)},t.prototype.GetDateTimeFormatString=function(){return this.DATEFORMAT},t.prototype.ModifyParsedDateTimeValue=function(e){return e},t.prototype.dateselect=function(e){null===e.date?this.setValueString(""):this.value=Fe(e.date).utc().toDate(),this._showselector=!1},t.prototype.showDateSelector=function(){this.onTouch(),this._showselector?this._showselector=!1:this._showselector=!0},t.prototype.validateData=function(t){var i=null;return null===(i=e.prototype.validateData.call(this,t))&&null!==t.value&&void 0!==t.value&&""!==t.value&&void 0!==this._mindate&&null!==this._mindate&&(i=J.minDate(this._mindate,this.validationmessagemindate,this.validationmessagesummarymindate)(t)),null===i&&null!==t.value&&void 0!==t.value&&""!==t.value&&void 0!==this._maxdate&&null!==this._maxdate&&(i=J.maxDate(this._maxdate,this.validationmessagemaxdate,this.validationmessagesummarymaxdate)(t)),i},t}(xe);je.decorators=[{type:t.Directive}],je.ctorParameters=function(){return[{type:v},{type:t.Injector},{type:t.ElementRef}]},je.propDecorators={validationmessagemaxdate:[{type:t.Input}],validationmessagemindate:[{type:t.Input}],validationmessagesummarymaxdate:[{type:t.Input}],validationmessagesummarymindate:[{type:t.Input}],maxdate:[{type:t.Input}],mindate:[{type:t.Input}],onClick:[{type:t.HostListener,args:["document:click",["$event.target"]]}]};var Ue=function(e,t,i,n,o,r){this.date=void 0,this.displaytext="",this.iscurrent=!1,this.isenabled=!1,this.isnew=!1,this.isselected=!1,this.displaytext=e,this.date=t,this.isenabled=i,this.iscurrent=o,this.isselected=n,this.isnew=r},qe=function(){function e(e){this.beginOfCalendar=1,this.autoapplyselection=!1,this.dates=[],this.dateselection=!1,this.month=4,this.selectdate=new t.EventEmitter,this.timeselection=!1,this.year=2018,this.iconService=e.get(N,new V)}return Object.defineProperty(e.prototype,"iconMonthNext",{get:function(){return this.iconService.DateTimeSelectorComponentMonthNextIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconMonthPrev",{get:function(){return this.iconService.DateTimeSelectorComponentMonthPrevIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"initialvalue",{get:function(){return this._initialValue.toDate()},set:function(e){this._initialValue=null==e?null:ke(e),this._selectedValue=null,null===this._initialValue?this.initCalendar(ke()):this.initCalendar(this._initialValue)},enumerable:!1,configurable:!0}),e.prototype.applySelection=function(){if(!1===this.timeselection&&null!==this._selectedValue&&(this._selectedValue.hour(0),this._selectedValue.minute(0),this._selectedValue.second(0),this._selectedValue.millisecond(0)),!1===this.dateselection&&null!==this._selectedValue){var e=this._selectedValue.local();e.date(1),e.month(0),e.year(1900),this._selectedValue=e.utc()}this.selectdate.emit({date:this._selectedValue})},e.prototype.changeMode=function(){0===this.beginOfCalendar?this.beginOfCalendar=1:this.beginOfCalendar=0,this.initDates()},e.prototype.getHours=function(){return null===this._selectedValue?null===this._initialValue?0:this._initialValue.hour():this._selectedValue.hour()},e.prototype.getMinutes=function(){return null===this._selectedValue?null===this._initialValue?0:this._initialValue.minutes():this._selectedValue.minutes()},e.prototype.monthBack=function(){this.month=this.month-1,this.month<0&&(this.month=11,this.year=this.year-1),this.initDates()},e.prototype.monthNext=function(){this.month=this.month+1,this.month>11&&(this.month=0,this.year=this.year+1),this.initDates()},e.prototype.ngOnInit=function(){void 0===this._initialValue&&(this.initialvalue=null),this.initDates()},e.prototype.resetSelection=function(){this.selectdate.emit({date:null})},e.prototype.selectDate=function(e){if(e.isenabled){this.dates.forEach((function(e){return e.filter((function(e){return e.isnew})).forEach((function(e){return e.isnew=!1}))})),this.dates.forEach((function(e){return e.filter((function(e){return e.isselected})).forEach((function(e){return e.isselected=!1}))})),e.isnew=!0,e.isselected=!0;var t=ke(e.date);null===this._selectedValue?null!==this._initialValue&&(t.hour(this._initialValue.hour()),t.minute(this._initialValue.minute())):(t.hour(this._selectedValue.hour()),t.minute(this._selectedValue.minute())),t.second(0),t.millisecond(0),this._selectedValue=t,this.autoapplyselection&&this.applySelection()}},e.prototype.setHours=function(e){this.initSelectedValue(),null===e?this._selectedValue.hour(0):this._selectedValue.hour(e)},e.prototype.setMinutes=function(e){this.initSelectedValue(),null===e?this._selectedValue.minutes(0):this._selectedValue.minutes(e)},e.prototype.setToday=function(){this._selectedValue=ke(),this._selectedValue.second(0),this._selectedValue.millisecond(0),this.dateselection&&this.initCalendar(this._selectedValue),this.autoapplyselection&&this.applySelection()},e.prototype.initCalendar=function(e){this.month=e.month(),this.year=e.year(),this.initDates()},e.prototype.initDates=function(){var e=ke(new Date(this.year,this.month,1)),t=ke(new Date(this.year,this.month,1));t.add({months:-1});var i=ke(new Date(this.year,this.month,1));i.add({months:1});var n,o=e.weekday(),r=ke(new Date(e.year(),e.month(),e.daysInMonth())).weekday(),a=[];if(this.dates=[],o!==this.beginOfCalendar){var l=t.daysInMonth(),s=new Date(t.year(),t.month(),l),u=ke(s).weekday(),p=7-(7+this.beginOfCalendar-u)%7;7===p&&(p=0);for(var c=l;c>=l-p;c--)a.splice(0,0,new Ue(c.toString(),new Date(t.year(),t.month(),c),!1,!1,!1,!1))}for(var d=1;d<=e.daysInMonth();d++){var h=!1,f=!1,m=ke().month()===this.month&&ke().year()===this.year&&ke().date()===d;null!==this._initialValue&&(h=this._initialValue.month()===this.month&&this._initialValue.year()===this.year&&this._initialValue.date()===d),null!==this._selectedValue&&(f=this._selectedValue.month()===this.month&&this._selectedValue.year()===this.year&&this._selectedValue.date()===d),a.push(new Ue(d.toString(),ke([this.year,this.month,d]).toDate(),!0,h,m,f))}if(r!==(n=0===this.beginOfCalendar?6:0)){var y=void 0;y=0===this.beginOfCalendar?n-r:7-r;for(var g=1;g<=y;g++)a.push(new Ue(g.toString(),new Date(i.year(),i.month(),g),!1,!1,!1,!1))}for(var v=0;v<a.length/7;v++)for(c=0;c<7;c++)0===c&&(this.dates[v]=[]),this.dates[v].push(a[7*v+c])},e.prototype.initSelectedValue=function(){null===this._selectedValue&&(null===this._initialValue?this._selectedValue=ke():this._selectedValue=this._initialValue)},e}();qe.decorators=[{type:t.Directive}],qe.ctorParameters=function(){return[{type:t.Injector}]},qe.propDecorators={autoapplyselection:[{type:t.Input}],dateselection:[{type:t.Input}],month:[{type:t.Input}],selectdate:[{type:t.Output}],timeselection:[{type:t.Input}],year:[{type:t.Input}],initialvalue:[{type:t.Input}]};var ke=p.default,ze=p.default,Be=function(e){function t(t,i,n){var o=e.call(this,t,i,n)||this;return o.elementRef=n,o.DATEFORMAT="DD.MM.YYYY HH:mm",o.imaskDate={mask:o.DATEFORMAT,blocks:{DD:{mask:a.MaskedRange,from:1,to:31,maxLength:2},MM:{mask:a.MaskedRange,from:1,to:12,maxLength:2},YYYY:{mask:a.MaskedRange,from:1,to:9999},HH:{mask:a.MaskedRange,from:0,to:23,maxLength:2},mm:{mask:a.MaskedRange,from:0,to:59,maxLength:2}},placeholderChar:"_",autofix:!0,lazy:!1,overwrite:!0},o.validationmessagemaxdate=o.validationKeyService.ValidationErrorMaxDate,o.validationmessagemindate=o.validationKeyService.ValidationErrorMinDate,o.validationmessagesummarymaxdate=o.validationKeyService.ValidationErrorSummaryMaxDate,o.validationmessagesummarymindate=o.validationKeyService.ValidationErrorSummaryMinDate,o._maxdate=null,o._mindate=null,o._showselector=!1,o.iconService=i.get(N,new V),o}return h(t,e),Object.defineProperty(t.prototype,"maxdate",{set:function(t){var i=ze(t,[this.DATEFORMAT],!0);i.isValid()?this._maxdate=e.prototype.getDate.call(this,i).toDate():this._maxdate=null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mindate",{set:function(t){var i=ze(t,[this.DATEFORMAT],!0);i.isValid()?this._mindate=e.prototype.getDate.call(this,i).toDate():this._mindate=null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IconSelector",{get:function(){return this.iconService.DateTimeComponentSelectorIcon},enumerable:!1,configurable:!0}),t.prototype.onClick=function(e){this.elementRef.nativeElement.contains(e)||(this._showselector=!1)},t.prototype.GetDateTimeFormatString=function(){return this.DATEFORMAT},t.prototype.ModifyParsedDateTimeValue=function(e){return e},t.prototype.dateselect=function(e){null===e.date?this.setValueString(""):this.value=ze(e.date).utc().toDate(),this._showselector=!1},t.prototype.showDateSelector=function(){this.onTouch(),this._showselector?this._showselector=!1:this._showselector=!0},t.prototype.validateData=function(t){var i=null;return null===(i=e.prototype.validateData.call(this,t))&&null!==t.value&&void 0!==t.value&&""!==t.value&&void 0!==this._mindate&&null!==this._mindate&&(i=J.minDate(this._mindate,this.validationmessagemindate,this.validationmessagesummarymindate)(t)),null===i&&null!==t.value&&void 0!==t.value&&""!==t.value&&void 0!==this._maxdate&&null!==this._maxdate&&(i=J.maxDate(this._maxdate,this.validationmessagemaxdate,this.validationmessagesummarymaxdate)(t)),i},t}(xe);Be.decorators=[{type:t.Directive}],Be.ctorParameters=function(){return[{type:v},{type:t.Injector},{type:t.ElementRef}]},Be.propDecorators={validationmessagemaxdate:[{type:t.Input}],validationmessagemindate:[{type:t.Input}],validationmessagesummarymaxdate:[{type:t.Input}],validationmessagesummarymindate:[{type:t.Input}],maxdate:[{type:t.Input}],mindate:[{type:t.Input}],onClick:[{type:t.HostListener,args:["document:click",["$event.target"]]}]};var Ge=p.default,He=function(e){function t(t,i,n){var o=e.call(this,t,i,n)||this;return o.elementRef=n,o.TIMEFORMAT="HH:mm",o.imaskDate={mask:o.TIMEFORMAT,blocks:{HH:{mask:a.MaskedRange,from:0,to:23,maxLength:2},mm:{mask:a.MaskedRange,from:0,to:59,maxLength:2}},placeholderChar:"_",autofix:!0,lazy:!1,overwrite:!0},o.validationmessagemaxtime=o.validationKeyService.ValidationErrorMaxTime,o.validationmessagemintime=o.validationKeyService.ValidationErrorMinTime,o.validationmessagesummarymaxtime=o.validationKeyService.ValidationErrorSummaryMaxTime,o.validationmessagesummarymintime=o.validationKeyService.ValidationErrorSummaryMinTime,o._maxtime=null,o._mintime=null,o._showselector=!1,o.iconService=i.get(N,new V),o}return h(t,e),Object.defineProperty(t.prototype,"maxtime",{set:function(t){var i=Ge(t,[this.TIMEFORMAT],!0);(i=this.ModifyParsedDateTimeValue(i)).isValid()?this._maxtime=e.prototype.getDate.call(this,i).toDate():this._maxtime=null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mintime",{set:function(t){var i=Ge(t,[this.TIMEFORMAT],!0);(i=this.ModifyParsedDateTimeValue(i)).isValid()?this._mintime=e.prototype.getDate.call(this,i).toDate():this._mintime=null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"IconSelector",{get:function(){return this.iconService.TimeComponentSelectorIcon},enumerable:!1,configurable:!0}),t.prototype.onClick=function(e){this.elementRef.nativeElement.contains(e)||(this._showselector=!1)},t.prototype.GetDateTimeFormatString=function(){return this.TIMEFORMAT},t.prototype.ModifyParsedDateTimeValue=function(e){return e.date(1),e.month(0),e.year(1900),e},t.prototype.showTimeSelector=function(){this.onTouch(),this._showselector?this._showselector=!1:this._showselector=!0},t.prototype.timeselect=function(e){null===e.date?this.setValueString(""):this.value=Ge(e.date).utc().toDate(),this._showselector=!1},t.prototype.validateData=function(t){var i=null;return null===(i=e.prototype.validateData.call(this,t))&&null!==t.value&&void 0!==t.value&&""!==t.value&&void 0!==this._mintime&&null!==this._mintime&&(i=J.minTime(this._mintime,this.validationmessagemintime,this.validationmessagesummarymintime)(t)),null===i&&null!==t.value&&void 0!==t.value&&""!==t.value&&void 0!==this._maxtime&&null!==this._maxtime&&(i=J.maxTime(this._maxtime,this.validationmessagemaxtime,this.validationmessagesummarymaxtime)(t)),i},t}(xe);He.decorators=[{type:t.Directive}],He.ctorParameters=function(){return[{type:v},{type:t.Injector},{type:t.ElementRef}]},He.propDecorators={validationmessagemaxtime:[{type:t.Input}],validationmessagemintime:[{type:t.Input}],validationmessagesummarymaxtime:[{type:t.Input}],validationmessagesummarymintime:[{type:t.Input}],maxtime:[{type:t.Input}],mintime:[{type:t.Input}],onClick:[{type:t.HostListener,args:["document:click",["$event.target"]]}]};var Ke=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t._isrequired=!1,t.tooltiptext="",t}return h(t,e),Object.defineProperty(t.prototype,"isrequired",{get:function(){return this._isrequired},set:function(e){this._isrequired=K(e)},enumerable:!1,configurable:!0}),t.prototype.validateData=function(e){return null},t}(Y);Ke.decorators=[{type:t.Directive}],Ke.propDecorators={tooltiptext:[{type:t.Input}],isrequired:[{type:t.Input}]};var Ye=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.allowhtml=!1,t}return h(t,e),t.prototype.validateData=function(e){return null},t}(fe);Ye.decorators=[{type:t.Directive}],Ye.propDecorators={allowhtml:[{type:t.Input}]};var Xe=function(){function e(){this.name="",this.disablenavigation=!1,this.stepchanged=new t.EventEmitter,this.propagateChange=function(){},this.propagateTouch=function(){}}return Object.defineProperty(e.prototype,"currentstep",{get:function(){return this._currentstep},set:function(e){this.changeStep(e),this.propagateChange(this._currentstep)},enumerable:!1,configurable:!0}),e.prototype.setStepInternal=function(e){this._currentstep=e,this.propagateChange(this._currentstep)},e.prototype.ngAfterContentInit=function(){this.initSteps()},e.prototype.initSteps=function(){if(0===this.wizardItems().filter((function(e){return e.active})).length){var e=this.wizardItems().toArray()[0];this.selectStep(e),e.disabled=!1,this.setStepInternal(e.id)}},e.prototype.selectStep=function(e){this.disablenavigation||this.changeStep(e.id)},e.prototype.changeStep=function(e){if(void 0!==this.wizardItems()&&null!==this.wizardItems()){for(var t=this.wizardItems().toArray(),i=t.length,n=t.findIndex((function(t){return t.id===e})),o=0;o<i;o++){var r=t[o];r.iscomplete=o<n,r.disabled=o>n+1,r.active=o===n}this.setStepInternal(e),this.stepchanged.emit(e)}},e.prototype.registerOnChange=function(e){this.propagateChange=function(t){return e(t)}},e.prototype.registerOnTouched=function(e){this.propagateTouch=function(t){return e(t)}},e.prototype.writeValue=function(e){e&&this.changeStep(e)},e}();Xe.decorators=[{type:t.Directive}],Xe.propDecorators={name:[{type:t.Input}],disablenavigation:[{type:t.Input}],currentstep:[{type:t.Input}],stepchanged:[{type:t.Output}]};var We=function(){this.iscomplete=!1,this.disabled=!0};We.decorators=[{type:t.Directive}],We.propDecorators={active:[{type:t.Input}],iscomplete:[{type:t.Input}],disabled:[{type:t.Input}],id:[{type:t.Input}],label:[{type:t.Input}]};var Qe=function(e){Object.assign(this,e)},Ze=function(e){function i(i,n,o){var r=e.call(this,i,n)||this;return r.ngZone=o,r.baseConfig={base_url:"/tinymce",suffix:".min",branding:!1,angular:r,file_picker_types:"file media image",file_picker_callback:r.showSelectDialog,save_onsavecallback:function(){}},r.allowfiledelete=!1,r.allowfilerename=!1,r.allowfileupload=!1,r.allowfoldercreate=!1,r.allowfolderdelete=!1,r.allowfolderrename=!1,r.filebrowserapiurl=null,r.filetypesfiles="",r.filetypesimages=".gif,.jpeg,.jpg,.png,.tif,.tiff,.bmp",r.filetypesvideo=".mp4,.m4v,.ogv,.webm,.mov",r.height=void 0,r.isrequired=!1,r.validationmessagerequired=r.validationKeyService.ValidationErrorRequired,r.validationmessagesummaryrequired=r.validationKeyService.ValidationErrorSummaryRequired,r.onsave=new t.EventEmitter,r._config={},r.selectdialogvisible=!1,r.validationKeyService=n.get(z,new k),r.lngResourceService=n.get(H,new G(r.validationKeyService)),r.config={},r}return h(i,e),Object.defineProperty(i.prototype,"config",{get:function(){return this._config},set:function(e){this._config=Object.assign(Object.assign(Object.assign(Object.assign({},this.getDynamicSettings()),this.baseConfig),this.overwriteDefaultSettings()),e)},enumerable:!1,configurable:!0}),i.prototype.closeSelectDialog=function(){this.selectdialogvisible=!1},i.prototype.save=function(e){this.onsave.emit(e)},i.prototype.setSelectDialogResult=function(){this.selectDialogSettings.value&&((this.selectDialogSettings.value.startsWith("/")||this.selectDialogSettings.value.startsWith("\\"))&&(this.selectDialogSettings.value=this.selectDialogSettings.value.substring(1)),this.selectDialogSettings.callback(this.selectDialogSettings.value)),this.closeSelectDialog()},i.prototype.showSelectDialog=function(e,t,i){var n=this;this.settings.angular.ngZone.runOutsideAngular((function(){n.settings.angular.ngZone.run((function(){switch(n.settings.angular.selectdialogvisible=!0,n.settings.angular.selectDialogSettings=new Qe({callback:e,value:t,meta:i,allowedtypes:""}),i.filetype){case"image":n.settings.angular.selectDialogSettings.allowedtypes=n.settings.angular.filetypesimages;break;case"media":n.settings.angular.selectDialogSettings.allowedtypes=n.settings.angular.filetypesvideo;break;default:n.settings.angular.selectDialogSettings.allowedtypes=n.settings.angular.filetypesfiles}}))}))},i.prototype.validateData=function(e){var t=null;return this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),t},i.prototype.getDynamicSettings=function(){return{selector:"#"+this.name+"_tinymce",height:this.height}},i}(Y);Ze.decorators=[{type:t.Directive}],Ze.ctorParameters=function(){return[{type:v,decorators:[{type:t.Host}]},{type:t.Injector},{type:t.NgZone}]},Ze.propDecorators={allowfiledelete:[{type:t.Input}],allowfilerename:[{type:t.Input}],allowfileupload:[{type:t.Input}],allowfoldercreate:[{type:t.Input}],allowfolderdelete:[{type:t.Input}],allowfolderrename:[{type:t.Input}],filebrowserapiurl:[{type:t.Input}],filetypesfiles:[{type:t.Input}],filetypesimages:[{type:t.Input}],filetypesvideo:[{type:t.Input}],height:[{type:t.Input}],isrequired:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}],onsave:[{type:t.Output}],config:[{type:t.Input}]};var $e=function(){function e(e){this.el=e,this.clicked=new t.EventEmitter}return e.prototype.ngOnInit=function(){for(var e=this.el.nativeElement,t=e.parentElement;e.firstChild;)t.insertBefore(e.firstChild,e);t.removeChild(e)},e.prototype.transformClass=function(e){switch(e){case"add":return"jstree-icon icon icon-base-add jstree-add";case"delete":return"jstree-icon icon icon-base-delete jstree-delete";default:return e}},e.prototype.iconaction=function(){this.clicked.emit()},e}();$e.decorators=[{type:t.Directive}],$e.ctorParameters=function(){return[{type:t.ElementRef}]},$e.propDecorators={item:[{type:t.Input}],title:[{type:t.Input}],iconstyle:[{type:t.Input}],clicked:[{type:t.Output}]};var Je=function(){function e(){this.nodes=[],this.collapseAttr="isCollapsed",this.selectAttr="isSelected",this.inDeterminateAttr="isIndeterminate",this._data=[],this.name="",this.prepareData=!1,this.textAttr="data",this.idAttr="id",this.parentAttr="PARENT_ID",this.childrenAttr="children",this.selectedidchange=new t.EventEmitter,this.selectedtextchanged=new t.EventEmitter,this.selecteditem=new t.EventEmitter}return Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(e){this._data=e,this.nodes=e,this.LoadTree(),void 0!==this._collapseAll&&this.collapseAllNode(this._collapseAll)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"treeviewTemplate",{get:function(){return this.template},set:function(e){this.template=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"treefileicon",{get:function(){return this.fileicontemplate},set:function(e){this.fileicontemplate=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"collapseall",{get:function(){return this._collapseAll},set:function(e){this._collapseAll=e,this.nodes&&this.nodes.length&&this.nodes.length>0&&this.collapseAllNode(this._collapseAll)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectall",{set:function(e){this._selectAll=e,this._recursiveEdit(this.nodes,this.childrenAttr,this.selectAttr,e),this._recursiveEdit(this.nodes,this.childrenAttr,this.inDeterminateAttr,!1)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedid",{set:function(e){this.selectedNode=this.findNode(this.nodes,e,this.idAttr)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedId",{get:function(){return this.selectedNode?this.selectedNode[this.idAttr]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedNode",{get:function(){return this._selectedNode},set:function(e){this._selectedNode=e,this._selectedNode&&(this.selectedidchange.emit(this.selectedId),this.selectedtextchanged.emit(e[this.textAttr]))},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.collapseAllNode(this._collapseAll),this.selectedId&&this.openSelectedNode(this.nodes)},e.prototype.openSelectedNode=function(e){for(var t=!1,i=0;i<e.length;i++)if(e[i][this.childrenAttr].length&&e[i][this.idAttr]!=this.selectedId&&(t=this.openSelectedNode(e[i][this.childrenAttr])),t||e[i][this.idAttr]==this.selectedId)return e[i][this.collapseAttr]=!1,!0;return!1},e.prototype.LoadTree=function(){var e=this._data.map((function(e){return Object.assign({},e)}));this.nodes=this.prepareData?this._getPreparedData(e):this._data},e.prototype.onCollapseClick=function(e){e[this.childrenAttr].length&&(e[this.collapseAttr]=!e[this.collapseAttr])},e.prototype.onClick=function(e){this.selectedNode=e,this.selecteditem.emit(this.selectedNode)},e.prototype.sendMsgToParent=function(e){this.selecteditem.emit(e)},e.prototype.collapseAllNode=function(e){var t=this;this.nodes.forEach((function(i){i[t.childrenAttr].length&&function e(t,i,n,o){t[i]=n,t.children.forEach((function(t){t[o].length&&e(t,i,n,o)}))}(i,t.collapseAttr,e,t.childrenAttr)}))},e.prototype.findNode=function(e,t,i){for(var n=null,o=0;o<e.length;o++)if(e[o][i]==t)n=e[o];else if(e[o][this.childrenAttr].length){var r=this.findNode(e[o][this.childrenAttr],t,i);r&&(n=r)}return n},e.prototype._recursiveEdit=function(e,t,i,n){if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)e[o][i]=n,e[o][t].length&&this._recursiveEdit(e[o][t],t,i,n)},e.prototype._getPreparedData=function(e){for(var t=[],i={},n=0,o=e.length;n<o;n++)i[e[n][this.idAttr]]=e[n],e[n][this.childrenAttr]=[],e[n][this.collapseAttr]=!0,e[n][this.selectAttr]=!1,e[n][this.inDeterminateAttr]=!1;for(n=0,o=e.length;n<o;n++)e[n][this.parentAttr]?i[e[n][this.parentAttr]][this.childrenAttr].push(e[n]):t.push(e[n]);return t},e}();Je.decorators=[{type:t.Directive}],Je.propDecorators={data:[{type:t.Input}],template:[{type:t.Input}],treeviewTemplate:[{type:t.ContentChild,args:["actions",{static:!0}]}],fileicontemplate:[{type:t.Input}],treefileicon:[{type:t.ContentChild,args:["treefileicon",{static:!0}]}],name:[{type:t.Input}],prepareData:[{type:t.Input}],textAttr:[{type:t.Input}],idAttr:[{type:t.Input}],parentAttr:[{type:t.Input}],childrenAttr:[{type:t.Input}],title:[{type:t.Input}],collapseall:[{type:t.Input}],selectall:[{type:t.Input}],selectedid:[{type:t.Input}],selectedidchange:[{type:t.Output}],selectedtextchanged:[{type:t.Output}],selecteditem:[{type:t.Output}]};var et,tt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.ngOnInit=function(){this.collapseAllNode(this.collapseall)},t}(Je);tt.decorators=[{type:t.Directive}],(et=e.TooltipPosition||(e.TooltipPosition={}))[et.none=0]="none",et[et.top=1]="top",et[et.right=2]="right",et[et.bottom=4]="bottom",et[et.left=8]="left";var it=function(){function t(t,i){var n=this;this.cdRef=t,this.ref=i,this.TooltipPosition=e.TooltipPosition,this._isTooltipVisible=!1,this.TopPos=0,this.LeftPos=0,this.position="right|auto",this.IsTooltipContentVisible=!1,this.onContentChange=function(){setTimeout((function(){n.getLeftPosition(),n.getTopPosition()}))}}return Object.defineProperty(t.prototype,"inlinemode",{get:function(){return this._inlinemode},set:function(e){this._inlinemode=K(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tooltip",{set:function(e){void 0!==e&&document.body.appendChild(e.nativeElement),this.tooltipcontainer=e,this.onContentChange(),this.cdRef.detectChanges()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){window.addEventListener("scroll",this.onContentChange,!0),window.addEventListener("resize",this.onContentChange,!0),void 0!==this.tooltipcontainer&&document.body.appendChild(this.tooltipcontainer.nativeElement)},t.prototype.ngOnDestroy=function(){window.removeEventListener("scroll",this.onContentChange,!0),window.removeEventListener("resize",this.onContentChange,!0),void 0!==this.tooltipcontainer&&document.body.removeChild(this.tooltipcontainer.nativeElement)},t.prototype.getTopPosition=function(){if(null!==this.content&&void 0!==this.content){var t=this.content.nativeElement;if(t.children.length>=1){var i=t.firstElementChild,n=i.getBoundingClientRect();switch(this.GetTooltipPosition()){case e.TooltipPosition.top:return this.TopPos=n.top-this.getToolTipHeight(),n.top-this.getToolTipHeight();case e.TooltipPosition.right:return this.TopPos=n.top+n.height/2-this.getToolTipHeight()/2,n.top+n.height/2-this.getToolTipHeight()/2;case e.TooltipPosition.bottom:return this.TopPos=n.top+n.height,n.top+n.height;case e.TooltipPosition.left:return this.TopPos=n.top+n.height/2-this.getToolTipHeight()/2,n.top+n.height/2-this.getToolTipHeight()/2}return i.clientTop+i.offsetTop-(this.getToolTipHeight()/2-i.clientHeight/2)}return this.content.nativeElement.offsetTop}return this.ref.nativeElement.offsetTop},t.prototype.getLeftPosition=function(){if(null!==this.content&&void 0!==this.content){var t=this.content.nativeElement;if(t.children.length>=1){var i=t.firstElementChild,n=i.getBoundingClientRect();switch(this.GetTooltipPosition()){case e.TooltipPosition.top:return this.LeftPos=n.left+n.width/2-this.getToolTipWidth()/2,n.left+n.width/2-this.getToolTipWidth()/2;case e.TooltipPosition.right:return this.LeftPos=n.left+n.width,n.left+n.width;case e.TooltipPosition.bottom:return this.LeftPos=n.left+i.clientWidth/2-this.getToolTipWidth()/2,n.left+i.clientWidth/2-this.getToolTipWidth()/2;case e.TooltipPosition.left:return this.LeftPos=n.left-this.getToolTipWidth(),n.left-this.getToolTipWidth()}return this.content.nativeElement.offsetTop}return this.content.nativeElement.offsetTop}return this.ref.nativeElement.offsetLeft},t.prototype.getToolTipHeight=function(){return this.tooltipcontainer?this.tooltipcontainer.nativeElement.clientHeight:0},t.prototype.getToolTipWidth=function(){return this.tooltipcontainer?this.tooltipcontainer.nativeElement.clientWidth:0},t.prototype.IsTooltipVisible=function(){return this._isTooltipVisible},t.prototype.ShowTooltip=function(){var e=this;this._isTooltipVisible=!0,setTimeout((function(){e.getLeftPosition(),e.getTopPosition(),e.IsTooltipContentVisible=!0}))},t.prototype.HideTooltip=function(){this._isTooltipVisible=!1,this.IsTooltipContentVisible=!1},t.prototype.GetTooltipPosition=function(){var t=this.ValidatePositions();return this.HasPosition(e.TooltipPosition.right)&&t&e.TooltipPosition.right?e.TooltipPosition.right:this.HasPosition(e.TooltipPosition.top)&&t&e.TooltipPosition.top?e.TooltipPosition.top:this.HasPosition(e.TooltipPosition.left)&&t&e.TooltipPosition.left?e.TooltipPosition.left:this.HasPosition(e.TooltipPosition.bottom)&&t&e.TooltipPosition.bottom?e.TooltipPosition.bottom:this.IsAutoPosition()?t&e.TooltipPosition.right?e.TooltipPosition.right:t&e.TooltipPosition.top?e.TooltipPosition.top:t&e.TooltipPosition.left?e.TooltipPosition.left:t&e.TooltipPosition.bottom?e.TooltipPosition.bottom:e.TooltipPosition.right:this.GetPosition()},t.prototype.IsAutoPosition=function(){return this.position.split("|").indexOf("auto")>=0},t.prototype.GetPosition=function(){this.position.split("|");return this.HasPosition(e.TooltipPosition.left)?e.TooltipPosition.left:this.HasPosition(e.TooltipPosition.top)?e.TooltipPosition.top:this.HasPosition(e.TooltipPosition.right)?e.TooltipPosition.right:this.HasPosition(e.TooltipPosition.bottom)?e.TooltipPosition.bottom:e.TooltipPosition.right},t.prototype.HasPosition=function(t){var i=this.position.split("|");return t===e.TooltipPosition.right&&i.indexOf("right")>=0||(t===e.TooltipPosition.top&&i.indexOf("top")>=0||(t===e.TooltipPosition.left&&i.indexOf("left")>=0||t===e.TooltipPosition.bottom&&i.indexOf("bottom")>=0))},t.prototype.ValidatePositions=function(){if(void 0===this.tooltipcontainer)return e.TooltipPosition.right;var t=e.TooltipPosition.none,i=this.content.nativeElement.firstElementChild.getBoundingClientRect(),n=this.tooltipcontainer.nativeElement.getBoundingClientRect(),o=i.left-n.width>0,r=i.right+n.width<window.innerWidth,a=i.top-n.height>0,l=i.bottom+n.height<window.innerHeight,s=i.left-n.width/2>0,u=i.right+n.width/2<window.innerWidth,p=i.top-n.height/2>0,c=i.bottom+n.height/2<window.innerHeight;return o&&p&&c&&(t|=e.TooltipPosition.left),r&&p&&c&&(t|=e.TooltipPosition.right),a&&s&&u&&(t|=e.TooltipPosition.top),l&&s&&u&&(t|=e.TooltipPosition.bottom),t},t}();it.decorators=[{type:t.Directive}],it.ctorParameters=function(){return[{type:t.ChangeDetectorRef},{type:t.ElementRef}]},it.propDecorators={position:[{type:t.Input}],tooltiptext:[{type:t.Input}],inlinemode:[{type:t.Input}],content:[{type:t.ViewChild,args:["container",{static:!0}]}],tooltip:[{type:t.ViewChild,args:["tooltip",{static:!0}]}]};var nt=function(e){function i(i,n,o,r){var a=e.call(this,i,n)||this;return a.renderer=o,a.ngZone=r,a._allowedtypes="*",a._autoupload=!1,a._enablepause=!0,a._endpoint=null,a.options={},a.isrequired=!1,a.maxfilesize=0,a.validationmessagerequired=a.validationKeyService.ValidationErrorRequired,a.validationmessagesummaryrequired=a.validationKeyService.ValidationErrorSummaryRequired,a.onfileerror=new t.EventEmitter,a.fileListener=function(){a.uploadInput.nativeElement.files&&a.uploadService.handleFileList(a.uploadInput.nativeElement.files)},a.validationKeyService=n.get(z,new k),a.lngResourceService=n.get(H,new G(a.validationKeyService)),a.iconService=n.get(N,new V),a.uploads=[],a.options.allowedTypes="*",a.options.concurrency=1,a.options.token="sometoken",a.options.autoUpload=a._autoupload,a.options.withCredentials=!0,a.options.chunkSize=131072,a.options.headers=function(e){return{"Content-Disposition":"filename="+encodeURI(e.name)}},a.uploadService=new l.UploadxService(a.ngZone),a.uploadService.init(a.options),a.uploadService.events.subscribe((function(e){return a.onUpload(e)})),a}return h(i,e),Object.defineProperty(i.prototype,"allowedtypes",{get:function(){return this._allowedtypes},set:function(e){this._allowedtypes=e,this.setAllowedTypes(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"autoupload",{get:function(){return this._autoupload},set:function(e){this._autoupload=e,this.options.autoUpload=e,this.uploadService.connect(this.options)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"enablepause",{get:function(){return this._enablepause},set:function(e){this._enablepause=e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"endpoint",{get:function(){return this._endpoint},set:function(e){this._endpoint=e,this.setEndpoint(e)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"IconBrowse",{get:function(){return this.iconService.UploadComponentBrowseIcon},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"IconContinue",{get:function(){return this.iconService.UploadComponentContinueIcon},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"IconDelete",{get:function(){return this.iconService.UploadComponentDeleteIcon},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"IconPause",{get:function(){return this.iconService.UploadComponentPauseIcon},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"IconUpload",{get:function(){return this.iconService.UploadComponentUploadIcon},enumerable:!1,configurable:!0}),i.prototype.Filename=function(){return this.uploads.length>0?n.of(this.uploads[0].name):this.lngResourceService.GetString(this.validationKeyService.UploadNoFilesSelected)},i.prototype.HasQueueItem=function(){return this.uploads.length>0},i.prototype.HasSuccessUpload=function(){return this.uploads.length>0&&0===this.uploads.filter((function(e){return"complete"!==e.status})).length},i.prototype.IsPaused=function(){return this.uploads.filter((function(e){return"paused"===e.status})).length>0},i.prototype.IsStateToUpload=function(){return this.uploads.filter((function(e){return"added"===e.status||"paused"===e.status})).length>0},i.prototype.IsUploading=function(){return this.uploads.filter((function(e){return"uploading"===e.status})).length>0},i.prototype.Progress=function(){return this.uploads.length>0?this.uploads[0].progress:0},i.prototype.cancel=function(e){this.uploadService.control({action:"cancel",uploadId:e})},i.prototype.cancelAll=function(){!0===this.HasQueueItem()&&this.uploadService.control({action:"cancel"})},i.prototype.ngOnDestroy=function(){this.listenerFn&&this.listenerFn()},i.prototype.ngOnInit=function(){if(e.prototype.ngOnInit.call(this),this.listenerFn=this.renderer.listen(this.uploadInput.nativeElement,"change",this.fileListener),this.setAllowedTypes(this._allowedtypes),this.setEndpoint(this._endpoint),null===this._endpoint)throw new Error("endpoint is not defined!");this.uploadService.connect(this.options)},i.prototype.onUpload=function(e){var t=this.uploads.findIndex((function(t){return t.uploadId===e.uploadId}));"added"===e.status||"queue"===e.status&&t<0?this.isExtensionValid(e.name)&&this.isFileSizeValid(e.size)&&this.CustomAddValidation(e)?this.uploads.push(new ot(e)):(this.cancel(e.uploadId),this.isExtensionValid(e.name)?this.isFileSizeValid(e.size)||this.onfileerror.emit("INVALID_FILESIZE"):this.onfileerror.emit("INVALID_EXTENSION")):"cancelled"===e.status?(t>=0&&this.uploads.splice(t,1),this.SetUploadValue(null)):"complete"===e.status?(this.uploads[t].progress=e.progress,this.uploads[t].status=e.status,this.SetUploadValue(e)):t>=0&&(this.uploads[t].progress=e.progress,this.uploads[t].status=e.status),this.UpdateFileCount()},i.prototype.pause=function(e){this.uploadService.control({action:"pause",uploadId:e})},i.prototype.pauseAll=function(){!0===this.IsUploading()&&this.uploadService.control({action:"pause"})},i.prototype.upload=function(e){this.uploadService.control({action:"upload",uploadId:e})},i.prototype.uploadAll=function(){!0===this.IsStateToUpload()&&this.uploadService.control({action:"upload"})},i.prototype.validateData=function(e){var t=null;return this.isrequired&&(t=J.required(this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),t},i.prototype.UpdateFileCount=function(){this.ngControl&&(this.ngControl.uploadedfilecount=this.UploadedFileCount())},i.prototype.UploadedFileCount=function(){return this.uploads.filter((function(e){return"complete"===e.status})).length},i.prototype.isExtensionValid=function(e){if("*"===this._allowedtypes)return!0;var t=!1;return this._allowedtypes.split(",").forEach((function(i){e.toLowerCase().endsWith(i.toLowerCase())&&(t=!0)})),t},i.prototype.isFileSizeValid=function(e){return 0===this.maxfilesize||this.maxfilesize>=e},i.prototype.setAllowedTypes=function(e){this.uploadInput&&this.uploadInput.nativeElement&&this.renderer.setAttribute(this.uploadInput.nativeElement,"accept",e),this.options.allowedTypes=e},i.prototype.setEndpoint=function(e){this.options.endpoint=e},i}(Y);nt.decorators=[{type:t.Directive}],nt.ctorParameters=function(){return[{type:v},{type:t.Injector},{type:t.Renderer2},{type:t.NgZone}]},nt.propDecorators={uploadInput:[{type:t.ViewChild,args:["files",{static:!0}]}],isrequired:[{type:t.Input}],maxfilesize:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}],onfileerror:[{type:t.Output}],allowedtypes:[{type:t.Input}],autoupload:[{type:t.Input}],enablepause:[{type:t.Input}],endpoint:[{type:t.Input}]};var ot=function(e){this.uploadId=e.uploadId,this.name=e.name,this.progress=e.progress,this.status=e.status,this.documentid=null},rt=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.maxfiles=0,t.minfiles=0,t.uploadheight=null,t.validationmessageminfiles=t.validationKeyService.ValidationErrorFilesMin,t.validationmessagesummaryminfiles=t.validationKeyService.ValidationErrorSummaryFilesMin,t.active=!1,t}return h(t,e),t.prototype.CustomAddValidation=function(e){return!(this.maxfiles>0&&this.uploads.length>=this.maxfiles)||(this.onfileerror.emit("INVALID_MAXFILES"),!1)},t.prototype.SetUploadValue=function(t){var i=null;null===t?i=null:(i=void 0!==t.response&&null!==t.response&&null!==t.response.documentid&&void 0!==t.response.documentid?t.response.documentid:t.uploadId,this.uploads.filter((function(e){return null!==e&&e.uploadId===t.uploadId})).forEach((function(e){e.documentid=i})));var n=[];this.uploads.filter((function(e){return"complete"===e.status})).forEach((function(e){null!==e.documentid&&void 0!==e.documentid&&n.push(e.documentid)})),n.length>0?e.prototype.setValue.call(this,n):e.prototype.setValue.call(this,null)},t.prototype.dropHandler=function(e){e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files.item(0)&&(e.stopPropagation(),e.preventDefault(),this.active=!1,this.uploadService.handleFileList(e.dataTransfer.files))},t.prototype.ngOnInit=function(){e.prototype.ngOnInit.call(this),this.autoupload=!0},t.prototype.onDragLeave=function(e){this.active=!1},t.prototype.onDragOver=function(e){e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.types.every((function(e){return"Files"===e}))&&e.dataTransfer.types.length>0&&(e.dataTransfer.dropEffect="copy",e.stopPropagation(),e.preventDefault(),this.active=!0)},t.prototype.validateData=function(t){var i=e.prototype.validateData.call(this,t);return null===i&&(i=J.minFiles(this.minfiles,this.validationmessageminfiles,this.validationmessagesummaryminfiles)(t)),i},t}(nt);rt.decorators=[{type:t.Directive}],rt.propDecorators={maxfiles:[{type:t.Input}],minfiles:[{type:t.Input}],uploadheight:[{type:t.Input}],validationmessageminfiles:[{type:t.Input}],validationmessagesummaryminfiles:[{type:t.Input}]};var at=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.uploadheight=null,t.active=!1,t}return h(t,e),t.prototype.CustomAddValidation=function(e){return!0},t.prototype.SetUploadValue=function(t){null===t?e.prototype.setValue.call(this,null):void 0!==t.response&&null!==t.response&&null!==t.response.documentid&&void 0!==t.response.documentid?e.prototype.setValue.call(this,t.response.documentid):e.prototype.setValue.call(this,t.uploadId)},t.prototype.dropHandler=function(e){!this.HasQueueItem()&&e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.files.item(0)&&(e.stopPropagation(),e.preventDefault(),this.active=!1,1===e.dataTransfer.files.length?this.uploadService.handleFileList(e.dataTransfer.files):this.onfileerror.emit("INVALID_DRAGDROP_MAXFILES"))},t.prototype.ngOnInit=function(){e.prototype.ngOnInit.call(this),this.autoupload=!0},t.prototype.onDragLeave=function(e){this.active=!1},t.prototype.onDragOver=function(e){!this.HasQueueItem()&&e.dataTransfer&&e.dataTransfer.files&&e.dataTransfer.types.every((function(e){return"Files"===e}))&&e.dataTransfer.types.length>0&&(e.dataTransfer.dropEffect="copy",e.stopPropagation(),e.preventDefault(),this.active=!0)},t}(nt);at.decorators=[{type:t.Directive}],at.propDecorators={uploadheight:[{type:t.Input}]};var lt=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.buttonbrowse="Browse",t.buttonupload="Upload",t.maxfiles=0,t.minfiles=0,t.validationmessageminfiles=t.validationKeyService.ValidationErrorFilesMin,t.validationmessagesummaryminfiles=t.validationKeyService.ValidationErrorSummaryFilesMin,t}return h(t,e),t.prototype.CustomAddValidation=function(e){return!(this.maxfiles>0&&this.uploads.length>=this.maxfiles)||(this.onfileerror.emit("INVALID_MAXFILES"),!1)},t.prototype.SetUploadValue=function(t){var i=null;null===t?i=null:(i=void 0!==t.response&&null!==t.response&&null!==t.response.documentid&&void 0!==t.response.documentid?t.response.documentid:t.uploadId,this.uploads.filter((function(e){return null!==e&&e.uploadId===t.uploadId})).forEach((function(e){e.documentid=i})));var n=[];this.uploads.filter((function(e){return"complete"===e.status})).forEach((function(e){null!==e.documentid&&void 0!==e.documentid&&n.push(e.documentid)})),n.length>0?e.prototype.setValue.call(this,n):e.prototype.setValue.call(this,null)},t.prototype.validateData=function(t){var i=e.prototype.validateData.call(this,t);return null===i&&(i=J.minFiles(this.minfiles,this.validationmessageminfiles,this.validationmessagesummaryminfiles)(t)),i},t}(nt);lt.decorators=[{type:t.Directive}],lt.propDecorators={buttonbrowse:[{type:t.Input}],buttonupload:[{type:t.Input}],maxfiles:[{type:t.Input}],minfiles:[{type:t.Input}],validationmessageminfiles:[{type:t.Input}],validationmessagesummaryminfiles:[{type:t.Input}]};var st=function(e){function t(){var t=e.apply(this,y(arguments))||this;return t.buttonbrowse="Browse",t.buttonupload="Upload",t}return h(t,e),t.prototype.CustomAddValidation=function(e){return!0},t.prototype.SetUploadValue=function(t){null===t?e.prototype.setValue.call(this,null):void 0!==t.response&&null!==t.response&&null!==t.response.documentid&&void 0!==t.response.documentid?e.prototype.setValue.call(this,t.response.documentid):e.prototype.setValue.call(this,t.uploadId)},t}(nt);st.decorators=[{type:t.Directive}],st.propDecorators={buttonbrowse:[{type:t.Input}],buttonupload:[{type:t.Input}]};var ut=function(t){function i(e,i){var n=t.call(this,e,i)||this;return n.languages=[],n.selectedLanguage=null,n.controlwidth=null,n.maxlength=null,n.requiredany=!1,n.validationmessagerequired=n.validationKeyService.ValidationErrorMultilanguageRequired,n.validationmessagerequiredany=n.validationKeyService.ValidationErrorMultilanguageRequiredAny,n.validationmessagesummaryrequired=n.validationKeyService.ValidationErrorSummaryMultilanguageRequired,n.validationmessagesummaryrequiredany=n.validationKeyService.ValidationErrorSummaryMultilanguageRequiredAny,n.lngLanguageService=i.get(x,new j),n.lngLanguageService.GetLanguages().subscribe((function(e){n.languages=e,n.languages.length>0&&(n.selectedLanguage=n.languages[0],n.UpdateValueAndValidity())})),n}return h(i,t),Object.defineProperty(i.prototype,"LanguageValue",{get:function(){if(this.value){var e=this.selectedLanguage?this.selectedLanguage.IsoCode:null;return null===e||void 0===this.value[e]?"":this.value[e]}return""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"Languages",{get:function(){return this.languages},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"SelectedIcon",{get:function(){return this.selectedLanguage?this.selectedLanguage.Icon:""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"SelectedIconType",{get:function(){return this.selectedLanguage?this.selectedLanguage.IconType:e.IconType.Image},enumerable:!1,configurable:!0}),i.prototype.IsAnyEmpty=function(){var e=this,t=!1;return this.value&&this.languages.forEach((function(i){null!==i&&void 0!==e.value[i.IsoCode]&&""!==e.value[i.IsoCode]&&null!==e.value[i.IsoCode]||(t=!0)})),t},i.prototype.IsEmpty=function(e){return!this.value||(null===e||(void 0===this.value[e.IsoCode]||""===this.value[e.IsoCode]||null===this.value[e.IsoCode]))},i.prototype.SelectLanguage=function(e){this.selectedLanguage=e},i.prototype.SetLanguageValue=function(e){if(this.value){var t=this.selectedLanguage?this.selectedLanguage.IsoCode:null;if(null===t)return;this.value[t]=e,this.propagateChange(this._value)}},i.prototype.validateData=function(e){var t=null;return null===t&&null!==e.value&&void 0!==e.value&&""!==e.value&&void 0!==this.isrequired&&!0===this.isrequired&&(t=J.multilanguageRequired(this.languages,this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),null===t&&null!==e.value&&void 0!==e.value&&""!==e.value&&void 0!==this.requiredany&&!0===this.requiredany&&(t=J.multilanguageRequiredAny(this.languages,this.validationmessagerequiredany,this.validationmessagesummaryrequiredany)(e)),t},i}(fe);ut.decorators=[{type:t.Directive}],ut.ctorParameters=function(){return[{type:v,decorators:[{type:t.Host}]},{type:t.Injector}]},ut.propDecorators={controlwidth:[{type:t.Input}],maxlength:[{type:t.Input}],requiredany:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagerequiredany:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}],validationmessagesummaryrequiredany:[{type:t.Input}]};var pt=function(t){function i(e,i){var n=t.call(this,e,i)||this;return n.languages=[],n.selectedLanguage=null,n.controlwidth=null,n.maxlength=null,n.requiredany=!1,n.rows=7,n.validationmessagerequired=n.validationKeyService.ValidationErrorSummaryRequired,n.validationmessagerequiredany=n.validationKeyService.ValidationErrorMultilanguageRequiredAny,n.validationmessagesummaryrequired=n.validationKeyService.ValidationErrorSummaryMultilanguageRequired,n.validationmessagesummaryrequiredany=n.validationKeyService.ValidationErrorSummaryMultilanguageRequiredAny,n.lngLanguageService=i.get(x,new j),n.lngLanguageService.GetLanguages().subscribe((function(e){n.languages=e,n.languages.length>0&&(n.selectedLanguage=n.languages[0]),n.UpdateValueAndValidity()})),n}return h(i,t),Object.defineProperty(i.prototype,"LanguageValue",{get:function(){if(this.value){var e=this.selectedLanguage?this.selectedLanguage.IsoCode:null;return null===e?"":this.value[e]}return""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"Languages",{get:function(){return this.languages},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"SelectedIcon",{get:function(){return this.selectedLanguage?this.selectedLanguage.Icon:""},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"SelectedIconType",{get:function(){return this.selectedLanguage?this.selectedLanguage.IconType:e.IconType.Image},enumerable:!1,configurable:!0}),i.prototype.IsAnyEmpty=function(){var e=this,t=!1;return this.value&&this.languages.forEach((function(i){null!==i&&void 0!==e.value[i.IsoCode]&&""!==e.value[i.IsoCode]&&null!==e.value[i.IsoCode]||(t=!0)})),t},i.prototype.IsEmpty=function(e){return!this.value||(null===e||(void 0===this.value[e.IsoCode]||""===this.value[e.IsoCode]||null===this.value[e.IsoCode]))},i.prototype.SelectLanguage=function(e){this.selectedLanguage=e},i.prototype.SetLanguageValue=function(e){if(this.value){var t=this.selectedLanguage?this.selectedLanguage.IsoCode:null;if(null===t)return;this.value[t]=e,this.propagateChange(this._value)}},i.prototype.validateData=function(e){var t=null;return null===t&&null!==e.value&&void 0!==e.value&&""!==e.value&&void 0!==this.isrequired&&!0===this.isrequired&&(t=J.multilanguageRequired(this.languages,this.validationmessagerequired,this.validationmessagesummaryrequired)(e)),null===t&&null!==e.value&&void 0!==e.value&&""!==e.value&&void 0!==this.requiredany&&!0===this.requiredany&&(t=J.multilanguageRequiredAny(this.languages,this.validationmessagerequiredany,this.validationmessagesummaryrequiredany)(e)),t},i}(fe);pt.decorators=[{type:t.Directive}],pt.ctorParameters=function(){return[{type:v,decorators:[{type:t.Host}]},{type:t.Injector}]},pt.propDecorators={controlwidth:[{type:t.Input}],maxlength:[{type:t.Input}],requiredany:[{type:t.Input}],rows:[{type:t.Input}],validationmessagerequired:[{type:t.Input}],validationmessagerequiredany:[{type:t.Input}],validationmessagesummaryrequired:[{type:t.Input}],validationmessagesummaryrequiredany:[{type:t.Input}]};var ct=function(){function e(){this.onconfirm=new t.EventEmitter,this.title="",this.message="",this.image="",this.buttons=[],this.isvisible=!1}return e.prototype.hasImage=function(){return""!==this.image},e.prototype.confirm=function(e){this.onconfirm.emit(e),this.isvisible=!1},e.prototype.show=function(){this.isvisible=!0},e.prototype.hide=function(){this.isvisible=!1},e}();ct.decorators=[{type:t.Directive}],ct.propDecorators={onconfirm:[{type:t.Output}],title:[{type:t.Input}],message:[{type:t.Input}],image:[{type:t.Input}],buttons:[{type:t.Input}]};var dt=function(e,t,i){void 0===e&&(e=""),void 0===t&&(t=""),void 0===i&&(i="default"),this.key="",this.role="secondary",this.text="",this.key=e,this.text=t,this.role=i},ht=function(){function e(e,t){this.appRef=e,this.injector=t,this.component=null,this.validationKeyService=t.get(z,new k),this.localisationService=t.get(H,new G(this.validationKeyService)),this.iconService=t.get(N,new V)}return e.prototype.CloseDialog=function(){this.component.instance.hide()},e.prototype.Confirm=function(){var e=this;this.CreateInstance();var i=this.OpenDialog();this.ConfigureDialog(i);var n=new t.EventEmitter(!0);return i.onconfirm.subscribe((function(t){e.CloseDialog(),n.emit(t)}),(function(e){}),(function(){e.DestroyInstance()})),n},e.prototype.CreateInstance=function(){var e=this.GetComponentFactory();this.component=e.create(this.injector),this.appRef.attachView(this.component.hostView)},e.prototype.DestroyInstance=function(){this.appRef.detachView(this.component.hostView),this.component.destroy()},e.prototype.OpenDialog=function(){var e=this.component.instance;return e.show(),e},e}(),ft=function(){function e(){}return e.prototype.getAllStyles=function(e){return window.getComputedStyle(e)},e.prototype.getStyle=function(e,t){return this.getAllStyles(e)[t]},e.prototype.isStaticPositioned=function(e){return"static"===(this.getStyle(e,"position")||"static")},e.prototype.offsetParent=function(e){for(var t=e.offsetParent||document.documentElement;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement},e.prototype.position=function(e,t){var i;void 0===t&&(t=!0);var n={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))i={top:(i=e.getBoundingClientRect()).top,bottom:i.bottom,left:i.left,right:i.right,height:i.height,width:i.width};else{var o=this.offsetParent(e);i=this.offset(e,!1),o!==document.documentElement&&(n=this.offset(o,!1)),n.top+=o.clientTop,n.left+=o.clientLeft}return i.top-=n.top,i.bottom-=n.top,i.left-=n.left,i.right-=n.left,t&&(i.top=Math.round(i.top),i.bottom=Math.round(i.bottom),i.left=Math.round(i.left),i.right=Math.round(i.right)),i},e.prototype.offset=function(e,t){void 0===t&&(t=!0);var i=e.getBoundingClientRect(),n=window.pageYOffset-document.documentElement.clientTop,o=window.pageXOffset-document.documentElement.clientLeft,r={height:i.height||e.offsetHeight,width:i.width||e.offsetWidth,top:i.top+n,bottom:i.bottom+n,left:i.left+o,right:i.right+o};return t&&(r.height=Math.round(r.height),r.width=Math.round(r.width),r.top=Math.round(r.top),r.bottom=Math.round(r.bottom),r.left=Math.round(r.left),r.right=Math.round(r.right)),r},e.prototype.positionElements=function(e,t,i,n){var o=m(i.split("-"),2),r=o[0],a=void 0===r?"top":r,l=o[1],s=void 0===l?"center":l,u=n?this.offset(e,!1):this.position(e,!1),p=this.getAllStyles(t),c=parseFloat(p.marginTop),d=parseFloat(p.marginBottom),h=parseFloat(p.marginLeft),f=parseFloat(p.marginRight),y=0,g=0;switch(a){case"top":y=u.top-(t.offsetHeight+c+d);break;case"bottom":y=u.top+u.height;break;case"left":g=u.left-(t.offsetWidth+h+f);break;case"right":g=u.left+u.width}switch(s){case"top":y=u.top;break;case"bottom":y=u.top+u.height-t.offsetHeight;break;case"left":g=u.left;break;case"right":g=u.left+u.width-t.offsetWidth;break;case"center":"top"===a||"bottom"===a?g=u.left+u.width/2-t.offsetWidth/2:y=u.top+u.height/2-t.offsetHeight/2}t.style.transform="translate("+Math.round(g)+"px, "+Math.round(y)+"px)";var v=t.getBoundingClientRect(),b=document.documentElement,I=window.innerHeight||b.clientHeight,E=window.innerWidth||b.clientWidth;return v.left>=0&&v.top>=0&&v.right<=E&&v.bottom<=I},e}(),mt=/\s+/,yt=new ft;function gt(e,t,i,n,o){var r,a,l=Array.isArray(i)?i:i.split(mt),s=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],u=t.classList,p=function(e){var t=m(e.split("-"),2),i=t[0],n=t[1],r=[];return o&&(r.push(o+"-"+i),n&&r.push(o+"-"+i+"-"+n),r.forEach((function(e){u.add(e)}))),r};o&&s.forEach((function(e){u.remove(o+"-"+e)}));var c=l.findIndex((function(e){return"auto"===e}));c>=0&&s.forEach((function(e){null==l.find((function(t){return-1!==t.search("^"+e)}))&&l.splice(c++,1,e)}));var d=t.style;d.position="absolute",d.top="0",d.left="0",d["will-change"]="transform";var h=null,y=!1;try{for(var g=f(l),v=g.next();!v.done;v=g.next()){var b=p(h=v.value);if(yt.positionElements(e,t,h,n)){y=!0;break}o&&b.forEach((function(e){u.remove(e)}))}}catch(e){r={error:e}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(r)throw r.error}}return y||(p(h=l[0]),yt.positionElements(e,t,h,n)),h}var vt=function(e){this.nativeElement=e.nativeElement};vt.decorators=[{type:t.Directive}],vt.ctorParameters=function(){return[{type:t.ElementRef}]};var bt=function(e){this.nativeElement=e.nativeElement};bt.decorators=[{type:t.Directive}],bt.ctorParameters=function(){return[{type:t.ElementRef}]};var It=function(){function e(e,t,i,n,o){var r=this;this.document=e,this.ngZone=t,this.elementRef=i,this.renderer=n,this.bodyContainer=null,this.container="body",this.cssclass="",this.isopen=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"],this.zoneSubscription=this.ngZone.onStable.subscribe((function(){r._positionMenu()})),this.iconService=o.get(N,new V)}return Object.defineProperty(e.prototype,"IconContextMenu",{get:function(){return this.iconService.ContextMenuOpenIcon},enumerable:!1,configurable:!0}),e.prototype.onClick=function(e){var t=this._anchor||this._anchorTemplate;!this._menu||this._menu.nativeElement.contains(e)||t.nativeElement.contains(e)||this.close()},e.prototype.close=function(){this._resetContainer(),this.isopen=!1},e.prototype.ngOnDestroy=function(){this.isopen&&this.close(),this.zoneSubscription.unsubscribe()},e.prototype.open=function(){this._applyContainer(this.container),this.isopen=!0},e.prototype.toggle=function(){this.isopen?this.close():this.open()},e.prototype._positionMenu=function(){var e=this._anchor||this._anchorTemplate;e&&this._menu&&gt(e.nativeElement,this.bodyContainer||this._menu.nativeElement,this.placement,"body"===this.container)},e.prototype._applyContainer=function(e){if(void 0===e&&(e=null),this._resetContainer(),"body"===e){var t=this.renderer,i=this._menu.nativeElement,n=this.bodyContainer=this.bodyContainer||t.createElement("div");t.setStyle(n,"position","absolute"),t.setStyle(i,"position","static"),t.setStyle(n,"z-index","1050"),t.appendChild(n,i),t.appendChild(this.document.body,n)}},e.prototype._resetContainer=function(){var e=this.renderer;if(this._menu){var t=this.elementRef.nativeElement,i=this._menu.nativeElement;e.appendChild(t,i),e.removeStyle(i,"position"),e.removeStyle(i,"transform")}this.bodyContainer&&(e.removeChild(this.document.body,this.bodyContainer),this.bodyContainer=null)},e}();It.decorators=[{type:t.Directive}],It.ctorParameters=function(){return[{type:void 0,decorators:[{type:t.Inject,args:[s.DOCUMENT]}]},{type:t.NgZone},{type:t.ElementRef},{type:t.Renderer2},{type:t.Injector}]},It.propDecorators={_anchorTemplate:[{type:t.ContentChild,args:[vt,{static:!1}]}],_anchor:[{type:t.ViewChild,args:[vt,{static:!1}]}],_menu:[{type:t.ViewChild,args:[bt,{static:!1}]}],buttontemplate:[{type:t.Input}],container:[{type:t.Input}],cssclass:[{type:t.Input}],isopen:[{type:t.Input}],placement:[{type:t.Input}],onClick:[{type:t.HostListener,args:["document:click",["$event.target"]]}]};var Et=function(){};Et.decorators=[{type:t.Directive}];var St=function(e){function i(i){var n=e.call(this)||this;return n.contextmenu=i,n._isdisabled=!1,n._isicondisabled=!1,n.cssclass="",n.iconstyle="",n.clicked=new t.EventEmitter,n}return h(i,e),Object.defineProperty(i.prototype,"isdisabled",{get:function(){return this._isdisabled},set:function(e){this._isdisabled=null==e||"boolean"==typeof e?e:"true"===e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isicondisabled",{get:function(){return this._isicondisabled},set:function(e){this._isicondisabled=null==e||"boolean"==typeof e?e:"true"===e},enumerable:!1,configurable:!0}),i.prototype.callaction=function(e){this._isdisabled||(this.clicked.emit(),this.contextmenu.close()),e.stopPropagation()},i}(Et);St.decorators=[{type:t.Directive}],St.ctorParameters=function(){return[{type:It}]},St.propDecorators={icon:[{type:t.Input}],cssclass:[{type:t.Input}],iconstyle:[{type:t.Input}],image:[{type:t.Input}],isdisabled:[{type:t.Input}],isicondisabled:[{type:t.Input}],text:[{type:t.Input}],clicked:[{type:t.Output}]};var Ot=function(){function e(e,i){this.preselecedfile=null,this.allowedtypes="",this.allowfiledelete=!0,this.allowfilerename=!0,this.allowfileupload=!0,this.allowfoldercreate=!0,this.allowfolderdelete=!0,this.allowfolderrename=!0,this.file=new t.EventEmitter,this.rootNode={Name:"",ChildNodes:[],Files:[],IsExpanded:!0,IsEditMode:!1,IsNewNode:!1,Path:""},this.selectedFileItem=null,this.selectedNode=null,this.uploads=[],this.browserService=i.get(w,new M(e)),this.validationKeyService=i.get(z,new k),this.lngResourceService=i.get(H,new G(this.validationKeyService)),this.iconService=i.get(N,new V)}return Object.defineProperty(e.prototype,"selectedfile",{get:function(){return this.selectFile&&this.selectFile.length>0?this.selectedFile:null},set:function(e){var t=this.findSelectedNodeByPath(this.rootNode,e);null!==t&&this.selectNode(t),this.preselecedfile=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconDelete",{get:function(){return this.iconService.BrowserComponentDeleteIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconEdit",{get:function(){return this.iconService.BrowserComponentEditIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconFolderCollabsed",{get:function(){return this.iconService.BrowserComponentFolderClosedIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconFolderEmpty",{get:function(){return this.iconService.BrowserComponentFolderEmptyIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconFolderNew",{get:function(){return this.iconService.BrowserComponentFolderNewIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconFolderOpen",{get:function(){return this.iconService.BrowserComponentFolderOpenIcon},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"iconRefresh",{get:function(){return this.iconService.BrowserComponentRefreshIcon},enumerable:!1,configurable:!0}),e.prototype.exitEditMode=function(e){this.selectedNode&&(this.selectedNode.Files.forEach((function(e){return e.IsEditMode=!1})),this.selectedNode&&null!==this.selectedNode.Name&&0!==this.selectedNode.Name.length||this.clearNewChildNodes(this.rootNode)),this.resetNodeEditMode(null)},e.prototype.deleteFile=function(e){var t=this;this.confirmDeleteFile(e).subscribe((function(i){i&&t.browserService.DeleteFile(t.apiurl,t.selectedNode.Path+"/"+e.Filename,t.allowedtypes).subscribe((function(e){t.selectedNode.Files=e.Files}))}))},e.prototype.deleteNode=function(e){var t=this;this.confirmDeleteNode(e).subscribe((function(i){i&&t.browserService.DeleteNode(t.apiurl,e.Path).subscribe((function(i){var n=t.findParentNode(t.rootNode,e);n.ChildNodes=i.Node.ChildNodes,t.rootNode.ChildNodes.forEach((function(e){t.fillPath(e,"")})),t.selectNode(n)}))}))},e.prototype.editFile=function(e){e.IsEditMode=!0},e.prototype.editNode=function(e){e.IsEditMode=!0},e.prototype.newNode=function(e){var t={ChildNodes:[],Files:[],IsEditMode:!1,IsExpanded:!1,Name:"",Path:e.Path,IsNewNode:!0};e.ChildNodes.push(t),this.selectNode(t),this.editNode(t)},e.prototype.ngOnInit=function(){var e=this;this.browserService.GetNode(this.apiurl,"",this.allowedtypes).subscribe((function(t){e.rootNode={Name:t.Node.Name,Files:t.Node.Files,ChildNodes:t.Node.ChildNodes,IsExpanded:!0,IsEditMode:!1,IsNewNode:!1,Path:"/"},e.setPathToAllNodes(),e.selectedNode=e.rootNode,null!==e.preselecedfile&&e.preselecedfile.length>0&&(e.selectedfile=e.preselecedfile)}))},e.prototype.refreshNode=function(e){var t=this;e.IsExpanded||this.switchExpandNode(e),this.browserService.GetNode(this.apiurl,e.Path,this.allowedtypes).subscribe((function(i){e.ChildNodes=i.Node.ChildNodes,e.Files=i.Node.Files,t.setPathToAllNodes()}))},e.prototype.renameFile=function(e,t){var i=this;e.IsEditMode=!1,t&&null!==t&&0!==t.length&&e.Filename!==t&&this.browserService.RenameFile(this.apiurl,this.selectedNode.Path+"/"+e.Filename,t,this.allowedtypes).subscribe((function(e){i.selectedNode.Files=e.Files}))},e.prototype.renameNode=function(e,t){var i=this;if(e.IsEditMode=!1,e.IsNewNode){if(!t||null===t||0===t.length)return void this.clearNewChildNodes(this.rootNode);e.Name=t,e.IsNewNode=!1,this.browserService.SaveNode(this.apiurl,e.Path,t).subscribe((function(t){e.Name=t.Node.Name,e.Files=t.Node.Files,i.setPathToAllNodes()}))}else{if(!t||null===t||0===t.length)return;e.Name!==t&&this.browserService.RenameNode(this.apiurl,e.Path,t).subscribe((function(t){e.Name=t.Node.Name,i.setPathToAllNodes()}))}},e.prototype.selectFile=function(e){e.IsEditMode||this.selectedNode.Files.forEach((function(e){return e.IsEditMode=!1})),this.selectedNode.Path.endsWith("/")?this.selectedFile="/"+e.Filename:this.selectedFile=this.selectedNode.Path+"/"+e.Filename,this.selectedFileItem=e,this.file.emit(this.selectedFile)},e.prototype.selectNode=function(e){var t=this;e.IsExpanded||this.switchExpandNode(e),this.resetNodeEditMode(null),e.Files?this.selectedNode=e:this.browserService.GetFiles(this.apiurl,e.Path,this.allowedtypes).subscribe((function(i){if(e.Files=i.Files,t.selectedNode=e,null!==t.preselecedfile&&t.preselecedfile.length>0){var n=t.preselecedfile.substring(t.preselecedfile.lastIndexOf("/")+1),o=e.Files.find((function(e){return e.Filename===n}));o&&t.selectFile(o)}}))},e.prototype.switchExpandNode=function(e){e.IsExpanded?e.IsExpanded=!1:e.IsExpanded=!0},e.prototype.uploadComplete=function(e,t){var i=this;null!==t&&t.forEach((function(e){i.uploads.indexOf(e)<0&&i.uploads.push(e)}));var n=this.uploads.pop();n&&this.browserService.SaveFile(this.apiurl,e.Path,n,this.allowedtypes).subscribe((function(e){i.selectedNode.Files=e.Files,i.uploadedFileMoved(n)}))},e.prototype.clearNewChildNodes=function(e){var t=this;e.ChildNodes.forEach((function(t){t.IsNewNode&&e.ChildNodes.splice(e.ChildNodes.indexOf(t))})),e.ChildNodes.forEach((function(e){return t.clearNewChildNodes(e)}))},e.prototype.fillPath=function(e,t){var i=this;e.Path=t+"/"+e.Name,e.ChildNodes.forEach((function(t){i.fillPath(t,e.Path)}))},e.prototype.findParentNode=function(e,t){var i,n;if(e.ChildNodes.indexOf(t)>=0)return e;try{for(var o=f(e.ChildNodes),r=o.next();!r.done;r=o.next()){var a=r.value,l=this.findParentNode(a,t);if(null!==l)return l}}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return null},e.prototype.findSelectedNodeByPath=function(e,t){if(null==t)return null;var i=t.split("/");return i[0]=this.rootNode.Name,this.findSelectedNodeByPathArray(e,i,0)},e.prototype.findSelectedNodeByPathArray=function(e,t,i){var n,o;if(e.Name===t[i]&&t.length-2===i)return e;if(e.Name===t[i]){e.IsExpanded=!0;try{for(var r=f(e.ChildNodes),a=r.next();!a.done;a=r.next()){var l=a.value,s=this.findSelectedNodeByPathArray(l,t,i+1);if(null!==s)return s}}catch(e){n={error:e}}finally{try{a&&!a.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}}return null},e.prototype.resetNodeEditMode=function(e){var t=this;null===e?this.resetNodeEditMode(this.rootNode):(e.IsEditMode=!1,e.ChildNodes&&e.ChildNodes.forEach((function(e){return t.resetNodeEditMode(e)})))},e.prototype.setPathToAllNodes=function(){var e=this;this.rootNode.ChildNodes.forEach((function(t){e.fillPath(t,"")}))},e}();Ot.decorators=[{type:t.Directive}],Ot.ctorParameters=function(){return[{type:o.HttpClient},{type:t.Injector}]},Ot.propDecorators={allowedtypes:[{type:t.Input}],allowfiledelete:[{type:t.Input}],allowfilerename:[{type:t.Input}],allowfileupload:[{type:t.Input}],allowfoldercreate:[{type:t.Input}],allowfolderdelete:[{type:t.Input}],allowfolderrename:[{type:t.Input}],apiurl:[{type:t.Input}],file:[{type:t.Output}],selectedfile:[{type:t.Input}],exitEditMode:[{type:t.HostListener,args:["document:click",["$event.target"]]}]};var _t=function(){this.IconType=e.IconType.Image},Rt=function(){};Rt.decorators=[{type:t.NgModule,args:[{declarations:[],imports:[],exports:[]}]}],e.GridResponse=Te,e.Interpolation=q,e.LanguageModel=_t,e.PagerData=_e,e.PagerRequest=Re,e.Positioning=ft,e.SACCONFIGURATION_SERVICE=E,e.SACCommonListboxOptionModule=Rt,e.SACFILEBROWSER_SERVICE=w,e.SACICON_SERVICE=N,e.SACLANGUAGE_SERVICE=x,e.SACLOCALISATION_SERVICE=H,e.SACVALIDATIONKEY_SERVICE=z,e.SacAbstractConfigurationService=b,e.SacAbstractFileBrowserService=P,e.SacAbstractIconService=C,e.SacAbstractLanguageService=F,e.SacAbstractLocalisationService=B,e.SacButtonCommon=c,e.SacCheckboxCommon=X,e.SacConfirmButton=dt,e.SacConfirmCommon=ct,e.SacContextMenuContrainerCommon=bt,e.SacContextmenuAnchorCommon=vt,e.SacContextmenuCommon=It,e.SacContextmenuItemButtonCommon=St,e.SacContextmenuItemCommon=Et,e.SacDateCommon=je,e.SacDateSelectorCommon=qe,e.SacDateTimeCommon=Be,e.SacDialogCommon=ie,e.SacDropdownCommon=ae,e.SacDropdownOptionCommon=le,e.SacDropzoneMultipleCommon=rt,e.SacDropzoneSingleCommon=at,e.SacFileBrowserCommon=Ot,e.SacFormCommon=ne,e.SacFormLayoutCommon=v,e.SacGridButtonCommon=we,e.SacGridColumnActionCommon=Ce,e.SacGridColumnBaseCommon=Pe,e.SacGridColumnCommon=Me,e.SacGridCommon=Ae,e.SacGridImageCommon=Ve,e.SacInputAreaCommon=ye,e.SacInputCommon=me,e.SacInputCurrencyCommon=ve,e.SacInputDecimalCommon=ge,e.SacInputEmailCommon=be,e.SacInputIntegerCommon=Ie,e.SacInputPasswordCommon=Ee,e.SacInputSearchCommon=Se,e.SacListboxCommon=pe,e.SacListboxOptionCommon=ue,e.SacMultilanguageInputAreaCommon=pt,e.SacMultilanguageInputCommon=ut,e.SacPagingCommon=Le,e.SacRadiobuttonCommon=te,e.SacRadiobuttonsCommon=ee,e.SacStaticFormContainerCommon=Ke,e.SacStaticLabelCommon=Ye,e.SacTabCommon=ce,e.SacTabItemCommon=de,e.SacTimeCommon=He,e.SacTinyMceCommon=Ze,e.SacTooltipCommon=it,e.SacTreeItemActionCommon=$e,e.SacTreeViewChildCommon=tt,e.SacTreeViewCommon=Je,e.SacUploadFile=ot,e.SacUploadMultipleCommon=lt,e.SacUploadSingleCommon=st,e.SacValidationSummaryCommon=he,e.SacWizardCommon=Xe,e.SacWizardItemCommon=We,e.ServiceConfirmCommon=ht,e.SortDescriptor=De,e.Validation=J,e.ValidationErrorItem=W,e.convertToBoolean=K,e.convertToNumber=function(e){return null==e||"number"==typeof e?e:parseFloat(e.toString())},e.isDefined=U,e.mapToObject=function(e){var t={};return e.forEach((function(e,i){t[i]=e})),t},e.positionElements=gt,e.positionService=yt,e.ɵa=nt,e.ɵb=Y,e.ɵc=re,e.ɵd=oe,e.ɵe=fe,e.ɵf=xe,Object.defineProperty(e,"__esModule",{value:!0})}));
2
+ //# sourceMappingURL=simpleangularcontrols-sac-common.umd.min.js.map