@dflat-core/web 1.0.45 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/variables.scss +3 -1
- package/fesm2022/dflat-core-web-core-data.mjs +416 -412
- package/fesm2022/dflat-core-web-core-data.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core-model.mjs +229 -218
- package/fesm2022/dflat-core-web-core-model.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core-services.mjs +1840 -1615
- package/fesm2022/dflat-core-web-core-services.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core-ux.mjs +21444 -16366
- package/fesm2022/dflat-core-web-core-ux.mjs.map +1 -1
- package/fesm2022/dflat-core-web-core.mjs +585 -728
- package/fesm2022/dflat-core-web-core.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-data.mjs +2851 -1301
- package/fesm2022/dflat-core-web-system-data.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-model.mjs +266 -262
- package/fesm2022/dflat-core-web-system-model.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-root.mjs +2024 -681
- package/fesm2022/dflat-core-web-system-root.mjs.map +1 -1
- package/fesm2022/dflat-core-web-system-ux.mjs +21349 -8829
- package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -1
- package/fesm2022/dflat-core-web.mjs +11 -15
- package/fesm2022/dflat-core-web.mjs.map +1 -1
- package/package.json +35 -33
- package/scss/dflat-app.scss +8 -2
- package/types/dflat-core-web-core-data.d.ts +108 -0
- package/types/dflat-core-web-core-model.d.ts +491 -0
- package/types/dflat-core-web-core-services.d.ts +426 -0
- package/types/dflat-core-web-core-ux.d.ts +5867 -0
- package/types/dflat-core-web-core.d.ts +137 -0
- package/types/dflat-core-web-system-data.d.ts +552 -0
- package/types/dflat-core-web-system-model.d.ts +1599 -0
- package/types/dflat-core-web-system-root.d.ts +565 -0
- package/types/dflat-core-web-system-ux.d.ts +3282 -0
- package/{index.d.ts → types/dflat-core-web.d.ts} +1 -1
- package/core/index.d.ts +0 -6
- package/core/lib/array.function.d.ts +0 -8
- package/core/lib/core.module.d.ts +0 -9
- package/core/lib/global/EnvironmentBase.d.ts +0 -27
- package/core/lib/nameof.function.d.ts +0 -4
- package/core/lib/services/ensuremoduleloadedonceguard.d.ts +0 -3
- package/core/lib/services/utilities.service.d.ts +0 -87
- package/core-data/index.d.ts +0 -3
- package/core-data/lib/core-data.module.d.ts +0 -7
- package/core-data/lib/services/data-service.d.ts +0 -69
- package/core-data/lib/services/entity-data-service.d.ts +0 -37
- package/core-model/index.d.ts +0 -4
- package/core-model/lib/core-model.module.d.ts +0 -7
- package/core-model/lib/interface.d.ts +0 -140
- package/core-model/lib/model/interface.generated.d.ts +0 -309
- package/core-model/lib/model/model.d.ts +0 -38
- package/core-services/index.d.ts +0 -25
- package/core-services/lib/core-services.module.d.ts +0 -10
- package/core-services/lib/model/model.d.ts +0 -25
- package/core-services/lib/services/app-keys.d.ts +0 -15
- package/core-services/lib/services/appConfig.service.d.ts +0 -8
- package/core-services/lib/services/application-menu.service.d.ts +0 -22
- package/core-services/lib/services/auth-guard.service.d.ts +0 -18
- package/core-services/lib/services/auth.interceptor.d.ts +0 -15
- package/core-services/lib/services/auth.service.d.ts +0 -67
- package/core-services/lib/services/breadcrumb.service.d.ts +0 -14
- package/core-services/lib/services/busmessage.service.d.ts +0 -19
- package/core-services/lib/services/can-activate-guard.service.d.ts +0 -12
- package/core-services/lib/services/filter.service.d.ts +0 -15
- package/core-services/lib/services/geolocation.service.d.ts +0 -29
- package/core-services/lib/services/headers.service.d.ts +0 -15
- package/core-services/lib/services/hub.service.d.ts +0 -33
- package/core-services/lib/services/local-store-manager.service.d.ts +0 -50
- package/core-services/lib/services/menu.service.d.ts +0 -27
- package/core-services/lib/services/message.service.d.ts +0 -14
- package/core-services/lib/services/module-menu-services.token.d.ts +0 -8
- package/core-services/lib/services/notifications.service.d.ts +0 -14
- package/core-services/lib/services/permission.service.d.ts +0 -12
- package/core-services/lib/services/screen.service.d.ts +0 -14
- package/core-services/lib/services/server-url.d.ts +0 -12
- package/core-services/lib/services/string.function.d.ts +0 -1
- package/core-services/lib/services/user.service.d.ts +0 -22
- package/core-ux/index.d.ts +0 -145
- package/core-ux/lib/components/actions/actions-content.component.d.ts +0 -10
- package/core-ux/lib/components/actions/actions.component.d.ts +0 -57
- package/core-ux/lib/components/actions/extended-action/extended-action.component.d.ts +0 -34
- package/core-ux/lib/components/base-editor/base-editor.component.d.ts +0 -93
- package/core-ux/lib/components/base-item-list/base-item-list.component.d.ts +0 -21
- package/core-ux/lib/components/basefilter/basefilter.component.d.ts +0 -275
- package/core-ux/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -12
- package/core-ux/lib/components/datagrid-custom/datagrid-cell/datagrid-cell.component.d.ts +0 -32
- package/core-ux/lib/components/datagrid-custom/datagrid-custom.component.d.ts +0 -159
- package/core-ux/lib/components/datagrid-custom/datagrid-sorter.component.d.ts +0 -15
- package/core-ux/lib/components/datapage/layout-page/page-layout.component.d.ts +0 -13
- package/core-ux/lib/components/datapage/old/old.datapage.component.d.ts +0 -10
- package/core-ux/lib/components/datapage/old-layout-handler.directive.d.ts +0 -31
- package/core-ux/lib/components/dynamic-components/dynamic-field/dynamic-field.component.d.ts +0 -41
- package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-extra.component.d.ts +0 -27
- package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-panel.component.d.ts +0 -8
- package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter.component.d.ts +0 -54
- package/core-ux/lib/components/dynamic-components/dynamic-form/dynamic-form.component.d.ts +0 -122
- package/core-ux/lib/components/filtersummary/filtersummary.component.d.ts +0 -27
- package/core-ux/lib/components/form-password/form-password.component.d.ts +0 -9
- package/core-ux/lib/components/grid-row/grid-row.component.d.ts +0 -12
- package/core-ux/lib/components/image-display/image.component.d.ts +0 -20
- package/core-ux/lib/components/input-selector/input-selector.component.d.ts +0 -50
- package/core-ux/lib/components/input-tree-selector/input-tree-selector.component.d.ts +0 -25
- package/core-ux/lib/components/logs/logs.component.d.ts +0 -32
- package/core-ux/lib/components/menu/menu.component.d.ts +0 -39
- package/core-ux/lib/components/menu-dashboard/menu-dashboard.component.d.ts +0 -15
- package/core-ux/lib/components/paginator/paginator.component.d.ts +0 -17
- package/core-ux/lib/components/parameter-field/parameter-field.component.d.ts +0 -13
- package/core-ux/lib/components/parameter-field/parameter-types/base-array-parameter-type.component.d.ts +0 -16
- package/core-ux/lib/components/parameter-field/parameter-types/base-parameter-type.component.d.ts +0 -21
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool/parameter-type-bool.component.d.ts +0 -9
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool-array/parameter-type-bool-array.component.d.ts +0 -12
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date/parameter-type-date.component.d.ts +0 -16
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date-array/parameter-type-date-array.component.d.ts +0 -17
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number/parameter-type-number.component.d.ts +0 -6
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number-array/parameter-type-number-array.component.d.ts +0 -6
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-password/parameter-type-password.component.d.ts +0 -9
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text/parameter-type-text.component.d.ts +0 -7
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text-array/parameter-type-text-array.component.d.ts +0 -6
- package/core-ux/lib/components/property-grid/property-grid.component.d.ts +0 -125
- package/core-ux/lib/components/search-results/search-results.component.d.ts +0 -7
- package/core-ux/lib/components/tab/tab.component.d.ts +0 -14
- package/core-ux/lib/components/tabset/tabset.component.d.ts +0 -15
- package/core-ux/lib/components/text-viewer/text-viewer.component.d.ts +0 -21
- package/core-ux/lib/components/time-picker/time-picker.component.d.ts +0 -27
- package/core-ux/lib/components/tree/tree.component.d.ts +0 -39
- package/core-ux/lib/components/validation-error/validation-error.component.d.ts +0 -8
- package/core-ux/lib/components/wizard/wizard-step/wizard-step.component.d.ts +0 -26
- package/core-ux/lib/components/wizard/wizard.component.d.ts +0 -29
- package/core-ux/lib/core-ux.module.d.ts +0 -102
- package/core-ux/lib/directives/addclass.directive.d.ts +0 -11
- package/core-ux/lib/directives/collapse.directive.d.ts +0 -34
- package/core-ux/lib/directives/draggable.directive.d.ts +0 -39
- package/core-ux/lib/directives/droppable.directive.d.ts +0 -55
- package/core-ux/lib/directives/editMode.directive.d.ts +0 -8
- package/core-ux/lib/directives/focusable.directive.d.ts +0 -16
- package/core-ux/lib/directives/insertion.directive.d.ts +0 -8
- package/core-ux/lib/directives/onEnter.directive.d.ts +0 -11
- package/core-ux/lib/directives/tab-heading.d.ts +0 -8
- package/core-ux/lib/directives/tab-transclude.d.ts +0 -11
- package/core-ux/lib/directives/tooltip.directive.d.ts +0 -16
- package/core-ux/lib/directives/validate-on-enter.directive.d.ts +0 -10
- package/core-ux/lib/directives/viewMode.directive.d.ts +0 -8
- package/core-ux/lib/layout/default/default-layout.d.ts +0 -36
- package/core-ux/lib/layout/login/login-layout.d.ts +0 -15
- package/core-ux/lib/log.service.d.ts +0 -8
- package/core-ux/lib/modals/confirm-modal/confirm-modal.component.d.ts +0 -17
- package/core-ux/lib/modals/dialog/dialog.component.d.ts +0 -57
- package/core-ux/lib/modals/dialog-component.tokens.d.ts +0 -3
- package/core-ux/lib/modals/export-data-modal/export-data-modal.component.d.ts +0 -11
- package/core-ux/lib/modals/track-record-modal/track-record-modal.component.d.ts +0 -21
- package/core-ux/lib/modals/validation-modal/validation-modal.component.d.ts +0 -24
- package/core-ux/lib/model/datagrid.d.ts +0 -194
- package/core-ux/lib/model/model.d.ts +0 -222
- package/core-ux/lib/model/tree.d.ts +0 -12
- package/core-ux/lib/pipes/euro.pipe.d.ts +0 -9
- package/core-ux/lib/pipes/todefine.pipe.d.ts +0 -8
- package/core-ux/lib/pipes/tofixedsizeinteger.pipe.d.ts +0 -8
- package/core-ux/lib/services/action.service.d.ts +0 -42
- package/core-ux/lib/services/alert.service.d.ts +0 -51
- package/core-ux/lib/services/application.service.d.ts +0 -73
- package/core-ux/lib/services/can-deactivate-guard.d.ts +0 -12
- package/core-ux/lib/services/drag.service.d.ts +0 -54
- package/core-ux/lib/services/entity-selectors.d.ts +0 -37
- package/core-ux/lib/services/fire-authentication.service.d.ts +0 -13
- package/core-ux/lib/services/image.service.d.ts +0 -15
- package/core-ux/lib/services/modal-state.service.d.ts +0 -26
- package/core-ux/lib/services/modal.service.d.ts +0 -30
- package/core-ux/lib/services/presentation-profile.token.d.ts +0 -40
- package/core-ux/lib/services/selectorMapperBase.service.d.ts +0 -42
- package/core-ux/lib/v2/components/actions-panel/action-panel.component.d.ts +0 -48
- package/core-ux/lib/v2/components/base-component/base-component.d.ts +0 -80
- package/core-ux/lib/v2/components/cell-renderer/cell-renderer.component.d.ts +0 -11
- package/core-ux/lib/v2/components/data-grid/data-grid.component.d.ts +0 -104
- package/core-ux/lib/v2/components/data-grid/grid-field-descriptor/grid-field.component.d.ts +0 -55
- package/core-ux/lib/v2/components/data-list/data-list.component.d.ts +0 -29
- package/core-ux/lib/v2/components/editor-tab/editor-tab.component.d.ts +0 -15
- package/core-ux/lib/v2/components/editor-tabset/editor-tabset.component.d.ts +0 -18
- package/core-ux/lib/v2/components/field-descriptor/field.component.d.ts +0 -61
- package/core-ux/lib/v2/components/filter-form/filter-form.component.d.ts +0 -12
- package/core-ux/lib/v2/components/filter-summary/filter-summary.component.d.ts +0 -34
- package/core-ux/lib/v2/components/new-editor/new-editor.component.d.ts +0 -66
- package/core-ux/lib/v2/components/new-paginator/new-paginator.component.d.ts +0 -31
- package/core-ux/lib/v2/components/orderable/orderable-modal.component.d.ts +0 -36
- package/core-ux/lib/v2/components/orderable/orderable-modal.service.d.ts +0 -11
- package/core-ux/lib/v2/components/orderable/orderable.interface.d.ts +0 -52
- package/core-ux/lib/v2/components/property-editor/property-editor-component.d.ts +0 -89
- package/core-ux/lib/v2/components/selector/selector-registry.service.d.ts +0 -9
- package/core-ux/lib/v2/components/selector/selector.component.d.ts +0 -33
- package/core-ux/lib/v2/components/selector/selector.model.d.ts +0 -19
- package/core-ux/lib/v2/components/standard-page-layout/standard-page-layout.component.d.ts +0 -29
- package/core-ux/lib/v2/directives/base-shortcut.directive.d.ts +0 -15
- package/core-ux/lib/v2/directives/hide-on-threshold.directive.d.ts +0 -20
- package/core-ux/lib/v2/directives/layout-handler.directive.d.ts +0 -54
- package/core-ux/lib/v2/directives/row-ref.directive.d.ts +0 -21
- package/core-ux/lib/v2/models/aggregation-model.d.ts +0 -8
- package/core-ux/lib/v2/models/contexts/action-context.d.ts +0 -66
- package/core-ux/lib/v2/models/contexts/action-handler-context.d.ts +0 -49
- package/core-ux/lib/v2/models/contexts/base-form-context.d.ts +0 -42
- package/core-ux/lib/v2/models/contexts/change-detection-context.d.ts +0 -41
- package/core-ux/lib/v2/models/contexts/data-context.d.ts +0 -25
- package/core-ux/lib/v2/models/contexts/data-grid-style-context.d.ts +0 -36
- package/core-ux/lib/v2/models/contexts/editor-context.d.ts +0 -30
- package/core-ux/lib/v2/models/contexts/entity-config-context.d.ts +0 -49
- package/core-ux/lib/v2/models/contexts/filter-context.d.ts +0 -49
- package/core-ux/lib/v2/models/contexts/layout-context.d.ts +0 -57
- package/core-ux/lib/v2/models/contexts/logger-context.d.ts +0 -5
- package/core-ux/lib/v2/models/contexts/section-context.d.ts +0 -85
- package/core-ux/lib/v2/models/contexts/selection-context.d.ts +0 -45
- package/core-ux/lib/v2/models/entity-facade.d.ts +0 -35
- package/core-ux/lib/v2/models/guards/facade-load-guard.d.ts +0 -35
- package/core-ux/lib/v2/models/guards/filter-lifecycle-guard.d.ts +0 -29
- package/core-ux/lib/v2/models/states/sorting-state.d.ts +0 -14
- package/core-ux/lib/v2/models/utilities/action-definition.d.ts +0 -38
- package/core-ux/lib/v2/models/utilities/change-utilities.d.ts +0 -11
- package/core-ux/lib/v2/models/utilities/entity-updater.d.ts +0 -11
- package/core-ux/lib/v2/models/utilities/form-wrapper.d.ts +0 -30
- package/core-ux/lib/v2/models/utilities/row-registry.d.ts +0 -15
- package/core-ux/lib/v2/models/utilities/selection-styler.d.ts +0 -15
- package/core-ux/lib/v2/pipes/gridstyle.pipe.d.ts +0 -15
- package/core-ux/lib/v2/services/app-config.service.d.ts +0 -22
- package/core-ux/lib/v2/services/entity-facade-registry.service.d.ts +0 -28
- package/core-ux/lib/v2/services/facade-modal.service.d.ts +0 -21
- package/core-ux/lib/v2/services/layout.service.d.ts +0 -93
- package/core-ux/lib/v2/services/property-change-bus.service.d.ts +0 -9
- package/core-ux/lib/v2/services/selection.service.d.ts +0 -23
- package/core-ux/lib/v2/services/test.service.d.ts +0 -7
- package/core-ux/lib/v2/services/validation.service.d.ts +0 -10
- package/core-ux/lib/v2/services/view-model-loader.service.d.ts +0 -13
- package/system-data/index.d.ts +0 -68
- package/system-data/lib/data-services/account-service.generated.d.ts +0 -20
- package/system-data/lib/data-services/action-service.generated.d.ts +0 -15
- package/system-data/lib/data-services/address-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/checkout-service.generated.d.ts +0 -13
- package/system-data/lib/data-services/company-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/config-service.generated.d.ts +0 -18
- package/system-data/lib/data-services/country-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/currency-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/custom-field-group-entity-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/custom-field-group-item-service.generated.d.ts +0 -13
- package/system-data/lib/data-services/custom-field-group-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/custom-field-options-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/custom-field-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/custom-field-value-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/day-info-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/entity-files-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/error-category-service.generated.d.ts +0 -13
- package/system-data/lib/data-services/exchange-rate-detail-service.generated.d.ts +0 -35
- package/system-data/lib/data-services/exchange-rate-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/files-service.generated.d.ts +0 -26
- package/system-data/lib/data-services/keyword-service.generated.d.ts +0 -12
- package/system-data/lib/data-services/meta-entity-field-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-form-field-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-form-section-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-form-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-keyword-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-relation-definition-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-relation-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-translation-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/meta-entity-view-field-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/news-service.generated.d.ts +0 -13
- package/system-data/lib/data-services/parameter-section-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/parameter-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/parameter-value-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/permission-service.generated.d.ts +0 -13
- package/system-data/lib/data-services/plugin-parameter-value-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/presentation-profile-item-service.generated.d.ts +0 -14
- package/system-data/lib/data-services/presentation-profile-service.generated.d.ts +0 -13
- package/system-data/lib/data-services/rating-service.generated.d.ts +0 -14
- package/system-data/lib/data-services/rating-summary-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/request-entity-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/request-result-service.generated.d.ts +0 -12
- package/system-data/lib/data-services/request-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/resource-key-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/resource-language-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/resource-translation-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/role-permission-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/role-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/subcompany-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/supplier-company-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/supplier-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/synchronized-company-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/tva-rate-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-account-company-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-account-news-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-account-role-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-account-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-account-token-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-favorite-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-group-definition-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-group-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-history-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-permission-view-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/user-session-service.generated.d.ts +0 -10
- package/system-data/lib/data-services/version-service.generated.d.ts +0 -10
- package/system-data/lib/system-data.module.d.ts +0 -9
- package/system-model/index.d.ts +0 -3
- package/system-model/lib/model/interface.generated.d.ts +0 -1588
- package/system-model/lib/model/model.d.ts +0 -11
- package/system-model/lib/system-model.module.d.ts +0 -7
- package/system-root/index.d.ts +0 -8
- package/system-root/lib/generated/system-entity-keys.generated.d.ts +0 -63
- package/system-root/lib/generated/system-menu-item-provider.generated.d.ts +0 -67
- package/system-root/lib/generated/system-menu-service.generated.d.ts +0 -26
- package/system-root/lib/generated/system-permissions.generated.d.ts +0 -368
- package/system-root/lib/system-entity-keys.d.ts +0 -11
- package/system-root/lib/system-menu-item-provider.d.ts +0 -11
- package/system-root/lib/system-menu-service.d.ts +0 -12
- package/system-root/lib/system-root.module.d.ts +0 -7
- package/system-ux/index.d.ts +0 -181
- package/system-ux/lib/activate/activate.component.d.ts +0 -36
- package/system-ux/lib/address/address-editor.component.d.ts +0 -12
- package/system-ux/lib/app/access-denied/access-denied.component.d.ts +0 -9
- package/system-ux/lib/app/dflat-app.module.d.ts +0 -49
- package/system-ux/lib/app/history/history.component.d.ts +0 -16
- package/system-ux/lib/app/homepage/homepage.component.d.ts +0 -19
- package/system-ux/lib/app/layout/dflat-layout.component.d.ts +0 -38
- package/system-ux/lib/app/search/search-result/search-result.component.d.ts +0 -42
- package/system-ux/lib/app/search/search.component.d.ts +0 -68
- package/system-ux/lib/app/services/dflat-app.service.d.ts +0 -21
- package/system-ux/lib/app/services/dflat-auth.interceptor.d.ts +0 -16
- package/system-ux/lib/app/services/dflat-permission.service.d.ts +0 -7
- package/system-ux/lib/app/spinner/dflat-spinner.component.d.ts +0 -11
- package/system-ux/lib/app/user-menu/user-menu.component.d.ts +0 -56
- package/system-ux/lib/app/user-profile/user-profile.component.d.ts +0 -35
- package/system-ux/lib/components/image-upload/image-upload.component.d.ts +0 -99
- package/system-ux/lib/config/config-component.d.ts +0 -22
- package/system-ux/lib/config/datawarehouse-supply/dw-supply.component.d.ts +0 -14
- package/system-ux/lib/custom-field/custom-field-editor.component.d.ts +0 -13
- package/system-ux/lib/custom-field-options/custom-field-options-editor.component.d.ts +0 -17
- package/system-ux/lib/data-components/address.component.d.ts +0 -7
- package/system-ux/lib/data-components/company.component.d.ts +0 -15
- package/system-ux/lib/data-components/country.component.d.ts +0 -6
- package/system-ux/lib/data-components/currency.component.d.ts +0 -6
- package/system-ux/lib/data-components/customfield.component.d.ts +0 -15
- package/system-ux/lib/data-components/customfieldgroup.component.d.ts +0 -21
- package/system-ux/lib/data-components/customfieldgroupentity.component.d.ts +0 -16
- package/system-ux/lib/data-components/customfieldgroupitem.component.d.ts +0 -25
- package/system-ux/lib/data-components/customfieldoptions.component.d.ts +0 -19
- package/system-ux/lib/data-components/customfieldvalue.component.d.ts +0 -10
- package/system-ux/lib/data-components/dayinfo.component.d.ts +0 -10
- package/system-ux/lib/data-components/errorcategory.component.d.ts +0 -10
- package/system-ux/lib/data-components/exchangerate.component.d.ts +0 -11
- package/system-ux/lib/data-components/files.component.d.ts +0 -10
- package/system-ux/lib/data-components/generated/address.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/company.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/country.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/currency.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/customfield.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/customfieldgroup.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/customfieldgroupentity.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/customfieldgroupitem.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/customfieldoptions.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/customfieldvalue.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/dayinfo.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/entityfiles.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/errorcategory.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/exchangerate.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/files.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/keyword.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/metaentity.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/metaentityfield.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/metaentityform.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/metaentityformfield.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/metaentityformsection.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/metaentitykeyword.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/metaentityrelation.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/metaentityrelationdefinition.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/metaentitytranslation.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/metaentityviewfield.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/news.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/parameter.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/parametersection.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/parametervalue.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/permission.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/presentationprofile.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/presentationprofileitem.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/rating.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/ratingsummary.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/request.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/requestentity.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/requestresult.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/resourcekey.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/resourcelanguage.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/resourcetranslation.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/role.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/rolepermission.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/subcompany.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/supplier.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/suppliercompany.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/synchronizedcompany.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/system-components.generated.d.ts +0 -69
- package/system-ux/lib/data-components/generated/tvarate.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/useraccount.component.generated.d.ts +0 -25
- package/system-ux/lib/data-components/generated/useraccountcompany.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/useraccountnews.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/useraccountrole.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/useraccounttoken.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/userfavorite.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/usergroup.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/usergroupdefinition.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/userhistory.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/userpermissionview.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/usersession.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/generated/version.component.generated.d.ts +0 -18
- package/system-ux/lib/data-components/keyword.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentity.component.d.ts +0 -16
- package/system-ux/lib/data-components/metaentityfield.component.d.ts +0 -17
- package/system-ux/lib/data-components/metaentityform.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentityformfield.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentityformsection.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentitykeyword.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentityrelation.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentityrelationdefinition.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentitytranslation.component.d.ts +0 -10
- package/system-ux/lib/data-components/metaentityviewfield.component.d.ts +0 -10
- package/system-ux/lib/data-components/news.component.d.ts +0 -8
- package/system-ux/lib/data-components/parameter.component.d.ts +0 -10
- package/system-ux/lib/data-components/parametersection.component.d.ts +0 -10
- package/system-ux/lib/data-components/parametervalue.component.d.ts +0 -15
- package/system-ux/lib/data-components/permission.component.d.ts +0 -8
- package/system-ux/lib/data-components/presentationprofileitem.component.d.ts +0 -10
- package/system-ux/lib/data-components/rating.component.d.ts +0 -10
- package/system-ux/lib/data-components/ratingsummary.component.d.ts +0 -10
- package/system-ux/lib/data-components/request.component.d.ts +0 -16
- package/system-ux/lib/data-components/requestentity.component.d.ts +0 -10
- package/system-ux/lib/data-components/requestresult.component.d.ts +0 -10
- package/system-ux/lib/data-components/resourcekey.component.d.ts +0 -11
- package/system-ux/lib/data-components/resourcelanguage.component.d.ts +0 -9
- package/system-ux/lib/data-components/resourcetranslation.component.d.ts +0 -10
- package/system-ux/lib/data-components/role.component.d.ts +0 -10
- package/system-ux/lib/data-components/rolepermission.component.d.ts +0 -10
- package/system-ux/lib/data-components/subcompany.component.d.ts +0 -11
- package/system-ux/lib/data-components/supplier.component.d.ts +0 -8
- package/system-ux/lib/data-components/suppliercompany.component.d.ts +0 -10
- package/system-ux/lib/data-components/synchronizedcompany.component.d.ts +0 -15
- package/system-ux/lib/data-components/tvarate.component.d.ts +0 -14
- package/system-ux/lib/data-components/useraccount.component.d.ts +0 -11
- package/system-ux/lib/data-components/useraccountcompany.component.d.ts +0 -10
- package/system-ux/lib/data-components/useraccountnews.component.d.ts +0 -10
- package/system-ux/lib/data-components/useraccountrole.component.d.ts +0 -10
- package/system-ux/lib/data-components/useraccounttoken.component.d.ts +0 -10
- package/system-ux/lib/data-components/usercompany.component.d.ts +0 -19
- package/system-ux/lib/data-components/userfavorite.component.d.ts +0 -10
- package/system-ux/lib/data-components/usergroup.component.d.ts +0 -8
- package/system-ux/lib/data-components/usergroupdefinition.component.d.ts +0 -15
- package/system-ux/lib/data-components/userhistory.component.d.ts +0 -10
- package/system-ux/lib/data-components/userpermission.component.d.ts +0 -11
- package/system-ux/lib/data-components/userpermissionview.component.d.ts +0 -10
- package/system-ux/lib/data-components/userrole.component.d.ts +0 -17
- package/system-ux/lib/data-components/usersession.component.d.ts +0 -10
- package/system-ux/lib/data-components/version.component.d.ts +0 -10
- package/system-ux/lib/editor-components/company-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/country-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/currency-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/custom-field-group-editor.component.d.ts +0 -14
- package/system-ux/lib/editor-components/custom-field-group-entity-editor.component.d.ts +0 -13
- package/system-ux/lib/editor-components/custom-field-group-item-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/news-editor.component.d.ts +0 -28
- package/system-ux/lib/editor-components/permission-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/request-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/resource-translation-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/role-editor.component.d.ts +0 -27
- package/system-ux/lib/editor-components/user-account-editor.component.d.ts +0 -12
- package/system-ux/lib/editor-components/user-account-profile.component.d.ts +0 -31
- package/system-ux/lib/editor-components/user-group-editor.component.d.ts +0 -12
- package/system-ux/lib/entity-files/entity-files.component.d.ts +0 -37
- package/system-ux/lib/exchange-rate/exchange-rate-detail.component.d.ts +0 -17
- package/system-ux/lib/exchange-rate/exchange-rate-editor.component.d.ts +0 -25
- package/system-ux/lib/login/login.component.d.ts +0 -37
- package/system-ux/lib/meta-entity-field/meta-entity-field-editor.component.d.ts +0 -12
- package/system-ux/lib/presentation-profile/pp-facade.service.d.ts +0 -39
- package/system-ux/lib/presentation-profile/presentation-profile-action-service.d.ts +0 -16
- package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-column.component.d.ts +0 -73
- package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-items.component.d.ts +0 -50
- package/system-ux/lib/presentation-profile/presentation-profile-resolver.service.d.ts +0 -34
- package/system-ux/lib/presentation-profile/presentation-profile-transformer.d.ts +0 -49
- package/system-ux/lib/presentation-profile/presentation-profile.component.d.ts +0 -16
- package/system-ux/lib/presentation-profile/presentation-profile.service.d.ts +0 -58
- package/system-ux/lib/request-results/request-results.component.d.ts +0 -15
- package/system-ux/lib/reset-password/reset-password.component.d.ts +0 -32
- package/system-ux/lib/resource-language/resourcelanguage-editor.component.d.ts +0 -12
- package/system-ux/lib/services/custom-field-action-service.d.ts +0 -25
- package/system-ux/lib/services/custom-field-service.d.ts +0 -21
- package/system-ux/lib/services/rates-action-service.d.ts +0 -28
- package/system-ux/lib/services/select-user-company-action-service.d.ts +0 -23
- package/system-ux/lib/services/system-section.service.d.ts +0 -12
- package/system-ux/lib/services/system-selector-mapper.service.d.ts +0 -24
- package/system-ux/lib/services/user-action-service.d.ts +0 -20
- package/system-ux/lib/supplier/supplier-editor.component.d.ts +0 -12
- package/system-ux/lib/system-ux.module.d.ts +0 -131
- package/system-ux/lib/tva-rate/tva-rate-detail.component.d.ts +0 -17
- package/system-ux/lib/tva-rate/tva-rate-editor.component.d.ts +0 -25
|
@@ -1,245 +1,256 @@
|
|
|
1
|
-
import { CommonModule } from
|
|
2
|
-
import * as i0 from
|
|
3
|
-
import { NgModule } from
|
|
4
|
-
import { Utilities } from
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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
|
|
55
|
-
|
|
56
|
-
|
|
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
|
|
60
|
-
|
|
61
|
-
|
|
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
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
|
72
|
-
|
|
73
|
-
|
|
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
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
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
|
|
93
|
-
|
|
94
|
-
|
|
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
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
|
106
|
-
|
|
107
|
-
|
|
134
|
+
(function(ActionResultStatus) {
|
|
135
|
+
ActionResultStatus[ActionResultStatus["OK"] = 0] = "OK";
|
|
136
|
+
ActionResultStatus[ActionResultStatus["KO"] = 1] = "KO";
|
|
108
137
|
})(ActionResultStatus || (ActionResultStatus = {}));
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
class
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
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
|
-
|
|
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,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJhB,YAAY,CAAA,EAAA,CAAA,CAAA;AAIX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJhB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAIX,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE;AACV,iBAAA;;;ICGW;AAAZ,CAAA,UAAY,cAAc,EAAA;AACtB,IAAA,cAAA,CAAA,cAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAQ;AACR,IAAA,cAAA,CAAA,cAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CA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A,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAY;AACZ,IAAA,gBAAA,CAAA,gBAAA,CAAA,UAAA,CAAA,GAAA,CAAA,CAAA,GAAA,UAAY;AACZ,IAAA,gBAAA,CAAA,gBAAA,CAAA,OAAA,CAAA,GAAA,CAAA,CAAA,GAAA,OAAS;AACT,IAAA,gBAAA,CAAA,gBAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,GAAA,YAAc;AACd,IAAA,gBAAA,CAAA,gBAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAQ;AACR,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,MAA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