@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,275 @@
|
|
|
1
|
+
import { ActionDescriptor, ColumnDescriptor, DictionnaryWrapper, EntityViewModel, EntityViewModelWithFields, FilterDescriptor, FilterViewModel, Notification, PagedList, SaveResults, SpecificSection } from '@dflat-core/web/core-model';
|
|
2
|
+
import { AfterContentInit, EventEmitter, OnDestroy, OnInit, Type } from '@angular/core';
|
|
3
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
4
|
+
import { SelectionType } from '@swimlane/ngx-datatable';
|
|
5
|
+
import { Subject, Subscription } from 'rxjs';
|
|
6
|
+
import { DatagridOptions, IPaging, ISorting } from '../../model/datagrid';
|
|
7
|
+
import { Action, FieldDescriptorWithValue, IFilterComponent, DflatBaseComponent } from '../../model/model';
|
|
8
|
+
import type { ActionsComponent } from '../actions/actions.component';
|
|
9
|
+
import { DatagridCustomComponent } from '../datagrid-custom/datagrid-custom.component';
|
|
10
|
+
import type { PropertyGridComponent } from '../property-grid/property-grid.component';
|
|
11
|
+
import { ValidationErrorComponent } from '../validation-error/validation-error.component';
|
|
12
|
+
import { ActivatedRoute } from '@angular/router';
|
|
13
|
+
import { ApplicationService } from '../../services/application.service';
|
|
14
|
+
import type { DynamicFilterPanel } from '../dynamic-components/dynamic-filter/dynamic-filter-panel.component';
|
|
15
|
+
import { Guid } from 'guid-typescript';
|
|
16
|
+
import { PageLayoutComponent } from '../datapage/layout-page/page-layout.component';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export declare abstract class DflatBaseFilterComponent<TFilter extends FilterViewModel, TData extends EntityViewModel> extends DflatBaseComponent implements OnInit, OnDestroy, IFilterComponent, AfterContentInit {
|
|
19
|
+
protected app: ApplicationService;
|
|
20
|
+
protected route: ActivatedRoute;
|
|
21
|
+
itemListComponent: any;
|
|
22
|
+
FILE_SECTION: string;
|
|
23
|
+
getEntityKey(): string;
|
|
24
|
+
getTitle(): string;
|
|
25
|
+
getPath(): string;
|
|
26
|
+
getIcon(): string;
|
|
27
|
+
guid: Guid;
|
|
28
|
+
notif: Subscription;
|
|
29
|
+
HasFilter: boolean;
|
|
30
|
+
isLoading: boolean;
|
|
31
|
+
loadDataOnNotification: boolean;
|
|
32
|
+
displayComponent: boolean;
|
|
33
|
+
specificSections: SpecificSection[];
|
|
34
|
+
deleteMessage: string;
|
|
35
|
+
isEditModeEnabled: boolean;
|
|
36
|
+
get EditModeEnabled(): boolean;
|
|
37
|
+
set EditModeEnabled(value: boolean);
|
|
38
|
+
enableLastColumnResize: boolean;
|
|
39
|
+
get EnableLastColumnResize(): boolean;
|
|
40
|
+
set EnableLastColumnResize(value: boolean);
|
|
41
|
+
applyFilterParameters: boolean;
|
|
42
|
+
isMainComponent: boolean;
|
|
43
|
+
rightPanelClass: string;
|
|
44
|
+
actionBarSearchText: string;
|
|
45
|
+
isModal: boolean;
|
|
46
|
+
isPropertyPanelVisible: boolean;
|
|
47
|
+
isFilterPanelVisible: boolean;
|
|
48
|
+
isActionsContentVisible: boolean;
|
|
49
|
+
isFilterSummaryVisible: boolean;
|
|
50
|
+
displayDetail: boolean;
|
|
51
|
+
loadDataOnInit?: boolean;
|
|
52
|
+
showActionTitle: boolean;
|
|
53
|
+
showActionSearchBar: boolean;
|
|
54
|
+
handleActionKeyword: boolean;
|
|
55
|
+
actionTitle: string;
|
|
56
|
+
baseComponentClass: string;
|
|
57
|
+
propertyGridClass: string;
|
|
58
|
+
clearbreadcrumbOnDispose: boolean;
|
|
59
|
+
_selectionType: SelectionType;
|
|
60
|
+
get selectionType(): SelectionType;
|
|
61
|
+
set selectionType(value: SelectionType);
|
|
62
|
+
_datagridOptions: Partial<DatagridOptions>;
|
|
63
|
+
get datagridOptions(): Partial<DatagridOptions>;
|
|
64
|
+
set datagridOptions(value: Partial<DatagridOptions>);
|
|
65
|
+
onSearch: EventEmitter<any>;
|
|
66
|
+
onSelect: EventEmitter<TData[]>;
|
|
67
|
+
onModified: EventEmitter<boolean>;
|
|
68
|
+
onActionSearchKeyword: EventEmitter<string>;
|
|
69
|
+
filterDescriptors: FilterDescriptor[];
|
|
70
|
+
get FilterDescriptors(): FilterDescriptor[];
|
|
71
|
+
set FilterDescriptors(value: FilterDescriptor[]);
|
|
72
|
+
filter: TFilter;
|
|
73
|
+
get Filter(): TFilter;
|
|
74
|
+
set Filter(value: TFilter);
|
|
75
|
+
defaultFilter: TFilter;
|
|
76
|
+
get DefaultFilter(): TFilter;
|
|
77
|
+
set DefaultFilter(value: TFilter);
|
|
78
|
+
filterForm: UntypedFormGroup;
|
|
79
|
+
get FilterForm(): UntypedFormGroup;
|
|
80
|
+
set FilterForm(value: UntypedFormGroup);
|
|
81
|
+
isFilterVisible: boolean;
|
|
82
|
+
get IsFilterVisible(): boolean;
|
|
83
|
+
set IsFilterVisible(value: boolean);
|
|
84
|
+
isCustomColumns: boolean;
|
|
85
|
+
get IsCustomColumns(): boolean;
|
|
86
|
+
set IsCustomColumns(value: boolean);
|
|
87
|
+
isCardVisible: boolean;
|
|
88
|
+
get IsCardVisible(): boolean;
|
|
89
|
+
set IsCardVisible(value: boolean);
|
|
90
|
+
showFilterButton: boolean;
|
|
91
|
+
get ShowFilterButton(): boolean;
|
|
92
|
+
set ShowFilterButton(value: boolean);
|
|
93
|
+
showSearchButton: boolean;
|
|
94
|
+
get ShowSearchButton(): boolean;
|
|
95
|
+
set ShowSearchButton(value: boolean);
|
|
96
|
+
showPaginator: boolean;
|
|
97
|
+
get ShowPaginator(): boolean;
|
|
98
|
+
set ShowPaginator(value: boolean);
|
|
99
|
+
get ShowPropertyPanel(): boolean;
|
|
100
|
+
set ShowPropertyPanel(value: boolean);
|
|
101
|
+
get ShowFilterLabel(): boolean;
|
|
102
|
+
set ShowFilterLabel(value: boolean);
|
|
103
|
+
defaultPaging: IPaging;
|
|
104
|
+
private defaultSorting;
|
|
105
|
+
currentPageNumber: number;
|
|
106
|
+
get CurrentPageNumber(): number;
|
|
107
|
+
set CurrentPageNumber(value: number);
|
|
108
|
+
totalPages: number;
|
|
109
|
+
get TotalPages(): number;
|
|
110
|
+
set TotalPages(value: number);
|
|
111
|
+
lastExecutionTime: string;
|
|
112
|
+
get LastExecutionTime(): string;
|
|
113
|
+
set LastExecutionTime(value: string);
|
|
114
|
+
get Paging(): IPaging;
|
|
115
|
+
set Paging(value: IPaging);
|
|
116
|
+
get Sorting(): ISorting<TData>;
|
|
117
|
+
set Sorting(value: ISorting<TData>);
|
|
118
|
+
protected filterInUrl: boolean;
|
|
119
|
+
Results: PagedList<TData>;
|
|
120
|
+
OrginalResults: any[];
|
|
121
|
+
errorMessage: string;
|
|
122
|
+
private _columns;
|
|
123
|
+
get columns(): ColumnDescriptor[];
|
|
124
|
+
set columns(col: ColumnDescriptor[]);
|
|
125
|
+
private _viewModel;
|
|
126
|
+
get ViewModel(): EntityViewModelWithFields<TData>;
|
|
127
|
+
set ViewModel(val: EntityViewModelWithFields<TData>);
|
|
128
|
+
originalColumns: any[];
|
|
129
|
+
originalViewModel: EntityViewModelWithFields<TData>;
|
|
130
|
+
selected: TData[];
|
|
131
|
+
actionDescriptors: ActionDescriptor[];
|
|
132
|
+
loadedFilter: Subject<TFilter>;
|
|
133
|
+
loadedColumnDescriptors: Subject<ColumnDescriptor[]>;
|
|
134
|
+
loadedActionDescriptors: Subject<ActionDescriptor[]>;
|
|
135
|
+
loadedFilterDescriptors: Subject<FilterDescriptor[]>;
|
|
136
|
+
loadedData: Subject<PagedList<TData>>;
|
|
137
|
+
loadedEntityViewModel: Subject<EntityViewModelWithFields<TData>>;
|
|
138
|
+
init: boolean;
|
|
139
|
+
modified: any[];
|
|
140
|
+
forceFilter: boolean;
|
|
141
|
+
fetchData: (sort: ISorting<TData>, page: IPaging) => void;
|
|
142
|
+
actions: Array<Action>;
|
|
143
|
+
showEditAction: boolean;
|
|
144
|
+
showAddAction: boolean;
|
|
145
|
+
showDeleteAction: boolean;
|
|
146
|
+
actionsCard: Array<Action>;
|
|
147
|
+
initExportModal(value?: any): void;
|
|
148
|
+
canDelete(): boolean;
|
|
149
|
+
canSave(): boolean;
|
|
150
|
+
isInvalid(): boolean;
|
|
151
|
+
canAdd(): boolean;
|
|
152
|
+
canExport(): boolean;
|
|
153
|
+
canShowHistory(): boolean;
|
|
154
|
+
showAction(actionname: string): void;
|
|
155
|
+
filterAction(actionname: string): void;
|
|
156
|
+
clearActions(): void;
|
|
157
|
+
getActionPermissionKey(action: 'add' | 'edit' | 'export' | any): string;
|
|
158
|
+
raiseFilterPropertyChanged: boolean;
|
|
159
|
+
constructor(app: ApplicationService, route: ActivatedRoute);
|
|
160
|
+
ngAfterContentInit(): void;
|
|
161
|
+
ngAfterViewInit(): void;
|
|
162
|
+
subscription: Subscription;
|
|
163
|
+
ngOnInit(): void;
|
|
164
|
+
initUserFilter(): void;
|
|
165
|
+
subscribeEntityNotification(): void;
|
|
166
|
+
unsubscribeEntityNotification(): void;
|
|
167
|
+
onNotificationHandled(notif: Notification): void;
|
|
168
|
+
handleRowSelectionChanged(event: any): void;
|
|
169
|
+
refreshActions(): void;
|
|
170
|
+
selectionHelper: DictionnaryWrapper<UntypedFormGroup>;
|
|
171
|
+
onSelectionChanged(selected: TData[]): void;
|
|
172
|
+
getViewModel(selected: TData[]): EntityViewModelWithFields<TData>;
|
|
173
|
+
updatedModifiedEntities(): void;
|
|
174
|
+
/**
|
|
175
|
+
* @function onGridValueChanged()
|
|
176
|
+
* triggered everytime property's value is changed from Data-Grid
|
|
177
|
+
* @param event : {Field : FieldDescriptor + Value : TDATA }
|
|
178
|
+
*/
|
|
179
|
+
onGridValueChanged(event: FieldDescriptorWithValue): void;
|
|
180
|
+
handleOriginalEntityChanged(ids: number[]): void;
|
|
181
|
+
buildForm(vm: TData): UntypedFormGroup;
|
|
182
|
+
getConfigData(): import("rxjs").Observable<[ActionDescriptor[], TFilter, FilterDescriptor[], ColumnDescriptor[], EntityViewModelWithFields<TData>]>;
|
|
183
|
+
ngOnDestroy(): void;
|
|
184
|
+
initBreadCrumb(data: any): void;
|
|
185
|
+
onDispose(): void;
|
|
186
|
+
pageValueChanged(data: any): void;
|
|
187
|
+
nextPage(data: any): void;
|
|
188
|
+
lastPage(data: any): void;
|
|
189
|
+
previousPage(data: any): void;
|
|
190
|
+
firstPage(data: any): void;
|
|
191
|
+
updatePageNumberOfRows(numberOfRows: number): void;
|
|
192
|
+
protected updatePageNumber(pageNumber: any): void;
|
|
193
|
+
datagrid: DatagridCustomComponent<TData>;
|
|
194
|
+
actionComponent: ActionsComponent;
|
|
195
|
+
propertyGridComponent: PropertyGridComponent<TData>;
|
|
196
|
+
validationErrorComponent: ValidationErrorComponent;
|
|
197
|
+
filterComponent: DynamicFilterPanel;
|
|
198
|
+
pageLayout: PageLayoutComponent;
|
|
199
|
+
showHistory(): import("rxjs").Observable<any>;
|
|
200
|
+
toggleFilterView(): void;
|
|
201
|
+
ToggleRightPanelView(): void;
|
|
202
|
+
ToggleFilterLabelView(): void;
|
|
203
|
+
showPanelCard(): void;
|
|
204
|
+
showPanelDataGrid(): void;
|
|
205
|
+
abstract get PermissionKey(): string;
|
|
206
|
+
refresh(): void;
|
|
207
|
+
Search(filter?: any, resetPage?: boolean): void;
|
|
208
|
+
private CopyFilterProperties;
|
|
209
|
+
loadData(): void;
|
|
210
|
+
lastSelected: TData[];
|
|
211
|
+
performLoadData(): void;
|
|
212
|
+
filterResult(res: PagedList<TData>): void;
|
|
213
|
+
updatedModified(item: TData): void;
|
|
214
|
+
checkValidaty(selected: TData): void;
|
|
215
|
+
patchForm(form: UntypedFormGroup, vm: TData): void;
|
|
216
|
+
isValidKey: string;
|
|
217
|
+
isTheSameKey: string;
|
|
218
|
+
IsSelectedKey: string;
|
|
219
|
+
IsEditableKey: string;
|
|
220
|
+
hasWarningKey: string;
|
|
221
|
+
hasErrorKey: string;
|
|
222
|
+
isComparableProperty(current: any, key: string): boolean;
|
|
223
|
+
deepComparer(current: any, original: any): boolean;
|
|
224
|
+
loadViewModel(): Subject<EntityViewModelWithFields<TData>>;
|
|
225
|
+
resetFieldViewModel(): void;
|
|
226
|
+
loadColumns(): Subject<ColumnDescriptor[]>;
|
|
227
|
+
loadActionDescriptors(): Subject<ActionDescriptor[]>;
|
|
228
|
+
loadFilterDescriptors(): Subject<FilterDescriptor[]>;
|
|
229
|
+
loadEmptyFilter(): Subject<TFilter>;
|
|
230
|
+
export(): void;
|
|
231
|
+
exportXLSX(): void;
|
|
232
|
+
exportCSV(): void;
|
|
233
|
+
save(): void;
|
|
234
|
+
add(): void;
|
|
235
|
+
edit(): void;
|
|
236
|
+
delete(): void;
|
|
237
|
+
innerDelete(): void;
|
|
238
|
+
handleDeleteFail(res: SaveResults<TData>): void;
|
|
239
|
+
afterDelete(): void;
|
|
240
|
+
afterLoadData(): void;
|
|
241
|
+
selectLastRow(): void;
|
|
242
|
+
resetColumns(): void;
|
|
243
|
+
updateLayout(): void;
|
|
244
|
+
ResetFilter(): void;
|
|
245
|
+
resetPaging(): void;
|
|
246
|
+
isDirty(): boolean;
|
|
247
|
+
saveAll(reload?: boolean): void;
|
|
248
|
+
initCurrentTab(context: any): void;
|
|
249
|
+
resetModified(): void;
|
|
250
|
+
onSaveCompleted(): void;
|
|
251
|
+
getSpecificSectionContext(name: string, templateType: Type<any>, context?: any, filter?: any): SpecificSection;
|
|
252
|
+
onTextZoneButtonClicked($event: any): void;
|
|
253
|
+
propertyModified(field_newValue: FieldDescriptorWithValue): void;
|
|
254
|
+
showOnToolTip(row: EntityViewModel, property: string): any;
|
|
255
|
+
enableEdit(prop: string, row: EntityViewModel): boolean;
|
|
256
|
+
isRowEditable(row: EntityViewModel): boolean;
|
|
257
|
+
isPropertyEditable(prop: string): boolean;
|
|
258
|
+
getField(prop: string): import("@dflat-core/web/core-model").FieldDescriptor;
|
|
259
|
+
getStyle(data: any): string;
|
|
260
|
+
getCellStyle(row: EntityViewModel, property: string): string;
|
|
261
|
+
getHeaderStyle(colProperty: string): string;
|
|
262
|
+
getRowStateStyle(index: any, row: any): string;
|
|
263
|
+
getColumnStyle(data: any, propertyName: string): string;
|
|
264
|
+
select(data: TData): void;
|
|
265
|
+
unselect(data: TData): void;
|
|
266
|
+
selectFirst(): void;
|
|
267
|
+
selectAll(): void;
|
|
268
|
+
unselectAll(): void;
|
|
269
|
+
afterSelectionChanged(): void;
|
|
270
|
+
enableSelectionEvent: boolean;
|
|
271
|
+
emitOnSelect(data: TData[]): void;
|
|
272
|
+
handleActionSearchKeywords(keyword: string): void;
|
|
273
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DflatBaseFilterComponent<any, any>, never>;
|
|
274
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DflatBaseFilterComponent<any, any>, never, never, { "applyFilterParameters": { "alias": "applyFilterParameters"; "required": false; }; "isMainComponent": { "alias": "isMainComponent"; "required": false; }; "rightPanelClass": { "alias": "rightPanelClass"; "required": false; }; "actionBarSearchText": { "alias": "actionBarSearchText"; "required": false; }; "isModal": { "alias": "isModal"; "required": false; }; "isPropertyPanelVisible": { "alias": "isPropertyPanelVisible"; "required": false; }; "isFilterPanelVisible": { "alias": "isFilterPanelVisible"; "required": false; }; "isActionsContentVisible": { "alias": "isActionsContentVisible"; "required": false; }; "isFilterSummaryVisible": { "alias": "isFilterSummaryVisible"; "required": false; }; "displayDetail": { "alias": "displayDetail"; "required": false; }; "loadDataOnInit": { "alias": "loadDataOnInit"; "required": false; }; "showActionTitle": { "alias": "showActionTitle"; "required": false; }; "showActionSearchBar": { "alias": "showActionSearchBar"; "required": false; }; "handleActionKeyword": { "alias": "handleActionKeyword"; "required": false; }; "actionTitle": { "alias": "actionTitle"; "required": false; }; "baseComponentClass": { "alias": "baseComponentClass"; "required": false; }; "propertyGridClass": { "alias": "propertyGridClass"; "required": false; }; "clearbreadcrumbOnDispose": { "alias": "clearbreadcrumbOnDispose"; "required": false; }; "selectionType": { "alias": "selectionType"; "required": false; }; "datagridOptions": { "alias": "datagridOptions"; "required": false; }; "Filter": { "alias": "Filter"; "required": false; }; "ShowFilterButton": { "alias": "ShowFilterButton"; "required": false; }; "ShowSearchButton": { "alias": "ShowSearchButton"; "required": false; }; "forceFilter": { "alias": "forceFilter"; "required": false; }; "showEditAction": { "alias": "showEditAction"; "required": false; }; "showAddAction": { "alias": "showAddAction"; "required": false; }; "showDeleteAction": { "alias": "showDeleteAction"; "required": false; }; }, { "onSearch": "onSearch"; "onSelect": "onSelect"; "onModified": "onModified"; "onActionSearchKeyword": "onActionSearchKeyword"; }, ["itemListComponent"], never, true, never>;
|
|
275
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BreadcrumbService } from '@dflat-core/web/core-services';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BreadcrumbComponent {
|
|
4
|
+
private breadServ;
|
|
5
|
+
display: boolean;
|
|
6
|
+
header: string;
|
|
7
|
+
description: string;
|
|
8
|
+
levels: Array<any>;
|
|
9
|
+
constructor(breadServ: BreadcrumbService);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "alg-breadcrumb", never, {}, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { EditModeDirective } from '../../../directives/editMode.directive';
|
|
4
|
+
import { ViewModeDirective } from '../../../directives/viewMode.directive';
|
|
5
|
+
import { EntityViewModel, PropertyEditorEvent } from '@dflat-core/web/core-model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DatagridCellComponent<TData extends EntityViewModel> {
|
|
8
|
+
private host;
|
|
9
|
+
private renderer;
|
|
10
|
+
entity: TData;
|
|
11
|
+
property: any;
|
|
12
|
+
isEditable: boolean;
|
|
13
|
+
update: EventEmitter<any>;
|
|
14
|
+
viewModeTpl: ViewModeDirective;
|
|
15
|
+
editModeTpl: EditModeDirective;
|
|
16
|
+
mode: 'view' | 'edit';
|
|
17
|
+
constructor(host: ElementRef, renderer: Renderer2);
|
|
18
|
+
private destroy;
|
|
19
|
+
get currentView(): import("@angular/core").TemplateRef<any>;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
onPropertyChanged(event: PropertyEditorEvent): void;
|
|
22
|
+
get element(): any;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
editMode: Subject<unknown>;
|
|
25
|
+
editMode$: import("rxjs").Observable<unknown>;
|
|
26
|
+
private viewModeHandler;
|
|
27
|
+
private editModeHandler;
|
|
28
|
+
toEditMode(): void;
|
|
29
|
+
toViewMode(fromDataGrid?: boolean): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatagridCellComponent<any>, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatagridCellComponent<any>, "alg-datagrid-cell", never, { "entity": { "alias": "entity"; "required": false; }; "property": { "alias": "property"; "required": false; }; "isEditable": { "alias": "isEditable"; "required": false; }; }, { "update": "update"; }, ["viewModeTpl", "editModeTpl"], never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { ColumnDescriptor, EntityViewModel, EntityViewModelWithFields, FieldDescriptor, FilterType, PagedList } from '@dflat-core/web/core-model';
|
|
2
|
+
import { AfterViewInit, ElementRef, EventEmitter, IterableDiffers, QueryList, Renderer2 } from '@angular/core';
|
|
3
|
+
import { Guid } from 'guid-typescript';
|
|
4
|
+
import { BsDatepickerConfig } from 'ngx-bootstrap/datepicker';
|
|
5
|
+
import { DatagridOptions, IPaging, ISorting } from '../../model/datagrid';
|
|
6
|
+
import { FieldDescriptorWithValue, IFilterComponent } from '../../model/model';
|
|
7
|
+
import { ImageService } from '../../services/image.service';
|
|
8
|
+
import { LayoutService } from '../../v2/services/layout.service';
|
|
9
|
+
import { SelectionService } from '../../v2/services/selection.service';
|
|
10
|
+
import { DatagridCellComponent } from './datagrid-cell/datagrid-cell.component';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class DatagridCustomComponent<TData extends EntityViewModel> implements AfterViewInit {
|
|
13
|
+
private renderer;
|
|
14
|
+
private iterable;
|
|
15
|
+
private imageService;
|
|
16
|
+
private layoutHandlerService;
|
|
17
|
+
private selectionService;
|
|
18
|
+
constructor(renderer: Renderer2, iterable: IterableDiffers, imageService: ImageService, layoutHandlerService: LayoutService, selectionService: SelectionService<TData>);
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
private destroy$;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
proxy: IFilterComponent;
|
|
23
|
+
displayDetail: boolean;
|
|
24
|
+
displayPaginator: boolean;
|
|
25
|
+
enableLastColumnResize: boolean;
|
|
26
|
+
guid: Guid;
|
|
27
|
+
updateRowState(item: TData): void;
|
|
28
|
+
isModified(row: TData): boolean;
|
|
29
|
+
isInvalid(row: TData): boolean;
|
|
30
|
+
isWarning(row: TData): boolean;
|
|
31
|
+
logo: any;
|
|
32
|
+
datagridClass: string;
|
|
33
|
+
thHeaders: QueryList<ElementRef>;
|
|
34
|
+
lastColumnHeader: QueryList<ElementRef>;
|
|
35
|
+
datagridContainer: QueryList<ElementRef>;
|
|
36
|
+
selectFirstRow(): void;
|
|
37
|
+
resizeColumns(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Paginated rows
|
|
40
|
+
*
|
|
41
|
+
* @type {PagedList<TData>}
|
|
42
|
+
* @memberof DatagridComponent
|
|
43
|
+
*/
|
|
44
|
+
data: PagedList<TData>;
|
|
45
|
+
options: Partial<DatagridOptions>;
|
|
46
|
+
/**
|
|
47
|
+
* Data rows currently selected
|
|
48
|
+
*
|
|
49
|
+
* @type {TData[]}
|
|
50
|
+
* @memberof DatagridComponent
|
|
51
|
+
*/
|
|
52
|
+
selected: TData[];
|
|
53
|
+
modified: TData[];
|
|
54
|
+
/**
|
|
55
|
+
* Columns parameters
|
|
56
|
+
* Provide default implementation of
|
|
57
|
+
* - [cell template]{@ColumnDescriptor#cellTemplate}
|
|
58
|
+
* - [display]{@ColumnDescriptor#display}
|
|
59
|
+
* @type {ColumnDescriptor[]}
|
|
60
|
+
* @memberof DatagridComponent
|
|
61
|
+
*/
|
|
62
|
+
set columns(val: ColumnDescriptor[]);
|
|
63
|
+
get columns(): ColumnDescriptor[];
|
|
64
|
+
private _columns;
|
|
65
|
+
/**
|
|
66
|
+
* Data loading function.
|
|
67
|
+
* Can return the plain @{PagedList} or an @{Observable}
|
|
68
|
+
* @type {(PagedListRes<TData>|ObservablePagedListRes<TData>)}
|
|
69
|
+
* @memberof DatagridComponent
|
|
70
|
+
*/
|
|
71
|
+
reloadDataFn: (sorting: ISorting<TData>, paging: IPaging) => void;
|
|
72
|
+
/**
|
|
73
|
+
* Pagination information
|
|
74
|
+
*
|
|
75
|
+
* @type {IPaging}
|
|
76
|
+
* @memberof DatagridComponent
|
|
77
|
+
*/
|
|
78
|
+
paging: IPaging;
|
|
79
|
+
/**
|
|
80
|
+
* Sorting information
|
|
81
|
+
*
|
|
82
|
+
* @type {ISorting<TData>}
|
|
83
|
+
* @memberof DatagridComponent
|
|
84
|
+
*/
|
|
85
|
+
sorting: ISorting<TData>;
|
|
86
|
+
/**
|
|
87
|
+
* Number of total available rows
|
|
88
|
+
*
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof DatagridComponent
|
|
91
|
+
*/
|
|
92
|
+
totalRowCount: number;
|
|
93
|
+
/**
|
|
94
|
+
* Event triggered when the selected data changed
|
|
95
|
+
*
|
|
96
|
+
* @type {EventEmitter<TData[]>}
|
|
97
|
+
* @memberof DatagridComponent
|
|
98
|
+
*/
|
|
99
|
+
onSelect: EventEmitter<TData[]>;
|
|
100
|
+
/**
|
|
101
|
+
* Wrapper for loading data.
|
|
102
|
+
* Calls (reloadDataFn)@(DataGridComponent#reloadDataFn) and populate internal values
|
|
103
|
+
*
|
|
104
|
+
* @private
|
|
105
|
+
* @memberof DatagridComponent
|
|
106
|
+
*/
|
|
107
|
+
private reloadDataWrapper;
|
|
108
|
+
private iterableDiffer;
|
|
109
|
+
private lastSelectedRow;
|
|
110
|
+
private selecting;
|
|
111
|
+
private dragSelection;
|
|
112
|
+
private firstSelectingRow;
|
|
113
|
+
private currentSelectedId;
|
|
114
|
+
handleRowMouseUp(id: any, event: any): void;
|
|
115
|
+
handleRowMouseDown(id: any, event: any): void;
|
|
116
|
+
selectRowForce(id: any): void;
|
|
117
|
+
selectRow(id: any, event: any): void;
|
|
118
|
+
setSelection(): void;
|
|
119
|
+
clearSelectionAtIndex(id: number, index: number): void;
|
|
120
|
+
clearSelection(clearLastRow: boolean): void;
|
|
121
|
+
isSorting(name: string): boolean;
|
|
122
|
+
isSortAsc(name: string): boolean;
|
|
123
|
+
isSortDesc(name: string): boolean;
|
|
124
|
+
sortHeaderClick(headerName: any): void;
|
|
125
|
+
handleHeaderMouseDown(column: any, event: any): void;
|
|
126
|
+
handleHeaderMouseUp(column: any, event: any): void;
|
|
127
|
+
isResizing: boolean;
|
|
128
|
+
currentColumn: ColumnDescriptor;
|
|
129
|
+
offsetX: number;
|
|
130
|
+
handleHeaderMouseOver(id: number, event: any): void;
|
|
131
|
+
isUndefined(val: any): boolean;
|
|
132
|
+
getEnumImageUrl(row: TData, column: ColumnDescriptor): string;
|
|
133
|
+
getImageUrl(row: TData, column: ColumnDescriptor): string;
|
|
134
|
+
getCellStyleClass(index: number, row: TData, column: ColumnDescriptor): string;
|
|
135
|
+
getRowStateStyle(index: number, row: any): string;
|
|
136
|
+
getStyleClass(index: number, row: any): string;
|
|
137
|
+
showOnToolTip(row: any, prop: any): any;
|
|
138
|
+
onEnter: EventEmitter<FieldDescriptorWithValue>;
|
|
139
|
+
dataGridCells: QueryList<DatagridCellComponent<TData>>;
|
|
140
|
+
cell: DatagridCellComponent<TData>;
|
|
141
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
142
|
+
isEditModeEnabled: boolean;
|
|
143
|
+
updateSelected(id: number): void;
|
|
144
|
+
emitOnEnter(currentCell: DatagridCellComponent<TData>): void;
|
|
145
|
+
updateEntity(event: any, prop: any): void;
|
|
146
|
+
filterType: typeof FilterType;
|
|
147
|
+
bsConfig: Partial<BsDatepickerConfig>;
|
|
148
|
+
viewModel: EntityViewModelWithFields<TData>;
|
|
149
|
+
enableEdit(column: string, row: EntityViewModel): boolean;
|
|
150
|
+
getHeaderStyle(colProperty: string): string;
|
|
151
|
+
getField(prop: string): FieldDescriptor;
|
|
152
|
+
getFieldType(prop: string): FilterType;
|
|
153
|
+
getFieldPropertyName(prop: string): string;
|
|
154
|
+
getFieldReadOnly(prop: string): boolean;
|
|
155
|
+
getdatetime(d: Date): Date;
|
|
156
|
+
toggleDetail(row: TData): void;
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatagridCustomComponent<any>, never>;
|
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatagridCustomComponent<any>, "alg-datagrid-custom", never, { "proxy": { "alias": "proxy"; "required": false; }; "displayDetail": { "alias": "displayDetail"; "required": false; }; "displayPaginator": { "alias": "displayPaginator"; "required": false; }; "enableLastColumnResize": { "alias": "enableLastColumnResize"; "required": false; }; "datagridClass": { "alias": "datagridClass"; "required": false; }; "data": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "modified": { "alias": "modified"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "reloadDataFn": { "alias": "reloadDataFn"; "required": false; }; "paging": { "alias": "paging"; "required": false; }; "sorting": { "alias": "sorting"; "required": false; }; "isEditModeEnabled": { "alias": "isEditModeEnabled"; "required": false; }; "viewModel": { "alias": "viewModel"; "required": false; }; }, { "onSelect": "onSelect"; "onEnter": "onEnter"; }, ["cell"], never, false, never>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ISorting } from '../../model/datagrid';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SortableColumnComponent implements OnInit, OnDestroy {
|
|
5
|
+
constructor();
|
|
6
|
+
columnName: string;
|
|
7
|
+
sortDirection: "asc" | "desc";
|
|
8
|
+
onSort: EventEmitter<ISorting<any>>;
|
|
9
|
+
private columnSortedSubscription;
|
|
10
|
+
sort(): void;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortableColumnComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortableColumnComponent, "alg-column-sorter", never, { "columnName": { "alias": "sortable-column"; "required": false; }; "sortDirection": { "alias": "sort-direction"; "required": false; }; }, { "onSort": "onSort"; }, never, ["*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { OldLayoutHandlerDirective } from '../old-layout-handler.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PageLayoutComponent implements AfterViewInit {
|
|
5
|
+
ShowLeftPanel?: boolean;
|
|
6
|
+
ShowPropertyPanel?: boolean;
|
|
7
|
+
entityKey: string;
|
|
8
|
+
layoutHandlerDirective: OldLayoutHandlerDirective;
|
|
9
|
+
constructor();
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageLayoutComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageLayoutComponent, "alg-page-layout", never, { "ShowLeftPanel": { "alias": "ShowLeftPanel"; "required": false; }; "ShowPropertyPanel": { "alias": "ShowPropertyPanel"; "required": false; }; "entityKey": { "alias": "entityKey"; "required": false; }; }, {}, never, ["[actionsContent]", "[leftContent]", "[middleHeader]", "[middleContent]", "[middleFooter]", "[rightContent]"], false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OldDataPageComponent {
|
|
3
|
+
showLeftPanel?: boolean;
|
|
4
|
+
showRightPanel?: boolean;
|
|
5
|
+
leftPanelClass: string;
|
|
6
|
+
rightPanelClass: string;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OldDataPageComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OldDataPageComponent, "alg-datapage", never, { "showLeftPanel": { "alias": "showLeftPanel"; "required": false; }; "showRightPanel": { "alias": "showRightPanel"; "required": false; }; "leftPanelClass": { "alias": "leftPanelClass"; "required": false; }; "rightPanelClass": { "alias": "rightPanelClass"; "required": false; }; }, {}, never, ["[actionsContent]", "[leftContent]", "[rightContent]", "[middleHeader]", "[middleContent]", "[middleFooter]"], false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LayoutService } from '../../v2/services/layout.service';
|
|
2
|
+
import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class OldLayoutHandlerDirective implements OnDestroy, AfterViewInit {
|
|
5
|
+
private layoutHandlerService;
|
|
6
|
+
private renderer;
|
|
7
|
+
private elRef;
|
|
8
|
+
isVerticalLayout: boolean;
|
|
9
|
+
propertyflexGrow: number;
|
|
10
|
+
constructor(layoutHandlerService: LayoutService, renderer: Renderer2, elRef: ElementRef);
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
entityKey: string;
|
|
13
|
+
isSection: boolean;
|
|
14
|
+
private destroy$;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
expandPropertyflexGrow(event: MouseEvent): void;
|
|
17
|
+
getHtmlElement(className: string): HTMLElement;
|
|
18
|
+
lastPropertyflexGrow: number;
|
|
19
|
+
hidePropertyGrid(): void;
|
|
20
|
+
scheduleLayout(): void;
|
|
21
|
+
showPropertyGrid(): void;
|
|
22
|
+
updateLayout(): void;
|
|
23
|
+
private dragInProgress;
|
|
24
|
+
startResizing(event: MouseEvent): void;
|
|
25
|
+
onMouseMove(event: MouseEvent): void;
|
|
26
|
+
onMouseUp(): void;
|
|
27
|
+
stopResizing(event: MouseEvent): void;
|
|
28
|
+
onBeforeUnload(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OldLayoutHandlerDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OldLayoutHandlerDirective, "[oldLayoutHandler]", ["oldLayoutHandler"], { "entityKey": { "alias": "entityKey"; "required": false; }; "isSection": { "alias": "isSection"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FieldEvent, FilterDescriptor, FilterType, TextZoneButtonEvent } from '@dflat-core/web/core-model';
|
|
2
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
4
|
+
import { BsDatepickerConfig, BsLocaleService } from 'ngx-bootstrap/datepicker';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DynamicFieldComponent implements OnChanges {
|
|
7
|
+
private localeService;
|
|
8
|
+
field: FilterDescriptor;
|
|
9
|
+
form: UntypedFormGroup;
|
|
10
|
+
submitted: boolean;
|
|
11
|
+
horizontal: boolean;
|
|
12
|
+
showLabel: boolean;
|
|
13
|
+
inputClass: string;
|
|
14
|
+
propertyChanged: EventEmitter<FieldEvent>;
|
|
15
|
+
textZoneButtonClicked: EventEmitter<TextZoneButtonEvent>;
|
|
16
|
+
dropZone: EventEmitter<any>;
|
|
17
|
+
radioButtonChanged: EventEmitter<any>;
|
|
18
|
+
horizSelect: any;
|
|
19
|
+
value: any;
|
|
20
|
+
filterType: typeof FilterType;
|
|
21
|
+
bsConfig: Partial<BsDatepickerConfig>;
|
|
22
|
+
locale: string;
|
|
23
|
+
uploadForm: UntypedFormGroup;
|
|
24
|
+
get isValid(): boolean;
|
|
25
|
+
notlog: boolean;
|
|
26
|
+
log(propname: string): string;
|
|
27
|
+
constructor(localeService: BsLocaleService);
|
|
28
|
+
onValueChanged(event: Event): void;
|
|
29
|
+
onBsValueChanged(event: any): void;
|
|
30
|
+
filedata: any;
|
|
31
|
+
fileEvent(e: any): void;
|
|
32
|
+
getDateFormat(date: UntypedFormControl, format: any): string;
|
|
33
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
+
isImgPathDefined(field: FilterDescriptor, val: any): boolean;
|
|
35
|
+
isDefined(val: any): boolean;
|
|
36
|
+
getRadioButtonId(propName: string, indexOfData: number): string;
|
|
37
|
+
onClick(field: FilterDescriptor): void;
|
|
38
|
+
getRequiredIcon(): string;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFieldComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFieldComponent, "alg-dynamic-field", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "inputClass": { "alias": "inputClass"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "propertyChanged": "propertyChanged"; "textZoneButtonClicked": "textZoneButtonClicked"; "dropZone": "dropZone"; "radioButtonChanged": "radioButtonChanged"; }, never, never, false, never>;
|
|
41
|
+
}
|
package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-extra.component.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FieldEvent, FilterDescriptor, IFilterDescriptorExtra } from '@dflat-core/web/core-model';
|
|
2
|
+
import { Location } from '@angular/common';
|
|
3
|
+
import { OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
import { DynamicFilterComponent } from './dynamic-filter.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DynamicFilterExtraComponent extends DynamicFilterComponent implements OnChanges {
|
|
8
|
+
vmDefault: any;
|
|
9
|
+
options: any;
|
|
10
|
+
vmDefinitionCopy: Array<IFilterDescriptorExtra>;
|
|
11
|
+
myOptions: {
|
|
12
|
+
[id: string]: boolean;
|
|
13
|
+
}[];
|
|
14
|
+
constructor(router: Router, route: ActivatedRoute, renderer: Renderer2, location: Location);
|
|
15
|
+
setData(data: any, filterIndex: number): void;
|
|
16
|
+
formatDate(current: any): void;
|
|
17
|
+
clearForm(toCopy: any, reset: boolean, initFilters?: boolean): void;
|
|
18
|
+
initFilters(reset: boolean, field: FilterDescriptor): void;
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
updateFilterSummary(): void;
|
|
21
|
+
updateCascadeDependencies(field: FilterDescriptor): void;
|
|
22
|
+
onPropertyChanged(field: FieldEvent): void;
|
|
23
|
+
GetFilterSummary(field: FilterDescriptor): string;
|
|
24
|
+
resetFormControl(field: FilterDescriptor): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFilterExtraComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFilterExtraComponent, "alg-dynamic-filter-extra", never, { "vmDefault": { "alias": "vmDefault"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
package/core-ux/lib/components/dynamic-components/dynamic-filter/dynamic-filter-panel.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DynamicFilterExtraComponent } from './dynamic-filter-extra.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DynamicFilterPanel extends DynamicFilterExtraComponent {
|
|
4
|
+
ngOnInit(): void;
|
|
5
|
+
onDataLoaded(event: any): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFilterPanel, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFilterPanel, "alg-dynamic-filter-panel", never, {}, {}, never, ["[beforeFilter]", "[afterFilter]"], false, never>;
|
|
8
|
+
}
|