@dflat-core/web 1.0.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +94 -0
- package/assets/bootswatch.scss +100 -0
- package/assets/buttons.scss +70 -0
- package/assets/components/datagrid.scss +138 -0
- package/assets/components/fonts.scss +24 -0
- package/assets/components/login.scss +59 -0
- package/assets/components/menu.scss +0 -0
- package/assets/components/modals.scss +62 -0
- package/assets/components/select.scss +387 -0
- package/assets/fonts/ErasITC-Bold/ErasITC-Bold.eot +0 -0
- package/assets/fonts/ErasITC-Bold/ErasITC-Bold.svg +748 -0
- package/assets/fonts/ErasITC-Bold/ErasITC-Bold.ttf +0 -0
- package/assets/fonts/ErasITC-Bold/ErasITC-Bold.woff +0 -0
- package/assets/fonts/SegoeUI/SegoeUI.eot +0 -0
- package/assets/fonts/SegoeUI/SegoeUI.svg +15203 -0
- package/assets/fonts/SegoeUI/SegoeUI.ttf +0 -0
- package/assets/fonts/SegoeUI/SegoeUI.woff +0 -0
- package/assets/fonts/SegoeUI/preview.html +132 -0
- package/assets/fonts/SegoeUI/styles.css +7 -0
- package/assets/fonts/SegoeUI-Light/SegoeUI-Light.eot +0 -0
- package/assets/fonts/SegoeUI-Light/SegoeUI-Light.svg +27429 -0
- package/assets/fonts/SegoeUI-Light/SegoeUI-Light.ttf +0 -0
- package/assets/fonts/SegoeUI-Light/SegoeUI-Light.woff +0 -0
- package/assets/fonts/SegoeUI-Light/preview.html +132 -0
- package/assets/fonts/SegoeUI-Light/styles.css +7 -0
- package/assets/forms.scss +342 -0
- package/assets/images/Algerie.png +0 -0
- package/assets/images/Burkina Faso.png +0 -0
- package/assets/images/Cameroun.png +0 -0
- package/assets/images/Cara/303/257bes.png +0 -0
- package/assets/images/Congo.png +0 -0
- package/assets/images/C/303/264te d'Ivoire.png +0 -0
- package/assets/images/France.png +0 -0
- package/assets/images/Gabon.png +0 -0
- package/assets/images/Ile Maurice.png +0 -0
- package/assets/images/LogoMarsow.svg +1 -0
- package/assets/images/Maroc.png +0 -0
- package/assets/images/Menu.svg +3 -0
- package/assets/images/R/303/251union.png +0 -0
- package/assets/images/S/303/251n/303/251gal.png +0 -0
- package/assets/images/Tunisie.png +0 -0
- package/assets/images/Unchecked.svg +25 -0
- package/assets/images/account.svg +3 -0
- package/assets/images/adresslabel1.svg +3 -0
- package/assets/images/adresslabel2.svg +3 -0
- package/assets/images/allergen.svg +3 -0
- package/assets/images/arrow-up-1-9.svg +1 -0
- package/assets/images/attention.svg +3 -0
- package/assets/images/backward.svg +1 -0
- package/assets/images/ban.svg +1 -0
- package/assets/images/book-open.svg +1 -0
- package/assets/images/book-solid.svg +2 -0
- package/assets/images/border-all.svg +1 -0
- package/assets/images/boxes-packing-solid.svg +2 -0
- package/assets/images/calculator-solid.svg +1 -0
- package/assets/images/calendar.svg +3 -0
- package/assets/images/chatting.svg +3 -0
- package/assets/images/check.svg +3 -0
- package/assets/images/checkmark.png +0 -0
- package/assets/images/circle-check-solid.svg +2 -0
- package/assets/images/circle-info.svg +1 -0
- package/assets/images/circle-radiation-solid.svg +2 -0
- package/assets/images/circle-solid.svg +1 -0
- package/assets/images/circlecheck.svg +3 -0
- package/assets/images/circlecross.svg +3 -0
- package/assets/images/circleminus.svg +3 -0
- package/assets/images/circleplus.svg +3 -0
- package/assets/images/circularoption.svg +1 -0
- package/assets/images/circularoptionselected.svg +1 -0
- package/assets/images/classification-tool.svg +3 -0
- package/assets/images/click-collect.svg +1 -0
- package/assets/images/clientlocation.svg +9 -0
- package/assets/images/cloud-arrow-down-solid.svg +1 -0
- package/assets/images/cloud-arrow-up-solid.svg +1 -0
- package/assets/images/contact.svg +3 -0
- package/assets/images/cross.svg +3 -0
- package/assets/images/delivery-square.svg +32 -0
- package/assets/images/delivery.svg +3 -0
- package/assets/images/deliverymanlocation.svg +28 -0
- package/assets/images/dolly-solid.svg +1 -0
- package/assets/images/down.svg +3 -0
- package/assets/images/download.svg +1 -0
- package/assets/images/edition.svg +3 -0
- package/assets/images/email.svg +3 -0
- package/assets/images/emptyheart.svg +3 -0
- package/assets/images/emptystar.svg +3 -0
- package/assets/images/erase.svg +1 -0
- package/assets/images/error.png +0 -0
- package/assets/images/error.svg +1 -0
- package/assets/images/favicon.ico +0 -0
- package/assets/images/file-arrow-down-solid.svg +2 -0
- package/assets/images/file-arrow-up-solid.svg +1 -0
- package/assets/images/file-csv-solid.svg +2 -0
- package/assets/images/file-excel-solid.svg +2 -0
- package/assets/images/file-export-solid.svg +1 -0
- package/assets/images/file-image-solid.svg +2 -0
- package/assets/images/file-invoice-solid.svg +2 -0
- package/assets/images/file-lines-solid.svg +2 -0
- package/assets/images/file-pdf-solid.svg +2 -0
- package/assets/images/file-solid.svg +2 -0
- package/assets/images/file-word-solid.svg +2 -0
- package/assets/images/file-zipper-solid.svg +2 -0
- package/assets/images/files-o.svg +1 -0
- package/assets/images/filter-circle-xmark-solid.svg +1 -0
- package/assets/images/filter-solid.svg +2 -0
- package/assets/images/filter.svg +3 -0
- package/assets/images/filter1.svg +3 -0
- package/assets/images/filter2.svg +3 -0
- package/assets/images/filterdelete.svg +3 -0
- package/assets/images/folder.svg +3 -0
- package/assets/images/forward.svg +1 -0
- package/assets/images/fullheart.svg +3 -0
- package/assets/images/fullstar.svg +3 -0
- package/assets/images/halfstar.svg +3 -0
- package/assets/images/hand-point-down.svg +1 -0
- package/assets/images/hand-point-left.svg +1 -0
- package/assets/images/hand-point-right.svg +1 -0
- package/assets/images/hand-point-up.svg +1 -0
- package/assets/images/history.svg +4 -0
- package/assets/images/home.svg +3 -0
- package/assets/images/info-circle.svg +1 -0
- package/assets/images/information.png +0 -0
- package/assets/images/ingredient.svg +3 -0
- package/assets/images/left.svg +3 -0
- package/assets/images/location.svg +3 -0
- package/assets/images/map-marker.svg +6 -0
- package/assets/images/map.svg +3 -0
- package/assets/images/minus.svg +3 -0
- package/assets/images/neworder.svg +3 -0
- package/assets/images/notification.svg +3 -0
- package/assets/images/ordercollected.svg +3 -0
- package/assets/images/orderconfirmed.svg +8 -0
- package/assets/images/orderdelivered.svg +3 -0
- package/assets/images/orderindelivering.svg +3 -0
- package/assets/images/orderinpreparation.svg +3 -0
- package/assets/images/orderprepared.svg +3 -0
- package/assets/images/orderrefused.svg +8 -0
- package/assets/images/pencil.svg +1 -0
- package/assets/images/picture-editor-V3.svg +11 -0
- package/assets/images/picture-export-v3.svg +5 -0
- package/assets/images/picture-import-v3.svg +5 -0
- package/assets/images/plus-square.svg +1 -0
- package/assets/images/plus.svg +3 -0
- package/assets/images/power-off.svg +1 -0
- package/assets/images/print.svg +3 -0
- package/assets/images/refresh.svg +1 -0
- package/assets/images/return.svg +40 -0
- package/assets/images/right.svg +3 -0
- package/assets/images/sale.svg +3 -0
- package/assets/images/save.svg +2 -0
- package/assets/images/schedule.svg +3 -0
- package/assets/images/search-sprite.png +0 -0
- package/assets/images/search.svg +3 -0
- package/assets/images/selection.svg +3 -0
- package/assets/images/separator_back.png +0 -0
- package/assets/images/setting.svg +3 -0
- package/assets/images/ship-solid.svg +1 -0
- package/assets/images/shoppingbag.svg +3 -0
- package/assets/images/squareoption.svg +1 -0
- package/assets/images/squareoptionselected.svg +1 -0
- package/assets/images/star-of-life-solid.svg +2 -0
- package/assets/images/step-backward.svg +7 -0
- package/assets/images/step-forward.svg +7 -0
- package/assets/images/store-square.svg +19 -0
- package/assets/images/store.png +0 -0
- package/assets/images/store.svg +3 -0
- package/assets/images/storelocation.svg +6 -0
- package/assets/images/table-columns.svg +1 -0
- package/assets/images/tag.svg +22 -0
- package/assets/images/times-circle-solid.svg +1 -0
- package/assets/images/trash-o.svg +3 -0
- package/assets/images/triangle-down.svg +3 -0
- package/assets/images/triangle-up.svg +3 -0
- package/assets/images/truck-solid.svg +1 -0
- package/assets/images/up.svg +3 -0
- package/assets/images/upload.svg +1 -0
- package/assets/images/user-square.svg +10 -0
- package/assets/images/user.svg +13 -0
- package/assets/images/warning.png +0 -0
- package/assets/images/warning.svg +5 -0
- package/assets/images/watch.svg +3 -0
- package/assets/modals.scss +104 -0
- package/assets/property.scss +113 -0
- package/assets/shared.scss +157 -0
- package/assets/site.scss +374 -0
- package/assets/text.scss +162 -0
- package/assets/variables.scss +91 -0
- package/core/index.d.ts +6 -0
- package/core/lib/array.function.d.ts +8 -0
- package/core/lib/core.module.d.ts +9 -0
- package/core/lib/global/EnvironmentBase.d.ts +7 -0
- package/core/lib/nameof.function.d.ts +4 -0
- package/core/lib/services/ensuremoduleloadedonceguard.d.ts +3 -0
- package/core/lib/services/utilities.service.d.ts +87 -0
- package/core-data/index.d.ts +3 -0
- package/core-data/lib/core-data.module.d.ts +7 -0
- package/core-data/lib/services/data-service.d.ts +68 -0
- package/core-data/lib/services/entity-data-service.d.ts +37 -0
- package/core-model/index.d.ts +4 -0
- package/core-model/lib/core-model.module.d.ts +7 -0
- package/core-model/lib/interface.d.ts +140 -0
- package/core-model/lib/model/interface.generated.d.ts +286 -0
- package/core-model/lib/model/model.d.ts +38 -0
- package/core-services/index.d.ts +23 -0
- package/core-services/lib/core-services.module.d.ts +10 -0
- package/core-services/lib/model/model.d.ts +25 -0
- package/core-services/lib/services/app-keys.d.ts +15 -0
- package/core-services/lib/services/appConfig.service.d.ts +8 -0
- package/core-services/lib/services/auth-guard.service.d.ts +18 -0
- package/core-services/lib/services/auth.interceptor.d.ts +15 -0
- package/core-services/lib/services/auth.service.d.ts +67 -0
- package/core-services/lib/services/breadcrumb.service.d.ts +14 -0
- package/core-services/lib/services/busmessage.service.d.ts +19 -0
- package/core-services/lib/services/can-activate-guard.service.d.ts +12 -0
- package/core-services/lib/services/filter.service.d.ts +15 -0
- package/core-services/lib/services/geolocation.service.d.ts +29 -0
- package/core-services/lib/services/headers.service.d.ts +15 -0
- package/core-services/lib/services/hub.service.d.ts +33 -0
- package/core-services/lib/services/local-store-manager.service.d.ts +50 -0
- package/core-services/lib/services/menu.service.d.ts +27 -0
- package/core-services/lib/services/message.service.d.ts +14 -0
- package/core-services/lib/services/notifications.service.d.ts +14 -0
- package/core-services/lib/services/permission.service.d.ts +12 -0
- package/core-services/lib/services/screen.service.d.ts +14 -0
- package/core-services/lib/services/server-url.d.ts +12 -0
- package/core-services/lib/services/string.function.d.ts +1 -0
- package/core-services/lib/services/user.service.d.ts +22 -0
- package/core-ux/index.d.ts +144 -0
- package/core-ux/lib/components/actions/actions-content.component.d.ts +10 -0
- package/core-ux/lib/components/actions/actions.component.d.ts +57 -0
- package/core-ux/lib/components/actions/extended-action/extended-action.component.d.ts +34 -0
- package/core-ux/lib/components/base-editor/base-editor.component.d.ts +93 -0
- package/core-ux/lib/components/base-item-list/base-item-list.component.d.ts +21 -0
- package/core-ux/lib/components/basefilter/basefilter.component.d.ts +275 -0
- package/core-ux/lib/components/breadcrumb/breadcrumb.component.d.ts +12 -0
- package/core-ux/lib/components/datagrid-custom/datagrid-cell/datagrid-cell.component.d.ts +32 -0
- package/core-ux/lib/components/datagrid-custom/datagrid-custom.component.d.ts +159 -0
- package/core-ux/lib/components/datagrid-custom/datagrid-sorter.component.d.ts +15 -0
- package/core-ux/lib/components/datapage/layout-page/page-layout.component.d.ts +13 -0
- package/core-ux/lib/components/datapage/old/old.datapage.component.d.ts +10 -0
- package/core-ux/lib/components/datapage/old-layout-handler.directive.d.ts +31 -0
- package/core-ux/lib/components/dynamic-components/dynamic-field/dynamic-field.component.d.ts +41 -0
- package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-extra.component.d.ts +27 -0
- package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-panel.component.d.ts +8 -0
- package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter.component.d.ts +54 -0
- package/core-ux/lib/components/dynamic-components/dynamic-form/dynamic-form.component.d.ts +122 -0
- package/core-ux/lib/components/filtersummary/filtersummary.component.d.ts +27 -0
- package/core-ux/lib/components/form-password/form-password.component.d.ts +9 -0
- package/core-ux/lib/components/grid-row/grid-row.component.d.ts +12 -0
- package/core-ux/lib/components/image-display/image.component.d.ts +20 -0
- package/core-ux/lib/components/input-selector/input-selector.component.d.ts +50 -0
- package/core-ux/lib/components/input-tree-selector/input-tree-selector.component.d.ts +25 -0
- package/core-ux/lib/components/logs/logs.component.d.ts +32 -0
- package/core-ux/lib/components/menu/menu.component.d.ts +39 -0
- package/core-ux/lib/components/menu-dashboard/menu-dashboard.component.d.ts +15 -0
- package/core-ux/lib/components/paginator/paginator.component.d.ts +17 -0
- package/core-ux/lib/components/parameter-field/parameter-field.component.d.ts +13 -0
- package/core-ux/lib/components/parameter-field/parameter-types/base-array-parameter-type.component.d.ts +16 -0
- package/core-ux/lib/components/parameter-field/parameter-types/base-parameter-type.component.d.ts +21 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool/parameter-type-bool.component.d.ts +9 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-bool-array/parameter-type-bool-array.component.d.ts +12 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date/parameter-type-date.component.d.ts +16 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-date-array/parameter-type-date-array.component.d.ts +17 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number/parameter-type-number.component.d.ts +6 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-number-array/parameter-type-number-array.component.d.ts +6 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-password/parameter-type-password.component.d.ts +9 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text/parameter-type-text.component.d.ts +7 -0
- package/core-ux/lib/components/parameter-field/parameter-types/parameter-type-text-array/parameter-type-text-array.component.d.ts +6 -0
- package/core-ux/lib/components/property-grid/property-grid.component.d.ts +125 -0
- package/core-ux/lib/components/search-results/search-results.component.d.ts +7 -0
- package/core-ux/lib/components/tab/tab.component.d.ts +14 -0
- package/core-ux/lib/components/tabset/tabset.component.d.ts +15 -0
- package/core-ux/lib/components/text-viewer/text-viewer.component.d.ts +21 -0
- package/core-ux/lib/components/time-picker/time-picker.component.d.ts +27 -0
- package/core-ux/lib/components/tree/tree.component.d.ts +39 -0
- package/core-ux/lib/components/validation-error/validation-error.component.d.ts +8 -0
- package/core-ux/lib/components/wizard/wizard-step/wizard-step.component.d.ts +26 -0
- package/core-ux/lib/components/wizard/wizard.component.d.ts +29 -0
- package/core-ux/lib/core-ux.module.d.ts +102 -0
- package/core-ux/lib/directives/addclass.directive.d.ts +11 -0
- package/core-ux/lib/directives/collapse.directive.d.ts +34 -0
- package/core-ux/lib/directives/draggable.directive.d.ts +39 -0
- package/core-ux/lib/directives/droppable.directive.d.ts +55 -0
- package/core-ux/lib/directives/editMode.directive.d.ts +8 -0
- package/core-ux/lib/directives/focusable.directive.d.ts +16 -0
- package/core-ux/lib/directives/insertion.directive.d.ts +8 -0
- package/core-ux/lib/directives/onEnter.directive.d.ts +11 -0
- package/core-ux/lib/directives/tab-heading.d.ts +8 -0
- package/core-ux/lib/directives/tab-transclude.d.ts +11 -0
- package/core-ux/lib/directives/tooltip.directive.d.ts +16 -0
- package/core-ux/lib/directives/validate-on-enter.directive.d.ts +10 -0
- package/core-ux/lib/directives/viewMode.directive.d.ts +8 -0
- package/core-ux/lib/layout/default/default-layout.d.ts +36 -0
- package/core-ux/lib/layout/login/login-layout.d.ts +9 -0
- package/core-ux/lib/log.service.d.ts +8 -0
- package/core-ux/lib/modals/confirm-modal/confirm-modal.component.d.ts +17 -0
- package/core-ux/lib/modals/dialog/dialog.component.d.ts +57 -0
- package/core-ux/lib/modals/dialog-component.tokens.d.ts +3 -0
- package/core-ux/lib/modals/export-data-modal/export-data-modal.component.d.ts +11 -0
- package/core-ux/lib/modals/track-record-modal/track-record-modal.component.d.ts +21 -0
- package/core-ux/lib/modals/validation-modal/validation-modal.component.d.ts +24 -0
- package/core-ux/lib/model/datagrid.d.ts +194 -0
- package/core-ux/lib/model/model.d.ts +222 -0
- package/core-ux/lib/model/tree.d.ts +12 -0
- package/core-ux/lib/pipes/euro.pipe.d.ts +9 -0
- package/core-ux/lib/pipes/todefine.pipe.d.ts +8 -0
- package/core-ux/lib/pipes/tofixedsizeinteger.pipe.d.ts +8 -0
- package/core-ux/lib/services/action.service.d.ts +42 -0
- package/core-ux/lib/services/alert.service.d.ts +51 -0
- package/core-ux/lib/services/application.service.d.ts +73 -0
- package/core-ux/lib/services/can-deactivate-guard.d.ts +12 -0
- package/core-ux/lib/services/drag.service.d.ts +54 -0
- package/core-ux/lib/services/fire-authentication.service.d.ts +13 -0
- package/core-ux/lib/services/image.service.d.ts +15 -0
- package/core-ux/lib/services/modal-state.service.d.ts +26 -0
- package/core-ux/lib/services/modal.service.d.ts +30 -0
- package/core-ux/lib/services/presentation-profile.token.d.ts +40 -0
- package/core-ux/lib/services/selectorMapperBase.service.d.ts +36 -0
- package/core-ux/lib/v2/components/actions-panel/action-panel.component.d.ts +48 -0
- package/core-ux/lib/v2/components/base-component/base-component.d.ts +80 -0
- package/core-ux/lib/v2/components/cell-renderer/cell-renderer.component.d.ts +11 -0
- package/core-ux/lib/v2/components/data-grid/data-grid.component.d.ts +104 -0
- package/core-ux/lib/v2/components/data-grid/grid-field-descriptor/grid-field.component.d.ts +55 -0
- package/core-ux/lib/v2/components/data-list/data-list.component.d.ts +29 -0
- package/core-ux/lib/v2/components/editor-tab/editor-tab.component.d.ts +15 -0
- package/core-ux/lib/v2/components/editor-tabset/editor-tabset.component.d.ts +18 -0
- package/core-ux/lib/v2/components/field-descriptor/field.component.d.ts +61 -0
- package/core-ux/lib/v2/components/filter-form/filter-form.component.d.ts +12 -0
- package/core-ux/lib/v2/components/filter-summary/filter-summary.component.d.ts +34 -0
- package/core-ux/lib/v2/components/new-editor/new-editor.component.d.ts +66 -0
- package/core-ux/lib/v2/components/new-paginator/new-paginator.component.d.ts +31 -0
- package/core-ux/lib/v2/components/orderable/orderable-modal.component.d.ts +36 -0
- package/core-ux/lib/v2/components/orderable/orderable-modal.service.d.ts +11 -0
- package/core-ux/lib/v2/components/orderable/orderable.interface.d.ts +52 -0
- package/core-ux/lib/v2/components/property-editor/property-editor-component.d.ts +89 -0
- package/core-ux/lib/v2/components/selector/selector-registry.service.d.ts +9 -0
- package/core-ux/lib/v2/components/selector/selector.component.d.ts +33 -0
- package/core-ux/lib/v2/components/selector/selector.model.d.ts +19 -0
- package/core-ux/lib/v2/components/standard-page-layout/standard-page-layout.component.d.ts +29 -0
- package/core-ux/lib/v2/directives/base-shortcut.directive.d.ts +15 -0
- package/core-ux/lib/v2/directives/hide-on-threshold.directive.d.ts +20 -0
- package/core-ux/lib/v2/directives/layout-handler.directive.d.ts +54 -0
- package/core-ux/lib/v2/directives/row-ref.directive.d.ts +21 -0
- package/core-ux/lib/v2/models/aggregation-model.d.ts +8 -0
- package/core-ux/lib/v2/models/contexts/action-context.d.ts +66 -0
- package/core-ux/lib/v2/models/contexts/action-handler-context.d.ts +49 -0
- package/core-ux/lib/v2/models/contexts/base-form-context.d.ts +42 -0
- package/core-ux/lib/v2/models/contexts/change-detection-context.d.ts +41 -0
- package/core-ux/lib/v2/models/contexts/data-context.d.ts +25 -0
- package/core-ux/lib/v2/models/contexts/data-grid-style-context.d.ts +36 -0
- package/core-ux/lib/v2/models/contexts/editor-context.d.ts +30 -0
- package/core-ux/lib/v2/models/contexts/entity-config-context.d.ts +49 -0
- package/core-ux/lib/v2/models/contexts/filter-context.d.ts +49 -0
- package/core-ux/lib/v2/models/contexts/layout-context.d.ts +57 -0
- package/core-ux/lib/v2/models/contexts/logger-context.d.ts +5 -0
- package/core-ux/lib/v2/models/contexts/section-context.d.ts +73 -0
- package/core-ux/lib/v2/models/contexts/selection-context.d.ts +45 -0
- package/core-ux/lib/v2/models/entity-facade.d.ts +35 -0
- package/core-ux/lib/v2/models/guards/facade-load-guard.d.ts +35 -0
- package/core-ux/lib/v2/models/guards/filter-lifecycle-guard.d.ts +29 -0
- package/core-ux/lib/v2/models/states/sorting-state.d.ts +14 -0
- package/core-ux/lib/v2/models/utilities/action-definition.d.ts +38 -0
- package/core-ux/lib/v2/models/utilities/change-utilities.d.ts +11 -0
- package/core-ux/lib/v2/models/utilities/entity-updater.d.ts +11 -0
- package/core-ux/lib/v2/models/utilities/form-wrapper.d.ts +30 -0
- package/core-ux/lib/v2/models/utilities/row-registry.d.ts +15 -0
- package/core-ux/lib/v2/models/utilities/selection-styler.d.ts +15 -0
- package/core-ux/lib/v2/pipes/gridstyle.pipe.d.ts +15 -0
- package/core-ux/lib/v2/services/app-config.service.d.ts +22 -0
- package/core-ux/lib/v2/services/entity-facade-registry.service.d.ts +28 -0
- package/core-ux/lib/v2/services/facade-modal.service.d.ts +21 -0
- package/core-ux/lib/v2/services/layout.service.d.ts +93 -0
- package/core-ux/lib/v2/services/property-change-bus.service.d.ts +9 -0
- package/core-ux/lib/v2/services/selection.service.d.ts +23 -0
- package/core-ux/lib/v2/services/test.service.d.ts +7 -0
- package/core-ux/lib/v2/services/validation.service.d.ts +10 -0
- package/core-ux/lib/v2/services/view-model-loader.service.d.ts +13 -0
- package/fesm2022/dflat-core-web-core-data.mjs +431 -0
- package/fesm2022/dflat-core-web-core-data.mjs.map +1 -0
- package/fesm2022/dflat-core-web-core-model.mjs +245 -0
- package/fesm2022/dflat-core-web-core-model.mjs.map +1 -0
- package/fesm2022/dflat-core-web-core-services.mjs +1568 -0
- package/fesm2022/dflat-core-web-core-services.mjs.map +1 -0
- package/fesm2022/dflat-core-web-core-ux.mjs +16294 -0
- package/fesm2022/dflat-core-web-core-ux.mjs.map +1 -0
- package/fesm2022/dflat-core-web-core.mjs +743 -0
- package/fesm2022/dflat-core-web-core.mjs.map +1 -0
- package/fesm2022/dflat-core-web-system-data.mjs +1031 -0
- package/fesm2022/dflat-core-web-system-data.mjs.map +1 -0
- package/fesm2022/dflat-core-web-system-model.mjs +283 -0
- package/fesm2022/dflat-core-web-system-model.mjs.map +1 -0
- package/fesm2022/dflat-core-web-system-root.mjs +289 -0
- package/fesm2022/dflat-core-web-system-root.mjs.map +1 -0
- package/fesm2022/dflat-core-web-system-ux.mjs +5677 -0
- package/fesm2022/dflat-core-web-system-ux.mjs.map +1 -0
- package/fesm2022/dflat-core-web.mjs +18 -0
- package/fesm2022/dflat-core-web.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/package.json +82 -0
- package/scss/core-ux.scss +5 -0
- package/scss/images/circle-info.svg +1 -0
- package/scss/images/circlecross.svg +3 -0
- package/scss/images/circularoptionselected.svg +1 -0
- package/scss/images/error.png +0 -0
- package/scss/images/filter.svg +2 -0
- package/scss/images/information.png +0 -0
- package/scss/images/pen-solid.svg +1 -0
- package/scss/images/search-sprite.png +0 -0
- package/scss/images/search.svg +3 -0
- package/scss/images/warning.png +0 -0
- package/scss/layout/default/default-layout.scss +270 -0
- package/scss/layout/login/login-layout.scss +204 -0
- package/scss/styles/drag-and-drop.scss +36 -0
- package/scss/styles/forms.scss +94 -0
- package/scss/styles/shared.scss +222 -0
- package/system-data/index.d.ts +50 -0
- package/system-data/lib/data-services/account-service.generated.d.ts +20 -0
- package/system-data/lib/data-services/action-service.generated.d.ts +15 -0
- package/system-data/lib/data-services/address-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/checkout-service.generated.d.ts +13 -0
- package/system-data/lib/data-services/company-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/config-service.generated.d.ts +18 -0
- package/system-data/lib/data-services/country-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/currency-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/custom-field-group-entity-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/custom-field-group-item-service.generated.d.ts +13 -0
- package/system-data/lib/data-services/custom-field-group-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/custom-field-options-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/custom-field-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/error-category-service.generated.d.ts +12 -0
- package/system-data/lib/data-services/exchange-rate-detail-service.generated.d.ts +35 -0
- package/system-data/lib/data-services/exchange-rate-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/file-service.generated.d.ts +26 -0
- package/system-data/lib/data-services/keyword-service.generated.d.ts +12 -0
- package/system-data/lib/data-services/meta-entity-field-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/meta-entity-keyword-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/meta-entity-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/news-service.generated.d.ts +13 -0
- package/system-data/lib/data-services/parameter-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/parameter-value-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/permission-service.generated.d.ts +12 -0
- package/system-data/lib/data-services/permission-view-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/plugin-parameter-value-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/presentation-profile-item-service.generated.d.ts +14 -0
- package/system-data/lib/data-services/presentation-profile-service.generated.d.ts +13 -0
- package/system-data/lib/data-services/rating-service.generated.d.ts +14 -0
- package/system-data/lib/data-services/rating-summary-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/rating-view-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/request-result-service.generated.d.ts +12 -0
- package/system-data/lib/data-services/request-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/resource-key-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/resource-language-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/resource-translation-view-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/role-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/subcompany-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/supplier-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/synchronized-company-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/tva-rate-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/user-account-company-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/user-account-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/user-favorite-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/user-group-definition-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/user-group-service.generated.d.ts +10 -0
- package/system-data/lib/data-services/user-role-service.generated.d.ts +10 -0
- package/system-data/lib/system-data.module.d.ts +9 -0
- package/system-model/index.d.ts +3 -0
- package/system-model/lib/model/interface.generated.d.ts +1162 -0
- package/system-model/lib/model/model.d.ts +11 -0
- package/system-model/lib/system-model.module.d.ts +7 -0
- package/system-root/index.d.ts +5 -0
- package/system-root/lib/system-entity-keys.d.ts +36 -0
- package/system-root/lib/system-menu-item-provider.d.ts +28 -0
- package/system-root/lib/system-menu-service.d.ts +13 -0
- package/system-root/lib/system-permissions.generated.d.ts +128 -0
- package/system-root/lib/system-root.module.d.ts +7 -0
- package/system-ux/index.d.ts +76 -0
- package/system-ux/lib/activate/activate.component.d.ts +36 -0
- package/system-ux/lib/address/address-editor.component.d.ts +12 -0
- package/system-ux/lib/address/address.component.d.ts +15 -0
- package/system-ux/lib/company/company-editor.component.d.ts +12 -0
- package/system-ux/lib/company/company.component.d.ts +19 -0
- package/system-ux/lib/components/image-upload/image-upload.component.d.ts +99 -0
- package/system-ux/lib/config/config-component.d.ts +22 -0
- package/system-ux/lib/config/datawarehouse-supply/dw-supply.component.d.ts +14 -0
- package/system-ux/lib/country/country-editor.component.d.ts +12 -0
- package/system-ux/lib/country/country.component.d.ts +14 -0
- package/system-ux/lib/currency/currency-editor.component.d.ts +12 -0
- package/system-ux/lib/currency/currency.component.d.ts +14 -0
- package/system-ux/lib/custom-field/custom-field-editor.component.d.ts +13 -0
- package/system-ux/lib/custom-field/custom-field.component.d.ts +19 -0
- package/system-ux/lib/custom-field-group/custom-field-group-editor.component.d.ts +14 -0
- package/system-ux/lib/custom-field-group/custom-field-group-entity/custom-field-group-entity-editor.component.d.ts +13 -0
- package/system-ux/lib/custom-field-group/custom-field-group-entity/custom-field-group-entity.component.d.ts +19 -0
- package/system-ux/lib/custom-field-group/custom-field-group-item/custom-field-group-item-editor.component.d.ts +12 -0
- package/system-ux/lib/custom-field-group/custom-field-group-item/custom-field-group-item.component.d.ts +27 -0
- package/system-ux/lib/custom-field-group/custom-field-group.component.d.ts +23 -0
- package/system-ux/lib/custom-field-options/custom-field-options-editor.component.d.ts +17 -0
- package/system-ux/lib/custom-field-options/custom-field-options.component.d.ts +22 -0
- package/system-ux/lib/entity-files/entity-files.component.d.ts +37 -0
- package/system-ux/lib/exchange-rate/exchange-rate-detail.component.d.ts +17 -0
- package/system-ux/lib/exchange-rate/exchange-rate-editor.component.d.ts +25 -0
- package/system-ux/lib/exchange-rate/exchange-rate.component.d.ts +18 -0
- package/system-ux/lib/global-parameter/global-parameter.component.d.ts +15 -0
- package/system-ux/lib/login/login.component.d.ts +37 -0
- package/system-ux/lib/meta-entity/meta-entity.component.d.ts +22 -0
- package/system-ux/lib/meta-entity-field/meta-entity-field-editor.component.d.ts +12 -0
- package/system-ux/lib/meta-entity-field/meta-entity-field.component.d.ts +20 -0
- package/system-ux/lib/news/news-component.d.ts +16 -0
- package/system-ux/lib/news/news-editor.component.d.ts +28 -0
- package/system-ux/lib/permission/permission-component.d.ts +16 -0
- package/system-ux/lib/permission/permission-editor.component.d.ts +12 -0
- package/system-ux/lib/presentation-profile/pp-facade.service.d.ts +39 -0
- package/system-ux/lib/presentation-profile/presentation-profile-action-service.d.ts +16 -0
- package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-column.component.d.ts +73 -0
- package/system-ux/lib/presentation-profile/presentation-profile-column-grid/presentation-profile-items.component.d.ts +50 -0
- package/system-ux/lib/presentation-profile/presentation-profile-resolver.service.d.ts +34 -0
- package/system-ux/lib/presentation-profile/presentation-profile-transformer.d.ts +48 -0
- package/system-ux/lib/presentation-profile/presentation-profile.component.d.ts +16 -0
- package/system-ux/lib/presentation-profile/presentation-profile.service.d.ts +58 -0
- package/system-ux/lib/request/request-editor.component.d.ts +12 -0
- package/system-ux/lib/request/request.component.d.ts +20 -0
- package/system-ux/lib/request-results/request-results.component.d.ts +15 -0
- package/system-ux/lib/reset-password/reset-password.component.d.ts +32 -0
- package/system-ux/lib/resource-key/resource-key.component.d.ts +18 -0
- package/system-ux/lib/resource-language/resource-language.component.d.ts +16 -0
- package/system-ux/lib/resource-language/resourcelanguage-editor.component.d.ts +12 -0
- package/system-ux/lib/resource-translation/resource-translation-editor.component.d.ts +12 -0
- package/system-ux/lib/resource-translation/resource-translation.component.d.ts +16 -0
- package/system-ux/lib/role/role-component.d.ts +14 -0
- package/system-ux/lib/role/role-editor.component.d.ts +27 -0
- package/system-ux/lib/services/custom-field-action-service.d.ts +25 -0
- package/system-ux/lib/services/custom-field-service.d.ts +21 -0
- package/system-ux/lib/services/rates-action-service.d.ts +28 -0
- package/system-ux/lib/services/select-user-company-action-service.d.ts +23 -0
- package/system-ux/lib/services/system-section.service.d.ts +12 -0
- package/system-ux/lib/services/system-selector-mapper.service.d.ts +24 -0
- package/system-ux/lib/services/user-action-service.d.ts +20 -0
- package/system-ux/lib/sub-company/sub-company.component.d.ts +15 -0
- package/system-ux/lib/supplier/supplier-editor.component.d.ts +12 -0
- package/system-ux/lib/supplier/supplier.component.d.ts +16 -0
- package/system-ux/lib/synchronised-company/synchronised-company.component.d.ts +16 -0
- package/system-ux/lib/system-ux.module.d.ts +88 -0
- package/system-ux/lib/tva-rate/tva-rate-detail.component.d.ts +17 -0
- package/system-ux/lib/tva-rate/tva-rate-editor.component.d.ts +25 -0
- package/system-ux/lib/tva-rate/tva-rate.component.d.ts +17 -0
- package/system-ux/lib/user-account/user-account-component.d.ts +18 -0
- package/system-ux/lib/user-account/user-account-editor.component.d.ts +12 -0
- package/system-ux/lib/user-account-profile/user-account-profile.component.d.ts +31 -0
- package/system-ux/lib/user-company/user-company-component.d.ts +21 -0
- package/system-ux/lib/user-group/user-group-definition.component.d.ts +18 -0
- package/system-ux/lib/user-group/user-group-editor.component.d.ts +12 -0
- package/system-ux/lib/user-group/user-group.component.d.ts +16 -0
- package/system-ux/lib/user-permission/user-permission-component.d.ts +14 -0
- package/system-ux/lib/user-role/user-role-component.d.ts +20 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
3
|
+
import { PresentationProfileDataService, PresentationProfileItemDataService } from '@dflat-core/web/system-data';
|
|
4
|
+
import { PresentationProfile, PresentationProfileItem } from '@dflat-core/web/system-model';
|
|
5
|
+
import { PpGroup } from '../presentation-profile-transformer';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class PresentationProfileItemsComponent implements OnInit, OnDestroy {
|
|
8
|
+
private readonly data;
|
|
9
|
+
private readonly itemData;
|
|
10
|
+
profile: PresentationProfile | null;
|
|
11
|
+
isSection: boolean;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
isSaving: boolean;
|
|
14
|
+
message: string;
|
|
15
|
+
groups: PpGroup[];
|
|
16
|
+
allItems: PresentationProfileItem[];
|
|
17
|
+
filteredItems: PresentationProfileItem[];
|
|
18
|
+
orderedSelection: PresentationProfileItem[];
|
|
19
|
+
selectedIds: Set<string>;
|
|
20
|
+
selectedGroup: PpGroup | null;
|
|
21
|
+
searchText: string;
|
|
22
|
+
naturalLabelByKey: Map<string, string>;
|
|
23
|
+
get isPerimeter(): boolean;
|
|
24
|
+
get selectedCount(): number;
|
|
25
|
+
get canSave(): boolean;
|
|
26
|
+
get allVisibleSelected(): boolean;
|
|
27
|
+
get someVisibleSelected(): boolean;
|
|
28
|
+
private readonly destroy$;
|
|
29
|
+
constructor(data: PresentationProfileDataService, itemData: PresentationProfileItemDataService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
setProfile(profile: PresentationProfile): void;
|
|
33
|
+
getCatalogLabel(item: PresentationProfileItem): string;
|
|
34
|
+
private getItemGroupId;
|
|
35
|
+
private loadColumns;
|
|
36
|
+
private resetEditor;
|
|
37
|
+
selectGroup(group: PpGroup | null): void;
|
|
38
|
+
onSearch(): void;
|
|
39
|
+
private applyFilter;
|
|
40
|
+
getGroupCount(g: PpGroup): number;
|
|
41
|
+
getGroupSelectedCount(g: PpGroup): number;
|
|
42
|
+
isSelected(item: PresentationProfileItem): boolean;
|
|
43
|
+
toggleItem(item: PresentationProfileItem): void;
|
|
44
|
+
toggleAll(): void;
|
|
45
|
+
removeFromSelection(item: PresentationProfileItem): void;
|
|
46
|
+
onDrop(event: CdkDragDrop<PresentationProfileItem[]>): void;
|
|
47
|
+
save(): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationProfileItemsComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PresentationProfileItemsComponent, "alg-pp-items", never, {}, {}, never, never, false, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PresentationProfileItemDataService } from '@dflat-core/web/system-data';
|
|
3
|
+
import { PresentationContext, PresentationProfileItem } from '@dflat-core/web/system-model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface PpResolverConfig {
|
|
6
|
+
metaEntityKey: string;
|
|
7
|
+
purpose?: number;
|
|
8
|
+
supplierId?: number | null;
|
|
9
|
+
roleId?: number | null;
|
|
10
|
+
}
|
|
11
|
+
/** Effective profile for a grid — resolved entirely on the backend. */
|
|
12
|
+
export interface PpEffectiveProfile {
|
|
13
|
+
/** Resolved, ordered columns ready to apply to the grid. */
|
|
14
|
+
columns: PresentationProfileItem[];
|
|
15
|
+
/** True when the user has a saved personal profile. */
|
|
16
|
+
hasUserProfile: boolean;
|
|
17
|
+
/** Id of the user's profile — useful to pass back on save. */
|
|
18
|
+
userProfileId: number | null;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Resolves the effective Presentation Profile for a grid in a SINGLE backend call
|
|
22
|
+
* (PresentationProfileItemController.GetPresentationContext). All merging/resolution happens
|
|
23
|
+
* server-side; the client returns ctx.Resolved as-is.
|
|
24
|
+
*/
|
|
25
|
+
export declare class PresentationProfileResolver {
|
|
26
|
+
private readonly itemData;
|
|
27
|
+
constructor(itemData: PresentationProfileItemDataService);
|
|
28
|
+
resolve(config: PpResolverConfig): Observable<PpEffectiveProfile>;
|
|
29
|
+
/** Loads the whole context (catalog + default + user + resolved) — used by the selection modal. */
|
|
30
|
+
loadContext(config: PpResolverConfig): Observable<PresentationContext>;
|
|
31
|
+
private toFilter;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationProfileResolver, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PresentationProfileResolver>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ColumnDescriptor } from '@dflat-core/web/core-model';
|
|
2
|
+
import { PresentationContext, PresentationProfile, PresentationProfileItem, PresentationProfilePurposes } from '@dflat-core/web/system-model';
|
|
3
|
+
export declare const PP_GRP_STANDARD = "standard";
|
|
4
|
+
export declare const PP_GRP_CUSTOM = "custom";
|
|
5
|
+
export interface PpConfig {
|
|
6
|
+
metaEntityKey: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
purpose?: PresentationProfilePurposes;
|
|
9
|
+
embedded?: boolean;
|
|
10
|
+
supplierId?: number | null;
|
|
11
|
+
roleId?: number | null;
|
|
12
|
+
}
|
|
13
|
+
export interface PpGroup {
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
isCustom: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface PpResult {
|
|
19
|
+
purpose: PresentationProfilePurposes;
|
|
20
|
+
profileId: number | null;
|
|
21
|
+
columns: PresentationProfileItem[];
|
|
22
|
+
}
|
|
23
|
+
export interface PpExportSplit {
|
|
24
|
+
columns: string[];
|
|
25
|
+
customFieldIds: number[];
|
|
26
|
+
}
|
|
27
|
+
export declare class PresentationProfileTransformer {
|
|
28
|
+
/**
|
|
29
|
+
* Build the display groups from a catalog: a "standard" group + one group per custom-field
|
|
30
|
+
* group (by GroupId/GroupName provided by the backend), falling back to a single "Attributs".
|
|
31
|
+
*/
|
|
32
|
+
static buildGroups(catalog: PresentationProfileItem[]): PpGroup[];
|
|
33
|
+
/**
|
|
34
|
+
* Converts resolved PresentationProfileItem[] into ColumnDescriptor[] for the data grid.
|
|
35
|
+
* Standard columns are matched from the backend descriptors by Property (ColumnKey);
|
|
36
|
+
* custom-field columns get a synthetic text descriptor.
|
|
37
|
+
* item.Label is the effective display label (custom override if set, natural label from catalog otherwise).
|
|
38
|
+
*/
|
|
39
|
+
static buildDescriptors(items: PresentationProfileItem[], backendDescriptors: ColumnDescriptor[]): ColumnDescriptor[];
|
|
40
|
+
/** User profile selection → unified PresentationContext for savePresentationProfile (Profile carries Items). */
|
|
41
|
+
static toUserPreferenceContext(items: PresentationProfileItem[], key: string, purpose: number, label?: string | null, profile?: PresentationProfile | null): PresentationContext;
|
|
42
|
+
/** Admin selection → unified PresentationContext for savePresentationProfile (Profile carries Items). */
|
|
43
|
+
static toAdminConfigContext(items: PresentationProfileItem[], profile: PresentationProfile): PresentationContext;
|
|
44
|
+
/** Normalises selected columns into persistable items (order = position). */
|
|
45
|
+
private static toSaveItems;
|
|
46
|
+
/** Split selected items into standard column keys and custom-field ids (for export payloads). */
|
|
47
|
+
static splitForExport(items: PresentationProfileItem[]): PpExportSplit;
|
|
48
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { PpConfig, PpResult } from './presentation-profile-transformer';
|
|
3
|
+
import { PresentationProfileService } from './presentation-profile.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PresentationProfileComponent implements OnInit, OnDestroy {
|
|
6
|
+
readonly svc: PresentationProfileService;
|
|
7
|
+
config: PpConfig;
|
|
8
|
+
readonly confirmed: EventEmitter<PpResult>;
|
|
9
|
+
readonly cancelled: EventEmitter<void>;
|
|
10
|
+
private readonly destroy$;
|
|
11
|
+
constructor(svc: PresentationProfileService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationProfileComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PresentationProfileComponent, "alg-presentation-profile", never, { "config": { "alias": "config"; "required": false; }; }, { "confirmed": "confirmed"; "cancelled": "cancelled"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { PresentationProfileDataService } from '@dflat-core/web/system-data';
|
|
5
|
+
import { PresentationProfile, PresentationProfileItem } from '@dflat-core/web/system-model';
|
|
6
|
+
import { PresentationProfileResolver } from './presentation-profile-resolver.service';
|
|
7
|
+
import { PpConfig, PpGroup, PpResult } from './presentation-profile-transformer';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class PresentationProfileService implements OnDestroy {
|
|
10
|
+
private readonly data;
|
|
11
|
+
private readonly resolver;
|
|
12
|
+
constructor(data: PresentationProfileDataService, resolver: PresentationProfileResolver);
|
|
13
|
+
config: PpConfig;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
isSaving: boolean;
|
|
16
|
+
allColumns: PresentationProfileItem[];
|
|
17
|
+
groups: PpGroup[];
|
|
18
|
+
filteredColumns: PresentationProfileItem[];
|
|
19
|
+
selectedGroup: PpGroup | null;
|
|
20
|
+
searchText: string;
|
|
21
|
+
naturalLabelByKey: Map<string, string>;
|
|
22
|
+
userProfile: PresentationProfile | null;
|
|
23
|
+
loadedItemIds: string[];
|
|
24
|
+
orderedSelection: PresentationProfileItem[];
|
|
25
|
+
selectedIds: Set<string>;
|
|
26
|
+
readonly confirmed$: Subject<PpResult>;
|
|
27
|
+
readonly cancelled$: Subject<void>;
|
|
28
|
+
private destroy$;
|
|
29
|
+
private get purpose();
|
|
30
|
+
get selectedCount(): number;
|
|
31
|
+
get isEmbedded(): boolean;
|
|
32
|
+
get isProfileSaved(): boolean;
|
|
33
|
+
get hasChanges(): boolean;
|
|
34
|
+
get allVisibleSelected(): boolean;
|
|
35
|
+
get someVisibleSelected(): boolean;
|
|
36
|
+
setup(config: PpConfig): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
getCatalogLabel(item: PresentationProfileItem): string;
|
|
39
|
+
private getItemGroupId;
|
|
40
|
+
private loadData;
|
|
41
|
+
private setSelection;
|
|
42
|
+
selectGroup(group: PpGroup | null): void;
|
|
43
|
+
onSearch(): void;
|
|
44
|
+
private applyFilter;
|
|
45
|
+
getGroupCount(g: PpGroup): number;
|
|
46
|
+
getGroupSelectedCount(g: PpGroup): number;
|
|
47
|
+
isSelected(col: PresentationProfileItem): boolean;
|
|
48
|
+
toggleItem(col: PresentationProfileItem): void;
|
|
49
|
+
toggleAll(): void;
|
|
50
|
+
removeFromSelection(col: PresentationProfileItem): void;
|
|
51
|
+
onDrop(event: CdkDragDrop<PresentationProfileItem[]>): void;
|
|
52
|
+
confirm(): void;
|
|
53
|
+
save(): void;
|
|
54
|
+
cancel(): void;
|
|
55
|
+
private performSave;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PresentationProfileService, never>;
|
|
57
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PresentationProfileService>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApplicationService, BaseEditorComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { RequestView } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RequestEditorComponent extends BaseEditorComponent<RequestView> {
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
getTitle(withId: boolean): string;
|
|
8
|
+
getPath(withId: boolean): string;
|
|
9
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestEditorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RequestEditorComponent, "alg-request-editor", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { RequestFilterViewModel, RequestView } from '@dflat-core/web/system-model';
|
|
3
|
+
import { SystemSectionService } from '../services/system-section.service';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class RequestComponent extends BaseComponent<RequestFilterViewModel, RequestView> {
|
|
7
|
+
private systemSection;
|
|
8
|
+
protected route: ActivatedRoute;
|
|
9
|
+
entityKey: string;
|
|
10
|
+
entityIds: number[];
|
|
11
|
+
RESULT_SECTION: string;
|
|
12
|
+
getTitle(): string;
|
|
13
|
+
getPath(): string;
|
|
14
|
+
getEntityKey(): string;
|
|
15
|
+
get PermissionKey(): string;
|
|
16
|
+
constructor(app: ApplicationService, systemSection: SystemSectionService, route: ActivatedRoute);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RequestComponent, "alg-request", never, { "entityKey": { "alias": "entityKey"; "required": false; }; "entityIds": { "alias": "entityIds"; "required": false; }; }, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { RequestResultView, RequestResultFilterViewModel } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RequestResultsComponent extends BaseComponent<RequestResultFilterViewModel, RequestResultView> {
|
|
6
|
+
protected route: ActivatedRoute;
|
|
7
|
+
getTitle(): string;
|
|
8
|
+
getPath(): string;
|
|
9
|
+
getEntityKey(): string;
|
|
10
|
+
get PermissionKey(): string;
|
|
11
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestResultsComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RequestResultsComponent, "alg-request-results", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AuthService, UserService } from '@dflat-core/web/core-services';
|
|
2
|
+
import { AccountDataService } from '@dflat-core/web/system-data';
|
|
3
|
+
import { ActivateComponent } from '../activate/activate.component';
|
|
4
|
+
import { EventEmitter } from '@angular/core';
|
|
5
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
6
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare function MustMatch(controlName: string, matchingControlName: string): (formGroup: UntypedFormGroup) => void;
|
|
9
|
+
export declare class ResetPasswordComponent extends ActivateComponent {
|
|
10
|
+
private formBuilder;
|
|
11
|
+
isModal: boolean;
|
|
12
|
+
passwordSuccess: boolean;
|
|
13
|
+
password: string;
|
|
14
|
+
password2: string;
|
|
15
|
+
passwordForm: UntypedFormGroup;
|
|
16
|
+
connexionClick: EventEmitter<string>;
|
|
17
|
+
registerClick: EventEmitter<string>;
|
|
18
|
+
constructor(router: Router, route: ActivatedRoute, accountDataService: AccountDataService, authService: AuthService, userService: UserService, formBuilder: UntypedFormBuilder);
|
|
19
|
+
goToConnect(): void;
|
|
20
|
+
get f(): {
|
|
21
|
+
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
22
|
+
};
|
|
23
|
+
resolve(event: any): void;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
isPasswordInitSuccess(): boolean;
|
|
26
|
+
validatePassword(): void;
|
|
27
|
+
activate(sendAgain: boolean): void;
|
|
28
|
+
OnConnexionClick(): void;
|
|
29
|
+
OnRegisterClick(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResetPasswordComponent, "kzk-reset-password", never, { "isModal": { "alias": "isModal"; "required": false; }; }, { "connexionClick": "connexionClick"; "registerClick": "registerClick"; }, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SpecificSection } from '@dflat-core/web/core-model';
|
|
2
|
+
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
3
|
+
import { ResourceKey, ResourceKeyFilterViewModel } from '@dflat-core/web/system-model';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ResourceKeyComponent extends BaseComponent<ResourceKeyFilterViewModel, ResourceKey> {
|
|
7
|
+
protected route: ActivatedRoute;
|
|
8
|
+
getTitle(): string;
|
|
9
|
+
getPath(): string;
|
|
10
|
+
getEntityKey(): string;
|
|
11
|
+
get PermissionKey(): string;
|
|
12
|
+
specificSections: SpecificSection[];
|
|
13
|
+
RESOURCE_TRANSLATION_SECTION: string;
|
|
14
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceKeyComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceKeyComponent, "alg-resource-key", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApplicationService, BaseComponent, LayoutPreferences } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { ResourceLanguage, ResourceLanguageFilterViewModel } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourceLanguageComponent extends BaseComponent<ResourceLanguageFilterViewModel, ResourceLanguage> {
|
|
6
|
+
protected route: ActivatedRoute;
|
|
7
|
+
getTitle(): string;
|
|
8
|
+
getPath(): string;
|
|
9
|
+
getEntityKey(): string;
|
|
10
|
+
get PermissionKey(): string;
|
|
11
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
12
|
+
FIXED_LAYOUT: LayoutPreferences;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceLanguageComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceLanguageComponent, "alg-resource-language", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApplicationService, NewEditorComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { ResourceLanguage } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourceLanguageEditorComponent extends NewEditorComponent<ResourceLanguage> {
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
getTitle(withId: boolean): string;
|
|
8
|
+
getPath(withId: boolean): string;
|
|
9
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceLanguageEditorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceLanguageEditorComponent, "alg-res-lang-editor", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApplicationService, BaseEditorComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { ResourceTranslationView } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourceTranslationEditorComponent extends BaseEditorComponent<ResourceTranslationView> {
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
getTitle(withId: boolean): string;
|
|
8
|
+
getPath(withId: boolean): string;
|
|
9
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTranslationEditorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTranslationEditorComponent, "alg-reslang-editor", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { ResourceKey, ResourceTranslationView, ResourceTranslationViewFilterViewModel } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourceTranslationComponent extends BaseComponent<ResourceTranslationViewFilterViewModel, ResourceTranslationView> {
|
|
6
|
+
protected route: ActivatedRoute;
|
|
7
|
+
getTitle(): string;
|
|
8
|
+
getPath(): string;
|
|
9
|
+
getEntityKey(): string;
|
|
10
|
+
get PermissionKey(): string;
|
|
11
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
12
|
+
resourceKey: ResourceKey;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceTranslationComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceTranslationComponent, "alg-resource-translation", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { Role, RoleFilterViewModel } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RoleComponent extends BaseComponent<RoleFilterViewModel, Role> {
|
|
6
|
+
protected route: ActivatedRoute;
|
|
7
|
+
getTitle(): string;
|
|
8
|
+
getPath(): string;
|
|
9
|
+
getEntityKey(): string;
|
|
10
|
+
get PermissionKey(): string;
|
|
11
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RoleComponent, "alg-role", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TreeviewConfig, TreeviewItem } from '@samotics/ngx-treeview';
|
|
2
|
+
import { EntityViewModelWithFields, FilterDescriptor } from '@dflat-core/web/core-model';
|
|
3
|
+
import { ApplicationService, BaseEditorComponent } from '@dflat-core/web/core-ux';
|
|
4
|
+
import { Role } from '@dflat-core/web/system-model';
|
|
5
|
+
import { ActivatedRoute } from '@angular/router';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class RoleEditorComponent extends BaseEditorComponent<Role> {
|
|
8
|
+
getEntityKey(): string;
|
|
9
|
+
getTitle(withId: boolean): string;
|
|
10
|
+
getPath(withId: boolean): string;
|
|
11
|
+
showValidationErrors: boolean;
|
|
12
|
+
field: FilterDescriptor;
|
|
13
|
+
fields: FilterDescriptor[];
|
|
14
|
+
roleFieldDescriptor: FilterDescriptor;
|
|
15
|
+
uniqueId: string;
|
|
16
|
+
form: any;
|
|
17
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
18
|
+
onSave(): void;
|
|
19
|
+
OnLoadingComplete(entity: EntityViewModelWithFields<Role>): void;
|
|
20
|
+
onSelectChange($event: any): void;
|
|
21
|
+
onFilterChange(value: string): void;
|
|
22
|
+
items: TreeviewItem[];
|
|
23
|
+
values: number[];
|
|
24
|
+
config: TreeviewConfig;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoleEditorComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RoleEditorComponent, "alg-role-editor", never, {}, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AlertService, FacadeModalService } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { CustomFieldGroupEntityDataService, CustomFieldGroupItemDataService, CustomFieldOptionsDataService, MetaEntityFieldDataService } from '@dflat-core/web/system-data';
|
|
3
|
+
import { CustomFieldGroup, CustomFieldGroupItemView, CustomFieldOptions, MetaEntityField } from '@dflat-core/web/system-model';
|
|
4
|
+
import { Observable, Subject } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CustomFieldActionService {
|
|
7
|
+
alertService: AlertService;
|
|
8
|
+
private customFieldOptionsDataService;
|
|
9
|
+
private customFieldGroupItemDataService;
|
|
10
|
+
private customFieldGroupEntityDataService;
|
|
11
|
+
private metaEntityFieldDataService;
|
|
12
|
+
private selector;
|
|
13
|
+
constructor(alertService: AlertService, customFieldOptionsDataService: CustomFieldOptionsDataService, customFieldGroupItemDataService: CustomFieldGroupItemDataService, customFieldGroupEntityDataService: CustomFieldGroupEntityDataService, metaEntityFieldDataService: MetaEntityFieldDataService, selector: FacadeModalService);
|
|
14
|
+
onCustomFieldAddSubject: Subject<MetaEntityField>;
|
|
15
|
+
addCustomField(metaEntityKey: string, existentCustomFields: number[]): void;
|
|
16
|
+
private onCustomFieldOptionAddSubject;
|
|
17
|
+
customFieldOptionAdded$: Observable<CustomFieldOptions>;
|
|
18
|
+
addCustomFieldOption(customFieldId: number): import("rxjs").Subscription;
|
|
19
|
+
onCustomFieldGroupAddSubject: Subject<CustomFieldGroup>;
|
|
20
|
+
addCustomFieldtoGroup(groupId: number, initParams?: Partial<CustomFieldGroupItemView>): void;
|
|
21
|
+
onCustomFieldGroupEntityAddSubject: Subject<CustomFieldGroup>;
|
|
22
|
+
addCustomFieldGroupEntity(entityId: number, entityKey: string): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFieldActionService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomFieldActionService>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CustomFieldGroupEntityDataService, CustomFieldGroupItemDataService } from '@dflat-core/web/system-data';
|
|
2
|
+
import { CustomFieldGroupEntityView, CustomFieldGroupItemView } from '@dflat-core/web/system-model';
|
|
3
|
+
import { OnDestroy } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CustomFieldService implements OnDestroy {
|
|
6
|
+
private customFieldGroupItemDataService;
|
|
7
|
+
private customFieldGroupEntityDataService;
|
|
8
|
+
constructor(customFieldGroupItemDataService: CustomFieldGroupItemDataService, customFieldGroupEntityDataService: CustomFieldGroupEntityDataService);
|
|
9
|
+
private destroy$;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
CustomFieldGroupEntities: Map<string, CustomFieldGroupEntityView[]>;
|
|
12
|
+
IsCustomFieldGroupEntitiesLoaded: boolean;
|
|
13
|
+
CustomFieldGroupItems: CustomFieldGroupItemView[];
|
|
14
|
+
IsCustomFieldGroupItemsLoaded: boolean;
|
|
15
|
+
loadCustomFieldEntities(): void;
|
|
16
|
+
isCustomFieldGroupEntityExistent(elt: CustomFieldGroupEntityView): boolean;
|
|
17
|
+
getCustomFieldGroupEntities(entitykey: string, entityId: number): CustomFieldGroupEntityView[];
|
|
18
|
+
loadCustomFieldGroupItems(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFieldService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CustomFieldService>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SaveResult } from '@dflat-core/web/core-model';
|
|
2
|
+
import { AlertService, ModalService } from '@dflat-core/web/core-ux';
|
|
3
|
+
import { ExchangeRateDataService, TvaRateDataService } from '@dflat-core/web/system-data';
|
|
4
|
+
import { ExchangeRateView, TvaRateView } from '@dflat-core/web/system-model';
|
|
5
|
+
import { EventEmitter } from '@angular/core';
|
|
6
|
+
import { ExchangeRateEditorComponent } from '../exchange-rate/exchange-rate-editor.component';
|
|
7
|
+
import { TvaRateEditorComponent } from '../tva-rate/tva-rate-editor.component';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class RatesActionService {
|
|
10
|
+
private modalService;
|
|
11
|
+
alertService: AlertService;
|
|
12
|
+
private exchangeRateDataService;
|
|
13
|
+
private tvaRateDataService;
|
|
14
|
+
constructor(modalService: ModalService, alertService: AlertService, exchangeRateDataService: ExchangeRateDataService, tvaRateDataService: TvaRateDataService);
|
|
15
|
+
onExchangeRateEditCompleted: EventEmitter<SaveResult>;
|
|
16
|
+
onTvaRateEditCompleted: EventEmitter<SaveResult>;
|
|
17
|
+
notifySuper(): void;
|
|
18
|
+
openAddExchangeRateModal(model: ExchangeRateView): import("ngx-bootstrap/modal").BsModalRef<any>;
|
|
19
|
+
addExchangeRateCallBack(component: ExchangeRateEditorComponent): void;
|
|
20
|
+
openCreateExchangeRateModal(): import("ngx-bootstrap/modal").BsModalRef<any>;
|
|
21
|
+
createExchangeRateCallBack(component: ExchangeRateEditorComponent): void;
|
|
22
|
+
openAddTvaRateModal(model: TvaRateView): import("ngx-bootstrap/modal").BsModalRef<any>;
|
|
23
|
+
addTvaRateCallBack(component: TvaRateEditorComponent): void;
|
|
24
|
+
openCreateTvaRateModal(): import("ngx-bootstrap/modal").BsModalRef<any>;
|
|
25
|
+
createTvaRateCallBack(component: TvaRateEditorComponent): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatesActionService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RatesActionService>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AuthService, LocalStoreManager } from '@dflat-core/web/core-services';
|
|
2
|
+
import { AlertService, SelectorMapperServiceBase } from '@dflat-core/web/core-ux';
|
|
3
|
+
import { UserAccountCompanyDataService } from '@dflat-core/web/system-data';
|
|
4
|
+
import { UserAccountCompanyView } from '@dflat-core/web/system-model';
|
|
5
|
+
import { EventEmitter } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SelectUserCompanyActionService {
|
|
8
|
+
alertService: AlertService;
|
|
9
|
+
private selector;
|
|
10
|
+
protected localStore: LocalStoreManager;
|
|
11
|
+
private authService;
|
|
12
|
+
private userAccountCompanyDataService;
|
|
13
|
+
selectedUserCompany: UserAccountCompanyView;
|
|
14
|
+
positionChanged: EventEmitter<UserAccountCompanyView>;
|
|
15
|
+
constructor(alertService: AlertService, selector: SelectorMapperServiceBase, localStore: LocalStoreManager, authService: AuthService, userAccountCompanyDataService: UserAccountCompanyDataService);
|
|
16
|
+
newCompanySelected: EventEmitter<any>;
|
|
17
|
+
setDefaultCompanyOfUser(): Promise<void>;
|
|
18
|
+
setSelectedUserCompany(company: UserAccountCompanyView): Promise<void>;
|
|
19
|
+
selectUserCompany(userAccountId: number): void;
|
|
20
|
+
checkSelectedUserCompany(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectUserCompanyActionService, never>;
|
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SelectUserCompanyActionService>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EntityViewModel } from '@dflat-core/web/core-model';
|
|
2
|
+
import { EntityFacade, ISectionConfig } from '@dflat-core/web/core-ux';
|
|
3
|
+
import { AddressView, AddressViewFilterViewModel, RequestFilterViewModel, RequestView } from '@dflat-core/web/system-model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SystemSectionService {
|
|
6
|
+
constructor();
|
|
7
|
+
addAddressSection<TData extends EntityViewModel>(facade: EntityFacade<TData>, entityType: string, sectionConfig?: ISectionConfig<AddressView, AddressViewFilterViewModel, TData>): void;
|
|
8
|
+
addFilesSection<TData extends EntityViewModel>(facade: EntityFacade<TData>, entityType: string, permissionKey: string, sectionConfig?: ISectionConfig<any, any, TData>): void;
|
|
9
|
+
addRequestSection<TData extends EntityViewModel>(facade: EntityFacade<TData>, entityType: string, sectionConfig?: ISectionConfig<RequestView, RequestFilterViewModel, TData>, title?: string): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SystemSectionService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SystemSectionService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ModalService, SelectorMapperServiceBase } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { CompanyDataService, CountryDataService, CurrencyDataService, SupplierDataService, UserAccountCompanyDataService, UserAccountDataService } from '@dflat-core/web/system-data';
|
|
3
|
+
import { Type } from '@angular/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SystemSelectorMapperService extends SelectorMapperServiceBase {
|
|
7
|
+
protected modalService: ModalService;
|
|
8
|
+
private supplierDataService;
|
|
9
|
+
private countryDataService;
|
|
10
|
+
private currencyDataService;
|
|
11
|
+
private userAccountDataService;
|
|
12
|
+
private companyDataService;
|
|
13
|
+
private userAccountCompanyDataService;
|
|
14
|
+
constructor(modalService: ModalService, supplierDataService: SupplierDataService, countryDataService: CountryDataService, currencyDataService: CurrencyDataService, userAccountDataService: UserAccountDataService, companyDataService: CompanyDataService, userAccountCompanyDataService: UserAccountCompanyDataService);
|
|
15
|
+
getComponentParams(key: string, params?: any): {
|
|
16
|
+
selectionCompType: Type<any>;
|
|
17
|
+
selectionModalTitle?: string;
|
|
18
|
+
creationComType: Type<any>;
|
|
19
|
+
creationModalTitle?: string;
|
|
20
|
+
loadFunction: (term: any) => Observable<any[]>;
|
|
21
|
+
};
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SystemSelectorMapperService, never>;
|
|
23
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SystemSelectorMapperService>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AlertService, FacadeModalService } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { UserAccountCompanyDataService, UserGroupDefinitionDataService, UserRoleDataService } from '@dflat-core/web/system-data';
|
|
3
|
+
import { EventEmitter } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class UserActionService {
|
|
6
|
+
alertService: AlertService;
|
|
7
|
+
private userGroupDefinitionDataService;
|
|
8
|
+
userRoleDataService: UserRoleDataService;
|
|
9
|
+
private userCompanyDataService;
|
|
10
|
+
private selector;
|
|
11
|
+
constructor(alertService: AlertService, userGroupDefinitionDataService: UserGroupDefinitionDataService, userRoleDataService: UserRoleDataService, userCompanyDataService: UserAccountCompanyDataService, selector: FacadeModalService);
|
|
12
|
+
onSelection: EventEmitter<void>;
|
|
13
|
+
onRoleAdded: EventEmitter<any>;
|
|
14
|
+
onCompanyAdded: EventEmitter<any>;
|
|
15
|
+
addUserToGroup(groupId: number): void;
|
|
16
|
+
addUserRole(userAccountId: number): import("rxjs").Subscription;
|
|
17
|
+
addUserCompany(userAccountId: number, parentCompanyId: number): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserActionService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserActionService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { CompanyFilterViewModel, CompanyView } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SubCompanyComponent extends BaseComponent<CompanyFilterViewModel, CompanyView> {
|
|
6
|
+
protected route: ActivatedRoute;
|
|
7
|
+
getTitle(): string;
|
|
8
|
+
getPath(): string;
|
|
9
|
+
getEntityKey(): string;
|
|
10
|
+
get PermissionKey(): string;
|
|
11
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubCompanyComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubCompanyComponent, "msw-subcompany", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ApplicationService, NewEditorComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { SupplierView } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SupplierEditorComponent extends NewEditorComponent<SupplierView> {
|
|
6
|
+
getEntityKey(): string;
|
|
7
|
+
getTitle(withId: boolean): string;
|
|
8
|
+
getPath(withId: boolean): string;
|
|
9
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupplierEditorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupplierEditorComponent, "msw-supplier", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ApplicationService, BaseComponent } from '@dflat-core/web/core-ux';
|
|
2
|
+
import { SupplierFilterViewModel, SupplierView } from '@dflat-core/web/system-model';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SupplierComponent extends BaseComponent<SupplierFilterViewModel, SupplierView> {
|
|
6
|
+
protected route: ActivatedRoute;
|
|
7
|
+
getTitle(): string;
|
|
8
|
+
getPath(): string;
|
|
9
|
+
getEntityKey(): string;
|
|
10
|
+
get PermissionKey(): string;
|
|
11
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
12
|
+
FIELD_OPTIONS_SECTION: string;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupplierComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupplierComponent, "msw-supplier", never, {}, {}, never, ["[actionsPanelContent]", "*"], false, never>;
|
|
16
|
+
}
|