@colijnit/sharedcomponents 1.0.25 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -11
- package/bundles/colijnit-sharedcomponents.umd.js +3704 -0
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -0
- package/colijnit-sharedcomponents.d.ts +16 -0
- package/colijnit-sharedcomponents.metadata.json +1 -0
- package/esm2015/colijnit-sharedcomponents.js +17 -0
- package/esm2015/lib/assets/dictionary/text.properties.js +11 -0
- package/esm2015/lib/components/circular-gauge/co-circular-gauge.component.js +124 -0
- package/esm2015/lib/components/circular-gauge/co-circular-gauge.module.js +21 -0
- package/esm2015/lib/components/docsign/component/signature/signature.component.js +75 -0
- package/esm2015/lib/components/docsign/component/signatures/signatures.component.js +44 -0
- package/esm2015/lib/components/docsign/docsign.component.js +225 -0
- package/esm2015/lib/components/docsign/docsign.module.js +23 -0
- package/esm2015/lib/components/key-pad/key-pad.component.js +191 -0
- package/esm2015/lib/components/key-pad/key-pad.module.js +21 -0
- package/esm2015/lib/components/layout-switcher/layout-switcher.component.js +74 -0
- package/esm2015/lib/components/layout-switcher/layout-switcher.module.js +21 -0
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.component.js +55 -0
- package/esm2015/lib/components/linear-gauge/co-linear-gauge.module.js +19 -0
- package/esm2015/lib/components/send-method-dialog/enums/send-option.js +8 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +309 -0
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +31 -0
- package/esm2015/lib/components/statusbar/statusbar.component.js +81 -0
- package/esm2015/lib/components/statusbar/statusbar.module.js +23 -0
- package/esm2015/lib/components/stock/stock-information/stock-information.component.js +54 -0
- package/esm2015/lib/components/stock/stock-information-grid/stock-information-grid.component.js +350 -0
- package/esm2015/lib/components/stock/stock-location/stock-location.component.js +62 -0
- package/esm2015/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.js +2 -0
- package/esm2015/lib/components/stock/stock-transfer/stock-change-amount.component.js +68 -0
- package/esm2015/lib/components/stock/stock-transfer/stock-transfer.component.js +130 -0
- package/esm2015/lib/components/stock/stock.component.js +140 -0
- package/esm2015/lib/components/stock/stock.module.js +48 -0
- package/esm2015/lib/enum/icon.enum.js +19 -0
- package/esm2015/lib/enum/keyboard-code.enum.js +32 -0
- package/esm2015/lib/enum/language-code.enum.js +8 -0
- package/esm2015/lib/factory/business-object-factory.js +120 -0
- package/esm2015/lib/factory/decorators/boolean.decorator.js +102 -0
- package/esm2015/lib/factory/decorators/complex-array.decorator.js +55 -0
- package/esm2015/lib/factory/decorators/complex-field.decorator.js +57 -0
- package/esm2015/lib/factory/decorators/date-field.decorator.js +36 -0
- package/esm2015/lib/factory/decorators/string-number.decorator.js +43 -0
- package/esm2015/lib/model/business-object.js +81 -0
- package/esm2015/lib/model/icon-svg.js +18 -0
- package/esm2015/lib/service/dictionary.service.js +76 -0
- package/esm2015/lib/service/icon-cache.service.js +51 -0
- package/esm2015/lib/service/options.service.js +71 -0
- package/esm2015/lib/service/shared-connector.service.js +278 -0
- package/esm2015/lib/service/shared.service.js +30 -0
- package/esm2015/lib/service/stock.service.js +95 -0
- package/esm2015/lib/utils/array-utils.js +183 -0
- package/esm2015/lib/utils/is-nill.function.js +5 -0
- package/esm2015/lib/utils/string-utils.js +64 -0
- package/esm2015/public-api.js +21 -0
- package/fesm2015/colijnit-sharedcomponents.js +3514 -0
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -0
- package/lib/assets/dictionary/text.properties.d.ts +3 -0
- package/lib/components/circular-gauge/co-circular-gauge.component.d.ts +20 -0
- package/lib/components/circular-gauge/co-circular-gauge.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/circular-gauge/style/_layout.scss +6 -3
- package/{projects/sharedcomponents/src/lib → lib}/components/circular-gauge/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/circular-gauge/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/circular-gauge/style/material.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/agenda/style/material.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/component/calendar/style/material.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/date-planning/style/material.scss +0 -0
- package/lib/components/docsign/component/signature/signature.component.d.ts +16 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signature/style/material.scss +0 -0
- package/lib/components/docsign/component/signatures/signatures.component.d.ts +12 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/component/signatures/style/material.scss +0 -0
- package/lib/components/docsign/docsign.component.d.ts +92 -0
- package/lib/components/docsign/docsign.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/docsign/style/material.scss +0 -0
- package/lib/components/key-pad/key-pad.component.d.ts +36 -0
- package/lib/components/key-pad/key-pad.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/key-pad/style/material.scss +0 -0
- package/lib/components/layout-switcher/layout-switcher.component.d.ts +16 -0
- package/lib/components/layout-switcher/layout-switcher.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/layout-switcher/style/material.scss +0 -0
- package/lib/components/linear-gauge/co-linear-gauge.component.d.ts +16 -0
- package/lib/components/linear-gauge/co-linear-gauge.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/linear-gauge/style/material.scss +0 -0
- package/lib/components/send-method-dialog/enums/send-option.d.ts +6 -0
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +62 -0
- package/lib/components/send-method-dialog/send-method-dialog.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/send-method-dialog/style/material.scss +0 -0
- package/lib/components/statusbar/statusbar.component.d.ts +22 -0
- package/lib/components/statusbar/statusbar.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/statusbar/style/material.scss +0 -0
- package/lib/components/stock/stock-information/stock-information.component.d.ts +10 -0
- package/lib/components/stock/stock-information-grid/stock-information-grid.component.d.ts +60 -0
- package/lib/components/stock/stock-location/stock-location.component.d.ts +15 -0
- package/{projects/sharedcomponents/src/lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.ts → lib/components/stock/stock-transfer/co-drop-down-list-fields.interface.d.ts} +2 -2
- package/lib/components/stock/stock-transfer/stock-change-amount.component.d.ts +18 -0
- package/lib/components/stock/stock-transfer/stock-transfer.component.d.ts +36 -0
- package/lib/components/stock/stock.component.d.ts +42 -0
- package/lib/components/stock/stock.module.d.ts +2 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_layout.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_material-definition.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/_theme.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/components/stock/style/material.scss +0 -0
- package/{projects/sharedcomponents/src/lib/enum/icon.enum.ts → lib/enum/icon.enum.d.ts} +2 -3
- package/lib/enum/keyboard-code.enum.d.ts +30 -0
- package/lib/enum/language-code.enum.d.ts +6 -0
- package/lib/factory/business-object-factory.d.ts +23 -0
- package/lib/factory/decorators/boolean.decorator.d.ts +43 -0
- package/lib/factory/decorators/complex-array.decorator.d.ts +25 -0
- package/lib/factory/decorators/complex-field.decorator.d.ts +25 -0
- package/lib/factory/decorators/date-field.decorator.d.ts +17 -0
- package/lib/factory/decorators/string-number.decorator.d.ts +22 -0
- package/lib/model/business-object.d.ts +7 -0
- package/lib/model/icon-svg.d.ts +4 -0
- package/lib/service/dictionary.service.d.ts +21 -0
- package/lib/service/icon-cache.service.d.ts +18 -0
- package/lib/service/options.service.d.ts +13 -0
- package/lib/service/shared-connector.service.d.ts +43 -0
- package/lib/service/shared.service.d.ts +8 -0
- package/lib/service/stock.service.d.ts +38 -0
- package/{projects/sharedcomponents/src/lib → lib}/style/_mixin.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/style/_variables.scss +0 -0
- package/{projects/sharedcomponents/src/lib → lib}/style/sharedcomponents-globals.scss +0 -0
- package/lib/utils/array-utils.d.ts +57 -0
- package/lib/utils/is-nill.function.d.ts +1 -0
- package/lib/utils/string-utils.d.ts +22 -0
- package/package.json +26 -74
- package/{projects/sharedcomponents/src/public-api.ts → public-api.d.ts} +0 -5
- package/.browserslistrc +0 -16
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/Sharedcomponents.iml +0 -11
- package/angular.json +0 -133
- package/karma.conf.js +0 -44
- package/move-assets.js +0 -14
- package/projects/sharedcomponents/.browserslistrc +0 -16
- package/projects/sharedcomponents/README.md +0 -24
- package/projects/sharedcomponents/karma.conf.js +0 -44
- package/projects/sharedcomponents/ng-package.json +0 -17
- package/projects/sharedcomponents/package.json +0 -18
- package/projects/sharedcomponents/src/lib/assets/dictionary/text.properties.ts +0 -8
- package/projects/sharedcomponents/src/lib/assets/icons/angle_left_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/angle_right_solid.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_fat_right.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_left.svg +0 -8
- package/projects/sharedcomponents/src/lib/assets/icons/arrow_point_right.svg +0 -4
- package/projects/sharedcomponents/src/lib/assets/icons/bring_forward_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/check_round.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/delete_left_regular.svg +0 -1
- package/projects/sharedcomponents/src/lib/assets/icons/delivery_truck.svg +0 -12
- package/projects/sharedcomponents/src/lib/assets/icons/email.svg +0 -5
- package/projects/sharedcomponents/src/lib/assets/icons/pdf.svg +0 -15
- package/projects/sharedcomponents/src/lib/assets/icons/print.svg +0 -10
- package/projects/sharedcomponents/src/lib/assets/icons/signature_field.svg +0 -9
- package/projects/sharedcomponents/src/lib/assets/icons/xml.svg +0 -9
- package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.component.ts +0 -139
- package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.module.ts +0 -19
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-base-view.component.ts +0 -68
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-day-view.component.ts +0 -31
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-event.component.ts +0 -67
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-events.component.ts +0 -48
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-half-hour-cell.component.ts +0 -81
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-header.component.ts +0 -265
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-cell.component.ts +0 -38
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view-labels.component.ts +0 -50
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-hour-view.component.ts +0 -46
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-month-view.component.ts +0 -65
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-view.component.ts +0 -38
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-select-view.component.ts +0 -63
- package/projects/sharedcomponents/src/lib/components/date-planning/component/agenda/agenda-week-view.component.ts +0 -46
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-months.component.ts +0 -37
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-all-years.component.ts +0 -52
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-header.component.ts +0 -124
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar-view.component.ts +0 -201
- package/projects/sharedcomponents/src/lib/components/date-planning/component/calendar/calendar.component.ts +0 -35
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.component.ts +0 -133
- package/projects/sharedcomponents/src/lib/components/date-planning/date-planning.module.ts +0 -56
- package/projects/sharedcomponents/src/lib/components/docsign/component/signature/signature.component.ts +0 -82
- package/projects/sharedcomponents/src/lib/components/docsign/component/signatures/signatures.component.ts +0 -50
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.component.ts +0 -252
- package/projects/sharedcomponents/src/lib/components/docsign/docsign.module.ts +0 -22
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.component.ts +0 -205
- package/projects/sharedcomponents/src/lib/components/key-pad/key-pad.module.ts +0 -19
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.component.ts +0 -98
- package/projects/sharedcomponents/src/lib/components/layout-switcher/layout-switcher.module.ts +0 -21
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.component.ts +0 -56
- package/projects/sharedcomponents/src/lib/components/linear-gauge/co-linear-gauge.module.ts +0 -17
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/enums/send-option.ts +0 -6
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.component.ts +0 -342
- package/projects/sharedcomponents/src/lib/components/send-method-dialog/send-method-dialog.module.ts +0 -33
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.component.ts +0 -97
- package/projects/sharedcomponents/src/lib/components/statusbar/statusbar.module.ts +0 -21
- 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 +0 -64
- package/projects/sharedcomponents/src/lib/components/stock/stock-information-grid/stock-information-grid.component.ts +0 -384
- package/projects/sharedcomponents/src/lib/components/stock/stock-location/stock-location.component.ts +0 -84
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-change-amount.component.ts +0 -73
- package/projects/sharedcomponents/src/lib/components/stock/stock-transfer/stock-transfer.component.ts +0 -153
- package/projects/sharedcomponents/src/lib/components/stock/stock.component.ts +0 -165
- package/projects/sharedcomponents/src/lib/components/stock/stock.module.ts +0 -51
- package/projects/sharedcomponents/src/lib/enum/calendar-view.enum.ts +0 -6
- package/projects/sharedcomponents/src/lib/enum/keyboard-code.enum.ts +0 -30
- package/projects/sharedcomponents/src/lib/enum/language-code.enum.ts +0 -6
- package/projects/sharedcomponents/src/lib/enum/month.enum.ts +0 -15
- package/projects/sharedcomponents/src/lib/enum/time-period.enum.ts +0 -9
- package/projects/sharedcomponents/src/lib/factory/business-object-factory.ts +0 -120
- package/projects/sharedcomponents/src/lib/factory/decorators/boolean.decorator.ts +0 -113
- package/projects/sharedcomponents/src/lib/factory/decorators/complex-array.decorator.ts +0 -61
- package/projects/sharedcomponents/src/lib/factory/decorators/complex-field.decorator.ts +0 -63
- package/projects/sharedcomponents/src/lib/factory/decorators/date-field.decorator.ts +0 -41
- package/projects/sharedcomponents/src/lib/factory/decorators/string-number.decorator.ts +0 -48
- package/projects/sharedcomponents/src/lib/model/agenda-event-per-day.model.ts +0 -6
- package/projects/sharedcomponents/src/lib/model/agenda-event.model.ts +0 -17
- package/projects/sharedcomponents/src/lib/model/agenda-null-objects.ts +0 -11
- package/projects/sharedcomponents/src/lib/model/business-object.ts +0 -85
- package/projects/sharedcomponents/src/lib/model/constant/all-months.ts +0 -17
- package/projects/sharedcomponents/src/lib/model/date-range.ts +0 -10
- package/projects/sharedcomponents/src/lib/model/day.model.ts +0 -9
- package/projects/sharedcomponents/src/lib/model/icon-svg.ts +0 -18
- package/projects/sharedcomponents/src/lib/model/month.model.ts +0 -11
- package/projects/sharedcomponents/src/lib/model/time-window.bo.ts +0 -21
- package/projects/sharedcomponents/src/lib/model/week.model.ts +0 -5
- package/projects/sharedcomponents/src/lib/model/weekday.model.ts +0 -17
- package/projects/sharedcomponents/src/lib/pipe/array-number.pipe.ts +0 -14
- package/projects/sharedcomponents/src/lib/pipe/master-pipes.ts +0 -7
- package/projects/sharedcomponents/src/lib/pipe/ucfirst.pipe.ts +0 -14
- package/projects/sharedcomponents/src/lib/service/dictionary.service.ts +0 -86
- package/projects/sharedcomponents/src/lib/service/icon-cache.service.ts +0 -51
- package/projects/sharedcomponents/src/lib/service/options.service.ts +0 -66
- package/projects/sharedcomponents/src/lib/service/shared-connector.service.ts +0 -258
- package/projects/sharedcomponents/src/lib/service/shared-initializer.service.ts +0 -29
- package/projects/sharedcomponents/src/lib/service/shared.service.ts +0 -21
- package/projects/sharedcomponents/src/lib/service/stock.service.ts +0 -95
- package/projects/sharedcomponents/src/lib/utils/array-utils.ts +0 -202
- package/projects/sharedcomponents/src/lib/utils/calendar.utils.ts +0 -75
- package/projects/sharedcomponents/src/lib/utils/date-utils.ts +0 -302
- package/projects/sharedcomponents/src/lib/utils/function/not-nill.function.ts +0 -4
- package/projects/sharedcomponents/src/lib/utils/is-nill.function.ts +0 -4
- package/projects/sharedcomponents/src/lib/utils/string-utils.ts +0 -67
- package/projects/sharedcomponents/src/test.ts +0 -27
- package/projects/sharedcomponents/tsconfig.lib.json +0 -18
- package/projects/sharedcomponents/tsconfig.lib.prod.json +0 -10
- package/projects/sharedcomponents/tsconfig.spec.json +0 -17
- package/script/merge-icons.js +0 -39
- package/src/app/app.component.scss +0 -9
- package/src/app/app.component.spec.ts +0 -31
- package/src/app/app.component.ts +0 -156
- package/src/app/app.module.ts +0 -60
- package/src/assets/.gitkeep +0 -0
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -16
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -13
- package/src/main.ts +0 -12
- package/src/polyfills.ts +0 -53
- package/src/styles.scss +0 -40
- package/src/test.ts +0 -26
- package/tsconfig.app.json +0 -15
- package/tsconfig.json +0 -65
- package/tsconfig.spec.json +0 -18
package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.component.ts
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, Input, ViewChild, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import {
|
|
3
|
-
AxisModel,
|
|
4
|
-
CircularGaugeComponent,
|
|
5
|
-
} from "@syncfusion/ej2-angular-circulargauge";
|
|
6
|
-
import { AnnotationModel } from "@syncfusion/ej2-circulargauge/src/circular-gauge/axes/axis-model";
|
|
7
|
-
|
|
8
|
-
enum GaugeColor {
|
|
9
|
-
Low = '#E0E0E0',
|
|
10
|
-
Medium = '#F88952',
|
|
11
|
-
High = '#5FDCB3',
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@Component({
|
|
15
|
-
selector: "co-circular-gauge",
|
|
16
|
-
template: `
|
|
17
|
-
<div class="circular-gauge-wrapper">
|
|
18
|
-
<ejs-circulargauge
|
|
19
|
-
class="circular-gauge"
|
|
20
|
-
[width]="'100%'"
|
|
21
|
-
[axes]="getAxes()">
|
|
22
|
-
</ejs-circulargauge>
|
|
23
|
-
</div>
|
|
24
|
-
`,
|
|
25
|
-
encapsulation: ViewEncapsulation.None
|
|
26
|
-
})
|
|
27
|
-
export class CoCircularGaugeComponent {
|
|
28
|
-
|
|
29
|
-
@ViewChild('circulargauge')
|
|
30
|
-
public circulargauge: CircularGaugeComponent;
|
|
31
|
-
|
|
32
|
-
@Input()
|
|
33
|
-
public set value(value: number) {
|
|
34
|
-
this._value = value;
|
|
35
|
-
this._setColor();
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
public get value(): number {
|
|
39
|
-
return this._value;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
public get color(): string {
|
|
43
|
-
return this._color;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@HostBinding("class.co-circular-gauge")
|
|
47
|
-
public showClass() {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
private _value: number;
|
|
52
|
-
private _color: GaugeColor = GaugeColor.Low;
|
|
53
|
-
|
|
54
|
-
public majorTicks: Object = {
|
|
55
|
-
height: 0,
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
public minorTicks: Object = {
|
|
59
|
-
height: 0
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
public labelStyle: Object = {
|
|
63
|
-
position: 'Inside', useRangeColor: true,
|
|
64
|
-
font: {size: '0px', fontFamily: 'inherit'}
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
public lineStyle: Object = {
|
|
68
|
-
width: 0
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
public ranges: Object[] = [
|
|
72
|
-
{
|
|
73
|
-
start: 1, end: 100,
|
|
74
|
-
radius: '13px',
|
|
75
|
-
startWidth: 3, endWidth: 3,
|
|
76
|
-
color: '#E0E0E0',
|
|
77
|
-
roundedCornerRadius: 0
|
|
78
|
-
},
|
|
79
|
-
];
|
|
80
|
-
|
|
81
|
-
public getAxes(): AxisModel[] {
|
|
82
|
-
return [{
|
|
83
|
-
minimum: 0,
|
|
84
|
-
maximum: 100,
|
|
85
|
-
radius: '15px',
|
|
86
|
-
startAngle: 1,
|
|
87
|
-
endAngle: 360,
|
|
88
|
-
majorTicks: this.majorTicks,
|
|
89
|
-
minorTicks: this.minorTicks,
|
|
90
|
-
labelStyle: this.labelStyle,
|
|
91
|
-
lineStyle: this.lineStyle,
|
|
92
|
-
ranges: this.ranges,
|
|
93
|
-
pointers: this.getPointers(),
|
|
94
|
-
annotations: this.getAnnotations(),
|
|
95
|
-
}];
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
public getPointers(): Object[] {
|
|
99
|
-
if (this.value) {
|
|
100
|
-
|
|
101
|
-
return [{
|
|
102
|
-
roundedCornerRadius: 0,
|
|
103
|
-
value: this.value,
|
|
104
|
-
type: 'RangeBar',
|
|
105
|
-
radius: '13px',
|
|
106
|
-
color: this.color,
|
|
107
|
-
border: {
|
|
108
|
-
width: 0
|
|
109
|
-
},
|
|
110
|
-
animation: {
|
|
111
|
-
enable: false
|
|
112
|
-
},
|
|
113
|
-
pointerWidth: 3
|
|
114
|
-
}]
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
public getAnnotations(): AnnotationModel[] {
|
|
119
|
-
if (this.value) {
|
|
120
|
-
return [{
|
|
121
|
-
content: '<div class="annotation">' +
|
|
122
|
-
this.value + '%</div>',
|
|
123
|
-
angle: 90,
|
|
124
|
-
radius: '50%',
|
|
125
|
-
zIndex: '10',
|
|
126
|
-
}];
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
private _setColor(): void {
|
|
131
|
-
if (this.value == 0) {
|
|
132
|
-
this._color = GaugeColor.Low;
|
|
133
|
-
} else if (this.value >= 0 && this.value < 100) {
|
|
134
|
-
this._color = GaugeColor.Medium;
|
|
135
|
-
} else if (this.value == 100) {
|
|
136
|
-
this._color = GaugeColor.High;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
package/projects/sharedcomponents/src/lib/components/circular-gauge/co-circular-gauge.module.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { CircularGaugeModule } from "@syncfusion/ej2-angular-circulargauge";
|
|
4
|
-
import { CoCircularGaugeComponent } from "./co-circular-gauge.component";
|
|
5
|
-
|
|
6
|
-
@NgModule({
|
|
7
|
-
imports: [
|
|
8
|
-
CommonModule,
|
|
9
|
-
CircularGaugeModule
|
|
10
|
-
],
|
|
11
|
-
declarations: [
|
|
12
|
-
CoCircularGaugeComponent
|
|
13
|
-
],
|
|
14
|
-
exports: [
|
|
15
|
-
CoCircularGaugeComponent
|
|
16
|
-
]
|
|
17
|
-
})
|
|
18
|
-
export class CoCircularGaugeModule {
|
|
19
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import {Directive, EventEmitter, Inject, Input, LOCALE_ID, Output} from "@angular/core";
|
|
2
|
-
import {LanguageCode} from "../../../../enum/language-code.enum";
|
|
3
|
-
import {AgendaEvent} from "../../../../model/agenda-event.model";
|
|
4
|
-
import {AgendaEventPerDay} from "../../../../model/agenda-event-per-day.model";
|
|
5
|
-
import {DateUtils} from "../../../../utils/date-utils";
|
|
6
|
-
import {IconCacheService} from "../../../../service/icon-cache.service";
|
|
7
|
-
|
|
8
|
-
@Directive()
|
|
9
|
-
export abstract class AgendaBaseViewComponent {
|
|
10
|
-
|
|
11
|
-
@Input()
|
|
12
|
-
public set selectedDate(value: Date) {
|
|
13
|
-
this._selectedDate = value;
|
|
14
|
-
this._dateIsSet();
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@Input()
|
|
18
|
-
public set eventsPerDay(value: AgendaEventPerDay[]) {
|
|
19
|
-
this._eventsPerDay = value;
|
|
20
|
-
this._eventsAreSet();
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@Output()
|
|
24
|
-
public eventChecked: EventEmitter<AgendaEvent> = new EventEmitter<AgendaEvent>();
|
|
25
|
-
|
|
26
|
-
public get selectedDate(): Date {
|
|
27
|
-
return this._selectedDate;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
public get eventsPerDate(): AgendaEventPerDay[] {
|
|
31
|
-
return this._eventsPerDay;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
private _selectedDate: Date;
|
|
35
|
-
private _eventsPerDay: AgendaEventPerDay[] = [];
|
|
36
|
-
|
|
37
|
-
constructor(
|
|
38
|
-
@Inject(LOCALE_ID) protected readonly locale: LanguageCode,
|
|
39
|
-
public iconCacheService: IconCacheService
|
|
40
|
-
) {
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
//overridable by descendents
|
|
44
|
-
protected prepareViewData(): void {
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
protected getEventsFromDate(date: Date): AgendaEvent[] {
|
|
48
|
-
let events: AgendaEvent[] = [];
|
|
49
|
-
if (this.eventsPerDate) {
|
|
50
|
-
const len: number = this.eventsPerDate.length;
|
|
51
|
-
for (let i: number = 0; i < len; i++) {
|
|
52
|
-
if (DateUtils.DatesEqual(date, this.eventsPerDate[i].date)) {
|
|
53
|
-
events = this.eventsPerDate[i].events;
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
return events;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
private _dateIsSet(): void {
|
|
62
|
-
this.prepareViewData();
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
private _eventsAreSet(): void {
|
|
66
|
-
this.prepareViewData();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {Component, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {AgendaEvent} from "../../../../model/agenda-event.model";
|
|
3
|
-
import {AgendaBaseViewComponent} from "./agenda-base-view.component";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: "agenda-day-view",
|
|
8
|
-
template: `
|
|
9
|
-
<div class="view-wrapper">
|
|
10
|
-
<agenda-hour-view-labels [date]="selectedDate"></agenda-hour-view-labels>
|
|
11
|
-
<agenda-hour-view [date]="selectedDate">
|
|
12
|
-
<agenda-events
|
|
13
|
-
[halfHourHeight]="40"
|
|
14
|
-
[events]="events"
|
|
15
|
-
(eventChecked)="eventChecked.emit($event)"
|
|
16
|
-
></agenda-events>
|
|
17
|
-
</agenda-hour-view>
|
|
18
|
-
</div>
|
|
19
|
-
`,
|
|
20
|
-
encapsulation: ViewEncapsulation.None
|
|
21
|
-
})
|
|
22
|
-
export class AgendaDayViewComponent extends AgendaBaseViewComponent {
|
|
23
|
-
|
|
24
|
-
public events: AgendaEvent[] = [];
|
|
25
|
-
|
|
26
|
-
protected prepareViewData(): void {
|
|
27
|
-
if (this.eventsPerDate && this.eventsPerDate.length > 0) {
|
|
28
|
-
this.events = this.eventsPerDate[0].events;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
ElementRef,
|
|
4
|
-
EventEmitter,
|
|
5
|
-
Input,
|
|
6
|
-
OnDestroy,
|
|
7
|
-
OnInit,
|
|
8
|
-
Output,
|
|
9
|
-
Renderer2,
|
|
10
|
-
ViewEncapsulation
|
|
11
|
-
} from "@angular/core";
|
|
12
|
-
import {AgendaEvent} from "../../../../model/agenda-event.model";
|
|
13
|
-
import {NULL_AGENDA_EVENT} from "../../../../model/agenda-null-objects";
|
|
14
|
-
import {Icon} from "../../../../enum/icon.enum";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@Component({
|
|
18
|
-
selector: "agenda-event",
|
|
19
|
-
template: `
|
|
20
|
-
<div class="agenda-event-wrapper" [class.checkable]="event.showCheckbox" [class.selected]="event.checked" (click)="checkEvent($event)">
|
|
21
|
-
<div [textContent]="event.fromToRepresentation" class="event-description"></div>
|
|
22
|
-
<icon *ngIf="event.showCheckbox" icon="check_round_open" [class.checked]="event.checked"></icon>
|
|
23
|
-
</div>
|
|
24
|
-
`,
|
|
25
|
-
encapsulation: ViewEncapsulation.None
|
|
26
|
-
})
|
|
27
|
-
export class AgendaEventComponent implements OnInit, OnDestroy {
|
|
28
|
-
|
|
29
|
-
public readonly icons: typeof Icon = Icon;
|
|
30
|
-
|
|
31
|
-
@Input()
|
|
32
|
-
public event: AgendaEvent = NULL_AGENDA_EVENT;
|
|
33
|
-
|
|
34
|
-
@Input()
|
|
35
|
-
public halfHourHeight: number;
|
|
36
|
-
|
|
37
|
-
@Output()
|
|
38
|
-
public eventChecked: EventEmitter<AgendaEvent> = new EventEmitter<AgendaEvent>();
|
|
39
|
-
|
|
40
|
-
constructor(
|
|
41
|
-
private _elementRef: ElementRef,
|
|
42
|
-
private _renderer: Renderer2
|
|
43
|
-
) {
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
ngOnDestroy(): void {
|
|
47
|
-
this._elementRef = undefined;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
ngOnInit(): void {
|
|
51
|
-
const hourTo: number = this.event.from.getHours();
|
|
52
|
-
const minutesTo: number = this.event.from.getMinutes();
|
|
53
|
-
const multiply: number = hourTo + (minutesTo / 60);
|
|
54
|
-
const top: number = multiply * (this.halfHourHeight * 2);
|
|
55
|
-
this._renderer.setStyle(this._elementRef.nativeElement, "top", top + "px");
|
|
56
|
-
|
|
57
|
-
const hours: number = Math.abs(this.event.to.getTime() - this.event.from.getTime()) / 3600000;
|
|
58
|
-
const height: number = hours * (this.halfHourHeight * 2) - 1;
|
|
59
|
-
this._renderer.setStyle(this._elementRef.nativeElement, "height", height + "px");
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
public checkEvent(event: MouseEvent): void {
|
|
63
|
-
this.event.checked = !this.event.checked;
|
|
64
|
-
this.eventChecked.emit(this.event);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import {Component, EventEmitter, Input, Output, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {CalendarView} from "../../../../enum/calendar-view.enum";
|
|
3
|
-
import {AgendaEvent} from "../../../../model/agenda-event.model";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: "agenda-events",
|
|
8
|
-
template: `
|
|
9
|
-
<ng-container *ngIf="view !== viewTypes.WeekSelectView">
|
|
10
|
-
<agenda-event
|
|
11
|
-
*ngFor="let event of events"
|
|
12
|
-
[halfHourHeight]="halfHourHeight"
|
|
13
|
-
[event]="event"
|
|
14
|
-
(eventChecked)="eventChecked.emit($event)"
|
|
15
|
-
></agenda-event>
|
|
16
|
-
</ng-container>
|
|
17
|
-
<ng-container *ngIf="view === viewTypes.WeekSelectView">
|
|
18
|
-
<agenda-select-event
|
|
19
|
-
*ngFor="let event of events"
|
|
20
|
-
[event]="event"
|
|
21
|
-
(eventChecked)="eventChecked.emit($event)"
|
|
22
|
-
></agenda-select-event>
|
|
23
|
-
</ng-container>
|
|
24
|
-
`,
|
|
25
|
-
encapsulation: ViewEncapsulation.None
|
|
26
|
-
})
|
|
27
|
-
export class AgendaEventsComponent {
|
|
28
|
-
|
|
29
|
-
public readonly viewTypes: typeof CalendarView = CalendarView;
|
|
30
|
-
|
|
31
|
-
@Input()
|
|
32
|
-
public view: CalendarView = CalendarView.WeekView;
|
|
33
|
-
|
|
34
|
-
@Input()
|
|
35
|
-
public type: string = "";
|
|
36
|
-
|
|
37
|
-
@Input()
|
|
38
|
-
public events: AgendaEvent[] = [];
|
|
39
|
-
|
|
40
|
-
@Input()
|
|
41
|
-
public halfHourHeight: number;
|
|
42
|
-
|
|
43
|
-
@Output()
|
|
44
|
-
public readonly eventChecked: EventEmitter<AgendaEvent> = new EventEmitter<AgendaEvent>();
|
|
45
|
-
|
|
46
|
-
constructor() {
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import {Component, ElementRef, Input, OnDestroy, Renderer2, ViewChild, ViewEncapsulation} from "@angular/core";
|
|
2
|
-
import {DateUtils} from "../../../../utils/date-utils";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@Component({
|
|
6
|
-
selector: "agenda-half-hour-cell",
|
|
7
|
-
template: `
|
|
8
|
-
<div id="{{id}}" class="cell-wrapper">
|
|
9
|
-
<div *ngIf="showLabel" [class.show]="showLabel" class="half-hour-label">
|
|
10
|
-
<div [textContent]="date | date:'HH:mm'"></div>
|
|
11
|
-
</div>
|
|
12
|
-
<div *ngIf="showCurrentTime" id="currentTime" class="current-time" #currentTime></div>
|
|
13
|
-
<div class="content-wrapper">
|
|
14
|
-
<ng-content></ng-content>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
`,
|
|
18
|
-
encapsulation: ViewEncapsulation.None
|
|
19
|
-
})
|
|
20
|
-
export class AgendaHalfHourCellComponent implements OnDestroy {
|
|
21
|
-
|
|
22
|
-
@ViewChild("currentTime")
|
|
23
|
-
public currentTimeElement: ElementRef;
|
|
24
|
-
|
|
25
|
-
@Input()
|
|
26
|
-
public set date(value: Date) {
|
|
27
|
-
this._date = value;
|
|
28
|
-
this._checkDate();
|
|
29
|
-
this._checkWorkingDayStart();
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
public get date(): Date {
|
|
33
|
-
return this._date;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@Input()
|
|
37
|
-
public showLabel: boolean = false;
|
|
38
|
-
|
|
39
|
-
public showCurrentTime: boolean = false;
|
|
40
|
-
|
|
41
|
-
public currentTimeTop: number = 0;
|
|
42
|
-
|
|
43
|
-
public id: string;
|
|
44
|
-
|
|
45
|
-
private _date: Date;
|
|
46
|
-
private _id: string;
|
|
47
|
-
|
|
48
|
-
constructor(
|
|
49
|
-
private _renderer: Renderer2
|
|
50
|
-
) {
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
ngOnDestroy(): void {
|
|
54
|
-
this.currentTimeElement = undefined;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
private _checkDate(): void {
|
|
58
|
-
const checkDate: Date = new Date();
|
|
59
|
-
const minutesFrom: number = this.date.getMinutes();
|
|
60
|
-
const minutesTo: number = minutesFrom + 30;
|
|
61
|
-
|
|
62
|
-
if (DateUtils.DatesEqual(this.date, checkDate)) {
|
|
63
|
-
if (checkDate.getHours() === this.date.getHours() && (checkDate.getMinutes() > minutesFrom && checkDate.getMinutes() < minutesTo)) {
|
|
64
|
-
this.currentTimeTop = (Math.max(checkDate.getMinutes(), .01) / 60) * 100;
|
|
65
|
-
this._positionCurrentTime();
|
|
66
|
-
this.showCurrentTime = true;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
private _checkWorkingDayStart(): void {
|
|
72
|
-
this.id = (this._date.getHours() === 8 && this._date.getMinutes() === 30) ? "dayStart" : "";
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
private _positionCurrentTime(): void {
|
|
76
|
-
if (this.currentTimeElement) {
|
|
77
|
-
this._renderer.setStyle(this.currentTimeElement.nativeElement, "top", this.currentTimeTop + "%");
|
|
78
|
-
this.currentTimeElement.nativeElement.scrollIntoView();
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|