new-front-common-library 16.1.32-ROY-1 → 16.1.32-ROY-3

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 (603) hide show
  1. package/karma.conf.js +44 -0
  2. package/ng-package.json +10 -0
  3. package/package.json +2 -19
  4. package/src/lib/new-front-common-library.component.spec.ts +25 -0
  5. package/src/lib/new-front-common-library.component.ts +20 -0
  6. package/src/lib/new-front-common-library.module.ts +26 -0
  7. package/src/lib/new-front-common-library.service.spec.ts +16 -0
  8. package/src/lib/new-front-common-library.service.ts +10 -0
  9. package/src/lib/util/animations/actions.animation.ts +16 -0
  10. package/src/lib/util/animations/fade.animation.ts +16 -0
  11. package/src/lib/util/array.service.ts +14 -0
  12. package/src/lib/util/component/header/header.component.html +389 -0
  13. package/src/lib/util/component/header/header.component.scss +265 -0
  14. package/src/lib/util/component/header/header.component.ts +245 -0
  15. package/src/lib/util/component/header/menu/menu.component.html +52 -0
  16. package/src/lib/util/component/header/menu/menu.component.scss +127 -0
  17. package/src/lib/util/component/header/menu/menu.component.spec.ts +21 -0
  18. package/src/lib/util/component/header/menu/menu.component.ts +94 -0
  19. package/src/lib/util/component/header/menu/menu.const.ts +546 -0
  20. package/src/lib/util/component/header/menu/menu.model.ts +26 -0
  21. package/src/lib/util/component/overlay/overlay.component.css +20 -0
  22. package/src/lib/util/component/overlay/overlay.component.html +10 -0
  23. package/src/lib/util/component/overlay/overlay.component.ts +42 -0
  24. package/src/lib/util/component/overlay/overlay.service.ts +23 -0
  25. package/src/lib/util/component/popup/popup-login/popup-login.component.css +3 -0
  26. package/src/lib/util/component/popup/popup-login/popup-login.component.html +29 -0
  27. package/src/lib/util/component/popup/popup-login/popup-login.component.ts +96 -0
  28. package/src/lib/util/component/sub-header/sub-header.component.css +136 -0
  29. package/src/lib/util/component/sub-header/sub-header.component.html +20 -0
  30. package/src/lib/util/component/sub-header/sub-header.component.spec.ts +25 -0
  31. package/src/lib/util/component/sub-header/sub-header.component.ts +37 -0
  32. package/src/lib/util/config.ts +15 -0
  33. package/src/lib/util/date/PeriodModel.ts +7 -0
  34. package/src/lib/util/date/date-format-constants.ts +12 -0
  35. package/src/lib/util/date/date.util.ts +222 -0
  36. package/src/lib/util/decorators/theme.decorator.ts +24 -0
  37. package/src/lib/util/decorators/user.decorator.ts +30 -0
  38. package/src/lib/util/directives/my-number-formatter-directive.ts +32 -0
  39. package/src/lib/util/directives/show-if-truncated.directive.ts +19 -0
  40. package/src/lib/util/enums/family.enum.ts +4 -0
  41. package/src/lib/util/enums/rapid-search-item-type.enum.ts +11 -0
  42. package/src/lib/util/enums/status-color.enum.ts +9 -0
  43. package/src/lib/util/event/header/header-events.service.ts +20 -0
  44. package/src/lib/util/event/storage/local-storage-events.service.ts +15 -0
  45. package/src/lib/util/event/storage/session-storage-events.service.ts +15 -0
  46. package/src/lib/util/http/http-params.builder.ts +33 -0
  47. package/src/lib/util/i18n/de.ts +173 -0
  48. package/src/lib/util/i18n/en.ts +173 -0
  49. package/src/lib/util/i18n/fr.ts +174 -0
  50. package/src/lib/util/i18n/multi-translate-http-loader.ts +31 -0
  51. package/src/lib/util/models/any-line.model.ts +45 -0
  52. package/src/lib/util/models/audio-content.model.ts +40 -0
  53. package/src/lib/util/models/authPermission.model.ts +17 -0
  54. package/src/lib/util/models/authUser.model.ts +28 -0
  55. package/src/lib/util/models/basic-hierarchy.model.ts +8 -0
  56. package/src/lib/util/models/basic.model.ts +31 -0
  57. package/src/lib/util/models/box-set-item.model.ts +23 -0
  58. package/src/lib/util/models/commercial/deal-rapid-search-model.ts +10 -0
  59. package/src/lib/util/models/commercial/invoice-rapid-search-model.ts +25 -0
  60. package/src/lib/util/models/commercial/work-record-rapid-search-model.ts +28 -0
  61. package/src/lib/util/models/custom-typings.d.ts +166 -0
  62. package/src/lib/util/models/disc-program.model.ts +29 -0
  63. package/src/lib/util/models/disc.model.ts +26 -0
  64. package/src/lib/util/models/eventType.model.ts +7 -0
  65. package/src/lib/util/models/expenditure-commitment/purchase-order-file.model.ts +27 -0
  66. package/src/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.ts +10 -0
  67. package/src/lib/util/models/family.model.ts +6 -0
  68. package/{lib/util/models/index.d.ts → src/lib/util/models/index.ts} +1 -0
  69. package/src/lib/util/models/lang-line.model.ts +31 -0
  70. package/src/lib/util/models/legal/contract-rapid-search-model.ts +13 -0
  71. package/src/lib/util/models/legal/contract-work.model.ts +43 -0
  72. package/src/lib/util/models/legal/contract-work2.model.ts +39 -0
  73. package/src/lib/util/models/legal/type-status-rapid-search.model.ts +5 -0
  74. package/src/lib/util/models/media-line.model.ts +20 -0
  75. package/src/lib/util/models/menu-language.model.ts +16 -0
  76. package/src/lib/util/models/milo/territory.model.ts +19 -0
  77. package/src/lib/util/models/module.model.ts +9 -0
  78. package/src/lib/util/models/permission.model.ts +21 -0
  79. package/src/lib/util/models/product-box-set.model.ts +19 -0
  80. package/src/lib/util/models/product-disc-detail.model.ts +25 -0
  81. package/src/lib/util/models/product-disc.model.ts +31 -0
  82. package/src/lib/util/models/product-division.model.ts +35 -0
  83. package/src/lib/util/models/product-type.model.ts +26 -0
  84. package/src/lib/util/models/product.model.ts +73 -0
  85. package/src/lib/util/models/program.model.ts +34 -0
  86. package/src/lib/util/models/purchase-order/purchase-order.model.ts +61 -0
  87. package/src/lib/util/models/referential/WorkVersionArticleDto.ts +20 -0
  88. package/src/lib/util/models/referential/adress-type.model.ts +13 -0
  89. package/src/lib/util/models/referential/adress.model.ts +31 -0
  90. package/src/lib/util/models/referential/attached-file.model.ts +21 -0
  91. package/src/lib/util/models/referential/bank-account.model.ts +25 -0
  92. package/src/lib/util/models/referential/bank-accounts.model.ts +34 -0
  93. package/src/lib/util/models/referential/basic-hierarchy.model.ts +8 -0
  94. package/src/lib/util/models/referential/broadcast-list-item.model.ts +19 -0
  95. package/src/lib/util/models/referential/color.model.ts +16 -0
  96. package/src/lib/util/models/referential/company.model.ts +17 -0
  97. package/src/lib/util/models/referential/content-type.model.ts +22 -0
  98. package/src/lib/util/models/referential/content.model.ts +26 -0
  99. package/src/lib/util/models/referential/cost-center-criteria-values.model.ts +17 -0
  100. package/src/lib/util/models/referential/cost-center-criteria.model.ts +23 -0
  101. package/src/lib/util/models/referential/cost-center.model.ts +37 -0
  102. package/src/lib/util/models/referential/coutry.model.ts +17 -0
  103. package/src/lib/util/models/referential/currency.model.ts +22 -0
  104. package/src/lib/util/models/referential/editorial-content.model.ts +37 -0
  105. package/src/lib/util/models/referential/fixing.model.ts +21 -0
  106. package/src/lib/util/models/referential/flat-media.model.ts +19 -0
  107. package/src/lib/util/models/referential/format-image.model.ts +17 -0
  108. package/src/lib/util/models/referential/format-type.model.ts +16 -0
  109. package/src/lib/util/models/referential/format.model.ts +17 -0
  110. package/src/lib/util/models/referential/fsk-index.model.ts +36 -0
  111. package/src/lib/util/models/referential/fsk.model.ts +53 -0
  112. package/src/lib/util/models/referential/function.model.ts +25 -0
  113. package/src/lib/util/models/referential/genre.model.ts +17 -0
  114. package/src/lib/util/models/referential/invoice-product-type.model.ts +24 -0
  115. package/src/lib/util/models/referential/keywords.model.ts +16 -0
  116. package/src/lib/util/models/referential/language.model.ts +22 -0
  117. package/src/lib/util/models/referential/media-filter.model.ts +10 -0
  118. package/src/lib/util/models/referential/media.model.ts +21 -0
  119. package/src/lib/util/models/referential/module.model.ts +21 -0
  120. package/{lib/util/models/referential/parameter.model.d.ts → src/lib/util/models/referential/parameter.model.ts} +2 -0
  121. package/src/lib/util/models/referential/participant.model.ts +31 -0
  122. package/src/lib/util/models/referential/person.model.ts +30 -0
  123. package/src/lib/util/models/referential/po/WorkRestrictionPO.ts +11 -0
  124. package/src/lib/util/models/referential/project-status.model.ts +16 -0
  125. package/src/lib/util/models/referential/quota.model.ts +17 -0
  126. package/src/lib/util/models/referential/referential-entity-state.model.ts +22 -0
  127. package/src/lib/util/models/referential/referential-value.model.ts +21 -0
  128. package/src/lib/util/models/referential/referentiel.model.ts +29 -0
  129. package/src/lib/util/models/referential/restriction.model.ts +26 -0
  130. package/src/lib/util/models/referential/sap-order.model.ts +48 -0
  131. package/src/lib/util/models/referential/service-error.model.ts +16 -0
  132. package/src/lib/util/models/referential/sound.model.ts +16 -0
  133. package/src/lib/util/models/referential/territories-languages.model.ts +19 -0
  134. package/src/lib/util/models/referential/territory-filter.model.ts +6 -0
  135. package/src/lib/util/models/referential/territory.model.ts +27 -0
  136. package/src/lib/util/models/referential/theme.model.ts +17 -0
  137. package/src/lib/util/models/referential/third-party-address-rapid-search.model.ts +8 -0
  138. package/src/lib/util/models/referential/third-party-creation-request.model.ts +59 -0
  139. package/src/lib/util/models/referential/third-party-module.model.ts +21 -0
  140. package/src/lib/util/models/referential/third-party-rapid-search.model.ts +10 -0
  141. package/src/lib/util/models/referential/third-party.model.ts +100 -0
  142. package/src/lib/util/models/referential/translated-value-model.ts +20 -0
  143. package/src/lib/util/models/referential/tva.model.ts +17 -0
  144. package/src/lib/util/models/referential/type-export.model.ts +17 -0
  145. package/src/lib/util/models/referential/type-tva-company-territory.model.ts +36 -0
  146. package/src/lib/util/models/referential/type-tva.model.ts +29 -0
  147. package/{lib/util/models/referential/user-form.model.d.ts → src/lib/util/models/referential/user-form.model.ts} +2 -0
  148. package/src/lib/util/models/referential/work-addons-model.ts +36 -0
  149. package/src/lib/util/models/referential/work-appartenance.model.ts +17 -0
  150. package/src/lib/util/models/referential/work-genre.model.ts +21 -0
  151. package/src/lib/util/models/referential/work-language.model.ts +21 -0
  152. package/src/lib/util/models/referential/work-milo.model.ts +65 -0
  153. package/src/lib/util/models/referential/work-participant.model.ts +28 -0
  154. package/src/lib/util/models/referential/work-restrictions-model.ts +34 -0
  155. package/src/lib/util/models/referential/work-theme.model.ts +21 -0
  156. package/src/lib/util/models/referential/work-title.model.ts +27 -0
  157. package/src/lib/util/models/referential/work-version-origin.model.ts +20 -0
  158. package/src/lib/util/models/referential/work-version-rapid-search.model.ts +10 -0
  159. package/src/lib/util/models/referential/work-versions-used.model.ts +22 -0
  160. package/src/lib/util/models/referential/work-versions.model.ts +47 -0
  161. package/src/lib/util/models/referential/work-year-production.model.ts +16 -0
  162. package/src/lib/util/models/referential/work.model.ts +88 -0
  163. package/src/lib/util/models/referential/zone.model.ts +16 -0
  164. package/src/lib/util/models/referentiel.model.ts +29 -0
  165. package/src/lib/util/models/search-response.model.ts +7 -0
  166. package/src/lib/util/models/section.model.ts +11 -0
  167. package/src/lib/util/models/select/options.model.ts +8 -0
  168. package/src/lib/util/models/select/select.model.ts +4 -0
  169. package/src/lib/util/models/subsidiary.model.ts +10 -0
  170. package/src/lib/util/models/subtitle-content.model.ts +39 -0
  171. package/src/lib/util/models/user-video.model.ts +29 -0
  172. package/src/lib/util/models/user.model.ts +41 -0
  173. package/src/lib/util/models/video/product-rapid-search.model.ts +10 -0
  174. package/src/lib/util/models/video/support-rapid-search.model.ts +7 -0
  175. package/src/lib/util/models/video-content.model.ts +37 -0
  176. package/src/lib/util/number.validator.ts +123 -0
  177. package/src/lib/util/paginator/custom-paginator-configuration.ts +68 -0
  178. package/src/lib/util/permissions/permissions.service.ts +47 -0
  179. package/src/lib/util/pipes/capitalizefirst.pipe.ts +39 -0
  180. package/src/lib/util/pipes/comma-separated-number.pipe.ts +9 -0
  181. package/src/lib/util/pipes/common-translate.pipe.ts +37 -0
  182. package/src/lib/util/pipes/display-html.pipe.ts +15 -0
  183. package/src/lib/util/pipes/display-null.pipe.ts +19 -0
  184. package/src/lib/util/pipes/format-currency.pipe.ts +26 -0
  185. package/src/lib/util/pipes/format-duration.pipe.ts +16 -0
  186. package/src/lib/util/pipes/format-number-input.pipe.ts +19 -0
  187. package/src/lib/util/pipes/local-date.pipe.ts +29 -0
  188. package/src/lib/util/pipes/my-number.pipe.ts +51 -0
  189. package/src/lib/util/pipes/third-party-address-search.pipe.ts +12 -0
  190. package/src/lib/util/pipes/third-party-address.pipe.ts +13 -0
  191. package/src/lib/util/pipes/trim-string.pipe.ts +24 -0
  192. package/src/lib/util/regex/regex.service.ts +94 -0
  193. package/src/lib/util/regex/regex.spec.ts +45 -0
  194. package/src/lib/util/services/api/commercial-api.service.ts +23 -0
  195. package/src/lib/util/services/api/common-api.service.ts +121 -0
  196. package/src/lib/util/services/api/legal-api.service.ts +27 -0
  197. package/src/lib/util/services/api/video-api.service.ts +45 -0
  198. package/src/lib/util/services/auth/auth.service.spec.ts +16 -0
  199. package/src/lib/util/services/auth/auth.service.ts +14 -0
  200. package/src/lib/util/services/elasticsearch/elasticsearch.service.ts +179 -0
  201. package/src/lib/util/services/elasticsearch/subsidiaries.service.ts +48 -0
  202. package/src/lib/util/services/form-action/form-actions-events.service.ts +25 -0
  203. package/src/lib/util/services/guard/auth.guard.ts +44 -0
  204. package/src/lib/util/services/guard/login.guard.ts +26 -0
  205. package/src/lib/util/services/history/history.service.ts +38 -0
  206. package/src/lib/util/services/interceptor/auth.interceptor.ts +66 -0
  207. package/src/lib/util/services/jwt-security/aes.service.ts +48 -0
  208. package/src/lib/util/services/jwt-security/interceptorhttp.service.ts +98 -0
  209. package/src/lib/util/services/jwt-security/jwt.helpher.ts +38 -0
  210. package/src/lib/util/services/storage/local-storage.service.ts +36 -0
  211. package/src/lib/util/services/storage/session-storage.service.ts +39 -0
  212. package/src/lib/util/services/translate-language/lang.service.ts +26 -0
  213. package/src/lib/util/services/user/user-subsidiary.service.spec.ts +207 -0
  214. package/src/lib/util/services/user/user-subsidiary.service.ts +21 -0
  215. package/src/lib/util/sort.ts +27 -0
  216. package/src/lib/util/theme/theme-event.service.ts +15 -0
  217. package/src/lib/util/toaster/toaster-events.service.ts +32 -0
  218. package/src/lib/util/util.module.ts +185 -0
  219. package/{public-api.d.ts → src/public-api.ts} +17 -2
  220. package/src/test.ts +13 -0
  221. package/tsconfig.lib.json +19 -0
  222. package/tsconfig.lib.prod.json +10 -0
  223. package/tsconfig.spec.json +17 -0
  224. package/esm2022/lib/util/array.service.mjs +0 -19
  225. package/esm2022/lib/util/component/header/header.component.mjs +0 -221
  226. package/esm2022/lib/util/component/header/menu/menu.component.mjs +0 -96
  227. package/esm2022/lib/util/component/header/menu/menu.const.mjs +0 -544
  228. package/esm2022/lib/util/component/header/menu/menu.model.mjs +0 -2
  229. package/esm2022/lib/util/component/overlay/overlay.component.mjs +0 -40
  230. package/esm2022/lib/util/component/overlay/overlay.service.mjs +0 -24
  231. package/esm2022/lib/util/component/popup/popup-login/popup-login.component.mjs +0 -90
  232. package/esm2022/lib/util/component/sub-header/sub-header.component.mjs +0 -44
  233. package/esm2022/lib/util/config.mjs +0 -8
  234. package/esm2022/lib/util/date/PeriodModel.mjs +0 -8
  235. package/esm2022/lib/util/date/date-format-constants.mjs +0 -12
  236. package/esm2022/lib/util/date/date.util.mjs +0 -218
  237. package/esm2022/lib/util/decorators/theme.decorator.mjs +0 -22
  238. package/esm2022/lib/util/decorators/user.decorator.mjs +0 -25
  239. package/esm2022/lib/util/directives/my-number-formatter-directive.mjs +0 -34
  240. package/esm2022/lib/util/directives/show-if-truncated.directive.mjs +0 -25
  241. package/esm2022/lib/util/enums/family.enum.mjs +0 -6
  242. package/esm2022/lib/util/enums/rapid-search-item-type.enum.mjs +0 -12
  243. package/esm2022/lib/util/enums/status-color.enum.mjs +0 -11
  244. package/esm2022/lib/util/event/header/header-events.service.mjs +0 -21
  245. package/esm2022/lib/util/event/storage/local-storage-events.service.mjs +0 -17
  246. package/esm2022/lib/util/event/storage/session-storage-events.service.mjs +0 -18
  247. package/esm2022/lib/util/http/http-params.builder.mjs +0 -27
  248. package/esm2022/lib/util/i18n/de.mjs +0 -158
  249. package/esm2022/lib/util/i18n/en.mjs +0 -158
  250. package/esm2022/lib/util/i18n/fr.mjs +0 -158
  251. package/esm2022/lib/util/i18n/multi-translate-http-loader.mjs +0 -21
  252. package/esm2022/lib/util/interfaces/permissions.interface.mjs +0 -2
  253. package/esm2022/lib/util/models/any-line.model.mjs +0 -37
  254. package/esm2022/lib/util/models/audio-content.model.mjs +0 -27
  255. package/esm2022/lib/util/models/authPermission.model.mjs +0 -16
  256. package/esm2022/lib/util/models/authUser.model.mjs +0 -21
  257. package/esm2022/lib/util/models/basic.model.mjs +0 -14
  258. package/esm2022/lib/util/models/box-set-item.model.mjs +0 -19
  259. package/esm2022/lib/util/models/commercial/deal-rapid-search-model.mjs +0 -3
  260. package/esm2022/lib/util/models/commercial/invoice-rapid-search-model.mjs +0 -9
  261. package/esm2022/lib/util/models/commercial/work-record-rapid-search-model.mjs +0 -13
  262. package/esm2022/lib/util/models/disc-program.model.mjs +0 -26
  263. package/esm2022/lib/util/models/disc.model.mjs +0 -22
  264. package/esm2022/lib/util/models/eventType.model.mjs +0 -7
  265. package/esm2022/lib/util/models/expenditure-commitment/purchase-order-file.model.mjs +0 -22
  266. package/esm2022/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.mjs +0 -3
  267. package/esm2022/lib/util/models/family.model.mjs +0 -7
  268. package/esm2022/lib/util/models/index.mjs +0 -101
  269. package/esm2022/lib/util/models/lang-line.model.mjs +0 -27
  270. package/esm2022/lib/util/models/legal/contract-rapid-search-model.mjs +0 -3
  271. package/esm2022/lib/util/models/legal/contract-work.model.mjs +0 -23
  272. package/esm2022/lib/util/models/legal/contract-work2.model.mjs +0 -21
  273. package/esm2022/lib/util/models/legal/type-status-rapid-search.model.mjs +0 -3
  274. package/esm2022/lib/util/models/media-line.model.mjs +0 -18
  275. package/esm2022/lib/util/models/menu-language.model.mjs +0 -15
  276. package/esm2022/lib/util/models/permission.model.mjs +0 -20
  277. package/esm2022/lib/util/models/product-box-set.model.mjs +0 -16
  278. package/esm2022/lib/util/models/product-disc-detail.model.mjs +0 -22
  279. package/esm2022/lib/util/models/product-disc.model.mjs +0 -27
  280. package/esm2022/lib/util/models/product-division.model.mjs +0 -29
  281. package/esm2022/lib/util/models/product-type.model.mjs +0 -22
  282. package/esm2022/lib/util/models/product.model.mjs +0 -62
  283. package/esm2022/lib/util/models/program.model.mjs +0 -28
  284. package/esm2022/lib/util/models/purchase-order/purchase-order.model.mjs +0 -53
  285. package/esm2022/lib/util/models/referential/WorkVersionArticleDto.mjs +0 -17
  286. package/esm2022/lib/util/models/referential/adress-type.model.mjs +0 -14
  287. package/esm2022/lib/util/models/referential/adress.model.mjs +0 -28
  288. package/esm2022/lib/util/models/referential/attached-file.model.mjs +0 -17
  289. package/esm2022/lib/util/models/referential/bank-account.model.mjs +0 -24
  290. package/esm2022/lib/util/models/referential/bank-accounts.model.mjs +0 -31
  291. package/esm2022/lib/util/models/referential/basic-hierarchy.model.mjs +0 -8
  292. package/esm2022/lib/util/models/referential/broadcast-list-item.model.mjs +0 -13
  293. package/esm2022/lib/util/models/referential/color.model.mjs +0 -16
  294. package/esm2022/lib/util/models/referential/company.model.mjs +0 -16
  295. package/esm2022/lib/util/models/referential/content-type.model.mjs +0 -17
  296. package/esm2022/lib/util/models/referential/content.model.mjs +0 -22
  297. package/esm2022/lib/util/models/referential/cost-center-criteria-values.model.mjs +0 -14
  298. package/esm2022/lib/util/models/referential/cost-center-criteria.model.mjs +0 -13
  299. package/esm2022/lib/util/models/referential/cost-center.model.mjs +0 -28
  300. package/esm2022/lib/util/models/referential/coutry.model.mjs +0 -16
  301. package/esm2022/lib/util/models/referential/currency.model.mjs +0 -20
  302. package/esm2022/lib/util/models/referential/editorial-content.model.mjs +0 -18
  303. package/esm2022/lib/util/models/referential/fixing.model.mjs +0 -16
  304. package/esm2022/lib/util/models/referential/flat-media.model.mjs +0 -18
  305. package/esm2022/lib/util/models/referential/format-image.model.mjs +0 -16
  306. package/esm2022/lib/util/models/referential/format-type.model.mjs +0 -16
  307. package/esm2022/lib/util/models/referential/format.model.mjs +0 -17
  308. package/esm2022/lib/util/models/referential/fsk-index.model.mjs +0 -20
  309. package/esm2022/lib/util/models/referential/fsk.model.mjs +0 -22
  310. package/esm2022/lib/util/models/referential/function.model.mjs +0 -23
  311. package/esm2022/lib/util/models/referential/genre.model.mjs +0 -17
  312. package/esm2022/lib/util/models/referential/invoice-product-type.model.mjs +0 -22
  313. package/esm2022/lib/util/models/referential/keywords.model.mjs +0 -13
  314. package/esm2022/lib/util/models/referential/language.model.mjs +0 -18
  315. package/esm2022/lib/util/models/referential/media-filter.model.mjs +0 -3
  316. package/esm2022/lib/util/models/referential/media.model.mjs +0 -20
  317. package/esm2022/lib/util/models/referential/module.model.mjs +0 -20
  318. package/esm2022/lib/util/models/referential/parameter.model.mjs +0 -2
  319. package/esm2022/lib/util/models/referential/participant.model.mjs +0 -20
  320. package/esm2022/lib/util/models/referential/person.model.mjs +0 -23
  321. package/esm2022/lib/util/models/referential/project-status.model.mjs +0 -16
  322. package/esm2022/lib/util/models/referential/quota.model.mjs +0 -17
  323. package/esm2022/lib/util/models/referential/referential-entity-state.model.mjs +0 -16
  324. package/esm2022/lib/util/models/referential/referential-value.model.mjs +0 -16
  325. package/esm2022/lib/util/models/referential/referentiel.model.mjs +0 -26
  326. package/esm2022/lib/util/models/referential/restriction.model.mjs +0 -20
  327. package/esm2022/lib/util/models/referential/sap-order.model.mjs +0 -20
  328. package/esm2022/lib/util/models/referential/service-error.model.mjs +0 -15
  329. package/esm2022/lib/util/models/referential/sound.model.mjs +0 -16
  330. package/esm2022/lib/util/models/referential/territories-languages.model.mjs +0 -16
  331. package/esm2022/lib/util/models/referential/territory-filter.model.mjs +0 -3
  332. package/esm2022/lib/util/models/referential/territory.model.mjs +0 -17
  333. package/esm2022/lib/util/models/referential/theme.model.mjs +0 -17
  334. package/esm2022/lib/util/models/referential/third-party-address-rapid-search.model.mjs +0 -3
  335. package/esm2022/lib/util/models/referential/third-party-creation-request.model.mjs +0 -44
  336. package/esm2022/lib/util/models/referential/third-party-module.model.mjs +0 -20
  337. package/esm2022/lib/util/models/referential/third-party-rapid-search.model.mjs +0 -3
  338. package/esm2022/lib/util/models/referential/third-party.model.mjs +0 -83
  339. package/esm2022/lib/util/models/referential/translated-value-model.mjs +0 -16
  340. package/esm2022/lib/util/models/referential/tva.model.mjs +0 -16
  341. package/esm2022/lib/util/models/referential/type-export.model.mjs +0 -16
  342. package/esm2022/lib/util/models/referential/type-tva-company-territory.model.mjs +0 -32
  343. package/esm2022/lib/util/models/referential/type-tva.model.mjs +0 -25
  344. package/esm2022/lib/util/models/referential/user-form.model.mjs +0 -2
  345. package/esm2022/lib/util/models/referential/work-addons-model.mjs +0 -16
  346. package/esm2022/lib/util/models/referential/work-appartenance.model.mjs +0 -17
  347. package/esm2022/lib/util/models/referential/work-genre.model.mjs +0 -16
  348. package/esm2022/lib/util/models/referential/work-language.model.mjs +0 -16
  349. package/esm2022/lib/util/models/referential/work-milo.model.mjs +0 -61
  350. package/esm2022/lib/util/models/referential/work-participant.model.mjs +0 -21
  351. package/esm2022/lib/util/models/referential/work-restrictions-model.mjs +0 -13
  352. package/esm2022/lib/util/models/referential/work-theme.model.mjs +0 -16
  353. package/esm2022/lib/util/models/referential/work-title.model.mjs +0 -20
  354. package/esm2022/lib/util/models/referential/work-version-origin.model.mjs +0 -16
  355. package/esm2022/lib/util/models/referential/work-version-rapid-search.model.mjs +0 -3
  356. package/esm2022/lib/util/models/referential/work-versions-used.model.mjs +0 -19
  357. package/esm2022/lib/util/models/referential/work-versions.model.mjs +0 -27
  358. package/esm2022/lib/util/models/referential/work-year-production.model.mjs +0 -13
  359. package/esm2022/lib/util/models/referential/work.model.mjs +0 -22
  360. package/esm2022/lib/util/models/referential/zone.model.mjs +0 -14
  361. package/esm2022/lib/util/models/referentiel.model.mjs +0 -26
  362. package/esm2022/lib/util/models/search-response.model.mjs +0 -10
  363. package/esm2022/lib/util/models/section.model.mjs +0 -8
  364. package/esm2022/lib/util/models/select/options.model.mjs +0 -8
  365. package/esm2022/lib/util/models/select/select.model.mjs +0 -7
  366. package/esm2022/lib/util/models/subsidiary.model.mjs +0 -8
  367. package/esm2022/lib/util/models/subtitle-content.model.mjs +0 -28
  368. package/esm2022/lib/util/models/user-video.model.mjs +0 -22
  369. package/esm2022/lib/util/models/user.model.mjs +0 -35
  370. package/esm2022/lib/util/models/video/product-rapid-search.model.mjs +0 -3
  371. package/esm2022/lib/util/models/video/support-rapid-search.model.mjs +0 -3
  372. package/esm2022/lib/util/models/video-content.model.mjs +0 -18
  373. package/esm2022/lib/util/number.validator.mjs +0 -129
  374. package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +0 -59
  375. package/esm2022/lib/util/permissions/permissions.service.mjs +0 -49
  376. package/esm2022/lib/util/pipes/capitalizefirst.pipe.mjs +0 -41
  377. package/esm2022/lib/util/pipes/comma-separated-number.pipe.mjs +0 -15
  378. package/esm2022/lib/util/pipes/common-translate.pipe.mjs +0 -38
  379. package/esm2022/lib/util/pipes/display-html.pipe.mjs +0 -20
  380. package/esm2022/lib/util/pipes/display-null.pipe.mjs +0 -24
  381. package/esm2022/lib/util/pipes/format-currency.pipe.mjs +0 -31
  382. package/esm2022/lib/util/pipes/format-duration.pipe.mjs +0 -23
  383. package/esm2022/lib/util/pipes/format-number-input.pipe.mjs +0 -22
  384. package/esm2022/lib/util/pipes/local-date.pipe.mjs +0 -27
  385. package/esm2022/lib/util/pipes/my-number.pipe.mjs +0 -44
  386. package/esm2022/lib/util/pipes/third-party-address-search.pipe.mjs +0 -15
  387. package/esm2022/lib/util/pipes/third-party-address.pipe.mjs +0 -16
  388. package/esm2022/lib/util/pipes/trim-string.pipe.mjs +0 -25
  389. package/esm2022/lib/util/regex/regex.service.mjs +0 -94
  390. package/esm2022/lib/util/services/api/commercial-api.service.mjs +0 -28
  391. package/esm2022/lib/util/services/api/common-api.service.mjs +0 -98
  392. package/esm2022/lib/util/services/api/legal-api.service.mjs +0 -32
  393. package/esm2022/lib/util/services/api/video-api.service.mjs +0 -45
  394. package/esm2022/lib/util/services/auth/auth.service.mjs +0 -18
  395. package/esm2022/lib/util/services/elasticsearch/elasticsearch.service.mjs +0 -166
  396. package/esm2022/lib/util/services/elasticsearch/subsidiaries.service.mjs +0 -48
  397. package/esm2022/lib/util/services/form-action/form-actions-events.service.mjs +0 -25
  398. package/esm2022/lib/util/services/guard/auth.guard.mjs +0 -32
  399. package/esm2022/lib/util/services/guard/login.guard.mjs +0 -23
  400. package/esm2022/lib/util/services/history/history.service.mjs +0 -39
  401. package/esm2022/lib/util/services/interceptor/auth.interceptor.mjs +0 -53
  402. package/esm2022/lib/util/services/jwt-security/aes.service.mjs +0 -34
  403. package/esm2022/lib/util/services/jwt-security/interceptorhttp.service.mjs +0 -18
  404. package/esm2022/lib/util/services/jwt-security/jwt.helpher.mjs +0 -34
  405. package/esm2022/lib/util/services/storage/local-storage.service.mjs +0 -36
  406. package/esm2022/lib/util/services/storage/session-storage.service.mjs +0 -38
  407. package/esm2022/lib/util/services/translate-language/lang.service.mjs +0 -31
  408. package/esm2022/lib/util/services/user/user-subsidiary.service.mjs +0 -22
  409. package/esm2022/lib/util/sort.mjs +0 -22
  410. package/esm2022/lib/util/theme/theme-event.service.mjs +0 -17
  411. package/esm2022/lib/util/toaster/toaster-events.service.mjs +0 -32
  412. package/esm2022/lib/util/util.module.mjs +0 -281
  413. package/esm2022/new-front-common-library.mjs +0 -5
  414. package/esm2022/public-api.mjs +0 -59
  415. package/fesm2022/new-front-common-library.mjs +0 -5695
  416. package/fesm2022/new-front-common-library.mjs.map +0 -1
  417. package/index.d.ts +0 -5
  418. package/lib/util/array.service.d.ts +0 -7
  419. package/lib/util/component/header/header.component.d.ts +0 -74
  420. package/lib/util/component/header/menu/menu.component.d.ts +0 -27
  421. package/lib/util/component/header/menu/menu.const.d.ts +0 -2
  422. package/lib/util/component/header/menu/menu.model.d.ts +0 -23
  423. package/lib/util/component/overlay/overlay.component.d.ts +0 -17
  424. package/lib/util/component/overlay/overlay.service.d.ts +0 -13
  425. package/lib/util/component/popup/popup-login/popup-login.component.d.ts +0 -35
  426. package/lib/util/component/sub-header/sub-header.component.d.ts +0 -13
  427. package/lib/util/config.d.ts +0 -8
  428. package/lib/util/date/PeriodModel.d.ts +0 -6
  429. package/lib/util/date/date-format-constants.d.ts +0 -25
  430. package/lib/util/date/date.util.d.ts +0 -16
  431. package/lib/util/decorators/theme.decorator.d.ts +0 -1
  432. package/lib/util/decorators/user.decorator.d.ts +0 -1
  433. package/lib/util/directives/my-number-formatter-directive.d.ts +0 -15
  434. package/lib/util/directives/show-if-truncated.directive.d.ts +0 -11
  435. package/lib/util/enums/family.enum.d.ts +0 -4
  436. package/lib/util/enums/rapid-search-item-type.enum.d.ts +0 -10
  437. package/lib/util/enums/status-color.enum.d.ts +0 -9
  438. package/lib/util/event/header/header-events.service.d.ts +0 -11
  439. package/lib/util/event/storage/local-storage-events.service.d.ts +0 -9
  440. package/lib/util/event/storage/session-storage-events.service.d.ts +0 -10
  441. package/lib/util/http/http-params.builder.d.ts +0 -9
  442. package/lib/util/i18n/de.d.ts +0 -141
  443. package/lib/util/i18n/en.d.ts +0 -141
  444. package/lib/util/i18n/fr.d.ts +0 -141
  445. package/lib/util/i18n/multi-translate-http-loader.d.ts +0 -14
  446. package/lib/util/models/any-line.model.d.ts +0 -24
  447. package/lib/util/models/audio-content.model.d.ts +0 -27
  448. package/lib/util/models/authPermission.model.d.ts +0 -7
  449. package/lib/util/models/authUser.model.d.ts +0 -16
  450. package/lib/util/models/basic.model.d.ts +0 -11
  451. package/lib/util/models/box-set-item.model.d.ts +0 -12
  452. package/lib/util/models/commercial/deal-rapid-search-model.d.ts +0 -10
  453. package/lib/util/models/commercial/invoice-rapid-search-model.d.ts +0 -18
  454. package/lib/util/models/commercial/work-record-rapid-search-model.d.ts +0 -21
  455. package/lib/util/models/disc-program.model.d.ts +0 -9
  456. package/lib/util/models/disc.model.d.ts +0 -15
  457. package/lib/util/models/eventType.model.d.ts +0 -5
  458. package/lib/util/models/expenditure-commitment/purchase-order-file.model.d.ts +0 -8
  459. package/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.d.ts +0 -10
  460. package/lib/util/models/family.model.d.ts +0 -5
  461. package/lib/util/models/lang-line.model.d.ts +0 -18
  462. package/lib/util/models/legal/contract-rapid-search-model.d.ts +0 -10
  463. package/lib/util/models/legal/contract-work.model.d.ts +0 -27
  464. package/lib/util/models/legal/contract-work2.model.d.ts +0 -23
  465. package/lib/util/models/legal/type-status-rapid-search.model.d.ts +0 -5
  466. package/lib/util/models/media-line.model.d.ts +0 -9
  467. package/lib/util/models/menu-language.model.d.ts +0 -6
  468. package/lib/util/models/permission.model.d.ts +0 -12
  469. package/lib/util/models/product-box-set.model.d.ts +0 -8
  470. package/lib/util/models/product-disc-detail.model.d.ts +0 -14
  471. package/lib/util/models/product-disc.model.d.ts +0 -11
  472. package/lib/util/models/product-division.model.d.ts +0 -15
  473. package/lib/util/models/product-type.model.d.ts +0 -7
  474. package/lib/util/models/product.model.d.ts +0 -52
  475. package/lib/util/models/program.model.d.ts +0 -21
  476. package/lib/util/models/purchase-order/purchase-order.model.d.ts +0 -40
  477. package/lib/util/models/referential/WorkVersionArticleDto.d.ts +0 -10
  478. package/lib/util/models/referential/adress-type.model.d.ts +0 -5
  479. package/lib/util/models/referential/adress.model.d.ts +0 -20
  480. package/lib/util/models/referential/attached-file.model.d.ts +0 -11
  481. package/lib/util/models/referential/bank-account.model.d.ts +0 -15
  482. package/lib/util/models/referential/bank-accounts.model.d.ts +0 -17
  483. package/lib/util/models/referential/basic-hierarchy.model.d.ts +0 -6
  484. package/lib/util/models/referential/broadcast-list-item.model.d.ts +0 -8
  485. package/lib/util/models/referential/color.model.d.ts +0 -6
  486. package/lib/util/models/referential/company.model.d.ts +0 -7
  487. package/lib/util/models/referential/content-type.model.d.ts +0 -12
  488. package/lib/util/models/referential/content.model.d.ts +0 -7
  489. package/lib/util/models/referential/cost-center-criteria-values.model.d.ts +0 -7
  490. package/lib/util/models/referential/cost-center-criteria.model.d.ts +0 -12
  491. package/lib/util/models/referential/cost-center.model.d.ts +0 -18
  492. package/lib/util/models/referential/coutry.model.d.ts +0 -7
  493. package/lib/util/models/referential/currency.model.d.ts +0 -11
  494. package/lib/util/models/referential/editorial-content.model.d.ts +0 -25
  495. package/lib/util/models/referential/fixing.model.d.ts +0 -10
  496. package/lib/util/models/referential/flat-media.model.d.ts +0 -9
  497. package/lib/util/models/referential/format-image.model.d.ts +0 -7
  498. package/lib/util/models/referential/format-type.model.d.ts +0 -6
  499. package/lib/util/models/referential/format.model.d.ts +0 -7
  500. package/lib/util/models/referential/fsk-index.model.d.ts +0 -22
  501. package/lib/util/models/referential/fsk.model.d.ts +0 -37
  502. package/lib/util/models/referential/function.model.d.ts +0 -8
  503. package/lib/util/models/referential/genre.model.d.ts +0 -7
  504. package/lib/util/models/referential/invoice-product-type.model.d.ts +0 -7
  505. package/lib/util/models/referential/keywords.model.d.ts +0 -6
  506. package/lib/util/models/referential/language.model.d.ts +0 -11
  507. package/lib/util/models/referential/media-filter.model.d.ts +0 -10
  508. package/lib/util/models/referential/media.model.d.ts +0 -11
  509. package/lib/util/models/referential/module.model.d.ts +0 -11
  510. package/lib/util/models/referential/participant.model.d.ts +0 -11
  511. package/lib/util/models/referential/person.model.d.ts +0 -13
  512. package/lib/util/models/referential/project-status.model.d.ts +0 -6
  513. package/lib/util/models/referential/quota.model.d.ts +0 -7
  514. package/lib/util/models/referential/referential-entity-state.model.d.ts +0 -11
  515. package/lib/util/models/referential/referential-value.model.d.ts +0 -11
  516. package/lib/util/models/referential/referentiel.model.d.ts +0 -12
  517. package/lib/util/models/referential/restriction.model.d.ts +0 -9
  518. package/lib/util/models/referential/sap-order.model.d.ts +0 -27
  519. package/lib/util/models/referential/service-error.model.d.ts +0 -13
  520. package/lib/util/models/referential/sound.model.d.ts +0 -6
  521. package/lib/util/models/referential/territories-languages.model.d.ts +0 -8
  522. package/lib/util/models/referential/territory-filter.model.d.ts +0 -6
  523. package/lib/util/models/referential/territory.model.d.ts +0 -12
  524. package/lib/util/models/referential/theme.model.d.ts +0 -7
  525. package/lib/util/models/referential/third-party-address-rapid-search.model.d.ts +0 -8
  526. package/lib/util/models/referential/third-party-creation-request.model.d.ts +0 -48
  527. package/lib/util/models/referential/third-party-module.model.d.ts +0 -11
  528. package/lib/util/models/referential/third-party-rapid-search.model.d.ts +0 -8
  529. package/lib/util/models/referential/third-party.model.d.ts +0 -45
  530. package/lib/util/models/referential/translated-value-model.d.ts +0 -10
  531. package/lib/util/models/referential/tva.model.d.ts +0 -7
  532. package/lib/util/models/referential/type-export.model.d.ts +0 -7
  533. package/lib/util/models/referential/type-tva-company-territory.model.d.ts +0 -18
  534. package/lib/util/models/referential/type-tva.model.d.ts +0 -10
  535. package/lib/util/models/referential/work-addons-model.d.ts +0 -25
  536. package/lib/util/models/referential/work-appartenance.model.d.ts +0 -7
  537. package/lib/util/models/referential/work-genre.model.d.ts +0 -11
  538. package/lib/util/models/referential/work-language.model.d.ts +0 -11
  539. package/lib/util/models/referential/work-milo.model.d.ts +0 -46
  540. package/lib/util/models/referential/work-participant.model.d.ts +0 -10
  541. package/lib/util/models/referential/work-restrictions-model.d.ts +0 -18
  542. package/lib/util/models/referential/work-theme.model.d.ts +0 -11
  543. package/lib/util/models/referential/work-title.model.d.ts +0 -10
  544. package/lib/util/models/referential/work-version-origin.model.d.ts +0 -10
  545. package/lib/util/models/referential/work-version-rapid-search.model.d.ts +0 -9
  546. package/lib/util/models/referential/work-versions-used.model.d.ts +0 -12
  547. package/lib/util/models/referential/work-versions.model.d.ts +0 -29
  548. package/lib/util/models/referential/work-year-production.model.d.ts +0 -6
  549. package/lib/util/models/referential/work.model.d.ts +0 -74
  550. package/lib/util/models/referential/zone.model.d.ts +0 -6
  551. package/lib/util/models/referentiel.model.d.ts +0 -12
  552. package/lib/util/models/search-response.model.d.ts +0 -7
  553. package/lib/util/models/section.model.d.ts +0 -7
  554. package/lib/util/models/select/options.model.d.ts +0 -6
  555. package/lib/util/models/select/select.model.d.ts +0 -5
  556. package/lib/util/models/subsidiary.model.d.ts +0 -7
  557. package/lib/util/models/subtitle-content.model.d.ts +0 -26
  558. package/lib/util/models/user-video.model.d.ts +0 -10
  559. package/lib/util/models/user.model.d.ts +0 -27
  560. package/lib/util/models/video/product-rapid-search.model.d.ts +0 -8
  561. package/lib/util/models/video/support-rapid-search.model.d.ts +0 -6
  562. package/lib/util/models/video-content.model.d.ts +0 -24
  563. package/lib/util/number.validator.d.ts +0 -14
  564. package/lib/util/paginator/custom-paginator-configuration.d.ts +0 -16
  565. package/lib/util/permissions/permissions.service.d.ts +0 -15
  566. package/lib/util/pipes/capitalizefirst.pipe.d.ts +0 -8
  567. package/lib/util/pipes/comma-separated-number.pipe.d.ts +0 -7
  568. package/lib/util/pipes/common-translate.pipe.d.ts +0 -12
  569. package/lib/util/pipes/display-html.pipe.d.ts +0 -10
  570. package/lib/util/pipes/display-null.pipe.d.ts +0 -8
  571. package/lib/util/pipes/format-currency.pipe.d.ts +0 -10
  572. package/lib/util/pipes/format-duration.pipe.d.ts +0 -7
  573. package/lib/util/pipes/format-number-input.pipe.d.ts +0 -7
  574. package/lib/util/pipes/local-date.pipe.d.ts +0 -9
  575. package/lib/util/pipes/my-number.pipe.d.ts +0 -11
  576. package/lib/util/pipes/third-party-address-search.pipe.d.ts +0 -8
  577. package/lib/util/pipes/third-party-address.pipe.d.ts +0 -8
  578. package/lib/util/pipes/trim-string.pipe.d.ts +0 -7
  579. package/lib/util/regex/regex.service.d.ts +0 -12
  580. package/lib/util/services/api/commercial-api.service.d.ts +0 -12
  581. package/lib/util/services/api/common-api.service.d.ts +0 -27
  582. package/lib/util/services/api/legal-api.service.d.ts +0 -15
  583. package/lib/util/services/api/video-api.service.d.ts +0 -17
  584. package/lib/util/services/auth/auth.service.d.ts +0 -9
  585. package/lib/util/services/elasticsearch/elasticsearch.service.d.ts +0 -35
  586. package/lib/util/services/elasticsearch/subsidiaries.service.d.ts +0 -12
  587. package/lib/util/services/form-action/form-actions-events.service.d.ts +0 -14
  588. package/lib/util/services/guard/auth.guard.d.ts +0 -2
  589. package/lib/util/services/guard/login.guard.d.ts +0 -1
  590. package/lib/util/services/history/history.service.d.ts +0 -10
  591. package/lib/util/services/interceptor/auth.interceptor.d.ts +0 -16
  592. package/lib/util/services/jwt-security/aes.service.d.ts +0 -12
  593. package/lib/util/services/jwt-security/interceptorhttp.service.d.ts +0 -8
  594. package/lib/util/services/jwt-security/jwt.helpher.d.ts +0 -4
  595. package/lib/util/services/storage/local-storage.service.d.ts +0 -13
  596. package/lib/util/services/storage/session-storage.service.d.ts +0 -13
  597. package/lib/util/services/translate-language/lang.service.d.ts +0 -14
  598. package/lib/util/services/user/user-subsidiary.service.d.ts +0 -9
  599. package/lib/util/sort.d.ts +0 -4
  600. package/lib/util/theme/theme-event.service.d.ts +0 -9
  601. package/lib/util/toaster/toaster-events.service.d.ts +0 -15
  602. package/lib/util/util.module.d.ts +0 -49
  603. /package/{lib/util/interfaces/permissions.interface.d.ts → src/lib/util/interfaces/permissions.interface.ts} +0 -0
@@ -0,0 +1,31 @@
1
+ import { CountryModel } from './coutry.model';
2
+
3
+ export class AdressModel {
4
+ constructor(
5
+ public id: number = 46,
6
+ public thirdPartyId: number = null,
7
+ public addressType: string = null,
8
+ public street1: string = null,
9
+ public street2: string = null,
10
+ public street3: string = null,
11
+ public bp: string = null,
12
+ public city: string = null,
13
+ public zipCode: string = null,
14
+ public country: CountryModel = null,
15
+ public tel: string = null,
16
+ public fax: string = null,
17
+ public email: string = null,
18
+ public checked = false,
19
+ public action: string = null
20
+ ) {
21
+ }
22
+
23
+ fromJSON(json) {
24
+ for (const propName in json) {
25
+ if (json.hasOwnProperty(propName)) {
26
+ this[propName] = json[propName];
27
+ }
28
+ }
29
+ return this;
30
+ }
31
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Created by vsliwka on 13/09/2017.
3
+ */
4
+ export class AttachedFileModel {
5
+ public id: number = null;
6
+ public name: string;
7
+ public path: string;
8
+ public url: string;
9
+
10
+ constructor() {
11
+ }
12
+
13
+ public fromJSON(json) {
14
+ for (const propName in json) {
15
+ if (json.hasOwnProperty(propName)) {
16
+ this[propName] = json[propName];
17
+ }
18
+ }
19
+ return this;
20
+ }
21
+ }
@@ -0,0 +1,25 @@
1
+ export class BankAccountModel {
2
+ constructor(
3
+ public id: number = 46,
4
+ public bankCountryCode: string = null,
5
+ public bankNumber: string = null,
6
+ public bankName: string = null,
7
+ public bankType: string = null,
8
+ public accountNumber: string = null,
9
+ public accountHolder: string = null,
10
+ public ribKey: string = null,
11
+ public paiementMode: string = null,
12
+ public accountDRGLT: string = null,
13
+ public accountGen: string = null
14
+ ) {
15
+ }
16
+
17
+ public fromJSON(json) {
18
+ for (const propName in json) {
19
+ if (json.hasOwnProperty(propName)) {
20
+ this[propName] = json[propName];
21
+ }
22
+ }
23
+ return this;
24
+ }
25
+ }
@@ -0,0 +1,34 @@
1
+ export class InvoiceBankAccountModel {
2
+ public id: number;
3
+ public activated: boolean = null;
4
+ public company: string = null;
5
+ public bankName: string = null;
6
+ public accountNumber: string = null;
7
+ public iban: string = null;
8
+ public swift: string = null;
9
+ public label: string = null;
10
+ public collectionAccount: boolean = null;
11
+ public address: string = null;
12
+ public currency: string = null;
13
+ public miloCode: string = null;
14
+
15
+ constructor() {
16
+ }
17
+
18
+ public fromJSON(json) {
19
+ for (const propName in json) {
20
+ if (json.hasOwnProperty(propName)) {
21
+ this[propName] = json[propName];
22
+ }
23
+ }
24
+ return this;
25
+ }
26
+
27
+ public fromJSONs(jsons) {
28
+ const refs: InvoiceBankAccountModel[] = [];
29
+ jsons.forEach(json => {
30
+ refs.push(new InvoiceBankAccountModel().fromJSON(json));
31
+ });
32
+ return refs;
33
+ }
34
+ }
@@ -0,0 +1,8 @@
1
+ export class BasicHierarchyModel {
2
+ constructor(
3
+ public id: number = null,
4
+ public label: string = null,
5
+ public idParents: number[] = []
6
+ ) {
7
+ }
8
+ }
@@ -0,0 +1,19 @@
1
+ export class BroadcastListItem {
2
+
3
+ public id: number;
4
+ public email: string;
5
+ public typeCode: string;
6
+ public thirdPartySapCode: string;
7
+
8
+ constructor() {
9
+ }
10
+
11
+ public fromJSON(json) {
12
+ for (let propName in json) {
13
+ if (json.hasOwnProperty(propName)) {
14
+ this[propName] = json[propName];
15
+ }
16
+ }
17
+ return this;
18
+ }
19
+ }
@@ -0,0 +1,16 @@
1
+ export class ColorModel {
2
+ constructor(
3
+ public id: number = null,
4
+ public label: string = null // public url: string = null,
5
+ ) {
6
+ }
7
+
8
+ public fromJSON(json) {
9
+ for (const propName in json) {
10
+ if (json.hasOwnProperty(propName)) {
11
+ this[propName] = json[propName];
12
+ }
13
+ }
14
+ return this;
15
+ }
16
+ }
@@ -0,0 +1,17 @@
1
+ export class CompanyModel {
2
+ public code: string = null;
3
+ public label: string = null;
4
+ public id: number = null;
5
+
6
+ constructor() {
7
+ }
8
+
9
+ public fromJSON(json) {
10
+ for (const propName in json) {
11
+ if (json.hasOwnProperty(propName)) {
12
+ this[propName] = json[propName];
13
+ }
14
+ }
15
+ return this;
16
+ }
17
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Created by vsliwka on 03/08/2017.
3
+ */
4
+ export class ContentTypeModel {
5
+ public id: number = null;
6
+ public label: string;
7
+ public category: string;
8
+ public code: string;
9
+ public codeBaseFileName: string;
10
+
11
+ constructor() {
12
+ }
13
+
14
+ public fromJSON(json) {
15
+ for (const propName in json) {
16
+ if (json.hasOwnProperty(propName)) {
17
+ this[propName] = json[propName];
18
+ }
19
+ }
20
+ return this;
21
+ }
22
+ }
@@ -0,0 +1,26 @@
1
+ export class ContentModel {
2
+ public id: number;
3
+ public label: string;
4
+
5
+ constructor() {
6
+ }
7
+
8
+ public fromJSON(json) {
9
+ for (const propName in json) {
10
+ if (json.hasOwnProperty(propName)) {
11
+ this[propName] = json[propName];
12
+ }
13
+ }
14
+ return this;
15
+ }
16
+
17
+ public fromJSONs(jsons) {
18
+ const refs: ContentModel[] = [];
19
+ if (jsons) {
20
+ jsons.forEach(json => {
21
+ refs.push(new ContentModel().fromJSON(json));
22
+ });
23
+ }
24
+ return refs;
25
+ }
26
+ }
@@ -0,0 +1,17 @@
1
+ export class CostCenterCriteriaValueModel {
2
+ public id: number;
3
+ public code: string;
4
+ public value: string = null;
5
+
6
+ constructor() {
7
+ }
8
+
9
+ fromJSON(json) {
10
+ for (const propName in json) {
11
+ if (json.hasOwnProperty(propName)) {
12
+ this[propName] = json[propName];
13
+ }
14
+ }
15
+ return this;
16
+ }
17
+ }
@@ -0,0 +1,23 @@
1
+ import { CostCenterCriteriaValueModel } from './cost-center-criteria-values.model';
2
+
3
+ export class CostCenterCriteriaModel {
4
+ public id: number;
5
+ public code: string;
6
+ public name: string;
7
+ public value: string;
8
+ public idCostCenterCriteriaValue: number;
9
+ public criteriaValues: CostCenterCriteriaValueModel[];
10
+ public codeCostCenterCriteriaValue: string;
11
+
12
+ constructor() {
13
+ }
14
+
15
+ public fromJSON(json) {
16
+ for (const propName in json) {
17
+ if (json.hasOwnProperty(propName)) {
18
+ this[propName] = json[propName];
19
+ }
20
+ }
21
+ return this;
22
+ }
23
+ }
@@ -0,0 +1,37 @@
1
+ import { CostCenterCriteriaModel } from './cost-center-criteria.model';
2
+ import { CompanyModel } from './company.model';
3
+ import { ReferentialEntityStateModel } from './referential-entity-state.model';
4
+
5
+ export class CostCenterModel {
6
+ public id: number = null;
7
+ public code: string = null;
8
+ public companyId: number = null;
9
+ public company: CompanyModel = null;
10
+ public doubling = false;
11
+ public entityStateDto: ReferentialEntityStateModel = null;
12
+ public label: string = null;
13
+ public criterias: CostCenterCriteriaModel[] = null;
14
+ public formattedLabel: string;
15
+
16
+ public formattedString: string;
17
+
18
+ constructor() {
19
+ }
20
+
21
+ public fromJSON(json) {
22
+ for (const propName in json) {
23
+ if (json.hasOwnProperty(propName)) {
24
+ this[propName] = json[propName];
25
+ }
26
+ }
27
+ return this;
28
+ }
29
+
30
+ public fromJSONs(jsons) {
31
+ const refs: CostCenterModel[] = [];
32
+ jsons.forEach(json => {
33
+ refs.push(new CostCenterModel().fromJSON(json));
34
+ });
35
+ return refs;
36
+ }
37
+ }
@@ -0,0 +1,17 @@
1
+ export class CountryModel {
2
+ constructor(
3
+ public id: number = -1,
4
+ public isoCode: string = null,
5
+ public label: string = null
6
+ ) {
7
+ }
8
+
9
+ public fromJSON(json) {
10
+ for (const propName in json) {
11
+ if (json.hasOwnProperty(propName)) {
12
+ this[propName] = json[propName];
13
+ }
14
+ }
15
+ return this;
16
+ }
17
+ }
@@ -0,0 +1,22 @@
1
+ import { FixingModel } from './fixing.model';
2
+
3
+ export class CurrencyModel {
4
+ constructor(
5
+ public id: number = null,
6
+ public code: string = null,
7
+ public label: string = null,
8
+ public fixings: FixingModel[] = null,
9
+ public blocked = false,
10
+ public activated = true // public url: string = null,
11
+ ) {
12
+ }
13
+
14
+ public fromJSON(json) {
15
+ for (const propName in json) {
16
+ if (json.hasOwnProperty(propName)) {
17
+ this[propName] = json[propName];
18
+ }
19
+ }
20
+ return this;
21
+ }
22
+ }
@@ -0,0 +1,37 @@
1
+ import { ContentTypeModel } from './content-type.model';
2
+ import { WorkModel } from './work.model';
3
+ import { FSKModel } from './fsk.model';
4
+ import { FSKIndexModel } from './fsk-index.model';
5
+
6
+ /**
7
+ * Created by vsliwka on 03/08/2017.
8
+ */
9
+ export class EditorialContentModel {
10
+ public id: number;
11
+ public episodeId: number;
12
+ public contentType: ContentTypeModel;
13
+ public work: WorkModel;
14
+ public number: string;
15
+ public diffusionNum: string;
16
+ public film24Duration: string;
17
+ public film25Duration: string;
18
+ public duration: string;
19
+ public state: boolean;
20
+ public descriptionTitle: string;
21
+ public timeLineVersionName: string;
22
+ public fsks: FSKModel[];
23
+ public fsksIndex: FSKIndexModel[];
24
+
25
+ constructor() {
26
+ this.contentType = new ContentTypeModel();
27
+ }
28
+
29
+ public fromJSON(json) {
30
+ for (const propName in json) {
31
+ if (json.hasOwnProperty(propName)) {
32
+ this[propName] = json[propName];
33
+ }
34
+ }
35
+ return this;
36
+ }
37
+ }
@@ -0,0 +1,21 @@
1
+ import { CurrencyModel } from './currency.model';
2
+
3
+ export class FixingModel {
4
+ public id = -1;
5
+ public dateFixing: any = null;
6
+ public currency: CurrencyModel;
7
+ public rate = 0;
8
+ public codeCurrencyRef: string;
9
+
10
+ constructor() {
11
+ }
12
+
13
+ public fromJSON(json) {
14
+ for (const propName in json) {
15
+ if (json.hasOwnProperty(propName)) {
16
+ this[propName] = json[propName];
17
+ return this;
18
+ }
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,19 @@
1
+ export class FlatMediaModel {
2
+ constructor(
3
+ public id: number = null,
4
+ public label: string = null,
5
+ public idParent: number = null,
6
+ public highlight = false,
7
+ public disabled = false
8
+ ) {
9
+ }
10
+
11
+ public fromJSON(json) {
12
+ for (const propName in json) {
13
+ if (json.hasOwnProperty(propName)) {
14
+ this[propName] = json[propName];
15
+ }
16
+ }
17
+ return this;
18
+ }
19
+ }
@@ -0,0 +1,17 @@
1
+ export class FormatImageModel {
2
+ constructor(
3
+ public id: number = null,
4
+ public label: string = null,
5
+ public displayOrder: number = null
6
+ ) {
7
+ }
8
+
9
+ public fromJSON(json) {
10
+ for (const propName in json) {
11
+ if (json.hasOwnProperty(propName)) {
12
+ this[propName] = json[propName];
13
+ }
14
+ }
15
+ return this;
16
+ }
17
+ }
@@ -0,0 +1,16 @@
1
+ export class FormatTypeModel {
2
+ constructor(
3
+ public id: number = null,
4
+ public label: string = null // public url: string = null,
5
+ ) {
6
+ }
7
+
8
+ public fromJSON(json) {
9
+ for (const propName in json) {
10
+ if (json.hasOwnProperty(propName)) {
11
+ this[propName] = json[propName];
12
+ }
13
+ }
14
+ return this;
15
+ }
16
+ }
@@ -0,0 +1,17 @@
1
+ export class FormatModel {
2
+ constructor(
3
+ public id: number = null,
4
+ public label: string = null,
5
+ public codeFormat: string = null // public url: string = null,
6
+ ) {
7
+ }
8
+
9
+ public fromJSON(json) {
10
+ for (const propName in json) {
11
+ if (json.hasOwnProperty(propName)) {
12
+ this[propName] = json[propName];
13
+ }
14
+ }
15
+ return this;
16
+ }
17
+ }
@@ -0,0 +1,36 @@
1
+ import { ReferentialValueModel } from './referential-value.model';
2
+ import { AttachedFileModel } from './attached-file.model';
3
+
4
+ /**
5
+ * Created by hbentaher on 23/08/2017.
6
+ */
7
+ export class FSKIndexModel {
8
+ public id: number;
9
+ public editorialContentId: number;
10
+ public comments: string;
11
+ public dateIndexing: string;
12
+ public judgement: string;
13
+ public indexingNumber: string;
14
+ public provider: string;
15
+ public publication: string;
16
+ public indexingRuntime: string;
17
+ public sourceData: string;
18
+ public category: ReferentialValueModel;
19
+ public listab: ReferentialValueModel;
20
+ public attachedFiles: AttachedFileModel[];
21
+
22
+ constructor() {
23
+ this.category = new ReferentialValueModel();
24
+ this.listab = new ReferentialValueModel();
25
+ this.attachedFiles = [];
26
+ }
27
+
28
+ public fromJSON(json) {
29
+ for (const propName in json) {
30
+ if (json.hasOwnProperty(propName)) {
31
+ this[propName] = json[propName];
32
+ }
33
+ }
34
+ return this;
35
+ }
36
+ }
@@ -0,0 +1,53 @@
1
+ import { TerritoryModel } from './territory.model';
2
+ import { LanguageModel } from './language.model';
3
+ import { ReferentialValueModel } from './referential-value.model';
4
+ import { AttachedFileModel } from './attached-file.model';
5
+
6
+ /**
7
+ * Created by hbentaher on 23/08/2017.
8
+ */
9
+ export class FSKModel {
10
+ public id: number;
11
+ public comments: string;
12
+ public dateAgeRating: string;
13
+ public lengthMeter: string;
14
+ public workId: number;
15
+ public lengthMinute: string;
16
+ public lengthRuntime: string;
17
+ public checkNumber: string;
18
+ public restrictions: boolean;
19
+ public indexed: boolean;
20
+ public sundayBHA: boolean;
21
+ public country: TerritoryModel;
22
+ public language: LanguageModel;
23
+ public subTitle: LanguageModel;
24
+ public duration24: number;
25
+ public duration25: number;
26
+ public dateOfAgeRating: string;
27
+ public oldLength: string;
28
+ public provider: string;
29
+ public ageRating: ReferentialValueModel;
30
+ public category: ReferentialValueModel;
31
+ public medium: ReferentialValueModel;
32
+ public refProvider: ReferentialValueModel;
33
+ public editorialContentId: number;
34
+ public versionTimeStamp: string;
35
+ public attachedFiles: AttachedFileModel[];
36
+
37
+ constructor() {
38
+ this.ageRating = new ReferentialValueModel();
39
+ this.medium = new ReferentialValueModel();
40
+ this.refProvider = new ReferentialValueModel();
41
+ this.category = new ReferentialValueModel();
42
+ this.attachedFiles = [];
43
+ }
44
+
45
+ public fromJSON(json) {
46
+ for (const propName in json) {
47
+ if (json.hasOwnProperty(propName)) {
48
+ this[propName] = json[propName];
49
+ }
50
+ }
51
+ return this;
52
+ }
53
+ }
@@ -0,0 +1,25 @@
1
+ export class FunctionModel {
2
+ public id = 0;
3
+ public label = '';
4
+ public order = 0;
5
+
6
+ constructor() {
7
+ }
8
+
9
+ fromJSON(json) {
10
+ for (const propName in json) {
11
+ if (json.hasOwnProperty(propName)) {
12
+ this[propName] = json[propName];
13
+ }
14
+ }
15
+ return this;
16
+ }
17
+
18
+ public fromJSONs(jsons) {
19
+ const refs: FunctionModel[] = [];
20
+ jsons.forEach(json => {
21
+ refs.push(new FunctionModel().fromJSON(json));
22
+ });
23
+ return refs;
24
+ }
25
+ }
@@ -0,0 +1,17 @@
1
+ export class GenreModel {
2
+ constructor(
3
+ public id: number = null,
4
+ public order: string = null,
5
+ public label: string = null // public url: string = null,
6
+ ) {
7
+ }
8
+
9
+ public fromJSON(json) {
10
+ for (const propName in json) {
11
+ if (json.hasOwnProperty(propName)) {
12
+ this[propName] = json[propName];
13
+ }
14
+ }
15
+ return this;
16
+ }
17
+ }
@@ -0,0 +1,24 @@
1
+ export class InvoiceProductTypeModel {
2
+ public id = 0;
3
+ public label = '';
4
+
5
+ constructor() {
6
+ }
7
+
8
+ public fromJSON(json) {
9
+ for (const propName in json) {
10
+ if (json.hasOwnProperty(propName)) {
11
+ this[propName] = json[propName];
12
+ }
13
+ }
14
+ return this;
15
+ }
16
+
17
+ public fromJSONs(jsons) {
18
+ const refs: InvoiceProductTypeModel[] = [];
19
+ jsons.forEach(json => {
20
+ refs.push(new InvoiceProductTypeModel().fromJSON(json));
21
+ });
22
+ return refs;
23
+ }
24
+ }
@@ -0,0 +1,16 @@
1
+ export class KeywordsModel {
2
+ id: number;
3
+ label: string;
4
+
5
+ constructor() {
6
+ }
7
+
8
+ public fromJSON(json) {
9
+ for (const propName in json) {
10
+ if (json.hasOwnProperty(propName)) {
11
+ this[propName] = json[propName];
12
+ }
13
+ }
14
+ return this;
15
+ }
16
+ }