@colijnit/sharedcomponents 1.0.61 → 1.0.63
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/3rdpartylicenses.txt +1200 -0
- package/README.md +24 -24
- package/bundles/colijnit-sharedcomponents.umd.js +9887 -9851
- 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 -240
- 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 -41
- package/esm2015/lib/components/stock/localization/translation.js +70 -63
- 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 +49 -48
- 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 -241
- 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 -149
- package/esm2015/lib/components/stock/stock.component.js +238 -193
- 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 -88
- 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 +48 -44
- 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 +47 -43
- 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/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +10410 -10328
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- 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 -50
- 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 -9
- package/lib/components/stock/localization/translation.d.ts +67 -60
- 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 -8
- 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 -42
- package/lib/components/stock/stock.component.d.ts +64 -57
- package/lib/components/stock/stock.module.d.ts +2 -2
- package/lib/components/stock/style/_layout.scss +421 -286
- package/lib/components/stock/style/_material-definition.scss +25 -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 +78 -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 -42
- 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/main.b63cf8c6791cb3e37f3c.js +1 -0
- package/package.json +1 -1
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/public-api.d.ts +27 -27
- package/runtime.8aac21847ed3d3829cca.js +1 -0
- package/styles.6807e7b997183dacbe3b.css +1 -0
|
@@ -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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yRGF0YVtpbmRleF0ucGVyY2VudGFnZSksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLl9nZXRDb2xvcigtMSksXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIF0sXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGJvcmRlcldpZHRoOiAxXHJcbiAgICAgICAgICAgICAgICAgICAgfV1cclxuICAgICAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgICAgICBvcHRpb25zOiB7XHJcbiAgICAgICAgICAgICAgICAgICAgY3V0b3V0OiAnNzAlJ1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB9KTtcclxuICAgICAgICB9KVxyXG4gICAgfVxyXG5cclxuICAgIHByaXZhdGUgX2dldENvbG9yKHZhbHVlOiBudW1iZXIpOiBzdHJpbmcge1xyXG4gICAgICAgIGlmICh2YWx1ZSA8PSAwKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBHYXVnZUNvbG9yLkxvd2VzdDtcclxuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDEgJiYgdmFsdWUgPCAyNSkge1xyXG4gICAgICAgICAgICByZXR1cm4gR2F1Z2VDb2xvci5Mb3c7XHJcbiAgICAgICAgfSBlbHNlIGlmICh2YWx1ZSA+PSAyNSAmJiB2YWx1ZSA8IDUwKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBHYXVnZUNvbG9yLk1lZGl1bUxvdztcclxuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDUwICYmIHZhbHVlIDwgNzUpIHtcclxuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuTWVkaXVtSGlnaDtcclxuICAgICAgICB9IGVsc2UgaWYgKHZhbHVlID49IDc1ICYmIHZhbHVlIDwgMTAwKSB7XHJcbiAgICAgICAgICAgIHJldHVybiBHYXVnZUNvbG9yLkhpZ2g7XHJcbiAgICAgICAgfSBlbHNlIGlmICh2YWx1ZSA+PSAxMDApIHtcclxuICAgICAgICAgICAgcmV0dXJuIEdhdWdlQ29sb3IuSGlnaGVzdDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbn1cclxuIl19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJz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HVwQ29tcG9uZW50UmVmID0gdGhpcy5fb3ZlcmxheVNlcnZpY2UuY3JlYXRlQ29tcG9uZW50KFN0YXR1c2JhclBvcHVwQ29tcG9uZW50LCB7cGFyZW50Rm9yT3ZlcmxheTogdGhpcy5fZWxlbWVudFJlZiwgc3RhdHVzYmFyRGF0YTogdGhpcy5zdGF0dXNiYXJEYXRhLCBkZWZhdWx0Q29sb3I6IHRoaXMuZGVmYXVsdENvbG9yfSk7XHJcbiAgICB0aGlzLnBvcHVwU2hvd2luZyA9IHRydWU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgaGFuZGxlSGlkZVBvcHVwKCk6IHZvaWQge1xyXG4gICAgdGhpcy5fb3ZlcmxheVNlcnZpY2UucmVtb3ZlQ29tcG9uZW50KHRoaXMuX3N0YXR1c2JhclBvcHVwQ29tcG9uZW50UmVmKTtcclxuICAgIHRoaXMucG9wdXBTaG93aW5nID0gZmFsc2U7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgYWRqdXN0VG9vSGlnaFBlcmNlbnRhZ2VzKCk6IHZvaWQge1xyXG4gICAgdGhpcy5fc3RhdHVzYmFyRGF0YS5mb3JFYWNoKGRhdGEgPT4gZGF0YS5wZXJjZW50YWdlID4gMTAwID8gZGF0YS5wZXJjZW50YWdlID0gMTAwIDogZmFsc2UpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzYmFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3Rz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vTGluZWFyR2F1Z2VNb2R1bGV9IGZyb20gJy4uL2xpbmVhci1nYXVnZS9jby1saW5lYXItZ2F1Z2UubW9kdWxlJztcclxuaW1wb3J0IHtTdGF0dXNiYXJDb21wb25lbnR9IGZyb20gJy4vc3RhdHVzYmFyLmNvbXBvbmVudCc7XHJcbmltcG9ydCB7U3RhdHVzYmFyUG9wdXBDb21wb25lbnR9IGZyb20gJy4vc3RhdHVzYmFyLXBvcHVwLmNvbXBvbmVudCc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gICAgaW1wb3J0czogW1xyXG4gICAgICAgIENvbW1vbk1vZHVsZSxcclxuICAgICAgICBDb0xpbmVhckdhdWdlTW9kdWxlLFxyXG4gICAgICAgIENsaWNrb3V0c2lkZU1vZHVsZSxcclxuICAgICAgICBPdmVybGF5TW9kdWxlXHJcbiAgICBdLFxyXG4gICAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICAgICAgU3RhdHVzYmFyQ29tcG9uZW50LFxyXG4gICAgICAgIFN0YXR1c2JhclBvcHVwQ29tcG9uZW50XHJcbiAgICBdLFxyXG4gICAgZXhwb3J0czogW1xyXG4gICAgICAgIFN0YXR1c2JhckNvbXBvbmVudCxcclxuICAgICAgICBTdGF0dXNiYXJQb3B1cENvbXBvbmVudFxyXG4gICAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgU3RhdHVzYmFyTW9kdWxlIHtcclxufVxyXG4iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsb2NhdGlvbi1zdG9jay1oaXN0b3J5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3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