@colijnit/sharedcomponents 1.0.63 → 1.0.64
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/README.md +24 -24
- package/bundles/colijnit-sharedcomponents.umd.js +9881 -9879
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +91 -91
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +91 -91
- package/esm2015/lib/assets/dictionary/text.properties.js +11 -11
- package/esm2015/lib/businessobject/build-images-and-documentation-result.js +2 -2
- package/esm2015/lib/businessobject/co-document-right.bo.js +3 -3
- package/esm2015/lib/businessobject/drag-drop-container-element.js +2 -2
- package/esm2015/lib/businessobject/drag-drop-container.js +7 -7
- package/esm2015/lib/components/activity-list/activity-list.component.js +130 -130
- package/esm2015/lib/components/activity-list/activity-list.module.js +24 -24
- package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.component.js +47 -47
- package/esm2015/lib/components/app-file-dropzone/app-file-dropzone.module.js +20 -20
- package/esm2015/lib/components/date-planning/component/agenda/agenda-base-view.component.js +61 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-day-view.component.js +36 -36
- package/esm2015/lib/components/date-planning/component/agenda/agenda-event.component.js +56 -56
- package/esm2015/lib/components/date-planning/component/agenda/agenda-events.component.js +47 -47
- package/esm2015/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.js +68 -68
- package/esm2015/lib/components/date-planning/component/agenda/agenda-header.component.js +243 -243
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-cell.component.js +36 -36
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.js +50 -50
- package/esm2015/lib/components/date-planning/component/agenda/agenda-hour-view.component.js +46 -46
- package/esm2015/lib/components/date-planning/component/agenda/agenda-month-view.component.js +61 -61
- package/esm2015/lib/components/date-planning/component/agenda/agenda-select-event.component.js +39 -39
- package/esm2015/lib/components/date-planning/component/agenda/agenda-view.component.js +35 -35
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-select-view.component.js +64 -64
- package/esm2015/lib/components/date-planning/component/agenda/agenda-week-view.component.js +48 -48
- package/esm2015/lib/components/date-planning/component/agenda/view-select.component.js +42 -42
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-months.component.js +34 -34
- package/esm2015/lib/components/date-planning/component/calendar/calendar-all-years.component.js +48 -48
- package/esm2015/lib/components/date-planning/component/calendar/calendar-header.component.js +107 -107
- package/esm2015/lib/components/date-planning/component/calendar/calendar-view.component.js +178 -178
- package/esm2015/lib/components/date-planning/component/calendar/calendar.component.js +34 -34
- package/esm2015/lib/components/date-planning/date-planning.component.js +113 -113
- package/esm2015/lib/components/date-planning/date-planning.module.js +63 -63
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -75
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -44
- package/esm2015/lib/components/docsign/docsign.component.js +242 -242
- package/esm2015/lib/components/docsign/docsign.module.js +23 -23
- package/esm2015/lib/components/file-upload/file-upload.component.js +189 -189
- package/esm2015/lib/components/file-upload/file-upload.module.js +25 -25
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.component.js +397 -397
- package/esm2015/lib/components/file-upload-popup/file-upload-popup.module.js +30 -30
- package/esm2015/lib/components/files-upload/components/base-file-upload.component.js +469 -469
- package/esm2015/lib/components/files-upload/components/drag-drop-container.component.js +115 -115
- package/esm2015/lib/components/files-upload/files-upload.component.js +131 -131
- package/esm2015/lib/components/files-upload/files-upload.module.js +47 -47
- package/esm2015/lib/components/image-display/image-display.component.js +36 -36
- package/esm2015/lib/components/image-display/image-display.module.js +23 -23
- package/esm2015/lib/components/key-pad/key-pad.component.js +200 -200
- package/esm2015/lib/components/key-pad/key-pad.module.js +22 -22
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +74 -74
- package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +21 -21
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +59 -59
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +19 -19
- package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.component.js +89 -89
- package/esm2015/lib/components/multi-property-toggler/multiple-property-toggler.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +79 -79
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +85 -85
- package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +64 -64
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +26 -26
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +40 -40
- package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +23 -23
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +61 -61
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +28 -28
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.component.js +38 -38
- package/esm2015/lib/components/send-method-dialog/components/signature-button/signature-button.module.js +21 -21
- package/esm2015/lib/components/send-method-dialog/model/email-address-viewmodel.js +7 -7
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +258 -258
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +35 -35
- package/esm2015/lib/components/send-method-dialog/send-method-params.interface.js +2 -2
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +59 -59
- package/esm2015/lib/components/simple-tags/simple-tags.component.js +229 -229
- package/esm2015/lib/components/simple-tags/simple-tags.module.js +26 -26
- package/esm2015/lib/components/statusbar/statusbar-popup.component.js +97 -97
- package/esm2015/lib/components/statusbar/statusbar.component.js +81 -81
- package/esm2015/lib/components/statusbar/statusbar.module.js +27 -27
- package/esm2015/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-stock-history/order-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-stock-tab/order-stock-tab.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.js +47 -47
- package/esm2015/lib/components/stock/components/order-tab/order-tab.component.js +67 -67
- package/esm2015/lib/components/stock/components/stock-history/stock-history.component.js +53 -53
- package/esm2015/lib/components/stock/components/stock-location/stock-location.component.js +251 -251
- package/esm2015/lib/components/stock/components/stock-prognose/stock-prognose.component.js +52 -52
- package/esm2015/lib/components/stock/components/stock-tab/stock-tab.component.js +39 -39
- package/esm2015/lib/components/stock/localization/translation.js +72 -70
- package/esm2015/lib/components/stock/stock-history-tabs/stock-history-tabs.component.js +33 -33
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +48 -49
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +457 -457
- package/esm2015/lib/components/stock/stock-tabs/stock-tabs.component.js +243 -243
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +72 -72
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +160 -160
- package/esm2015/lib/components/stock/stock.component.js +237 -238
- package/esm2015/lib/components/stock/stock.module.js +80 -80
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.component.js +23 -23
- package/esm2015/lib/components/stock-statusbar/stock-statusbar.module.js +19 -19
- package/esm2015/lib/components/tab-bar/tab-bar.component.js +90 -90
- package/esm2015/lib/components/tab-bar/tab-bar.module.js +21 -21
- package/esm2015/lib/components/tab-bar/tab.interface.js +2 -2
- package/esm2015/lib/components/tile-renderer/tile-render.component.js +80 -80
- package/esm2015/lib/components/tile-renderer/tile-render.module.js +26 -26
- package/esm2015/lib/decorator/input-boolean.decorator.js +34 -34
- package/esm2015/lib/enum/calendar-view.enum.js +9 -9
- package/esm2015/lib/enum/document-email-report.enum.js +18 -18
- package/esm2015/lib/enum/domain-multiple-name.enum.js +13 -13
- package/esm2015/lib/enum/file-type.js +14 -14
- package/esm2015/lib/enum/files-upload-config-objects.js +3 -3
- package/esm2015/lib/enum/gauge-color.enum.js +10 -10
- package/esm2015/lib/enum/icon.enum.js +47 -47
- package/esm2015/lib/enum/internal-param.enum.js +38 -38
- package/esm2015/lib/enum/keyboard-code.enum.js +32 -32
- package/esm2015/lib/enum/language-code.enum.js +8 -8
- package/esm2015/lib/enum/month.enum.js +17 -17
- package/esm2015/lib/enum/read-write-access-config-names.enum.js +2 -2
- package/esm2015/lib/enum/table-name.enum.js +86 -86
- package/esm2015/lib/enum/tag-category.enum.js +22 -22
- package/esm2015/lib/enum/tags-component-config-names.js +2 -2
- package/esm2015/lib/enum/thumb-three-way-state.js +19 -19
- package/esm2015/lib/enum/tile-size-type.js +7 -7
- package/esm2015/lib/enum/time-period.enum.js +11 -11
- package/esm2015/lib/event/co-drag-event.js +2 -2
- package/esm2015/lib/event/co-drop-event.js +2 -2
- package/esm2015/lib/interface/key-value-pair.js +2 -2
- package/esm2015/lib/interface/operation-callback-simple-function.js +4 -4
- package/esm2015/lib/localization/localization.module.js +19 -19
- package/esm2015/lib/localization/localize.pipe.js +26 -26
- package/esm2015/lib/localization/localize.service.js +30 -30
- package/esm2015/lib/localization/translation.js +3 -3
- package/esm2015/lib/model/agenda-event-per-day.model.js +6 -6
- package/esm2015/lib/model/agenda-event.model.js +8 -8
- package/esm2015/lib/model/agenda-null-objects.js +11 -11
- package/esm2015/lib/model/constant/all-months.js +17 -17
- package/esm2015/lib/model/date-range.js +5 -5
- package/esm2015/lib/model/day.model.js +7 -7
- package/esm2015/lib/model/icon-svg.js +46 -46
- package/esm2015/lib/model/month.model.js +11 -11
- package/esm2015/lib/model/send-method.js +8 -8
- package/esm2015/lib/model/settings.js +4 -4
- package/esm2015/lib/model/tag-tree-item.bo.js +16 -16
- package/esm2015/lib/model/time-window.bo.js +26 -26
- package/esm2015/lib/model/tree-object.js +15 -15
- package/esm2015/lib/model/week.model.js +6 -6
- package/esm2015/lib/model/weekday.model.js +10 -10
- package/esm2015/lib/pipe/array-number.pipe.js +15 -15
- package/esm2015/lib/pipe/file-type-image.pipe.js +51 -51
- package/esm2015/lib/pipe/master-pipes.js +9 -9
- package/esm2015/lib/pipe/ucfirst.pipe.js +16 -16
- package/esm2015/lib/service/dictionary.service.js +76 -76
- package/esm2015/lib/service/drag-drop.service.js +365 -365
- package/esm2015/lib/service/icon-cache.service.js +51 -51
- package/esm2015/lib/service/options.service.js +48 -48
- package/esm2015/lib/service/shared-connector.service.js +433 -433
- package/esm2015/lib/service/shared.service.js +60 -60
- package/esm2015/lib/service/stock.service.js +110 -110
- package/esm2015/lib/utils/array-utils.js +202 -202
- package/esm2015/lib/utils/calendar.utils.js +68 -68
- package/esm2015/lib/utils/check-precision-and-scale-result.js +2 -2
- package/esm2015/lib/utils/check-within-stepped-bounds-result.js +2 -2
- package/esm2015/lib/utils/co-document-shared-field-logic.js +50 -50
- package/esm2015/lib/utils/date-utils.js +264 -264
- package/esm2015/lib/utils/enum-utils.js +128 -128
- package/esm2015/lib/utils/function/not-nill.function.js +5 -5
- package/esm2015/lib/utils/is-nill.function.js +5 -5
- package/esm2015/lib/utils/map-utils.js +41 -41
- package/esm2015/lib/utils/number-utils.js +390 -390
- package/esm2015/lib/utils/object-utils.js +278 -278
- package/esm2015/lib/utils/ref-code-utils.js +49 -49
- package/esm2015/lib/utils/string-utils.js +93 -93
- package/esm2015/public-api.js +31 -31
- package/fesm2015/colijnit-sharedcomponents.js +10408 -10408
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/assets/dictionary/text.properties.d.ts +3 -3
- package/lib/businessobject/build-images-and-documentation-result.d.ts +5 -5
- package/lib/businessobject/co-document-right.bo.d.ts +6 -6
- package/lib/businessobject/drag-drop-container-element.d.ts +6 -6
- package/lib/businessobject/drag-drop-container.d.ts +6 -6
- package/lib/components/access/read-write-access.scss +25 -25
- package/lib/components/access/style/_layout.scss +23 -23
- package/lib/components/access/style/_material-definition.scss +12 -12
- package/lib/components/access/style/_theme.scss +4 -4
- package/lib/components/access/style/material.scss +4 -4
- package/lib/components/activity-list/activity-list.component.d.ts +33 -33
- package/lib/components/activity-list/activity-list.module.d.ts +2 -2
- package/lib/components/activity-list/style/_layout.scss +68 -68
- package/lib/components/activity-list/style/_theme.scss +4 -4
- package/lib/components/activity-list/style/material.scss +4 -4
- package/lib/components/app-file-dropzone/app-file-dropzone.component.d.ts +14 -14
- package/lib/components/app-file-dropzone/app-file-dropzone.module.d.ts +2 -2
- package/lib/components/app-file-dropzone/style/_layout.scss +61 -61
- package/lib/components/app-file-dropzone/style/_theme.scss +4 -4
- package/lib/components/app-file-dropzone/style/material.scss +4 -4
- package/lib/components/date-planning/component/agenda/agenda-base-view.component.d.ts +21 -21
- package/lib/components/date-planning/component/agenda/agenda-day-view.component.d.ts +7 -7
- package/lib/components/date-planning/component/agenda/agenda-event.component.d.ts +18 -18
- package/lib/components/date-planning/component/agenda/agenda-events.component.d.ts +13 -13
- package/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.d.ts +18 -18
- package/lib/components/date-planning/component/agenda/agenda-header.component.d.ts +48 -48
- package/lib/components/date-planning/component/agenda/agenda-hour-cell.component.d.ts +9 -9
- package/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.d.ts +8 -8
- package/lib/components/date-planning/component/agenda/agenda-hour-view.component.d.ts +7 -7
- package/lib/components/date-planning/component/agenda/agenda-month-view.component.d.ts +10 -10
- package/lib/components/date-planning/component/agenda/agenda-select-event.component.d.ts +12 -12
- package/lib/components/date-planning/component/agenda/agenda-view.component.d.ts +12 -12
- package/lib/components/date-planning/component/agenda/agenda-week-select-view.component.d.ts +10 -10
- package/lib/components/date-planning/component/agenda/agenda-week-view.component.d.ts +9 -9
- package/lib/components/date-planning/component/agenda/style/_layout.scss +443 -443
- package/lib/components/date-planning/component/agenda/style/_material-definition.scss +12 -12
- package/lib/components/date-planning/component/agenda/style/_theme.scss +7 -7
- package/lib/components/date-planning/component/agenda/style/material.scss +5 -5
- package/lib/components/date-planning/component/agenda/view-select.component.d.ts +11 -11
- package/lib/components/date-planning/component/calendar/calendar-all-months.component.d.ts +9 -9
- package/lib/components/date-planning/component/calendar/calendar-all-years.component.d.ts +9 -9
- package/lib/components/date-planning/component/calendar/calendar-header.component.d.ts +23 -23
- package/lib/components/date-planning/component/calendar/calendar-view.component.d.ts +31 -31
- package/lib/components/date-planning/component/calendar/calendar.component.d.ts +10 -10
- package/lib/components/date-planning/component/calendar/style/_layout.scss +167 -167
- package/lib/components/date-planning/component/calendar/style/_material-definition.scss +7 -7
- package/lib/components/date-planning/component/calendar/style/_theme.scss +7 -7
- package/lib/components/date-planning/component/calendar/style/material.scss +5 -5
- package/lib/components/date-planning/date-planning.component.d.ts +28 -28
- package/lib/components/date-planning/date-planning.module.d.ts +2 -2
- package/lib/components/date-planning/style/_layout.scss +45 -45
- package/lib/components/date-planning/style/_theme.scss +5 -5
- package/lib/components/date-planning/style/material.scss +7 -7
- package/lib/components/docsign/component/signature/signature.component.d.ts +16 -16
- package/lib/components/docsign/component/signature/style/_layout.scss +40 -40
- package/lib/components/docsign/component/signature/style/_material-definition.scss +11 -11
- package/lib/components/docsign/component/signature/style/_theme.scss +13 -13
- package/lib/components/docsign/component/signature/style/material.scss +4 -4
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -12
- package/lib/components/docsign/component/signatures/style/_layout.scss +13 -13
- package/lib/components/docsign/component/signatures/style/_material-definition.scss +1 -1
- package/lib/components/docsign/component/signatures/style/_theme.scss +4 -4
- package/lib/components/docsign/component/signatures/style/material.scss +5 -5
- package/lib/components/docsign/docsign.component.d.ts +94 -94
- package/lib/components/docsign/docsign.module.d.ts +2 -2
- package/lib/components/docsign/style/_layout.scss +40 -40
- package/lib/components/docsign/style/_material-definition.scss +12 -12
- package/lib/components/docsign/style/_theme.scss +12 -12
- package/lib/components/docsign/style/material.scss +15 -15
- package/lib/components/file-upload/file-upload.component.d.ts +42 -42
- package/lib/components/file-upload/file-upload.module.d.ts +2 -2
- package/lib/components/file-upload/style/_layout.scss +59 -59
- package/lib/components/file-upload/style/_material-definition.scss +2 -2
- package/lib/components/file-upload/style/_theme.scss +4 -4
- package/lib/components/file-upload/style/material.scss +4 -4
- package/lib/components/file-upload-popup/file-upload-popup.component.d.ts +75 -75
- package/lib/components/file-upload-popup/file-upload-popup.module.d.ts +2 -2
- package/lib/components/file-upload-popup/style/_layout.scss +48 -48
- package/lib/components/file-upload-popup/style/_material-definition.scss +2 -2
- package/lib/components/file-upload-popup/style/_theme.scss +5 -5
- package/lib/components/file-upload-popup/style/material.scss +4 -4
- package/lib/components/files-upload/components/base-file-upload.component.d.ts +98 -98
- package/lib/components/files-upload/components/drag-drop-container.component.d.ts +34 -34
- package/lib/components/files-upload/files-upload.component.d.ts +32 -32
- package/lib/components/files-upload/files-upload.module.d.ts +2 -2
- package/lib/components/files-upload/style/_layout.scss +49 -49
- package/lib/components/files-upload/style/_theme.scss +5 -5
- package/lib/components/files-upload/style/material.scss +4 -4
- package/lib/components/image-display/image-display.component.d.ts +14 -14
- package/lib/components/image-display/image-display.module.d.ts +2 -2
- package/lib/components/image-display/style/_layout.scss +56 -56
- package/lib/components/image-display/style/_material-definition.scss +4 -4
- package/lib/components/image-display/style/_theme.scss +6 -6
- package/lib/components/image-display/style/material.scss +3 -3
- package/lib/components/key-pad/key-pad.component.d.ts +38 -38
- package/lib/components/key-pad/key-pad.module.d.ts +2 -2
- package/lib/components/key-pad/style/_layout.scss +160 -160
- package/lib/components/key-pad/style/_material-definition.scss +19 -19
- package/lib/components/key-pad/style/_theme.scss +35 -35
- package/lib/components/key-pad/style/material.scss +4 -4
- package/lib/components/layout-switcher/layout-switcher.component.d.ts +16 -16
- package/lib/components/layout-switcher/layout-switcher.module.d.ts +2 -2
- package/lib/components/layout-switcher/style/_layout.scss +94 -94
- package/lib/components/layout-switcher/style/_material-definition.scss +16 -16
- package/lib/components/layout-switcher/style/_theme.scss +4 -4
- package/lib/components/layout-switcher/style/material.scss +6 -6
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +11 -11
- package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +2 -2
- package/lib/components/linear-gauge/style/_layout.scss +20 -20
- package/lib/components/linear-gauge/style/_material-definition.scss +8 -8
- package/lib/components/linear-gauge/style/_theme.scss +4 -4
- package/lib/components/linear-gauge/style/material.scss +6 -6
- package/lib/components/login/style/_layout.scss +57 -57
- package/lib/components/login/style/_material-definition.scss +23 -23
- package/lib/components/login/style/_theme.scss +7 -7
- package/lib/components/login/style/material.scss +4 -4
- package/lib/components/multi-property-toggler/multiple-property-toggler.component.d.ts +27 -27
- package/lib/components/multi-property-toggler/multiple-property-toggler.module.d.ts +2 -2
- package/lib/components/multi-property-toggler/style/_layout.scss +24 -24
- package/lib/components/multi-property-toggler/style/_theme.scss +4 -4
- package/lib/components/multi-property-toggler/style/material.scss +4 -4
- package/lib/components/screen-config-generator/style/_layout.scss +95 -95
- package/lib/components/screen-config-generator/style/_theme.scss +4 -4
- package/lib/components/screen-config-generator/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +19 -19
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/layout-selection/style/_layout.scss +44 -44
- package/lib/components/send-method-dialog/components/layout-selection/style/_material-definition.scss +19 -19
- package/lib/components/send-method-dialog/components/layout-selection/style/_theme.scss +17 -17
- package/lib/components/send-method-dialog/components/layout-selection/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +19 -19
- package/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/printer-selection/style/_layout.scss +69 -69
- package/lib/components/send-method-dialog/components/printer-selection/style/_material-definition.scss +37 -37
- package/lib/components/send-method-dialog/components/printer-selection/style/_theme.scss +23 -23
- package/lib/components/send-method-dialog/components/printer-selection/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +14 -14
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +29 -29
- package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +8 -8
- package/lib/components/send-method-dialog/components/send-method-email/style/_theme.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-email/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +8 -8
- package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +25 -25
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_material-definition.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-pdf/style/_theme.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-pdf/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +13 -13
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +30 -30
- package/lib/components/send-method-dialog/components/send-method-printer/style/_material-definition.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-printer/style/_theme.scss +5 -5
- package/lib/components/send-method-dialog/components/send-method-printer/style/material.scss +4 -4
- package/lib/components/send-method-dialog/components/signature-button/signature-button.component.d.ts +12 -12
- package/lib/components/send-method-dialog/components/signature-button/signature-button.module.d.ts +2 -2
- package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +28 -28
- package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +8 -8
- package/lib/components/send-method-dialog/components/signature-button/style/_theme.scss +4 -4
- package/lib/components/send-method-dialog/components/signature-button/style/material.scss +4 -4
- package/lib/components/send-method-dialog/model/email-address-viewmodel.d.ts +5 -5
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +71 -71
- package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -2
- package/lib/components/send-method-dialog/send-method-params.interface.d.ts +13 -13
- package/lib/components/send-method-dialog/service/send-method.service.d.ts +23 -23
- package/lib/components/send-method-dialog/style/_layout.scss +165 -165
- package/lib/components/send-method-dialog/style/_material-definition.scss +48 -48
- package/lib/components/send-method-dialog/style/_theme.scss +33 -33
- package/lib/components/send-method-dialog/style/material.scss +10 -10
- package/lib/components/simple-tags/simple-tags.component.d.ts +31 -31
- package/lib/components/simple-tags/simple-tags.module.d.ts +2 -2
- package/lib/components/simple-tags/style/_layout.scss +272 -272
- package/lib/components/simple-tags/style/_material-definition.scss +39 -39
- package/lib/components/simple-tags/style/_theme.scss +4 -4
- package/lib/components/simple-tags/style/material.scss +4 -4
- package/lib/components/statusbar/statusbar-popup.component.d.ts +21 -21
- package/lib/components/statusbar/statusbar.component.d.ts +26 -26
- package/lib/components/statusbar/statusbar.module.d.ts +2 -2
- package/lib/components/statusbar/style/_layout.scss +70 -70
- package/lib/components/statusbar/style/_material-definition.scss +23 -23
- package/lib/components/statusbar/style/_theme.scss +13 -13
- package/lib/components/statusbar/style/material.scss +5 -5
- package/lib/components/stock/components/allocation-stock-history/allocation-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-commission-stock-history/order-commission-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-stock-history/order-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-stock-tab/order-stock-tab.component.d.ts +11 -11
- package/lib/components/stock/components/order-supply-stock-history/order-supply-stock-history.component.d.ts +9 -9
- package/lib/components/stock/components/order-tab/order-tab.component.d.ts +20 -20
- package/lib/components/stock/components/stock-history/stock-history.component.d.ts +13 -13
- package/lib/components/stock/components/stock-location/stock-location.component.d.ts +52 -52
- package/lib/components/stock/components/stock-prognose/stock-prognose.component.d.ts +11 -11
- package/lib/components/stock/components/stock-tab/stock-tab.component.d.ts +7 -7
- package/lib/components/stock/localization/translation.d.ts +69 -67
- package/lib/components/stock/stock-history-tabs/stock-history-tabs.component.d.ts +7 -7
- package/lib/components/stock/stock-information/stock-information.component.d.ts +9 -9
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +75 -75
- package/lib/components/stock/stock-tabs/stock-tabs.component.d.ts +56 -56
- package/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts +4 -4
- package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -18
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +38 -38
- package/lib/components/stock/stock.component.d.ts +64 -64
- package/lib/components/stock/stock.module.d.ts +2 -2
- package/lib/components/stock/style/_layout.scss +473 -421
- package/lib/components/stock/style/_material-definition.scss +28 -25
- package/lib/components/stock/style/_theme.scss +5 -5
- package/lib/components/stock/style/material.scss +4 -4
- package/lib/components/stock-statusbar/stock-statusbar.component.d.ts +4 -4
- package/lib/components/stock-statusbar/stock-statusbar.module.d.ts +2 -2
- package/lib/components/stock-statusbar/style/_layout.scss +24 -24
- package/lib/components/stock-statusbar/style/material.scss +4 -4
- package/lib/components/tab-bar/style/_layout.scss +83 -78
- package/lib/components/tab-bar/style/_material-definition.scss +6 -6
- package/lib/components/tab-bar/style/material.scss +4 -4
- package/lib/components/tab-bar/tab-bar.component.d.ts +21 -21
- package/lib/components/tab-bar/tab-bar.module.d.ts +2 -2
- package/lib/components/tab-bar/tab.interface.d.ts +5 -5
- package/lib/components/tags/component/style/_layout.scss +67 -67
- package/lib/components/tags/component/style/_material-definition.scss +1 -1
- package/lib/components/tags/component/style/_theme.scss +8 -8
- package/lib/components/tags/component/style/material.scss +3 -3
- package/lib/components/tags/component/tag-join-label/style/_layout.scss +97 -97
- package/lib/components/tags/component/tag-join-label/style/_material-definition.scss +4 -4
- package/lib/components/tags/component/tag-join-label/style/_theme.scss +8 -8
- package/lib/components/tags/component/tag-join-label/style/material.scss +3 -3
- package/lib/components/tile-renderer/style/_layout.scss +90 -90
- package/lib/components/tile-renderer/style/_theme.scss +4 -4
- package/lib/components/tile-renderer/style/material.scss +4 -4
- package/lib/components/tile-renderer/tile-render.component.d.ts +31 -31
- package/lib/components/tile-renderer/tile-render.module.d.ts +2 -2
- package/lib/decorator/input-boolean.decorator.d.ts +8 -8
- package/lib/enum/calendar-view.enum.d.ts +7 -7
- package/lib/enum/document-email-report.enum.d.ts +15 -15
- package/lib/enum/domain-multiple-name.enum.d.ts +10 -10
- package/lib/enum/file-type.d.ts +7 -7
- package/lib/enum/files-upload-config-objects.d.ts +22 -22
- package/lib/enum/gauge-color.enum.d.ts +8 -8
- package/lib/enum/icon.enum.d.ts +46 -46
- package/lib/enum/internal-param.enum.d.ts +34 -34
- package/lib/enum/keyboard-code.enum.d.ts +30 -30
- package/lib/enum/language-code.enum.d.ts +6 -6
- package/lib/enum/month.enum.d.ts +14 -14
- package/lib/enum/read-write-access-config-names.enum.d.ts +4 -4
- package/lib/enum/table-name.enum.d.ts +84 -84
- package/lib/enum/tag-category.enum.d.ts +19 -19
- package/lib/enum/tags-component-config-names.d.ts +4 -4
- package/lib/enum/thumb-three-way-state.d.ts +6 -6
- package/lib/enum/tile-size-type.d.ts +4 -4
- package/lib/enum/time-period.enum.d.ts +8 -8
- package/lib/event/co-drag-event.d.ts +5 -5
- package/lib/event/co-drop-event.d.ts +8 -8
- package/lib/interface/key-value-pair.d.ts +4 -4
- package/lib/interface/operation-callback-simple-function.d.ts +4 -4
- package/lib/localization/localization.module.d.ts +2 -2
- package/lib/localization/localize.pipe.d.ts +7 -7
- package/lib/localization/localize.service.d.ts +7 -7
- package/lib/localization/translation.d.ts +2 -2
- package/lib/model/agenda-event-per-day.model.d.ts +5 -5
- package/lib/model/agenda-event.model.d.ts +17 -17
- package/lib/model/agenda-null-objects.d.ts +10 -10
- package/lib/model/constant/all-months.d.ts +2 -2
- package/lib/model/date-range.d.ts +7 -7
- package/lib/model/day.model.d.ts +8 -8
- package/lib/model/icon-svg.d.ts +4 -4
- package/lib/model/month.model.d.ts +5 -5
- package/lib/model/send-method.d.ts +7 -7
- package/lib/model/settings.d.ts +3 -3
- package/lib/model/tag-tree-item.bo.d.ts +18 -18
- package/lib/model/time-window.bo.d.ts +13 -13
- package/lib/model/tree-object.d.ts +8 -8
- package/lib/model/week.model.d.ts +4 -4
- package/lib/model/weekday.model.d.ts +16 -16
- package/lib/pipe/array-number.pipe.d.ts +4 -4
- package/lib/pipe/file-type-image.pipe.d.ts +12 -12
- package/lib/pipe/master-pipes.d.ts +1 -1
- package/lib/pipe/ucfirst.pipe.d.ts +4 -4
- package/lib/service/dictionary.service.d.ts +21 -21
- package/lib/service/drag-drop.service.d.ts +86 -86
- package/lib/service/icon-cache.service.d.ts +18 -18
- package/lib/service/options.service.d.ts +13 -13
- package/lib/service/shared-connector.service.d.ts +55 -55
- package/lib/service/shared.service.d.ts +18 -18
- package/lib/service/stock.service.d.ts +41 -41
- package/lib/style/_mixin.scss +14 -14
- package/lib/style/_variables.scss +21 -21
- package/lib/style/sharedcomponents-globals.scss +10 -10
- package/lib/utils/array-utils.d.ts +63 -63
- package/lib/utils/calendar.utils.d.ts +10 -10
- package/lib/utils/check-precision-and-scale-result.d.ts +4 -4
- package/lib/utils/check-within-stepped-bounds-result.d.ts +8 -8
- package/lib/utils/co-document-shared-field-logic.d.ts +7 -7
- package/lib/utils/date-utils.d.ts +44 -44
- package/lib/utils/enum-utils.d.ts +31 -31
- package/lib/utils/function/not-nill.function.d.ts +1 -1
- package/lib/utils/is-nill.function.d.ts +1 -1
- package/lib/utils/map-utils.d.ts +16 -16
- package/lib/utils/number-utils.d.ts +125 -125
- package/lib/utils/object-utils.d.ts +40 -40
- package/lib/utils/ref-code-utils.d.ts +10 -10
- package/lib/utils/string-utils.d.ts +38 -38
- package/package.json +6 -6
- package/public-api.d.ts +27 -27
- package/3rdpartylicenses.txt +0 -1200
- package/favicon.ico +0 -0
- package/index.html +0 -12
- package/main.b63cf8c6791cb3e37f3c.js +0 -1
- package/polyfills.907fe9d1887c5de17993.js +0 -1
- package/runtime.8aac21847ed3d3829cca.js +0 -1
- package/styles.6807e7b997183dacbe3b.css +0 -1
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
import { Component, ElementRef, HostBinding, Input, ViewChildren, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { ArcElement, Chart, DoughnutController } from 'chart.js';
|
|
3
|
-
Chart.register(DoughnutController, ArcElement);
|
|
4
|
-
export var GaugeColor;
|
|
5
|
-
(function (GaugeColor) {
|
|
6
|
-
GaugeColor["Lowest"] = "#E0E0E0";
|
|
7
|
-
GaugeColor["Low"] = "#fff7b8";
|
|
8
|
-
GaugeColor["MediumLow"] = "#ffe367";
|
|
9
|
-
GaugeColor["MediumHigh"] = "#ffc15b";
|
|
10
|
-
GaugeColor["High"] = "#F88952";
|
|
11
|
-
GaugeColor["Highest"] = "#5FDCB3";
|
|
12
|
-
})(GaugeColor || (GaugeColor = {}));
|
|
13
|
-
export class StatusbarPopupComponent {
|
|
14
|
-
constructor() {
|
|
15
|
-
this.statusbarData = [];
|
|
16
|
-
this.showClass = true;
|
|
17
|
-
this.doughnutCharts = [];
|
|
18
|
-
}
|
|
19
|
-
set content(content) {
|
|
20
|
-
this.doughnutCharts = content.toArray();
|
|
21
|
-
this._prepareChartData();
|
|
22
|
-
}
|
|
23
|
-
ngOnInit() {
|
|
24
|
-
this._prepareChartData();
|
|
25
|
-
}
|
|
26
|
-
_prepareChartData() {
|
|
27
|
-
if (!this.doughnutCharts || this.doughnutCharts.length === 0) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
this.doughnutCharts.forEach((chart, index) => {
|
|
31
|
-
new Chart(chart.nativeElement, {
|
|
32
|
-
type: 'doughnut',
|
|
33
|
-
data: {
|
|
34
|
-
datasets: [{
|
|
35
|
-
label: this.statusbarData[index].label,
|
|
36
|
-
data: [Math.max(0.0001, this.statusbarData[index].percentage), 100 - Math.max(0.0001, this.statusbarData[index].percentage)],
|
|
37
|
-
backgroundColor: [
|
|
38
|
-
this._getColor(this.statusbarData[index].percentage),
|
|
39
|
-
this._getColor(-1),
|
|
40
|
-
],
|
|
41
|
-
borderWidth: 1
|
|
42
|
-
}]
|
|
43
|
-
},
|
|
44
|
-
options: {
|
|
45
|
-
cutout: '70%'
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
_getColor(value) {
|
|
51
|
-
if (value <= 0) {
|
|
52
|
-
return GaugeColor.Lowest;
|
|
53
|
-
}
|
|
54
|
-
else if (value >= 1 && value < 25) {
|
|
55
|
-
return GaugeColor.Low;
|
|
56
|
-
}
|
|
57
|
-
else if (value >= 25 && value < 50) {
|
|
58
|
-
return GaugeColor.MediumLow;
|
|
59
|
-
}
|
|
60
|
-
else if (value >= 50 && value < 75) {
|
|
61
|
-
return GaugeColor.MediumHigh;
|
|
62
|
-
}
|
|
63
|
-
else if (value >= 75 && value < 100) {
|
|
64
|
-
return GaugeColor.High;
|
|
65
|
-
}
|
|
66
|
-
else if (value >= 100) {
|
|
67
|
-
return GaugeColor.Highest;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
StatusbarPopupComponent.decorators = [
|
|
72
|
-
{ type: Component, args: [{
|
|
73
|
-
selector: "co-statusbar-popup",
|
|
74
|
-
template: `
|
|
75
|
-
<div class="co-statusbar-popup-wrapper" [overlay]="parentForOverlay">
|
|
76
|
-
<div class="status-descriptions">
|
|
77
|
-
<div *ngFor="let data of statusbarData; let index = index" class="status-description">
|
|
78
|
-
<div class="statusbar-canvas-wrapper">
|
|
79
|
-
<canvas #doughnutCanvas class="chart-canvas"></canvas>
|
|
80
|
-
<span class="statusbar-inner-canvas-label" [textContent]="data.percentage"></span>
|
|
81
|
-
</div>
|
|
82
|
-
<span class="statusbar-description" [textContent]="data.label"></span>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
`,
|
|
87
|
-
encapsulation: ViewEncapsulation.None
|
|
88
|
-
},] }
|
|
89
|
-
];
|
|
90
|
-
StatusbarPopupComponent.propDecorators = {
|
|
91
|
-
content: [{ type: ViewChildren, args: ['doughnutCanvas', { read: ElementRef },] }],
|
|
92
|
-
defaultColor: [{ type: Input }],
|
|
93
|
-
statusbarData: [{ type: Input }],
|
|
94
|
-
parentForOverlay: [{ type: Input }],
|
|
95
|
-
showClass: [{ type: HostBinding, args: ["class.co-statusbar-popup",] }]
|
|
96
|
-
};
|
|
97
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, ElementRef, HostBinding, Input, ViewChildren, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import { ArcElement, Chart, DoughnutController } from 'chart.js';
|
|
3
|
+
Chart.register(DoughnutController, ArcElement);
|
|
4
|
+
export var GaugeColor;
|
|
5
|
+
(function (GaugeColor) {
|
|
6
|
+
GaugeColor["Lowest"] = "#E0E0E0";
|
|
7
|
+
GaugeColor["Low"] = "#fff7b8";
|
|
8
|
+
GaugeColor["MediumLow"] = "#ffe367";
|
|
9
|
+
GaugeColor["MediumHigh"] = "#ffc15b";
|
|
10
|
+
GaugeColor["High"] = "#F88952";
|
|
11
|
+
GaugeColor["Highest"] = "#5FDCB3";
|
|
12
|
+
})(GaugeColor || (GaugeColor = {}));
|
|
13
|
+
export class StatusbarPopupComponent {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.statusbarData = [];
|
|
16
|
+
this.showClass = true;
|
|
17
|
+
this.doughnutCharts = [];
|
|
18
|
+
}
|
|
19
|
+
set content(content) {
|
|
20
|
+
this.doughnutCharts = content.toArray();
|
|
21
|
+
this._prepareChartData();
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this._prepareChartData();
|
|
25
|
+
}
|
|
26
|
+
_prepareChartData() {
|
|
27
|
+
if (!this.doughnutCharts || this.doughnutCharts.length === 0) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
this.doughnutCharts.forEach((chart, index) => {
|
|
31
|
+
new Chart(chart.nativeElement, {
|
|
32
|
+
type: 'doughnut',
|
|
33
|
+
data: {
|
|
34
|
+
datasets: [{
|
|
35
|
+
label: this.statusbarData[index].label,
|
|
36
|
+
data: [Math.max(0.0001, this.statusbarData[index].percentage), 100 - Math.max(0.0001, this.statusbarData[index].percentage)],
|
|
37
|
+
backgroundColor: [
|
|
38
|
+
this._getColor(this.statusbarData[index].percentage),
|
|
39
|
+
this._getColor(-1),
|
|
40
|
+
],
|
|
41
|
+
borderWidth: 1
|
|
42
|
+
}]
|
|
43
|
+
},
|
|
44
|
+
options: {
|
|
45
|
+
cutout: '70%'
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
_getColor(value) {
|
|
51
|
+
if (value <= 0) {
|
|
52
|
+
return GaugeColor.Lowest;
|
|
53
|
+
}
|
|
54
|
+
else if (value >= 1 && value < 25) {
|
|
55
|
+
return GaugeColor.Low;
|
|
56
|
+
}
|
|
57
|
+
else if (value >= 25 && value < 50) {
|
|
58
|
+
return GaugeColor.MediumLow;
|
|
59
|
+
}
|
|
60
|
+
else if (value >= 50 && value < 75) {
|
|
61
|
+
return GaugeColor.MediumHigh;
|
|
62
|
+
}
|
|
63
|
+
else if (value >= 75 && value < 100) {
|
|
64
|
+
return GaugeColor.High;
|
|
65
|
+
}
|
|
66
|
+
else if (value >= 100) {
|
|
67
|
+
return GaugeColor.Highest;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
StatusbarPopupComponent.decorators = [
|
|
72
|
+
{ type: Component, args: [{
|
|
73
|
+
selector: "co-statusbar-popup",
|
|
74
|
+
template: `
|
|
75
|
+
<div class="co-statusbar-popup-wrapper" [overlay]="parentForOverlay">
|
|
76
|
+
<div class="status-descriptions">
|
|
77
|
+
<div *ngFor="let data of statusbarData; let index = index" class="status-description">
|
|
78
|
+
<div class="statusbar-canvas-wrapper">
|
|
79
|
+
<canvas #doughnutCanvas class="chart-canvas"></canvas>
|
|
80
|
+
<span class="statusbar-inner-canvas-label" [textContent]="data.percentage"></span>
|
|
81
|
+
</div>
|
|
82
|
+
<span class="statusbar-description" [textContent]="data.label"></span>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
`,
|
|
87
|
+
encapsulation: ViewEncapsulation.None
|
|
88
|
+
},] }
|
|
89
|
+
];
|
|
90
|
+
StatusbarPopupComponent.propDecorators = {
|
|
91
|
+
content: [{ type: ViewChildren, args: ['doughnutCanvas', { read: ElementRef },] }],
|
|
92
|
+
defaultColor: [{ type: Input }],
|
|
93
|
+
statusbarData: [{ type: Input }],
|
|
94
|
+
parentForOverlay: [{ type: Input }],
|
|
95
|
+
showClass: [{ type: HostBinding, args: ["class.co-statusbar-popup",] }]
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzYmFyLXBvcHVwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N0YXR1c2Jhci9zdGF0dXNiYXItcG9wdXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsVUFBVSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQXFCLFlBQVksRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUU1SCx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oYXJ0RGF0YSgpO1xuICAgIH1cblxuICAgIHByaXZhdGUgX3ByZXBhcmVDaGFydERhdGEoKTogdm9pZCB7XG4gICAgICAgIGlmICghdGhpcy5kb3VnaG51dENoYXJ0cyB8fCB0aGlzLmRvdWdobnV0Q2hhcnRzLmxlbmd0aCA9PT0gMCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG4gICAgICAgIHRoaXMuZG91Z2hudXRDaGFydHMuZm9yRWFjaCgoY2hhcnQ6IEVsZW1lbnRSZWYsIGluZGV4OiBudW1iZXIpID0+IHtcbiAgICAgICAgICAgIG5ldyBDaGFydChjaGFydC5uYXRpdmVFbGVtZW50LCB7XG4gICAgICAgICAgICAgICAgdHlwZTogJ2RvdWdobnV0JyxcbiAgICAgICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgICAgIGRhdGFzZXRzOiBbe1xuICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWw6IHRoaXMuc3RhdHVzYmFyRGF0YVtpbmRleF0ubGFiZWwsXG4gICAgICAgICAgICAgICAgICAgICAgICBkYXRhOiBbTWF0aC5tYXgoMC4wMDAxLCB0aGlzLnN0YXR1c2JhckRhdGFbaW5kZXhdLnBlcmNlbnRhZ2UpLCAxMDAgLSBNYXRoLm1heCgwLjAwMDEsIHRoaXMuc3RhdHVzYmFyRGF0YVtpbmRleF0ucGVyY2VudGFnZSldLFxuICAgICAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZENvbG9yOiBbXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5fZ2V0Q29sb3IodGhpcy5zdGF0dXNiYXJEYXRhW2luZGV4XS5wZXJjZW50YWdlKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9nZXRDb2xvcigtMSksXG4gICAgICAgICAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgICAgICAgICAgYm9yZGVyV2lkdGg6IDFcbiAgICAgICAgICAgICAgICAgICAgfV1cbiAgICAgICAgICAgICAgICB9LFxuICAgICAgICAgICAgICAgIG9wdGlvbnM6IHtcbiAgICAgICAgICAgICAgICAgICAgY3V0b3V0OiAnNzAlJ1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9KVxuICAgIH1cblxuICAgIHByaXZhdGUgX2dldENvbG9yKHZhbHVlOiBudW1iZXIpOiBzdHJpbmcge1xuICAgICAgICBpZiAodmFsdWUgPD0gMCkge1xuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuTG93ZXN0O1xuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDEgJiYgdmFsdWUgPCAyNSkge1xuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuTG93O1xuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDI1ICYmIHZhbHVlIDwgNTApIHtcbiAgICAgICAgICAgIHJldHVybiBHYXVnZUNvbG9yLk1lZGl1bUxvdztcbiAgICAgICAgfSBlbHNlIGlmICh2YWx1ZSA+PSA1MCAmJiB2YWx1ZSA8IDc1KSB7XG4gICAgICAgICAgICByZXR1cm4gR2F1Z2VDb2xvci5NZWRpdW1IaWdoO1xuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDc1ICYmIHZhbHVlIDwgMTAwKSB7XG4gICAgICAgICAgICByZXR1cm4gR2F1Z2VDb2xvci5IaWdoO1xuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDEwMCkge1xuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuSGlnaGVzdDtcbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import { animate, state, style, transition, trigger } from "@angular/animations";
|
|
2
|
-
import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
3
|
-
import { OverlayService } from '@colijnit/corecomponents_v12';
|
|
4
|
-
import { StatusbarPopupComponent } from './statusbar-popup.component';
|
|
5
|
-
export class StatusbarComponent {
|
|
6
|
-
constructor(_elementRef, _overlayService) {
|
|
7
|
-
this._elementRef = _elementRef;
|
|
8
|
-
this._overlayService = _overlayService;
|
|
9
|
-
this.statusbarClick = new EventEmitter();
|
|
10
|
-
this.popupShowing = false;
|
|
11
|
-
}
|
|
12
|
-
set statusbarData(value) {
|
|
13
|
-
this._statusbarData = value;
|
|
14
|
-
this.adjustTooHighPercentages();
|
|
15
|
-
}
|
|
16
|
-
get statusbarData() {
|
|
17
|
-
return this._statusbarData;
|
|
18
|
-
}
|
|
19
|
-
showClass() {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
handleClick(event) {
|
|
23
|
-
this.handleShowPopup(event);
|
|
24
|
-
}
|
|
25
|
-
handleShowPopup(event) {
|
|
26
|
-
if (this.popupShowing) {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
event.preventDefault();
|
|
30
|
-
event.stopPropagation();
|
|
31
|
-
this._statusbarPopupComponentRef = this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData, defaultColor: this.defaultColor });
|
|
32
|
-
this.popupShowing = true;
|
|
33
|
-
}
|
|
34
|
-
handleHidePopup() {
|
|
35
|
-
this._overlayService.removeComponent(this._statusbarPopupComponentRef);
|
|
36
|
-
this.popupShowing = false;
|
|
37
|
-
}
|
|
38
|
-
adjustTooHighPercentages() {
|
|
39
|
-
this._statusbarData.forEach(data => data.percentage > 100 ? data.percentage = 100 : false);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
StatusbarComponent.decorators = [
|
|
43
|
-
{ type: Component, args: [{
|
|
44
|
-
selector: "co-statusbar",
|
|
45
|
-
template: `
|
|
46
|
-
<div class="co-statusbar-wrapper" *ngIf="statusbarData" [clickOutside]="popupShowing"
|
|
47
|
-
(clickOutside)="handleHidePopup()">
|
|
48
|
-
<div class="statuses">
|
|
49
|
-
<div *ngFor="let data of statusbarData; let index = index" class="status">
|
|
50
|
-
<co-linear-gauge [class.focused-status]="focusedStatusIndex !== undefined && focusedStatusIndex === index"
|
|
51
|
-
[value]="data.percentage" [count]="data.count ? data.count : undefined"></co-linear-gauge>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
`,
|
|
56
|
-
providers: [
|
|
57
|
-
OverlayService
|
|
58
|
-
],
|
|
59
|
-
animations: [
|
|
60
|
-
trigger("showHidePopup", [
|
|
61
|
-
state("void", style({ opacity: 0 })),
|
|
62
|
-
state("*", style({ opacity: 1 })),
|
|
63
|
-
transition("void <=> *", animate("250ms ease-in-out")),
|
|
64
|
-
])
|
|
65
|
-
],
|
|
66
|
-
encapsulation: ViewEncapsulation.None
|
|
67
|
-
},] }
|
|
68
|
-
];
|
|
69
|
-
StatusbarComponent.ctorParameters = () => [
|
|
70
|
-
{ type: ElementRef },
|
|
71
|
-
{ type: OverlayService }
|
|
72
|
-
];
|
|
73
|
-
StatusbarComponent.propDecorators = {
|
|
74
|
-
statusbarData: [{ type: Input }],
|
|
75
|
-
defaultColor: [{ type: Input }],
|
|
76
|
-
focusedStatusIndex: [{ type: Input }],
|
|
77
|
-
statusbarClick: [{ type: Output }],
|
|
78
|
-
showClass: [{ type: HostBinding, args: ["class.co-statusbar",] }],
|
|
79
|
-
handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
|
|
80
|
-
};
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { animate, state, style, transition, trigger } from "@angular/animations";
|
|
2
|
+
import { Component, ElementRef, EventEmitter, HostBinding, HostListener, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
3
|
+
import { OverlayService } from '@colijnit/corecomponents_v12';
|
|
4
|
+
import { StatusbarPopupComponent } from './statusbar-popup.component';
|
|
5
|
+
export class StatusbarComponent {
|
|
6
|
+
constructor(_elementRef, _overlayService) {
|
|
7
|
+
this._elementRef = _elementRef;
|
|
8
|
+
this._overlayService = _overlayService;
|
|
9
|
+
this.statusbarClick = new EventEmitter();
|
|
10
|
+
this.popupShowing = false;
|
|
11
|
+
}
|
|
12
|
+
set statusbarData(value) {
|
|
13
|
+
this._statusbarData = value;
|
|
14
|
+
this.adjustTooHighPercentages();
|
|
15
|
+
}
|
|
16
|
+
get statusbarData() {
|
|
17
|
+
return this._statusbarData;
|
|
18
|
+
}
|
|
19
|
+
showClass() {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
handleClick(event) {
|
|
23
|
+
this.handleShowPopup(event);
|
|
24
|
+
}
|
|
25
|
+
handleShowPopup(event) {
|
|
26
|
+
if (this.popupShowing) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
event.preventDefault();
|
|
30
|
+
event.stopPropagation();
|
|
31
|
+
this._statusbarPopupComponentRef = this._overlayService.createComponent(StatusbarPopupComponent, { parentForOverlay: this._elementRef, statusbarData: this.statusbarData, defaultColor: this.defaultColor });
|
|
32
|
+
this.popupShowing = true;
|
|
33
|
+
}
|
|
34
|
+
handleHidePopup() {
|
|
35
|
+
this._overlayService.removeComponent(this._statusbarPopupComponentRef);
|
|
36
|
+
this.popupShowing = false;
|
|
37
|
+
}
|
|
38
|
+
adjustTooHighPercentages() {
|
|
39
|
+
this._statusbarData.forEach(data => data.percentage > 100 ? data.percentage = 100 : false);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
StatusbarComponent.decorators = [
|
|
43
|
+
{ type: Component, args: [{
|
|
44
|
+
selector: "co-statusbar",
|
|
45
|
+
template: `
|
|
46
|
+
<div class="co-statusbar-wrapper" *ngIf="statusbarData" [clickOutside]="popupShowing"
|
|
47
|
+
(clickOutside)="handleHidePopup()">
|
|
48
|
+
<div class="statuses">
|
|
49
|
+
<div *ngFor="let data of statusbarData; let index = index" class="status">
|
|
50
|
+
<co-linear-gauge [class.focused-status]="focusedStatusIndex !== undefined && focusedStatusIndex === index"
|
|
51
|
+
[value]="data.percentage" [count]="data.count ? data.count : undefined"></co-linear-gauge>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
`,
|
|
56
|
+
providers: [
|
|
57
|
+
OverlayService
|
|
58
|
+
],
|
|
59
|
+
animations: [
|
|
60
|
+
trigger("showHidePopup", [
|
|
61
|
+
state("void", style({ opacity: 0 })),
|
|
62
|
+
state("*", style({ opacity: 1 })),
|
|
63
|
+
transition("void <=> *", animate("250ms ease-in-out")),
|
|
64
|
+
])
|
|
65
|
+
],
|
|
66
|
+
encapsulation: ViewEncapsulation.None
|
|
67
|
+
},] }
|
|
68
|
+
];
|
|
69
|
+
StatusbarComponent.ctorParameters = () => [
|
|
70
|
+
{ type: ElementRef },
|
|
71
|
+
{ type: OverlayService }
|
|
72
|
+
];
|
|
73
|
+
StatusbarComponent.propDecorators = {
|
|
74
|
+
statusbarData: [{ type: Input }],
|
|
75
|
+
defaultColor: [{ type: Input }],
|
|
76
|
+
focusedStatusIndex: [{ type: Input }],
|
|
77
|
+
statusbarClick: [{ type: Output }],
|
|
78
|
+
showClass: [{ type: HostBinding, args: ["class.co-statusbar",] }],
|
|
79
|
+
handleClick: [{ type: HostListener, args: ["click", ["$event"],] }]
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N0YXR1c2Jhci9zdGF0dXNiYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxF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biAgcHVibGljIGFkanVzdFRvb0hpZ2hQZXJjZW50YWdlcygpOiB2b2lkIHtcbiAgICB0aGlzLl9zdGF0dXNiYXJEYXRhLmZvckVhY2goZGF0YSA9PiBkYXRhLnBlcmNlbnRhZ2UgPiAxMDAgPyBkYXRhLnBlcmNlbnRhZ2UgPSAxMDAgOiBmYWxzZSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ClickoutsideModule, OverlayModule } from '@colijnit/corecomponents_v12';
|
|
4
|
-
import { CoLinearGaugeModule } from '../linear-gauge/co-linear-gauge.module';
|
|
5
|
-
import { StatusbarComponent } from './statusbar.component';
|
|
6
|
-
import { StatusbarPopupComponent } from './statusbar-popup.component';
|
|
7
|
-
export class StatusbarModule {
|
|
8
|
-
}
|
|
9
|
-
StatusbarModule.decorators = [
|
|
10
|
-
{ type: NgModule, args: [{
|
|
11
|
-
imports: [
|
|
12
|
-
CommonModule,
|
|
13
|
-
CoLinearGaugeModule,
|
|
14
|
-
ClickoutsideModule,
|
|
15
|
-
OverlayModule
|
|
16
|
-
],
|
|
17
|
-
declarations: [
|
|
18
|
-
StatusbarComponent,
|
|
19
|
-
StatusbarPopupComponent
|
|
20
|
-
],
|
|
21
|
-
exports: [
|
|
22
|
-
StatusbarComponent,
|
|
23
|
-
StatusbarPopupComponent
|
|
24
|
-
]
|
|
25
|
-
},] }
|
|
26
|
-
];
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ClickoutsideModule, OverlayModule } from '@colijnit/corecomponents_v12';
|
|
4
|
+
import { CoLinearGaugeModule } from '../linear-gauge/co-linear-gauge.module';
|
|
5
|
+
import { StatusbarComponent } from './statusbar.component';
|
|
6
|
+
import { StatusbarPopupComponent } from './statusbar-popup.component';
|
|
7
|
+
export class StatusbarModule {
|
|
8
|
+
}
|
|
9
|
+
StatusbarModule.decorators = [
|
|
10
|
+
{ type: NgModule, args: [{
|
|
11
|
+
imports: [
|
|
12
|
+
CommonModule,
|
|
13
|
+
CoLinearGaugeModule,
|
|
14
|
+
ClickoutsideModule,
|
|
15
|
+
OverlayModule
|
|
16
|
+
],
|
|
17
|
+
declarations: [
|
|
18
|
+
StatusbarComponent,
|
|
19
|
+
StatusbarPopupComponent
|
|
20
|
+
],
|
|
21
|
+
exports: [
|
|
22
|
+
StatusbarComponent,
|
|
23
|
+
StatusbarPopupComponent
|
|
24
|
+
]
|
|
25
|
+
},] }
|
|
26
|
+
];
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzYmFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N0YXR1c2Jhci9zdGF0dXNiYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxrQkFBa0IsRUFBRSxhQUFhLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQUMvRSxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSx3Q0FBd0MsQ0FBQztBQUMzRSxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUN6RCxPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSw2QkFBNkIsQ0FBQztBQWtCcEUsTUFBTSxPQUFPLGVB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Qb3B1cENvbXBvbmVudFxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBTdGF0dXNiYXJDb21wb25lbnQsXG4gICAgICAgIFN0YXR1c2JhclBvcHVwQ29tcG9uZW50XG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBTdGF0dXNiYXJNb2R1bGUge1xufVxuIl19
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
3
|
-
import { Icon } from "../../../../enum/icon.enum";
|
|
4
|
-
export class AllocationStockHistoryComponent {
|
|
5
|
-
constructor(iconCacheService) {
|
|
6
|
-
this.iconCacheService = iconCacheService;
|
|
7
|
-
this.icons = Icon;
|
|
8
|
-
this.allocationStockHistory = [];
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
AllocationStockHistoryComponent.decorators = [
|
|
12
|
-
{ type: Component, args: [{
|
|
13
|
-
selector: "co-allocation-stock-history",
|
|
14
|
-
template: `
|
|
15
|
-
<co-simple-grid [data]="allocationStockHistory"
|
|
16
|
-
class="simple-grid"
|
|
17
|
-
[rowsPerPage]="20"
|
|
18
|
-
>
|
|
19
|
-
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
20
|
-
<ng-template #template let-row="row">
|
|
21
|
-
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
22
|
-
</ng-template>
|
|
23
|
-
</co-simple-grid-column>
|
|
24
|
-
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
25
|
-
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
26
|
-
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
27
|
-
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
28
|
-
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
29
|
-
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'transLineNr'"></co-simple-grid-column>
|
|
30
|
-
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
31
|
-
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
32
|
-
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
33
|
-
<co-simple-grid-column [headerText]="'RELATION_NR' | localize" [field]="'relationNr'"></co-simple-grid-column>
|
|
34
|
-
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
35
|
-
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
36
|
-
</co-simple-grid>
|
|
37
|
-
`,
|
|
38
|
-
encapsulation: ViewEncapsulation.None
|
|
39
|
-
},] }
|
|
40
|
-
];
|
|
41
|
-
AllocationStockHistoryComponent.ctorParameters = () => [
|
|
42
|
-
{ type: IconCacheService }
|
|
43
|
-
];
|
|
44
|
-
AllocationStockHistoryComponent.propDecorators = {
|
|
45
|
-
allocationStockHistory: [{ type: Input }]
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
+
import { IconCacheService } from "../../../../service/icon-cache.service";
|
|
3
|
+
import { Icon } from "../../../../enum/icon.enum";
|
|
4
|
+
export class AllocationStockHistoryComponent {
|
|
5
|
+
constructor(iconCacheService) {
|
|
6
|
+
this.iconCacheService = iconCacheService;
|
|
7
|
+
this.icons = Icon;
|
|
8
|
+
this.allocationStockHistory = [];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
AllocationStockHistoryComponent.decorators = [
|
|
12
|
+
{ type: Component, args: [{
|
|
13
|
+
selector: "co-allocation-stock-history",
|
|
14
|
+
template: `
|
|
15
|
+
<co-simple-grid [data]="allocationStockHistory"
|
|
16
|
+
class="simple-grid"
|
|
17
|
+
[rowsPerPage]="20"
|
|
18
|
+
>
|
|
19
|
+
<co-simple-grid-column [headerText]="'MUTATION_DATE' | localize">
|
|
20
|
+
<ng-template #template let-row="row">
|
|
21
|
+
<span [textContent]="row.mutationDate | date:'dd-MM-yyyy'"></span>
|
|
22
|
+
</ng-template>
|
|
23
|
+
</co-simple-grid-column>
|
|
24
|
+
<co-simple-grid-column [headerText]="'MUTATION_TIME' | localize" [field]="'mutationTime'"></co-simple-grid-column>
|
|
25
|
+
<co-simple-grid-column [headerText]="'AMOUNT' | localize" [field]="'amount'"></co-simple-grid-column>
|
|
26
|
+
<co-simple-grid-column [headerText]="'WAREHOUSE' | localize" [field]="'wareHouseNr'"></co-simple-grid-column>
|
|
27
|
+
<co-simple-grid-column [headerText]="'LOCATION' | localize" [field]="'locationNr'"></co-simple-grid-column>
|
|
28
|
+
<co-simple-grid-column [headerText]="'DOCUMENT_NUMBER' | localize" [field]="'docNr'"></co-simple-grid-column>
|
|
29
|
+
<co-simple-grid-column [headerText]="'LINE' | localize" [field]="'transLineNr'"></co-simple-grid-column>
|
|
30
|
+
<co-simple-grid-column [headerText]="'STOCK_STATE' | localize" [field]="'stockStateId'"></co-simple-grid-column>
|
|
31
|
+
<co-simple-grid-column [headerText]="'STOCK_REMARK' | localize" [field]="'stockStateRemarkId'"></co-simple-grid-column>
|
|
32
|
+
<co-simple-grid-column [headerText]="'VALUTA' | localize" [field]="'currencyCode'"></co-simple-grid-column>
|
|
33
|
+
<co-simple-grid-column [headerText]="'RELATION_NR' | localize" [field]="'relationNr'"></co-simple-grid-column>
|
|
34
|
+
<co-simple-grid-column [headerText]="'USER' | localize" [field]="'user'"></co-simple-grid-column>
|
|
35
|
+
<co-simple-grid-column [headerText]="'MUTATION_TYPE' | localize" [field]="'mutationType'"></co-simple-grid-column>
|
|
36
|
+
</co-simple-grid>
|
|
37
|
+
`,
|
|
38
|
+
encapsulation: ViewEncapsulation.None
|
|
39
|
+
},] }
|
|
40
|
+
];
|
|
41
|
+
AllocationStockHistoryComponent.ctorParameters = () => [
|
|
42
|
+
{ type: IconCacheService }
|
|
43
|
+
];
|
|
44
|
+
AllocationStockHistoryComponent.propDecorators = {
|
|
45
|
+
allocationStockHistory: [{ type: Input }]
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1zdG9jay1oaXN0b3J5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NoYXJlZGNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL3N0b2NrL2NvbXBvbmVudHMvYWxsb2NhdGlvbi1zdG9jay1oaXN0b3J5L2FsbG9jYXRpb24tc3RvY2staGlzdG9yeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDbEUsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU0sd0NBQXdDLENBQUM7QUFFeEUsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBOEJoRCxNQUFNLE9BQU8sK0JBQStCO0lBTTFDLFlBQ1MsZ0JBQWtDO1FBQWxDLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFOM0IsVUFBSyxHQUFnQixJQUFJLENBQUM7UUFHbkMsMkJBQXNCLEdBQXFCLEVBQUUsQ0FBQztJQUtyRCxDQUFDOz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