@dflat-core/web 1.0.0-beta

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 (555) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +94 -0
  3. package/assets/bootswatch.scss +100 -0
  4. package/assets/buttons.scss +70 -0
  5. package/assets/components/datagrid.scss +138 -0
  6. package/assets/components/fonts.scss +24 -0
  7. package/assets/components/login.scss +59 -0
  8. package/assets/components/menu.scss +0 -0
  9. package/assets/components/modals.scss +62 -0
  10. package/assets/components/select.scss +387 -0
  11. package/assets/fonts/ErasITC-Bold/ErasITC-Bold.eot +0 -0
  12. package/assets/fonts/ErasITC-Bold/ErasITC-Bold.svg +748 -0
  13. package/assets/fonts/ErasITC-Bold/ErasITC-Bold.ttf +0 -0
  14. package/assets/fonts/ErasITC-Bold/ErasITC-Bold.woff +0 -0
  15. package/assets/fonts/SegoeUI/SegoeUI.eot +0 -0
  16. package/assets/fonts/SegoeUI/SegoeUI.svg +15203 -0
  17. package/assets/fonts/SegoeUI/SegoeUI.ttf +0 -0
  18. package/assets/fonts/SegoeUI/SegoeUI.woff +0 -0
  19. package/assets/fonts/SegoeUI/preview.html +132 -0
  20. package/assets/fonts/SegoeUI/styles.css +7 -0
  21. package/assets/fonts/SegoeUI-Light/SegoeUI-Light.eot +0 -0
  22. package/assets/fonts/SegoeUI-Light/SegoeUI-Light.svg +27429 -0
  23. package/assets/fonts/SegoeUI-Light/SegoeUI-Light.ttf +0 -0
  24. package/assets/fonts/SegoeUI-Light/SegoeUI-Light.woff +0 -0
  25. package/assets/fonts/SegoeUI-Light/preview.html +132 -0
  26. package/assets/fonts/SegoeUI-Light/styles.css +7 -0
  27. package/assets/forms.scss +342 -0
  28. package/assets/images/Algerie.png +0 -0
  29. package/assets/images/Burkina Faso.png +0 -0
  30. package/assets/images/Cameroun.png +0 -0
  31. package/assets/images/Cara/303/257bes.png +0 -0
  32. package/assets/images/Congo.png +0 -0
  33. package/assets/images/C/303/264te d'Ivoire.png +0 -0
  34. package/assets/images/France.png +0 -0
  35. package/assets/images/Gabon.png +0 -0
  36. package/assets/images/Ile Maurice.png +0 -0
  37. package/assets/images/LogoMarsow.svg +1 -0
  38. package/assets/images/Maroc.png +0 -0
  39. package/assets/images/Menu.svg +3 -0
  40. package/assets/images/R/303/251union.png +0 -0
  41. package/assets/images/S/303/251n/303/251gal.png +0 -0
  42. package/assets/images/Tunisie.png +0 -0
  43. package/assets/images/Unchecked.svg +25 -0
  44. package/assets/images/account.svg +3 -0
  45. package/assets/images/adresslabel1.svg +3 -0
  46. package/assets/images/adresslabel2.svg +3 -0
  47. package/assets/images/allergen.svg +3 -0
  48. package/assets/images/arrow-up-1-9.svg +1 -0
  49. package/assets/images/attention.svg +3 -0
  50. package/assets/images/backward.svg +1 -0
  51. package/assets/images/ban.svg +1 -0
  52. package/assets/images/book-open.svg +1 -0
  53. package/assets/images/book-solid.svg +2 -0
  54. package/assets/images/border-all.svg +1 -0
  55. package/assets/images/boxes-packing-solid.svg +2 -0
  56. package/assets/images/calculator-solid.svg +1 -0
  57. package/assets/images/calendar.svg +3 -0
  58. package/assets/images/chatting.svg +3 -0
  59. package/assets/images/check.svg +3 -0
  60. package/assets/images/checkmark.png +0 -0
  61. package/assets/images/circle-check-solid.svg +2 -0
  62. package/assets/images/circle-info.svg +1 -0
  63. package/assets/images/circle-radiation-solid.svg +2 -0
  64. package/assets/images/circle-solid.svg +1 -0
  65. package/assets/images/circlecheck.svg +3 -0
  66. package/assets/images/circlecross.svg +3 -0
  67. package/assets/images/circleminus.svg +3 -0
  68. package/assets/images/circleplus.svg +3 -0
  69. package/assets/images/circularoption.svg +1 -0
  70. package/assets/images/circularoptionselected.svg +1 -0
  71. package/assets/images/classification-tool.svg +3 -0
  72. package/assets/images/click-collect.svg +1 -0
  73. package/assets/images/clientlocation.svg +9 -0
  74. package/assets/images/cloud-arrow-down-solid.svg +1 -0
  75. package/assets/images/cloud-arrow-up-solid.svg +1 -0
  76. package/assets/images/contact.svg +3 -0
  77. package/assets/images/cross.svg +3 -0
  78. package/assets/images/delivery-square.svg +32 -0
  79. package/assets/images/delivery.svg +3 -0
  80. package/assets/images/deliverymanlocation.svg +28 -0
  81. package/assets/images/dolly-solid.svg +1 -0
  82. package/assets/images/down.svg +3 -0
  83. package/assets/images/download.svg +1 -0
  84. package/assets/images/edition.svg +3 -0
  85. package/assets/images/email.svg +3 -0
  86. package/assets/images/emptyheart.svg +3 -0
  87. package/assets/images/emptystar.svg +3 -0
  88. package/assets/images/erase.svg +1 -0
  89. package/assets/images/error.png +0 -0
  90. package/assets/images/error.svg +1 -0
  91. package/assets/images/favicon.ico +0 -0
  92. package/assets/images/file-arrow-down-solid.svg +2 -0
  93. package/assets/images/file-arrow-up-solid.svg +1 -0
  94. package/assets/images/file-csv-solid.svg +2 -0
  95. package/assets/images/file-excel-solid.svg +2 -0
  96. package/assets/images/file-export-solid.svg +1 -0
  97. package/assets/images/file-image-solid.svg +2 -0
  98. package/assets/images/file-invoice-solid.svg +2 -0
  99. package/assets/images/file-lines-solid.svg +2 -0
  100. package/assets/images/file-pdf-solid.svg +2 -0
  101. package/assets/images/file-solid.svg +2 -0
  102. package/assets/images/file-word-solid.svg +2 -0
  103. package/assets/images/file-zipper-solid.svg +2 -0
  104. package/assets/images/files-o.svg +1 -0
  105. package/assets/images/filter-circle-xmark-solid.svg +1 -0
  106. package/assets/images/filter-solid.svg +2 -0
  107. package/assets/images/filter.svg +3 -0
  108. package/assets/images/filter1.svg +3 -0
  109. package/assets/images/filter2.svg +3 -0
  110. package/assets/images/filterdelete.svg +3 -0
  111. package/assets/images/folder.svg +3 -0
  112. package/assets/images/forward.svg +1 -0
  113. package/assets/images/fullheart.svg +3 -0
  114. package/assets/images/fullstar.svg +3 -0
  115. package/assets/images/halfstar.svg +3 -0
  116. package/assets/images/hand-point-down.svg +1 -0
  117. package/assets/images/hand-point-left.svg +1 -0
  118. package/assets/images/hand-point-right.svg +1 -0
  119. package/assets/images/hand-point-up.svg +1 -0
  120. package/assets/images/history.svg +4 -0
  121. package/assets/images/home.svg +3 -0
  122. package/assets/images/info-circle.svg +1 -0
  123. package/assets/images/information.png +0 -0
  124. package/assets/images/ingredient.svg +3 -0
  125. package/assets/images/left.svg +3 -0
  126. package/assets/images/location.svg +3 -0
  127. package/assets/images/map-marker.svg +6 -0
  128. package/assets/images/map.svg +3 -0
  129. package/assets/images/minus.svg +3 -0
  130. package/assets/images/neworder.svg +3 -0
  131. package/assets/images/notification.svg +3 -0
  132. package/assets/images/ordercollected.svg +3 -0
  133. package/assets/images/orderconfirmed.svg +8 -0
  134. package/assets/images/orderdelivered.svg +3 -0
  135. package/assets/images/orderindelivering.svg +3 -0
  136. package/assets/images/orderinpreparation.svg +3 -0
  137. package/assets/images/orderprepared.svg +3 -0
  138. package/assets/images/orderrefused.svg +8 -0
  139. package/assets/images/pencil.svg +1 -0
  140. package/assets/images/picture-editor-V3.svg +11 -0
  141. package/assets/images/picture-export-v3.svg +5 -0
  142. package/assets/images/picture-import-v3.svg +5 -0
  143. package/assets/images/plus-square.svg +1 -0
  144. package/assets/images/plus.svg +3 -0
  145. package/assets/images/power-off.svg +1 -0
  146. package/assets/images/print.svg +3 -0
  147. package/assets/images/refresh.svg +1 -0
  148. package/assets/images/return.svg +40 -0
  149. package/assets/images/right.svg +3 -0
  150. package/assets/images/sale.svg +3 -0
  151. package/assets/images/save.svg +2 -0
  152. package/assets/images/schedule.svg +3 -0
  153. package/assets/images/search-sprite.png +0 -0
  154. package/assets/images/search.svg +3 -0
  155. package/assets/images/selection.svg +3 -0
  156. package/assets/images/separator_back.png +0 -0
  157. package/assets/images/setting.svg +3 -0
  158. package/assets/images/ship-solid.svg +1 -0
  159. package/assets/images/shoppingbag.svg +3 -0
  160. package/assets/images/squareoption.svg +1 -0
  161. package/assets/images/squareoptionselected.svg +1 -0
  162. package/assets/images/star-of-life-solid.svg +2 -0
  163. package/assets/images/step-backward.svg +7 -0
  164. package/assets/images/step-forward.svg +7 -0
  165. package/assets/images/store-square.svg +19 -0
  166. package/assets/images/store.png +0 -0
  167. package/assets/images/store.svg +3 -0
  168. package/assets/images/storelocation.svg +6 -0
  169. package/assets/images/table-columns.svg +1 -0
  170. package/assets/images/tag.svg +22 -0
  171. package/assets/images/times-circle-solid.svg +1 -0
  172. package/assets/images/trash-o.svg +3 -0
  173. package/assets/images/triangle-down.svg +3 -0
  174. package/assets/images/triangle-up.svg +3 -0
  175. package/assets/images/truck-solid.svg +1 -0
  176. package/assets/images/up.svg +3 -0
  177. package/assets/images/upload.svg +1 -0
  178. package/assets/images/user-square.svg +10 -0
  179. package/assets/images/user.svg +13 -0
  180. package/assets/images/warning.png +0 -0
  181. package/assets/images/warning.svg +5 -0
  182. package/assets/images/watch.svg +3 -0
  183. package/assets/modals.scss +104 -0
  184. package/assets/property.scss +113 -0
  185. package/assets/shared.scss +157 -0
  186. package/assets/site.scss +374 -0
  187. package/assets/text.scss +162 -0
  188. package/assets/variables.scss +91 -0
  189. package/core/index.d.ts +6 -0
  190. package/core/lib/array.function.d.ts +8 -0
  191. package/core/lib/core.module.d.ts +9 -0
  192. package/core/lib/global/EnvironmentBase.d.ts +7 -0
  193. package/core/lib/nameof.function.d.ts +4 -0
  194. package/core/lib/services/ensuremoduleloadedonceguard.d.ts +3 -0
  195. package/core/lib/services/utilities.service.d.ts +87 -0
  196. package/core-data/index.d.ts +3 -0
  197. package/core-data/lib/core-data.module.d.ts +7 -0
  198. package/core-data/lib/services/data-service.d.ts +68 -0
  199. package/core-data/lib/services/entity-data-service.d.ts +37 -0
  200. package/core-model/index.d.ts +4 -0
  201. package/core-model/lib/core-model.module.d.ts +7 -0
  202. package/core-model/lib/interface.d.ts +140 -0
  203. package/core-model/lib/model/interface.generated.d.ts +286 -0
  204. package/core-model/lib/model/model.d.ts +38 -0
  205. package/core-services/index.d.ts +23 -0
  206. package/core-services/lib/core-services.module.d.ts +10 -0
  207. package/core-services/lib/model/model.d.ts +25 -0
  208. package/core-services/lib/services/app-keys.d.ts +15 -0
  209. package/core-services/lib/services/appConfig.service.d.ts +8 -0
  210. package/core-services/lib/services/auth-guard.service.d.ts +18 -0
  211. package/core-services/lib/services/auth.interceptor.d.ts +15 -0
  212. package/core-services/lib/services/auth.service.d.ts +67 -0
  213. package/core-services/lib/services/breadcrumb.service.d.ts +14 -0
  214. package/core-services/lib/services/busmessage.service.d.ts +19 -0
  215. package/core-services/lib/services/can-activate-guard.service.d.ts +12 -0
  216. package/core-services/lib/services/filter.service.d.ts +15 -0
  217. package/core-services/lib/services/geolocation.service.d.ts +29 -0
  218. package/core-services/lib/services/headers.service.d.ts +15 -0
  219. package/core-services/lib/services/hub.service.d.ts +33 -0
  220. package/core-services/lib/services/local-store-manager.service.d.ts +50 -0
  221. package/core-services/lib/services/menu.service.d.ts +27 -0
  222. package/core-services/lib/services/message.service.d.ts +14 -0
  223. package/core-services/lib/services/notifications.service.d.ts +14 -0
  224. package/core-services/lib/services/permission.service.d.ts +12 -0
  225. package/core-services/lib/services/screen.service.d.ts +14 -0
  226. package/core-services/lib/services/server-url.d.ts +12 -0
  227. package/core-services/lib/services/string.function.d.ts +1 -0
  228. package/core-services/lib/services/user.service.d.ts +22 -0
  229. package/core-ux/index.d.ts +144 -0
  230. package/core-ux/lib/components/actions/actions-content.component.d.ts +10 -0
  231. package/core-ux/lib/components/actions/actions.component.d.ts +57 -0
  232. package/core-ux/lib/components/actions/extended-action/extended-action.component.d.ts +34 -0
  233. package/core-ux/lib/components/base-editor/base-editor.component.d.ts +93 -0
  234. package/core-ux/lib/components/base-item-list/base-item-list.component.d.ts +21 -0
  235. package/core-ux/lib/components/basefilter/basefilter.component.d.ts +275 -0
  236. package/core-ux/lib/components/breadcrumb/breadcrumb.component.d.ts +12 -0
  237. package/core-ux/lib/components/datagrid-custom/datagrid-cell/datagrid-cell.component.d.ts +32 -0
  238. package/core-ux/lib/components/datagrid-custom/datagrid-custom.component.d.ts +159 -0
  239. package/core-ux/lib/components/datagrid-custom/datagrid-sorter.component.d.ts +15 -0
  240. package/core-ux/lib/components/datapage/layout-page/page-layout.component.d.ts +13 -0
  241. package/core-ux/lib/components/datapage/old/old.datapage.component.d.ts +10 -0
  242. package/core-ux/lib/components/datapage/old-layout-handler.directive.d.ts +31 -0
  243. package/core-ux/lib/components/dynamic-components/dynamic-field/dynamic-field.component.d.ts +41 -0
  244. package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-extra.component.d.ts +27 -0
  245. package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-panel.component.d.ts +8 -0
  246. package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter.component.d.ts +54 -0
  247. package/core-ux/lib/components/dynamic-components/dynamic-form/dynamic-form.component.d.ts +122 -0
  248. package/core-ux/lib/components/filtersummary/filtersummary.component.d.ts +27 -0
  249. package/core-ux/lib/components/form-password/form-password.component.d.ts +9 -0
  250. package/core-ux/lib/components/grid-row/grid-row.component.d.ts +12 -0
  251. package/core-ux/lib/components/image-display/image.component.d.ts +20 -0
  252. package/core-ux/lib/components/input-selector/input-selector.component.d.ts +50 -0
  253. package/core-ux/lib/components/input-tree-selector/input-tree-selector.component.d.ts +25 -0
  254. package/core-ux/lib/components/logs/logs.component.d.ts +32 -0
  255. package/core-ux/lib/components/menu/menu.component.d.ts +39 -0
  256. package/core-ux/lib/components/menu-dashboard/menu-dashboard.component.d.ts +15 -0
  257. package/core-ux/lib/components/paginator/paginator.component.d.ts +17 -0
  258. package/core-ux/lib/components/parameter-field/parameter-field.component.d.ts +13 -0
  259. package/core-ux/lib/components/parameter-field/parameter-types/base-array-parameter-type.component.d.ts +16 -0
  260. package/core-ux/lib/components/parameter-field/parameter-types/base-parameter-type.component.d.ts +21 -0
  261. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool/parameter-type-bool.component.d.ts +9 -0
  262. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool-array/parameter-type-bool-array.component.d.ts +12 -0
  263. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date/parameter-type-date.component.d.ts +16 -0
  264. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date-array/parameter-type-date-array.component.d.ts +17 -0
  265. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number/parameter-type-number.component.d.ts +6 -0
  266. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number-array/parameter-type-number-array.component.d.ts +6 -0
  267. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-password/parameter-type-password.component.d.ts +9 -0
  268. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text/parameter-type-text.component.d.ts +7 -0
  269. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text-array/parameter-type-text-array.component.d.ts +6 -0
  270. package/core-ux/lib/components/property-grid/property-grid.component.d.ts +125 -0
  271. package/core-ux/lib/components/search-results/search-results.component.d.ts +7 -0
  272. package/core-ux/lib/components/tab/tab.component.d.ts +14 -0
  273. package/core-ux/lib/components/tabset/tabset.component.d.ts +15 -0
  274. package/core-ux/lib/components/text-viewer/text-viewer.component.d.ts +21 -0
  275. package/core-ux/lib/components/time-picker/time-picker.component.d.ts +27 -0
  276. package/core-ux/lib/components/tree/tree.component.d.ts +39 -0
  277. package/core-ux/lib/components/validation-error/validation-error.component.d.ts +8 -0
  278. package/core-ux/lib/components/wizard/wizard-step/wizard-step.component.d.ts +26 -0
  279. package/core-ux/lib/components/wizard/wizard.component.d.ts +29 -0
  280. package/core-ux/lib/core-ux.module.d.ts +102 -0
  281. package/core-ux/lib/directives/addclass.directive.d.ts +11 -0
  282. package/core-ux/lib/directives/collapse.directive.d.ts +34 -0
  283. package/core-ux/lib/directives/draggable.directive.d.ts +39 -0
  284. package/core-ux/lib/directives/droppable.directive.d.ts +55 -0
  285. package/core-ux/lib/directives/editMode.directive.d.ts +8 -0
  286. package/core-ux/lib/directives/focusable.directive.d.ts +16 -0
  287. package/core-ux/lib/directives/insertion.directive.d.ts +8 -0
  288. package/core-ux/lib/directives/onEnter.directive.d.ts +11 -0
  289. package/core-ux/lib/directives/tab-heading.d.ts +8 -0
  290. package/core-ux/lib/directives/tab-transclude.d.ts +11 -0
  291. package/core-ux/lib/directives/tooltip.directive.d.ts +16 -0
  292. package/core-ux/lib/directives/validate-on-enter.directive.d.ts +10 -0
  293. package/core-ux/lib/directives/viewMode.directive.d.ts +8 -0
  294. package/core-ux/lib/layout/default/default-layout.d.ts +36 -0
  295. package/core-ux/lib/layout/login/login-layout.d.ts +9 -0
  296. package/core-ux/lib/log.service.d.ts +8 -0
  297. package/core-ux/lib/modals/confirm-modal/confirm-modal.component.d.ts +17 -0
  298. package/core-ux/lib/modals/dialog/dialog.component.d.ts +57 -0
  299. package/core-ux/lib/modals/dialog-component.tokens.d.ts +3 -0
  300. package/core-ux/lib/modals/export-data-modal/export-data-modal.component.d.ts +11 -0
  301. package/core-ux/lib/modals/track-record-modal/track-record-modal.component.d.ts +21 -0
  302. package/core-ux/lib/modals/validation-modal/validation-modal.component.d.ts +24 -0
  303. package/core-ux/lib/model/datagrid.d.ts +194 -0
  304. package/core-ux/lib/model/model.d.ts +222 -0
  305. package/core-ux/lib/model/tree.d.ts +12 -0
  306. package/core-ux/lib/pipes/euro.pipe.d.ts +9 -0
  307. package/core-ux/lib/pipes/todefine.pipe.d.ts +8 -0
  308. package/core-ux/lib/pipes/tofixedsizeinteger.pipe.d.ts +8 -0
  309. package/core-ux/lib/services/action.service.d.ts +42 -0
  310. package/core-ux/lib/services/alert.service.d.ts +51 -0
  311. package/core-ux/lib/services/application.service.d.ts +73 -0
  312. package/core-ux/lib/services/can-deactivate-guard.d.ts +12 -0
  313. package/core-ux/lib/services/drag.service.d.ts +54 -0
  314. package/core-ux/lib/services/fire-authentication.service.d.ts +13 -0
  315. package/core-ux/lib/services/image.service.d.ts +15 -0
  316. package/core-ux/lib/services/modal-state.service.d.ts +26 -0
  317. package/core-ux/lib/services/modal.service.d.ts +30 -0
  318. package/core-ux/lib/services/presentation-profile.token.d.ts +40 -0
  319. package/core-ux/lib/services/selectorMapperBase.service.d.ts +36 -0
  320. package/core-ux/lib/v2/components/actions-panel/action-panel.component.d.ts +48 -0
  321. package/core-ux/lib/v2/components/base-component/base-component.d.ts +80 -0
  322. package/core-ux/lib/v2/components/cell-renderer/cell-renderer.component.d.ts +11 -0
  323. package/core-ux/lib/v2/components/data-grid/data-grid.component.d.ts +104 -0
  324. package/core-ux/lib/v2/components/data-grid/grid-field-descriptor/grid-field.component.d.ts +55 -0
  325. package/core-ux/lib/v2/components/data-list/data-list.component.d.ts +29 -0
  326. package/core-ux/lib/v2/components/editor-tab/editor-tab.component.d.ts +15 -0
  327. package/core-ux/lib/v2/components/editor-tabset/editor-tabset.component.d.ts +18 -0
  328. package/core-ux/lib/v2/components/field-descriptor/field.component.d.ts +61 -0
  329. package/core-ux/lib/v2/components/filter-form/filter-form.component.d.ts +12 -0
  330. package/core-ux/lib/v2/components/filter-summary/filter-summary.component.d.ts +34 -0
  331. package/core-ux/lib/v2/components/new-editor/new-editor.component.d.ts +66 -0
  332. package/core-ux/lib/v2/components/new-paginator/new-paginator.component.d.ts +31 -0
  333. package/core-ux/lib/v2/components/orderable/orderable-modal.component.d.ts +36 -0
  334. package/core-ux/lib/v2/components/orderable/orderable-modal.service.d.ts +11 -0
  335. package/core-ux/lib/v2/components/orderable/orderable.interface.d.ts +52 -0
  336. package/core-ux/lib/v2/components/property-editor/property-editor-component.d.ts +89 -0
  337. package/core-ux/lib/v2/components/selector/selector-registry.service.d.ts +9 -0
  338. package/core-ux/lib/v2/components/selector/selector.component.d.ts +33 -0
  339. package/core-ux/lib/v2/components/selector/selector.model.d.ts +19 -0
  340. package/core-ux/lib/v2/components/standard-page-layout/standard-page-layout.component.d.ts +29 -0
  341. package/core-ux/lib/v2/directives/base-shortcut.directive.d.ts +15 -0
  342. package/core-ux/lib/v2/directives/hide-on-threshold.directive.d.ts +20 -0
  343. package/core-ux/lib/v2/directives/layout-handler.directive.d.ts +54 -0
  344. package/core-ux/lib/v2/directives/row-ref.directive.d.ts +21 -0
  345. package/core-ux/lib/v2/models/aggregation-model.d.ts +8 -0
  346. package/core-ux/lib/v2/models/contexts/action-context.d.ts +66 -0
  347. package/core-ux/lib/v2/models/contexts/action-handler-context.d.ts +49 -0
  348. package/core-ux/lib/v2/models/contexts/base-form-context.d.ts +42 -0
  349. package/core-ux/lib/v2/models/contexts/change-detection-context.d.ts +41 -0
  350. package/core-ux/lib/v2/models/contexts/data-context.d.ts +25 -0
  351. package/core-ux/lib/v2/models/contexts/data-grid-style-context.d.ts +36 -0
  352. package/core-ux/lib/v2/models/contexts/editor-context.d.ts +30 -0
  353. package/core-ux/lib/v2/models/contexts/entity-config-context.d.ts +49 -0
  354. package/core-ux/lib/v2/models/contexts/filter-context.d.ts +49 -0
  355. package/core-ux/lib/v2/models/contexts/layout-context.d.ts +57 -0
  356. package/core-ux/lib/v2/models/contexts/logger-context.d.ts +5 -0
  357. package/core-ux/lib/v2/models/contexts/section-context.d.ts +73 -0
  358. package/core-ux/lib/v2/models/contexts/selection-context.d.ts +45 -0
  359. package/core-ux/lib/v2/models/entity-facade.d.ts +35 -0
  360. package/core-ux/lib/v2/models/guards/facade-load-guard.d.ts +35 -0
  361. package/core-ux/lib/v2/models/guards/filter-lifecycle-guard.d.ts +29 -0
  362. package/core-ux/lib/v2/models/states/sorting-state.d.ts +14 -0
  363. package/core-ux/lib/v2/models/utilities/action-definition.d.ts +38 -0
  364. package/core-ux/lib/v2/models/utilities/change-utilities.d.ts +11 -0
  365. package/core-ux/lib/v2/models/utilities/entity-updater.d.ts +11 -0
  366. package/core-ux/lib/v2/models/utilities/form-wrapper.d.ts +30 -0
  367. package/core-ux/lib/v2/models/utilities/row-registry.d.ts +15 -0
  368. package/core-ux/lib/v2/models/utilities/selection-styler.d.ts +15 -0
  369. package/core-ux/lib/v2/pipes/gridstyle.pipe.d.ts +15 -0
  370. package/core-ux/lib/v2/services/app-config.service.d.ts +22 -0
  371. package/core-ux/lib/v2/services/entity-facade-registry.service.d.ts +28 -0
  372. package/core-ux/lib/v2/services/facade-modal.service.d.ts +21 -0
  373. package/core-ux/lib/v2/services/layout.service.d.ts +93 -0
  374. package/core-ux/lib/v2/services/property-change-bus.service.d.ts +9 -0
  375. package/core-ux/lib/v2/services/selection.service.d.ts +23 -0
  376. package/core-ux/lib/v2/services/test.service.d.ts +7 -0
  377. package/core-ux/lib/v2/services/validation.service.d.ts +10 -0
  378. package/core-ux/lib/v2/services/view-model-loader.service.d.ts +13 -0
  379. package/fesm2022/dflat-core-web-core-data.mjs +431 -0
  380. package/fesm2022/dflat-core-web-core-data.mjs.map +1 -0
  381. package/fesm2022/dflat-core-web-core-model.mjs +245 -0
  382. package/fesm2022/dflat-core-web-core-model.mjs.map +1 -0
  383. package/fesm2022/dflat-core-web-core-services.mjs +1568 -0
  384. package/fesm2022/dflat-core-web-core-services.mjs.map +1 -0
  385. package/fesm2022/dflat-core-web-core-ux.mjs +16294 -0
  386. package/fesm2022/dflat-core-web-core-ux.mjs.map +1 -0
  387. package/fesm2022/dflat-core-web-core.mjs +743 -0
  388. package/fesm2022/dflat-core-web-core.mjs.map +1 -0
  389. package/fesm2022/dflat-core-web-system-data.mjs +1031 -0
  390. package/fesm2022/dflat-core-web-system-data.mjs.map +1 -0
  391. package/fesm2022/dflat-core-web-system-model.mjs +283 -0
  392. package/fesm2022/dflat-core-web-system-model.mjs.map +1 -0
  393. package/fesm2022/dflat-core-web-system-root.mjs +289 -0
  394. package/fesm2022/dflat-core-web-system-root.mjs.map +1 -0
  395. package/fesm2022/dflat-core-web-system-ux.mjs +5677 -0
  396. package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -0
  397. package/fesm2022/dflat-core-web.mjs +18 -0
  398. package/fesm2022/dflat-core-web.mjs.map +1 -0
  399. package/index.d.ts +1 -0
  400. package/package.json +82 -0
  401. package/scss/core-ux.scss +5 -0
  402. package/scss/images/circle-info.svg +1 -0
  403. package/scss/images/circlecross.svg +3 -0
  404. package/scss/images/circularoptionselected.svg +1 -0
  405. package/scss/images/error.png +0 -0
  406. package/scss/images/filter.svg +2 -0
  407. package/scss/images/information.png +0 -0
  408. package/scss/images/pen-solid.svg +1 -0
  409. package/scss/images/search-sprite.png +0 -0
  410. package/scss/images/search.svg +3 -0
  411. package/scss/images/warning.png +0 -0
  412. package/scss/layout/default/default-layout.scss +270 -0
  413. package/scss/layout/login/login-layout.scss +204 -0
  414. package/scss/styles/drag-and-drop.scss +36 -0
  415. package/scss/styles/forms.scss +94 -0
  416. package/scss/styles/shared.scss +222 -0
  417. package/system-data/index.d.ts +50 -0
  418. package/system-data/lib/data-services/account-service.generated.d.ts +20 -0
  419. package/system-data/lib/data-services/action-service.generated.d.ts +15 -0
  420. package/system-data/lib/data-services/address-service.generated.d.ts +10 -0
  421. package/system-data/lib/data-services/checkout-service.generated.d.ts +13 -0
  422. package/system-data/lib/data-services/company-service.generated.d.ts +10 -0
  423. package/system-data/lib/data-services/config-service.generated.d.ts +18 -0
  424. package/system-data/lib/data-services/country-service.generated.d.ts +10 -0
  425. package/system-data/lib/data-services/currency-service.generated.d.ts +10 -0
  426. package/system-data/lib/data-services/custom-field-group-entity-service.generated.d.ts +10 -0
  427. package/system-data/lib/data-services/custom-field-group-item-service.generated.d.ts +13 -0
  428. package/system-data/lib/data-services/custom-field-group-service.generated.d.ts +10 -0
  429. package/system-data/lib/data-services/custom-field-options-service.generated.d.ts +10 -0
  430. package/system-data/lib/data-services/custom-field-service.generated.d.ts +10 -0
  431. package/system-data/lib/data-services/error-category-service.generated.d.ts +12 -0
  432. package/system-data/lib/data-services/exchange-rate-detail-service.generated.d.ts +35 -0
  433. package/system-data/lib/data-services/exchange-rate-service.generated.d.ts +10 -0
  434. package/system-data/lib/data-services/file-service.generated.d.ts +26 -0
  435. package/system-data/lib/data-services/keyword-service.generated.d.ts +12 -0
  436. package/system-data/lib/data-services/meta-entity-field-service.generated.d.ts +10 -0
  437. package/system-data/lib/data-services/meta-entity-keyword-service.generated.d.ts +10 -0
  438. package/system-data/lib/data-services/meta-entity-service.generated.d.ts +10 -0
  439. package/system-data/lib/data-services/news-service.generated.d.ts +13 -0
  440. package/system-data/lib/data-services/parameter-service.generated.d.ts +10 -0
  441. package/system-data/lib/data-services/parameter-value-service.generated.d.ts +10 -0
  442. package/system-data/lib/data-services/permission-service.generated.d.ts +12 -0
  443. package/system-data/lib/data-services/permission-view-service.generated.d.ts +10 -0
  444. package/system-data/lib/data-services/plugin-parameter-value-service.generated.d.ts +10 -0
  445. package/system-data/lib/data-services/presentation-profile-item-service.generated.d.ts +14 -0
  446. package/system-data/lib/data-services/presentation-profile-service.generated.d.ts +13 -0
  447. package/system-data/lib/data-services/rating-service.generated.d.ts +14 -0
  448. package/system-data/lib/data-services/rating-summary-service.generated.d.ts +10 -0
  449. package/system-data/lib/data-services/rating-view-service.generated.d.ts +10 -0
  450. package/system-data/lib/data-services/request-result-service.generated.d.ts +12 -0
  451. package/system-data/lib/data-services/request-service.generated.d.ts +10 -0
  452. package/system-data/lib/data-services/resource-key-service.generated.d.ts +10 -0
  453. package/system-data/lib/data-services/resource-language-service.generated.d.ts +10 -0
  454. package/system-data/lib/data-services/resource-translation-view-service.generated.d.ts +10 -0
  455. package/system-data/lib/data-services/role-service.generated.d.ts +10 -0
  456. package/system-data/lib/data-services/subcompany-service.generated.d.ts +10 -0
  457. package/system-data/lib/data-services/supplier-service.generated.d.ts +10 -0
  458. package/system-data/lib/data-services/synchronized-company-service.generated.d.ts +10 -0
  459. package/system-data/lib/data-services/tva-rate-service.generated.d.ts +10 -0
  460. package/system-data/lib/data-services/user-account-company-service.generated.d.ts +10 -0
  461. package/system-data/lib/data-services/user-account-service.generated.d.ts +10 -0
  462. package/system-data/lib/data-services/user-favorite-service.generated.d.ts +10 -0
  463. package/system-data/lib/data-services/user-group-definition-service.generated.d.ts +10 -0
  464. package/system-data/lib/data-services/user-group-service.generated.d.ts +10 -0
  465. package/system-data/lib/data-services/user-role-service.generated.d.ts +10 -0
  466. package/system-data/lib/system-data.module.d.ts +9 -0
  467. package/system-model/index.d.ts +3 -0
  468. package/system-model/lib/model/interface.generated.d.ts +1162 -0
  469. package/system-model/lib/model/model.d.ts +11 -0
  470. package/system-model/lib/system-model.module.d.ts +7 -0
  471. package/system-root/index.d.ts +5 -0
  472. package/system-root/lib/system-entity-keys.d.ts +36 -0
  473. package/system-root/lib/system-menu-item-provider.d.ts +28 -0
  474. package/system-root/lib/system-menu-service.d.ts +13 -0
  475. package/system-root/lib/system-permissions.generated.d.ts +128 -0
  476. package/system-root/lib/system-root.module.d.ts +7 -0
  477. package/system-ux/index.d.ts +76 -0
  478. package/system-ux/lib/activate/activate.component.d.ts +36 -0
  479. package/system-ux/lib/address/address-editor.component.d.ts +12 -0
  480. package/system-ux/lib/address/address.component.d.ts +15 -0
  481. package/system-ux/lib/company/company-editor.component.d.ts +12 -0
  482. package/system-ux/lib/company/company.component.d.ts +19 -0
  483. package/system-ux/lib/components/image-upload/image-upload.component.d.ts +99 -0
  484. package/system-ux/lib/config/config-component.d.ts +22 -0
  485. package/system-ux/lib/config/datawarehouse-supply/dw-supply.component.d.ts +14 -0
  486. package/system-ux/lib/country/country-editor.component.d.ts +12 -0
  487. package/system-ux/lib/country/country.component.d.ts +14 -0
  488. package/system-ux/lib/currency/currency-editor.component.d.ts +12 -0
  489. package/system-ux/lib/currency/currency.component.d.ts +14 -0
  490. package/system-ux/lib/custom-field/custom-field-editor.component.d.ts +13 -0
  491. package/system-ux/lib/custom-field/custom-field.component.d.ts +19 -0
  492. package/system-ux/lib/custom-field-group/custom-field-group-editor.component.d.ts +14 -0
  493. package/system-ux/lib/custom-field-group/custom-field-group-entity/custom-field-group-entity-editor.component.d.ts +13 -0
  494. package/system-ux/lib/custom-field-group/custom-field-group-entity/custom-field-group-entity.component.d.ts +19 -0
  495. package/system-ux/lib/custom-field-group/custom-field-group-item/custom-field-group-item-editor.component.d.ts +12 -0
  496. package/system-ux/lib/custom-field-group/custom-field-group-item/custom-field-group-item.component.d.ts +27 -0
  497. package/system-ux/lib/custom-field-group/custom-field-group.component.d.ts +23 -0
  498. package/system-ux/lib/custom-field-options/custom-field-options-editor.component.d.ts +17 -0
  499. package/system-ux/lib/custom-field-options/custom-field-options.component.d.ts +22 -0
  500. package/system-ux/lib/entity-files/entity-files.component.d.ts +37 -0
  501. package/system-ux/lib/exchange-rate/exchange-rate-detail.component.d.ts +17 -0
  502. package/system-ux/lib/exchange-rate/exchange-rate-editor.component.d.ts +25 -0
  503. package/system-ux/lib/exchange-rate/exchange-rate.component.d.ts +18 -0
  504. package/system-ux/lib/global-parameter/global-parameter.component.d.ts +15 -0
  505. package/system-ux/lib/login/login.component.d.ts +37 -0
  506. package/system-ux/lib/meta-entity/meta-entity.component.d.ts +22 -0
  507. package/system-ux/lib/meta-entity-field/meta-entity-field-editor.component.d.ts +12 -0
  508. package/system-ux/lib/meta-entity-field/meta-entity-field.component.d.ts +20 -0
  509. package/system-ux/lib/news/news-component.d.ts +16 -0
  510. package/system-ux/lib/news/news-editor.component.d.ts +28 -0
  511. package/system-ux/lib/permission/permission-component.d.ts +16 -0
  512. package/system-ux/lib/permission/permission-editor.component.d.ts +12 -0
  513. package/system-ux/lib/presentation-profile/pp-facade.service.d.ts +39 -0
  514. package/system-ux/lib/presentation-profile/presentation-profile-action-service.d.ts +16 -0
  515. package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-column.component.d.ts +73 -0
  516. package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-items.component.d.ts +50 -0
  517. package/system-ux/lib/presentation-profile/presentation-profile-resolver.service.d.ts +34 -0
  518. package/system-ux/lib/presentation-profile/presentation-profile-transformer.d.ts +48 -0
  519. package/system-ux/lib/presentation-profile/presentation-profile.component.d.ts +16 -0
  520. package/system-ux/lib/presentation-profile/presentation-profile.service.d.ts +58 -0
  521. package/system-ux/lib/request/request-editor.component.d.ts +12 -0
  522. package/system-ux/lib/request/request.component.d.ts +20 -0
  523. package/system-ux/lib/request-results/request-results.component.d.ts +15 -0
  524. package/system-ux/lib/reset-password/reset-password.component.d.ts +32 -0
  525. package/system-ux/lib/resource-key/resource-key.component.d.ts +18 -0
  526. package/system-ux/lib/resource-language/resource-language.component.d.ts +16 -0
  527. package/system-ux/lib/resource-language/resourcelanguage-editor.component.d.ts +12 -0
  528. package/system-ux/lib/resource-translation/resource-translation-editor.component.d.ts +12 -0
  529. package/system-ux/lib/resource-translation/resource-translation.component.d.ts +16 -0
  530. package/system-ux/lib/role/role-component.d.ts +14 -0
  531. package/system-ux/lib/role/role-editor.component.d.ts +27 -0
  532. package/system-ux/lib/services/custom-field-action-service.d.ts +25 -0
  533. package/system-ux/lib/services/custom-field-service.d.ts +21 -0
  534. package/system-ux/lib/services/rates-action-service.d.ts +28 -0
  535. package/system-ux/lib/services/select-user-company-action-service.d.ts +23 -0
  536. package/system-ux/lib/services/system-section.service.d.ts +12 -0
  537. package/system-ux/lib/services/system-selector-mapper.service.d.ts +24 -0
  538. package/system-ux/lib/services/user-action-service.d.ts +20 -0
  539. package/system-ux/lib/sub-company/sub-company.component.d.ts +15 -0
  540. package/system-ux/lib/supplier/supplier-editor.component.d.ts +12 -0
  541. package/system-ux/lib/supplier/supplier.component.d.ts +16 -0
  542. package/system-ux/lib/synchronised-company/synchronised-company.component.d.ts +16 -0
  543. package/system-ux/lib/system-ux.module.d.ts +88 -0
  544. package/system-ux/lib/tva-rate/tva-rate-detail.component.d.ts +17 -0
  545. package/system-ux/lib/tva-rate/tva-rate-editor.component.d.ts +25 -0
  546. package/system-ux/lib/tva-rate/tva-rate.component.d.ts +17 -0
  547. package/system-ux/lib/user-account/user-account-component.d.ts +18 -0
  548. package/system-ux/lib/user-account/user-account-editor.component.d.ts +12 -0
  549. package/system-ux/lib/user-account-profile/user-account-profile.component.d.ts +31 -0
  550. package/system-ux/lib/user-company/user-company-component.d.ts +21 -0
  551. package/system-ux/lib/user-group/user-group-definition.component.d.ts +18 -0
  552. package/system-ux/lib/user-group/user-group-editor.component.d.ts +12 -0
  553. package/system-ux/lib/user-group/user-group.component.d.ts +16 -0
  554. package/system-ux/lib/user-permission/user-permission-component.d.ts +14 -0
  555. package/system-ux/lib/user-role/user-role-component.d.ts +20 -0
@@ -0,0 +1,12 @@
1
+ import { EntityViewModel } from "@dflat-core/web/core-model";
2
+ export declare abstract class TreeItem<TData extends EntityViewModel> {
3
+ Id?: number;
4
+ Label?: string;
5
+ Item?: TData;
6
+ ParentItemId?: number;
7
+ SubItems?: TreeItem<TData>[];
8
+ OrderNumber?: number;
9
+ ShowSubItems?: boolean;
10
+ isEditing?: boolean;
11
+ RowVersion?: Date;
12
+ }
@@ -0,0 +1,9 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EuroPipe implements PipeTransform {
4
+ constructor();
5
+ transform(initial: string): string;
6
+ parse(value: string): string;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<EuroPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<EuroPipe, "euro", false>;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToDefinePipe implements PipeTransform {
4
+ constructor();
5
+ transform(value: string, handleNull: any): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToDefinePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToDefinePipe, "todefine", false>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToFixedSizeIntegerPipe implements PipeTransform {
4
+ constructor();
5
+ transform(value: string, character: any, size: number): string;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToFixedSizeIntegerPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<ToFixedSizeIntegerPipe, "tofixedsizeinteger", false>;
8
+ }
@@ -0,0 +1,42 @@
1
+ import { ActionDescriptor, Notification } from '@dflat-core/web/core-model';
2
+ import { NotificationMqService } from '@dflat-core/web/core-services';
3
+ import type { LogsComponent } from '../components/logs/logs.component';
4
+ import { ModalService } from './modal.service';
5
+ import { ActionDataService, FileDataService } from '@dflat-core/web/system-data';
6
+ import { Type } from '@angular/core';
7
+ import { Guid } from 'guid-typescript';
8
+ import { BsModalRef } from 'ngx-bootstrap/modal';
9
+ import { BehaviorSubject, Subscription } from 'rxjs';
10
+ import { LogService } from '../log.service';
11
+ import type { ExtendedActionComponent } from '../components/actions/extended-action/extended-action.component';
12
+ import * as i0 from "@angular/core";
13
+ export declare class ActionService {
14
+ private modalService;
15
+ private actionDataService;
16
+ private mqService;
17
+ private fileService;
18
+ private logService;
19
+ private extendedActionComponentType;
20
+ isLoadingChanged: BehaviorSubject<boolean>;
21
+ _isLoading: import("rxjs").Observable<boolean>;
22
+ logsComponent?: LogsComponent;
23
+ constructor(modalService: ModalService, actionDataService: ActionDataService, mqService: NotificationMqService, fileService: FileDataService, logService: LogService, extendedActionComponentType: Type<ExtendedActionComponent>);
24
+ guid: Guid;
25
+ fileId: number;
26
+ firstModalRef: BsModalRef | undefined;
27
+ entityNotificationSubscription: Subscription | undefined;
28
+ requestNotificationSubscription: Subscription | undefined;
29
+ logmodal: BsModalRef | undefined;
30
+ setIsLoading(value: boolean): void;
31
+ executeExtendedAction(actionDescriptor: ActionDescriptor, entityKey: string, entityIds: number[]): void;
32
+ executeExtendedActionCallBack(component: ExtendedActionComponent): void;
33
+ logs: any[];
34
+ openLogModal(component: ExtendedActionComponent): void;
35
+ handleNotification(notif: Notification, component: ExtendedActionComponent): void;
36
+ subscribeEntityNotification(component: ExtendedActionComponent): void;
37
+ subscribeRequestNotification(component: ExtendedActionComponent): void;
38
+ unsubscribeNotificationSubscriptions(): void;
39
+ onDispose(): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionService, never>;
41
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActionService>;
42
+ }
@@ -0,0 +1,51 @@
1
+ import { SaveResult } from '@dflat-core/web/core-model';
2
+ import { Type } from '@angular/core';
3
+ import { ActiveToast, IndividualConfig, ToastrService } from 'ngx-toastr';
4
+ import { Observable } from 'rxjs';
5
+ import { MessageSeverity } from '../model/model';
6
+ import { ModalService } from './modal.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class AlertService {
9
+ private modalService;
10
+ private toastrService;
11
+ private lastInserted;
12
+ constructor(modalService: ModalService, toastrService: ToastrService);
13
+ success(message: string, override?: Partial<IndividualConfig>): void;
14
+ error(message: string, override?: Partial<IndividualConfig>): void;
15
+ warn(message: string, override?: Partial<IndividualConfig>): void;
16
+ showInformation(title: string, subtitle: string, message: string, componentType: Type<any>): void;
17
+ showDialog(message: string, type?: DialogType, okCallback?: (val?: any) => any, cancelCallback?: () => any, okLabel?: string, cancelLabel?: string, subtitle?: string, title?: string, severity?: MessageSeverity, componentType?: Type<any>): Observable<any>;
18
+ showMessage(summary: string, detail: string, severity: MessageSeverity, override?: Partial<IndividualConfig>): any;
19
+ private showMessageHelper;
20
+ showToast(message: AlertMessage, override: Partial<IndividualConfig>): ActiveToast<{}>;
21
+ logDebug(msg: any): void;
22
+ logError(msg: any): void;
23
+ logInfo(msg: any): void;
24
+ logMessage(msg: any): void;
25
+ logTrace(msg: any): void;
26
+ logWarning(msg: any): void;
27
+ handleSaveError(s: SaveResult): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
30
+ }
31
+ export declare class AlertDialog {
32
+ message: string;
33
+ type: DialogType;
34
+ okCallback: (val?: any) => any;
35
+ cancelCallback: () => any;
36
+ defaultValue: string;
37
+ okLabel: string;
38
+ cancelLabel: string;
39
+ constructor(message: string, type: DialogType, okCallback: (val?: any) => any, cancelCallback: () => any, defaultValue: string, okLabel: string, cancelLabel: string);
40
+ }
41
+ export declare enum DialogType {
42
+ Alert = 0,
43
+ Confirm = 1,
44
+ Prompt = 2
45
+ }
46
+ export declare class AlertMessage {
47
+ severity: MessageSeverity;
48
+ summary: string;
49
+ detail: string;
50
+ constructor(severity: MessageSeverity, summary: string, detail: string);
51
+ }
@@ -0,0 +1,73 @@
1
+ import { DataService } from '@dflat-core/web/core-data';
2
+ import { EntityViewModel } from '@dflat-core/web/core-model';
3
+ import { AuthService, BreadcrumbService, FilterService, LocalStoreManager, NotificationMqService, UserService } from '@dflat-core/web/core-services';
4
+ import { ActionDataService } from '@dflat-core/web/system-data';
5
+ import { Location } from '@angular/common';
6
+ import { InjectionToken } from '@angular/core';
7
+ import { ActivatedRoute, Router } from '@angular/router';
8
+ import { ToastrService } from 'ngx-toastr';
9
+ import { TestService } from '../v2/services/test.service';
10
+ import { LayoutService } from '../v2/services/layout.service';
11
+ import { AlertService } from './alert.service';
12
+ import { ModalService } from './modal.service';
13
+ import { SelectorMapperServiceBase } from './selectorMapperBase.service';
14
+ import { SelectionService } from '../v2/services/selection.service';
15
+ import { ActionService } from './action.service';
16
+ import { EntityFacadeRegistryService } from '../v2/services/entity-facade-registry.service';
17
+ import * as i0 from "@angular/core";
18
+ export interface NavigationDeps {
19
+ route: ActivatedRoute;
20
+ router: Router;
21
+ location: Location;
22
+ }
23
+ export interface UIDeps {
24
+ layout: LayoutService;
25
+ breadcrumb: BreadcrumbService;
26
+ toastr: ToastrService;
27
+ alert: AlertService;
28
+ modal: ModalService;
29
+ }
30
+ export interface DataDeps {
31
+ data: DataService;
32
+ filter: FilterService;
33
+ selector: SelectorMapperServiceBase;
34
+ }
35
+ export interface SecurityDeps {
36
+ auth: AuthService;
37
+ user: UserService;
38
+ }
39
+ export interface RootDeps {
40
+ nav: NavigationDeps;
41
+ ui: UIDeps;
42
+ data: DataDeps;
43
+ security: SecurityDeps;
44
+ selection: SelectionService<EntityViewModel>;
45
+ readonly test: TestService;
46
+ }
47
+ export declare const ROOT_DEPS: InjectionToken<RootDeps>;
48
+ export declare class ApplicationService {
49
+ deps: RootDeps;
50
+ MQService: NotificationMqService;
51
+ LocalStorageService: LocalStoreManager;
52
+ ActionDataService: ActionDataService;
53
+ ExtendedActionService: ActionService;
54
+ EntityFacadeRegistryService: EntityFacadeRegistryService;
55
+ get DataService(): DataService;
56
+ get ActivatedRoute(): ActivatedRoute;
57
+ get Router(): Router;
58
+ get ToastrService(): ToastrService;
59
+ get Location(): Location;
60
+ get ModalService(): ModalService;
61
+ get AlertService(): AlertService;
62
+ get AuthService(): AuthService;
63
+ get FilterService(): FilterService;
64
+ get UserService(): UserService;
65
+ get LayoutService(): LayoutService;
66
+ get SelectionService(): SelectionService<EntityViewModel>;
67
+ get selectorMapperService(): SelectorMapperServiceBase;
68
+ get BreadcrumbService(): BreadcrumbService;
69
+ get TestService(): TestService;
70
+ constructor(deps: RootDeps, MQService: NotificationMqService, LocalStorageService: LocalStoreManager, ActionDataService: ActionDataService, ExtendedActionService: ActionService, EntityFacadeRegistryService: EntityFacadeRegistryService);
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationService, never>;
72
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationService>;
73
+ }
@@ -0,0 +1,12 @@
1
+ import { Observable } from 'rxjs';
2
+ import { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
3
+ import { ConfirmOptions, DflatBaseComponent } from '../model/model';
4
+ import { ModalService } from './modal.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CanDeactivateGuard {
7
+ modalService: ModalService;
8
+ constructor(modalService: ModalService);
9
+ canDeactivate(component: DflatBaseComponent, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot, nextState?: RouterStateSnapshot): Observable<ConfirmOptions> | Promise<ConfirmOptions> | boolean;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
12
+ }
@@ -0,0 +1,54 @@
1
+ import { DroppableDirective } from '../directives/droppable.directive';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DragService {
4
+ private zoneIDs;
5
+ private availableZones;
6
+ private availableZonesList;
7
+ /**
8
+ * @desc responsible for storing the draggable elements
9
+ * zone target.
10
+ * @param {Array<string>} zoneIDs - the zoneIDs
11
+ */
12
+ startDrag(zoneIDs: Array<string>): void;
13
+ /**
14
+ * @desc responsible for matching the droppable element
15
+ * with a draggable element
16
+ * @param {string} zoneID - the zone ID to search for
17
+ */
18
+ accepts(zoneID: string): boolean;
19
+ /**
20
+ * @desc responsible for removing highlighted available zones
21
+ * that a draggable element can be added too.
22
+ */
23
+ removeHighLightedAvailableZones(): void;
24
+ /**
25
+ * @desc responsible for adding an available zone
26
+ * @param {{ begin: Function, end: Function }} zoneID - zone key from DroppableOptions
27
+ * @param {string} obj - reference to a start and stop object
28
+ */
29
+ addAvailableZone(zoneID: string, obj: {
30
+ dropDirective: DroppableDirective;
31
+ zoneID: string;
32
+ element: any;
33
+ begin: Function;
34
+ end: Function;
35
+ }): void;
36
+ /**
37
+ * @desc responsible for removing an available zone
38
+ * @param {string} zoneID - the zone ID to search for
39
+ */
40
+ removeAvailableZone(zoneID: string): void;
41
+ /**
42
+ * @desc responsible for highlighting available zones
43
+ * that a draggable element can be added too.
44
+ */
45
+ private highLightAvailableZones;
46
+ /**
47
+ * Return the first zone that is a parent of the specified element.
48
+ * @param element an Html Element
49
+ */
50
+ getAvailableContainingZone(element: any): string;
51
+ getDroppable(zoneId: string): DroppableDirective;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragService, never>;
53
+ static ɵprov: i0.ɵɵInjectableDeclaration<DragService>;
54
+ }
@@ -0,0 +1,13 @@
1
+ import { AuthService } from "@dflat-core/web/core-services";
2
+ import { Observable } from "rxjs";
3
+ import { ILoginComponent } from "../model/model";
4
+ import { ModalService } from "./modal.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare class FireAuthService {
7
+ private modalService;
8
+ private authService;
9
+ constructor(modalService: ModalService, authService: AuthService);
10
+ ensureLogin(loginComponentClass: ILoginComponent): Observable<string>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FireAuthService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<FireAuthService>;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { EnvironmentBase } from '@dflat-core/web/core';
2
+ import { ColumnDescriptor } from '@dflat-core/web/core-model';
3
+ import { Router } from '@angular/router';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ImageService {
6
+ env: EnvironmentBase;
7
+ private router;
8
+ [x: string]: any;
9
+ constructor(env: EnvironmentBase, router: Router);
10
+ getEnumImageUrl(obj: object, enumValue: any): string;
11
+ getImageUrl(imageUrl: string): string;
12
+ getEnumImageUrlForGrid(row: any, column: ColumnDescriptor): string;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImageService>;
15
+ }
@@ -0,0 +1,26 @@
1
+ import { BsModalRef } from 'ngx-bootstrap/modal';
2
+ import { ComponentRef, TemplateRef, Type } from '@angular/core';
3
+ import { IModalOptions } from '../model/model';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * An internal service allowing to access, from the confirm modal component, the options and the modal reference.
7
+ * It also allows registering the TemplateRef containing the confirm modal component.
8
+ *
9
+ * It must be declared in the providers of the NgModule, but is not supposed to be used in application code
10
+ */
11
+ export declare class ModalStateService {
12
+ /**
13
+ * The last options passed ConfirmService.confirm()
14
+ */
15
+ options: IModalOptions;
16
+ /**
17
+ * The last opened confirmation modal
18
+ */
19
+ modal: BsModalRef;
20
+ /**
21
+ * The template containing the confirmation modal component
22
+ */
23
+ template: Type<any> | TemplateRef<any> | ComponentRef<any> | any;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalStateService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModalStateService>;
26
+ }
@@ -0,0 +1,30 @@
1
+ import { BsModalRef, BsModalService, ModalOptions } from 'ngx-bootstrap/modal';
2
+ import { Observable } from 'rxjs';
3
+ import { Injector } from '@angular/core';
4
+ import { DialogComponentParameter } from '../modals/dialog/dialog.component';
5
+ import { ConfirmOptions, IDialogOptions, IModalOptions } from '../model/model';
6
+ import { ModalStateService } from './modal-state.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ModalService {
9
+ modalService: BsModalService;
10
+ private state;
11
+ injector: Injector;
12
+ modalConfig: {
13
+ class: string;
14
+ animated: boolean;
15
+ keyboard: boolean;
16
+ ignoreBackdropClick: boolean;
17
+ };
18
+ constructor(modalService: BsModalService, state: ModalStateService, injector: Injector);
19
+ openTemplate(options: IModalOptions): Promise<any>;
20
+ openComponent<TComponent>(component: any, modalConfig?: any): TComponent;
21
+ openComponentWithState(component: any, modalConfig?: any, initialState?: any): any;
22
+ openComponentCustomModal(modalConfig?: ModalOptions<DialogComponentParameter>, dialogOptions?: IDialogOptions, showButtons?: boolean, canClose?: boolean): BsModalRef;
23
+ openComponentCustom(modalConfig?: ModalOptions, dialogOptions?: IDialogOptions, showButtons?: boolean, canClose?: boolean): Observable<any>;
24
+ openComponentModal(modalConfig?: ModalOptions, dialogOptions?: IDialogOptions, showButtons?: boolean, canClose?: boolean): BsModalRef;
25
+ openComponentSimple(modalConfig?: any, dialogOptions?: IDialogOptions, showButtons?: boolean): BsModalRef;
26
+ confirmModal(text?: string, actionCallback?: () => any, isCancelVisible?: boolean): Observable<ConfirmOptions>;
27
+ close(modal?: any): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
30
+ }
@@ -0,0 +1,40 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ColumnDescriptor } from '@dflat-core/web/core-model';
4
+ export interface IPpService {
5
+ /** Opens the column selector modal for Grid purpose. */
6
+ openColumnSelector(config: {
7
+ title: string;
8
+ metaEntityKey: string;
9
+ supplierId?: number | null;
10
+ roleId?: number | null;
11
+ }): void;
12
+ /** Opens the column selector modal for Export purpose. */
13
+ openExportSelector(config: {
14
+ title: string;
15
+ metaEntityKey: string;
16
+ supplierId?: number | null;
17
+ roleId?: number | null;
18
+ }): void;
19
+ /** Resolves the effective profile columns (default merged with user profile). */
20
+ resolveColumns(config: {
21
+ metaEntityKey: string;
22
+ supplierId?: number | null;
23
+ roleId?: number | null;
24
+ }): Observable<any[]>;
25
+ /** Converts resolved PP columns to ColumnDescriptors for the data grid. */
26
+ buildDescriptors(ppColumns: any[], backendDescriptors: ColumnDescriptor[]): ColumnDescriptor[];
27
+ /** Splits columns into standard keys and custom-field ids (for export payloads). */
28
+ splitForExport(columns: any[]): {
29
+ columns: string[];
30
+ customFieldIds: number[];
31
+ };
32
+ /** Emits on every confirmed selection (grid + export). */
33
+ selectionConfirmed$: Observable<{
34
+ purpose: number;
35
+ columns: any[];
36
+ }>;
37
+ /** Emits columns only when the user confirms a Grid selection. */
38
+ gridSelectionConfirmed$: Observable<any[]>;
39
+ }
40
+ export declare const PP_SERVICE: InjectionToken<IPpService>;
@@ -0,0 +1,36 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Type } from '@angular/core';
3
+ import { EntityViewModel, FilterViewModel } from '@dflat-core/web/core-model';
4
+ import { BsModalRef, ModalOptions } from 'ngx-bootstrap/modal';
5
+ import type { BaseEditorComponent } from '../components/base-editor/base-editor.component';
6
+ import { DialogComponentParameter } from '../modals/dialog/dialog.component';
7
+ import { ContextChoice, IDialogOptions, IInputSelectorContext, IIsCancel } from '../model/model';
8
+ import { BaseComponent } from '../v2/components/base-component/base-component';
9
+ import type { NewEditorComponent } from '../v2/components/new-editor/new-editor.component';
10
+ import { ModalService } from './modal.service';
11
+ export interface ModalConfig {
12
+ showButtons?: boolean;
13
+ canClose?: boolean;
14
+ cancelLabel?: string;
15
+ okLabel?: string;
16
+ }
17
+ export declare abstract class SelectorMapperServiceBase {
18
+ protected modalService: ModalService;
19
+ constructor(modalService: ModalService);
20
+ getInputSelectorContext(key: string, title: string, filter?: FilterViewModel, params?: any): IInputSelectorContext;
21
+ abstract getComponentParams(key: string, params?: any): {
22
+ selectionCompType: Type<any>;
23
+ selectionModalTitle?: string;
24
+ creationComType: Type<any>;
25
+ creationModalTitle?: string;
26
+ loadFunction: (filter: FilterViewModel) => Observable<any[]>;
27
+ };
28
+ getDialogOptions(context: IInputSelectorContext, choice: ContextChoice): IDialogOptions;
29
+ openSelectionModal(modalEntityKey: string, modalTitle: string, filter: FilterViewModel): Observable<any>;
30
+ openEditionModal<TData extends EntityViewModel>(modalEntityKey: string, modalTitle: string, dataInit?: TData, callBackAction?: ((component?: BaseEditorComponent<TData>) => void), forceDataInit?: boolean, modalConfig?: ModalOptions): Observable<BaseEditorComponent<TData>>;
31
+ openSelectorModal<TData, TFilter>(modalEntityKey: string, modalTitle: string, filter: FilterViewModel, initFn?: (component: BaseComponent<TData, TFilter>) => void, modalOptions?: ModalOptions, modalConfig?: ModalConfig): Observable<TData[]>;
32
+ openComponentModal<TData, TFilter>(selectionTitle?: string, selectionComponent?: Type<any>, // BaseComponent<any,any>,
33
+ initFn?: (component: BaseComponent<TData, TFilter>) => void, callback?: (component: IIsCancel | BaseComponent<TData, TFilter>) => void, modalOptions?: ModalOptions, modalConfig?: ModalConfig): Observable<any>;
34
+ openEditorModal<TData extends EntityViewModel>(creationTitle?: string, creationComponent?: Type<any>, initFn?: (comp: NewEditorComponent<TData>) => void, modalConfig?: ModalOptions): Observable<NewEditorComponent<TData>>;
35
+ getSelectorModal(modalOptions?: ModalOptions<DialogComponentParameter>, dialogOptions?: IDialogOptions, modalConfig?: ModalConfig): BsModalRef;
36
+ }
@@ -0,0 +1,48 @@
1
+ import { EntityViewModel, FilterDescriptor } from '@dflat-core/web/core-model';
2
+ import { AuthService } from '@dflat-core/web/core-services';
3
+ import { OnDestroy, OnInit } from '@angular/core';
4
+ import { Guid } from 'guid-typescript';
5
+ import { Action } from '../../../model/model';
6
+ import { ActionService } from '../../../services/action.service';
7
+ import { ModalService } from '../../../services/modal.service';
8
+ import { PropertyChangeBus } from '../../services/property-change-bus.service';
9
+ import { ValidationService } from '../../services/validation.service';
10
+ import { EntityFacadeRegistryService } from '../../services/entity-facade-registry.service';
11
+ import { EntityFacade } from '../../models/entity-facade';
12
+ import { FormWrapper } from '../../models/utilities/form-wrapper';
13
+ import { FilterFormModalComponent } from '../filter-form/filter-form.component';
14
+ import * as i0 from "@angular/core";
15
+ export declare class ActionPanelComponent implements OnInit, OnDestroy {
16
+ private authSevice;
17
+ private actionService;
18
+ private modalService;
19
+ private bus;
20
+ private validationService;
21
+ private entityFacadeRegistryService;
22
+ searchText: string;
23
+ keyword: string;
24
+ handleKeywordsChanged(event: any): void;
25
+ actions: Action[];
26
+ title: string;
27
+ entityKey: string;
28
+ guid: Guid;
29
+ constructor(authSevice: AuthService, actionService: ActionService, modalService: ModalService, bus: PropertyChangeBus, validationService: ValidationService, entityFacadeRegistryService: EntityFacadeRegistryService);
30
+ enableActions(): boolean;
31
+ private destroy$;
32
+ ngOnDestroy(): void;
33
+ facade: EntityFacade<EntityViewModel>;
34
+ ngOnInit(): void;
35
+ protected wrapper: FormWrapper;
36
+ fields: FilterDescriptor[];
37
+ private suspendFilterApply;
38
+ private openFilterModal;
39
+ setFilterFromModal(component: FilterFormModalComponent): void;
40
+ private handleFilterEvent;
41
+ hasPermission(permission: string): boolean;
42
+ toggleFilterView(): void;
43
+ canExecute(a: Action): boolean;
44
+ getImageUrl(icon: string): string;
45
+ executeAction(a: Action): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionPanelComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionPanelComponent, "alg-action-panel", never, { "searchText": { "alias": "searchText"; "required": false; }; "title": { "alias": "title"; "required": false; }; "entityKey": { "alias": "entityKey"; "required": false; }; "guid": { "alias": "guid"; "required": false; }; }, {}, never, ["[actions-content]"], false, never>;
48
+ }
@@ -0,0 +1,80 @@
1
+ import { EntityViewModel, FilterViewModel, Notification } from '@dflat-core/web/core-model';
2
+ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
3
+ import { Subject, Subscription } from 'rxjs';
4
+ import { ActivatedRoute } from '@angular/router';
5
+ import { Guid } from 'guid-typescript';
6
+ import { ApplicationService } from '../../../services/application.service';
7
+ import type { EntityFacade } from '../../models/entity-facade';
8
+ import type { NewEditorComponent } from '../new-editor/new-editor.component';
9
+ import type { PropertyEditorComponent } from '../property-editor/property-editor-component';
10
+ import { DflatBaseComponent } from './../../../../lib/model/model';
11
+ import * as i0 from "@angular/core";
12
+ export declare abstract class BaseComponent<TFilter extends FilterViewModel, TData extends EntityViewModel> extends DflatBaseComponent implements OnInit, OnDestroy, AfterViewInit {
13
+ protected app: ApplicationService;
14
+ protected route: ActivatedRoute;
15
+ abstract getEntityKey(): string;
16
+ abstract getTitle(): string;
17
+ abstract getPath(): string;
18
+ abstract get PermissionKey(): string;
19
+ sectionKey: string;
20
+ get layoutKey(): string;
21
+ notif: Subscription;
22
+ HasFilter: boolean;
23
+ loadDataOnNotification: boolean;
24
+ displayComponent: boolean;
25
+ IsTheMainComponent: boolean;
26
+ actionBarSearchText: string;
27
+ newEditor: NewEditorComponent<TData>;
28
+ actionTitle: string;
29
+ log: any;
30
+ loadDataOnInit?: boolean;
31
+ baseComponentClass: string;
32
+ propertyGridClass: string;
33
+ get Filter(): TFilter;
34
+ get DefaultFilter(): TFilter;
35
+ isCardVisible: boolean;
36
+ protected filterInUrl: boolean;
37
+ errorMessage: string;
38
+ protected guid: Guid;
39
+ destroy$: Subject<void>;
40
+ get propertyGridComponent(): PropertyEditorComponent<TData>;
41
+ FILE_SECTION: string;
42
+ facade: EntityFacade<TData>;
43
+ get selectedEntities(): TData[];
44
+ get modifiedEntities(): TData[];
45
+ filterFn?: (selected: TData[]) => FilterViewModel;
46
+ constructor(app: ApplicationService, route: ActivatedRoute);
47
+ ngOnInit(): void;
48
+ ngAfterViewInit(): void;
49
+ getIcon(): string;
50
+ subscribeEntityNotification(): void;
51
+ unsubscribeEntityNotification(): void;
52
+ onNotificationHandled(notif: Notification): void;
53
+ ngOnDestroy(): void;
54
+ private initBreadCrumb;
55
+ refresh(): void;
56
+ Search(filter?: any, resetPage?: boolean): void;
57
+ private CopyFilterProperties;
58
+ protected readonly ppService: import("../../../services/presentation-profile.token").IPpService;
59
+ private registerSelectColumnsAction;
60
+ protected openColumnSelector(): void;
61
+ protected getPpMetaEntityKey(): string | null;
62
+ protected getPpConfig(): {
63
+ metaEntityKey: string;
64
+ supplierId?: number | null;
65
+ roleId?: number | null;
66
+ };
67
+ protected applyProfileColumns(ppColumns: any[]): void;
68
+ loadData(): void;
69
+ performLoadData(): void;
70
+ loadActionDescriptors(): void;
71
+ initCurrentTab(filter: FilterViewModel): void;
72
+ onDispose(): void;
73
+ filterAction(actionName: string): void;
74
+ save(): void;
75
+ delete(): void;
76
+ add(param?: Partial<TData>): void;
77
+ setLog(log: any): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent<any, any>, never>;
79
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent<any, any>, never, never, { "loadDataOnInit": { "alias": "loadDataOnInit"; "required": false; }; "baseComponentClass": { "alias": "baseComponentClass"; "required": false; }; "propertyGridClass": { "alias": "propertyGridClass"; "required": false; }; }, {}, never, never, true, never>;
80
+ }
@@ -0,0 +1,11 @@
1
+ import { ColumnDescriptor } from "@dflat-core/web/core-model";
2
+ import * as i0 from "@angular/core";
3
+ export declare class CellRendererComponent {
4
+ row: any;
5
+ column: ColumnDescriptor;
6
+ context: any;
7
+ isUndefined(value: any): boolean;
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CellRendererComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<CellRendererComponent, "alg-cell-renderer", never, { "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, false, never>;
11
+ }