@dflat-core/web 1.0.44 → 1.0.46

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 (492) hide show
  1. package/README.md +12 -16
  2. package/assets/variables.scss +3 -1
  3. package/fesm2022/dflat-core-web-core-data.mjs +416 -412
  4. package/fesm2022/dflat-core-web-core-data.mjs.map +1 -1
  5. package/fesm2022/dflat-core-web-core-model.mjs +229 -218
  6. package/fesm2022/dflat-core-web-core-model.mjs.map +1 -1
  7. package/fesm2022/dflat-core-web-core-services.mjs +1840 -1615
  8. package/fesm2022/dflat-core-web-core-services.mjs.map +1 -1
  9. package/fesm2022/dflat-core-web-core-ux.mjs +21444 -16366
  10. package/fesm2022/dflat-core-web-core-ux.mjs.map +1 -1
  11. package/fesm2022/dflat-core-web-core.mjs +585 -728
  12. package/fesm2022/dflat-core-web-core.mjs.map +1 -1
  13. package/fesm2022/dflat-core-web-system-data.mjs +2813 -1300
  14. package/fesm2022/dflat-core-web-system-data.mjs.map +1 -1
  15. package/fesm2022/dflat-core-web-system-model.mjs +282 -260
  16. package/fesm2022/dflat-core-web-system-model.mjs.map +1 -1
  17. package/fesm2022/dflat-core-web-system-root.mjs +1994 -681
  18. package/fesm2022/dflat-core-web-system-root.mjs.map +1 -1
  19. package/fesm2022/dflat-core-web-system-ux.mjs +21157 -8828
  20. package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -1
  21. package/fesm2022/dflat-core-web.mjs +11 -15
  22. package/fesm2022/dflat-core-web.mjs.map +1 -1
  23. package/package.json +33 -31
  24. package/scss/dflat-app.scss +8 -2
  25. package/types/dflat-core-web-core-data.d.ts +108 -0
  26. package/types/dflat-core-web-core-model.d.ts +491 -0
  27. package/types/dflat-core-web-core-services.d.ts +426 -0
  28. package/types/dflat-core-web-core-ux.d.ts +5867 -0
  29. package/types/dflat-core-web-core.d.ts +137 -0
  30. package/types/dflat-core-web-system-data.d.ts +545 -0
  31. package/types/dflat-core-web-system-model.d.ts +1605 -0
  32. package/types/dflat-core-web-system-root.d.ts +557 -0
  33. package/types/dflat-core-web-system-ux.d.ts +3250 -0
  34. package/{index.d.ts → types/dflat-core-web.d.ts} +1 -1
  35. package/core/index.d.ts +0 -6
  36. package/core/lib/array.function.d.ts +0 -8
  37. package/core/lib/core.module.d.ts +0 -9
  38. package/core/lib/global/EnvironmentBase.d.ts +0 -27
  39. package/core/lib/nameof.function.d.ts +0 -4
  40. package/core/lib/services/ensuremoduleloadedonceguard.d.ts +0 -3
  41. package/core/lib/services/utilities.service.d.ts +0 -87
  42. package/core-data/index.d.ts +0 -3
  43. package/core-data/lib/core-data.module.d.ts +0 -7
  44. package/core-data/lib/services/data-service.d.ts +0 -69
  45. package/core-data/lib/services/entity-data-service.d.ts +0 -37
  46. package/core-model/index.d.ts +0 -4
  47. package/core-model/lib/core-model.module.d.ts +0 -7
  48. package/core-model/lib/interface.d.ts +0 -140
  49. package/core-model/lib/model/interface.generated.d.ts +0 -309
  50. package/core-model/lib/model/model.d.ts +0 -38
  51. package/core-services/index.d.ts +0 -25
  52. package/core-services/lib/core-services.module.d.ts +0 -10
  53. package/core-services/lib/model/model.d.ts +0 -25
  54. package/core-services/lib/services/app-keys.d.ts +0 -15
  55. package/core-services/lib/services/appConfig.service.d.ts +0 -8
  56. package/core-services/lib/services/application-menu.service.d.ts +0 -22
  57. package/core-services/lib/services/auth-guard.service.d.ts +0 -18
  58. package/core-services/lib/services/auth.interceptor.d.ts +0 -15
  59. package/core-services/lib/services/auth.service.d.ts +0 -67
  60. package/core-services/lib/services/breadcrumb.service.d.ts +0 -14
  61. package/core-services/lib/services/busmessage.service.d.ts +0 -19
  62. package/core-services/lib/services/can-activate-guard.service.d.ts +0 -12
  63. package/core-services/lib/services/filter.service.d.ts +0 -15
  64. package/core-services/lib/services/geolocation.service.d.ts +0 -29
  65. package/core-services/lib/services/headers.service.d.ts +0 -15
  66. package/core-services/lib/services/hub.service.d.ts +0 -33
  67. package/core-services/lib/services/local-store-manager.service.d.ts +0 -50
  68. package/core-services/lib/services/menu.service.d.ts +0 -27
  69. package/core-services/lib/services/message.service.d.ts +0 -14
  70. package/core-services/lib/services/module-menu-services.token.d.ts +0 -8
  71. package/core-services/lib/services/notifications.service.d.ts +0 -14
  72. package/core-services/lib/services/permission.service.d.ts +0 -12
  73. package/core-services/lib/services/screen.service.d.ts +0 -14
  74. package/core-services/lib/services/server-url.d.ts +0 -12
  75. package/core-services/lib/services/string.function.d.ts +0 -1
  76. package/core-services/lib/services/user.service.d.ts +0 -22
  77. package/core-ux/index.d.ts +0 -145
  78. package/core-ux/lib/components/actions/actions-content.component.d.ts +0 -10
  79. package/core-ux/lib/components/actions/actions.component.d.ts +0 -57
  80. package/core-ux/lib/components/actions/extended-action/extended-action.component.d.ts +0 -34
  81. package/core-ux/lib/components/base-editor/base-editor.component.d.ts +0 -93
  82. package/core-ux/lib/components/base-item-list/base-item-list.component.d.ts +0 -21
  83. package/core-ux/lib/components/basefilter/basefilter.component.d.ts +0 -275
  84. package/core-ux/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -12
  85. package/core-ux/lib/components/datagrid-custom/datagrid-cell/datagrid-cell.component.d.ts +0 -32
  86. package/core-ux/lib/components/datagrid-custom/datagrid-custom.component.d.ts +0 -159
  87. package/core-ux/lib/components/datagrid-custom/datagrid-sorter.component.d.ts +0 -15
  88. package/core-ux/lib/components/datapage/layout-page/page-layout.component.d.ts +0 -13
  89. package/core-ux/lib/components/datapage/old/old.datapage.component.d.ts +0 -10
  90. package/core-ux/lib/components/datapage/old-layout-handler.directive.d.ts +0 -31
  91. package/core-ux/lib/components/dynamic-components/dynamic-field/dynamic-field.component.d.ts +0 -41
  92. package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-extra.component.d.ts +0 -27
  93. package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-panel.component.d.ts +0 -8
  94. package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter.component.d.ts +0 -54
  95. package/core-ux/lib/components/dynamic-components/dynamic-form/dynamic-form.component.d.ts +0 -122
  96. package/core-ux/lib/components/filtersummary/filtersummary.component.d.ts +0 -27
  97. package/core-ux/lib/components/form-password/form-password.component.d.ts +0 -9
  98. package/core-ux/lib/components/grid-row/grid-row.component.d.ts +0 -12
  99. package/core-ux/lib/components/image-display/image.component.d.ts +0 -20
  100. package/core-ux/lib/components/input-selector/input-selector.component.d.ts +0 -50
  101. package/core-ux/lib/components/input-tree-selector/input-tree-selector.component.d.ts +0 -25
  102. package/core-ux/lib/components/logs/logs.component.d.ts +0 -32
  103. package/core-ux/lib/components/menu/menu.component.d.ts +0 -39
  104. package/core-ux/lib/components/menu-dashboard/menu-dashboard.component.d.ts +0 -15
  105. package/core-ux/lib/components/paginator/paginator.component.d.ts +0 -17
  106. package/core-ux/lib/components/parameter-field/parameter-field.component.d.ts +0 -13
  107. package/core-ux/lib/components/parameter-field/parameter-types/base-array-parameter-type.component.d.ts +0 -16
  108. package/core-ux/lib/components/parameter-field/parameter-types/base-parameter-type.component.d.ts +0 -21
  109. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool/parameter-type-bool.component.d.ts +0 -9
  110. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool-array/parameter-type-bool-array.component.d.ts +0 -12
  111. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date/parameter-type-date.component.d.ts +0 -16
  112. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date-array/parameter-type-date-array.component.d.ts +0 -17
  113. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number/parameter-type-number.component.d.ts +0 -6
  114. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number-array/parameter-type-number-array.component.d.ts +0 -6
  115. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-password/parameter-type-password.component.d.ts +0 -9
  116. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text/parameter-type-text.component.d.ts +0 -7
  117. package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text-array/parameter-type-text-array.component.d.ts +0 -6
  118. package/core-ux/lib/components/property-grid/property-grid.component.d.ts +0 -125
  119. package/core-ux/lib/components/search-results/search-results.component.d.ts +0 -7
  120. package/core-ux/lib/components/tab/tab.component.d.ts +0 -14
  121. package/core-ux/lib/components/tabset/tabset.component.d.ts +0 -15
  122. package/core-ux/lib/components/text-viewer/text-viewer.component.d.ts +0 -21
  123. package/core-ux/lib/components/time-picker/time-picker.component.d.ts +0 -27
  124. package/core-ux/lib/components/tree/tree.component.d.ts +0 -39
  125. package/core-ux/lib/components/validation-error/validation-error.component.d.ts +0 -8
  126. package/core-ux/lib/components/wizard/wizard-step/wizard-step.component.d.ts +0 -26
  127. package/core-ux/lib/components/wizard/wizard.component.d.ts +0 -29
  128. package/core-ux/lib/core-ux.module.d.ts +0 -102
  129. package/core-ux/lib/directives/addclass.directive.d.ts +0 -11
  130. package/core-ux/lib/directives/collapse.directive.d.ts +0 -34
  131. package/core-ux/lib/directives/draggable.directive.d.ts +0 -39
  132. package/core-ux/lib/directives/droppable.directive.d.ts +0 -55
  133. package/core-ux/lib/directives/editMode.directive.d.ts +0 -8
  134. package/core-ux/lib/directives/focusable.directive.d.ts +0 -16
  135. package/core-ux/lib/directives/insertion.directive.d.ts +0 -8
  136. package/core-ux/lib/directives/onEnter.directive.d.ts +0 -11
  137. package/core-ux/lib/directives/tab-heading.d.ts +0 -8
  138. package/core-ux/lib/directives/tab-transclude.d.ts +0 -11
  139. package/core-ux/lib/directives/tooltip.directive.d.ts +0 -16
  140. package/core-ux/lib/directives/validate-on-enter.directive.d.ts +0 -10
  141. package/core-ux/lib/directives/viewMode.directive.d.ts +0 -8
  142. package/core-ux/lib/layout/default/default-layout.d.ts +0 -36
  143. package/core-ux/lib/layout/login/login-layout.d.ts +0 -15
  144. package/core-ux/lib/log.service.d.ts +0 -8
  145. package/core-ux/lib/modals/confirm-modal/confirm-modal.component.d.ts +0 -17
  146. package/core-ux/lib/modals/dialog/dialog.component.d.ts +0 -57
  147. package/core-ux/lib/modals/dialog-component.tokens.d.ts +0 -3
  148. package/core-ux/lib/modals/export-data-modal/export-data-modal.component.d.ts +0 -11
  149. package/core-ux/lib/modals/track-record-modal/track-record-modal.component.d.ts +0 -21
  150. package/core-ux/lib/modals/validation-modal/validation-modal.component.d.ts +0 -24
  151. package/core-ux/lib/model/datagrid.d.ts +0 -194
  152. package/core-ux/lib/model/model.d.ts +0 -222
  153. package/core-ux/lib/model/tree.d.ts +0 -12
  154. package/core-ux/lib/pipes/euro.pipe.d.ts +0 -9
  155. package/core-ux/lib/pipes/todefine.pipe.d.ts +0 -8
  156. package/core-ux/lib/pipes/tofixedsizeinteger.pipe.d.ts +0 -8
  157. package/core-ux/lib/services/action.service.d.ts +0 -42
  158. package/core-ux/lib/services/alert.service.d.ts +0 -51
  159. package/core-ux/lib/services/application.service.d.ts +0 -73
  160. package/core-ux/lib/services/can-deactivate-guard.d.ts +0 -12
  161. package/core-ux/lib/services/drag.service.d.ts +0 -54
  162. package/core-ux/lib/services/entity-selectors.d.ts +0 -37
  163. package/core-ux/lib/services/fire-authentication.service.d.ts +0 -13
  164. package/core-ux/lib/services/image.service.d.ts +0 -15
  165. package/core-ux/lib/services/modal-state.service.d.ts +0 -26
  166. package/core-ux/lib/services/modal.service.d.ts +0 -30
  167. package/core-ux/lib/services/presentation-profile.token.d.ts +0 -40
  168. package/core-ux/lib/services/selectorMapperBase.service.d.ts +0 -42
  169. package/core-ux/lib/v2/components/actions-panel/action-panel.component.d.ts +0 -48
  170. package/core-ux/lib/v2/components/base-component/base-component.d.ts +0 -80
  171. package/core-ux/lib/v2/components/cell-renderer/cell-renderer.component.d.ts +0 -11
  172. package/core-ux/lib/v2/components/data-grid/data-grid.component.d.ts +0 -104
  173. package/core-ux/lib/v2/components/data-grid/grid-field-descriptor/grid-field.component.d.ts +0 -55
  174. package/core-ux/lib/v2/components/data-list/data-list.component.d.ts +0 -29
  175. package/core-ux/lib/v2/components/editor-tab/editor-tab.component.d.ts +0 -15
  176. package/core-ux/lib/v2/components/editor-tabset/editor-tabset.component.d.ts +0 -18
  177. package/core-ux/lib/v2/components/field-descriptor/field.component.d.ts +0 -61
  178. package/core-ux/lib/v2/components/filter-form/filter-form.component.d.ts +0 -12
  179. package/core-ux/lib/v2/components/filter-summary/filter-summary.component.d.ts +0 -34
  180. package/core-ux/lib/v2/components/new-editor/new-editor.component.d.ts +0 -66
  181. package/core-ux/lib/v2/components/new-paginator/new-paginator.component.d.ts +0 -31
  182. package/core-ux/lib/v2/components/orderable/orderable-modal.component.d.ts +0 -36
  183. package/core-ux/lib/v2/components/orderable/orderable-modal.service.d.ts +0 -11
  184. package/core-ux/lib/v2/components/orderable/orderable.interface.d.ts +0 -52
  185. package/core-ux/lib/v2/components/property-editor/property-editor-component.d.ts +0 -89
  186. package/core-ux/lib/v2/components/selector/selector-registry.service.d.ts +0 -9
  187. package/core-ux/lib/v2/components/selector/selector.component.d.ts +0 -33
  188. package/core-ux/lib/v2/components/selector/selector.model.d.ts +0 -19
  189. package/core-ux/lib/v2/components/standard-page-layout/standard-page-layout.component.d.ts +0 -29
  190. package/core-ux/lib/v2/directives/base-shortcut.directive.d.ts +0 -15
  191. package/core-ux/lib/v2/directives/hide-on-threshold.directive.d.ts +0 -20
  192. package/core-ux/lib/v2/directives/layout-handler.directive.d.ts +0 -54
  193. package/core-ux/lib/v2/directives/row-ref.directive.d.ts +0 -21
  194. package/core-ux/lib/v2/models/aggregation-model.d.ts +0 -8
  195. package/core-ux/lib/v2/models/contexts/action-context.d.ts +0 -66
  196. package/core-ux/lib/v2/models/contexts/action-handler-context.d.ts +0 -49
  197. package/core-ux/lib/v2/models/contexts/base-form-context.d.ts +0 -42
  198. package/core-ux/lib/v2/models/contexts/change-detection-context.d.ts +0 -41
  199. package/core-ux/lib/v2/models/contexts/data-context.d.ts +0 -25
  200. package/core-ux/lib/v2/models/contexts/data-grid-style-context.d.ts +0 -36
  201. package/core-ux/lib/v2/models/contexts/editor-context.d.ts +0 -30
  202. package/core-ux/lib/v2/models/contexts/entity-config-context.d.ts +0 -49
  203. package/core-ux/lib/v2/models/contexts/filter-context.d.ts +0 -49
  204. package/core-ux/lib/v2/models/contexts/layout-context.d.ts +0 -57
  205. package/core-ux/lib/v2/models/contexts/logger-context.d.ts +0 -5
  206. package/core-ux/lib/v2/models/contexts/section-context.d.ts +0 -85
  207. package/core-ux/lib/v2/models/contexts/selection-context.d.ts +0 -45
  208. package/core-ux/lib/v2/models/entity-facade.d.ts +0 -35
  209. package/core-ux/lib/v2/models/guards/facade-load-guard.d.ts +0 -35
  210. package/core-ux/lib/v2/models/guards/filter-lifecycle-guard.d.ts +0 -29
  211. package/core-ux/lib/v2/models/states/sorting-state.d.ts +0 -14
  212. package/core-ux/lib/v2/models/utilities/action-definition.d.ts +0 -38
  213. package/core-ux/lib/v2/models/utilities/change-utilities.d.ts +0 -11
  214. package/core-ux/lib/v2/models/utilities/entity-updater.d.ts +0 -11
  215. package/core-ux/lib/v2/models/utilities/form-wrapper.d.ts +0 -30
  216. package/core-ux/lib/v2/models/utilities/row-registry.d.ts +0 -15
  217. package/core-ux/lib/v2/models/utilities/selection-styler.d.ts +0 -15
  218. package/core-ux/lib/v2/pipes/gridstyle.pipe.d.ts +0 -15
  219. package/core-ux/lib/v2/services/app-config.service.d.ts +0 -22
  220. package/core-ux/lib/v2/services/entity-facade-registry.service.d.ts +0 -28
  221. package/core-ux/lib/v2/services/facade-modal.service.d.ts +0 -21
  222. package/core-ux/lib/v2/services/layout.service.d.ts +0 -93
  223. package/core-ux/lib/v2/services/property-change-bus.service.d.ts +0 -9
  224. package/core-ux/lib/v2/services/selection.service.d.ts +0 -23
  225. package/core-ux/lib/v2/services/test.service.d.ts +0 -7
  226. package/core-ux/lib/v2/services/validation.service.d.ts +0 -10
  227. package/core-ux/lib/v2/services/view-model-loader.service.d.ts +0 -13
  228. package/system-data/index.d.ts +0 -68
  229. package/system-data/lib/data-services/account-service.generated.d.ts +0 -20
  230. package/system-data/lib/data-services/action-service.generated.d.ts +0 -15
  231. package/system-data/lib/data-services/address-service.generated.d.ts +0 -10
  232. package/system-data/lib/data-services/checkout-service.generated.d.ts +0 -13
  233. package/system-data/lib/data-services/company-service.generated.d.ts +0 -10
  234. package/system-data/lib/data-services/config-service.generated.d.ts +0 -18
  235. package/system-data/lib/data-services/country-service.generated.d.ts +0 -10
  236. package/system-data/lib/data-services/currency-service.generated.d.ts +0 -10
  237. package/system-data/lib/data-services/custom-field-group-entity-service.generated.d.ts +0 -10
  238. package/system-data/lib/data-services/custom-field-group-item-service.generated.d.ts +0 -13
  239. package/system-data/lib/data-services/custom-field-group-service.generated.d.ts +0 -10
  240. package/system-data/lib/data-services/custom-field-options-service.generated.d.ts +0 -10
  241. package/system-data/lib/data-services/custom-field-service.generated.d.ts +0 -10
  242. package/system-data/lib/data-services/custom-field-value-service.generated.d.ts +0 -10
  243. package/system-data/lib/data-services/day-info-service.generated.d.ts +0 -10
  244. package/system-data/lib/data-services/entity-files-service.generated.d.ts +0 -10
  245. package/system-data/lib/data-services/error-category-service.generated.d.ts +0 -13
  246. package/system-data/lib/data-services/exchange-rate-detail-service.generated.d.ts +0 -35
  247. package/system-data/lib/data-services/exchange-rate-service.generated.d.ts +0 -10
  248. package/system-data/lib/data-services/files-service.generated.d.ts +0 -26
  249. package/system-data/lib/data-services/keyword-service.generated.d.ts +0 -12
  250. package/system-data/lib/data-services/meta-entity-field-service.generated.d.ts +0 -10
  251. package/system-data/lib/data-services/meta-entity-form-field-service.generated.d.ts +0 -10
  252. package/system-data/lib/data-services/meta-entity-form-section-service.generated.d.ts +0 -10
  253. package/system-data/lib/data-services/meta-entity-form-service.generated.d.ts +0 -10
  254. package/system-data/lib/data-services/meta-entity-keyword-service.generated.d.ts +0 -10
  255. package/system-data/lib/data-services/meta-entity-relation-definition-service.generated.d.ts +0 -10
  256. package/system-data/lib/data-services/meta-entity-relation-service.generated.d.ts +0 -10
  257. package/system-data/lib/data-services/meta-entity-service.generated.d.ts +0 -10
  258. package/system-data/lib/data-services/meta-entity-translation-service.generated.d.ts +0 -10
  259. package/system-data/lib/data-services/meta-entity-view-field-service.generated.d.ts +0 -10
  260. package/system-data/lib/data-services/news-service.generated.d.ts +0 -13
  261. package/system-data/lib/data-services/parameter-section-service.generated.d.ts +0 -10
  262. package/system-data/lib/data-services/parameter-service.generated.d.ts +0 -10
  263. package/system-data/lib/data-services/parameter-value-service.generated.d.ts +0 -10
  264. package/system-data/lib/data-services/permission-service.generated.d.ts +0 -13
  265. package/system-data/lib/data-services/plugin-parameter-value-service.generated.d.ts +0 -10
  266. package/system-data/lib/data-services/presentation-profile-item-service.generated.d.ts +0 -14
  267. package/system-data/lib/data-services/presentation-profile-service.generated.d.ts +0 -13
  268. package/system-data/lib/data-services/rating-service.generated.d.ts +0 -14
  269. package/system-data/lib/data-services/rating-summary-service.generated.d.ts +0 -10
  270. package/system-data/lib/data-services/request-entity-service.generated.d.ts +0 -10
  271. package/system-data/lib/data-services/request-result-service.generated.d.ts +0 -12
  272. package/system-data/lib/data-services/request-service.generated.d.ts +0 -10
  273. package/system-data/lib/data-services/resource-key-service.generated.d.ts +0 -10
  274. package/system-data/lib/data-services/resource-language-service.generated.d.ts +0 -10
  275. package/system-data/lib/data-services/resource-translation-service.generated.d.ts +0 -10
  276. package/system-data/lib/data-services/role-permission-service.generated.d.ts +0 -10
  277. package/system-data/lib/data-services/role-service.generated.d.ts +0 -10
  278. package/system-data/lib/data-services/subcompany-service.generated.d.ts +0 -10
  279. package/system-data/lib/data-services/supplier-company-service.generated.d.ts +0 -10
  280. package/system-data/lib/data-services/supplier-service.generated.d.ts +0 -10
  281. package/system-data/lib/data-services/synchronized-company-service.generated.d.ts +0 -10
  282. package/system-data/lib/data-services/tva-rate-service.generated.d.ts +0 -10
  283. package/system-data/lib/data-services/user-account-company-service.generated.d.ts +0 -10
  284. package/system-data/lib/data-services/user-account-news-service.generated.d.ts +0 -10
  285. package/system-data/lib/data-services/user-account-role-service.generated.d.ts +0 -10
  286. package/system-data/lib/data-services/user-account-service.generated.d.ts +0 -10
  287. package/system-data/lib/data-services/user-account-token-service.generated.d.ts +0 -10
  288. package/system-data/lib/data-services/user-favorite-service.generated.d.ts +0 -10
  289. package/system-data/lib/data-services/user-group-definition-service.generated.d.ts +0 -10
  290. package/system-data/lib/data-services/user-group-service.generated.d.ts +0 -10
  291. package/system-data/lib/data-services/user-history-service.generated.d.ts +0 -10
  292. package/system-data/lib/data-services/user-permission-view-service.generated.d.ts +0 -10
  293. package/system-data/lib/data-services/user-session-service.generated.d.ts +0 -10
  294. package/system-data/lib/data-services/version-service.generated.d.ts +0 -10
  295. package/system-data/lib/system-data.module.d.ts +0 -9
  296. package/system-model/index.d.ts +0 -3
  297. package/system-model/lib/model/interface.generated.d.ts +0 -1588
  298. package/system-model/lib/model/model.d.ts +0 -11
  299. package/system-model/lib/system-model.module.d.ts +0 -7
  300. package/system-root/index.d.ts +0 -8
  301. package/system-root/lib/generated/system-entity-keys.generated.d.ts +0 -63
  302. package/system-root/lib/generated/system-menu-item-provider.generated.d.ts +0 -67
  303. package/system-root/lib/generated/system-menu-service.generated.d.ts +0 -26
  304. package/system-root/lib/generated/system-permissions.generated.d.ts +0 -368
  305. package/system-root/lib/system-entity-keys.d.ts +0 -11
  306. package/system-root/lib/system-menu-item-provider.d.ts +0 -11
  307. package/system-root/lib/system-menu-service.d.ts +0 -12
  308. package/system-root/lib/system-root.module.d.ts +0 -7
  309. package/system-ux/index.d.ts +0 -181
  310. package/system-ux/lib/activate/activate.component.d.ts +0 -36
  311. package/system-ux/lib/address/address-editor.component.d.ts +0 -12
  312. package/system-ux/lib/app/access-denied/access-denied.component.d.ts +0 -9
  313. package/system-ux/lib/app/dflat-app.module.d.ts +0 -49
  314. package/system-ux/lib/app/history/history.component.d.ts +0 -16
  315. package/system-ux/lib/app/homepage/homepage.component.d.ts +0 -19
  316. package/system-ux/lib/app/layout/dflat-layout.component.d.ts +0 -38
  317. package/system-ux/lib/app/search/search-result/search-result.component.d.ts +0 -42
  318. package/system-ux/lib/app/search/search.component.d.ts +0 -68
  319. package/system-ux/lib/app/services/dflat-app.service.d.ts +0 -21
  320. package/system-ux/lib/app/services/dflat-auth.interceptor.d.ts +0 -16
  321. package/system-ux/lib/app/services/dflat-permission.service.d.ts +0 -7
  322. package/system-ux/lib/app/spinner/dflat-spinner.component.d.ts +0 -11
  323. package/system-ux/lib/app/user-menu/user-menu.component.d.ts +0 -56
  324. package/system-ux/lib/app/user-profile/user-profile.component.d.ts +0 -35
  325. package/system-ux/lib/components/image-upload/image-upload.component.d.ts +0 -99
  326. package/system-ux/lib/config/config-component.d.ts +0 -22
  327. package/system-ux/lib/config/datawarehouse-supply/dw-supply.component.d.ts +0 -14
  328. package/system-ux/lib/custom-field/custom-field-editor.component.d.ts +0 -13
  329. package/system-ux/lib/custom-field-options/custom-field-options-editor.component.d.ts +0 -17
  330. package/system-ux/lib/data-components/address.component.d.ts +0 -7
  331. package/system-ux/lib/data-components/company.component.d.ts +0 -15
  332. package/system-ux/lib/data-components/country.component.d.ts +0 -6
  333. package/system-ux/lib/data-components/currency.component.d.ts +0 -6
  334. package/system-ux/lib/data-components/customfield.component.d.ts +0 -15
  335. package/system-ux/lib/data-components/customfieldgroup.component.d.ts +0 -21
  336. package/system-ux/lib/data-components/customfieldgroupentity.component.d.ts +0 -16
  337. package/system-ux/lib/data-components/customfieldgroupitem.component.d.ts +0 -25
  338. package/system-ux/lib/data-components/customfieldoptions.component.d.ts +0 -19
  339. package/system-ux/lib/data-components/customfieldvalue.component.d.ts +0 -10
  340. package/system-ux/lib/data-components/dayinfo.component.d.ts +0 -10
  341. package/system-ux/lib/data-components/errorcategory.component.d.ts +0 -10
  342. package/system-ux/lib/data-components/exchangerate.component.d.ts +0 -11
  343. package/system-ux/lib/data-components/files.component.d.ts +0 -10
  344. package/system-ux/lib/data-components/generated/address.component.generated.d.ts +0 -18
  345. package/system-ux/lib/data-components/generated/company.component.generated.d.ts +0 -25
  346. package/system-ux/lib/data-components/generated/country.component.generated.d.ts +0 -25
  347. package/system-ux/lib/data-components/generated/currency.component.generated.d.ts +0 -25
  348. package/system-ux/lib/data-components/generated/customfield.component.generated.d.ts +0 -25
  349. package/system-ux/lib/data-components/generated/customfieldgroup.component.generated.d.ts +0 -25
  350. package/system-ux/lib/data-components/generated/customfieldgroupentity.component.generated.d.ts +0 -18
  351. package/system-ux/lib/data-components/generated/customfieldgroupitem.component.generated.d.ts +0 -18
  352. package/system-ux/lib/data-components/generated/customfieldoptions.component.generated.d.ts +0 -18
  353. package/system-ux/lib/data-components/generated/customfieldvalue.component.generated.d.ts +0 -18
  354. package/system-ux/lib/data-components/generated/dayinfo.component.generated.d.ts +0 -18
  355. package/system-ux/lib/data-components/generated/entityfiles.component.generated.d.ts +0 -18
  356. package/system-ux/lib/data-components/generated/errorcategory.component.generated.d.ts +0 -18
  357. package/system-ux/lib/data-components/generated/exchangerate.component.generated.d.ts +0 -18
  358. package/system-ux/lib/data-components/generated/files.component.generated.d.ts +0 -18
  359. package/system-ux/lib/data-components/generated/keyword.component.generated.d.ts +0 -25
  360. package/system-ux/lib/data-components/generated/metaentity.component.generated.d.ts +0 -25
  361. package/system-ux/lib/data-components/generated/metaentityfield.component.generated.d.ts +0 -25
  362. package/system-ux/lib/data-components/generated/metaentityform.component.generated.d.ts +0 -25
  363. package/system-ux/lib/data-components/generated/metaentityformfield.component.generated.d.ts +0 -18
  364. package/system-ux/lib/data-components/generated/metaentityformsection.component.generated.d.ts +0 -25
  365. package/system-ux/lib/data-components/generated/metaentitykeyword.component.generated.d.ts +0 -18
  366. package/system-ux/lib/data-components/generated/metaentityrelation.component.generated.d.ts +0 -25
  367. package/system-ux/lib/data-components/generated/metaentityrelationdefinition.component.generated.d.ts +0 -18
  368. package/system-ux/lib/data-components/generated/metaentitytranslation.component.generated.d.ts +0 -18
  369. package/system-ux/lib/data-components/generated/metaentityviewfield.component.generated.d.ts +0 -25
  370. package/system-ux/lib/data-components/generated/news.component.generated.d.ts +0 -25
  371. package/system-ux/lib/data-components/generated/parameter.component.generated.d.ts +0 -25
  372. package/system-ux/lib/data-components/generated/parametersection.component.generated.d.ts +0 -25
  373. package/system-ux/lib/data-components/generated/parametervalue.component.generated.d.ts +0 -18
  374. package/system-ux/lib/data-components/generated/permission.component.generated.d.ts +0 -25
  375. package/system-ux/lib/data-components/generated/presentationprofile.component.generated.d.ts +0 -25
  376. package/system-ux/lib/data-components/generated/presentationprofileitem.component.generated.d.ts +0 -18
  377. package/system-ux/lib/data-components/generated/rating.component.generated.d.ts +0 -18
  378. package/system-ux/lib/data-components/generated/ratingsummary.component.generated.d.ts +0 -25
  379. package/system-ux/lib/data-components/generated/request.component.generated.d.ts +0 -25
  380. package/system-ux/lib/data-components/generated/requestentity.component.generated.d.ts +0 -25
  381. package/system-ux/lib/data-components/generated/requestresult.component.generated.d.ts +0 -18
  382. package/system-ux/lib/data-components/generated/resourcekey.component.generated.d.ts +0 -25
  383. package/system-ux/lib/data-components/generated/resourcelanguage.component.generated.d.ts +0 -25
  384. package/system-ux/lib/data-components/generated/resourcetranslation.component.generated.d.ts +0 -18
  385. package/system-ux/lib/data-components/generated/role.component.generated.d.ts +0 -25
  386. package/system-ux/lib/data-components/generated/rolepermission.component.generated.d.ts +0 -18
  387. package/system-ux/lib/data-components/generated/subcompany.component.generated.d.ts +0 -18
  388. package/system-ux/lib/data-components/generated/supplier.component.generated.d.ts +0 -25
  389. package/system-ux/lib/data-components/generated/suppliercompany.component.generated.d.ts +0 -18
  390. package/system-ux/lib/data-components/generated/synchronizedcompany.component.generated.d.ts +0 -18
  391. package/system-ux/lib/data-components/generated/system-components.generated.d.ts +0 -69
  392. package/system-ux/lib/data-components/generated/tvarate.component.generated.d.ts +0 -18
  393. package/system-ux/lib/data-components/generated/useraccount.component.generated.d.ts +0 -25
  394. package/system-ux/lib/data-components/generated/useraccountcompany.component.generated.d.ts +0 -18
  395. package/system-ux/lib/data-components/generated/useraccountnews.component.generated.d.ts +0 -18
  396. package/system-ux/lib/data-components/generated/useraccountrole.component.generated.d.ts +0 -18
  397. package/system-ux/lib/data-components/generated/useraccounttoken.component.generated.d.ts +0 -18
  398. package/system-ux/lib/data-components/generated/userfavorite.component.generated.d.ts +0 -18
  399. package/system-ux/lib/data-components/generated/usergroup.component.generated.d.ts +0 -18
  400. package/system-ux/lib/data-components/generated/usergroupdefinition.component.generated.d.ts +0 -18
  401. package/system-ux/lib/data-components/generated/userhistory.component.generated.d.ts +0 -18
  402. package/system-ux/lib/data-components/generated/userpermissionview.component.generated.d.ts +0 -18
  403. package/system-ux/lib/data-components/generated/usersession.component.generated.d.ts +0 -18
  404. package/system-ux/lib/data-components/generated/version.component.generated.d.ts +0 -18
  405. package/system-ux/lib/data-components/keyword.component.d.ts +0 -10
  406. package/system-ux/lib/data-components/metaentity.component.d.ts +0 -16
  407. package/system-ux/lib/data-components/metaentityfield.component.d.ts +0 -17
  408. package/system-ux/lib/data-components/metaentityform.component.d.ts +0 -10
  409. package/system-ux/lib/data-components/metaentityformfield.component.d.ts +0 -10
  410. package/system-ux/lib/data-components/metaentityformsection.component.d.ts +0 -10
  411. package/system-ux/lib/data-components/metaentitykeyword.component.d.ts +0 -10
  412. package/system-ux/lib/data-components/metaentityrelation.component.d.ts +0 -10
  413. package/system-ux/lib/data-components/metaentityrelationdefinition.component.d.ts +0 -10
  414. package/system-ux/lib/data-components/metaentitytranslation.component.d.ts +0 -10
  415. package/system-ux/lib/data-components/metaentityviewfield.component.d.ts +0 -10
  416. package/system-ux/lib/data-components/news.component.d.ts +0 -8
  417. package/system-ux/lib/data-components/parameter.component.d.ts +0 -10
  418. package/system-ux/lib/data-components/parametersection.component.d.ts +0 -10
  419. package/system-ux/lib/data-components/parametervalue.component.d.ts +0 -15
  420. package/system-ux/lib/data-components/permission.component.d.ts +0 -8
  421. package/system-ux/lib/data-components/presentationprofileitem.component.d.ts +0 -10
  422. package/system-ux/lib/data-components/rating.component.d.ts +0 -10
  423. package/system-ux/lib/data-components/ratingsummary.component.d.ts +0 -10
  424. package/system-ux/lib/data-components/request.component.d.ts +0 -16
  425. package/system-ux/lib/data-components/requestentity.component.d.ts +0 -10
  426. package/system-ux/lib/data-components/requestresult.component.d.ts +0 -10
  427. package/system-ux/lib/data-components/resourcekey.component.d.ts +0 -11
  428. package/system-ux/lib/data-components/resourcelanguage.component.d.ts +0 -9
  429. package/system-ux/lib/data-components/resourcetranslation.component.d.ts +0 -10
  430. package/system-ux/lib/data-components/role.component.d.ts +0 -10
  431. package/system-ux/lib/data-components/rolepermission.component.d.ts +0 -10
  432. package/system-ux/lib/data-components/subcompany.component.d.ts +0 -11
  433. package/system-ux/lib/data-components/supplier.component.d.ts +0 -8
  434. package/system-ux/lib/data-components/suppliercompany.component.d.ts +0 -10
  435. package/system-ux/lib/data-components/synchronizedcompany.component.d.ts +0 -15
  436. package/system-ux/lib/data-components/tvarate.component.d.ts +0 -14
  437. package/system-ux/lib/data-components/useraccount.component.d.ts +0 -11
  438. package/system-ux/lib/data-components/useraccountcompany.component.d.ts +0 -10
  439. package/system-ux/lib/data-components/useraccountnews.component.d.ts +0 -10
  440. package/system-ux/lib/data-components/useraccountrole.component.d.ts +0 -10
  441. package/system-ux/lib/data-components/useraccounttoken.component.d.ts +0 -10
  442. package/system-ux/lib/data-components/usercompany.component.d.ts +0 -19
  443. package/system-ux/lib/data-components/userfavorite.component.d.ts +0 -10
  444. package/system-ux/lib/data-components/usergroup.component.d.ts +0 -8
  445. package/system-ux/lib/data-components/usergroupdefinition.component.d.ts +0 -15
  446. package/system-ux/lib/data-components/userhistory.component.d.ts +0 -10
  447. package/system-ux/lib/data-components/userpermission.component.d.ts +0 -11
  448. package/system-ux/lib/data-components/userpermissionview.component.d.ts +0 -10
  449. package/system-ux/lib/data-components/userrole.component.d.ts +0 -17
  450. package/system-ux/lib/data-components/usersession.component.d.ts +0 -10
  451. package/system-ux/lib/data-components/version.component.d.ts +0 -10
  452. package/system-ux/lib/editor-components/company-editor.component.d.ts +0 -12
  453. package/system-ux/lib/editor-components/country-editor.component.d.ts +0 -12
  454. package/system-ux/lib/editor-components/currency-editor.component.d.ts +0 -12
  455. package/system-ux/lib/editor-components/custom-field-group-editor.component.d.ts +0 -14
  456. package/system-ux/lib/editor-components/custom-field-group-entity-editor.component.d.ts +0 -13
  457. package/system-ux/lib/editor-components/custom-field-group-item-editor.component.d.ts +0 -12
  458. package/system-ux/lib/editor-components/news-editor.component.d.ts +0 -28
  459. package/system-ux/lib/editor-components/permission-editor.component.d.ts +0 -12
  460. package/system-ux/lib/editor-components/request-editor.component.d.ts +0 -12
  461. package/system-ux/lib/editor-components/resource-translation-editor.component.d.ts +0 -12
  462. package/system-ux/lib/editor-components/role-editor.component.d.ts +0 -27
  463. package/system-ux/lib/editor-components/user-account-editor.component.d.ts +0 -12
  464. package/system-ux/lib/editor-components/user-account-profile.component.d.ts +0 -31
  465. package/system-ux/lib/editor-components/user-group-editor.component.d.ts +0 -12
  466. package/system-ux/lib/entity-files/entity-files.component.d.ts +0 -37
  467. package/system-ux/lib/exchange-rate/exchange-rate-detail.component.d.ts +0 -17
  468. package/system-ux/lib/exchange-rate/exchange-rate-editor.component.d.ts +0 -25
  469. package/system-ux/lib/login/login.component.d.ts +0 -37
  470. package/system-ux/lib/meta-entity-field/meta-entity-field-editor.component.d.ts +0 -12
  471. package/system-ux/lib/presentation-profile/pp-facade.service.d.ts +0 -39
  472. package/system-ux/lib/presentation-profile/presentation-profile-action-service.d.ts +0 -16
  473. package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-column.component.d.ts +0 -73
  474. package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-items.component.d.ts +0 -50
  475. package/system-ux/lib/presentation-profile/presentation-profile-resolver.service.d.ts +0 -34
  476. package/system-ux/lib/presentation-profile/presentation-profile-transformer.d.ts +0 -48
  477. package/system-ux/lib/presentation-profile/presentation-profile.component.d.ts +0 -16
  478. package/system-ux/lib/presentation-profile/presentation-profile.service.d.ts +0 -58
  479. package/system-ux/lib/request-results/request-results.component.d.ts +0 -15
  480. package/system-ux/lib/reset-password/reset-password.component.d.ts +0 -32
  481. package/system-ux/lib/resource-language/resourcelanguage-editor.component.d.ts +0 -12
  482. package/system-ux/lib/services/custom-field-action-service.d.ts +0 -25
  483. package/system-ux/lib/services/custom-field-service.d.ts +0 -21
  484. package/system-ux/lib/services/rates-action-service.d.ts +0 -28
  485. package/system-ux/lib/services/select-user-company-action-service.d.ts +0 -23
  486. package/system-ux/lib/services/system-section.service.d.ts +0 -12
  487. package/system-ux/lib/services/system-selector-mapper.service.d.ts +0 -24
  488. package/system-ux/lib/services/user-action-service.d.ts +0 -20
  489. package/system-ux/lib/supplier/supplier-editor.component.d.ts +0 -12
  490. package/system-ux/lib/system-ux.module.d.ts +0 -131
  491. package/system-ux/lib/tva-rate/tva-rate-detail.component.d.ts +0 -17
  492. package/system-ux/lib/tva-rate/tva-rate-editor.component.d.ts +0 -25
@@ -1,245 +1,256 @@
1
- import { CommonModule } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { NgModule } from '@angular/core';
4
- import { Utilities } from '@dflat-core/web/core';
5
-
6
- class CoreModelModule {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: CoreModelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.4", ngImport: i0, type: CoreModelModule, imports: [CommonModule] }); }
9
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: CoreModelModule, imports: [CommonModule] }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.4", ngImport: i0, type: CoreModelModule, decorators: [{
12
- type: NgModule,
13
- args: [{
14
- imports: [CommonModule],
15
- declarations: [],
16
- exports: []
17
- }]
18
- }] });
19
-
1
+ import { CommonModule } from "@angular/common";
2
+ import * as i0 from "@angular/core";
3
+ import { NgModule } from "@angular/core";
4
+ import { Utilities } from "@dflat-core/web/core";
5
+ var CoreModelModule = class CoreModelModule {
6
+ static {
7
+ this.ɵfac = i0.ɵɵngDeclareFactory({
8
+ minVersion: "12.0.0",
9
+ version: "22.2.1",
10
+ ngImport: i0,
11
+ type: CoreModelModule,
12
+ deps: [],
13
+ target: i0.ɵɵFactoryTarget.NgModule
14
+ });
15
+ }
16
+ static {
17
+ this.ɵmod = i0.ɵɵngDeclareNgModule({
18
+ minVersion: "14.0.0",
19
+ version: "22.2.1",
20
+ ngImport: i0,
21
+ type: CoreModelModule,
22
+ imports: [CommonModule]
23
+ });
24
+ }
25
+ static {
26
+ this.ɵinj = i0.ɵɵngDeclareInjector({
27
+ minVersion: "12.0.0",
28
+ version: "22.2.1",
29
+ ngImport: i0,
30
+ type: CoreModelModule,
31
+ imports: [CommonModule]
32
+ });
33
+ }
34
+ };
35
+ i0.ɵɵngDeclareClassMetadata({
36
+ minVersion: "12.0.0",
37
+ version: "22.2.1",
38
+ ngImport: i0,
39
+ type: CoreModelModule,
40
+ decorators: [{
41
+ type: NgModule,
42
+ args: [{
43
+ imports: [CommonModule],
44
+ declarations: [],
45
+ exports: []
46
+ }]
47
+ }]
48
+ });
20
49
  var ValidatorTypes;
21
- (function (ValidatorTypes) {
22
- ValidatorTypes[ValidatorTypes["None"] = 0] = "None";
23
- ValidatorTypes[ValidatorTypes["MaxLength"] = 1] = "MaxLength";
24
- ValidatorTypes[ValidatorTypes["MinLength"] = 2] = "MinLength";
25
- ValidatorTypes[ValidatorTypes["Max"] = 4] = "Max";
26
- ValidatorTypes[ValidatorTypes["Min"] = 8] = "Min";
27
- ValidatorTypes[ValidatorTypes["Email"] = 16] = "Email";
28
- ValidatorTypes[ValidatorTypes["Required"] = 32] = "Required";
29
- ValidatorTypes[ValidatorTypes["Unicity"] = 64] = "Unicity";
30
- ValidatorTypes[ValidatorTypes["Nullable"] = 128] = "Nullable";
50
+ (function(ValidatorTypes) {
51
+ ValidatorTypes[ValidatorTypes["None"] = 0] = "None";
52
+ ValidatorTypes[ValidatorTypes["MaxLength"] = 1] = "MaxLength";
53
+ ValidatorTypes[ValidatorTypes["MinLength"] = 2] = "MinLength";
54
+ ValidatorTypes[ValidatorTypes["Max"] = 4] = "Max";
55
+ ValidatorTypes[ValidatorTypes["Min"] = 8] = "Min";
56
+ ValidatorTypes[ValidatorTypes["Email"] = 16] = "Email";
57
+ ValidatorTypes[ValidatorTypes["Required"] = 32] = "Required";
58
+ ValidatorTypes[ValidatorTypes["Unicity"] = 64] = "Unicity";
59
+ ValidatorTypes[ValidatorTypes["Nullable"] = 128] = "Nullable";
31
60
  })(ValidatorTypes || (ValidatorTypes = {}));
32
61
  var FilterType;
33
- (function (FilterType) {
34
- FilterType[FilterType["String"] = 0] = "String";
35
- FilterType[FilterType["Integer"] = 1] = "Integer";
36
- FilterType[FilterType["Date"] = 2] = "Date";
37
- FilterType[FilterType["ComboBox"] = 3] = "ComboBox";
38
- FilterType[FilterType["CheckBox"] = 4] = "CheckBox";
39
- FilterType[FilterType["Email"] = 5] = "Email";
40
- FilterType[FilterType["WeekNumber"] = 6] = "WeekNumber";
41
- FilterType[FilterType["Text"] = 7] = "Text";
42
- FilterType[FilterType["Custom"] = 8] = "Custom";
43
- FilterType[FilterType["RadioButton"] = 9] = "RadioButton";
44
- FilterType[FilterType["TextZoneWithButton"] = 10] = "TextZoneWithButton";
45
- FilterType[FilterType["HorizComboBox"] = 11] = "HorizComboBox";
46
- FilterType[FilterType["TextWithButton"] = 12] = "TextWithButton";
47
- FilterType[FilterType["DropFileZone"] = 13] = "DropFileZone";
48
- FilterType[FilterType["DateTime"] = 14] = "DateTime";
49
- FilterType[FilterType["Password"] = 15] = "Password";
50
- FilterType[FilterType["TreeSelector"] = 16] = "TreeSelector";
51
- FilterType[FilterType["Decimal"] = 17] = "Decimal";
62
+ (function(FilterType) {
63
+ FilterType[FilterType["String"] = 0] = "String";
64
+ FilterType[FilterType["Integer"] = 1] = "Integer";
65
+ FilterType[FilterType["Date"] = 2] = "Date";
66
+ FilterType[FilterType["ComboBox"] = 3] = "ComboBox";
67
+ FilterType[FilterType["CheckBox"] = 4] = "CheckBox";
68
+ FilterType[FilterType["Email"] = 5] = "Email";
69
+ FilterType[FilterType["WeekNumber"] = 6] = "WeekNumber";
70
+ FilterType[FilterType["Text"] = 7] = "Text";
71
+ FilterType[FilterType["Custom"] = 8] = "Custom";
72
+ FilterType[FilterType["RadioButton"] = 9] = "RadioButton";
73
+ FilterType[FilterType["TextZoneWithButton"] = 10] = "TextZoneWithButton";
74
+ FilterType[FilterType["HorizComboBox"] = 11] = "HorizComboBox";
75
+ FilterType[FilterType["TextWithButton"] = 12] = "TextWithButton";
76
+ FilterType[FilterType["DropFileZone"] = 13] = "DropFileZone";
77
+ FilterType[FilterType["DateTime"] = 14] = "DateTime";
78
+ FilterType[FilterType["Password"] = 15] = "Password";
79
+ FilterType[FilterType["TreeSelector"] = 16] = "TreeSelector";
80
+ FilterType[FilterType["Decimal"] = 17] = "Decimal";
52
81
  })(FilterType || (FilterType = {}));
53
82
  var ConditionalResults;
54
- (function (ConditionalResults) {
55
- ConditionalResults[ConditionalResults["Hide"] = 0] = "Hide";
56
- ConditionalResults[ConditionalResults["ReadOnly"] = 1] = "ReadOnly";
83
+ (function(ConditionalResults) {
84
+ ConditionalResults[ConditionalResults["Hide"] = 0] = "Hide";
85
+ ConditionalResults[ConditionalResults["ReadOnly"] = 1] = "ReadOnly";
57
86
  })(ConditionalResults || (ConditionalResults = {}));
58
87
  var ColumnSpans;
59
- (function (ColumnSpans) {
60
- ColumnSpans[ColumnSpans["Single"] = 0] = "Single";
61
- ColumnSpans[ColumnSpans["Full"] = 1] = "Full";
88
+ (function(ColumnSpans) {
89
+ ColumnSpans[ColumnSpans["Single"] = 0] = "Single";
90
+ ColumnSpans[ColumnSpans["Full"] = 1] = "Full";
62
91
  })(ColumnSpans || (ColumnSpans = {}));
63
92
  var ApiErrorTypes;
64
- (function (ApiErrorTypes) {
65
- ApiErrorTypes[ApiErrorTypes["Unknown"] = 0] = "Unknown";
66
- ApiErrorTypes[ApiErrorTypes["DatabaseError"] = 1] = "DatabaseError";
67
- ApiErrorTypes[ApiErrorTypes["SystemError"] = 2] = "SystemError";
68
- ApiErrorTypes[ApiErrorTypes["UserError"] = 3] = "UserError";
93
+ (function(ApiErrorTypes) {
94
+ ApiErrorTypes[ApiErrorTypes["Unknown"] = 0] = "Unknown";
95
+ ApiErrorTypes[ApiErrorTypes["DatabaseError"] = 1] = "DatabaseError";
96
+ ApiErrorTypes[ApiErrorTypes["SystemError"] = 2] = "SystemError";
97
+ ApiErrorTypes[ApiErrorTypes["UserError"] = 3] = "UserError";
69
98
  })(ApiErrorTypes || (ApiErrorTypes = {}));
70
99
  var ActionDisplay;
71
- (function (ActionDisplay) {
72
- ActionDisplay[ActionDisplay["Button"] = 0] = "Button";
73
- ActionDisplay[ActionDisplay["TextAndButton"] = 1] = "TextAndButton";
100
+ (function(ActionDisplay) {
101
+ ActionDisplay[ActionDisplay["Button"] = 0] = "Button";
102
+ ActionDisplay[ActionDisplay["TextAndButton"] = 1] = "TextAndButton";
74
103
  })(ActionDisplay || (ActionDisplay = {}));
75
104
  var ImageFormats;
76
- (function (ImageFormats) {
77
- ImageFormats[ImageFormats["Undefined"] = 0] = "Undefined";
78
- ImageFormats[ImageFormats["JPG"] = 1] = "JPG";
79
- ImageFormats[ImageFormats["PNG"] = 2] = "PNG";
80
- ImageFormats[ImageFormats["GIF"] = 3] = "GIF";
81
- ImageFormats[ImageFormats["TIFF"] = 4] = "TIFF";
82
- ImageFormats[ImageFormats["BMP"] = 5] = "BMP";
83
- ImageFormats[ImageFormats["SVG"] = 6] = "SVG";
105
+ (function(ImageFormats) {
106
+ ImageFormats[ImageFormats["Undefined"] = 0] = "Undefined";
107
+ ImageFormats[ImageFormats["JPG"] = 1] = "JPG";
108
+ ImageFormats[ImageFormats["PNG"] = 2] = "PNG";
109
+ ImageFormats[ImageFormats["GIF"] = 3] = "GIF";
110
+ ImageFormats[ImageFormats["TIFF"] = 4] = "TIFF";
111
+ ImageFormats[ImageFormats["BMP"] = 5] = "BMP";
112
+ ImageFormats[ImageFormats["SVG"] = 6] = "SVG";
84
113
  })(ImageFormats || (ImageFormats = {}));
85
114
  var TextSearch;
86
- (function (TextSearch) {
87
- TextSearch[TextSearch["Contains"] = 0] = "Contains";
88
- TextSearch[TextSearch["StartsWith"] = 1] = "StartsWith";
89
- TextSearch[TextSearch["EndsWith"] = 2] = "EndsWith";
115
+ (function(TextSearch) {
116
+ TextSearch[TextSearch["Contains"] = 0] = "Contains";
117
+ TextSearch[TextSearch["StartsWith"] = 1] = "StartsWith";
118
+ TextSearch[TextSearch["EndsWith"] = 2] = "EndsWith";
90
119
  })(TextSearch || (TextSearch = {}));
91
120
  var ExportType;
92
- (function (ExportType) {
93
- ExportType[ExportType["CSV"] = 0] = "CSV";
94
- ExportType[ExportType["EXCEL"] = 1] = "EXCEL";
121
+ (function(ExportType) {
122
+ ExportType[ExportType["CSV"] = 0] = "CSV";
123
+ ExportType[ExportType["EXCEL"] = 1] = "EXCEL";
95
124
  })(ExportType || (ExportType = {}));
96
125
  var AggregateFunction;
97
- (function (AggregateFunction) {
98
- AggregateFunction[AggregateFunction["Count"] = 0] = "Count";
99
- AggregateFunction[AggregateFunction["Sum"] = 1] = "Sum";
100
- AggregateFunction[AggregateFunction["Min"] = 2] = "Min";
101
- AggregateFunction[AggregateFunction["Max"] = 3] = "Max";
102
- AggregateFunction[AggregateFunction["Avg"] = 4] = "Avg";
126
+ (function(AggregateFunction) {
127
+ AggregateFunction[AggregateFunction["Count"] = 0] = "Count";
128
+ AggregateFunction[AggregateFunction["Sum"] = 1] = "Sum";
129
+ AggregateFunction[AggregateFunction["Min"] = 2] = "Min";
130
+ AggregateFunction[AggregateFunction["Max"] = 3] = "Max";
131
+ AggregateFunction[AggregateFunction["Avg"] = 4] = "Avg";
103
132
  })(AggregateFunction || (AggregateFunction = {}));
104
133
  var ActionResultStatus;
105
- (function (ActionResultStatus) {
106
- ActionResultStatus[ActionResultStatus["OK"] = 0] = "OK";
107
- ActionResultStatus[ActionResultStatus["KO"] = 1] = "KO";
134
+ (function(ActionResultStatus) {
135
+ ActionResultStatus[ActionResultStatus["OK"] = 0] = "OK";
136
+ ActionResultStatus[ActionResultStatus["KO"] = 1] = "KO";
108
137
  })(ActionResultStatus || (ActionResultStatus = {}));
109
-
110
- class UserUpdatedMessage {
111
- constructor(userKey) {
112
- this.userKey = userKey;
113
- }
114
- }
115
- class User {
116
- constructor(data) {
117
- this.IsConnected = false;
118
- this.Username = data.Username;
119
- this.FirstName = data.FirstName;
120
- this.LastName = data.LastName;
121
- this.Email = data.Email;
122
- this.PhoneNumber = data.PhoneNumber;
123
- this.ProfileImageUrl = data.ProfileImageUrl;
124
- this.IsAdmin = data.IsAdmin;
125
- this.IsPartner = data.IsPartner;
126
- this.IsDelivery = data.IsDelivery;
127
- this.IsAdmin = data.IsAdmin;
128
- this.IsPartner = data.IsPartner;
129
- this.IsDelivery = data.IsDelivery;
130
- this.IsActive = data.IsActive;
131
- this.IsPartnerActive = data.IsPartnerActive;
132
- this.IsDeliveryActive = data.IsDeliveryActive;
133
- this.Id = data.Id;
134
- this.CompanyId = data.CompanyId;
135
- this.AccessToken = data.AccessToken;
136
- this.AvatarUrl = data.AvatarUrl;
137
- }
138
- getName() {
139
- return this.FirstName + ' ' + this.LastName;
140
- }
141
- }
142
- class Notification {
143
- constructor(data = {}) {
144
- this.id = data.id || '';
145
- this.content = data.content || '';
146
- this.class = data.class || '';
147
- this.link = data.link || '';
148
- this.entityType = data.entityType || '';
149
- this.entityId = data.entityId;
150
- }
151
- }
152
- class ChannelData {
153
- constructor(channel, data) {
154
- this.Channel = channel;
155
- this.Data = data;
156
- }
157
- }
158
- class IMessage {
159
- }
160
- class Message {
161
- constructor(channel, data) {
162
- this.Channel = channel;
163
- this.Data = data;
164
- }
165
- }
166
- class NumberDictionnaryWrapper {
167
- constructor() {
168
- this.dictionary = {};
169
- }
170
- get(key) {
171
- return this.dictionary[key];
172
- }
173
- containsKey(key) {
174
- if (typeof this.dictionary[key] === "undefined") {
175
- return false;
176
- }
177
- return true;
178
- }
179
- }
180
- class DictionnaryWrapper {
181
- constructor() {
182
- this.dictionary = {};
183
- }
184
- get(key) {
185
- return this.dictionary[key];
186
- }
187
- containsKey(key) {
188
- if (typeof this.dictionary[key] === "undefined") {
189
- return false;
190
- }
191
- return true;
192
- }
193
- getPartKey(key) {
194
- if (typeof this.dictionary[key] === "undefined") {
195
- let keyFound = Object.keys(this.dictionary).find(obj => key.includes(obj));
196
- if (keyFound) {
197
- key = keyFound;
198
- }
199
- }
200
- return this.dictionary[key];
201
- }
202
- containsKeyOrPartKey(key) {
203
- let routeFound = Object.keys(this.dictionary).find(obj => key.includes(obj));
204
- if (!Utilities.IsNil(routeFound)) {
205
- return true;
206
- }
207
- if (typeof this.dictionary[key] === "undefined") {
208
- return false;
209
- }
210
- return true;
211
- }
212
- getValues() {
213
- return Object.keys(this.dictionary).map(key => this.dictionary[key]);
214
- }
215
- }
216
-
217
- class HistoryItem {
218
- }
138
+ var UserUpdatedMessage = class {
139
+ constructor(userKey) {
140
+ this.userKey = userKey;
141
+ }
142
+ };
143
+ var User = class {
144
+ constructor(data) {
145
+ this.IsConnected = false;
146
+ this.Username = data.Username;
147
+ this.FirstName = data.FirstName;
148
+ this.LastName = data.LastName;
149
+ this.Email = data.Email;
150
+ this.PhoneNumber = data.PhoneNumber;
151
+ this.ProfileImageUrl = data.ProfileImageUrl;
152
+ this.IsAdmin = data.IsAdmin;
153
+ this.IsPartner = data.IsPartner;
154
+ this.IsDelivery = data.IsDelivery;
155
+ this.IsAdmin = data.IsAdmin;
156
+ this.IsPartner = data.IsPartner;
157
+ this.IsDelivery = data.IsDelivery;
158
+ this.IsActive = data.IsActive;
159
+ this.IsPartnerActive = data.IsPartnerActive;
160
+ this.IsDeliveryActive = data.IsDeliveryActive;
161
+ this.Id = data.Id;
162
+ this.CompanyId = data.CompanyId;
163
+ this.AccessToken = data.AccessToken;
164
+ this.AvatarUrl = data.AvatarUrl;
165
+ }
166
+ getName() {
167
+ return this.FirstName + " " + this.LastName;
168
+ }
169
+ };
170
+ var Notification = class {
171
+ constructor(data = {}) {
172
+ this.id = data.id || "";
173
+ this.content = data.content || "";
174
+ this.class = data.class || "";
175
+ this.link = data.link || "";
176
+ this.entityType = data.entityType || "";
177
+ this.entityId = data.entityId;
178
+ }
179
+ };
180
+ var ChannelData = class {
181
+ constructor(channel, data) {
182
+ this.Channel = channel;
183
+ this.Data = data;
184
+ }
185
+ };
186
+ var IMessage = class {};
187
+ var Message = class {
188
+ constructor(channel, data) {
189
+ this.Channel = channel;
190
+ this.Data = data;
191
+ }
192
+ };
193
+ var NumberDictionnaryWrapper = class {
194
+ constructor() {
195
+ this.dictionary = {};
196
+ }
197
+ get(key) {
198
+ return this.dictionary[key];
199
+ }
200
+ containsKey(key) {
201
+ if (typeof this.dictionary[key] === "undefined") return false;
202
+ return true;
203
+ }
204
+ };
205
+ var DictionnaryWrapper = class {
206
+ constructor() {
207
+ this.dictionary = {};
208
+ }
209
+ get(key) {
210
+ return this.dictionary[key];
211
+ }
212
+ containsKey(key) {
213
+ if (typeof this.dictionary[key] === "undefined") return false;
214
+ return true;
215
+ }
216
+ getPartKey(key) {
217
+ if (typeof this.dictionary[key] === "undefined") {
218
+ let keyFound = Object.keys(this.dictionary).find((obj) => key.includes(obj));
219
+ if (keyFound) key = keyFound;
220
+ }
221
+ return this.dictionary[key];
222
+ }
223
+ containsKeyOrPartKey(key) {
224
+ let routeFound = Object.keys(this.dictionary).find((obj) => key.includes(obj));
225
+ if (!Utilities.IsNil(routeFound)) return true;
226
+ if (typeof this.dictionary[key] === "undefined") return false;
227
+ return true;
228
+ }
229
+ getValues() {
230
+ return Object.keys(this.dictionary).map((key) => this.dictionary[key]);
231
+ }
232
+ };
233
+ var HistoryItem = class {};
219
234
  var FilterOperator;
220
- (function (FilterOperator) {
221
- FilterOperator[FilterOperator["Contains"] = 0] = "Contains";
222
- FilterOperator[FilterOperator["StartsWith"] = 1] = "StartsWith";
223
- FilterOperator[FilterOperator["EndsWith"] = 2] = "EndsWith";
224
- FilterOperator[FilterOperator["Equals"] = 3] = "Equals";
235
+ (function(FilterOperator) {
236
+ FilterOperator[FilterOperator["Contains"] = 0] = "Contains";
237
+ FilterOperator[FilterOperator["StartsWith"] = 1] = "StartsWith";
238
+ FilterOperator[FilterOperator["EndsWith"] = 2] = "EndsWith";
239
+ FilterOperator[FilterOperator["Equals"] = 3] = "Equals";
225
240
  })(FilterOperator || (FilterOperator = {}));
226
241
  var CustomFieldTypes;
227
- (function (CustomFieldTypes) {
228
- CustomFieldTypes[CustomFieldTypes["String"] = 0] = "String";
229
- CustomFieldTypes[CustomFieldTypes["Integer"] = 1] = "Integer";
230
- CustomFieldTypes[CustomFieldTypes["Date"] = 2] = "Date";
231
- CustomFieldTypes[CustomFieldTypes["ComboBox"] = 3] = "ComboBox";
232
- CustomFieldTypes[CustomFieldTypes["Checkbox"] = 4] = "Checkbox";
233
- CustomFieldTypes[CustomFieldTypes["Email"] = 5] = "Email";
234
- CustomFieldTypes[CustomFieldTypes["WeekNumber"] = 6] = "WeekNumber";
235
- CustomFieldTypes[CustomFieldTypes["Text"] = 7] = "Text";
236
- CustomFieldTypes[CustomFieldTypes["Custom"] = 8] = "Custom";
237
- CustomFieldTypes[CustomFieldTypes["Number"] = 9] = "Number";
242
+ (function(CustomFieldTypes) {
243
+ CustomFieldTypes[CustomFieldTypes["String"] = 0] = "String";
244
+ CustomFieldTypes[CustomFieldTypes["Integer"] = 1] = "Integer";
245
+ CustomFieldTypes[CustomFieldTypes["Date"] = 2] = "Date";
246
+ CustomFieldTypes[CustomFieldTypes["ComboBox"] = 3] = "ComboBox";
247
+ CustomFieldTypes[CustomFieldTypes["Checkbox"] = 4] = "Checkbox";
248
+ CustomFieldTypes[CustomFieldTypes["Email"] = 5] = "Email";
249
+ CustomFieldTypes[CustomFieldTypes["WeekNumber"] = 6] = "WeekNumber";
250
+ CustomFieldTypes[CustomFieldTypes["Text"] = 7] = "Text";
251
+ CustomFieldTypes[CustomFieldTypes["Custom"] = 8] = "Custom";
252
+ CustomFieldTypes[CustomFieldTypes["Number"] = 9] = "Number";
238
253
  })(CustomFieldTypes || (CustomFieldTypes = {}));
239
-
240
- /**
241
- * Generated bundle index. Do not edit.
242
- */
243
-
244
254
  export { ActionDisplay, ActionResultStatus, AggregateFunction, ApiErrorTypes, ChannelData, ColumnSpans, ConditionalResults, CoreModelModule, CustomFieldTypes, DictionnaryWrapper, ExportType, FilterOperator, FilterType, HistoryItem, IMessage, ImageFormats, Message, Notification, NumberDictionnaryWrapper, TextSearch, User, UserUpdatedMessage, ValidatorTypes };
245
- //# sourceMappingURL=dflat-core-web-core-model.mjs.map
255
+
256
+ //# sourceMappingURL=dflat-core-web-core-model.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dflat-core-web-core-model.mjs","sources":["../../core-model/src/lib/core-model.module.ts","../../core-model/src/lib/model/interface.generated.ts","../../core-model/src/lib/interface.ts","../../core-model/src/lib/model/model.ts","../../core-model/src/dflat-core-web-core-model.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [],\r\n exports: []\r\n})\r\nexport class CoreModelModule {}\r\n","export interface ViewModel {\r\n}\r\n\r\nexport interface ExtendedProperty {\r\n EntityId? : number;\r\n FieldType? : number;\r\n PropertyId? : number;\r\n PropertyName? : string;\r\n Value? : string;\r\n}\r\n\r\nexport enum ValidatorTypes {\r\n None = 0,\r\n MaxLength = 1,\r\n MinLength = 2,\r\n Max = 4,\r\n Min = 8,\r\n Email = 16,\r\n Required = 32,\r\n Unicity = 64,\r\n Nullable = 128,\r\n}\r\n\r\nexport interface PagingViewModel {\r\n EnablePaging? : boolean;\r\n Offset? : number;\r\n SortColumn? : string;\r\n SortDirection? : string;\r\n SpecificSortClause? : string;\r\n Take? : number;\r\n}\r\n\r\nexport interface EntityViewModel extends ViewModel {\r\n ExtendedProperties? : ExtendedProperty[];\r\n Id? : number;\r\n IsEditable? : boolean;\r\n IsSelected? : boolean;\r\n IsStorable? : boolean;\r\n Name? : string;\r\n RowVersion? : Date;\r\n}\r\n\r\nexport interface TextWithStyle {\r\n GreenText? : string;\r\n RedText? : string;\r\n YellowText? : string;\r\n}\r\n\r\nexport interface INode {\r\n Childrens? : INode[];\r\n Code? : string;\r\n Description? : string;\r\n Id? : number;\r\n ParentId? : number;\r\n UniqueName? : string;\r\n}\r\n\r\nexport interface FilterViewModel extends PagingViewModel {\r\n AdditionalFilter? : string;\r\n AggregateClause? : string;\r\n BrandId? : number;\r\n CustomFieldIds? : string;\r\n Id? : number;\r\n IsCsvExport? : boolean;\r\n Keywords? : string;\r\n}\r\n\r\nexport enum FilterType {\r\n String = 0,\r\n Integer = 1,\r\n Date = 2,\r\n ComboBox = 3,\r\n CheckBox = 4,\r\n Email = 5,\r\n WeekNumber = 6,\r\n Text = 7,\r\n Custom = 8,\r\n RadioButton = 9,\r\n TextZoneWithButton = 10,\r\n HorizComboBox = 11,\r\n TextWithButton = 12,\r\n DropFileZone = 13,\r\n DateTime = 14,\r\n Password = 15,\r\n TreeSelector = 16,\r\n Decimal = 17,\r\n}\r\n\r\nexport interface FieldValidators {\r\n MaxLength? : number;\r\n MaxValue? : number;\r\n MinValue? : number;\r\n ValidatorType? : ValidatorTypes;\r\n}\r\n\r\nexport enum ConditionalResults {\r\n Hide = 0,\r\n ReadOnly = 1,\r\n}\r\n\r\nexport enum ColumnSpans {\r\n Single = 0,\r\n Full = 1,\r\n}\r\n\r\nexport interface FieldDescriptor {\r\n BoolConditioningFieldValue? : boolean;\r\n ButtonLabel? : string;\r\n CascadeDependency? : boolean;\r\n CascadeDependencyProperty? : string;\r\n ColumnIndex? : number;\r\n ColumnSpan? : ColumnSpans;\r\n ConditionalResult? : ConditionalResults;\r\n ConditioningField? : string;\r\n ConditioningFieldValue? : number[];\r\n CurrentFilters? : any;\r\n Data? : any;\r\n DataFilter? : FilterViewModel;\r\n Description? : string;\r\n DisplayMember? : string;\r\n ExportPropertyName? : string;\r\n FieldValidators? : FieldValidators;\r\n FilterDistinct? : boolean;\r\n FilterType? : FilterType;\r\n HideSelected? : boolean;\r\n Highlight? : boolean;\r\n InputType? : string;\r\n IsClearable? : boolean;\r\n IsConditional? : boolean;\r\n IsConditioning? : boolean;\r\n IsExtendedProperty? : boolean;\r\n IsHidden? : boolean;\r\n IsStatic? : boolean;\r\n KeepPlace? : boolean;\r\n Label? : string;\r\n ModalEntityKey? : string;\r\n ModalOnly? : boolean;\r\n ModalPropertyName? : string;\r\n ModalPropertyValue? : string;\r\n ModalTitle? : string;\r\n ModalTriggerIdProperty? : string;\r\n ModalTriggerIdPropertyValue? : string;\r\n MultipleSelection? : boolean;\r\n NotDefaultRequired? : boolean;\r\n OriginalData? : any;\r\n PropertyLength? : number;\r\n PropertyName? : string;\r\n ReadOnly? : boolean;\r\n Required? : boolean;\r\n TextWithStyle? : TextWithStyle;\r\n ToolTip? : string;\r\n ValueMember? : string;\r\n}\r\n\r\nexport interface EntityFilterViewModel<T> extends FilterViewModel {\r\n}\r\n\r\nexport enum ApiErrorTypes {\r\n Unknown = 0,\r\n DatabaseError = 1,\r\n SystemError = 2,\r\n UserError = 3,\r\n}\r\n\r\nexport interface TreeItem<T> {\r\n checked? : boolean;\r\n children? : TreeItem<T>[];\r\n childrenCount? : number;\r\n text? : string;\r\n value? : number;\r\n}\r\n\r\nexport interface Section {\r\n FieldViewModels? : FieldDescriptor[];\r\n IsCustomFieldSection? : boolean;\r\n IsFileSection? : boolean;\r\n IsTrackRecordSection? : boolean;\r\n Name? : string;\r\n}\r\n\r\nexport interface Display {\r\n baseUrl? : string;\r\n completingCaracter? : string;\r\n currency? : string;\r\n enumMap? : string[];\r\n format? : string;\r\n handleError? : boolean;\r\n imagePath? : string;\r\n imgBase? : string;\r\n multiplier? : number;\r\n nullCaseText? : string;\r\n sourceProperty? : string;\r\n type? : string;\r\n width? : number;\r\n}\r\n\r\nexport interface BasicNode {\r\n Childrens? : INode[];\r\n Code? : string;\r\n Description? : string;\r\n Id? : number;\r\n ParentId? : number;\r\n UniqueName? : string;\r\n}\r\n\r\nexport interface ApiError {\r\n ApiErrorType? : ApiErrorTypes;\r\n ErrorCode? : number;\r\n Message? : string;\r\n StackTrace? : string;\r\n}\r\n\r\nexport enum ActionDisplay {\r\n Button = 0,\r\n TextAndButton = 1,\r\n}\r\n\r\n\r\nexport interface TabToSave<TResult> {\r\n Data? : TResult[];\r\n TitleOfTab? : string;\r\n}\r\n\r\nexport interface SaveResult {\r\n DisplayMessage? : boolean;\r\n Error? : ApiError;\r\n ErrorMessage? : string;\r\n Id? : number;\r\n RowVersion? : Date;\r\n Success? : boolean;\r\n Warnings? : string[];\r\n}\r\n\r\nexport interface ColumnDescriptor {\r\n Display? : Display;\r\n Expression? : string;\r\n FieldName? : string;\r\n IsComputed? : boolean;\r\n IsFilterEnabled? : boolean;\r\n IsNumericExpression? : boolean;\r\n Name? : string;\r\n Property? : string;\r\n TableAlias? : string;\r\n ToolTipProperty? : string;\r\n}\r\n\r\nexport interface AggregationValue {\r\n Key? : string;\r\n Value? : any;\r\n}\r\n\r\nexport interface ActionDescriptor {\r\n ActionDisplay? : ActionDisplay;\r\n Description? : string;\r\n FormDescriptor? : Section[];\r\n Icon? : string;\r\n IconUrl? : string;\r\n Label? : string;\r\n Name? : string;\r\n RequestType? : string;\r\n}\r\n\r\nexport interface TrackRecordProperty {\r\n CreatedBy? : string;\r\n CreationDate? : Date;\r\n CreationDateString? : string;\r\n Id? : number;\r\n ModificationDate? : Date;\r\n ModificationDateString? : string;\r\n ModifiedBy? : string;\r\n}\r\n\r\nexport interface SaveResults<TResult> extends SaveResult {\r\n SaveErrorEntities? : TResult[];\r\n}\r\n\r\nexport interface RunActionContext {\r\n Action? : ActionDescriptor;\r\n CorrelationId? : string;\r\n EntityIds? : number[];\r\n EntityKey? : string;\r\n File? : any;\r\n FileId? : number;\r\n FormValue? : any;\r\n RequestId? : number;\r\n}\r\n\r\nexport interface PagedList<T> {\r\n Aggregates? : AggregationValue[];\r\n Skip? : number;\r\n Take? : number;\r\n TotalRowCount? : number;\r\n Values? : T[];\r\n}\r\n\r\nexport enum ImageFormats {\r\n Undefined = 0,\r\n JPG = 1,\r\n PNG = 2,\r\n GIF = 3,\r\n TIFF = 4,\r\n BMP = 5,\r\n SVG = 6,\r\n}\r\n\r\nexport interface FilterDescriptor extends FieldDescriptor {\r\n DisplayImage? : boolean;\r\n}\r\n\r\nexport interface ExportModel<T> {\r\n Columns? : ColumnDescriptor[];\r\n Filter? : T;\r\n}\r\n\r\nexport interface EntityWithSpecifics<TResult> {\r\n Entity? : TResult;\r\n Tabs? : TabToSave<TResult>[];\r\n}\r\n\r\nexport interface EntityViewModelWithFields<T> {\r\n FieldSections? : Section[];\r\n SpecificSection? : any;\r\n ViewModel? : T;\r\n}\r\n\r\nexport enum TextSearch {\r\n Contains = 0,\r\n StartsWith = 1,\r\n EndsWith = 2,\r\n}\r\n\r\nexport enum ExportType {\r\n CSV = 0,\r\n EXCEL = 1,\r\n}\r\n\r\nexport enum AggregateFunction {\r\n Count = 0,\r\n Sum = 1,\r\n Min = 2,\r\n Max = 3,\r\n Avg = 4,\r\n}\r\n\r\nexport enum ActionResultStatus {\r\n OK = 0,\r\n KO = 1,\r\n}\r\n\r\n","import { Utilities } from '@dflat-core/web/core';\r\nimport { ComponentRef, TemplateRef, Type } from '@angular/core';\r\n\r\nimport { ActionDescriptor, ColumnDescriptor, EntityViewModel, EntityViewModelWithFields, FieldDescriptor, FieldValidators, FilterDescriptor, FilterViewModel } from './model/interface.generated';\r\n\r\nexport interface IIdentifiable {\r\n Id?: number;\r\n}\r\n\r\nexport class UserUpdatedMessage {\r\n constructor(public userKey: string) { }\r\n}\r\n\r\nexport interface IUserCredential extends IIdentifiable {\r\n AccessToken: string; \r\n RefreshToken: string; \r\n Username?: string; \r\n FirstName?: string; \r\n LastName?: string;\r\n Email?: string;\r\n IsAdmin?: boolean;\r\n IsDelivery?: boolean;\r\n IsPartner?: boolean;\r\n PhoneNumber?: string;\r\n IsActive?: boolean;\r\n IsPartnerActive?: boolean;\r\n IsDeliveryActive?: boolean;\r\n\r\n Id?: number;\r\n CompanyId?: number;\r\n Permissions: string[];\r\n ProfileImageUrl: string;\r\n AvatarUrl: string;\r\n\r\n}\r\nexport class User implements IUserCredential {\r\n \r\n public AccessToken: string;\r\n public RefreshToken: string;\r\n public Username?: string;\r\n public FirstName?: string;\r\n public LastName?: string;\r\n public Email?: string;\r\n public PhoneNumber?: string;\r\n public IsAdmin?: boolean;\r\n public IsDelivery?: boolean;\r\n public IsPartner?: boolean;\r\n public Id?: number;\r\n public CompanyId?: number;\r\n public Permissions: string[];\r\n public ProfileImageUrl: string;\r\n public IsActive?: boolean;\r\n public IsPartnerActive?: boolean;\r\n public IsDeliveryActive?: boolean;\r\n public IsConnected: boolean = false;\r\n public AvatarUrl: string;\r\n \r\n public constructor(data: IUserCredential) {\r\n this.Username = data.Username;\r\n this.FirstName = data.FirstName;\r\n this.LastName = data.LastName;\r\n this.Email = data.Email;\r\n this.PhoneNumber = data.PhoneNumber;\r\n this.ProfileImageUrl = data.ProfileImageUrl;\r\n this.IsAdmin = data.IsAdmin;\r\n this.IsPartner = data.IsPartner;\r\n this.IsDelivery = data.IsDelivery;\r\n this.IsAdmin = data.IsAdmin;\r\n this.IsPartner = data.IsPartner;\r\n this.IsDelivery = data.IsDelivery;\r\n this.IsActive = data.IsActive;\r\n this.IsPartnerActive = data.IsPartnerActive;\r\n this.IsDeliveryActive = data.IsDeliveryActive;\r\n this.Id = data.Id;\r\n this.CompanyId = data.CompanyId;\r\n this.AccessToken = data.AccessToken;\r\n this.AvatarUrl = data.AvatarUrl;\r\n }\r\n \r\n\r\n public getName() {\r\n return this.FirstName + ' ' + this.LastName;\r\n }\r\n\r\n \r\n}\r\n\r\n\r\nexport interface INotification {\r\n id:string;\r\n content: string;\r\n class: string;\r\n link: string;\r\n entityType:string;\r\n entityId?:number;\r\n}\r\n \r\nexport class Notification implements INotification {\r\n public id:string;\r\n public content: string;\r\n public class: string;\r\n public link: string;\r\n public entityType:string;\r\n public entityId?:number\r\n public constructor(data: Partial<INotification> = {}) {\r\n this.id = data.id || '';\r\n this.content = data.content || '';\r\n this.class = data.class || '';\r\n this.link = data.link || '';\r\n this.entityType = data.entityType || '';\r\n this.entityId = data.entityId;\r\n }\r\n}\r\n\r\nexport class ChannelData<T> {\r\n Channel: string;\r\n Data: T;\r\n\r\n public constructor(channel: string, data: T) {\r\n this.Channel= channel;\r\n this.Data= data;\r\n }\r\n}\r\n\r\nexport class IMessage {\r\n Channel: string;\r\n Data: any;\r\n}\r\n\r\nexport class Message implements IMessage \r\n{\r\n Channel: string;\r\n Data: any;\r\n\r\n public constructor(channel: string, data: any) {\r\n this.Channel= channel;\r\n this.Data= data;\r\n }\r\n}\r\nexport interface NumberDictionary<T> {\r\n [Key: number]: T;\r\n}\r\nexport interface Dictionary<T> {\r\n [Key: string]: T;\r\n}\r\n\r\n\r\n\r\nexport class NumberDictionnaryWrapper<T> {\r\n\r\n dictionary: NumberDictionary<T> = {};\r\n get(key: number) {\r\n return this.dictionary[key];\r\n }\r\n\r\n containsKey(key: number) {\r\n if (typeof this.dictionary[key] === \"undefined\") {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\n\r\nexport class DictionnaryWrapper<T> {\r\n\r\n dictionary: Dictionary<T> = {};\r\n get(key: string) {\r\n return this.dictionary[key];\r\n }\r\n\r\n containsKey(key: string) {\r\n if (typeof this.dictionary[key] === \"undefined\") {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n getPartKey(key: string) {\r\n\r\n if (typeof this.dictionary[key] === \"undefined\" ) {\r\n let keyFound = Object.keys(this.dictionary).find(obj => key.includes(obj));\r\n if(keyFound) {\r\n key = keyFound\r\n }\r\n }\r\n\r\n return this.dictionary[key];\r\n }\r\n\r\n containsKeyOrPartKey(key: string) {\r\n let routeFound = Object.keys(this.dictionary).find(obj => key.includes(obj));\r\n \r\n if(!Utilities.IsNil(routeFound)){\r\n return true;\r\n }\r\n\r\n if (typeof this.dictionary[key] === \"undefined\" ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n getValues() {\r\n return Object.keys(this.dictionary).map(key => this.dictionary[key]);\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n// export interface FilterDescriptor {\r\n// FieldValidators?: FieldValidators;\r\n// Label?: string;\r\n// FilterType?: FilterType;\r\n// PropertyName?: string;\r\n// DisplayMember?: string;\r\n// ValueMember?: string;\r\n// Data?: any;\r\n// Highlight?: boolean;\r\n// ToolTip?: string;\r\n// IsStatic?: boolean;\r\n// Required?: boolean;\r\n// NotDefaultRequired?: boolean;\r\n// ReadOnly?: boolean;\r\n// IsHidden?: boolean;\r\n// KeepPlace?: boolean;\r\n// IsConditioning?: boolean;\r\n// IsConditional?: boolean;\r\n// ConditioningField?: string;\r\n// ConditioningFieldValue?: number;\r\n// BoolConditioningFieldValue?: boolean;\r\n// OriginalData?: any;\r\n// CascadeDependency?: boolean;\r\n// CascadeDependencyProperty?: string;\r\n// FilterDistinct?: boolean;\r\n// MultipleSelection?: boolean;\r\n// HideSelected?: boolean;\r\n// ColumnSpan?: ColumnSpans;\r\n// ColumnIndex?: number;\r\n// InputType?: string;\r\n// CurrentFilters?: {};\r\n\r\n// ModalEntityKey?: string;\r\n// ModalPropertyName?: string;\r\n// ModalPropertyValue?: string;\r\n// ModalTitle?: string;\r\n// }\r\n\r\n\r\n\r\nexport interface SpecificSection {\r\n Name?: string,\r\n IconUrl?:string,\r\n Template?: Type<any> | TemplateRef<any> | ComponentRef<any> | any,\r\n Context?: {},\r\n Data?: any[],\r\n Component?: any,\r\n refreshFunction?: () => void\r\n}\r\nexport interface SectionError {\r\n Name?: string,\r\n FieldValidators?: FieldValidators;\r\n Errors?: string[]\r\n}\r\n\r\nexport interface IFilterDescriptorExtra {\r\n Field?: FilterDescriptor;\r\n DisplayedValue?: string;\r\n}\r\n\r\nexport interface TextZoneButtonEvent {\r\n Field: FieldDescriptor;\r\n Value: string;\r\n }\r\n \r\n export interface FieldEvent {\r\n Field: FieldDescriptor;\r\n Event: Event;\r\n }\r\n \r\n export interface EntityConfig {\r\n actions: ActionDescriptor[];\r\n columns: ColumnDescriptor[];\r\n emptyFilter: FilterViewModel;\r\n filterDescriptors: FilterDescriptor[];\r\n viewModel: EntityViewModelWithFields<EntityViewModel>;\r\n }\r\n\r\n // export interface CachedConfig {\r\n // timestamp: number;\r\n // config : EntityConfig;\r\n // }\r\n\r\n export interface PropertyEditorEvent {\r\n field: FieldDescriptor;\r\n value: any;\r\n type: 'value' | 'pending' | 'file' | 'selector' | 'button'| 'reset';\r\n }","export class HistoryItem {\r\n date: string;\r\n hour: string;\r\n url: string;\r\n icon1: string;\r\n menu1: string;\r\n icon2: string;\r\n menu2: string;\r\n}\r\n\r\nexport enum FilterOperator {\r\n Contains = 0,\r\n StartsWith = 1,\r\n EndsWith = 2,\r\n Equals = 3\r\n}\r\nexport interface FilterClause {\r\n PropertyName : string;\r\n FilterValue : string;\r\n Operator : FilterOperator\r\n}\r\n\r\nexport interface FilterRow {\r\n ClausesByPropertyName : Map<string, FilterClause>;\r\n}\r\n\r\nexport interface FilterQuery {\r\n Rows : FilterRow[];\r\n}\r\n\r\nexport enum CustomFieldTypes {\r\n String = 0,\r\n Integer = 1,\r\n Date = 2,\r\n ComboBox = 3,\r\n Checkbox = 4,\r\n Email = 5,\r\n WeekNumber = 6,\r\n Text = 7,\r\n Custom = 8,\r\n Number = 9,\r\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,eAAe,CAAA;8GAAf,eAAe,EAAA,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IAAA,gBAAA,CAAA,gBAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACV,IAAA,gBAAA,CAAA,gBAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAU;AACd,CAAC,EAXW,gBAAgB,KAAhB,gBAAgB,GAAA,EAAA,CAAA,CAAA;;AC9B5B;;AAEG;;"}
1
+ {"version":3,"file":"dflat-core-web-core-model.mjs","names":[],"sources":["../../core-model/src/lib/core-model.module.ts","../../core-model/src/lib/model/interface.generated.ts","../../core-model/src/lib/interface.ts","../../core-model/src/lib/model/model.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\n\r\n\r\n@NgModule({\r\n imports: [CommonModule],\r\n declarations: [],\r\n exports: []\r\n})\r\nexport class CoreModelModule {}\r\n","export interface ViewModel {\r\n}\r\n\r\nexport interface ExtendedProperty {\r\n EntityId? : number;\r\n FieldType? : number;\r\n PropertyId? : number;\r\n PropertyName? : string;\r\n Value? : string;\r\n}\r\n\r\nexport enum ValidatorTypes {\r\n None = 0,\r\n MaxLength = 1,\r\n MinLength = 2,\r\n Max = 4,\r\n Min = 8,\r\n Email = 16,\r\n Required = 32,\r\n Unicity = 64,\r\n Nullable = 128,\r\n}\r\n\r\nexport interface PagingViewModel {\r\n EnablePaging? : boolean;\r\n Offset? : number;\r\n SortColumn? : string;\r\n SortDirection? : string;\r\n SpecificSortClause? : string;\r\n Take? : number;\r\n}\r\n\r\nexport interface EntityViewModel extends ViewModel {\r\n ExtendedProperties? : ExtendedProperty[];\r\n Id? : number;\r\n IsEditable? : boolean;\r\n IsSelected? : boolean;\r\n IsStorable? : boolean;\r\n Name? : string;\r\n RowVersion? : Date;\r\n}\r\n\r\nexport interface TextWithStyle {\r\n GreenText? : string;\r\n RedText? : string;\r\n YellowText? : string;\r\n}\r\n\r\nexport interface INode {\r\n Childrens? : INode[];\r\n Code? : string;\r\n Description? : string;\r\n Id? : number;\r\n ParentId? : number;\r\n UniqueName? : string;\r\n}\r\n\r\nexport interface FilterViewModel extends PagingViewModel {\r\n AdditionalFilter? : string;\r\n AggregateClause? : string;\r\n BrandId? : number;\r\n CustomFieldIds? : string;\r\n Id? : number;\r\n IsCsvExport? : boolean;\r\n Keywords? : string;\r\n}\r\n\r\nexport enum FilterType {\r\n String = 0,\r\n Integer = 1,\r\n Date = 2,\r\n ComboBox = 3,\r\n CheckBox = 4,\r\n Email = 5,\r\n WeekNumber = 6,\r\n Text = 7,\r\n Custom = 8,\r\n RadioButton = 9,\r\n TextZoneWithButton = 10,\r\n HorizComboBox = 11,\r\n TextWithButton = 12,\r\n DropFileZone = 13,\r\n DateTime = 14,\r\n Password = 15,\r\n TreeSelector = 16,\r\n Decimal = 17,\r\n}\r\n\r\nexport interface FieldValidators {\r\n MaxLength? : number;\r\n MaxValue? : number;\r\n MinValue? : number;\r\n ValidatorType? : ValidatorTypes;\r\n}\r\n\r\nexport enum ConditionalResults {\r\n Hide = 0,\r\n ReadOnly = 1,\r\n}\r\n\r\nexport enum ColumnSpans {\r\n Single = 0,\r\n Full = 1,\r\n}\r\n\r\nexport interface FieldDescriptor {\r\n BoolConditioningFieldValue? : boolean;\r\n ButtonLabel? : string;\r\n CascadeDependency? : boolean;\r\n CascadeDependencyProperty? : string;\r\n ColumnIndex? : number;\r\n ColumnSpan? : ColumnSpans;\r\n ConditionalResult? : ConditionalResults;\r\n ConditioningField? : string;\r\n ConditioningFieldValue? : number[];\r\n CurrentFilters? : any;\r\n Data? : any;\r\n DataFilter? : FilterViewModel;\r\n Description? : string;\r\n DisplayMember? : string;\r\n ExportPropertyName? : string;\r\n FieldValidators? : FieldValidators;\r\n FilterDistinct? : boolean;\r\n FilterType? : FilterType;\r\n HideSelected? : boolean;\r\n Highlight? : boolean;\r\n InputType? : string;\r\n IsClearable? : boolean;\r\n IsConditional? : boolean;\r\n IsConditioning? : boolean;\r\n IsExtendedProperty? : boolean;\r\n IsHidden? : boolean;\r\n IsStatic? : boolean;\r\n KeepPlace? : boolean;\r\n Label? : string;\r\n ModalEntityKey? : string;\r\n ModalOnly? : boolean;\r\n ModalPropertyName? : string;\r\n ModalPropertyValue? : string;\r\n ModalTitle? : string;\r\n ModalTriggerIdProperty? : string;\r\n ModalTriggerIdPropertyValue? : string;\r\n MultipleSelection? : boolean;\r\n NotDefaultRequired? : boolean;\r\n OriginalData? : any;\r\n PropertyLength? : number;\r\n PropertyName? : string;\r\n ReadOnly? : boolean;\r\n Required? : boolean;\r\n TextWithStyle? : TextWithStyle;\r\n ToolTip? : string;\r\n ValueMember? : string;\r\n}\r\n\r\nexport interface EntityFilterViewModel<T> extends FilterViewModel {\r\n}\r\n\r\nexport enum ApiErrorTypes {\r\n Unknown = 0,\r\n DatabaseError = 1,\r\n SystemError = 2,\r\n UserError = 3,\r\n}\r\n\r\nexport interface TreeItem<T> {\r\n checked? : boolean;\r\n children? : TreeItem<T>[];\r\n childrenCount? : number;\r\n text? : string;\r\n value? : number;\r\n}\r\n\r\nexport interface Section {\r\n FieldViewModels? : FieldDescriptor[];\r\n IsCustomFieldSection? : boolean;\r\n IsFileSection? : boolean;\r\n IsTrackRecordSection? : boolean;\r\n Name? : string;\r\n}\r\n\r\nexport interface Display {\r\n baseUrl? : string;\r\n completingCaracter? : string;\r\n currency? : string;\r\n enumMap? : string[];\r\n format? : string;\r\n handleError? : boolean;\r\n imagePath? : string;\r\n imgBase? : string;\r\n multiplier? : number;\r\n nullCaseText? : string;\r\n sourceProperty? : string;\r\n type? : string;\r\n width? : number;\r\n}\r\n\r\nexport interface BasicNode {\r\n Childrens? : INode[];\r\n Code? : string;\r\n Description? : string;\r\n Id? : number;\r\n ParentId? : number;\r\n UniqueName? : string;\r\n}\r\n\r\nexport interface ApiError {\r\n ApiErrorType? : ApiErrorTypes;\r\n ErrorCode? : number;\r\n Message? : string;\r\n StackTrace? : string;\r\n}\r\n\r\nexport enum ActionDisplay {\r\n Button = 0,\r\n TextAndButton = 1,\r\n}\r\n\r\n\r\nexport interface TabToSave<TResult> {\r\n Data? : TResult[];\r\n TitleOfTab? : string;\r\n}\r\n\r\nexport interface SaveResult {\r\n DisplayMessage? : boolean;\r\n Error? : ApiError;\r\n ErrorMessage? : string;\r\n Id? : number;\r\n RowVersion? : Date;\r\n Success? : boolean;\r\n Warnings? : string[];\r\n}\r\n\r\nexport interface ColumnDescriptor {\r\n Display? : Display;\r\n Expression? : string;\r\n FieldName? : string;\r\n IsComputed? : boolean;\r\n IsFilterEnabled? : boolean;\r\n IsNumericExpression? : boolean;\r\n Name? : string;\r\n Property? : string;\r\n TableAlias? : string;\r\n ToolTipProperty? : string;\r\n}\r\n\r\nexport interface AggregationValue {\r\n Key? : string;\r\n Value? : any;\r\n}\r\n\r\nexport interface ActionDescriptor {\r\n ActionDisplay? : ActionDisplay;\r\n Description? : string;\r\n FormDescriptor? : Section[];\r\n Icon? : string;\r\n IconUrl? : string;\r\n Label? : string;\r\n Name? : string;\r\n RequestType? : string;\r\n}\r\n\r\nexport interface TrackRecordProperty {\r\n CreatedBy? : string;\r\n CreationDate? : Date;\r\n CreationDateString? : string;\r\n Id? : number;\r\n ModificationDate? : Date;\r\n ModificationDateString? : string;\r\n ModifiedBy? : string;\r\n}\r\n\r\nexport interface SaveResults<TResult> extends SaveResult {\r\n SaveErrorEntities? : TResult[];\r\n}\r\n\r\nexport interface RunActionContext {\r\n Action? : ActionDescriptor;\r\n CorrelationId? : string;\r\n EntityIds? : number[];\r\n EntityKey? : string;\r\n File? : any;\r\n FileId? : number;\r\n FormValue? : any;\r\n RequestId? : number;\r\n}\r\n\r\nexport interface PagedList<T> {\r\n Aggregates? : AggregationValue[];\r\n Skip? : number;\r\n Take? : number;\r\n TotalRowCount? : number;\r\n Values? : T[];\r\n}\r\n\r\nexport enum ImageFormats {\r\n Undefined = 0,\r\n JPG = 1,\r\n PNG = 2,\r\n GIF = 3,\r\n TIFF = 4,\r\n BMP = 5,\r\n SVG = 6,\r\n}\r\n\r\nexport interface FilterDescriptor extends FieldDescriptor {\r\n DisplayImage? : boolean;\r\n}\r\n\r\nexport interface ExportModel<T> {\r\n Columns? : ColumnDescriptor[];\r\n Filter? : T;\r\n}\r\n\r\nexport interface EntityWithSpecifics<TResult> {\r\n Entity? : TResult;\r\n Tabs? : TabToSave<TResult>[];\r\n}\r\n\r\nexport interface EntityViewModelWithFields<T> {\r\n FieldSections? : Section[];\r\n SpecificSection? : any;\r\n ViewModel? : T;\r\n}\r\n\r\nexport enum TextSearch {\r\n Contains = 0,\r\n StartsWith = 1,\r\n EndsWith = 2,\r\n}\r\n\r\nexport enum ExportType {\r\n CSV = 0,\r\n EXCEL = 1,\r\n}\r\n\r\nexport enum AggregateFunction {\r\n Count = 0,\r\n Sum = 1,\r\n Min = 2,\r\n Max = 3,\r\n Avg = 4,\r\n}\r\n\r\nexport enum ActionResultStatus {\r\n OK = 0,\r\n KO = 1,\r\n}\r\n\r\n","import { Utilities } from '@dflat-core/web/core';\r\nimport { ComponentRef, TemplateRef, Type } from '@angular/core';\r\n\r\nimport { ActionDescriptor, ColumnDescriptor, EntityViewModel, EntityViewModelWithFields, FieldDescriptor, FieldValidators, FilterDescriptor, FilterViewModel } from './model/interface.generated';\r\n\r\nexport interface IIdentifiable {\r\n Id?: number;\r\n}\r\n\r\nexport class UserUpdatedMessage {\r\n constructor(public userKey: string) { }\r\n}\r\n\r\nexport interface IUserCredential extends IIdentifiable {\r\n AccessToken: string; \r\n RefreshToken: string; \r\n Username?: string; \r\n FirstName?: string; \r\n LastName?: string;\r\n Email?: string;\r\n IsAdmin?: boolean;\r\n IsDelivery?: boolean;\r\n IsPartner?: boolean;\r\n PhoneNumber?: string;\r\n IsActive?: boolean;\r\n IsPartnerActive?: boolean;\r\n IsDeliveryActive?: boolean;\r\n\r\n Id?: number;\r\n CompanyId?: number;\r\n Permissions: string[];\r\n ProfileImageUrl: string;\r\n AvatarUrl: string;\r\n\r\n}\r\nexport class User implements IUserCredential {\r\n \r\n public AccessToken: string;\r\n public RefreshToken: string;\r\n public Username?: string;\r\n public FirstName?: string;\r\n public LastName?: string;\r\n public Email?: string;\r\n public PhoneNumber?: string;\r\n public IsAdmin?: boolean;\r\n public IsDelivery?: boolean;\r\n public IsPartner?: boolean;\r\n public Id?: number;\r\n public CompanyId?: number;\r\n public Permissions: string[];\r\n public ProfileImageUrl: string;\r\n public IsActive?: boolean;\r\n public IsPartnerActive?: boolean;\r\n public IsDeliveryActive?: boolean;\r\n public IsConnected: boolean = false;\r\n public AvatarUrl: string;\r\n \r\n public constructor(data: IUserCredential) {\r\n this.Username = data.Username;\r\n this.FirstName = data.FirstName;\r\n this.LastName = data.LastName;\r\n this.Email = data.Email;\r\n this.PhoneNumber = data.PhoneNumber;\r\n this.ProfileImageUrl = data.ProfileImageUrl;\r\n this.IsAdmin = data.IsAdmin;\r\n this.IsPartner = data.IsPartner;\r\n this.IsDelivery = data.IsDelivery;\r\n this.IsAdmin = data.IsAdmin;\r\n this.IsPartner = data.IsPartner;\r\n this.IsDelivery = data.IsDelivery;\r\n this.IsActive = data.IsActive;\r\n this.IsPartnerActive = data.IsPartnerActive;\r\n this.IsDeliveryActive = data.IsDeliveryActive;\r\n this.Id = data.Id;\r\n this.CompanyId = data.CompanyId;\r\n this.AccessToken = data.AccessToken;\r\n this.AvatarUrl = data.AvatarUrl;\r\n }\r\n \r\n\r\n public getName() {\r\n return this.FirstName + ' ' + this.LastName;\r\n }\r\n\r\n \r\n}\r\n\r\n\r\nexport interface INotification {\r\n id:string;\r\n content: string;\r\n class: string;\r\n link: string;\r\n entityType:string;\r\n entityId?:number;\r\n}\r\n \r\nexport class Notification implements INotification {\r\n public id:string;\r\n public content: string;\r\n public class: string;\r\n public link: string;\r\n public entityType:string;\r\n public entityId?:number\r\n public constructor(data: Partial<INotification> = {}) {\r\n this.id = data.id || '';\r\n this.content = data.content || '';\r\n this.class = data.class || '';\r\n this.link = data.link || '';\r\n this.entityType = data.entityType || '';\r\n this.entityId = data.entityId;\r\n }\r\n}\r\n\r\nexport class ChannelData<T> {\r\n Channel: string;\r\n Data: T;\r\n\r\n public constructor(channel: string, data: T) {\r\n this.Channel= channel;\r\n this.Data= data;\r\n }\r\n}\r\n\r\nexport class IMessage {\r\n Channel: string;\r\n Data: any;\r\n}\r\n\r\nexport class Message implements IMessage \r\n{\r\n Channel: string;\r\n Data: any;\r\n\r\n public constructor(channel: string, data: any) {\r\n this.Channel= channel;\r\n this.Data= data;\r\n }\r\n}\r\nexport interface NumberDictionary<T> {\r\n [Key: number]: T;\r\n}\r\nexport interface Dictionary<T> {\r\n [Key: string]: T;\r\n}\r\n\r\n\r\n\r\nexport class NumberDictionnaryWrapper<T> {\r\n\r\n dictionary: NumberDictionary<T> = {};\r\n get(key: number) {\r\n return this.dictionary[key];\r\n }\r\n\r\n containsKey(key: number) {\r\n if (typeof this.dictionary[key] === \"undefined\") {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\n\r\nexport class DictionnaryWrapper<T> {\r\n\r\n dictionary: Dictionary<T> = {};\r\n get(key: string) {\r\n return this.dictionary[key];\r\n }\r\n\r\n containsKey(key: string) {\r\n if (typeof this.dictionary[key] === \"undefined\") {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n getPartKey(key: string) {\r\n\r\n if (typeof this.dictionary[key] === \"undefined\" ) {\r\n let keyFound = Object.keys(this.dictionary).find(obj => key.includes(obj));\r\n if(keyFound) {\r\n key = keyFound\r\n }\r\n }\r\n\r\n return this.dictionary[key];\r\n }\r\n\r\n containsKeyOrPartKey(key: string) {\r\n let routeFound = Object.keys(this.dictionary).find(obj => key.includes(obj));\r\n \r\n if(!Utilities.IsNil(routeFound)){\r\n return true;\r\n }\r\n\r\n if (typeof this.dictionary[key] === \"undefined\" ) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n getValues() {\r\n return Object.keys(this.dictionary).map(key => this.dictionary[key]);\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n// export interface FilterDescriptor {\r\n// FieldValidators?: FieldValidators;\r\n// Label?: string;\r\n// FilterType?: FilterType;\r\n// PropertyName?: string;\r\n// DisplayMember?: string;\r\n// ValueMember?: string;\r\n// Data?: any;\r\n// Highlight?: boolean;\r\n// ToolTip?: string;\r\n// IsStatic?: boolean;\r\n// Required?: boolean;\r\n// NotDefaultRequired?: boolean;\r\n// ReadOnly?: boolean;\r\n// IsHidden?: boolean;\r\n// KeepPlace?: boolean;\r\n// IsConditioning?: boolean;\r\n// IsConditional?: boolean;\r\n// ConditioningField?: string;\r\n// ConditioningFieldValue?: number;\r\n// BoolConditioningFieldValue?: boolean;\r\n// OriginalData?: any;\r\n// CascadeDependency?: boolean;\r\n// CascadeDependencyProperty?: string;\r\n// FilterDistinct?: boolean;\r\n// MultipleSelection?: boolean;\r\n// HideSelected?: boolean;\r\n// ColumnSpan?: ColumnSpans;\r\n// ColumnIndex?: number;\r\n// InputType?: string;\r\n// CurrentFilters?: {};\r\n\r\n// ModalEntityKey?: string;\r\n// ModalPropertyName?: string;\r\n// ModalPropertyValue?: string;\r\n// ModalTitle?: string;\r\n// }\r\n\r\n\r\n\r\nexport interface SpecificSection {\r\n Name?: string,\r\n IconUrl?:string,\r\n Template?: Type<any> | TemplateRef<any> | ComponentRef<any> | any,\r\n Context?: {},\r\n Data?: any[],\r\n Component?: any,\r\n refreshFunction?: () => void\r\n}\r\nexport interface SectionError {\r\n Name?: string,\r\n FieldValidators?: FieldValidators;\r\n Errors?: string[]\r\n}\r\n\r\nexport interface IFilterDescriptorExtra {\r\n Field?: FilterDescriptor;\r\n DisplayedValue?: string;\r\n}\r\n\r\nexport interface TextZoneButtonEvent {\r\n Field: FieldDescriptor;\r\n Value: string;\r\n }\r\n \r\n export interface FieldEvent {\r\n Field: FieldDescriptor;\r\n Event: Event;\r\n }\r\n \r\n export interface EntityConfig {\r\n actions: ActionDescriptor[];\r\n columns: ColumnDescriptor[];\r\n emptyFilter: FilterViewModel;\r\n filterDescriptors: FilterDescriptor[];\r\n viewModel: EntityViewModelWithFields<EntityViewModel>;\r\n }\r\n\r\n // export interface CachedConfig {\r\n // timestamp: number;\r\n // config : EntityConfig;\r\n // }\r\n\r\n export interface PropertyEditorEvent {\r\n field: FieldDescriptor;\r\n value: any;\r\n type: 'value' | 'pending' | 'file' | 'selector' | 'button'| 'reset';\r\n }","export class HistoryItem {\r\n date: string;\r\n hour: string;\r\n url: string;\r\n icon1: string;\r\n menu1: string;\r\n icon2: string;\r\n menu2: string;\r\n}\r\n\r\nexport enum FilterOperator {\r\n Contains = 0,\r\n StartsWith = 1,\r\n EndsWith = 2,\r\n Equals = 3\r\n}\r\nexport interface FilterClause {\r\n PropertyName : string;\r\n FilterValue : string;\r\n Operator : FilterOperator\r\n}\r\n\r\nexport interface FilterRow {\r\n ClausesByPropertyName : Map<string, FilterClause>;\r\n}\r\n\r\nexport interface FilterQuery {\r\n Rows : FilterRow[];\r\n}\r\n\r\nexport enum CustomFieldTypes {\r\n String = 0,\r\n Integer = 1,\r\n Date = 2,\r\n ComboBox = 3,\r\n Checkbox = 4,\r\n Email = 5,\r\n WeekNumber = 6,\r\n Text = 7,\r\n Custom = 8,\r\n Number = 9,\r\n}"],"mappings":";;;;AASA,IAAa,kBAAb,MAAa,gBAAe;CAAf;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAe,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAf;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAe,SAAA,CAJhB,YAAY;EAAA,CAAA;CAAA;CAIX;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAe,SAAA,CAJhB,YAAY;EAAA,CAAA;CAAA;;AAIX,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAe,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