@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 { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LocalStoreManager {
|
|
4
|
+
private static syncListenerInitialised;
|
|
5
|
+
private syncKeys;
|
|
6
|
+
private initEvent;
|
|
7
|
+
private reservedKeys;
|
|
8
|
+
static readonly DBKEY_USER_DATA = "user_data";
|
|
9
|
+
private static readonly DBKEY_SYNC_KEYS;
|
|
10
|
+
initialiseStorageSyncListener(): void;
|
|
11
|
+
deinitialiseStorageSyncListener(): void;
|
|
12
|
+
private sessionStorageTransferHandler;
|
|
13
|
+
private syncSessionStorage;
|
|
14
|
+
clearAllStorage(): void;
|
|
15
|
+
clearAllSessionsStorage(): void;
|
|
16
|
+
clearInstanceSessionStorage(): void;
|
|
17
|
+
clearLocalStorage(): void;
|
|
18
|
+
private addToSessionStorage;
|
|
19
|
+
private addToSessionStorageHelper;
|
|
20
|
+
private removeFromSessionStorage;
|
|
21
|
+
private removeFromSessionStorageHelper;
|
|
22
|
+
private testForInvalidKeys;
|
|
23
|
+
private syncKeysContains;
|
|
24
|
+
private loadSyncKeys;
|
|
25
|
+
private getSyncKeysFromStorage;
|
|
26
|
+
private addToSyncKeys;
|
|
27
|
+
private addToSyncKeysBackup;
|
|
28
|
+
private removeFromSyncKeysBackup;
|
|
29
|
+
private addToSyncKeysHelper;
|
|
30
|
+
private removeFromSyncKeys;
|
|
31
|
+
private removeFromSyncKeysHelper;
|
|
32
|
+
saveSessionData(data: any, key?: string): void;
|
|
33
|
+
saveSyncedSessionData(data: any, key?: string): void;
|
|
34
|
+
savePermanentData(data: any, key?: string): void;
|
|
35
|
+
moveDataToSessionStorage(key?: string): void;
|
|
36
|
+
moveDataToSyncedSessionStorage(key?: string): void;
|
|
37
|
+
moveDataToPermanentStorage(key?: string): void;
|
|
38
|
+
exists(key?: string): boolean;
|
|
39
|
+
getData(key?: string): any;
|
|
40
|
+
getDataObject<T>(key?: string, isDateType?: boolean): T;
|
|
41
|
+
deleteData(key?: string): void;
|
|
42
|
+
private localStorageSetItem;
|
|
43
|
+
private sessionStorageSetItem;
|
|
44
|
+
private localStorageGetItem;
|
|
45
|
+
private sessionStorageGetItem;
|
|
46
|
+
private onInit;
|
|
47
|
+
getInitEvent(): Observable<{}>;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStoreManager, never>;
|
|
49
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStoreManager>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReplaySubject } from 'rxjs';
|
|
2
|
+
import { DictionnaryWrapper } from '@dflat-core/web/core-model';
|
|
3
|
+
import { MenuItem } from '../model/model';
|
|
4
|
+
import { PermissionService } from './permission.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class MenuService {
|
|
7
|
+
private permissionService;
|
|
8
|
+
private current;
|
|
9
|
+
private _permissionRouteMap;
|
|
10
|
+
constructor(permissionService: PermissionService);
|
|
11
|
+
abstract getAllMenuItems(isAdmin: boolean): MenuItem[];
|
|
12
|
+
abstract getAccessGrantedMenuItems(): MenuItem[];
|
|
13
|
+
setCurrent(menu: MenuItem[]): void;
|
|
14
|
+
getCurrent(): ReplaySubject<MenuItem[]>;
|
|
15
|
+
get permissionRouteMap(): DictionnaryWrapper<string>;
|
|
16
|
+
resetPermissionMap(): void;
|
|
17
|
+
hasAccessToThisRoute(url: string): boolean;
|
|
18
|
+
pushItem(items: Array<MenuItem>, menuItem: MenuItem, isAdmin: boolean): void;
|
|
19
|
+
hasPermission: (permKey: string) => boolean;
|
|
20
|
+
hasAnyPermission: (permKeys: (string | undefined)[]) => boolean;
|
|
21
|
+
getMenuItems(isAdmin: boolean): MenuItem[];
|
|
22
|
+
private sortLinks;
|
|
23
|
+
private sortLinksSubLevel;
|
|
24
|
+
merge(Menus: MenuItem[]): MenuItem[];
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReplaySubject, Subject } from 'rxjs';
|
|
2
|
+
import { Message } from '@dflat-core/web/core-model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MessagesService {
|
|
5
|
+
private messagesList;
|
|
6
|
+
newMessages: Subject<Message>;
|
|
7
|
+
messages: ReplaySubject<Message[]>;
|
|
8
|
+
updates: Subject<any>;
|
|
9
|
+
create: Subject<Message>;
|
|
10
|
+
constructor();
|
|
11
|
+
addMessage(message: Message): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessagesService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MessagesService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReplaySubject, Subject } from 'rxjs';
|
|
2
|
+
import { Notification } from '@dflat-core/web/core-model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NotificationsService {
|
|
5
|
+
private notificationsList;
|
|
6
|
+
newNotifications: Subject<Notification>;
|
|
7
|
+
notifications: ReplaySubject<Notification[]>;
|
|
8
|
+
updates: Subject<any>;
|
|
9
|
+
create: Subject<Notification>;
|
|
10
|
+
constructor();
|
|
11
|
+
addNotification(notification: Notification): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LocalStoreManager } from './local-store-manager.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PermissionService {
|
|
4
|
+
private localStorage;
|
|
5
|
+
constructor(localStorage: LocalStoreManager);
|
|
6
|
+
hasPermission(permission: string): boolean;
|
|
7
|
+
get permissions(): Array<any>;
|
|
8
|
+
get isAdmin(): boolean;
|
|
9
|
+
get currentUser(): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ScreenConfiguration } from '../model/model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScreenService {
|
|
5
|
+
screenChanged: EventEmitter<ScreenConfiguration>;
|
|
6
|
+
scrollChanged: EventEmitter<Element>;
|
|
7
|
+
config: ScreenConfiguration;
|
|
8
|
+
constructor();
|
|
9
|
+
getScreenConfiguration(): ScreenConfiguration;
|
|
10
|
+
setScreenConfiguration(value: ScreenConfiguration): void;
|
|
11
|
+
scroll(elt: Element): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class ServerUrl {
|
|
2
|
+
static isProduction: boolean;
|
|
3
|
+
static baseUrl: string;
|
|
4
|
+
static apiUrl: string;
|
|
5
|
+
static hubUrl: string;
|
|
6
|
+
static loginPath: string;
|
|
7
|
+
static connectPath: string;
|
|
8
|
+
static registerPath: string;
|
|
9
|
+
static activatePath: string;
|
|
10
|
+
static refreshPath: string;
|
|
11
|
+
static disconnectPath: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function trimChar(str: string, c: string): string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReplaySubject } from 'rxjs';
|
|
2
|
+
import { User } from '@dflat-core/web/core-model';
|
|
3
|
+
import { EventEmitter } from '@angular/core';
|
|
4
|
+
import { Router } from '@angular/router';
|
|
5
|
+
import { AuthService } from './auth.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UserService {
|
|
8
|
+
private router;
|
|
9
|
+
private authService;
|
|
10
|
+
userChanged: EventEmitter<User>;
|
|
11
|
+
private current;
|
|
12
|
+
private editUser;
|
|
13
|
+
constructor(router: Router, authService: AuthService);
|
|
14
|
+
setCurrent(user: User): void;
|
|
15
|
+
getCurrent(): ReplaySubject<User>;
|
|
16
|
+
openEditUser(): void;
|
|
17
|
+
getEditUser(): ReplaySubject<any>;
|
|
18
|
+
get AuthenticatedUser(): User;
|
|
19
|
+
logout(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
export * from './lib/core-ux.module';
|
|
2
|
+
export * from './lib/modals/dialog/dialog.component';
|
|
3
|
+
export * from './lib/modals/confirm-modal/confirm-modal.component';
|
|
4
|
+
export * from './lib/modals/validation-modal/validation-modal.component';
|
|
5
|
+
export * from './lib/modals/export-data-modal/export-data-modal.component';
|
|
6
|
+
export * from './lib/modals/track-record-modal/track-record-modal.component';
|
|
7
|
+
export * from './lib/model/model';
|
|
8
|
+
export * from './lib/model/datagrid';
|
|
9
|
+
export * from './lib/pipes/todefine.pipe';
|
|
10
|
+
export * from './lib/pipes/tofixedsizeinteger.pipe';
|
|
11
|
+
export * from './lib/directives/insertion.directive';
|
|
12
|
+
export * from './lib/directives/tab-transclude';
|
|
13
|
+
export * from './lib/directives/draggable.directive';
|
|
14
|
+
export * from './lib/directives/droppable.directive';
|
|
15
|
+
export * from './lib/directives/editMode.directive';
|
|
16
|
+
export * from './lib/directives/viewMode.directive';
|
|
17
|
+
export * from './lib/directives/focusable.directive';
|
|
18
|
+
export * from './lib/directives/onEnter.directive';
|
|
19
|
+
export * from './lib/services/can-deactivate-guard';
|
|
20
|
+
export * from './lib/services/fire-authentication.service';
|
|
21
|
+
export * from './lib/services/modal-state.service';
|
|
22
|
+
export * from './lib/services/alert.service';
|
|
23
|
+
export * from './lib/services/image.service';
|
|
24
|
+
export * from './lib/services/modal.service';
|
|
25
|
+
export * from './lib/services/application.service';
|
|
26
|
+
export * from './lib/services/presentation-profile.token';
|
|
27
|
+
export * from './lib/services/selectorMapperBase.service';
|
|
28
|
+
export * from './lib/services/action.service';
|
|
29
|
+
export * from './lib/components/actions/actions.component';
|
|
30
|
+
export * from './lib/components/actions/actions-content.component';
|
|
31
|
+
export * from './lib/components/base-editor/base-editor.component';
|
|
32
|
+
export * from './lib/components/basefilter/basefilter.component';
|
|
33
|
+
export * from './lib/components/base-item-list/base-item-list.component';
|
|
34
|
+
export * from './lib/components/datagrid-custom/datagrid-custom.component';
|
|
35
|
+
export * from './lib/components/datagrid-custom/datagrid-cell/datagrid-cell.component';
|
|
36
|
+
export * from './lib/components/datagrid-custom/datagrid-sorter.component';
|
|
37
|
+
export * from './lib/components/datapage/old/old.datapage.component';
|
|
38
|
+
export * from './lib/components/datapage/layout-page/page-layout.component';
|
|
39
|
+
export * from './lib/components/validation-error/validation-error.component';
|
|
40
|
+
export * from './lib/components/dynamic-components/dynamic-field/dynamic-field.component';
|
|
41
|
+
export * from './lib/components/dynamic-components/dynamic-filter/dynamic-filter.component';
|
|
42
|
+
export * from './lib/components/dynamic-components/dynamic-filter/dynamic-filter-panel.component';
|
|
43
|
+
export * from './lib/components/dynamic-components/dynamic-filter/dynamic-filter-extra.component';
|
|
44
|
+
export * from './lib/components/dynamic-components/dynamic-form/dynamic-form.component';
|
|
45
|
+
export * from './lib/components/wizard/wizard.component';
|
|
46
|
+
export * from './lib/components/wizard/wizard-step/wizard-step.component';
|
|
47
|
+
export * from './lib/components/filtersummary/filtersummary.component';
|
|
48
|
+
export * from './lib/components/grid-row/grid-row.component';
|
|
49
|
+
export * from './lib/components/input-selector/input-selector.component';
|
|
50
|
+
export * from './lib/components/menu/menu.component';
|
|
51
|
+
export * from './lib/components/search-results/search-results.component';
|
|
52
|
+
export * from './lib/components/menu-dashboard/menu-dashboard.component';
|
|
53
|
+
export * from './lib/components/paginator/paginator.component';
|
|
54
|
+
export * from './lib/components/property-grid/property-grid.component';
|
|
55
|
+
export * from './lib/components/tab/tab.component';
|
|
56
|
+
export * from './lib/components/tabset/tabset.component';
|
|
57
|
+
export * from './lib/components/text-viewer/text-viewer.component';
|
|
58
|
+
export * from './lib/components/logs/logs.component';
|
|
59
|
+
export * from './lib/components/tree/tree.component';
|
|
60
|
+
export * from './lib/layout/default/default-layout';
|
|
61
|
+
export * from './lib/layout/login/login-layout';
|
|
62
|
+
export * from './lib/v2/components/field-descriptor/field.component';
|
|
63
|
+
export * from './lib/v2/components/new-editor/new-editor.component';
|
|
64
|
+
export * from './lib/v2/components/property-editor/property-editor-component';
|
|
65
|
+
export * from './lib/v2/components/base-component/base-component';
|
|
66
|
+
export * from './lib/v2/components/data-grid/data-grid.component';
|
|
67
|
+
export * from './lib/v2/components/data-grid/grid-field-descriptor/grid-field.component';
|
|
68
|
+
export * from './lib/v2/components/standard-page-layout/standard-page-layout.component';
|
|
69
|
+
export * from './lib/v2/components/filter-summary/filter-summary.component';
|
|
70
|
+
export * from './lib/v2/components/data-list/data-list.component';
|
|
71
|
+
export * from './lib/v2/components/cell-renderer/cell-renderer.component';
|
|
72
|
+
export * from './lib/v2/components/editor-tab/editor-tab.component';
|
|
73
|
+
export * from './lib/v2/components/editor-tabset/editor-tabset.component';
|
|
74
|
+
export * from './lib/v2/components/filter-form/filter-form.component';
|
|
75
|
+
export * from './lib/v2/components/selector/selector-registry.service';
|
|
76
|
+
export * from './lib/v2/components/selector/selector.component';
|
|
77
|
+
export * from './lib/v2/components/selector/selector.model';
|
|
78
|
+
export * from './lib/v2/directives/layout-handler.directive';
|
|
79
|
+
export * from './lib/v2/directives/hide-on-threshold.directive';
|
|
80
|
+
export * from './lib/v2/directives/row-ref.directive';
|
|
81
|
+
export * from './lib/v2/directives/base-shortcut.directive';
|
|
82
|
+
export * from './lib/v2/pipes/gridstyle.pipe';
|
|
83
|
+
export * from './lib/v2/services/app-config.service';
|
|
84
|
+
export * from './lib/v2/services/selection.service';
|
|
85
|
+
export * from './lib/v2/services/validation.service';
|
|
86
|
+
export * from './lib/v2/services/view-model-loader.service';
|
|
87
|
+
export * from './lib/v2/services/entity-facade-registry.service';
|
|
88
|
+
export * from './lib/v2/services/test.service';
|
|
89
|
+
export * from './lib/v2/services/facade-modal.service';
|
|
90
|
+
export * from './lib/v2/services/property-change-bus.service';
|
|
91
|
+
export * from './lib/v2/services/layout.service';
|
|
92
|
+
export * from './lib/v2/models/entity-facade';
|
|
93
|
+
export * from './lib/v2/models/guards/facade-load-guard';
|
|
94
|
+
export * from './lib/v2/models/guards/filter-lifecycle-guard';
|
|
95
|
+
export * from './lib/v2/models/aggregation-model';
|
|
96
|
+
export * from './lib/v2/models/contexts/selection-context';
|
|
97
|
+
export * from './lib/v2/models/contexts/entity-config-context';
|
|
98
|
+
export * from './lib/v2/models/contexts/change-detection-context';
|
|
99
|
+
export * from './lib/v2/models/contexts/data-context';
|
|
100
|
+
export * from './lib/v2/models/contexts/filter-context';
|
|
101
|
+
export * from './lib/v2/models/contexts/editor-context';
|
|
102
|
+
export * from './lib/v2/models/contexts/data-grid-style-context';
|
|
103
|
+
export * from './lib/v2/models/contexts/action-context';
|
|
104
|
+
export * from './lib/v2/models/contexts/action-handler-context';
|
|
105
|
+
export * from './lib/v2/models/contexts/layout-context';
|
|
106
|
+
export * from './lib/v2/models/contexts/section-context';
|
|
107
|
+
export * from './lib/v2/models/contexts/base-form-context';
|
|
108
|
+
export * from './lib/v2/models/states/sorting-state';
|
|
109
|
+
export * from './lib/v2/models/utilities/action-definition';
|
|
110
|
+
export * from './lib/v2/models/utilities/selection-styler';
|
|
111
|
+
export * from './lib/v2/models/utilities/row-registry';
|
|
112
|
+
export * from './lib/v2/models/utilities/change-utilities';
|
|
113
|
+
export * from './lib/v2/models/utilities/entity-updater';
|
|
114
|
+
export * from './lib/v2/models/utilities/form-wrapper';
|
|
115
|
+
export * from './lib/v2/components/orderable/orderable.interface';
|
|
116
|
+
export * from './lib/v2/components/orderable/orderable-modal.component';
|
|
117
|
+
export * from './lib/v2/components/orderable/orderable-modal.service';
|
|
118
|
+
export * from './lib/components/actions/extended-action/extended-action.component';
|
|
119
|
+
export * from './lib/components/breadcrumb/breadcrumb.component';
|
|
120
|
+
export * from './lib/components/datapage/old-layout-handler.directive';
|
|
121
|
+
export * from './lib/components/form-password/form-password.component';
|
|
122
|
+
export * from './lib/components/image-display/image.component';
|
|
123
|
+
export * from './lib/components/input-tree-selector/input-tree-selector.component';
|
|
124
|
+
export * from './lib/components/parameter-field/parameter-field.component';
|
|
125
|
+
export * from './lib/components/parameter-field/parameter-types/base-array-parameter-type.component';
|
|
126
|
+
export * from './lib/components/parameter-field/parameter-types/base-parameter-type.component';
|
|
127
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-bool-array/parameter-type-bool-array.component';
|
|
128
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-bool/parameter-type-bool.component';
|
|
129
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-date-array/parameter-type-date-array.component';
|
|
130
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-date/parameter-type-date.component';
|
|
131
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-number-array/parameter-type-number-array.component';
|
|
132
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-number/parameter-type-number.component';
|
|
133
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-password/parameter-type-password.component';
|
|
134
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-text-array/parameter-type-text-array.component';
|
|
135
|
+
export * from './lib/components/parameter-field/parameter-types/parameter-type-text/parameter-type-text.component';
|
|
136
|
+
export * from './lib/components/time-picker/time-picker.component';
|
|
137
|
+
export * from './lib/directives/addclass.directive';
|
|
138
|
+
export * from './lib/directives/collapse.directive';
|
|
139
|
+
export * from './lib/directives/tab-heading';
|
|
140
|
+
export * from './lib/directives/tooltip.directive';
|
|
141
|
+
export * from './lib/directives/validate-on-enter.directive';
|
|
142
|
+
export * from './lib/v2/components/actions-panel/action-panel.component';
|
|
143
|
+
export * from './lib/v2/components/new-paginator/new-paginator.component';
|
|
144
|
+
export * from './lib/modals/dialog-component.tokens';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { ViewModeDirective } from '../../directives/viewMode.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ActionsContentComponent {
|
|
5
|
+
view: ViewModeDirective;
|
|
6
|
+
constructor();
|
|
7
|
+
get template(): TemplateRef<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsContentComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsContentComponent, "actions-content", never, {}, {}, ["view"], ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FieldEvent } from '@dflat-core/web/core-model';
|
|
2
|
+
import { AuthService } from '@dflat-core/web/core-services';
|
|
3
|
+
import { EventEmitter, NgZone, OnDestroy, OnInit } from '@angular/core';
|
|
4
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
5
|
+
import { Action, IActionComponent } from '../../model/model';
|
|
6
|
+
import { ActionService } from '../../services/action.service';
|
|
7
|
+
import { LayoutService } from '../../v2/services/layout.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ActionsComponent implements OnInit, OnDestroy {
|
|
10
|
+
private authSevice;
|
|
11
|
+
private zone;
|
|
12
|
+
private actionService;
|
|
13
|
+
private layoutHandlerService;
|
|
14
|
+
searchText: string;
|
|
15
|
+
actions: Action[];
|
|
16
|
+
selectedData: any[];
|
|
17
|
+
proxy: IActionComponent;
|
|
18
|
+
showTitle: boolean;
|
|
19
|
+
title: string;
|
|
20
|
+
showFilterButton: boolean;
|
|
21
|
+
showSearchButton: boolean;
|
|
22
|
+
showPaginator: boolean;
|
|
23
|
+
showSpecificFilter: boolean;
|
|
24
|
+
showSearchBar: boolean;
|
|
25
|
+
entityKey: string;
|
|
26
|
+
_specificFilters: Array<FieldEvent>;
|
|
27
|
+
set specificFilters(filters: Array<FieldEvent>);
|
|
28
|
+
get specificFilters(): Array<FieldEvent>;
|
|
29
|
+
showStatus: boolean;
|
|
30
|
+
statusMessageColor: string;
|
|
31
|
+
statusMessage: string;
|
|
32
|
+
statusImageUrl: string;
|
|
33
|
+
specificFilterChanged: EventEmitter<any>;
|
|
34
|
+
callSpecificFilterChanged(event: any): void;
|
|
35
|
+
form: UntypedFormGroup;
|
|
36
|
+
keyword: string;
|
|
37
|
+
private keywordChanged;
|
|
38
|
+
private subscription;
|
|
39
|
+
private isLoadingSubscription;
|
|
40
|
+
private debounceTime;
|
|
41
|
+
handleKeywordsChanged(event: any): void;
|
|
42
|
+
constructor(authSevice: AuthService, zone: NgZone, actionService: ActionService, layoutHandlerService: LayoutService);
|
|
43
|
+
toggleLayout(): void;
|
|
44
|
+
enableActions(): boolean;
|
|
45
|
+
isVerticalLayout: boolean;
|
|
46
|
+
private _layoutSubscription;
|
|
47
|
+
ngOnDestroy(): void;
|
|
48
|
+
ngAfterViewInit(): void;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
hasPermission(permission: string): boolean;
|
|
51
|
+
canExecute(a: Action): boolean;
|
|
52
|
+
refreshActions(): void;
|
|
53
|
+
getImageUrl(icon: string): string;
|
|
54
|
+
executeAction(a: Action): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionsComponent, "alg-actions", never, { "searchText": { "alias": "searchText"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "selectedData": { "alias": "selectedData"; "required": false; }; "proxy": { "alias": "proxy"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showFilterButton": { "alias": "showFilterButton"; "required": false; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "showSpecificFilter": { "alias": "showSpecificFilter"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; "entityKey": { "alias": "entityKey"; "required": false; }; "specificFilters": { "alias": "specificFilters"; "required": false; }; "showStatus": { "alias": "showStatus"; "required": false; }; "statusMessageColor": { "alias": "statusMessageColor"; "required": false; }; "statusMessage": { "alias": "statusMessage"; "required": false; }; "statusImageUrl": { "alias": "statusImageUrl"; "required": false; }; }, { "specificFilterChanged": "specificFilterChanged"; }, never, ["[actions-content]"], false, never>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FilterDescriptor, PropertyEditorEvent, RunActionContext } from '@dflat-core/web/core-model';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { IIsCancel } from '../../../model/model';
|
|
5
|
+
import type { LogsComponent } from '../../logs/logs.component';
|
|
6
|
+
import { PropertyChangeBus } from '../../../v2/services/property-change-bus.service';
|
|
7
|
+
import { ValidationService } from '../../../v2/services/validation.service';
|
|
8
|
+
import { FormWrapper } from '../../../v2/models/utilities/form-wrapper';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ExtendedActionComponent implements OnInit, IIsCancel, OnDestroy {
|
|
11
|
+
private bus;
|
|
12
|
+
private validationService;
|
|
13
|
+
isCancel?: boolean;
|
|
14
|
+
isContextLoaded?: boolean;
|
|
15
|
+
displayLogTab: boolean;
|
|
16
|
+
logs: any[];
|
|
17
|
+
RunContext: RunActionContext;
|
|
18
|
+
logsComponent: LogsComponent;
|
|
19
|
+
get Fields(): FilterDescriptor[];
|
|
20
|
+
constructor(bus: PropertyChangeBus, validationService: ValidationService);
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
wrapper: FormWrapper;
|
|
23
|
+
private destroy$;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
isFormValid$: BehaviorSubject<boolean>;
|
|
26
|
+
onPropertyChanged(event: PropertyEditorEvent): void;
|
|
27
|
+
onDropZone(event: any): void;
|
|
28
|
+
downloadLogs(): void;
|
|
29
|
+
displayLogs(): void;
|
|
30
|
+
clearLogs(): void;
|
|
31
|
+
scrollToBottom(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExtendedActionComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExtendedActionComponent, "alg-ext-action", never, { "RunContext": { "alias": "RunContext"; "required": false; }; }, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { EntityViewModel, EntityViewModelWithFields, ExtendedProperty, Notification, SpecificSection } from '@dflat-core/web/core-model';
|
|
2
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, Type } from '@angular/core';
|
|
3
|
+
import { ActivatedRoute } from '@angular/router';
|
|
4
|
+
import { Observable, Subject, Subscription } from 'rxjs';
|
|
5
|
+
import { Action, FieldDescriptorWithValue, IActionComponent, IIsCancel, DflatBaseComponent } from '../../model/model';
|
|
6
|
+
import { ApplicationService } from '../../services/application.service';
|
|
7
|
+
import type { DynamicFormComponent } from '../dynamic-components/dynamic-form/dynamic-form.component';
|
|
8
|
+
import type { PropertyGridComponent } from '../property-grid/property-grid.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export interface BaseEditorInfo {
|
|
11
|
+
baseIcon: string;
|
|
12
|
+
editIcon: string;
|
|
13
|
+
singularLabel: string;
|
|
14
|
+
pluralLabel: string;
|
|
15
|
+
}
|
|
16
|
+
export declare abstract class BaseEditorComponent<TData extends EntityViewModel> extends DflatBaseComponent implements OnInit, OnDestroy, OnChanges, IIsCancel, IActionComponent {
|
|
17
|
+
protected app: ApplicationService;
|
|
18
|
+
protected route: ActivatedRoute;
|
|
19
|
+
specificSections: SpecificSection[];
|
|
20
|
+
isCancel: boolean;
|
|
21
|
+
saveButtonLabel: string;
|
|
22
|
+
getEntityKey(): string;
|
|
23
|
+
getTitle(withId: boolean): string;
|
|
24
|
+
getPath(withId: boolean): string;
|
|
25
|
+
getIcon(): string;
|
|
26
|
+
loadOnInit: boolean;
|
|
27
|
+
loadEntityViewModelOnInit: boolean;
|
|
28
|
+
enableNavigationHandler: boolean;
|
|
29
|
+
id: any;
|
|
30
|
+
entityViewModel: EntityViewModelWithFields<TData>;
|
|
31
|
+
protected routeChangedSubscription: Subscription;
|
|
32
|
+
notif: Subscription;
|
|
33
|
+
isModal: boolean;
|
|
34
|
+
viewModel: any;
|
|
35
|
+
showButtons: boolean;
|
|
36
|
+
dynamicFrm: DynamicFormComponent;
|
|
37
|
+
propertyGridComponent: PropertyGridComponent<TData>;
|
|
38
|
+
extendedPropertiesLoaded: EventEmitter<any>;
|
|
39
|
+
onClosedDialog: Subject<BaseEditorComponent<TData>>;
|
|
40
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
41
|
+
actions: Action[];
|
|
42
|
+
handleActionSearchKeywords(keyword: string): void;
|
|
43
|
+
toggleFilterView(): void;
|
|
44
|
+
refresh(): void;
|
|
45
|
+
showHistory(): void;
|
|
46
|
+
onTextZoneButtonClicked(event: any): void;
|
|
47
|
+
initBreadCrumb(data: any): void;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
subscribeEntityNotification(): void;
|
|
51
|
+
unsubscribeEntityNotification(): void;
|
|
52
|
+
onNotificationHandled(notif: Notification): void;
|
|
53
|
+
/**
|
|
54
|
+
* fonction "async" liant le front(Angular) et le back(C#)
|
|
55
|
+
|
|
56
|
+
* - Elle est appelée lorsque l'on cherche à afficher un Objet de type "EntityViewModel", dans le but de l'éditer (via 'Ajouter'-'Editer')
|
|
57
|
+
* - Elle va s'abonner à l'observable renvoyé par la fonction {@link DataService.getEntityViewModel<TData>(entityKey, id)}
|
|
58
|
+
* - qu'elle appel avec les paramettres {@link this.EntityKey"} et {@link this.id"} de sa classe {@link BaseEditorComponent}.
|
|
59
|
+
* - Elle crée avec ce retour un {@link BaseEditorComponent} dans lequel elle stock toutes les données de l'observable
|
|
60
|
+
*
|
|
61
|
+
* @async
|
|
62
|
+
* @method loadEntityViewModel()
|
|
63
|
+
* @param
|
|
64
|
+
* @return
|
|
65
|
+
* @memberof BaseEditorComponent<TData>
|
|
66
|
+
* @summary Demande les données d'une entité au back(C#) à travers "getEntityViewModel".
|
|
67
|
+
* @see {@link src.app.dataService.getEntityViewModel<TData>(entityKey: string, id: number): Observable<EntityViewModelWithFields<TData>>} for more information
|
|
68
|
+
* @throws
|
|
69
|
+
*/
|
|
70
|
+
loadEntityViewModel(): void;
|
|
71
|
+
loadExtendedProperties(ids: number[]): Observable<ExtendedProperty[]>;
|
|
72
|
+
loadViewModel(): Observable<EntityViewModelWithFields<TData>>;
|
|
73
|
+
getFormattedValue(p: ExtendedProperty): any;
|
|
74
|
+
additionalInit(): void;
|
|
75
|
+
OnLoadingComplete(entity: EntityViewModelWithFields<TData>): void;
|
|
76
|
+
forceSaveButton: boolean;
|
|
77
|
+
dirty: boolean;
|
|
78
|
+
handleOriginalEntityChanged($event: any): void;
|
|
79
|
+
propertyChanged(field: FieldDescriptorWithValue): void;
|
|
80
|
+
onSave(quit: boolean): void;
|
|
81
|
+
handleDialogButtonClick(quit: boolean): void;
|
|
82
|
+
save(entity: any): void;
|
|
83
|
+
onCancel(): void;
|
|
84
|
+
goBack(): void;
|
|
85
|
+
callBackAction: ((component: IIsCancel) => void);
|
|
86
|
+
afterSave(): void;
|
|
87
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
88
|
+
getFormRaw(): TData;
|
|
89
|
+
isDirty(): boolean;
|
|
90
|
+
getSpecificSectionContext(name: string, templateType: Type<any>, context?: any, filter?: any): SpecificSection;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseEditorComponent<any>, never>;
|
|
92
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseEditorComponent<any>, never, never, { "saveButtonLabel": { "alias": "saveButtonLabel"; "required": false; }; "isModal": { "alias": "isModal"; "required": false; }; "viewModel": { "alias": "viewModel"; "required": false; }; "showButtons": { "alias": "showButtons"; "required": false; }; }, {}, never, never, true, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EntityViewModel, FilterViewModel, PagedList } from '@dflat-core/web/core-model';
|
|
2
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { DflatBaseFilterComponent } from '../basefilter/basefilter.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class BaseItemListComponent<TFilter extends FilterViewModel, TData extends EntityViewModel> implements OnInit, OnDestroy {
|
|
7
|
+
multiselect: boolean;
|
|
8
|
+
afterLoadData(result: PagedList<TData>): void;
|
|
9
|
+
subscription: Subscription;
|
|
10
|
+
get isDefined(): boolean;
|
|
11
|
+
_proxy: DflatBaseFilterComponent<TFilter, TData>;
|
|
12
|
+
get proxy(): DflatBaseFilterComponent<TFilter, TData>;
|
|
13
|
+
set proxy(value: DflatBaseFilterComponent<TFilter, TData>);
|
|
14
|
+
constructor();
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
afterProxyInit(): void;
|
|
18
|
+
onItemClick($event: any, item: TData): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseItemListComponent<any, any>, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseItemListComponent<any, any>, "alg-base-item-list", never, { "multiselect": { "alias": "multiselect"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|