@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,91 @@
|
|
|
1
|
+
@import "./bootswatch.scss";
|
|
2
|
+
|
|
3
|
+
$header_height: 50px;
|
|
4
|
+
$footer_height: 30px;
|
|
5
|
+
$sidebar_width: 230px;
|
|
6
|
+
|
|
7
|
+
$main_bg_color: #4465C9;
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// $header_height: 70px;
|
|
13
|
+
$footer_height: 30px;
|
|
14
|
+
// $sidebar_width: 480px;
|
|
15
|
+
|
|
16
|
+
$mobile-screen: 480px;
|
|
17
|
+
$small-screen: 768px;
|
|
18
|
+
$large-screen: 980px;
|
|
19
|
+
$wide-screen: 1200px;
|
|
20
|
+
|
|
21
|
+
// Thème de couleurs Elnour
|
|
22
|
+
$old-main: #FC9930;
|
|
23
|
+
$main: #FC9324;
|
|
24
|
+
$main-hover: #F97803; // à voir
|
|
25
|
+
$main-opacity: #F3E0CB;
|
|
26
|
+
|
|
27
|
+
// $primary: #24BE9f;
|
|
28
|
+
|
|
29
|
+
$black_text: #272C5D;
|
|
30
|
+
$black_text_light: #535353;
|
|
31
|
+
$grey_text_light: #888888;
|
|
32
|
+
$grey-border: #707070;
|
|
33
|
+
$light-grey-border: #c3c3c3;
|
|
34
|
+
$placeholder: #c3c3c3;
|
|
35
|
+
|
|
36
|
+
$warning: #ffa500;
|
|
37
|
+
|
|
38
|
+
// SVG Filters
|
|
39
|
+
// See: https://codepen.io/sosuke/pen/Pjoqqp
|
|
40
|
+
$main-svg-filter: invert(60%) sepia(99%) saturate(501%) hue-rotate(336deg) brightness(102%) contrast(98%);
|
|
41
|
+
$primary-svg-filter: invert(67%) sepia(51%) saturate(566%) hue-rotate(117deg) brightness(82%) contrast(95%);
|
|
42
|
+
$sidebar-back-active-filter: invert(11%) sepia(6%) saturate(2516%) hue-rotate(152deg) brightness(91%) contrast(88%);
|
|
43
|
+
$white-filter: invert(100%) sepia(100%) saturate(18%) hue-rotate(251deg) brightness(104%) contrast(104%);
|
|
44
|
+
$black-filter: invert(0%) sepia(76%) saturate(20%) hue-rotate(294deg) brightness(105%) contrast(104%);
|
|
45
|
+
$black_text_filter: invert(17%) sepia(8%) saturate(6702%) hue-rotate(203deg) brightness(91%) contrast(93%);
|
|
46
|
+
$black_text_light_filter: invert(33%) sepia(9%) saturate(15%) hue-rotate(336deg) brightness(90%) contrast(88%);
|
|
47
|
+
$primary-hover-filter: invert(43%) sepia(97%) saturate(1264%) hue-rotate(133deg) brightness(101%) contrast(94%);
|
|
48
|
+
$darkgrey-filter:invert(70%) sepia(0%) saturate(3789%) hue-rotate(32deg) brightness(91%) contrast(108%);
|
|
49
|
+
$red-filter: invert(23%) sepia(96%) saturate(5276%) hue-rotate(354deg) brightness(104%) contrast(127%);
|
|
50
|
+
$grey_text_light_filter: invert(62%) sepia(2%) saturate(0%) hue-rotate(356deg) brightness(87%) contrast(88%);
|
|
51
|
+
$darkgrey: #a5a5a5;
|
|
52
|
+
$darkgrey-2: #d5d5d5;
|
|
53
|
+
$darkgrey-3: #d6d6d6;
|
|
54
|
+
|
|
55
|
+
$form-grey: #fafafa;
|
|
56
|
+
$grey: whitesmoke;
|
|
57
|
+
$lightgrey: #f1f3f4;
|
|
58
|
+
$disabled-grey-back: #E6E5E5;
|
|
59
|
+
$disabled-grey-front: #bababa;
|
|
60
|
+
|
|
61
|
+
$action-button-grey: #e6e6e6;
|
|
62
|
+
$action-separator-grey: #e5e5e5;
|
|
63
|
+
|
|
64
|
+
$action-button-grey-hover : #f6f6f6;
|
|
65
|
+
|
|
66
|
+
$background-grey: #f5f5f5;
|
|
67
|
+
$lightblue: #00C6F7;
|
|
68
|
+
$white: #ffffff;
|
|
69
|
+
|
|
70
|
+
$red-error: #da2128;
|
|
71
|
+
$violet: #663999;
|
|
72
|
+
// $algorima-blue: #2C52C9;
|
|
73
|
+
$algorima-blue: #0A66C2;
|
|
74
|
+
$job-offer-color: rgba(39,44,93,1);
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
// $main-svg-filter: invert(24%) sepia(83%) saturate(1788%) hue-rotate(212deg) brightness(96%) contrast(90%);
|
|
80
|
+
// $primary-svg-filter: invert(67%) sepia(51%) saturate(566%) hue-rotate(117deg) brightness(82%) contrast(95%);
|
|
81
|
+
// $sidebar-back-active-filter: invert(11%) sepia(6%) saturate(2516%) hue-rotate(152deg) brightness(91%) contrast(88%);
|
|
82
|
+
// $white-filter: invert(100%) sepia(100%) saturate(18%) hue-rotate(251deg) brightness(104%) contrast(104%);
|
|
83
|
+
// $black-filter: invert(0%) sepia(76%) saturate(20%) hue-rotate(294deg) brightness(105%) contrast(104%);
|
|
84
|
+
// $black_text_filter: invert(17%) sepia(8%) saturate(6702%) hue-rotate(203deg) brightness(91%) contrast(93%);
|
|
85
|
+
// $black_text_light_filter: invert(33%) sepia(9%) saturate(15%) hue-rotate(336deg) brightness(90%) contrast(88%);
|
|
86
|
+
// $primary-hover-filter: invert(43%) sepia(97%) saturate(1264%) hue-rotate(133deg) brightness(101%) contrast(94%);
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
package/core/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './lib/core.module';
|
|
2
|
+
export * from './lib/services/utilities.service';
|
|
3
|
+
export * from './lib/services/ensuremoduleloadedonceguard';
|
|
4
|
+
export * from './lib/nameof.function';
|
|
5
|
+
export * from './lib/array.function';
|
|
6
|
+
export * from './lib/global/EnvironmentBase';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function groupBy<TItem>(xs: TItem[], key: Extract<keyof TItem, string>): {
|
|
2
|
+
[key: string]: TItem[];
|
|
3
|
+
};
|
|
4
|
+
export declare function groupByFunc<TItem, TKey>(xs: TItem[], func: ((i: TItem) => string)): {
|
|
5
|
+
[key: string]: TItem[];
|
|
6
|
+
};
|
|
7
|
+
export declare function sumOf<TItem>(xs: TItem[], func: ((i: TItem) => number)): number;
|
|
8
|
+
export declare function distinct(array: (number | string)[]): (number | string)[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EnsureModuleLoadedOnceGuard } from './services/ensuremoduleloadedonceguard';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
export declare class CoreModule extends EnsureModuleLoadedOnceGuard {
|
|
5
|
+
constructor(parentModule: CoreModule);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, [{ optional: true; skipSelf: true; }]>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, never, [typeof i1.CommonModule], never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { HttpResponse, HttpResponseBase } from '@angular/common/http';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const isArray: (x: any) => boolean;
|
|
4
|
+
export declare function isNumeric(val: any): boolean;
|
|
5
|
+
export declare function sleep(ms: any): Promise<unknown>;
|
|
6
|
+
export declare class Utilities {
|
|
7
|
+
static delay(arg0: number): void;
|
|
8
|
+
static readonly captionAndMessageSeparator = ":";
|
|
9
|
+
static readonly noNetworkMessageCaption = "No Network";
|
|
10
|
+
static readonly noNetworkMessageDetail = "The server cannot be reached";
|
|
11
|
+
static readonly accessDeniedMessageCaption = "Access Denied!";
|
|
12
|
+
static readonly accessDeniedMessageDetail = "";
|
|
13
|
+
static getHttpResponseMessage(data: HttpResponseBase | any): string[];
|
|
14
|
+
static findHttpResponseMessage(messageToFind: string, data: HttpResponse<any> | any, seachInCaptionOnly?: boolean, includeCaptionInResult?: boolean): string;
|
|
15
|
+
static getResponseBody(response: HttpResponseBase): any;
|
|
16
|
+
static checkNoNetwork(response: HttpResponseBase): boolean;
|
|
17
|
+
static checkAccessDenied(response: HttpResponseBase): boolean;
|
|
18
|
+
static checkNotFound(response: HttpResponseBase): boolean;
|
|
19
|
+
static checkIsLocalHost(url: string, base?: string): boolean;
|
|
20
|
+
static getQueryParamsFromString(paramString: string): {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
static splitInTwo(text: string, separator: string): {
|
|
24
|
+
firstPart: string;
|
|
25
|
+
secondPart: string;
|
|
26
|
+
};
|
|
27
|
+
static safeStringify(object: any): string;
|
|
28
|
+
static JSonTryParse(value: string): any;
|
|
29
|
+
static isNonEmptyString(str: string): boolean;
|
|
30
|
+
static isEmptyString(str: string): boolean;
|
|
31
|
+
static areValuesEqual(a: any, b: any): boolean;
|
|
32
|
+
static TestIsObjectEmpty(obj: any): boolean;
|
|
33
|
+
static IsUndefined(value: any): value is undefined;
|
|
34
|
+
static IsNil(value: any): boolean;
|
|
35
|
+
static TestIsString(value: any): value is string | String;
|
|
36
|
+
static capitalizeFirstLetter(text: string): string;
|
|
37
|
+
static toTitleCase(text: string): string;
|
|
38
|
+
static toLowerCase(items: string): any;
|
|
39
|
+
static toLowerCase(items: string[]): any;
|
|
40
|
+
static uniqueId(): string;
|
|
41
|
+
static randomNumber(min: number, max: number): number;
|
|
42
|
+
static baseUrl(): string;
|
|
43
|
+
static printDateOnly(date: Date): string;
|
|
44
|
+
static printTimeOnly(date: Date): string;
|
|
45
|
+
static printDate(date: Date, separator?: string): string;
|
|
46
|
+
static printFriendlyDate(date: Date, separator?: string): string;
|
|
47
|
+
static printShortDate(date: Date, separator?: string, dateTimeSeparator?: string): string;
|
|
48
|
+
static parseDate(date: any): Date;
|
|
49
|
+
static Format2Digits(n: any): string;
|
|
50
|
+
static printDuration(start: Date, end: Date): string;
|
|
51
|
+
static getAge(birthDate: any, otherDate: any): number;
|
|
52
|
+
static isDateAEarlierThanDateB(dateA: Date, dateB: Date): boolean;
|
|
53
|
+
static searchArray(searchTerm: string, caseSensitive: boolean, ...values: any[]): boolean;
|
|
54
|
+
static moveArrayItem(array: any[], oldIndex: any, newIndex: any): void;
|
|
55
|
+
static expandCamelCase(text: string): string;
|
|
56
|
+
static testIsAbsoluteUrl(url: string): boolean;
|
|
57
|
+
static convertToAbsoluteUrl(url: string): string;
|
|
58
|
+
static removeNulls(obj: any): any;
|
|
59
|
+
static debounce(func: (...args: any[]) => any, wait: number, immediate?: boolean): () => void;
|
|
60
|
+
static cookies: {
|
|
61
|
+
getItem: (sKey: any) => string;
|
|
62
|
+
setItem: (sKey: any, sValue: any, vEnd: any, sPath: any, sDomain: any, bSecure: any) => boolean;
|
|
63
|
+
removeItem: (sKey: any, sPath: any, sDomain: any) => boolean;
|
|
64
|
+
hasItem: (sKey: any) => boolean;
|
|
65
|
+
keys: () => string[];
|
|
66
|
+
};
|
|
67
|
+
static isNumber(field: any): field is number | Number;
|
|
68
|
+
static changeName(item: any): string;
|
|
69
|
+
static transform<T>(value: T, args?: any[]): {
|
|
70
|
+
key: keyof T;
|
|
71
|
+
value: any;
|
|
72
|
+
}[];
|
|
73
|
+
static GetChannel(entityTypeKey: string): string;
|
|
74
|
+
static getProp<T, K extends keyof T>(object: T, property: K): T[K];
|
|
75
|
+
/**
|
|
76
|
+
* static getCustomDvalue: stringate
|
|
77
|
+
*/
|
|
78
|
+
static getCustomDate(value: string): Date;
|
|
79
|
+
static isLowerThan(value1: string | Date, value2: string | Date): boolean;
|
|
80
|
+
static getLogClass(log: string): "" | "log-info" | "log-data" | "log-error" | "log-warning";
|
|
81
|
+
static deepCopy(obj: any): any;
|
|
82
|
+
static getCleanNumber(initial: string): number;
|
|
83
|
+
static addDays(date: Date, days: number): Date;
|
|
84
|
+
static getFormattedParams(params: any): any;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Utilities, never>;
|
|
86
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Utilities>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
export declare class CoreDataModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreDataModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreDataModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CoreDataModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EnvironmentBase } from '@dflat-core/web/core';
|
|
2
|
+
import { ActionDescriptor, ColumnDescriptor, EntityViewModelWithFields, EntityWithSpecifics, ExtendedProperty, FilterDescriptor, PagedList, SaveResult, SaveResults, TrackRecordProperty } from '@dflat-core/web/core-model';
|
|
3
|
+
import { HeadersService } from '@dflat-core/web/core-services';
|
|
4
|
+
import { HttpClient, HttpParams, HttpResponse } from '@angular/common/http';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DataService {
|
|
8
|
+
private env;
|
|
9
|
+
private headerService;
|
|
10
|
+
baseUrl: string;
|
|
11
|
+
httpClient: HttpClient;
|
|
12
|
+
data: any[];
|
|
13
|
+
constructor(env: EnvironmentBase, httpClient: HttpClient, headerService: HeadersService);
|
|
14
|
+
getFormattedParams(params: any): any;
|
|
15
|
+
getUrlQueryParams(filter: any): HttpParams;
|
|
16
|
+
getViewFilterDescriptors(entityKey: string): Observable<FilterDescriptor[]>;
|
|
17
|
+
getViewColumns(entityKey: string): Observable<ColumnDescriptor[]>;
|
|
18
|
+
search<TData>(entityKey: string, filter: any): Observable<PagedList<TData>>;
|
|
19
|
+
getDetails<TData>(entityKey: string, id: number): Observable<TData>;
|
|
20
|
+
getEmptyFilter<T>(entityKey: string): Observable<T>;
|
|
21
|
+
/**
|
|
22
|
+
* fonction "async" liant le front(Angular) et le back(C#)
|
|
23
|
+
* - Principalement appelée par "src.app.core.layout.BaseEditorComponent.loadEntityViewModel()" lorsque l'on cherche à afficher un Objet de type "EntityViewModel"
|
|
24
|
+
* - C'est elle qui lance l'appel à la fonction "back" BaseFilterController.GetEntityViewModel<TData>(id).
|
|
25
|
+
* - Puis elle crée un observable avec la réponse qu'elle obtient du "back"
|
|
26
|
+
*
|
|
27
|
+
* @async
|
|
28
|
+
* @function
|
|
29
|
+
* @name getEntityViewModel<TData>
|
|
30
|
+
* @param {string} entityKey
|
|
31
|
+
* @param {number} id
|
|
32
|
+
* @returns {(Observable)EntityViewModelWithFields<TData>}
|
|
33
|
+
* @memberof DataService
|
|
34
|
+
* @summary Demande les données d'une entité au back(C#) à travers "getEntityViewModel".
|
|
35
|
+
* @see {@link src.app.core.layout.BaseEditorComponent.loadEntityViewModel()} for more information
|
|
36
|
+
* @throws new Error("The parameter 'id' must be defined and cannot be null.") if (id === undefined ou id === null)
|
|
37
|
+
*/
|
|
38
|
+
getEntityViewModel<TData>(entityKey: string, id: number): Observable<EntityViewModelWithFields<TData>>;
|
|
39
|
+
getExtendedProperties(entityKey: string, entityIds: number[]): Observable<ExtendedProperty[]>;
|
|
40
|
+
getExtendedActions(entityKey: string): Observable<ActionDescriptor[]>;
|
|
41
|
+
getTrackRecordProperties(entityKey: string, entityIds: number[]): Observable<TrackRecordProperty[]>;
|
|
42
|
+
saveEntity<TData>(entityKey: string, entity: TData): Observable<SaveResult>;
|
|
43
|
+
deleteEntity<TData>(entityKey: string, entity: TData): Observable<SaveResult>;
|
|
44
|
+
deleteEntities<TData>(entityKey: string, entities: TData[]): Observable<SaveResults<TData>>;
|
|
45
|
+
saveEntities<TData>(entityKey: string, entities: TData[]): Observable<SaveResults<TData>>;
|
|
46
|
+
SaveEntityWithSpecifics<TData>(entityKey: string, DataToSave: EntityWithSpecifics<TData>): Observable<{
|
|
47
|
+
success: boolean;
|
|
48
|
+
rowVersion?: Date;
|
|
49
|
+
}>;
|
|
50
|
+
exportAll<TData>(entityKey: string, filter: any): Observable<{
|
|
51
|
+
fileBlob: Blob;
|
|
52
|
+
fileName: string;
|
|
53
|
+
}>;
|
|
54
|
+
exportResults<TData>(entityKey: string, exportModel: any): Observable<{
|
|
55
|
+
fileBlob: Blob;
|
|
56
|
+
fileName: string;
|
|
57
|
+
}>;
|
|
58
|
+
getFileInfo(resp: HttpResponse<Blob>): {
|
|
59
|
+
fileBlob: Blob;
|
|
60
|
+
fileName: string;
|
|
61
|
+
};
|
|
62
|
+
uploadFileToExtract(file: File, inputId: number, correlationId: string): Observable<any>;
|
|
63
|
+
uploadFilesWithParams(files: File[], customParams?: {}, forceMultipleFiles?: boolean): Observable<any>;
|
|
64
|
+
uploadFiles(url: string, files: File[], customParams?: {}, forceMultipleFiles?: boolean): Observable<any>;
|
|
65
|
+
uploadFilesWithEvents(url: string, files: File[], customParams?: {}, forceMultipleFiles?: boolean): Observable<any>;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
67
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ActionDescriptor, ColumnDescriptor, EntityViewModel, EntityViewModelWithFields, EntityWithSpecifics, ExportModel, ExtendedProperty, FilterDescriptor, FilterViewModel, PagedList, SaveResult, SaveResults, TrackRecordProperty } from '@dflat-core/web/core-model';
|
|
2
|
+
import { DataService } from './data-service';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class EntityDataService<TData extends EntityViewModel, TFilter extends FilterViewModel> {
|
|
6
|
+
protected dataService: DataService;
|
|
7
|
+
abstract getEntityKey(): string;
|
|
8
|
+
constructor(dataService: DataService);
|
|
9
|
+
deleteEntities(sources: TData[]): Observable<SaveResults<TData>>;
|
|
10
|
+
deleteEntity(source: TData): Observable<SaveResult>;
|
|
11
|
+
exportAll(filter: TFilter): Observable<{
|
|
12
|
+
fileBlob: Blob;
|
|
13
|
+
fileName: string;
|
|
14
|
+
}>;
|
|
15
|
+
exportResults(model: ExportModel<TFilter>): Observable<{
|
|
16
|
+
fileBlob: Blob;
|
|
17
|
+
fileName: string;
|
|
18
|
+
}>;
|
|
19
|
+
getAlternateEntityViewModel(id: number): Observable<EntityViewModelWithFields<TData>>;
|
|
20
|
+
getCacheManager(): Observable<TData[]>;
|
|
21
|
+
getColumns(): Observable<ColumnDescriptor[]>;
|
|
22
|
+
getDetails(id: number): Observable<TData>;
|
|
23
|
+
getEmptyFilter(): Observable<TFilter>;
|
|
24
|
+
getEntityViewModel(id: number): Observable<EntityViewModelWithFields<TData>>;
|
|
25
|
+
getExtendedActions(): Observable<ActionDescriptor[]>;
|
|
26
|
+
getExtendedProperties(entityIds: number[]): Observable<ExtendedProperty[]>;
|
|
27
|
+
getFilterDescriptors(): Observable<FilterDescriptor[]>;
|
|
28
|
+
getSortColumn(col: string): Observable<string>;
|
|
29
|
+
getTrackRecordProperties(entityIds: number[]): Observable<TrackRecordProperty[]>;
|
|
30
|
+
saveEntities(sources: TData[]): Observable<SaveResults<TData>>;
|
|
31
|
+
saveEntity(source: TData): Observable<SaveResult>;
|
|
32
|
+
saveEntityWithSpecifics(source: EntityWithSpecifics<TData>): Observable<any>;
|
|
33
|
+
search(filter: TFilter): Observable<PagedList<TData>>;
|
|
34
|
+
toggleFavorite(filter: TFilter): Observable<any>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDataService<any, any>, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EntityDataService<any, any>, never, never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
export declare class CoreModelModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CoreModelModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModelModule, never, [typeof i1.CommonModule], never>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CoreModelModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { ComponentRef, TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { ActionDescriptor, ColumnDescriptor, EntityViewModel, EntityViewModelWithFields, FieldDescriptor, FieldValidators, FilterDescriptor, FilterViewModel } from './model/interface.generated';
|
|
3
|
+
export interface IIdentifiable {
|
|
4
|
+
Id?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare class UserUpdatedMessage {
|
|
7
|
+
userKey: string;
|
|
8
|
+
constructor(userKey: string);
|
|
9
|
+
}
|
|
10
|
+
export interface IUserCredential extends IIdentifiable {
|
|
11
|
+
AccessToken: string;
|
|
12
|
+
RefreshToken: string;
|
|
13
|
+
Username?: string;
|
|
14
|
+
FirstName?: string;
|
|
15
|
+
LastName?: string;
|
|
16
|
+
Email?: string;
|
|
17
|
+
IsAdmin?: boolean;
|
|
18
|
+
IsDelivery?: boolean;
|
|
19
|
+
IsPartner?: boolean;
|
|
20
|
+
PhoneNumber?: string;
|
|
21
|
+
IsActive?: boolean;
|
|
22
|
+
IsPartnerActive?: boolean;
|
|
23
|
+
IsDeliveryActive?: boolean;
|
|
24
|
+
Id?: number;
|
|
25
|
+
CompanyId?: number;
|
|
26
|
+
Permissions: string[];
|
|
27
|
+
ProfileImageUrl: string;
|
|
28
|
+
AvatarUrl: string;
|
|
29
|
+
}
|
|
30
|
+
export declare class User implements IUserCredential {
|
|
31
|
+
AccessToken: string;
|
|
32
|
+
RefreshToken: string;
|
|
33
|
+
Username?: string;
|
|
34
|
+
FirstName?: string;
|
|
35
|
+
LastName?: string;
|
|
36
|
+
Email?: string;
|
|
37
|
+
PhoneNumber?: string;
|
|
38
|
+
IsAdmin?: boolean;
|
|
39
|
+
IsDelivery?: boolean;
|
|
40
|
+
IsPartner?: boolean;
|
|
41
|
+
Id?: number;
|
|
42
|
+
CompanyId?: number;
|
|
43
|
+
Permissions: string[];
|
|
44
|
+
ProfileImageUrl: string;
|
|
45
|
+
IsActive?: boolean;
|
|
46
|
+
IsPartnerActive?: boolean;
|
|
47
|
+
IsDeliveryActive?: boolean;
|
|
48
|
+
IsConnected: boolean;
|
|
49
|
+
AvatarUrl: string;
|
|
50
|
+
constructor(data: IUserCredential);
|
|
51
|
+
getName(): string;
|
|
52
|
+
}
|
|
53
|
+
export interface INotification {
|
|
54
|
+
id: string;
|
|
55
|
+
content: string;
|
|
56
|
+
class: string;
|
|
57
|
+
link: string;
|
|
58
|
+
entityType: string;
|
|
59
|
+
entityId?: number;
|
|
60
|
+
}
|
|
61
|
+
export declare class Notification implements INotification {
|
|
62
|
+
id: string;
|
|
63
|
+
content: string;
|
|
64
|
+
class: string;
|
|
65
|
+
link: string;
|
|
66
|
+
entityType: string;
|
|
67
|
+
entityId?: number;
|
|
68
|
+
constructor(data?: Partial<INotification>);
|
|
69
|
+
}
|
|
70
|
+
export declare class ChannelData<T> {
|
|
71
|
+
Channel: string;
|
|
72
|
+
Data: T;
|
|
73
|
+
constructor(channel: string, data: T);
|
|
74
|
+
}
|
|
75
|
+
export declare class IMessage {
|
|
76
|
+
Channel: string;
|
|
77
|
+
Data: any;
|
|
78
|
+
}
|
|
79
|
+
export declare class Message implements IMessage {
|
|
80
|
+
Channel: string;
|
|
81
|
+
Data: any;
|
|
82
|
+
constructor(channel: string, data: any);
|
|
83
|
+
}
|
|
84
|
+
export interface NumberDictionary<T> {
|
|
85
|
+
[Key: number]: T;
|
|
86
|
+
}
|
|
87
|
+
export interface Dictionary<T> {
|
|
88
|
+
[Key: string]: T;
|
|
89
|
+
}
|
|
90
|
+
export declare class NumberDictionnaryWrapper<T> {
|
|
91
|
+
dictionary: NumberDictionary<T>;
|
|
92
|
+
get(key: number): T;
|
|
93
|
+
containsKey(key: number): boolean;
|
|
94
|
+
}
|
|
95
|
+
export declare class DictionnaryWrapper<T> {
|
|
96
|
+
dictionary: Dictionary<T>;
|
|
97
|
+
get(key: string): T;
|
|
98
|
+
containsKey(key: string): boolean;
|
|
99
|
+
getPartKey(key: string): T;
|
|
100
|
+
containsKeyOrPartKey(key: string): boolean;
|
|
101
|
+
getValues(): T[];
|
|
102
|
+
}
|
|
103
|
+
export interface SpecificSection {
|
|
104
|
+
Name?: string;
|
|
105
|
+
IconUrl?: string;
|
|
106
|
+
Template?: Type<any> | TemplateRef<any> | ComponentRef<any> | any;
|
|
107
|
+
Context?: {};
|
|
108
|
+
Data?: any[];
|
|
109
|
+
Component?: any;
|
|
110
|
+
refreshFunction?: () => void;
|
|
111
|
+
}
|
|
112
|
+
export interface SectionError {
|
|
113
|
+
Name?: string;
|
|
114
|
+
FieldValidators?: FieldValidators;
|
|
115
|
+
Errors?: string[];
|
|
116
|
+
}
|
|
117
|
+
export interface IFilterDescriptorExtra {
|
|
118
|
+
Field?: FilterDescriptor;
|
|
119
|
+
DisplayedValue?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface TextZoneButtonEvent {
|
|
122
|
+
Field: FieldDescriptor;
|
|
123
|
+
Value: string;
|
|
124
|
+
}
|
|
125
|
+
export interface FieldEvent {
|
|
126
|
+
Field: FieldDescriptor;
|
|
127
|
+
Event: Event;
|
|
128
|
+
}
|
|
129
|
+
export interface EntityConfig {
|
|
130
|
+
actions: ActionDescriptor[];
|
|
131
|
+
columns: ColumnDescriptor[];
|
|
132
|
+
emptyFilter: FilterViewModel;
|
|
133
|
+
filterDescriptors: FilterDescriptor[];
|
|
134
|
+
viewModel: EntityViewModelWithFields<EntityViewModel>;
|
|
135
|
+
}
|
|
136
|
+
export interface PropertyEditorEvent {
|
|
137
|
+
field: FieldDescriptor;
|
|
138
|
+
value: any;
|
|
139
|
+
type: 'value' | 'pending' | 'file' | 'selector' | 'button' | 'reset';
|
|
140
|
+
}
|