@colijnit/sharedcomponents 1.0.24 → 1.0.25
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/.browserslistrc +16 -0
- package/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +11 -8
- package/Sharedcomponents.iml +11 -0
- package/angular.json +133 -0
- package/karma.conf.js +44 -0
- package/move-assets.js +14 -0
- package/package.json +74 -26
- package/projects/sharedcomponents/.browserslistrc +16 -0
- package/projects/sharedcomponents/README.md +24 -0
- package/projects/sharedcomponents/karma.conf.js +44 -0
- package/projects/sharedcomponents/ng-package.json +17 -0
- package/projects/sharedcomponents/package.json +18 -0
- package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +8 -0
- package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +8 -0
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +4 -0
- package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +1 -0
- package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +12 -0
- package/projects/sharedcomponents/src/lib/assets/icons/email.svg +5 -0
- package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +15 -0
- package/projects/sharedcomponents/src/lib/assets/icons/print.svg +10 -0
- package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +9 -0
- package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +9 -0
- package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.component.ts +139 -0
- package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.module.ts +19 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/circular-gauge/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +68 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +31 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +67 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +48 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +81 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +265 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +38 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +50 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +46 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +65 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +38 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +63 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +46 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/style/_layout.scss +443 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/style/_material-definition.scss +11 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/style/_theme.scss +7 -0
- package/{lib/components/layout-switcher → projects/sharedcomponents/src/lib/components/date-planning/component/agenda}/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +37 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +52 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +124 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +201 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +35 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/style/_layout.scss +167 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/style/_material-definition.scss +7 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/style/_theme.scss +7 -0
- package/{lib/components/linear-gauge → projects/sharedcomponents/src/lib/components/date-planning/component/calendar}/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +133 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +56 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/style/_layout.scss +47 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/style/_material-definition.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/style/_theme.scss +7 -0
- package/projects/sharedcomponents/src/lib/components/date-planning/style/material.scss +5 -0
- package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +82 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signature/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +50 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/component/signatures/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +252 -0
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +22 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/docsign/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +205 -0
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +19 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/key-pad/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +98 -0
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +21 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/layout-switcher/style/_theme.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/layout-switcher/style/material.scss +5 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +56 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +17 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/linear-gauge/style/_theme.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/linear-gauge/style/material.scss +5 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/enums/send-option.ts +6 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +342 -0
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +33 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/send-method-dialog/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +97 -0
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +21 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/statusbar/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-in-order/stock-in-order.component.ts +0 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-information/stock-information.component.ts +64 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +384 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-location/stock-location.component.ts +84 -0
- package/{lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts → projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts} +2 -2
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +73 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +153 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +165 -0
- package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +51 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_layout.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_material-definition.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/_theme.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/components/stock/style/material.scss +0 -0
- package/projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts +6 -0
- package/{lib/enum/icon.enum.d.ts → projects/sharedcomponents/src/lib/enum/icon.enum.ts} +5 -2
- package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +30 -0
- package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +6 -0
- package/projects/sharedcomponents/src/lib/enum/month.enum.ts +15 -0
- package/projects/sharedcomponents/src/lib/enum/time-period.enum.ts +9 -0
- package/projects/sharedcomponents/src/lib/factory/business-object-factory.ts +120 -0
- package/projects/sharedcomponents/src/lib/factory/decorators/boolean.decorator.ts +113 -0
- package/projects/sharedcomponents/src/lib/factory/decorators/complex-array.decorator.ts +61 -0
- package/projects/sharedcomponents/src/lib/factory/decorators/complex-field.decorator.ts +63 -0
- package/projects/sharedcomponents/src/lib/factory/decorators/date-field.decorator.ts +41 -0
- package/projects/sharedcomponents/src/lib/factory/decorators/string-number.decorator.ts +48 -0
- package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +6 -0
- package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +17 -0
- package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +11 -0
- package/projects/sharedcomponents/src/lib/model/business-object.ts +85 -0
- package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +17 -0
- package/projects/sharedcomponents/src/lib/model/date-range.ts +10 -0
- package/projects/sharedcomponents/src/lib/model/day.model.ts +9 -0
- package/projects/sharedcomponents/src/lib/model/icon-svg.ts +18 -0
- package/projects/sharedcomponents/src/lib/model/month.model.ts +11 -0
- package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +21 -0
- package/projects/sharedcomponents/src/lib/model/week.model.ts +5 -0
- package/projects/sharedcomponents/src/lib/model/weekday.model.ts +17 -0
- package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +14 -0
- package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +7 -0
- package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +14 -0
- package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +86 -0
- package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +51 -0
- package/projects/sharedcomponents/src/lib/service/options.service.ts +66 -0
- package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +258 -0
- package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +29 -0
- package/projects/sharedcomponents/src/lib/service/shared.service.ts +21 -0
- package/projects/sharedcomponents/src/lib/service/stock.service.ts +95 -0
- package/{lib → projects/sharedcomponents/src/lib}/style/_mixin.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/style/_variables.scss +0 -0
- package/{lib → projects/sharedcomponents/src/lib}/style/sharedcomponents-globals.scss +0 -0
- package/projects/sharedcomponents/src/lib/utils/array-utils.ts +202 -0
- package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +75 -0
- package/projects/sharedcomponents/src/lib/utils/date-utils.ts +302 -0
- package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +4 -0
- package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +4 -0
- package/projects/sharedcomponents/src/lib/utils/string-utils.ts +67 -0
- package/{public-api.d.ts → projects/sharedcomponents/src/public-api.ts} +5 -0
- package/projects/sharedcomponents/src/test.ts +27 -0
- package/projects/sharedcomponents/tsconfig.lib.json +18 -0
- package/projects/sharedcomponents/tsconfig.lib.prod.json +10 -0
- package/projects/sharedcomponents/tsconfig.spec.json +17 -0
- package/script/merge-icons.js +39 -0
- package/src/app/app.component.scss +9 -0
- package/src/app/app.component.spec.ts +31 -0
- package/src/app/app.component.ts +156 -0
- package/src/app/app.module.ts +60 -0
- package/src/assets/.gitkeep +0 -0
- package/src/environments/environment.prod.ts +3 -0
- package/src/environments/environment.ts +16 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +13 -0
- package/src/main.ts +12 -0
- package/src/polyfills.ts +53 -0
- package/src/styles.scss +40 -0
- package/src/test.ts +26 -0
- package/tsconfig.app.json +15 -0
- package/tsconfig.json +65 -0
- package/tsconfig.spec.json +18 -0
- package/bundles/colijnit-sharedcomponents.umd.js +0 -3701
- package/bundles/colijnit-sharedcomponents.umd.js.map +0 -1
- package/colijnit-sharedcomponents.d.ts +0 -16
- package/colijnit-sharedcomponents.metadata.json +0 -1
- package/esm2015/colijnit-sharedcomponents.js +0 -17
- package/esm2015/lib/assets/dictionary/text.properties.js +0 -11
- package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +0 -125
- package/esm2015/lib/components/circular-gauge/co-circular-gauge.module.js +0 -21
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +0 -75
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +0 -44
- package/esm2015/lib/components/docsign/docsign.component.js +0 -225
- package/esm2015/lib/components/docsign/docsign.module.js +0 -23
- package/esm2015/lib/components/key-pad/key-pad.component.js +0 -191
- package/esm2015/lib/components/key-pad/key-pad.module.js +0 -21
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +0 -74
- package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +0 -21
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +0 -55
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +0 -19
- package/esm2015/lib/components/send-method-dialog/enums/send-option.js +0 -8
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +0 -309
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +0 -31
- package/esm2015/lib/components/statusbar/statusbar.component.js +0 -81
- package/esm2015/lib/components/statusbar/statusbar.module.js +0 -23
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +0 -54
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +0 -350
- package/esm2015/lib/components/stock/stock-location/stock-location.component.js +0 -62
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +0 -2
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +0 -68
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +0 -130
- package/esm2015/lib/components/stock/stock.component.js +0 -140
- package/esm2015/lib/components/stock/stock.module.js +0 -48
- package/esm2015/lib/enum/icon.enum.js +0 -17
- package/esm2015/lib/enum/keyboard-code.enum.js +0 -32
- package/esm2015/lib/enum/language-code.enum.js +0 -8
- package/esm2015/lib/factory/business-object-factory.js +0 -120
- package/esm2015/lib/factory/decorators/boolean.decorator.js +0 -102
- package/esm2015/lib/factory/decorators/complex-array.decorator.js +0 -55
- package/esm2015/lib/factory/decorators/complex-field.decorator.js +0 -57
- package/esm2015/lib/factory/decorators/date-field.decorator.js +0 -36
- package/esm2015/lib/factory/decorators/string-number.decorator.js +0 -43
- package/esm2015/lib/model/business-object.js +0 -81
- package/esm2015/lib/model/icon-svg.js +0 -16
- package/esm2015/lib/service/dictionary.service.js +0 -76
- package/esm2015/lib/service/icon-cache.service.js +0 -51
- package/esm2015/lib/service/options.service.js +0 -71
- package/esm2015/lib/service/shared-connector.service.js +0 -278
- package/esm2015/lib/service/shared.service.js +0 -30
- package/esm2015/lib/service/stock.service.js +0 -95
- package/esm2015/lib/utils/array-utils.js +0 -183
- package/esm2015/lib/utils/is-nill.function.js +0 -5
- package/esm2015/lib/utils/string-utils.js +0 -64
- package/esm2015/public-api.js +0 -21
- package/fesm2015/colijnit-sharedcomponents.js +0 -3511
- package/fesm2015/colijnit-sharedcomponents.js.map +0 -1
- package/lib/assets/dictionary/text.properties.d.ts +0 -3
- package/lib/components/circular-gauge/co-circular-gauge.component.d.ts +0 -20
- package/lib/components/circular-gauge/co-circular-gauge.module.d.ts +0 -2
- package/lib/components/docsign/component/signature/signature.component.d.ts +0 -16
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +0 -12
- package/lib/components/docsign/docsign.component.d.ts +0 -92
- package/lib/components/docsign/docsign.module.d.ts +0 -2
- package/lib/components/key-pad/key-pad.component.d.ts +0 -36
- package/lib/components/key-pad/key-pad.module.d.ts +0 -2
- package/lib/components/layout-switcher/layout-switcher.component.d.ts +0 -16
- package/lib/components/layout-switcher/layout-switcher.module.d.ts +0 -2
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +0 -16
- package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +0 -2
- package/lib/components/send-method-dialog/enums/send-option.d.ts +0 -6
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +0 -62
- package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +0 -2
- package/lib/components/statusbar/statusbar.component.d.ts +0 -23
- package/lib/components/statusbar/statusbar.module.d.ts +0 -2
- package/lib/components/stock/stock-information/stock-information.component.d.ts +0 -10
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +0 -60
- package/lib/components/stock/stock-location/stock-location.component.d.ts +0 -15
- package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +0 -18
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +0 -36
- package/lib/components/stock/stock.component.d.ts +0 -42
- package/lib/components/stock/stock.module.d.ts +0 -2
- package/lib/enum/keyboard-code.enum.d.ts +0 -30
- package/lib/enum/language-code.enum.d.ts +0 -6
- package/lib/factory/business-object-factory.d.ts +0 -23
- package/lib/factory/decorators/boolean.decorator.d.ts +0 -43
- package/lib/factory/decorators/complex-array.decorator.d.ts +0 -25
- package/lib/factory/decorators/complex-field.decorator.d.ts +0 -25
- package/lib/factory/decorators/date-field.decorator.d.ts +0 -17
- package/lib/factory/decorators/string-number.decorator.d.ts +0 -22
- package/lib/model/business-object.d.ts +0 -7
- package/lib/model/icon-svg.d.ts +0 -4
- package/lib/service/dictionary.service.d.ts +0 -21
- package/lib/service/icon-cache.service.d.ts +0 -18
- package/lib/service/options.service.d.ts +0 -13
- package/lib/service/shared-connector.service.d.ts +0 -43
- package/lib/service/shared.service.d.ts +0 -8
- package/lib/service/stock.service.d.ts +0 -38
- package/lib/utils/array-utils.d.ts +0 -57
- package/lib/utils/is-nill.function.d.ts +0 -1
- package/lib/utils/string-utils.d.ts +0 -22
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Property decorator for properties of businessobject classes that are an array of other strongly typed businessobjects.
|
|
6
|
-
* Ensures that the BusinessObjectFactoryService makes properly typed objects from incoming raw persistence data. Otherwise we couldn't add methods
|
|
7
|
-
* to our own businessobjects and use them, since all fields would be flat data without methods after BusinessObjectFactoryService creation.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
*
|
|
11
|
-
* @ComplexArray(TransactionLine)
|
|
12
|
-
* public transactionLines: TransactionLine[]
|
|
13
|
-
*/
|
|
14
|
-
export declare function ComplexArray(type: any): PropertyDecorator;
|
|
15
|
-
export declare class ComplexArrayDecorator {
|
|
16
|
-
/**
|
|
17
|
-
* Returns whether given property (as a string) on given object is a complex array. A complex array is an array field that is decorated
|
|
18
|
-
* with the @ComplexArray decorator.
|
|
19
|
-
*/
|
|
20
|
-
static IsComplexArray(target: Object, propertyKey: string): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Returns the VALUE of the @ComplexArray(VALUE) property decorator on the given propertyKey on the given modelobject.
|
|
23
|
-
*/
|
|
24
|
-
static GetComplexArrayType(target: Object, propertyKey: string): any;
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Property decorator for properties of businessobject classes that are other strongly typed businessobjects.
|
|
6
|
-
* Ensures that the BusinessObjectFactoryService makes properly typed objects from incoming raw persistence data. Otherwise we couldn't add methods
|
|
7
|
-
* to our own businessobjects and use them, since all fields would be flat data without methods after BusinessObjectFactoryService creation.
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
*
|
|
11
|
-
* @ComplexField(Transaction)
|
|
12
|
-
* public transaction: Transaction
|
|
13
|
-
*
|
|
14
|
-
* Also keeps track of a "complexFieldProps" metadata on the class-level, as a reflect-metadata workaround to be able to
|
|
15
|
-
* retrieve all properties that have the @ComplexField(..) decorator (impossible with current Reflect API).
|
|
16
|
-
*/
|
|
17
|
-
export declare function ComplexField(type: any): PropertyDecorator;
|
|
18
|
-
export declare class ComplexFieldDecorator {
|
|
19
|
-
/**
|
|
20
|
-
* Returns whether given property (as a string) on given object is a complex field. A complex field is a field that is decorated
|
|
21
|
-
* with the @ComplexField decorator.
|
|
22
|
-
*/
|
|
23
|
-
static IsComplexField(target: Object, propertyKey: string): boolean;
|
|
24
|
-
static GetComplexFieldType(target: Object, propertyKey: string): any;
|
|
25
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Property decorator for properties of businessobject classes that are of type Date, but are sent to us as strings.
|
|
6
|
-
* Ensures that the BusinessObjectFactory makes proper JavaScript Date objects from incoming strings for @DateField() decorated properties.
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
*
|
|
10
|
-
* @DateField()
|
|
11
|
-
* public expectedDeliveryDate: Date
|
|
12
|
-
*/
|
|
13
|
-
export declare function DateField(): PropertyDecorator;
|
|
14
|
-
export declare class DateFieldFieldDecorator {
|
|
15
|
-
static IsDateField(target: Object, propertyKey: string): boolean;
|
|
16
|
-
static StringAsDate(str: string): Date;
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* !! just a TAG DECORATOR for now, there is no code that uses this meta data within the ione connector lib itself.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Decorator for properties of businessobjects that are sent to us as strings from the database, but which we want to use as a number in the client.
|
|
6
|
-
*
|
|
7
|
-
* Can be handy for incongruent backend api cases, where id data types are communicated wrongly via strings instead of numbers
|
|
8
|
-
* (e.g. on EmployeeFullObject.district, points to a District which has a number id, but in employee it's a string representation of that number...)
|
|
9
|
-
*
|
|
10
|
-
* Used by business object factory and -serializer.
|
|
11
|
-
*
|
|
12
|
-
* Usage:
|
|
13
|
-
*
|
|
14
|
-
* @StringNumber()
|
|
15
|
-
* public rights: UserRightType
|
|
16
|
-
*/
|
|
17
|
-
export declare function StringNumber(): PropertyDecorator;
|
|
18
|
-
export declare class StringNumberDecorator {
|
|
19
|
-
static IsStringNumber(target: Object, propertyKey: string): boolean;
|
|
20
|
-
static StringAsNumber(str: string): number;
|
|
21
|
-
static NumberAsString(nr: number): string;
|
|
22
|
-
}
|
package/lib/model/icon-svg.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare class DictionaryService {
|
|
2
|
-
private readonly dictionaryUrl;
|
|
3
|
-
get language(): string;
|
|
4
|
-
set rootUrl(value: string);
|
|
5
|
-
private _dictBasePath;
|
|
6
|
-
private _rootUrl;
|
|
7
|
-
private _dictionaries;
|
|
8
|
-
private _language;
|
|
9
|
-
private readonly _placeholder;
|
|
10
|
-
constructor();
|
|
11
|
-
setDictionary(language: string): Promise<void>;
|
|
12
|
-
private _loadDictionary;
|
|
13
|
-
/**
|
|
14
|
-
* Returns the localized text for the given dictionary key.
|
|
15
|
-
* @param {string} key
|
|
16
|
-
* @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val
|
|
17
|
-
* @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value
|
|
18
|
-
* @returns {string} The translated text for given dictionary key
|
|
19
|
-
*/
|
|
20
|
-
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
21
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
2
|
-
import { Icon } from "../enum/icon.enum";
|
|
3
|
-
export declare class IconCacheService {
|
|
4
|
-
private _sanitizer;
|
|
5
|
-
/**
|
|
6
|
-
* All the icons as a large JSON object, from the all-icons.json file.
|
|
7
|
-
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
8
|
-
*/
|
|
9
|
-
get iconCache(): {
|
|
10
|
-
[iconName: string]: SafeHtml;
|
|
11
|
-
};
|
|
12
|
-
private _iconCache;
|
|
13
|
-
constructor(_sanitizer: DomSanitizer);
|
|
14
|
-
getIcon(iconName: Icon): SafeHtml;
|
|
15
|
-
getIconAsBase64(iconName: Icon): SafeHtml;
|
|
16
|
-
getRawIcon(iconName: Icon): string;
|
|
17
|
-
setIconCache(): void;
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from "rxjs";
|
|
2
|
-
import { DictionaryService } from "./dictionary.service";
|
|
3
|
-
export declare class OptionsService {
|
|
4
|
-
private _dictionary;
|
|
5
|
-
optionsInitialized: BehaviorSubject<boolean>;
|
|
6
|
-
set options(value: any);
|
|
7
|
-
get options(): any;
|
|
8
|
-
optionsLoaded: BehaviorSubject<boolean>;
|
|
9
|
-
private _options;
|
|
10
|
-
constructor(_dictionary: DictionaryService);
|
|
11
|
-
createSettingsFromObject(obj: any): Promise<void>;
|
|
12
|
-
initialize(options: any): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Articles } from "@colijnit/articleapi/build/articles";
|
|
2
|
-
import { Sharedapi } from "@colijnit/sharedapi/build/sharedapi";
|
|
3
|
-
import { Printer } from "@colijnit/sharedapi/build/model/report/printer.bo";
|
|
4
|
-
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
|
|
5
|
-
import { DataServiceResponseData } from "@colijnit/articleapi/build/model/data-service-response-data";
|
|
6
|
-
import { PrintStockStickers } from "@colijnit/sharedapi/build/model/print-stock-stickers";
|
|
7
|
-
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
8
|
-
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
9
|
-
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
10
|
-
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
11
|
-
import { StockStickersPrintLayouts } from "@colijnit/sharedapi/build/model/report/stock-stickers-print-layouts.bo";
|
|
12
|
-
import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
|
|
13
|
-
import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
|
|
14
|
-
import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
|
|
15
|
-
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
16
|
-
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
17
|
-
import { ArticleTransaction } from "@colijnit/articleapi/build/model/article-transaction";
|
|
18
|
-
import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
19
|
-
import { OptionsService } from "./options.service";
|
|
20
|
-
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
21
|
-
export declare class SharedConnectorService {
|
|
22
|
-
private _optionsService;
|
|
23
|
-
articleConnector: Articles;
|
|
24
|
-
sharedConnector: Sharedapi;
|
|
25
|
-
private _boFactory;
|
|
26
|
-
constructor(_optionsService: OptionsService);
|
|
27
|
-
connect(): Promise<void>;
|
|
28
|
-
getAllPrinters(showAll?: boolean): Promise<Printer[]>;
|
|
29
|
-
getPrintStockStickers(request: PrintStockStickers): Promise<PrintStockStickers>;
|
|
30
|
-
getPrintPriceStickers(request: PrintPriceStickers): Promise<PrintPriceStickers>;
|
|
31
|
-
getArticleFullObject(goodId: number): Promise<ArticleExtended>;
|
|
32
|
-
getStockHistory(request: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
33
|
-
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
34
|
-
getStockManagementWarehouses(): Promise<StockManagementWarehouses[]>;
|
|
35
|
-
getStockManagementLocations(warehouseNo: number): Promise<StockLocation[]>;
|
|
36
|
-
getArticleDetails(data: ArticleStockManagement): Promise<ArticleDetailsBo[]>;
|
|
37
|
-
updateArticleDetails(data: ArticleDetailsBo): Promise<boolean>;
|
|
38
|
-
lockArticleDetails(data: ArticleStockManagement): Promise<boolean>;
|
|
39
|
-
getStockStatus(): Promise<StockStatus[]>;
|
|
40
|
-
getStockStickerTemplates(data: StockStickersPrintLayouts): Promise<StockStickersPrintLayouts[]>;
|
|
41
|
-
getArticleTransaction(data: ArticleTransaction): Promise<ArticleTransactionBo[]>;
|
|
42
|
-
commit(): Promise<DataServiceResponseData>;
|
|
43
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SharedConnectorService } from "./shared-connector.service";
|
|
2
|
-
import { OptionsService } from "./options.service";
|
|
3
|
-
export declare class SharedService {
|
|
4
|
-
protected options: OptionsService;
|
|
5
|
-
protected connector: SharedConnectorService;
|
|
6
|
-
constructor(options: OptionsService, connector: SharedConnectorService);
|
|
7
|
-
init(options: any): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PrintStockStickers } from "@colijnit/sharedapi/build/model/print-stock-stickers";
|
|
2
|
-
import { Printer } from "@colijnit/sharedapi/build/model/report/printer.bo";
|
|
3
|
-
import { GetStockHistoryRequest } from "@colijnit/articleapi/build/model/get-stock-history-request";
|
|
4
|
-
import { ArticleStock as ArticleStockBo } from "@colijnit/articleapi/build/model/article-stock.bo";
|
|
5
|
-
import { ArticleStock } from "@colijnit/articleapi/build/model/article-stock";
|
|
6
|
-
import { StockHistoryBo } from "@colijnit/articleapi/build/model/stock-history.bo";
|
|
7
|
-
import { StockStickersPrintLayouts } from "@colijnit/sharedapi/build/model/report/stock-stickers-print-layouts.bo";
|
|
8
|
-
import { ArticleDetailsBo } from "@colijnit/articleapi/build/model/article-details.bo";
|
|
9
|
-
import { ArticleStockManagement } from "@colijnit/articleapi/build/model/article-stock-management";
|
|
10
|
-
import { StockStatus } from "@colijnit/articleapi/build/model/stock-status.bo";
|
|
11
|
-
import { StockManagementWarehouses } from "@colijnit/articleapi/build/model/stock-management-warehouses.bo";
|
|
12
|
-
import { StockLocation } from "@colijnit/articleapi/build/model/stock-location.bo";
|
|
13
|
-
import { DataServiceResponseData } from "@colijnit/articleapi/build/model/data-service-response-data";
|
|
14
|
-
import { ArticleTransaction } from "@colijnit/articleapi/build/model/article-transaction";
|
|
15
|
-
import { ArticleTransaction as ArticleTransactionBo } from "@colijnit/articleapi/build/model/article-transaction.bo";
|
|
16
|
-
import { PrintPriceStickers } from "@colijnit/sharedapi/build/model/print-price-stickers.bo";
|
|
17
|
-
import { SharedConnectorService } from "./shared-connector.service";
|
|
18
|
-
export declare class StockService {
|
|
19
|
-
private _sharedService;
|
|
20
|
-
stockStickers: PrintStockStickers;
|
|
21
|
-
printSticker: PrintStockStickers;
|
|
22
|
-
printPriceSticker: PrintPriceStickers;
|
|
23
|
-
constructor(_sharedService: SharedConnectorService);
|
|
24
|
-
getPrintStockStickers(data: PrintStockStickers): Promise<void>;
|
|
25
|
-
getPrintPriceStickers(data: PrintPriceStickers): Promise<void>;
|
|
26
|
-
getAllPrinters(showAll?: boolean): Promise<Printer[]>;
|
|
27
|
-
getStockHistory(data: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
28
|
-
getStockInformation(data: ArticleStock): Promise<ArticleStockBo[]>;
|
|
29
|
-
getArticleDetails(data: ArticleStockManagement): Promise<ArticleDetailsBo[]>;
|
|
30
|
-
updateArticleDetails(data: ArticleDetailsBo): Promise<boolean>;
|
|
31
|
-
getStockState(): Promise<StockStatus[]>;
|
|
32
|
-
getStockStickerTemplates(data: StockStickersPrintLayouts): Promise<StockStickersPrintLayouts[]>;
|
|
33
|
-
getStockManagementWarehouses(): Promise<StockManagementWarehouses[]>;
|
|
34
|
-
getStockManagementLocations(warehouseNo: number): Promise<StockLocation[]>;
|
|
35
|
-
getArticleTransaction(data: ArticleTransaction): Promise<ArticleTransactionBo[]>;
|
|
36
|
-
lockArticleDetails(data: ArticleStockManagement): Promise<boolean>;
|
|
37
|
-
commit(): Promise<DataServiceResponseData>;
|
|
38
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare class ArrayUtils {
|
|
2
|
-
/**
|
|
3
|
-
* Returns whether at least one element in given array could be found by given finder function.
|
|
4
|
-
*
|
|
5
|
-
* @param {T[]} array
|
|
6
|
-
* @param {(element: T) => boolean} finder A finder function that takes an element of the array and returns a boolean that represents
|
|
7
|
-
* the 'found status' for that element; whether it should have been found or not.
|
|
8
|
-
*/
|
|
9
|
-
static ContainsAnElementFoundBy<T>(array: T[], finder: (element: T) => boolean): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Cross-browser Array.find() function. Returns the first item in given array for which the foundBy function returns true. Returns
|
|
12
|
-
* undefined when none was found.
|
|
13
|
-
*
|
|
14
|
-
* Example usage:
|
|
15
|
-
* const foundItem: BusinessObject = ArrayUtils.Find<BusinessObject>(modelArray, (modelItem: BusinessObject) => <br>
|
|
16
|
-
* (return modelItem.getId() === '1')
|
|
17
|
-
* * });
|
|
18
|
-
*
|
|
19
|
-
* @param array The array with items to search in.
|
|
20
|
-
* @param foundBy The finder function applied on each items of the array, when that returns true, the item is considered found.
|
|
21
|
-
*/
|
|
22
|
-
static Find<T>(array: T[], foundBy: (item: T) => boolean): T;
|
|
23
|
-
static FindAll<T>(array: T[], foundBy: (item: T) => boolean): T[];
|
|
24
|
-
static CloneArray<T>(array: T[]): T[];
|
|
25
|
-
/**
|
|
26
|
-
* Returns a 'semi deep clone' of given array. Its first-level members are object-shallow-cloned (optionally with a strongly typed constructor),
|
|
27
|
-
* or just as plain object (see param arrayItemsClass).
|
|
28
|
-
* @param array
|
|
29
|
-
* @param arrayItemsClass If provided, the cloned array's first-level items will be strongly typed to / constructed as this class. Otherwise
|
|
30
|
-
* it'll be a plain object.
|
|
31
|
-
* @param deepClone Set to true if array items contain FUNCTIONS that need to be cloned..
|
|
32
|
-
* @returns {Array} semi-deep clone of given array
|
|
33
|
-
*/
|
|
34
|
-
static CloneArrayAndItsItems<T>(array: T[], arrayItemsClass?: any, deepClone?: boolean): T[];
|
|
35
|
-
/**
|
|
36
|
-
* Removes element at given index from given array. Doesn't just set it to null like JavaScripts standard 'delete' does, but really
|
|
37
|
-
* removes the element using splice().
|
|
38
|
-
*
|
|
39
|
-
* @param {number} index
|
|
40
|
-
* @param {any[]} array in-out
|
|
41
|
-
* @returns {boolean} True if and only if the element on given index is succesfully removed from given array.
|
|
42
|
-
*/
|
|
43
|
-
static RemoveElementAtIndex(index: number, array: any[]): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Removes given element from given array. Doesn't just set it to null like JavaScripts standard 'delete' does, but really removes the
|
|
46
|
-
* element using splice(). Also works on associative arrays.
|
|
47
|
-
*
|
|
48
|
-
* @param {T} element The element to remove.
|
|
49
|
-
* @param {T[]} array The array to remove the element from.
|
|
50
|
-
* @returns {boolean} True iff given element was truly successfully removed from given array.
|
|
51
|
-
*/
|
|
52
|
-
static RemoveElement<T>(element: T, array: T[]): boolean;
|
|
53
|
-
static IsArrayWithElements<T>(arrayToCheck: T[], classItemsMustBeInstanceOf?: any): boolean;
|
|
54
|
-
static RemoveElementsByFilter(array: any[], filterFunction: (item: any) => boolean): boolean;
|
|
55
|
-
static MoveElement<T>(element: T, toIndex: number, array: T[]): boolean;
|
|
56
|
-
static PlaceElementAfterOther(array: any[], elementToPlace: any, afterThisElement: any): void;
|
|
57
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function isNill(value: any): boolean;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare class StringUtils {
|
|
2
|
-
/**
|
|
3
|
-
* Returns a new string where given placeholder in given source string are replaced by given replacement texts.
|
|
4
|
-
*
|
|
5
|
-
* Example usage:
|
|
6
|
-
*
|
|
7
|
-
* source = "ABCDABCD"
|
|
8
|
-
* placeholder = "BC"
|
|
9
|
-
* replacementTexts = "Z", "Z" (REST arguments)
|
|
10
|
-
* OUTPUT = "AZDAZD"
|
|
11
|
-
*
|
|
12
|
-
* @param {string} source
|
|
13
|
-
* @param {string} placeholder
|
|
14
|
-
* @param {string} replacementTexts If only one is given, this function replaces all placeholders with that single replacementText.
|
|
15
|
-
* If more are given, placeholders without a corresponding replacementText will remain their original placeholder characters.
|
|
16
|
-
*/
|
|
17
|
-
static ReplaceOccurrencesIn(source: string, placeholder: string, ...replacementTexts: string[]): string;
|
|
18
|
-
static ParseString(arg: any, defaultValue?: string): string;
|
|
19
|
-
static IsString(str: any): boolean;
|
|
20
|
-
static IsStringWithLength(str: string): boolean;
|
|
21
|
-
private static _escapeRegExp;
|
|
22
|
-
}
|