zek 15.2.1 → 16.0.0
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 +1 -1
- package/{esm2020 → esm2022}/lib/components/args.mjs +1 -1
- package/esm2022/lib/components/base.component.mjs +97 -0
- package/esm2022/lib/components/core-ui.component.mjs +195 -0
- package/esm2022/lib/components/core.component.mjs +40 -0
- package/esm2022/lib/components/edit-base.component.mjs +237 -0
- package/{esm2020 → esm2022}/lib/components/index.mjs +7 -7
- package/esm2022/lib/components/list-base.component.mjs +254 -0
- package/{esm2020 → esm2022}/lib/components/types.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/alert-type.mjs +11 -11
- package/{esm2020 → esm2022}/lib/models/captcha.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/ctor.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/edit-base.model.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/file.model.mjs +19 -19
- package/{esm2020 → esm2022}/lib/models/filter.model.mjs +11 -11
- package/{esm2020 → esm2022}/lib/models/gender.model.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/index.mjs +17 -17
- package/{esm2020 → esm2022}/lib/models/key-pair.model.mjs +13 -13
- package/{esm2020 → esm2022}/lib/models/list-base.model.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/login.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/month.model.mjs +15 -15
- package/{esm2020 → esm2022}/lib/models/nav.model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/pager.model.mjs +31 -31
- package/{esm2020 → esm2022}/lib/models/print.model.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/tree.model.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/valid-event-args.model.mjs +5 -5
- package/esm2022/lib/modules/age/age.module.mjs +23 -0
- package/esm2022/lib/modules/age/age.pipe.mjs +22 -0
- package/{esm2020 → esm2022}/lib/modules/age/index.mjs +2 -2
- package/esm2022/lib/modules/alert/alert/alert.mjs +55 -0
- package/esm2022/lib/modules/alert/alert.module.mjs +36 -0
- package/{esm2020 → esm2022}/lib/modules/alert/index.mjs +5 -5
- package/esm2022/lib/modules/alert/toast/toast.mjs +110 -0
- package/esm2022/lib/modules/alert/validation/validation.mjs +86 -0
- package/esm2022/lib/modules/autocomplete/autocomplete.directive.mjs +25 -0
- package/esm2022/lib/modules/autocomplete/autocomplete.module.mjs +23 -0
- package/{esm2020 → esm2022}/lib/modules/autocomplete/index.mjs +2 -2
- package/esm2022/lib/modules/bb/bb-modal-base.component.mjs +75 -0
- package/esm2022/lib/modules/bb/bb-modal-toolbar.mjs +45 -0
- package/esm2022/lib/modules/bb/bb.component.mjs +189 -0
- package/esm2022/lib/modules/bb/bb.module.mjs +38 -0
- package/{esm2020 → esm2022}/lib/modules/bb/index.mjs +4 -4
- package/esm2022/lib/modules/callback/callback.module.mjs +23 -0
- package/esm2022/lib/modules/callback/callback.pipe.mjs +23 -0
- package/{esm2020 → esm2022}/lib/modules/callback/index.mjs +2 -2
- package/esm2022/lib/modules/card/card/card.component.mjs +48 -0
- package/esm2022/lib/modules/card/card.module.mjs +19 -0
- package/{esm2020 → esm2022}/lib/modules/card/index.mjs +2 -2
- package/esm2022/lib/modules/date-ago/date-ago.pipe.mjs +47 -0
- package/esm2022/lib/modules/date-ago/date.module.mjs +23 -0
- package/{esm2020 → esm2022}/lib/modules/date-ago/index.mjs +2 -2
- package/esm2022/lib/modules/datepicker/date-value-accessor.mjs +189 -0
- package/esm2022/lib/modules/datepicker/datepicker.module.mjs +32 -0
- package/{esm2020 → esm2022}/lib/modules/datepicker/index.mjs +2 -2
- package/esm2022/lib/modules/edit-toolbar/edit-toolbar.component.mjs +75 -0
- package/esm2022/lib/modules/edit-toolbar/edit-toolbar.module.mjs +27 -0
- package/{esm2020 → esm2022}/lib/modules/edit-toolbar/index.mjs +2 -2
- package/esm2022/lib/modules/file/file-size.pipe.mjs +48 -0
- package/esm2022/lib/modules/file/file.module.mjs +23 -0
- package/{esm2020 → esm2022}/lib/modules/file/index.mjs +2 -2
- package/esm2022/lib/modules/file-viewer/file-viewer.mjs +52 -0
- package/{esm2020 → esm2022}/lib/modules/file-viewer/index.mjs +2 -2
- package/esm2022/lib/modules/file-viewer/module.mjs +31 -0
- package/esm2022/lib/modules/grid-toolbar/grid-toolbar/grid-toolbar.component.mjs +146 -0
- package/esm2022/lib/modules/grid-toolbar/grid-toolbar-bar/grid-toolbar-bar.component.mjs +15 -0
- package/esm2022/lib/modules/grid-toolbar/grid-toolbar.module.mjs +34 -0
- package/{esm2020 → esm2022}/lib/modules/grid-toolbar/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/modules/index.mjs +32 -32
- package/{esm2020 → esm2022}/lib/modules/list-toolbar/index.mjs +2 -2
- package/esm2022/lib/modules/list-toolbar/list-toolbar.component.mjs +110 -0
- package/esm2022/lib/modules/list-toolbar/list-toolbar.module.mjs +25 -0
- package/{esm2020 → esm2022}/lib/modules/loading/index.mjs +3 -3
- package/esm2022/lib/modules/loading/loading-interceptor.mjs +80 -0
- package/esm2022/lib/modules/loading/loading.component.mjs +36 -0
- package/esm2022/lib/modules/loading/loading.module.mjs +33 -0
- package/esm2022/lib/modules/modal/filter-modal/filter-modal.component.mjs +27 -0
- package/{esm2020 → esm2022}/lib/modules/modal/index.mjs +4 -4
- package/esm2022/lib/modules/modal/modal/modal.component.mjs +313 -0
- package/esm2022/lib/modules/modal/modal.module.mjs +63 -0
- package/esm2022/lib/modules/modal/sum-modal/sum-modal.component.mjs +28 -0
- package/{esm2020 → esm2022}/lib/modules/page-title/index.mjs +2 -2
- package/esm2022/lib/modules/page-title/page-title.component.mjs +32 -0
- package/esm2022/lib/modules/page-title/page-title.module.mjs +27 -0
- package/{esm2020 → esm2022}/lib/modules/pager/index.mjs +2 -2
- package/esm2022/lib/modules/pager/pager/pager.component.mjs +51 -0
- package/esm2022/lib/modules/pager/pager.module.mjs +27 -0
- package/{esm2020 → esm2022}/lib/modules/password/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/modules/password/password.component.mjs +48 -47
- package/esm2022/lib/modules/password/password.module.mjs +31 -0
- package/{esm2020 → esm2022}/lib/modules/progress/index.mjs +2 -2
- package/esm2022/lib/modules/progress/module.mjs +27 -0
- package/esm2022/lib/modules/progress/progress.mjs +98 -0
- package/{esm2020 → esm2022}/lib/modules/radio/index.mjs +2 -2
- package/esm2022/lib/modules/radio/radio-button.component.mjs +135 -0
- package/esm2022/lib/modules/radio/radio.module.mjs +23 -0
- package/{esm2020 → esm2022}/lib/modules/readonly/index.mjs +2 -2
- package/esm2022/lib/modules/readonly/readonly.directive.mjs +26 -0
- package/esm2022/lib/modules/readonly/readonly.module.mjs +23 -0
- package/{esm2020 → esm2022}/lib/modules/recaptcha/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/modules/recaptcha/loader.mjs +12 -12
- package/{esm2020 → esm2022}/lib/modules/recaptcha/recaptcha.model.mjs +1 -1
- package/esm2022/lib/modules/recaptcha/recaptcha.module.mjs +33 -0
- package/esm2022/lib/modules/recaptcha/recaptcha.service.mjs +120 -0
- package/{esm2020 → esm2022}/lib/modules/safe/index.mjs +2 -2
- package/esm2022/lib/modules/safe/safe.module.mjs +21 -0
- package/esm2022/lib/modules/safe/safe.pipe.mjs +38 -0
- package/{esm2020 → esm2022}/lib/modules/select/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/modules/select/model.mjs +3 -3
- package/esm2022/lib/modules/select/module.mjs +29 -0
- package/esm2022/lib/modules/select/select.mjs +199 -0
- package/{esm2020 → esm2022}/lib/modules/select2/index.mjs +2 -2
- package/esm2022/lib/modules/select2/select2.component.mjs +171 -0
- package/esm2022/lib/modules/select2/select2.module.mjs +29 -0
- package/{esm2020 → esm2022}/lib/modules/select2-multiple/index.mjs +2 -2
- package/esm2022/lib/modules/select2-multiple/select2-multiple.component.mjs +133 -0
- package/esm2022/lib/modules/select2-multiple/select2-multiple.module.mjs +29 -0
- package/{esm2020 → esm2022}/lib/modules/sort/index.mjs +3 -3
- package/esm2022/lib/modules/sort/sort-button-group/sort-button-group.component.mjs +80 -0
- package/esm2022/lib/modules/sort/sort.directive.mjs +118 -0
- package/esm2022/lib/modules/sort/sort.module.mjs +34 -0
- package/{esm2020 → esm2022}/lib/modules/time/index.mjs +3 -3
- package/esm2022/lib/modules/time/time.module.mjs +28 -0
- package/esm2022/lib/modules/time/time.pipe.mjs +41 -0
- package/esm2022/lib/modules/time/timer-service.mjs +90 -0
- package/{esm2020 → esm2022}/lib/modules/validator/field-validator.mjs +21 -20
- package/{esm2020 → esm2022}/lib/modules/validator/index.mjs +2 -2
- package/esm2022/lib/modules/validator/validator.module.mjs +27 -0
- package/esm2022/lib/modules/validators/directive.mjs +76 -0
- package/{esm2020 → esm2022}/lib/modules/validators/index.mjs +3 -3
- package/esm2022/lib/modules/validators/module.mjs +23 -0
- package/{esm2020 → esm2022}/lib/modules/validators/validator.mjs +71 -71
- package/{esm2020 → esm2022}/lib/modules/wizard/index.mjs +3 -3
- package/esm2022/lib/modules/wizard/wizard/wizard.component.mjs +66 -0
- package/esm2022/lib/modules/wizard/wizard.module.mjs +34 -0
- package/esm2022/lib/modules/wizard/wizard2/wizard2.component.mjs +14 -0
- package/esm2022/lib/services/alert.service.mjs +77 -0
- package/esm2022/lib/services/auth-guard.service.mjs +29 -0
- package/esm2022/lib/services/auth.service.mjs +204 -0
- package/{esm2020 → esm2022}/lib/services/base.service.mjs +7 -7
- package/{esm2020 → esm2022}/lib/services/crud.service.mjs +42 -42
- package/esm2022/lib/services/http-error-handler.service.mjs +142 -0
- package/{esm2020 → esm2022}/lib/services/index.mjs +6 -6
- package/esm2022/lib/services/web.api.mjs +127 -0
- package/{esm2020 → esm2022}/lib/tokens.mjs +5 -5
- package/{esm2020 → esm2022}/lib/utils/array-helper.mjs +113 -113
- package/{esm2020 → esm2022}/lib/utils/base64-helper.mjs +8 -8
- package/{esm2020 → esm2022}/lib/utils/bitwise-helper.mjs +13 -13
- package/{esm2020 → esm2022}/lib/utils/bootstrap.helper.mjs +126 -126
- package/{esm2020 → esm2022}/lib/utils/convert.mjs +34 -34
- package/{esm2020 → esm2022}/lib/utils/css-helper.mjs +40 -40
- package/esm2022/lib/utils/date-helper.mjs +236 -0
- package/{esm2020 → esm2022}/lib/utils/file.helper.mjs +25 -25
- package/{esm2020 → esm2022}/lib/utils/filter-helper.mjs +12 -12
- package/{esm2020 → esm2022}/lib/utils/handler.mjs +23 -23
- package/{esm2020 → esm2022}/lib/utils/html-helper.mjs +65 -65
- package/{esm2020 → esm2022}/lib/utils/index.mjs +22 -22
- package/{esm2020 → esm2022}/lib/utils/math-helper.mjs +6 -6
- package/{esm2020 → esm2022}/lib/utils/object-helper.mjs +63 -63
- package/{esm2020 → esm2022}/lib/utils/overlap-helper.mjs +72 -72
- package/{esm2020 → esm2022}/lib/utils/pager-helper.mjs +62 -62
- package/{esm2020 → esm2022}/lib/utils/random-helper.mjs +10 -10
- package/{esm2020 → esm2022}/lib/utils/storage-helper.mjs +27 -27
- package/{esm2020 → esm2022}/lib/utils/string-helper.mjs +31 -31
- package/{esm2020 → esm2022}/lib/utils/thenBy.mjs +40 -40
- package/{esm2020 → esm2022}/lib/utils/time-helper.mjs +46 -46
- package/{esm2020 → esm2022}/lib/utils/url-helper.mjs +25 -25
- package/esm2022/lib/utils/validation-helper.mjs +11 -0
- package/esm2022/lib/zek.module.mjs +34 -0
- package/{esm2020 → esm2022}/public-api.mjs +10 -10
- package/{esm2020 → esm2022}/zek.mjs +4 -4
- package/{fesm2020 → fesm2022}/zek.mjs +6415 -6415
- package/{fesm2020 → fesm2022}/zek.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/components/args.d.ts +5 -5
- package/lib/components/base.component.d.ts +24 -24
- package/lib/components/core-ui.component.d.ts +86 -86
- package/lib/components/core.component.d.ts +15 -15
- package/lib/components/edit-base.component.d.ts +59 -59
- package/lib/components/index.d.ts +7 -7
- package/lib/components/list-base.component.d.ts +61 -61
- package/lib/components/types.d.ts +3 -3
- package/lib/models/alert-type.d.ts +10 -10
- package/lib/models/captcha.model.d.ts +3 -3
- package/lib/models/ctor.d.ts +3 -3
- package/lib/models/edit-base.model.d.ts +5 -5
- package/lib/models/file.model.d.ts +14 -14
- package/lib/models/filter.model.d.ts +9 -9
- package/lib/models/gender.model.d.ts +4 -4
- package/lib/models/index.d.ts +16 -16
- package/lib/models/key-pair.model.d.ts +14 -14
- package/lib/models/list-base.model.d.ts +4 -4
- package/lib/models/login.model.d.ts +28 -28
- package/lib/models/month.model.d.ts +14 -14
- package/lib/models/nav.model.d.ts +19 -19
- package/lib/models/pager.model.d.ts +21 -21
- package/lib/models/print.model.d.ts +4 -4
- package/lib/models/tree.model.d.ts +8 -8
- package/lib/models/valid-event-args.model.d.ts +3 -3
- package/lib/modules/age/age.module.d.ts +8 -8
- package/lib/modules/age/age.pipe.d.ts +7 -7
- package/lib/modules/age/index.d.ts +2 -2
- package/lib/modules/alert/alert/alert.d.ts +16 -16
- package/lib/modules/alert/alert.module.d.ts +10 -10
- package/lib/modules/alert/index.d.ts +5 -5
- package/lib/modules/alert/toast/toast.d.ts +20 -20
- package/lib/modules/alert/validation/validation.d.ts +17 -17
- package/lib/modules/autocomplete/autocomplete.directive.d.ts +11 -11
- package/lib/modules/autocomplete/autocomplete.module.d.ts +8 -8
- package/lib/modules/autocomplete/index.d.ts +2 -2
- package/lib/modules/bb/bb-modal-base.component.d.ts +26 -26
- package/lib/modules/bb/bb-modal-toolbar.d.ts +16 -16
- package/lib/modules/bb/bb.component.d.ts +52 -52
- package/lib/modules/bb/bb.module.d.ts +11 -11
- package/lib/modules/bb/index.d.ts +4 -4
- package/lib/modules/callback/callback.module.d.ts +8 -8
- package/lib/modules/callback/callback.pipe.d.ts +7 -7
- package/lib/modules/callback/index.d.ts +2 -2
- package/lib/modules/card/card/card.component.d.ts +21 -21
- package/lib/modules/card/card.module.d.ts +8 -8
- package/lib/modules/card/index.d.ts +2 -2
- package/lib/modules/date-ago/date-ago.pipe.d.ts +7 -7
- package/lib/modules/date-ago/date.module.d.ts +8 -8
- package/lib/modules/date-ago/index.d.ts +2 -2
- package/lib/modules/datepicker/date-value-accessor.d.ts +24 -24
- package/lib/modules/datepicker/datepicker.module.d.ts +14 -14
- package/lib/modules/datepicker/index.d.ts +2 -2
- package/lib/modules/edit-toolbar/edit-toolbar.component.d.ts +25 -25
- package/lib/modules/edit-toolbar/edit-toolbar.module.d.ts +9 -9
- package/lib/modules/edit-toolbar/index.d.ts +2 -2
- package/lib/modules/file/file-size.pipe.d.ts +8 -8
- package/lib/modules/file/file.module.d.ts +8 -8
- package/lib/modules/file/index.d.ts +2 -2
- package/lib/modules/file-viewer/file-viewer.d.ts +10 -10
- package/lib/modules/file-viewer/index.d.ts +2 -2
- package/lib/modules/file-viewer/module.d.ts +10 -10
- package/lib/modules/grid-toolbar/grid-toolbar/grid-toolbar.component.d.ts +50 -50
- package/lib/modules/grid-toolbar/grid-toolbar-bar/grid-toolbar-bar.component.d.ts +6 -6
- package/lib/modules/grid-toolbar/grid-toolbar.module.d.ts +10 -10
- package/lib/modules/grid-toolbar/index.d.ts +3 -3
- package/lib/modules/index.d.ts +31 -31
- package/lib/modules/list-toolbar/index.d.ts +2 -2
- package/lib/modules/list-toolbar/list-toolbar.component.d.ts +41 -41
- package/lib/modules/list-toolbar/list-toolbar.module.d.ts +9 -9
- package/lib/modules/loading/index.d.ts +2 -2
- package/lib/modules/loading/loading-interceptor.d.ts +21 -21
- package/lib/modules/loading/loading.component.d.ts +13 -13
- package/lib/modules/loading/loading.module.d.ts +8 -8
- package/lib/modules/modal/filter-modal/filter-modal.component.d.ts +10 -10
- package/lib/modules/modal/index.d.ts +4 -4
- package/lib/modules/modal/modal/modal.component.d.ts +90 -90
- package/lib/modules/modal/modal.module.d.ts +12 -12
- package/lib/modules/modal/sum-modal/sum-modal.component.d.ts +8 -8
- package/lib/modules/page-title/index.d.ts +2 -2
- package/lib/modules/page-title/page-title.component.d.ts +12 -12
- package/lib/modules/page-title/page-title.module.d.ts +9 -9
- package/lib/modules/pager/index.d.ts +2 -2
- package/lib/modules/pager/pager/pager.component.d.ts +17 -17
- package/lib/modules/pager/pager.module.d.ts +9 -9
- package/lib/modules/password/index.d.ts +2 -2
- package/lib/modules/password/password.component.d.ts +18 -18
- package/lib/modules/password/password.module.d.ts +10 -10
- package/lib/modules/progress/index.d.ts +2 -2
- package/lib/modules/progress/module.d.ts +9 -9
- package/lib/modules/progress/progress.d.ts +33 -33
- package/lib/modules/radio/index.d.ts +2 -2
- package/lib/modules/radio/radio-button.component.d.ts +44 -44
- package/lib/modules/radio/radio.module.d.ts +8 -8
- package/lib/modules/readonly/index.d.ts +2 -2
- package/lib/modules/readonly/readonly.directive.d.ts +8 -8
- package/lib/modules/readonly/readonly.module.d.ts +8 -8
- package/lib/modules/recaptcha/index.d.ts +3 -3
- package/lib/modules/recaptcha/loader.d.ts +12 -12
- package/lib/modules/recaptcha/recaptcha.model.d.ts +109 -109
- package/lib/modules/recaptcha/recaptcha.module.d.ts +10 -10
- package/lib/modules/recaptcha/recaptcha.service.d.ts +60 -60
- package/lib/modules/safe/index.d.ts +2 -2
- package/lib/modules/safe/safe.module.d.ts +8 -8
- package/lib/modules/safe/safe.pipe.d.ts +16 -16
- package/lib/modules/select/index.d.ts +2 -2
- package/lib/modules/select/model.d.ts +5 -5
- package/lib/modules/select/module.d.ts +9 -9
- package/lib/modules/select/select.d.ts +42 -42
- package/lib/modules/select2/index.d.ts +2 -2
- package/lib/modules/select2/select2.component.d.ts +31 -31
- package/lib/modules/select2/select2.module.d.ts +9 -9
- package/lib/modules/select2-multiple/index.d.ts +2 -2
- package/lib/modules/select2-multiple/select2-multiple.component.d.ts +30 -30
- package/lib/modules/select2-multiple/select2-multiple.module.d.ts +9 -9
- package/lib/modules/sort/index.d.ts +3 -3
- package/lib/modules/sort/sort-button-group/sort-button-group.component.d.ts +34 -34
- package/lib/modules/sort/sort.directive.d.ts +34 -34
- package/lib/modules/sort/sort.module.d.ts +10 -10
- package/lib/modules/time/index.d.ts +3 -3
- package/lib/modules/time/time.module.d.ts +8 -8
- package/lib/modules/time/time.pipe.d.ts +11 -11
- package/lib/modules/time/timer-service.d.ts +21 -21
- package/lib/modules/validator/field-validator.d.ts +7 -7
- package/lib/modules/validator/index.d.ts +2 -2
- package/lib/modules/validator/validator.module.d.ts +9 -9
- package/lib/modules/validators/directive.d.ts +67 -67
- package/lib/modules/validators/index.d.ts +3 -3
- package/lib/modules/validators/module.d.ts +8 -8
- package/lib/modules/validators/validator.d.ts +33 -33
- package/lib/modules/wizard/index.d.ts +3 -3
- package/lib/modules/wizard/wizard/wizard.component.d.ts +19 -19
- package/lib/modules/wizard/wizard.module.d.ts +10 -10
- package/lib/modules/wizard/wizard2/wizard2.component.d.ts +6 -6
- package/lib/services/alert.service.d.ts +33 -33
- package/lib/services/auth-guard.service.d.ts +12 -12
- package/lib/services/auth.service.d.ts +30 -30
- package/lib/services/base.service.d.ts +8 -8
- package/lib/services/crud.service.d.ts +32 -32
- package/lib/services/http-error-handler.service.d.ts +39 -39
- package/lib/services/index.d.ts +6 -6
- package/lib/services/web.api.d.ts +31 -31
- package/lib/tokens.d.ts +5 -5
- package/lib/utils/array-helper.d.ts +14 -14
- package/lib/utils/base64-helper.d.ts +4 -4
- package/lib/utils/bitwise-helper.d.ts +4 -4
- package/lib/utils/bootstrap.helper.d.ts +25 -25
- package/lib/utils/convert.d.ts +7 -7
- package/lib/utils/css-helper.d.ts +5 -5
- package/lib/utils/date-helper.d.ts +43 -43
- package/lib/utils/file.helper.d.ts +3 -3
- package/lib/utils/filter-helper.d.ts +3 -3
- package/lib/utils/handler.d.ts +4 -4
- package/lib/utils/html-helper.d.ts +7 -7
- package/lib/utils/index.d.ts +22 -22
- package/lib/utils/math-helper.d.ts +3 -3
- package/lib/utils/object-helper.d.ts +13 -13
- package/lib/utils/overlap-helper.d.ts +22 -22
- package/lib/utils/pager-helper.d.ts +4 -4
- package/lib/utils/random-helper.d.ts +3 -3
- package/lib/utils/storage-helper.d.ts +4 -4
- package/lib/utils/string-helper.d.ts +8 -8
- package/lib/utils/thenBy.d.ts +4 -4
- package/lib/utils/time-helper.d.ts +7 -7
- package/lib/utils/url-helper.d.ts +5 -5
- package/lib/utils/validation-helper.d.ts +4 -4
- package/lib/zek.module.d.ts +14 -14
- package/package.json +7 -13
- package/public-api.d.ts +7 -7
- package/esm2020/lib/components/base.component.mjs +0 -96
- package/esm2020/lib/components/core-ui.component.mjs +0 -194
- package/esm2020/lib/components/core.component.mjs +0 -39
- package/esm2020/lib/components/edit-base.component.mjs +0 -234
- package/esm2020/lib/components/list-base.component.mjs +0 -253
- package/esm2020/lib/modules/age/age.module.mjs +0 -22
- package/esm2020/lib/modules/age/age.pipe.mjs +0 -21
- package/esm2020/lib/modules/alert/alert/alert.mjs +0 -54
- package/esm2020/lib/modules/alert/alert.module.mjs +0 -35
- package/esm2020/lib/modules/alert/toast/toast.mjs +0 -109
- package/esm2020/lib/modules/alert/validation/validation.mjs +0 -85
- package/esm2020/lib/modules/autocomplete/autocomplete.directive.mjs +0 -24
- package/esm2020/lib/modules/autocomplete/autocomplete.module.mjs +0 -22
- package/esm2020/lib/modules/bb/bb-modal-base.component.mjs +0 -74
- package/esm2020/lib/modules/bb/bb-modal-toolbar.mjs +0 -44
- package/esm2020/lib/modules/bb/bb.component.mjs +0 -188
- package/esm2020/lib/modules/bb/bb.module.mjs +0 -37
- package/esm2020/lib/modules/callback/callback.module.mjs +0 -22
- package/esm2020/lib/modules/callback/callback.pipe.mjs +0 -22
- package/esm2020/lib/modules/card/card/card.component.mjs +0 -47
- package/esm2020/lib/modules/card/card.module.mjs +0 -18
- package/esm2020/lib/modules/date-ago/date-ago.pipe.mjs +0 -46
- package/esm2020/lib/modules/date-ago/date.module.mjs +0 -22
- package/esm2020/lib/modules/datepicker/date-value-accessor.mjs +0 -188
- package/esm2020/lib/modules/datepicker/datepicker.module.mjs +0 -31
- package/esm2020/lib/modules/edit-toolbar/edit-toolbar.component.mjs +0 -74
- package/esm2020/lib/modules/edit-toolbar/edit-toolbar.module.mjs +0 -26
- package/esm2020/lib/modules/file/file-size.pipe.mjs +0 -47
- package/esm2020/lib/modules/file/file.module.mjs +0 -22
- package/esm2020/lib/modules/file-viewer/file-viewer.mjs +0 -51
- package/esm2020/lib/modules/file-viewer/module.mjs +0 -30
- package/esm2020/lib/modules/grid-toolbar/grid-toolbar/grid-toolbar.component.mjs +0 -145
- package/esm2020/lib/modules/grid-toolbar/grid-toolbar-bar/grid-toolbar-bar.component.mjs +0 -14
- package/esm2020/lib/modules/grid-toolbar/grid-toolbar.module.mjs +0 -33
- package/esm2020/lib/modules/list-toolbar/list-toolbar.component.mjs +0 -109
- package/esm2020/lib/modules/list-toolbar/list-toolbar.module.mjs +0 -24
- package/esm2020/lib/modules/loading/loading-interceptor.mjs +0 -79
- package/esm2020/lib/modules/loading/loading.component.mjs +0 -35
- package/esm2020/lib/modules/loading/loading.module.mjs +0 -32
- package/esm2020/lib/modules/modal/filter-modal/filter-modal.component.mjs +0 -26
- package/esm2020/lib/modules/modal/modal/modal.component.mjs +0 -307
- package/esm2020/lib/modules/modal/modal.module.mjs +0 -62
- package/esm2020/lib/modules/modal/sum-modal/sum-modal.component.mjs +0 -27
- package/esm2020/lib/modules/page-title/page-title.component.mjs +0 -31
- package/esm2020/lib/modules/page-title/page-title.module.mjs +0 -26
- package/esm2020/lib/modules/pager/pager/pager.component.mjs +0 -50
- package/esm2020/lib/modules/pager/pager.module.mjs +0 -26
- package/esm2020/lib/modules/password/password.module.mjs +0 -30
- package/esm2020/lib/modules/progress/module.mjs +0 -26
- package/esm2020/lib/modules/progress/progress.mjs +0 -97
- package/esm2020/lib/modules/radio/radio-button.component.mjs +0 -134
- package/esm2020/lib/modules/radio/radio.module.mjs +0 -22
- package/esm2020/lib/modules/readonly/readonly.directive.mjs +0 -25
- package/esm2020/lib/modules/readonly/readonly.module.mjs +0 -22
- package/esm2020/lib/modules/recaptcha/recaptcha.module.mjs +0 -32
- package/esm2020/lib/modules/recaptcha/recaptcha.service.mjs +0 -119
- package/esm2020/lib/modules/safe/safe.module.mjs +0 -20
- package/esm2020/lib/modules/safe/safe.pipe.mjs +0 -37
- package/esm2020/lib/modules/select/module.mjs +0 -28
- package/esm2020/lib/modules/select/select.mjs +0 -198
- package/esm2020/lib/modules/select2/select2.component.mjs +0 -170
- package/esm2020/lib/modules/select2/select2.module.mjs +0 -28
- package/esm2020/lib/modules/select2-multiple/select2-multiple.component.mjs +0 -132
- package/esm2020/lib/modules/select2-multiple/select2-multiple.module.mjs +0 -28
- package/esm2020/lib/modules/sort/sort-button-group/sort-button-group.component.mjs +0 -79
- package/esm2020/lib/modules/sort/sort.directive.mjs +0 -117
- package/esm2020/lib/modules/sort/sort.module.mjs +0 -33
- package/esm2020/lib/modules/time/time.module.mjs +0 -27
- package/esm2020/lib/modules/time/time.pipe.mjs +0 -40
- package/esm2020/lib/modules/time/timer-service.mjs +0 -89
- package/esm2020/lib/modules/validator/validator.module.mjs +0 -26
- package/esm2020/lib/modules/validators/directive.mjs +0 -75
- package/esm2020/lib/modules/validators/module.mjs +0 -22
- package/esm2020/lib/modules/wizard/wizard/wizard.component.mjs +0 -65
- package/esm2020/lib/modules/wizard/wizard.module.mjs +0 -33
- package/esm2020/lib/modules/wizard/wizard2/wizard2.component.mjs +0 -13
- package/esm2020/lib/services/alert.service.mjs +0 -76
- package/esm2020/lib/services/auth-guard.service.mjs +0 -28
- package/esm2020/lib/services/auth.service.mjs +0 -203
- package/esm2020/lib/services/http-error-handler.service.mjs +0 -141
- package/esm2020/lib/services/web.api.mjs +0 -126
- package/esm2020/lib/utils/date-helper.mjs +0 -235
- package/esm2020/lib/utils/validation-helper.mjs +0 -10
- package/esm2020/lib/zek.module.mjs +0 -33
- package/fesm2015/zek.mjs +0 -6693
- package/fesm2015/zek.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./directive";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class ValidatorsModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidatorsModule, [typeof i1.RangeValidator], [typeof i2.CommonModule], [typeof i1.RangeValidator]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ValidatorsModule>;
|
|
8
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./directive";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ValidatorsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidatorsModule, [typeof i1.RangeValidator], [typeof i2.CommonModule], [typeof i1.RangeValidator]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ValidatorsModule>;
|
|
8
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors, ValidatorFn } from "@angular/forms";
|
|
2
|
-
/**
|
|
3
|
-
* Function that has `ValidatorFn` shape, but performs no operation.
|
|
4
|
-
*/
|
|
5
|
-
export declare function nullValidator(control: AbstractControl): ValidationErrors | null;
|
|
6
|
-
export declare class Validators {
|
|
7
|
-
/**
|
|
8
|
-
* @description
|
|
9
|
-
* Validator that requires the control's value to be less than or equal to the provided number.
|
|
10
|
-
*
|
|
11
|
-
* @usageNotes
|
|
12
|
-
*
|
|
13
|
-
* ### Validate against a range 0 - 15
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* const control = new FormControl(16, Validators.max([0,15]));
|
|
17
|
-
*
|
|
18
|
-
* console.log(control.errors); // {range: {min: 0, max: 15, actual: 16}}
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @returns A validator function that returns an error map with the
|
|
22
|
-
* `range` property if the validation check fails, otherwise `null`.
|
|
23
|
-
*
|
|
24
|
-
* @see `updateValueAndValidity()`
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
static range(min: number, max: number): ValidatorFn;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Validator that requires the control's value to be between provided numbers.
|
|
31
|
-
* See `Validators.range` for additional information.
|
|
32
|
-
*/
|
|
33
|
-
export declare function rangeValidator(range: Array<number>): ValidatorFn;
|
|
1
|
+
import { AbstractControl, ValidationErrors, ValidatorFn } from "@angular/forms";
|
|
2
|
+
/**
|
|
3
|
+
* Function that has `ValidatorFn` shape, but performs no operation.
|
|
4
|
+
*/
|
|
5
|
+
export declare function nullValidator(control: AbstractControl): ValidationErrors | null;
|
|
6
|
+
export declare class Validators {
|
|
7
|
+
/**
|
|
8
|
+
* @description
|
|
9
|
+
* Validator that requires the control's value to be less than or equal to the provided number.
|
|
10
|
+
*
|
|
11
|
+
* @usageNotes
|
|
12
|
+
*
|
|
13
|
+
* ### Validate against a range 0 - 15
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* const control = new FormControl(16, Validators.max([0,15]));
|
|
17
|
+
*
|
|
18
|
+
* console.log(control.errors); // {range: {min: 0, max: 15, actual: 16}}
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @returns A validator function that returns an error map with the
|
|
22
|
+
* `range` property if the validation check fails, otherwise `null`.
|
|
23
|
+
*
|
|
24
|
+
* @see `updateValueAndValidity()`
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
static range(min: number, max: number): ValidatorFn;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Validator that requires the control's value to be between provided numbers.
|
|
31
|
+
* See `Validators.range` for additional information.
|
|
32
|
+
*/
|
|
33
|
+
export declare function rangeValidator(range: Array<number>): ValidatorFn;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './wizard.module';
|
|
2
|
-
export * from './wizard/wizard.component';
|
|
3
|
-
export * from './wizard2/wizard2.component';
|
|
1
|
+
export * from './wizard.module';
|
|
2
|
+
export * from './wizard/wizard.component';
|
|
3
|
+
export * from './wizard2/wizard2.component';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class WizardComponent {
|
|
3
|
-
progress: number;
|
|
4
|
-
stepsArray: {
|
|
5
|
-
step: number;
|
|
6
|
-
progress: number;
|
|
7
|
-
}[];
|
|
8
|
-
private _steps;
|
|
9
|
-
get steps(): number;
|
|
10
|
-
set steps(v: number);
|
|
11
|
-
private _step;
|
|
12
|
-
get step(): number;
|
|
13
|
-
set step(v: number);
|
|
14
|
-
private init;
|
|
15
|
-
previous(): void;
|
|
16
|
-
next(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "zek-wizard", never, { "steps": "steps"; "step": "step"; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class WizardComponent {
|
|
3
|
+
progress: number;
|
|
4
|
+
stepsArray: {
|
|
5
|
+
step: number;
|
|
6
|
+
progress: number;
|
|
7
|
+
}[];
|
|
8
|
+
private _steps;
|
|
9
|
+
get steps(): number;
|
|
10
|
+
set steps(v: number);
|
|
11
|
+
private _step;
|
|
12
|
+
get step(): number;
|
|
13
|
+
set step(v: number);
|
|
14
|
+
private init;
|
|
15
|
+
previous(): void;
|
|
16
|
+
next(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent, "zek-wizard", never, { "steps": { "alias": "steps"; "required": false; }; "step": { "alias": "step"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./wizard/wizard.component";
|
|
3
|
-
import * as i2 from "./wizard2/wizard2.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../safe/safe.module";
|
|
6
|
-
export declare class WizardModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WizardModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WizardModule, [typeof i1.WizardComponent, typeof i2.WizardComponent2], [typeof i3.CommonModule, typeof i4.SafeModule], [typeof i1.WizardComponent, typeof i2.WizardComponent2]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<WizardModule>;
|
|
10
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./wizard/wizard.component";
|
|
3
|
+
import * as i2 from "./wizard2/wizard2.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "../safe/safe.module";
|
|
6
|
+
export declare class WizardModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WizardModule, [typeof i1.WizardComponent, typeof i2.WizardComponent2], [typeof i3.CommonModule, typeof i4.SafeModule], [typeof i1.WizardComponent, typeof i2.WizardComponent2]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WizardModule>;
|
|
10
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WizardComponent } from "../wizard/wizard.component";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WizardComponent2 extends WizardComponent {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent2, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent2, "zek-wizard2", never, {}, {}, never, never, false, never>;
|
|
6
|
-
}
|
|
1
|
+
import { WizardComponent } from "../wizard/wizard.component";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class WizardComponent2 extends WizardComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WizardComponent2, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WizardComponent2, "zek-wizard2", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { AlertType } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BaseAlert {
|
|
5
|
-
type?: AlertType | null;
|
|
6
|
-
icon?: string | null;
|
|
7
|
-
title?: string | null;
|
|
8
|
-
css?: string | null;
|
|
9
|
-
}
|
|
10
|
-
export declare class Alert extends BaseAlert {
|
|
11
|
-
messages?: string[];
|
|
12
|
-
}
|
|
13
|
-
export declare class Toast extends BaseAlert {
|
|
14
|
-
message?: string | null;
|
|
15
|
-
}
|
|
16
|
-
export declare class AlertService {
|
|
17
|
-
private alertSubject;
|
|
18
|
-
private toastSubject;
|
|
19
|
-
private keepAfterRouteChange;
|
|
20
|
-
constructor(router: Router);
|
|
21
|
-
add(alertType: AlertType, message: String, keepAfterRouteChange?: boolean): void;
|
|
22
|
-
addRange(alertType: AlertType, messages: String[], keepAfterRouteChange?: boolean): void;
|
|
23
|
-
clear(): void;
|
|
24
|
-
getAlert(): import("rxjs").Observable<any>;
|
|
25
|
-
getToast(): import("rxjs").Observable<any>;
|
|
26
|
-
success(message: string, title?: string | null, icon?: string | null): void;
|
|
27
|
-
error(message: string, title?: string | null, icon?: string | null): void;
|
|
28
|
-
warning(message: string, title?: string | null, icon?: string | null): void;
|
|
29
|
-
info(message: string, title?: string | null, icon?: string | null): void;
|
|
30
|
-
private show;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
33
|
-
}
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { AlertType } from '../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BaseAlert {
|
|
5
|
+
type?: AlertType | null;
|
|
6
|
+
icon?: string | null;
|
|
7
|
+
title?: string | null;
|
|
8
|
+
css?: string | null;
|
|
9
|
+
}
|
|
10
|
+
export declare class Alert extends BaseAlert {
|
|
11
|
+
messages?: string[];
|
|
12
|
+
}
|
|
13
|
+
export declare class Toast extends BaseAlert {
|
|
14
|
+
message?: string | null;
|
|
15
|
+
}
|
|
16
|
+
export declare class AlertService {
|
|
17
|
+
private alertSubject;
|
|
18
|
+
private toastSubject;
|
|
19
|
+
private keepAfterRouteChange;
|
|
20
|
+
constructor(router: Router);
|
|
21
|
+
add(alertType: AlertType, message: String, keepAfterRouteChange?: boolean): void;
|
|
22
|
+
addRange(alertType: AlertType, messages: String[], keepAfterRouteChange?: boolean): void;
|
|
23
|
+
clear(): void;
|
|
24
|
+
getAlert(): import("rxjs").Observable<any>;
|
|
25
|
+
getToast(): import("rxjs").Observable<any>;
|
|
26
|
+
success(message: string, title?: string | null, icon?: string | null): void;
|
|
27
|
+
error(message: string, title?: string | null, icon?: string | null): void;
|
|
28
|
+
warning(message: string, title?: string | null, icon?: string | null): void;
|
|
29
|
+
info(message: string, title?: string | null, icon?: string | null): void;
|
|
30
|
+
private show;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertService, never>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AlertService>;
|
|
33
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { AuthService } from './auth.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AuthGuardService implements CanActivate {
|
|
6
|
-
protected readonly authService: AuthService;
|
|
7
|
-
protected readonly router: Router;
|
|
8
|
-
constructor(authService: AuthService, router: Router);
|
|
9
|
-
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean | Observable<boolean> | Promise<boolean>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuardService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuardService>;
|
|
12
|
-
}
|
|
1
|
+
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AuthService } from './auth.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AuthGuardService implements CanActivate {
|
|
6
|
+
protected readonly authService: AuthService;
|
|
7
|
+
protected readonly router: Router;
|
|
8
|
+
constructor(authService: AuthService, router: Router);
|
|
9
|
+
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean | Observable<boolean> | Promise<boolean>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuardService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuardService>;
|
|
12
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { KeyPair, LoginToken, LoginUser } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AuthService {
|
|
5
|
-
private _isInitialized;
|
|
6
|
-
private _oldValue;
|
|
7
|
-
private _user;
|
|
8
|
-
get user(): LoginUser | null;
|
|
9
|
-
private _timerId;
|
|
10
|
-
private _starRefreshTokenTimer;
|
|
11
|
-
private _stopRefreshTokenTimer;
|
|
12
|
-
private _emitRefreshToken;
|
|
13
|
-
isAuthenticated(): boolean;
|
|
14
|
-
emitOnSignedIn(): void;
|
|
15
|
-
private _onSignedInSubject?;
|
|
16
|
-
private _onSignedInObservable?;
|
|
17
|
-
get onSignedIn(): Observable<boolean>;
|
|
18
|
-
private _onRefreshTokenSubject?;
|
|
19
|
-
private _onRefreshTokenObservable?;
|
|
20
|
-
get onRefreshToken(): Observable<void>;
|
|
21
|
-
login(user: LoginToken | LoginUser | null): void;
|
|
22
|
-
logout(): void;
|
|
23
|
-
protected getExpired(): Date | null | undefined;
|
|
24
|
-
protected getRefreshTokenExpired(): Date | null | undefined;
|
|
25
|
-
hasPermission(permission?: KeyPair<number, number> | number | null): boolean;
|
|
26
|
-
hasPermissions(permissions?: Array<number>, value?: number | null): boolean;
|
|
27
|
-
hasDataPermission(data: any): boolean;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
30
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { KeyPair, LoginToken, LoginUser } from '../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AuthService {
|
|
5
|
+
private _isInitialized;
|
|
6
|
+
private _oldValue;
|
|
7
|
+
private _user;
|
|
8
|
+
get user(): LoginUser | null;
|
|
9
|
+
private _timerId;
|
|
10
|
+
private _starRefreshTokenTimer;
|
|
11
|
+
private _stopRefreshTokenTimer;
|
|
12
|
+
private _emitRefreshToken;
|
|
13
|
+
isAuthenticated(): boolean;
|
|
14
|
+
emitOnSignedIn(): void;
|
|
15
|
+
private _onSignedInSubject?;
|
|
16
|
+
private _onSignedInObservable?;
|
|
17
|
+
get onSignedIn(): Observable<boolean>;
|
|
18
|
+
private _onRefreshTokenSubject?;
|
|
19
|
+
private _onRefreshTokenObservable?;
|
|
20
|
+
get onRefreshToken(): Observable<void>;
|
|
21
|
+
login(user: LoginToken | LoginUser | null): void;
|
|
22
|
+
logout(): void;
|
|
23
|
+
protected getExpired(): Date | null | undefined;
|
|
24
|
+
protected getRefreshTokenExpired(): Date | null | undefined;
|
|
25
|
+
hasPermission(permission?: KeyPair<number, number> | number | null): boolean;
|
|
26
|
+
hasPermissions(permissions?: Array<number>, value?: number | null): boolean;
|
|
27
|
+
hasDataPermission(data: any): boolean;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
29
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
30
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { WebApiClient } from "./web.api";
|
|
2
|
-
import { HttpErrorHandler, HandleError } from "./http-error-handler.service";
|
|
3
|
-
export declare class BaseService {
|
|
4
|
-
protected readonly controller: string;
|
|
5
|
-
protected readonly api: WebApiClient;
|
|
6
|
-
protected readonly handleError: HandleError;
|
|
7
|
-
constructor(controller: string, api: WebApiClient, httpErrorHandler: HttpErrorHandler);
|
|
8
|
-
}
|
|
1
|
+
import { WebApiClient } from "./web.api";
|
|
2
|
+
import { HttpErrorHandler, HandleError } from "./http-error-handler.service";
|
|
3
|
+
export declare class BaseService {
|
|
4
|
+
protected readonly controller: string;
|
|
5
|
+
protected readonly api: WebApiClient;
|
|
6
|
+
protected readonly handleError: HandleError;
|
|
7
|
+
constructor(controller: string, api: WebApiClient, httpErrorHandler: HttpErrorHandler);
|
|
8
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { HttpErrorHandler } from "./http-error-handler.service";
|
|
3
|
-
import { PagedList } from "../models";
|
|
4
|
-
import { BaseService } from "./base.service";
|
|
5
|
-
import { WebApiClient } from "./web.api";
|
|
6
|
-
export interface IService {
|
|
7
|
-
getAll(filter: any): Observable<PagedList>;
|
|
8
|
-
delete(id: any): Observable<any>;
|
|
9
|
-
delete2(id: any, id2: any): Observable<any>;
|
|
10
|
-
export(filter: any, fileTypeId: any): Observable<Blob | null>;
|
|
11
|
-
sum(filter: any): Observable<any>;
|
|
12
|
-
get(id: any): Observable<any>;
|
|
13
|
-
get2(id: any, id2: any): Observable<any>;
|
|
14
|
-
save(model: any): Observable<any>;
|
|
15
|
-
restore(id: any): Observable<any>;
|
|
16
|
-
approve(model: any): Observable<any>;
|
|
17
|
-
disapprove(model: any): Observable<any>;
|
|
18
|
-
}
|
|
19
|
-
export declare class CrudService extends BaseService implements IService {
|
|
20
|
-
constructor(controller: string, api: WebApiClient, httpErrorHandler: HttpErrorHandler);
|
|
21
|
-
get(id: number): Observable<any>;
|
|
22
|
-
get2(id: number, id2: number): Observable<any>;
|
|
23
|
-
getAll(filter?: any): Observable<PagedList>;
|
|
24
|
-
sum(filter?: any): Observable<any>;
|
|
25
|
-
save(model: any): Observable<any>;
|
|
26
|
-
delete(id: any): Observable<any>;
|
|
27
|
-
delete2(id: any, id2: any): Observable<any>;
|
|
28
|
-
restore(id: any): Observable<any>;
|
|
29
|
-
approve(model: any): Observable<any>;
|
|
30
|
-
disapprove(model: any): Observable<any>;
|
|
31
|
-
export(model: any, fileTypeId: any): Observable<Blob | null>;
|
|
32
|
-
}
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { HttpErrorHandler } from "./http-error-handler.service";
|
|
3
|
+
import { PagedList } from "../models";
|
|
4
|
+
import { BaseService } from "./base.service";
|
|
5
|
+
import { WebApiClient } from "./web.api";
|
|
6
|
+
export interface IService {
|
|
7
|
+
getAll(filter: any): Observable<PagedList>;
|
|
8
|
+
delete(id: any): Observable<any>;
|
|
9
|
+
delete2(id: any, id2: any): Observable<any>;
|
|
10
|
+
export(filter: any, fileTypeId: any): Observable<Blob | null>;
|
|
11
|
+
sum(filter: any): Observable<any>;
|
|
12
|
+
get(id: any): Observable<any>;
|
|
13
|
+
get2(id: any, id2: any): Observable<any>;
|
|
14
|
+
save(model: any): Observable<any>;
|
|
15
|
+
restore(id: any): Observable<any>;
|
|
16
|
+
approve(model: any): Observable<any>;
|
|
17
|
+
disapprove(model: any): Observable<any>;
|
|
18
|
+
}
|
|
19
|
+
export declare class CrudService extends BaseService implements IService {
|
|
20
|
+
constructor(controller: string, api: WebApiClient, httpErrorHandler: HttpErrorHandler);
|
|
21
|
+
get(id: number): Observable<any>;
|
|
22
|
+
get2(id: number, id2: number): Observable<any>;
|
|
23
|
+
getAll(filter?: any): Observable<PagedList>;
|
|
24
|
+
sum(filter?: any): Observable<any>;
|
|
25
|
+
save(model: any): Observable<any>;
|
|
26
|
+
delete(id: any): Observable<any>;
|
|
27
|
+
delete2(id: any, id2: any): Observable<any>;
|
|
28
|
+
restore(id: any): Observable<any>;
|
|
29
|
+
approve(model: any): Observable<any>;
|
|
30
|
+
disapprove(model: any): Observable<any>;
|
|
31
|
+
export(model: any, fileTypeId: any): Observable<Blob | null>;
|
|
32
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { AlertService } from './alert.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/** Type of the handleError function returned by HttpErrorHandler.createHandleError */
|
|
8
|
-
export type HandleError = <T = any>(operation?: string, result?: T, show?: boolean) => (error: HttpErrorResponse) => Observable<T>;
|
|
9
|
-
export type HandleErrorResult = <T = any>(operation?: string, result?: T, show?: boolean) => (error: HttpErrorResponse) => Observable<T>;
|
|
10
|
-
/** Handles HttpClient errors */
|
|
11
|
-
export declare class HttpErrorHandler {
|
|
12
|
-
private readonly alert;
|
|
13
|
-
private readonly translate;
|
|
14
|
-
private readonly router;
|
|
15
|
-
constructor(alert: AlertService, translate: TranslateService, router: Router);
|
|
16
|
-
/** Create curried handleError function that already knows the service name */
|
|
17
|
-
createHandleError: (serviceName?: string) => <T>(operation?: string, result?: T, show?: boolean) => (response: HttpErrorResponse) => Observable<T>;
|
|
18
|
-
createHandleErrorResult: (serviceName?: string) => <T>(operation?: string, result?: T, show?: boolean) => (response: HttpErrorResponse) => Observable<any>;
|
|
19
|
-
/**
|
|
20
|
-
* Returns a function that handles Http operation failures.
|
|
21
|
-
* This error handler lets the app continue to run as if no error occurred.
|
|
22
|
-
* @param serviceName = name of the data service that attempted the operation
|
|
23
|
-
* @param operation - name of the operation that failed
|
|
24
|
-
* @param result - optional value to return as the observable result
|
|
25
|
-
* @param show - optional value to show error
|
|
26
|
-
*/
|
|
27
|
-
handleError<T>(serviceName?: string, operation?: string, result?: T, show?: boolean): (response: HttpErrorResponse) => Observable<T>;
|
|
28
|
-
/**
|
|
29
|
-
* Returns a function that handles Http operation failures.
|
|
30
|
-
* This error handler lets the app continue to run as if no error occurred.
|
|
31
|
-
* @param serviceName = name of the data service that attempted the operation
|
|
32
|
-
* @param operation - name of the operation that failed
|
|
33
|
-
* @param show - optional value to show error
|
|
34
|
-
*/
|
|
35
|
-
handleErrorResult<T>(serviceName?: string, operation?: string, result?: T, show?: boolean): (response: HttpErrorResponse) => Observable<any>;
|
|
36
|
-
private showError;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorHandler, never>;
|
|
38
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorHandler>;
|
|
39
|
-
}
|
|
1
|
+
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { AlertService } from './alert.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/** Type of the handleError function returned by HttpErrorHandler.createHandleError */
|
|
8
|
+
export type HandleError = <T = any>(operation?: string, result?: T, show?: boolean) => (error: HttpErrorResponse) => Observable<T>;
|
|
9
|
+
export type HandleErrorResult = <T = any>(operation?: string, result?: T, show?: boolean) => (error: HttpErrorResponse) => Observable<T>;
|
|
10
|
+
/** Handles HttpClient errors */
|
|
11
|
+
export declare class HttpErrorHandler {
|
|
12
|
+
private readonly alert;
|
|
13
|
+
private readonly translate;
|
|
14
|
+
private readonly router;
|
|
15
|
+
constructor(alert: AlertService, translate: TranslateService, router: Router);
|
|
16
|
+
/** Create curried handleError function that already knows the service name */
|
|
17
|
+
createHandleError: (serviceName?: string) => <T>(operation?: string, result?: T, show?: boolean) => (response: HttpErrorResponse) => Observable<T>;
|
|
18
|
+
createHandleErrorResult: (serviceName?: string) => <T>(operation?: string, result?: T, show?: boolean) => (response: HttpErrorResponse) => Observable<any>;
|
|
19
|
+
/**
|
|
20
|
+
* Returns a function that handles Http operation failures.
|
|
21
|
+
* This error handler lets the app continue to run as if no error occurred.
|
|
22
|
+
* @param serviceName = name of the data service that attempted the operation
|
|
23
|
+
* @param operation - name of the operation that failed
|
|
24
|
+
* @param result - optional value to return as the observable result
|
|
25
|
+
* @param show - optional value to show error
|
|
26
|
+
*/
|
|
27
|
+
handleError<T>(serviceName?: string, operation?: string, result?: T, show?: boolean): (response: HttpErrorResponse) => Observable<T>;
|
|
28
|
+
/**
|
|
29
|
+
* Returns a function that handles Http operation failures.
|
|
30
|
+
* This error handler lets the app continue to run as if no error occurred.
|
|
31
|
+
* @param serviceName = name of the data service that attempted the operation
|
|
32
|
+
* @param operation - name of the operation that failed
|
|
33
|
+
* @param show - optional value to show error
|
|
34
|
+
*/
|
|
35
|
+
handleErrorResult<T>(serviceName?: string, operation?: string, result?: T, show?: boolean): (response: HttpErrorResponse) => Observable<any>;
|
|
36
|
+
private showError;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorHandler, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpErrorHandler>;
|
|
39
|
+
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './auth.service';
|
|
2
|
-
export * from './auth-guard.service';
|
|
3
|
-
export * from './base.service';
|
|
4
|
-
export * from './crud.service';
|
|
5
|
-
export * from './http-error-handler.service';
|
|
6
|
-
export * from './web.api';
|
|
1
|
+
export * from './auth.service';
|
|
2
|
+
export * from './auth-guard.service';
|
|
3
|
+
export * from './base.service';
|
|
4
|
+
export * from './crud.service';
|
|
5
|
+
export * from './http-error-handler.service';
|
|
6
|
+
export * from './web.api';
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { AuthService } from './auth.service';
|
|
4
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface WebApiConfig {
|
|
7
|
-
baseUrl: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class WebApiClient {
|
|
10
|
-
protected readonly http: HttpClient;
|
|
11
|
-
protected readonly authService: AuthService;
|
|
12
|
-
private readonly baseUrl;
|
|
13
|
-
constructor(http: HttpClient, authService: AuthService, baseUrl: string);
|
|
14
|
-
get<T = any>(url: string, params?: any): Observable<T>;
|
|
15
|
-
getString(url: string, params?: object): Observable<string | null>;
|
|
16
|
-
getBytes(url: string, params?: any): Observable<ArrayBuffer>;
|
|
17
|
-
getBlob(url: string, params?: any): Observable<Blob>;
|
|
18
|
-
protected toHttpParams(obj: any): HttpParams | undefined;
|
|
19
|
-
post<T = any>(url: string, body?: any | null): Observable<T>;
|
|
20
|
-
put<T = any>(url: string, body?: any | null): Observable<T>;
|
|
21
|
-
delete(url: string, body?: any | null): Observable<any>;
|
|
22
|
-
protected getHeaders(): HttpHeaders;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WebApiClient, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<WebApiClient>;
|
|
25
|
-
}
|
|
26
|
-
export declare class CustomHttpParamEncoder implements HttpParameterCodec {
|
|
27
|
-
encodeKey(key: string): string;
|
|
28
|
-
encodeValue(value: string): string;
|
|
29
|
-
decodeKey(key: string): string;
|
|
30
|
-
decodeValue(value: string): string;
|
|
31
|
-
}
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AuthService } from './auth.service';
|
|
4
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface WebApiConfig {
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class WebApiClient {
|
|
10
|
+
protected readonly http: HttpClient;
|
|
11
|
+
protected readonly authService: AuthService;
|
|
12
|
+
private readonly baseUrl;
|
|
13
|
+
constructor(http: HttpClient, authService: AuthService, baseUrl: string);
|
|
14
|
+
get<T = any>(url: string, params?: any): Observable<T>;
|
|
15
|
+
getString(url: string, params?: object): Observable<string | null>;
|
|
16
|
+
getBytes(url: string, params?: any): Observable<ArrayBuffer>;
|
|
17
|
+
getBlob(url: string, params?: any): Observable<Blob>;
|
|
18
|
+
protected toHttpParams(obj: any): HttpParams | undefined;
|
|
19
|
+
post<T = any>(url: string, body?: any | null): Observable<T>;
|
|
20
|
+
put<T = any>(url: string, body?: any | null): Observable<T>;
|
|
21
|
+
delete(url: string, body?: any | null): Observable<any>;
|
|
22
|
+
protected getHeaders(): HttpHeaders;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WebApiClient, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WebApiClient>;
|
|
25
|
+
}
|
|
26
|
+
export declare class CustomHttpParamEncoder implements HttpParameterCodec {
|
|
27
|
+
encodeKey(key: string): string;
|
|
28
|
+
encodeValue(value: string): string;
|
|
29
|
+
decodeKey(key: string): string;
|
|
30
|
+
decodeValue(value: string): string;
|
|
31
|
+
}
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
export declare const API_BASE_URL: InjectionToken<string>;
|
|
3
|
-
export declare const DATE_FORMAT: InjectionToken<string>;
|
|
4
|
-
export declare const LANGUAGE: InjectionToken<string>;
|
|
5
|
-
export declare const RECAPTCHA_SITE_KEY: InjectionToken<string>;
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
export declare const API_BASE_URL: InjectionToken<string>;
|
|
3
|
+
export declare const DATE_FORMAT: InjectionToken<string>;
|
|
4
|
+
export declare const LANGUAGE: InjectionToken<string>;
|
|
5
|
+
export declare const RECAPTCHA_SITE_KEY: InjectionToken<string>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { KeyPair, KeyPairEx, Tree } from "../models";
|
|
2
|
-
export declare class ArrayHelper {
|
|
3
|
-
static insert(value: any[], index: number, v: any): void;
|
|
4
|
-
static contains(value: any[], v: any): boolean;
|
|
5
|
-
static distinct(source: any[]): any[];
|
|
6
|
-
static filterByKey(filterValue: any, key: string, array: any[]): any[];
|
|
7
|
-
static flattenArray(value: any[]): any[];
|
|
8
|
-
private static getChildren;
|
|
9
|
-
static treeToKeyPairArray(value: Tree[]): KeyPair<any, any>[];
|
|
10
|
-
private static getIndentChildren;
|
|
11
|
-
private static enumToKeyPairBaseArray;
|
|
12
|
-
static enumToKeyPairArray(value: any): KeyPair<number, string>[];
|
|
13
|
-
static enumToKeyPairExArray(value: any): KeyPairEx<number, string>[];
|
|
14
|
-
}
|
|
1
|
+
import { KeyPair, KeyPairEx, Tree } from "../models";
|
|
2
|
+
export declare class ArrayHelper {
|
|
3
|
+
static insert(value: any[], index: number, v: any): void;
|
|
4
|
+
static contains(value: any[], v: any): boolean;
|
|
5
|
+
static distinct(source: any[]): any[];
|
|
6
|
+
static filterByKey(filterValue: any, key: string, array: any[]): any[];
|
|
7
|
+
static flattenArray(value: any[]): any[];
|
|
8
|
+
private static getChildren;
|
|
9
|
+
static treeToKeyPairArray(value: Tree[]): KeyPair<any, any>[];
|
|
10
|
+
private static getIndentChildren;
|
|
11
|
+
private static enumToKeyPairBaseArray;
|
|
12
|
+
static enumToKeyPairArray(value: any): KeyPair<number, string>[];
|
|
13
|
+
static enumToKeyPairExArray(value: any): KeyPairEx<number, string>[];
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class Base64Helper {
|
|
2
|
-
static Utf8ToBase64String(str: string): string;
|
|
3
|
-
static Base64StringToUtf8(str: string): string;
|
|
4
|
-
}
|
|
1
|
+
export declare class Base64Helper {
|
|
2
|
+
static Utf8ToBase64String(str: string): string;
|
|
3
|
+
static Base64StringToUtf8(str: string): string;
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class BitwiseHelper {
|
|
2
|
-
static hasFlag(flags: number, flagToCheck: any): boolean;
|
|
3
|
-
static addFlags(flags: number, ...flagsToAdd: any[]): number;
|
|
4
|
-
}
|
|
1
|
+
export declare class BitwiseHelper {
|
|
2
|
+
static hasFlag(flags: number, flagToCheck: any): boolean;
|
|
3
|
+
static addFlags(flags: number, ...flagsToAdd: any[]): number;
|
|
4
|
+
}
|