@sdcorejs/angular 19.0.1 → 20.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 +15 -14
- package/components/anchor/index.d.ts +43 -1
- package/components/autoid-inspector/index.d.ts +199 -8
- package/components/avatar/index.d.ts +22 -1
- package/components/badge/index.d.ts +102 -1
- package/components/base/index.d.ts +11 -1
- package/components/button/index.d.ts +46 -1
- package/components/chart/index.d.ts +65 -4
- package/components/ckeditor-styles/index.d.ts +28 -1
- package/components/code-editor/index.d.ts +24 -1
- package/components/document-builder/index.d.ts +252 -4
- package/components/editor/index.d.ts +128 -3
- package/components/form-generic/index.d.ts +895 -4
- package/components/history/index.d.ts +23 -1
- package/components/import-excel/index.d.ts +160 -2
- package/components/inform/index.d.ts +70 -2
- package/components/mini-editor/index.d.ts +138 -2
- package/components/modal/index.d.ts +33 -1
- package/components/operator/index.d.ts +36 -1
- package/components/preview/index.d.ts +414 -4
- package/components/query-bar/index.d.ts +375 -2
- package/components/query-builder/index.d.ts +30 -1
- package/components/quick-action/index.d.ts +12 -1
- package/components/section/index.d.ts +28 -2
- package/components/side-drawer/index.d.ts +33 -1
- package/components/splitter/index.d.ts +58 -3
- package/components/stepper/index.d.ts +53 -2
- package/components/tab/index.d.ts +53 -2
- package/components/tab-router/index.d.ts +104 -4
- package/components/table/index.d.ts +1161 -11
- package/components/upload-file/index.d.ts +169 -2
- package/components/view/index.d.ts +20 -1
- package/configurations/index.d.ts +14 -1
- package/directives/index.d.ts +80 -6
- package/fesm2022/sdcorejs-angular-components-anchor.mjs +31 -31
- package/fesm2022/sdcorejs-angular-components-anchor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-autoid-inspector.mjs +36 -36
- package/fesm2022/sdcorejs-angular-components-autoid-inspector.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-avatar.mjs +10 -10
- package/fesm2022/sdcorejs-angular-components-avatar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-badge.mjs +34 -34
- package/fesm2022/sdcorejs-angular-components-badge.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-base.mjs +3 -3
- package/fesm2022/sdcorejs-angular-components-button.mjs +30 -30
- package/fesm2022/sdcorejs-angular-components-button.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-chart.mjs +32 -32
- package/fesm2022/sdcorejs-angular-components-chart.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs +4 -4
- package/fesm2022/sdcorejs-angular-components-ckeditor-styles.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-code-editor.mjs +12 -12
- package/fesm2022/sdcorejs-angular-components-code-editor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-document-builder.mjs +6 -6
- package/fesm2022/sdcorejs-angular-components-document-builder.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-editor.mjs +49 -39
- package/fesm2022/sdcorejs-angular-components-editor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs +214 -214
- package/fesm2022/sdcorejs-angular-components-form-generic.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-history.mjs +7 -7
- package/fesm2022/sdcorejs-angular-components-history.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-import-excel.mjs +11 -11
- package/fesm2022/sdcorejs-angular-components-import-excel.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-inform.mjs +40 -40
- package/fesm2022/sdcorejs-angular-components-inform.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-mini-editor.mjs +3 -3
- package/fesm2022/sdcorejs-angular-components-mini-editor.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-modal.mjs +21 -21
- package/fesm2022/sdcorejs-angular-components-modal.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-operator.mjs +12 -12
- package/fesm2022/sdcorejs-angular-components-operator.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-preview.mjs +121 -121
- package/fesm2022/sdcorejs-angular-components-preview.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs +150 -149
- package/fesm2022/sdcorejs-angular-components-query-bar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-query-builder.mjs +3 -3
- package/fesm2022/sdcorejs-angular-components-query-builder.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-quick-action.mjs +5 -5
- package/fesm2022/sdcorejs-angular-components-quick-action.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-section.mjs +24 -22
- package/fesm2022/sdcorejs-angular-components-section.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-side-drawer.mjs +16 -16
- package/fesm2022/sdcorejs-angular-components-side-drawer.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-splitter.mjs +41 -41
- package/fesm2022/sdcorejs-angular-components-splitter.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-stepper.mjs +26 -26
- package/fesm2022/sdcorejs-angular-components-stepper.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tab-router.mjs +25 -25
- package/fesm2022/sdcorejs-angular-components-tab-router.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-tab.mjs +25 -25
- package/fesm2022/sdcorejs-angular-components-tab.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-table.mjs +247 -247
- package/fesm2022/sdcorejs-angular-components-table.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-upload-file.mjs +107 -87
- package/fesm2022/sdcorejs-angular-components-upload-file.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-components-view.mjs +15 -15
- package/fesm2022/sdcorejs-angular-components-view.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-directives.mjs +32 -32
- package/fesm2022/sdcorejs-angular-directives.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs +77 -64
- package/fesm2022/sdcorejs-angular-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-checkbox.mjs +50 -39
- package/fesm2022/sdcorejs-angular-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs +84 -73
- package/fesm2022/sdcorejs-angular-forms-chip-calendar.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-chip.mjs +83 -72
- package/fesm2022/sdcorejs-angular-forms-chip.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-date-range.mjs +62 -49
- package/fesm2022/sdcorejs-angular-forms-date-range.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-date.mjs +70 -57
- package/fesm2022/sdcorejs-angular-forms-date.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs +93 -80
- package/fesm2022/sdcorejs-angular-forms-datetime.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-directives.mjs +12 -12
- package/fesm2022/sdcorejs-angular-forms-input-color.mjs +20 -20
- package/fesm2022/sdcorejs-angular-forms-input-color.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-input-number.mjs +72 -59
- package/fesm2022/sdcorejs-angular-forms-input-number.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-input.mjs +74 -61
- package/fesm2022/sdcorejs-angular-forms-input.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-label.mjs +3 -3
- package/fesm2022/sdcorejs-angular-forms-label.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-models.mjs +2 -2
- package/fesm2022/sdcorejs-angular-forms-models.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-radio.mjs +71 -60
- package/fesm2022/sdcorejs-angular-forms-radio.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-select.mjs +86 -73
- package/fesm2022/sdcorejs-angular-forms-select.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-switch.mjs +50 -39
- package/fesm2022/sdcorejs-angular-forms-switch.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms-textarea.mjs +78 -65
- package/fesm2022/sdcorejs-angular-forms-textarea.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-forms.mjs +4 -4
- package/fesm2022/sdcorejs-angular-handlers.mjs +3 -3
- package/fesm2022/sdcorejs-angular-i18n.mjs +9 -9
- package/fesm2022/sdcorejs-angular-i18n.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-interceptors.mjs +6 -6
- package/fesm2022/sdcorejs-angular-modules-auth.mjs +10 -10
- package/fesm2022/sdcorejs-angular-modules-auth.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-modules-authom.mjs +10 -10
- package/fesm2022/sdcorejs-angular-modules-authom.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-modules-keycloak.mjs +7 -7
- package/fesm2022/sdcorejs-angular-modules-layout.mjs +139 -139
- package/fesm2022/sdcorejs-angular-modules-layout.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-modules-permission.mjs +12 -12
- package/fesm2022/sdcorejs-angular-modules-permission.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-pipes.mjs +14 -14
- package/fesm2022/sdcorejs-angular-services-api.mjs +10 -10
- package/fesm2022/sdcorejs-angular-services-cache.mjs +3 -3
- package/fesm2022/sdcorejs-angular-services-confirm.mjs +6 -6
- package/fesm2022/sdcorejs-angular-services-docx.mjs +3 -3
- package/fesm2022/sdcorejs-angular-services-excel.mjs +3 -3
- package/fesm2022/sdcorejs-angular-services-license.mjs +3 -3
- package/fesm2022/sdcorejs-angular-services-loading.mjs +3 -3
- package/fesm2022/sdcorejs-angular-services-notify.mjs +12 -12
- package/fesm2022/sdcorejs-angular-services-notify.mjs.map +1 -1
- package/fesm2022/sdcorejs-angular-services-storage.mjs +3 -3
- package/forms/autocomplete/index.d.ts +95 -1
- package/forms/checkbox/index.d.ts +31 -1
- package/forms/chip/index.d.ts +80 -1
- package/forms/chip-calendar/index.d.ts +73 -1
- package/forms/date/index.d.ts +82 -1
- package/forms/date-range/index.d.ts +83 -1
- package/forms/datetime/index.d.ts +92 -1
- package/forms/directives/index.d.ts +41 -4
- package/forms/index.d.ts +17 -1
- package/forms/input/index.d.ts +87 -1
- package/forms/input-color/index.d.ts +35 -1
- package/forms/input-number/index.d.ts +97 -1
- package/forms/label/index.d.ts +16 -1
- package/forms/models/index.d.ts +85 -6
- package/forms/radio/index.d.ts +52 -1
- package/forms/select/index.d.ts +95 -1
- package/forms/switch/index.d.ts +35 -1
- package/forms/textarea/index.d.ts +68 -1
- package/handlers/index.d.ts +12 -1
- package/i18n/index.d.ts +508 -5
- package/index.d.ts +2 -5
- package/interceptors/index.d.ts +27 -2
- package/models/index.d.ts +2 -1
- package/modules/auth/index.d.ts +64 -3
- package/modules/authom/index.d.ts +70 -35
- package/modules/keycloak/index.d.ts +48 -4
- package/modules/layout/index.d.ts +223 -5
- package/modules/permission/index.d.ts +101 -4
- package/package.json +45 -46
- package/pipes/index.d.ts +43 -4
- package/services/api/index.d.ts +71 -4
- package/services/cache/index.d.ts +43 -2
- package/services/confirm/index.d.ts +103 -1
- package/services/docx/index.d.ts +28 -1
- package/services/excel/index.d.ts +54 -1
- package/services/license/index.d.ts +13 -1
- package/services/loading/index.d.ts +17 -1
- package/services/notify/index.d.ts +40 -2
- package/services/storage/index.d.ts +34 -2
- package/utilities/data-state/index.d.ts +13 -1
- package/utilities/extensions/index.d.ts +87 -6
- package/utilities/models/index.d.ts +87 -12
- package/components/anchor/src/components/anchor/anchor.component.d.ts +0 -22
- package/components/anchor/src/components/anchor-item/anchor-item.component.d.ts +0 -13
- package/components/anchor/src/components/anchor-nav/anchor-nav.component.d.ts +0 -21
- package/components/anchor/src/components/index.d.ts +0 -2
- package/components/anchor/src/index.d.ts +0 -2
- package/components/anchor/src/models/index.d.ts +0 -1
- package/components/anchor/src/models/sd-anchor.model.d.ts +0 -7
- package/components/autoid-inspector/src/autoid-inspector.component.d.ts +0 -55
- package/components/autoid-inspector/src/models/autoid-element.model.d.ts +0 -55
- package/components/autoid-inspector/src/models/autoid-export-format.model.d.ts +0 -6
- package/components/autoid-inspector/src/models/autoid-inspector-config.model.d.ts +0 -8
- package/components/autoid-inspector/src/services/autoid-audit.service.d.ts +0 -19
- package/components/autoid-inspector/src/services/autoid-export.service.d.ts +0 -21
- package/components/autoid-inspector/src/services/autoid-highlight.service.d.ts +0 -12
- package/components/autoid-inspector/src/services/autoid-scanner.service.d.ts +0 -23
- package/components/avatar/src/avatar.component.d.ts +0 -19
- package/components/badge/src/badge.component.d.ts +0 -98
- package/components/base/src/base-secure.component.d.ts +0 -8
- package/components/button/src/button.component.d.ts +0 -42
- package/components/chart/src/bar-chart.component.d.ts +0 -18
- package/components/chart/src/doughnut-chart.component.d.ts +0 -16
- package/components/chart/src/line-chart.component.d.ts +0 -18
- package/components/chart/src/pie-chart.component.d.ts +0 -16
- package/components/ckeditor-styles/src/ckeditor-styles.component.d.ts +0 -25
- package/components/code-editor/src/code-editor.component.d.ts +0 -25
- package/components/document-builder/src/components/header-footer-builder/header-footer-builder.component.d.ts +0 -16
- package/components/document-builder/src/components/header-footer-builder/plugins/page-number.plugin.d.ts +0 -4
- package/components/document-builder/src/components/index.d.ts +0 -1
- package/components/document-builder/src/document-builder.component.d.ts +0 -53
- package/components/document-builder/src/document-builder.config.d.ts +0 -21
- package/components/document-builder/src/document-builder.model.d.ts +0 -41
- package/components/document-builder/src/document-builder.utils.d.ts +0 -10
- package/components/document-builder/src/plugins/block-space/block-space.plugin.d.ts +0 -9
- package/components/document-builder/src/plugins/ck-comment/ck-comment.plugin.d.ts +0 -44
- package/components/document-builder/src/plugins/ck-comment/ck-comment.plugin.model.d.ts +0 -57
- package/components/document-builder/src/plugins/heading/heading.plugin.d.ts +0 -5
- package/components/document-builder/src/plugins/highlight-range/highlight-range.plugin.d.ts +0 -4
- package/components/document-builder/src/plugins/image-custom/image-custom.plugin.d.ts +0 -31
- package/components/document-builder/src/plugins/image-upload/image-upload.plugin.d.ts +0 -5
- package/components/document-builder/src/plugins/index.d.ts +0 -11
- package/components/document-builder/src/plugins/page-orientation/page-orientation.plugin.d.ts +0 -24
- package/components/document-builder/src/plugins/paste-handler/filters/bookmark.d.ts +0 -14
- package/components/document-builder/src/plugins/paste-handler/filters/br.d.ts +0 -15
- package/components/document-builder/src/plugins/paste-handler/filters/image.d.ts +0 -25
- package/components/document-builder/src/plugins/paste-handler/filters/list.d.ts +0 -29
- package/components/document-builder/src/plugins/paste-handler/filters/parse.d.ts +0 -35
- package/components/document-builder/src/plugins/paste-handler/filters/removeboldwrapper.d.ts +0 -15
- package/components/document-builder/src/plugins/paste-handler/filters/removegooglesheetstag.d.ts +0 -15
- package/components/document-builder/src/plugins/paste-handler/filters/removeinvalidtablewidth.d.ts +0 -15
- package/components/document-builder/src/plugins/paste-handler/filters/removemsattributes.d.ts +0 -15
- package/components/document-builder/src/plugins/paste-handler/filters/removestyleblock.d.ts +0 -15
- package/components/document-builder/src/plugins/paste-handler/filters/removexmlns.d.ts +0 -15
- package/components/document-builder/src/plugins/paste-handler/filters/replacemsfootnotes.d.ts +0 -54
- package/components/document-builder/src/plugins/paste-handler/filters/replacetabswithinprewithspaces.d.ts +0 -24
- package/components/document-builder/src/plugins/paste-handler/filters/space.d.ts +0 -27
- package/components/document-builder/src/plugins/paste-handler/filters/table.d.ts +0 -16
- package/components/document-builder/src/plugins/paste-handler/filters/utils.d.ts +0 -25
- package/components/document-builder/src/plugins/paste-handler/index.d.ts +0 -35
- package/components/document-builder/src/plugins/paste-handler/normalizers/googledocsnormalizer.d.ts +0 -31
- package/components/document-builder/src/plugins/paste-handler/normalizers/googlesheetsnormalizer.d.ts +0 -31
- package/components/document-builder/src/plugins/paste-handler/normalizers/mswordnormalizer.d.ts +0 -29
- package/components/document-builder/src/plugins/paste-handler/types.d.ts +0 -30
- package/components/document-builder/src/plugins/table-custom/index.d.ts +0 -34
- package/components/document-builder/src/plugins/variable/variable.plugin.d.ts +0 -51
- package/components/editor/src/configurations/editor.configuration.d.ts +0 -12
- package/components/editor/src/configurations/index.d.ts +0 -1
- package/components/editor/src/editor.component.d.ts +0 -52
- package/components/editor/src/models/editor.model.d.ts +0 -10
- package/components/editor/src/models/image-upload.plugin.model.d.ts +0 -51
- package/components/editor/src/models/index.d.ts +0 -2
- package/components/editor/src/plugins/image-upload/image-upload.plugin.d.ts +0 -22
- package/components/editor/src/plugins/image-upload/utils/batch.utils.d.ts +0 -14
- package/components/editor/src/plugins/image-upload/utils/index.d.ts +0 -3
- package/components/editor/src/plugins/image-upload/utils/style.utils.d.ts +0 -3
- package/components/editor/src/plugins/image-upload/utils/validate.utils.d.ts +0 -4
- package/components/form-generic/src/components/form-builder/components/attribute-expression/attribute-expression.component.d.ts +0 -23
- package/components/form-generic/src/components/form-builder/components/attribute-input/attribute-input.component.d.ts +0 -17
- package/components/form-generic/src/components/form-builder/components/attribute-input-number/attribute-input-number.component.d.ts +0 -14
- package/components/form-generic/src/components/form-builder/components/attribute-parameter/attribute-parameter.component.d.ts +0 -33
- package/components/form-generic/src/components/form-builder/components/attribute-select/attribute-select.component.d.ts +0 -26
- package/components/form-generic/src/components/form-builder/components/attribute-selection/attribute-selection.component.d.ts +0 -27
- package/components/form-generic/src/components/form-builder/components/attribute-selection/components/build-queries/build-queries.component.d.ts +0 -35
- package/components/form-generic/src/components/form-builder/components/attribute-selection/components/build-variables/build-variables.component.d.ts +0 -41
- package/components/form-generic/src/components/form-builder/components/attribute-switch/attribute-switch.component.d.ts +0 -14
- package/components/form-generic/src/components/form-builder/components/attribute-table/attribute-table.component.d.ts +0 -36
- package/components/form-generic/src/components/form-builder/components/attribute-template/attribute-template.component.d.ts +0 -15
- package/components/form-generic/src/components/form-builder/components/attribute-textarea/attribute-textarea.component.d.ts +0 -17
- package/components/form-generic/src/components/form-builder/components/checkbox/attribute/checkbox-attribute.component.d.ts +0 -21
- package/components/form-generic/src/components/form-builder/components/checkbox/control/checkbox-control.component.d.ts +0 -8
- package/components/form-generic/src/components/form-builder/components/checkbox/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/chip-calendar/attribute/chip-calendar-attribute.component.d.ts +0 -22
- package/components/form-generic/src/components/form-builder/components/chip-calendar/control/chip-calendar-control.component.d.ts +0 -16
- package/components/form-generic/src/components/form-builder/components/chip-calendar/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/chip-string/attribute/chip-string-attribute.component.d.ts +0 -22
- package/components/form-generic/src/components/form-builder/components/chip-string/control/chip-string-control.component.d.ts +0 -16
- package/components/form-generic/src/components/form-builder/components/chip-string/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/configure-validation/configure-validation.component.d.ts +0 -31
- package/components/form-generic/src/components/form-builder/components/datetime/attribute/datetime-attribute.component.d.ts +0 -21
- package/components/form-generic/src/components/form-builder/components/datetime/control/datetime-control.component.d.ts +0 -18
- package/components/form-generic/src/components/form-builder/components/datetime/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/expression-builder/expression-builder.component.d.ts +0 -47
- package/components/form-generic/src/components/form-builder/components/group/attribute/group-attribute.component.d.ts +0 -23
- package/components/form-generic/src/components/form-builder/components/group/index.d.ts +0 -1
- package/components/form-generic/src/components/form-builder/components/html/attribute/components/build-queries/build-queries.component.d.ts +0 -35
- package/components/form-generic/src/components/form-builder/components/html/attribute/html-attribute.component.d.ts +0 -30
- package/components/form-generic/src/components/form-builder/components/html/control/html-control.component.d.ts +0 -20
- package/components/form-generic/src/components/form-builder/components/html/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/index.d.ts +0 -13
- package/components/form-generic/src/components/form-builder/components/number/attribute/number-attribute.component.d.ts +0 -22
- package/components/form-generic/src/components/form-builder/components/number/control/number-control.component.d.ts +0 -17
- package/components/form-generic/src/components/form-builder/components/number/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/radio/attribute/radio-attribute.component.d.ts +0 -22
- package/components/form-generic/src/components/form-builder/components/radio/control/radio-control.component.d.ts +0 -16
- package/components/form-generic/src/components/form-builder/components/radio/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/select/attribute/select-attribute.component.d.ts +0 -22
- package/components/form-generic/src/components/form-builder/components/select/control/select-control.component.d.ts +0 -16
- package/components/form-generic/src/components/form-builder/components/select/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/table/attribute/table-attribute.component.d.ts +0 -22
- package/components/form-generic/src/components/form-builder/components/table/control/table-control.component.d.ts +0 -19
- package/components/form-generic/src/components/form-builder/components/table/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/textarea/attribute/textarea-attribute.component.d.ts +0 -21
- package/components/form-generic/src/components/form-builder/components/textarea/control/textarea-control.component.d.ts +0 -16
- package/components/form-generic/src/components/form-builder/components/textarea/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/textfield/attribute/textfield-attribute.component.d.ts +0 -21
- package/components/form-generic/src/components/form-builder/components/textfield/control/textfield-control.component.d.ts +0 -16
- package/components/form-generic/src/components/form-builder/components/textfield/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/components/upload/attribute/upload-attribute.component.d.ts +0 -27
- package/components/form-generic/src/components/form-builder/components/upload/control/upload-control.component.d.ts +0 -16
- package/components/form-generic/src/components/form-builder/components/upload/index.d.ts +0 -2
- package/components/form-generic/src/components/form-builder/form-builder.component.d.ts +0 -120
- package/components/form-generic/src/components/form-builder/services/builder.service.d.ts +0 -11
- package/components/form-generic/src/components/form-builder/services/index.d.ts +0 -1
- package/components/form-generic/src/components/form-render/components/index.d.ts +0 -2
- package/components/form-generic/src/components/form-render/components/item/components/chip-calendar/chip-calendar.component.d.ts +0 -30
- package/components/form-generic/src/components/form-render/components/item/components/chip-string/chip-string.component.d.ts +0 -30
- package/components/form-generic/src/components/form-render/components/item/components/datetime/datetime.component.d.ts +0 -34
- package/components/form-generic/src/components/form-render/components/item/components/html/html.component.d.ts +0 -32
- package/components/form-generic/src/components/form-render/components/item/components/index.d.ts +0 -11
- package/components/form-generic/src/components/form-render/components/item/components/number/number.component.d.ts +0 -30
- package/components/form-generic/src/components/form-render/components/item/components/radio/radio.component.d.ts +0 -38
- package/components/form-generic/src/components/form-render/components/item/components/select/select.component.d.ts +0 -43
- package/components/form-generic/src/components/form-render/components/item/components/table/table.component.d.ts +0 -51
- package/components/form-generic/src/components/form-render/components/item/components/textarea/textarea.component.d.ts +0 -30
- package/components/form-generic/src/components/form-render/components/item/components/textfield/textfield.component.d.ts +0 -33
- package/components/form-generic/src/components/form-render/components/item/components/upload/upload.component.d.ts +0 -36
- package/components/form-generic/src/components/form-render/components/item/item.component.d.ts +0 -32
- package/components/form-generic/src/components/form-render/components/variable/variable.component.d.ts +0 -22
- package/components/form-generic/src/components/form-render/form-render.component.d.ts +0 -39
- package/components/form-generic/src/components/index.d.ts +0 -3
- package/components/form-generic/src/components/sd-feel-expression/sd-feel-expression.component.d.ts +0 -43
- package/components/form-generic/src/configurations/form-generic.configuration.d.ts +0 -6
- package/components/form-generic/src/configurations/form.configuration.d.ts +0 -12
- package/components/form-generic/src/configurations/index.d.ts +0 -2
- package/components/form-generic/src/models/form-generic-component.model.d.ts +0 -318
- package/components/form-generic/src/models/form-generic-definition-html.model.d.ts +0 -28
- package/components/form-generic/src/models/form-generic-definition-selection.model.d.ts +0 -49
- package/components/form-generic/src/models/form-generic-definition-table.model.d.ts +0 -6
- package/components/form-generic/src/models/form-generic-expression.model.d.ts +0 -74
- package/components/form-generic/src/models/form-generic-template.model.d.ts +0 -6
- package/components/form-generic/src/models/form-generic-validation.model.d.ts +0 -30
- package/components/form-generic/src/models/form-generic.model.d.ts +0 -7
- package/components/form-generic/src/models/form-render/form-render-args.model.d.ts +0 -7
- package/components/form-generic/src/models/form-render/form-render-entity.model.d.ts +0 -3
- package/components/form-generic/src/models/form-render/index.d.ts +0 -2
- package/components/form-generic/src/models/index.d.ts +0 -8
- package/components/form-generic/src/pipes/component-viewed.pipe.d.ts +0 -14
- package/components/form-generic/src/pipes/expression-feel.pipe.d.ts +0 -10
- package/components/form-generic/src/pipes/expression-query.pipe.d.ts +0 -10
- package/components/form-generic/src/pipes/expression-view.pipe.d.ts +0 -8
- package/components/form-generic/src/pipes/html.pipe.d.ts +0 -11
- package/components/form-generic/src/pipes/hyperlink.pipe.d.ts +0 -8
- package/components/form-generic/src/pipes/index.d.ts +0 -7
- package/components/form-generic/src/pipes/when-expression.pipe.d.ts +0 -13
- package/components/form-generic/src/services/form-generic.service.d.ts +0 -26
- package/components/form-generic/src/services/form-render.service.d.ts +0 -10
- package/components/form-generic/src/services/index.d.ts +0 -2
- package/components/history/models/history.model.d.ts +0 -13
- package/components/history/pipes/view-date.pipe.d.ts +0 -8
- package/components/history/src/history.component.d.ts +0 -7
- package/components/import-excel/src/import-excel.component.d.ts +0 -47
- package/components/import-excel/src/import-excel.model.d.ts +0 -102
- package/components/import-excel/src/pipes/columm-hidden.pipe.d.ts +0 -10
- package/components/import-excel/src/pipes/column-transform.pipe.d.ts +0 -11
- package/components/inform/src/inform-action.directive.d.ts +0 -9
- package/components/inform/src/inform.component.d.ts +0 -59
- package/components/mini-editor/src/mini-editor.component.d.ts +0 -91
- package/components/mini-editor/src/mini-editor.model.d.ts +0 -44
- package/components/modal/src/modal.component.d.ts +0 -30
- package/components/operator/src/operator.component.d.ts +0 -34
- package/components/preview/src/preview-image/preview-image.component.d.ts +0 -88
- package/components/preview/src/preview-image/preview-image.types.d.ts +0 -53
- package/components/preview/src/preview-pdf/preview-pdf.component.d.ts +0 -186
- package/components/preview/src/preview-pdf/preview-pdf.types.d.ts +0 -84
- package/components/query-bar/src/components/actions-bar/actions-bar.component.d.ts +0 -28
- package/components/query-bar/src/components/build-chip/build-chip.component.d.ts +0 -67
- package/components/query-bar/src/components/chip-popover/chip-popover.component.d.ts +0 -73
- package/components/query-bar/src/components/field-picker/field-picker.component.d.ts +0 -37
- package/components/query-bar/src/components/inline-chip/inline-chip.component.d.ts +0 -87
- package/components/query-bar/src/components/inline-value-chip/inline-value-chip.component.d.ts +0 -71
- package/components/query-bar/src/components/popover-chip/popover-chip.component.d.ts +0 -35
- package/components/query-bar/src/components/saved-filters-menu/saved-filters-menu.component.d.ts +0 -39
- package/components/query-bar/src/query-bar.component.d.ts +0 -137
- package/components/query-bar/src/query-bar.model.d.ts +0 -136
- package/components/query-builder/src/query-builder.component.d.ts +0 -26
- package/components/quick-action/src/quick-action.component.d.ts +0 -9
- package/components/section/src/section-item/section-item.component.d.ts +0 -7
- package/components/section/src/section.component.d.ts +0 -18
- package/components/side-drawer/src/side-drawer.component.d.ts +0 -30
- package/components/splitter/src/splitter-handle/splitter-handle.component.d.ts +0 -24
- package/components/splitter/src/splitter-panel/splitter-panel.component.d.ts +0 -16
- package/components/splitter/src/splitter-state.service.d.ts +0 -26
- package/components/splitter/src/splitter.component.d.ts +0 -28
- package/components/splitter/src/splitter.models.d.ts +0 -23
- package/components/stepper/src/step.component.d.ts +0 -17
- package/components/stepper/src/stepper.component.d.ts +0 -33
- package/components/tab/src/tab-group.component.d.ts +0 -37
- package/components/tab/src/tab.component.d.ts +0 -13
- package/components/tab-router/src/actions/tab-router.action.d.ts +0 -5
- package/components/tab-router/src/components/tab-router-item/tab-router-item.component.d.ts +0 -22
- package/components/tab-router/src/components/tab-router-nav/tab-router-nav.component.d.ts +0 -16
- package/components/tab-router/src/components/tab-router-outlet/tab-router-outlet.component.d.ts +0 -15
- package/components/tab-router/src/decorators/tab.decorator.d.ts +0 -16
- package/components/tab-router/src/events/tab-router.event.d.ts +0 -11
- package/components/tab-router/src/models/index.d.ts +0 -1
- package/components/tab-router/src/models/tab-router.model.d.ts +0 -21
- package/components/tab-router/src/pipes/tab-info.pipe.d.ts +0 -11
- package/components/tab-router/src/services/tab-decorator.service.d.ts +0 -9
- package/components/tab-router/src/services/tab-router.service.d.ts +0 -27
- package/components/table/src/components/column-title/column-title.component.d.ts +0 -10
- package/components/table/src/components/command/desktop-command.component.d.ts +0 -14
- package/components/table/src/components/command/pipes/command.pipe.d.ts +0 -30
- package/components/table/src/components/command/pipes/filter.pipe.d.ts +0 -35
- package/components/table/src/components/config/config.component.d.ts +0 -25
- package/components/table/src/components/desktop-cell/desktop-cell.component.d.ts +0 -24
- package/components/table/src/components/desktop-cell/view/view.component.d.ts +0 -24
- package/components/table/src/components/filter/column-filter/column-filter.component.d.ts +0 -32
- package/components/table/src/components/filter/external-filter/external-filter.component.d.ts +0 -27
- package/components/table/src/components/filter/index.d.ts +0 -3
- package/components/table/src/components/filter/mobile-filter/mobile-filter.component.d.ts +0 -42
- package/components/table/src/components/index.d.ts +0 -3
- package/components/table/src/components/popup-export/popup-export.component.d.ts +0 -51
- package/components/table/src/components/selector-action/action-filter.pipe.d.ts +0 -34
- package/components/table/src/components/selector-action/selector-action.component.d.ts +0 -16
- package/components/table/src/configurations/index.d.ts +0 -1
- package/components/table/src/configurations/table.configuration.d.ts +0 -35
- package/components/table/src/directives/index.d.ts +0 -6
- package/components/table/src/directives/sd-column-resize.directive.d.ts +0 -13
- package/components/table/src/directives/sd-table-cell-def.directive.d.ts +0 -16
- package/components/table/src/directives/sd-table-column-filter-def.directive.d.ts +0 -16
- package/components/table/src/directives/sd-table-expand-def.directive.d.ts +0 -13
- package/components/table/src/directives/sd-table-filter-def.directive.d.ts +0 -14
- package/components/table/src/directives/sd-table-footer-def.directive.d.ts +0 -16
- package/components/table/src/directives/sd-table-group-def.directive.d.ts +0 -44
- package/components/table/src/directives/sd-table-title-def.directive.d.ts +0 -14
- package/components/table/src/directives/sticky-shadow.directive.d.ts +0 -17
- package/components/table/src/models/index.d.ts +0 -5
- package/components/table/src/models/table-column.model.d.ts +0 -119
- package/components/table/src/models/table-command.model.d.ts +0 -25
- package/components/table/src/models/table-item.model.d.ts +0 -65
- package/components/table/src/models/table-option-config.model.d.ts +0 -42
- package/components/table/src/models/table-option-expand.model.d.ts +0 -6
- package/components/table/src/models/table-option-export.model.d.ts +0 -42
- package/components/table/src/models/table-option-group.model.d.ts +0 -21
- package/components/table/src/models/table-option-paginate.model.d.ts +0 -7
- package/components/table/src/models/table-option-reload.model.d.ts +0 -7
- package/components/table/src/models/table-option-selector.model.d.ts +0 -105
- package/components/table/src/models/table-option-sort.model.d.ts +0 -3
- package/components/table/src/models/table-option-style.model.d.ts +0 -11
- package/components/table/src/models/table-option-tree.model.d.ts +0 -12
- package/components/table/src/models/table-option.model.d.ts +0 -181
- package/components/table/src/pipes/filter-values.pipe.d.ts +0 -8
- package/components/table/src/pipes/index.d.ts +0 -2
- package/components/table/src/pipes/sd-group.pipe.d.ts +0 -23
- package/components/table/src/pipes/sd-tree.pipe.d.ts +0 -9
- package/components/table/src/pipes/selection-disabled.pipe.d.ts +0 -9
- package/components/table/src/pipes/selection-visible-select-all.pipe.d.ts +0 -9
- package/components/table/src/pipes/selection-visible.pipe.d.ts +0 -9
- package/components/table/src/services/column-width.util.d.ts +0 -7
- package/components/table/src/services/config.service.d.ts +0 -21
- package/components/table/src/services/index.d.ts +0 -3
- package/components/table/src/services/table-export/table-export.service.d.ts +0 -26
- package/components/table/src/services/table-filter/table-filter.model.d.ts +0 -150
- package/components/table/src/services/table-filter/table-filter.service.d.ts +0 -20
- package/components/table/src/services/table-format/table-format.service.d.ts +0 -16
- package/components/table/src/services/tree/tree.util.d.ts +0 -14
- package/components/table/src/table.component.d.ts +0 -137
- package/components/upload-file/src/components/preview/preview.component.d.ts +0 -23
- package/components/upload-file/src/configurations/index.d.ts +0 -1
- package/components/upload-file/src/configurations/upload-file.configuration.d.ts +0 -50
- package/components/upload-file/src/pipes/document.pipe.d.ts +0 -8
- package/components/upload-file/src/pipes/image.pipe.d.ts +0 -8
- package/components/upload-file/src/pipes/index.d.ts +0 -2
- package/components/upload-file/src/services/index.d.ts +0 -2
- package/components/upload-file/src/services/upload-file.model.d.ts +0 -12
- package/components/upload-file/src/services/upload-file.service.d.ts +0 -10
- package/components/upload-file/src/upload-file.component.d.ts +0 -85
- package/components/view/src/view.component.d.ts +0 -17
- package/configurations/src/sd-core.configuration.d.ts +0 -10
- package/directives/src/sd-desktop.directive.d.ts +0 -7
- package/directives/src/sd-hover-copy.directive.d.ts +0 -16
- package/directives/src/sd-href.directive.d.ts +0 -9
- package/directives/src/sd-mobile.directive.d.ts +0 -7
- package/directives/src/sd-scroll.directive.d.ts +0 -14
- package/directives/src/sd-tooltip.directive.d.ts +0 -26
- package/forms/autocomplete/src/autocomplete.component.d.ts +0 -93
- package/forms/checkbox/src/checkbox.component.d.ts +0 -28
- package/forms/chip/src/chip.component.d.ts +0 -71
- package/forms/chip/src/index.d.ts +0 -2
- package/forms/chip/src/pipes/index.d.ts +0 -1
- package/forms/chip/src/pipes/removable-chip.pipe.d.ts +0 -8
- package/forms/chip-calendar/src/chip-calendar.component.d.ts +0 -71
- package/forms/chip-calendar/src/pipes/index.d.ts +0 -1
- package/forms/chip-calendar/src/pipes/removable-chip.pipe.d.ts +0 -8
- package/forms/date/src/date.component.d.ts +0 -79
- package/forms/date-range/src/date-range.component.d.ts +0 -81
- package/forms/datetime/src/datetime.component.d.ts +0 -89
- package/forms/datetime/src/popup/sd-datetime-picker.component.d.ts +0 -37
- package/forms/datetime/src/popup/sd-time-spinner.component.d.ts +0 -41
- package/forms/directives/src/item-def.directive.d.ts +0 -13
- package/forms/directives/src/label-def.directive.d.ts +0 -9
- package/forms/directives/src/suffix-def.directive.d.ts +0 -9
- package/forms/directives/src/view-def.directive.d.ts +0 -14
- package/forms/input/src/input.component.d.ts +0 -84
- package/forms/input-color/src/input-color.component.d.ts +0 -32
- package/forms/input-number/src/input-number.component.d.ts +0 -95
- package/forms/label/src/label.component.d.ts +0 -13
- package/forms/models/src/form-control-state.d.ts +0 -23
- package/forms/models/src/sd-custom-validator.model.d.ts +0 -15
- package/forms/models/src/sd-form-control.model.d.ts +0 -21
- package/forms/models/src/sd-form.configuration.d.ts +0 -6
- package/forms/models/src/sd-search.model.d.ts +0 -7
- package/forms/models/src/sd-selection-data.model.d.ts +0 -7
- package/forms/radio/src/radio.component.d.ts +0 -49
- package/forms/select/src/select.component.d.ts +0 -93
- package/forms/src/forms.module.d.ts +0 -14
- package/forms/switch/src/switch.component.d.ts +0 -32
- package/forms/textarea/src/textarea.component.d.ts +0 -65
- package/handlers/global-error.handler.d.ts +0 -9
- package/i18n/src/en.d.ts +0 -449
- package/i18n/src/i18n.messages.d.ts +0 -2
- package/i18n/src/i18n.pipe.d.ts +0 -9
- package/i18n/src/i18n.service.d.ts +0 -14
- package/i18n/src/i18n.token.d.ts +0 -1
- package/i18n/src/i18n.types.d.ts +0 -31
- package/i18n/src/ja.d.ts +0 -2
- package/i18n/src/ko.d.ts +0 -2
- package/i18n/src/vi.d.ts +0 -2
- package/i18n/src/zh.d.ts +0 -2
- package/interceptors/no-internet/no-internet.interceptor.d.ts +0 -14
- package/interceptors/unauthorized/unauthorized.interceptor.d.ts +0 -12
- package/models/src/language.model.d.ts +0 -2
- package/modules/auth/configurations/auth.configuration.d.ts +0 -19
- package/modules/auth/configurations/index.d.ts +0 -1
- package/modules/auth/guards/auth.guard.d.ts +0 -11
- package/modules/auth/guards/index.d.ts +0 -2
- package/modules/auth/guards/portal.guard.d.ts +0 -11
- package/modules/auth/services/auth.model.d.ts +0 -8
- package/modules/auth/services/auth.service.d.ts +0 -17
- package/modules/auth/services/index.d.ts +0 -2
- package/modules/authom/authom.configuration.d.ts +0 -17
- package/modules/authom/authom.interceptor.d.ts +0 -3
- package/modules/authom/authom.module.d.ts +0 -16
- package/modules/authom/authom.service.d.ts +0 -32
- package/modules/keycloak/keycloak.configuration.d.ts +0 -11
- package/modules/keycloak/keycloak.interceptor.d.ts +0 -2
- package/modules/keycloak/keycloak.module.d.ts +0 -18
- package/modules/keycloak/keycloak.service.d.ts +0 -14
- package/modules/layout/components/index.d.ts +0 -4
- package/modules/layout/components/layout-main/layout-main.component.d.ts +0 -12
- package/modules/layout/components/page/page.component.d.ts +0 -10
- package/modules/layout/components/sidebar-mobile-v1/components/sidebar/sidebar.component.d.ts +0 -35
- package/modules/layout/components/sidebar-mobile-v1/components/user/user.component.d.ts +0 -24
- package/modules/layout/components/sidebar-mobile-v1/main.component.d.ts +0 -21
- package/modules/layout/components/sidebar-v1/components/sidebar/sidebar.component.d.ts +0 -55
- package/modules/layout/components/sidebar-v1/components/user/user.component.d.ts +0 -22
- package/modules/layout/components/sidebar-v1/main.component.d.ts +0 -24
- package/modules/layout/configurations/index.d.ts +0 -1
- package/modules/layout/configurations/layout.configuration.d.ts +0 -67
- package/modules/layout/layout.module.d.ts +0 -7
- package/modules/layout/layout.routing.d.ts +0 -2
- package/modules/layout/modules/forbidden/forbidden.module.d.ts +0 -8
- package/modules/layout/modules/forbidden/forbidden.routing.d.ts +0 -2
- package/modules/layout/modules/forbidden/index.d.ts +0 -1
- package/modules/layout/modules/forbidden/pages/root/root.component.d.ts +0 -10
- package/modules/layout/modules/home/components/home-page/home-page.component.d.ts +0 -33
- package/modules/layout/modules/home/guards/home-redirect.guard.d.ts +0 -11
- package/modules/layout/modules/home/home.module.d.ts +0 -8
- package/modules/layout/modules/home/home.routing.d.ts +0 -7
- package/modules/layout/modules/home/index.d.ts +0 -1
- package/modules/layout/modules/index.d.ts +0 -3
- package/modules/layout/modules/not-found/index.d.ts +0 -1
- package/modules/layout/modules/not-found/not-found.module.d.ts +0 -8
- package/modules/layout/modules/not-found/not-found.routing.d.ts +0 -2
- package/modules/layout/modules/not-found/pages/root/root.component.d.ts +0 -10
- package/modules/layout/pipes/high-light-search.pipe.d.ts +0 -10
- package/modules/layout/pipes/index.d.ts +0 -3
- package/modules/layout/pipes/menu-focus.pipe.d.ts +0 -10
- package/modules/layout/pipes/menu.pipe.d.ts +0 -13
- package/modules/layout/services/index.d.ts +0 -3
- package/modules/layout/services/layout.service.d.ts +0 -10
- package/modules/layout/services/menu/menu.model.d.ts +0 -24
- package/modules/layout/services/storage/storage.service.d.ts +0 -13
- package/modules/permission/src/configurations/index.d.ts +0 -1
- package/modules/permission/src/configurations/permission.configuration.d.ts +0 -63
- package/modules/permission/src/directives/index.d.ts +0 -1
- package/modules/permission/src/directives/permission.directive.d.ts +0 -9
- package/modules/permission/src/guards/index.d.ts +0 -1
- package/modules/permission/src/guards/permission.guard.d.ts +0 -14
- package/modules/permission/src/services/index.d.ts +0 -1
- package/modules/permission/src/services/permission.service.d.ts +0 -12
- package/pipes/src/empty.pipe.d.ts +0 -7
- package/pipes/src/format-number.pipe.d.ts +0 -11
- package/pipes/src/safe-html.pipe.d.ts +0 -11
- package/pipes/src/time-different.pipe.d.ts +0 -13
- package/public-api.d.ts +0 -10
- package/services/api/src/api.model.d.ts +0 -36
- package/services/api/src/api.module.d.ts +0 -6
- package/services/api/src/api.service.d.ts +0 -19
- package/services/api/src/interceptors/api.interceptor.d.ts +0 -9
- package/services/cache/src/cache.model.d.ts +0 -30
- package/services/cache/src/cache.service.d.ts +0 -9
- package/services/confirm/src/lib/components/dialog-confirm/dialog-confirm.component.d.ts +0 -46
- package/services/confirm/src/lib/confirm.service.d.ts +0 -55
- package/services/confirm/src/public-api.d.ts +0 -2
- package/services/docx/src/lib/docx.model.d.ts +0 -9
- package/services/docx/src/lib/docx.service.d.ts +0 -15
- package/services/docx/src/lib/pandoc-core.d.ts +0 -11
- package/services/docx/src/public-api.d.ts +0 -2
- package/services/excel/src/lib/excel.model.d.ts +0 -31
- package/services/excel/src/lib/excel.service.d.ts +0 -19
- package/services/excel/src/public-api.d.ts +0 -2
- package/services/license/src/license.service.d.ts +0 -10
- package/services/loading/src/loading.service.d.ts +0 -14
- package/services/notify/src/components/toast/toast.component.d.ts +0 -28
- package/services/notify/src/components/toast-container.component.d.ts +0 -8
- package/services/notify/src/notify.model.d.ts +0 -16
- package/services/notify/src/notify.service.d.ts +0 -20
- package/services/storage/src/storage.model.d.ts +0 -20
- package/services/storage/src/storage.service.d.ts +0 -10
- package/utilities/data-state/src/data-state.d.ts +0 -11
- package/utilities/extensions/src/array.extension.d.ts +0 -1
- package/utilities/extensions/src/color.extension.d.ts +0 -5
- package/utilities/extensions/src/date.extension.d.ts +0 -1
- package/utilities/extensions/src/number.extension.d.ts +0 -1
- package/utilities/extensions/src/string.extension.d.ts +0 -50
- package/utilities/extensions/src/utility.extension.d.ts +0 -31
- package/utilities/models/src/color.model.d.ts +0 -4
- package/utilities/models/src/empty.model.d.ts +0 -4
- package/utilities/models/src/filter.model.d.ts +0 -12
- package/utilities/models/src/icon.model.d.ts +0 -2
- package/utilities/models/src/maybe-async.model.d.ts +0 -10
- package/utilities/models/src/nested-key-of.model.d.ts +0 -4
- package/utilities/models/src/operator.model.d.ts +0 -13
- package/utilities/models/src/order.model.d.ts +0 -4
- package/utilities/models/src/paging.model.d.ts +0 -8
- package/utilities/models/src/pattern.model.d.ts +0 -21
- package/utilities/models/src/size.model.d.ts +0 -4
- package/utilities/models/src/unwrap-signal.model.d.ts +0 -6
|
@@ -129,10 +129,10 @@ class SdNoInternetInterceptor {
|
|
|
129
129
|
this.#pollInterval = null;
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
133
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdNoInternetInterceptor, deps: [{ token: i1.MatSnackBar }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
133
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdNoInternetInterceptor });
|
|
134
134
|
}
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdNoInternetInterceptor, decorators: [{
|
|
136
136
|
type: Injectable
|
|
137
137
|
}], ctorParameters: () => [{ type: i1.MatSnackBar }, { type: i0.Injector }] });
|
|
138
138
|
|
|
@@ -151,10 +151,10 @@ class SdUnauthorizedInterceptor {
|
|
|
151
151
|
return throwError(() => error);
|
|
152
152
|
}));
|
|
153
153
|
}
|
|
154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
155
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
154
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdUnauthorizedInterceptor, deps: [{ token: i1$1.SdAuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
155
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdUnauthorizedInterceptor });
|
|
156
156
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdUnauthorizedInterceptor, decorators: [{
|
|
158
158
|
type: Injectable
|
|
159
159
|
}], ctorParameters: () => [{ type: i1$1.SdAuthService }] });
|
|
160
160
|
|
|
@@ -36,7 +36,7 @@ class SdAuthService {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
else {
|
|
39
|
-
this.getAuthInfo = signal(defaultUser);
|
|
39
|
+
this.getAuthInfo = signal(defaultUser, ...(ngDevMode ? [{ debugName: "getAuthInfo" }] : []));
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
// #handleSignin = () => {
|
|
@@ -62,10 +62,10 @@ class SdAuthService {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthService, deps: [{ token: SD_AUTH_CONFIGURATION, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
66
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthService, providedIn: 'root' });
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthService, decorators: [{
|
|
69
69
|
type: Injectable,
|
|
70
70
|
args: [{ providedIn: 'root' }]
|
|
71
71
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -89,10 +89,10 @@ class SdAuthGuard {
|
|
|
89
89
|
// Nếu chưa tích hợp Auth Guard thì pass canActive
|
|
90
90
|
return true;
|
|
91
91
|
};
|
|
92
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
93
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
92
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthGuard, deps: [{ token: SD_AUTH_CONFIGURATION, optional: true }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
93
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthGuard, providedIn: 'root' });
|
|
94
94
|
}
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthGuard, decorators: [{
|
|
96
96
|
type: Injectable,
|
|
97
97
|
args: [{ providedIn: 'root' }]
|
|
98
98
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -116,10 +116,10 @@ class SdPortalGuard {
|
|
|
116
116
|
// Nếu chưa tích hợp Portal Guard thì pass canActive
|
|
117
117
|
return true;
|
|
118
118
|
};
|
|
119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
120
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdPortalGuard, deps: [{ token: SD_AUTH_CONFIGURATION, optional: true }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
120
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdPortalGuard, providedIn: 'root' });
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdPortalGuard, decorators: [{
|
|
123
123
|
type: Injectable,
|
|
124
124
|
args: [{ providedIn: 'root' }]
|
|
125
125
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdcorejs-angular-modules-auth.mjs","sources":["../../../projects/sdcorejs-angular/modules/auth/configurations/auth.configuration.ts","../../../projects/sdcorejs-angular/modules/auth/services/auth.service.ts","../../../projects/sdcorejs-angular/modules/auth/guards/auth.guard.ts","../../../projects/sdcorejs-angular/modules/auth/guards/portal.guard.ts","../../../projects/sdcorejs-angular/modules/auth/sdcorejs-angular-modules-auth.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { CanActivate } from '@angular/router';\nimport { MaybeAsync } from '@sdcorejs/utils/models';\nimport { SdAuthInfo } from '../services';\n\nexport interface ISdAuthConfiguration {\n action?: IAuthConfigurationAction;\n guard?: IAuthConfigurationGuard;\n}\n\nexport const SD_AUTH_CONFIGURATION = new InjectionToken<ISdAuthConfiguration>('sd.auth.configuration');\n\ninterface IAuthConfigurationAction {\n signout: () => MaybeAsync<void>;\n changePassword?: () => MaybeAsync<void>;\n}\n\ninterface IAuthConfigurationGuard {\n auth?: CanActivate['canActivate'];\n portal?: CanActivate['canActivate'];\n authInfo: () => MaybeAsync<SdAuthInfo>;\n}\n","import { Inject, Injectable, Optional, signal, Signal } from '@angular/core';\nimport { from, Observable, Subject } from 'rxjs';\nimport { ISdAuthConfiguration, SD_AUTH_CONFIGURATION } from '../configurations';\nimport { normalizeAsync, resolveMaybeAsync } from '@sdcorejs/utils/models';\nimport { SdAuthInfo } from './auth.model';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\n@Injectable({ providedIn: 'root' })\nexport class SdAuthService {\n // Đăng nhập\n // #signin = new Subject<void>();\n // signin$?: Observable<void>;\n getAuthInfo?: Signal<SdAuthInfo | undefined>;\n\n // Đăng xuất\n #signout = new Subject<void>();\n signout$?: Observable<void>;\n\n // Thay đổi mật khẩu\n #changePassword = new Subject<void>();\n changePassword$?: Observable<void>;\n\n constructor(@Optional() @Inject(SD_AUTH_CONFIGURATION) private authConfiguration: ISdAuthConfiguration) {\n // this.#handleSignin();\n this.#handleSignout();\n this.#handleChangePassword();\n const defaultUser = {\n id: 'guest-id',\n username: 'guest',\n firstName: 'Guest',\n email: 'guest@gmail.com',\n };\n if (this.authConfiguration?.guard?.authInfo) {\n this.getAuthInfo = toSignal(normalizeAsync(this.authConfiguration.guard?.authInfo()), {\n initialValue: defaultUser,\n });\n } else {\n this.getAuthInfo = signal(defaultUser);\n }\n }\n\n // #handleSignin = () => {\n // this.signin$ = this.#signin.asObservable();\n // };\n\n #handleSignout = () => {\n this.signout$ = this.#signout.asObservable();\n };\n\n #handleChangePassword = () => {\n this.changePassword$ = this.#changePassword.asObservable();\n };\n signout = () => {\n if (this.authConfiguration?.action?.signout) {\n resolveMaybeAsync(this.authConfiguration.action.signout()).then(() => {\n this.#signout.next();\n });\n }\n };\n\n changePassword = () => {\n if (this.authConfiguration?.action?.changePassword) {\n resolveMaybeAsync(this.authConfiguration.action.changePassword()).then(() => {\n this.#changePassword.next();\n });\n }\n };\n}\n","import { Inject, Injectable, Optional } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\nimport { ISdAuthConfiguration, SD_AUTH_CONFIGURATION } from '../configurations';\n\n@Injectable({ providedIn: 'root' })\nexport class SdAuthGuard implements CanActivate {\n constructor(\n @Optional() @Inject(SD_AUTH_CONFIGURATION) private authConfiguration: ISdAuthConfiguration,\n protected readonly router: Router\n ) {}\n\n canActivate = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n if (this.authConfiguration?.guard?.auth) {\n return this.authConfiguration.guard.auth(route, state);\n }\n // Nếu chưa tích hợp Auth Guard thì pass canActive\n return true;\n };\n}\n","import { Inject, Injectable, Optional } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\nimport { ISdAuthConfiguration, SD_AUTH_CONFIGURATION } from '../configurations';\n\n@Injectable({ providedIn: 'root' })\nexport class SdPortalGuard implements CanActivate {\n constructor(\n @Optional() @Inject(SD_AUTH_CONFIGURATION) private authConfiguration: ISdAuthConfiguration,\n protected readonly router: Router\n ) {}\n\n canActivate = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n if (this.authConfiguration?.guard?.portal) {\n return this.authConfiguration.guard.portal(route, state);\n }\n // Nếu chưa tích hợp Portal Guard thì pass canActive\n return true;\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAUa,qBAAqB,GAAG,IAAI,cAAc,CAAuB,uBAAuB;;MCFxF,aAAa,CAAA;AAcuC,IAAA,iBAAA;;;;AAV/D,IAAA,WAAW;;AAGX,IAAA,QAAQ,GAAG,IAAI,OAAO,EAAQ;AAC9B,IAAA,QAAQ;;AAGR,IAAA,eAAe,GAAG,IAAI,OAAO,EAAQ;AACrC,IAAA,eAAe;AAEf,IAAA,WAAA,CAA+D,iBAAuC,EAAA;QAAvC,IAAA,CAAA,iBAAiB,GAAjB,iBAAiB;;QAE9E,IAAI,CAAC,cAAc,EAAE;QACrB,IAAI,CAAC,qBAAqB,EAAE;AAC5B,QAAA,MAAM,WAAW,GAAG;AAClB,YAAA,EAAE,EAAE,UAAU;AACd,YAAA,QAAQ,EAAE,OAAO;AACjB,YAAA,SAAS,EAAE,OAAO;AAClB,YAAA,KAAK,EAAE,iBAAiB;SACzB;QACD,IAAI,IAAI,CAAC,iBAAiB,EAAE,KAAK,EAAE,QAAQ,EAAE;AAC3C,YAAA,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,iBAAiB,CAAC,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE;AACpF,gBAAA,YAAY,EAAE,WAAW;AAC1B,aAAA,CAAC;QACJ;aAAO;AACL,YAAA,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"sdcorejs-angular-modules-auth.mjs","sources":["../../../projects/sdcorejs-angular/modules/auth/configurations/auth.configuration.ts","../../../projects/sdcorejs-angular/modules/auth/services/auth.service.ts","../../../projects/sdcorejs-angular/modules/auth/guards/auth.guard.ts","../../../projects/sdcorejs-angular/modules/auth/guards/portal.guard.ts","../../../projects/sdcorejs-angular/modules/auth/sdcorejs-angular-modules-auth.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { CanActivate } from '@angular/router';\nimport { MaybeAsync } from '@sdcorejs/utils/models';\nimport { SdAuthInfo } from '../services';\n\nexport interface ISdAuthConfiguration {\n action?: IAuthConfigurationAction;\n guard?: IAuthConfigurationGuard;\n}\n\nexport const SD_AUTH_CONFIGURATION = new InjectionToken<ISdAuthConfiguration>('sd.auth.configuration');\n\ninterface IAuthConfigurationAction {\n signout: () => MaybeAsync<void>;\n changePassword?: () => MaybeAsync<void>;\n}\n\ninterface IAuthConfigurationGuard {\n auth?: CanActivate['canActivate'];\n portal?: CanActivate['canActivate'];\n authInfo: () => MaybeAsync<SdAuthInfo>;\n}\n","import { Inject, Injectable, Optional, signal, Signal } from '@angular/core';\nimport { from, Observable, Subject } from 'rxjs';\nimport { ISdAuthConfiguration, SD_AUTH_CONFIGURATION } from '../configurations';\nimport { normalizeAsync, resolveMaybeAsync } from '@sdcorejs/utils/models';\nimport { SdAuthInfo } from './auth.model';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\n@Injectable({ providedIn: 'root' })\nexport class SdAuthService {\n // Đăng nhập\n // #signin = new Subject<void>();\n // signin$?: Observable<void>;\n getAuthInfo?: Signal<SdAuthInfo | undefined>;\n\n // Đăng xuất\n #signout = new Subject<void>();\n signout$?: Observable<void>;\n\n // Thay đổi mật khẩu\n #changePassword = new Subject<void>();\n changePassword$?: Observable<void>;\n\n constructor(@Optional() @Inject(SD_AUTH_CONFIGURATION) private authConfiguration: ISdAuthConfiguration) {\n // this.#handleSignin();\n this.#handleSignout();\n this.#handleChangePassword();\n const defaultUser = {\n id: 'guest-id',\n username: 'guest',\n firstName: 'Guest',\n email: 'guest@gmail.com',\n };\n if (this.authConfiguration?.guard?.authInfo) {\n this.getAuthInfo = toSignal(normalizeAsync(this.authConfiguration.guard?.authInfo()), {\n initialValue: defaultUser,\n });\n } else {\n this.getAuthInfo = signal(defaultUser);\n }\n }\n\n // #handleSignin = () => {\n // this.signin$ = this.#signin.asObservable();\n // };\n\n #handleSignout = () => {\n this.signout$ = this.#signout.asObservable();\n };\n\n #handleChangePassword = () => {\n this.changePassword$ = this.#changePassword.asObservable();\n };\n signout = () => {\n if (this.authConfiguration?.action?.signout) {\n resolveMaybeAsync(this.authConfiguration.action.signout()).then(() => {\n this.#signout.next();\n });\n }\n };\n\n changePassword = () => {\n if (this.authConfiguration?.action?.changePassword) {\n resolveMaybeAsync(this.authConfiguration.action.changePassword()).then(() => {\n this.#changePassword.next();\n });\n }\n };\n}\n","import { Inject, Injectable, Optional } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\nimport { ISdAuthConfiguration, SD_AUTH_CONFIGURATION } from '../configurations';\n\n@Injectable({ providedIn: 'root' })\nexport class SdAuthGuard implements CanActivate {\n constructor(\n @Optional() @Inject(SD_AUTH_CONFIGURATION) private authConfiguration: ISdAuthConfiguration,\n protected readonly router: Router\n ) {}\n\n canActivate = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n if (this.authConfiguration?.guard?.auth) {\n return this.authConfiguration.guard.auth(route, state);\n }\n // Nếu chưa tích hợp Auth Guard thì pass canActive\n return true;\n };\n}\n","import { Inject, Injectable, Optional } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\nimport { ISdAuthConfiguration, SD_AUTH_CONFIGURATION } from '../configurations';\n\n@Injectable({ providedIn: 'root' })\nexport class SdPortalGuard implements CanActivate {\n constructor(\n @Optional() @Inject(SD_AUTH_CONFIGURATION) private authConfiguration: ISdAuthConfiguration,\n protected readonly router: Router\n ) {}\n\n canActivate = (route: ActivatedRouteSnapshot, state: RouterStateSnapshot) => {\n if (this.authConfiguration?.guard?.portal) {\n return this.authConfiguration.guard.portal(route, state);\n }\n // Nếu chưa tích hợp Portal Guard thì pass canActive\n return true;\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAUa,qBAAqB,GAAG,IAAI,cAAc,CAAuB,uBAAuB;;MCFxF,aAAa,CAAA;AAcuC,IAAA,iBAAA;;;;AAV/D,IAAA,WAAW;;AAGX,IAAA,QAAQ,GAAG,IAAI,OAAO,EAAQ;AAC9B,IAAA,QAAQ;;AAGR,IAAA,eAAe,GAAG,IAAI,OAAO,EAAQ;AACrC,IAAA,eAAe;AAEf,IAAA,WA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AA,IAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAFhC,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,cADA,MAAM,EAAA,CAAA;;4FACnB,aAAa,EAAA,UAAA,EAAA,CAAA;kBADzB,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;0BAG7B;;0BAAY,MAAM;2BAAC,qBAAqB;;;ACP7C;;AAEG;;;;"}
|
|
@@ -14,9 +14,9 @@ const DEFAULT_AUTHORIZE_TIMEOUT_SECONDS = 5;
|
|
|
14
14
|
class SdAuthOmService {
|
|
15
15
|
platformId = inject(PLATFORM_ID);
|
|
16
16
|
isBrowser = isPlatformBrowser(this.platformId);
|
|
17
|
-
accessToken = signal(null);
|
|
18
|
-
idTokenClaims = signal(null);
|
|
19
|
-
isAuthenticated = computed(() => this.accessToken() !== null);
|
|
17
|
+
accessToken = signal(null, ...(ngDevMode ? [{ debugName: "accessToken" }] : []));
|
|
18
|
+
idTokenClaims = signal(null, ...(ngDevMode ? [{ debugName: "idTokenClaims" }] : []));
|
|
19
|
+
isAuthenticated = computed(() => this.accessToken() !== null, ...(ngDevMode ? [{ debugName: "isAuthenticated" }] : []));
|
|
20
20
|
config;
|
|
21
21
|
refreshTimer = null;
|
|
22
22
|
getAccessToken() {
|
|
@@ -247,10 +247,10 @@ class SdAuthOmService {
|
|
|
247
247
|
}
|
|
248
248
|
return this.silentRefresh();
|
|
249
249
|
}
|
|
250
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
251
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthOmService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
251
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthOmService, providedIn: 'root' });
|
|
252
252
|
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthOmService, decorators: [{
|
|
254
254
|
type: Injectable,
|
|
255
255
|
args: [{ providedIn: 'root' }]
|
|
256
256
|
}] });
|
|
@@ -311,11 +311,11 @@ class SdAuthOmModule {
|
|
|
311
311
|
],
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
315
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
316
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthOmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
315
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.23", ngImport: i0, type: SdAuthOmModule });
|
|
316
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthOmModule });
|
|
317
317
|
}
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdAuthOmModule, decorators: [{
|
|
319
319
|
type: NgModule,
|
|
320
320
|
args: [{}]
|
|
321
321
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdcorejs-angular-modules-authom.mjs","sources":["../../../projects/sdcorejs-angular/modules/authom/authom.configuration.ts","../../../projects/sdcorejs-angular/modules/authom/authom.service.ts","../../../projects/sdcorejs-angular/modules/authom/authom.interceptor.ts","../../../projects/sdcorejs-angular/modules/authom/authom.module.ts","../../../projects/sdcorejs-angular/modules/authom/index.ts","../../../projects/sdcorejs-angular/modules/authom/sdcorejs-angular-modules-authom.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface SdAuthOmTenantConfig {\n domain: string;\n clientId: string;\n\n redirectUri?: string;\n audience?: string;\n organization?: string;\n scope?: string;\n\n secureRoutes?: string[];\n\n silentRefreshRedirectUri?: string;\n refreshThresholdSeconds?: number;\n authorizeTimeoutInSeconds?: number;\n}\n\nexport interface ISdAuthOmConfiguration {\n loadTenantConfig: () => Promise<SdAuthOmTenantConfig>;\n}\n\nexport const SD_AUTHOM_CONFIGURATION = new InjectionToken<ISdAuthOmConfiguration>('sd-authom.configuration');\n","import { Injectable, PLATFORM_ID, computed, inject, signal } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { SdAuthOmTenantConfig } from './authom.configuration';\nimport { StringUtilities } from '@sdcorejs/utils/fns';\n\nconst STORAGE_KEY_STATE = 'authom_state';\nconst STORAGE_KEY_CODE_VERIFIER = 'authom_code_verifier';\nconst STORAGE_KEY_RETURN_TO = 'authom_return_to';\n\nconst DEFAULT_SCOPE = 'openid profile email';\nconst DEFAULT_REFRESH_THRESHOLD_SECONDS = 30;\nconst DEFAULT_AUTHORIZE_TIMEOUT_SECONDS = 5;\n\n@Injectable({ providedIn: 'root' })\nexport class SdAuthOmService {\n private readonly platformId = inject(PLATFORM_ID);\n private readonly isBrowser = isPlatformBrowser(this.platformId);\n\n readonly accessToken = signal<string | null>(null);\n readonly idTokenClaims = signal<Record<string, unknown> | null>(null);\n readonly isAuthenticated = computed(() => this.accessToken() !== null);\n\n config!: SdAuthOmTenantConfig;\n private refreshTimer: ReturnType<typeof setTimeout> | null = null;\n\n getAccessToken(): string | null {\n return this.accessToken();\n }\n\n private base64UrlEncode(bytes: Uint8Array): string {\n let binary = '';\n for (let i = 0; i < bytes.length; i++) binary += String.fromCharCode(bytes[i]);\n return btoa(binary).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '');\n }\n\n private generateCodeVerifier(): string {\n const bytes = new Uint8Array(32);\n crypto.getRandomValues(bytes);\n return this.base64UrlEncode(bytes);\n }\n\n private async generateCodeChallenge(verifier: string): Promise<string> {\n return StringUtilities.sha256(verifier);\n }\n\n private buildAuthorizeUrl(params: {\n state: string;\n codeChallenge: string;\n redirectUri: string;\n prompt?: 'none';\n }): string {\n const search = new URLSearchParams({\n response_type: 'code',\n client_id: this.config.clientId,\n redirect_uri: params.redirectUri,\n state: params.state,\n code_challenge: params.codeChallenge,\n code_challenge_method: 'S256',\n scope: this.config.scope || DEFAULT_SCOPE,\n });\n if (this.config.audience) search.set('audience', this.config.audience);\n if (this.config.organization) search.set('organization', this.config.organization);\n if (params.prompt) search.set('prompt', params.prompt);\n return `https://${this.config.domain}/authorize?${search.toString()}`;\n }\n\n private getDefaultRedirectUri(): string {\n return this.config.redirectUri || window.location.origin;\n }\n\n private getSilentRedirectUri(): string {\n return this.config.silentRefreshRedirectUri || `${window.location.origin}/silent-authom.html`;\n }\n\n private decodeJwtPayload(token: string): Record<string, unknown> | null {\n try {\n const parts = token.split('.');\n if (parts.length !== 3) return null;\n const padded = parts[1].replace(/-/g, '+').replace(/_/g, '/');\n const json = atob(padded + '==='.slice((padded.length + 3) % 4));\n return JSON.parse(json);\n } catch {\n return null;\n }\n }\n\n async login(options?: { returnTo?: string }): Promise<void> {\n if (!this.isBrowser) return;\n\n const state = crypto.randomUUID();\n const codeVerifier = this.generateCodeVerifier();\n const codeChallenge = await this.generateCodeChallenge(codeVerifier);\n const returnTo = options?.returnTo || (window.location.pathname + window.location.search);\n\n sessionStorage.setItem(STORAGE_KEY_STATE, state);\n sessionStorage.setItem(STORAGE_KEY_CODE_VERIFIER, codeVerifier);\n sessionStorage.setItem(STORAGE_KEY_RETURN_TO, returnTo);\n\n window.location.href = this.buildAuthorizeUrl({\n state,\n codeChallenge,\n redirectUri: this.getDefaultRedirectUri(),\n });\n }\n\n logout(options?: { returnTo?: string }): void {\n if (!this.isBrowser) return;\n\n this.accessToken.set(null);\n this.idTokenClaims.set(null);\n if (this.refreshTimer) {\n clearTimeout(this.refreshTimer);\n this.refreshTimer = null;\n }\n\n const returnTo = options?.returnTo || window.location.origin;\n const search = new URLSearchParams({\n client_id: this.config.clientId,\n returnTo,\n });\n window.location.href = `https://${this.config.domain}/v2/logout?${search.toString()}`;\n }\n\n private async exchangeCode(code: string, codeVerifier: string, redirectUri: string): Promise<boolean> {\n try {\n const body = new URLSearchParams({\n grant_type: 'authorization_code',\n code,\n code_verifier: codeVerifier,\n redirect_uri: redirectUri,\n client_id: this.config.clientId,\n });\n const res = await fetch(`https://${this.config.domain}/oauth/token`, {\n method: 'POST',\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n body: body.toString(),\n });\n if (!res.ok) return false;\n const data = await res.json() as { access_token?: string; id_token?: string };\n if (!data.access_token) return false;\n\n this.accessToken.set(data.access_token);\n if (data.id_token) {\n this.idTokenClaims.set(this.decodeJwtPayload(data.id_token));\n }\n this.scheduleRefresh(data.access_token);\n return true;\n } catch {\n return false;\n }\n }\n\n private scheduleRefresh(token: string): void {\n if (this.refreshTimer) {\n clearTimeout(this.refreshTimer);\n this.refreshTimer = null;\n }\n const claims = this.decodeJwtPayload(token);\n const exp = claims?.['exp'];\n if (typeof exp !== 'number') {\n // @i18n-ignore — dev console warning\n console.warn('[SdAuthOmService] Token không có exp — bỏ qua auto-refresh');\n return;\n }\n const threshold = this.config.refreshThresholdSeconds ?? DEFAULT_REFRESH_THRESHOLD_SECONDS;\n const nowSeconds = Math.floor(Date.now() / 1000);\n const delayMs = Math.max(0, (exp - nowSeconds - threshold) * 1000);\n this.refreshTimer = setTimeout(() => {\n this.silentRefresh();\n }, delayMs);\n }\n\n silentRefresh(): Promise<boolean> {\n if (!this.isBrowser) return Promise.resolve(false);\n\n return new Promise(async (resolve) => {\n const state = crypto.randomUUID();\n const codeVerifier = this.generateCodeVerifier();\n const codeChallenge = await this.generateCodeChallenge(codeVerifier);\n const redirectUri = this.getSilentRedirectUri();\n const timeoutMs = (this.config.authorizeTimeoutInSeconds ?? DEFAULT_AUTHORIZE_TIMEOUT_SECONDS) * 1000;\n\n const iframe = document.createElement('iframe');\n iframe.style.display = 'none';\n\n let done = false;\n const finish = (success: boolean) => {\n if (done) return;\n done = true;\n clearTimeout(timer);\n iframe.remove();\n window.removeEventListener('message', onMessage);\n resolve(success);\n };\n\n const timer = setTimeout(() => finish(false), timeoutMs);\n\n const onMessage = async (event: MessageEvent) => {\n if (event.origin !== window.location.origin) return;\n const data = event.data as { type?: string; code?: string; state?: string } | null;\n if (!data || typeof data !== 'object') return;\n\n if (data.type === 'AUTHOM_SILENT_SUCCESS' && data.code && data.state === state) {\n const ok = await this.exchangeCode(data.code, codeVerifier, redirectUri);\n if (!ok) {\n this.accessToken.set(null);\n this.idTokenClaims.set(null);\n }\n finish(ok);\n } else if (data.type === 'AUTHOM_SILENT_ERROR') {\n this.accessToken.set(null);\n this.idTokenClaims.set(null);\n finish(false);\n }\n };\n\n window.addEventListener('message', onMessage);\n\n iframe.src = this.buildAuthorizeUrl({\n state,\n codeChallenge,\n redirectUri,\n prompt: 'none',\n });\n document.body.appendChild(iframe);\n });\n }\n\n async handleCallback(): Promise<boolean> {\n if (!this.isBrowser) return false;\n\n const params = new URLSearchParams(window.location.search);\n const code = params.get('code');\n const state = params.get('state');\n if (!code) return false;\n\n const savedState = sessionStorage.getItem(STORAGE_KEY_STATE);\n const codeVerifier = sessionStorage.getItem(STORAGE_KEY_CODE_VERIFIER);\n const returnTo = sessionStorage.getItem(STORAGE_KEY_RETURN_TO);\n sessionStorage.removeItem(STORAGE_KEY_STATE);\n sessionStorage.removeItem(STORAGE_KEY_CODE_VERIFIER);\n\n if (state !== savedState || !codeVerifier) {\n window.history.replaceState({}, '', window.location.pathname);\n sessionStorage.removeItem(STORAGE_KEY_RETURN_TO);\n return false;\n }\n\n const redirectUri = this.getDefaultRedirectUri();\n const ok = await this.exchangeCode(code, codeVerifier, redirectUri);\n\n if (returnTo) {\n sessionStorage.removeItem(STORAGE_KEY_RETURN_TO);\n window.history.replaceState({}, '', returnTo);\n } else {\n window.history.replaceState({}, '', window.location.pathname);\n }\n\n return ok;\n }\n\n async init(config: SdAuthOmTenantConfig): Promise<boolean> {\n this.config = config;\n if (!this.isBrowser) return false;\n\n const hasCode = new URLSearchParams(window.location.search).has('code');\n if (hasCode) {\n const ok = await this.handleCallback();\n if (ok) return true;\n }\n\n return this.silentRefresh();\n }\n}\n","import { HttpInterceptorFn } from '@angular/common/http';\nimport { inject } from '@angular/core';\nimport { SdAuthOmService } from './authom.service';\n\nconst escapeRegExp = (str: string): string => str.replace(/[.+?^${}()|[\\]\\\\]/g, '\\\\$&');\n\nexport const matchGlob = (pattern: string, url: string): boolean => {\n const regexBody = pattern.split('*').map(escapeRegExp).join('.*');\n return new RegExp(`^${regexBody}$`).test(url);\n};\n\nexport const SdAuthOmInterceptor: HttpInterceptorFn = (req, next) => {\n const authom = inject(SdAuthOmService);\n const token = authom.getAccessToken();\n const config = authom.config;\n\n if (!token || !config) return next(req);\n\n const isSecure = config.secureRoutes?.some(pattern => matchGlob(pattern, req.url));\n if (!isSecure) return next(req);\n\n const authReq = req.clone({\n headers: req.headers.set('Authorization', `Bearer ${token}`),\n });\n return next(authReq);\n};\n","import {\n ModuleWithProviders,\n NgModule,\n Provider,\n Type,\n EnvironmentProviders,\n makeEnvironmentProviders,\n provideAppInitializer,\n inject,\n APP_INITIALIZER,\n} from '@angular/core';\nimport { ISdAuthOmConfiguration, SD_AUTHOM_CONFIGURATION } from './authom.configuration';\nimport { SdAuthOmService } from './authom.service';\n\ninterface ProvideOptions {\n useClass?: Type<ISdAuthOmConfiguration>;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n useFactory?: (...args: any[]) => ISdAuthOmConfiguration;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n deps?: any[];\n}\n\nexport function provideSdAuthOm(options: ProvideOptions): EnvironmentProviders {\n const providers: Array<Provider | EnvironmentProviders> = [SdAuthOmService];\n\n if (options.useFactory) {\n providers.push({ provide: SD_AUTHOM_CONFIGURATION, useFactory: options.useFactory, deps: options.deps || [] });\n } else if (options.useClass) {\n providers.push({ provide: SD_AUTHOM_CONFIGURATION, useClass: options.useClass });\n }\n\n providers.push(\n provideAppInitializer(() => {\n const configLoader = inject(SD_AUTHOM_CONFIGURATION);\n const authom = inject(SdAuthOmService);\n return configLoader.loadTenantConfig().then((config) => authom.init(config));\n })\n );\n\n return makeEnvironmentProviders(providers);\n}\n\n@NgModule({})\nexport class SdAuthOmModule {\n static forRoot(options: ProvideOptions): ModuleWithProviders<SdAuthOmModule> {\n return {\n ngModule: SdAuthOmModule,\n providers: [\n SdAuthOmService,\n ...(options.useFactory\n ? [{ provide: SD_AUTHOM_CONFIGURATION, useFactory: options.useFactory, deps: options.deps || [] }]\n : [{ provide: SD_AUTHOM_CONFIGURATION, useClass: options.useClass! }]\n ),\n {\n provide: APP_INITIALIZER,\n multi: true,\n useFactory: () => {\n const configLoader = inject(SD_AUTHOM_CONFIGURATION);\n const authom = inject(SdAuthOmService);\n return () => configLoader.loadTenantConfig().then((config) => authom.init(config));\n },\n },\n ],\n };\n }\n}\n","/**\n * Module `authom` — OAuth 2.0 + PKCE authentication client cho AuthOM (Auth0-based).\n *\n * Cách dùng (standalone):\n * ```ts\n * import { provideHttpClient, withInterceptors } from '@angular/common/http';\n * import { provideSdAuthOm, SdAuthOmInterceptor } from '@sdcorejs/angular/modules/authom';\n *\n * export const appConfig: ApplicationConfig = {\n * providers: [\n * provideHttpClient(withInterceptors([SdAuthOmInterceptor])),\n * provideSdAuthOm({\n * useFactory: () => ({\n * loadTenantConfig: () => Promise.resolve({\n * domain: 'login.example.com',\n * clientId: 'YOUR_CLIENT_ID',\n * audience: 'https://api.example.com',\n * organization: 'org_xxx',\n * scope: 'openid profile email offline_access',\n * secureRoutes: ['https://api.example.com/*'],\n * }),\n * }),\n * }),\n * ],\n * };\n * ```\n *\n * Yêu cầu setup thêm:\n * 1. Copy file `silent-authom.html` từ source module này vào thư mục `public/` của app.\n * 2. App phải chạy trên HTTPS (hoặc localhost) — Web Crypto API yêu cầu secure context.\n */\nexport * from './authom.configuration';\nexport * from './authom.service';\nexport * from './authom.interceptor';\nexport * from './authom.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAsBa,uBAAuB,GAAG,IAAI,cAAc,CAAyB,yBAAyB;;ACjB3G,MAAM,iBAAiB,GAAG,cAAc;AACxC,MAAM,yBAAyB,GAAG,sBAAsB;AACxD,MAAM,qBAAqB,GAAG,kBAAkB;AAEhD,MAAM,aAAa,GAAG,sBAAsB;AAC5C,MAAM,iCAAiC,GAAG,EAAE;AAC5C,MAAM,iCAAiC,GAAG,CAAC;MAG9B,eAAe,CAAA;AACT,IAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,IAAA,SAAS,GAAG,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC;AAEtD,IAAA,WAAW,GAAG,MAAM,CAAgB,IAAI,CAAC;AACzC,IAAA,aAAa,GAAG,MAAM,CAAiC,IAAI,CAAC;AAC5D,IAAA,eAAe,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,KAAK,IAAI,CAAC;AAEtE,IAAA,MAAM;IACE,YAAY,GAAyC,IAAI;IAEjE,cAAc,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE;IAC3B;AAEQ,IAAA,eAAe,CAAC,KAAiB,EAAA;QAC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U,EAAE,OAAO,CAAC,UAAU,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,EAAE,EAAE;AACjG,sBAAE,CAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,QAAQ,EAAE,OAAO,CAAC,QAAS,EAAE,CAAC,CACtE;AACD,gBAAA;AACE,oBAAA,OAAO,EAAE,eAAe;AACxB,oBAAA,KAAK,EAAE,IAAI;oBACX,UAAU,EAAE,MAAK;AACf,wBAAA,MAAM,YAAY,GAAG,MAAM,CAAC,uBAAuB,CAAC;AACpD,wBAAA,MAAM,MAAM,GAAG,MAAM,CAAC,eAAe,CAAC;wBACtC,OAAO,MAAM,YAAY,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;oBACpF,CAAC;AACF,iBAAA;AACF,aAAA;SACF;IACH;wGArBW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAAd,cAAc,EAAA,CAAA;yGAAd,cAAc,EAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,QAAQ;mBAAC,EAAE;;;AC1CZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BG;;AC9BH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"sdcorejs-angular-modules-authom.mjs","sources":["../../../projects/sdcorejs-angular/modules/authom/authom.configuration.ts","../../../projects/sdcorejs-angular/modules/authom/authom.service.ts","../../../projects/sdcorejs-angular/modules/authom/authom.interceptor.ts","../../../projects/sdcorejs-angular/modules/authom/authom.module.ts","../../../projects/sdcorejs-angular/modules/authom/index.ts","../../../projects/sdcorejs-angular/modules/authom/sdcorejs-angular-modules-authom.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport interface SdAuthOmTenantConfig {\n domain: string;\n clientId: string;\n\n redirectUri?: string;\n audience?: string;\n organization?: string;\n scope?: string;\n\n secureRoutes?: string[];\n\n silentRefreshRedirectUri?: string;\n refreshThresholdSeconds?: number;\n authorizeTimeoutInSeconds?: number;\n}\n\nexport interface ISdAuthOmConfiguration {\n loadTenantConfig: () => Promise<SdAuthOmTenantConfig>;\n}\n\nexport const SD_AUTHOM_CONFIGURATION = new InjectionToken<ISdAuthOmConfiguration>('sd-authom.configuration');\n","import { Injectable, PLATFORM_ID, computed, inject, signal } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { SdAuthOmTenantConfig } from './authom.configuration';\nimport { StringUtilities } from '@sdcorejs/utils/fns';\n\nconst STORAGE_KEY_STATE = 'authom_state';\nconst STORAGE_KEY_CODE_VERIFIER = 'authom_code_verifier';\nconst STORAGE_KEY_RETURN_TO = 'authom_return_to';\n\nconst DEFAULT_SCOPE = 'openid profile email';\nconst DEFAULT_REFRESH_THRESHOLD_SECONDS = 30;\nconst DEFAULT_AUTHORIZE_TIMEOUT_SECONDS = 5;\n\n@Injectable({ providedIn: 'root' })\nexport class SdAuthOmService {\n private readonly platformId = inject(PLATFORM_ID);\n private readonly isBrowser = isPlatformBrowser(this.platformId);\n\n readonly accessToken = signal<string | null>(null);\n readonly idTokenClaims = signal<Record<string, unknown> | null>(null);\n readonly isAuthenticated = computed(() => this.accessToken() !== null);\n\n config!: SdAuthOmTenantConfig;\n private refreshTimer: ReturnType<typeof setTimeout> | null = null;\n\n getAccessToken(): string | null {\n return this.accessToken();\n }\n\n private base64UrlEncode(bytes: Uint8Array): string {\n let binary = '';\n for (let i = 0; i < bytes.length; i++) binary += String.fromCharCode(bytes[i]);\n return btoa(binary).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '');\n }\n\n private generateCodeVerifier(): string {\n const bytes = new Uint8Array(32);\n crypto.getRandomValues(bytes);\n return this.base64UrlEncode(bytes);\n }\n\n private async generateCodeChallenge(verifier: string): Promise<string> {\n return StringUtilities.sha256(verifier);\n }\n\n private buildAuthorizeUrl(params: {\n state: string;\n codeChallenge: string;\n redirectUri: string;\n prompt?: 'none';\n }): string {\n const search = new URLSearchParams({\n response_type: 'code',\n client_id: this.config.clientId,\n redirect_uri: params.redirectUri,\n state: params.state,\n code_challenge: params.codeChallenge,\n code_challenge_method: 'S256',\n scope: this.config.scope || DEFAULT_SCOPE,\n });\n if (this.config.audience) search.set('audience', this.config.audience);\n if (this.config.organization) search.set('organization', this.config.organization);\n if (params.prompt) search.set('prompt', params.prompt);\n return `https://${this.config.domain}/authorize?${search.toString()}`;\n }\n\n private getDefaultRedirectUri(): string {\n return this.config.redirectUri || window.location.origin;\n }\n\n private getSilentRedirectUri(): string {\n return this.config.silentRefreshRedirectUri || `${window.location.origin}/silent-authom.html`;\n }\n\n private decodeJwtPayload(token: string): Record<string, unknown> | null {\n try {\n const parts = token.split('.');\n if (parts.length !== 3) return null;\n const padded = parts[1].replace(/-/g, '+').replace(/_/g, '/');\n const json = atob(padded + '==='.slice((padded.length + 3) % 4));\n return JSON.parse(json);\n } catch {\n return null;\n }\n }\n\n async login(options?: { returnTo?: string }): Promise<void> {\n if (!this.isBrowser) return;\n\n const state = crypto.randomUUID();\n const codeVerifier = this.generateCodeVerifier();\n const codeChallenge = await this.generateCodeChallenge(codeVerifier);\n const returnTo = options?.returnTo || (window.location.pathname + window.location.search);\n\n sessionStorage.setItem(STORAGE_KEY_STATE, state);\n sessionStorage.setItem(STORAGE_KEY_CODE_VERIFIER, codeVerifier);\n sessionStorage.setItem(STORAGE_KEY_RETURN_TO, returnTo);\n\n window.location.href = this.buildAuthorizeUrl({\n state,\n codeChallenge,\n redirectUri: this.getDefaultRedirectUri(),\n });\n }\n\n logout(options?: { returnTo?: string }): void {\n if (!this.isBrowser) return;\n\n this.accessToken.set(null);\n this.idTokenClaims.set(null);\n if (this.refreshTimer) {\n clearTimeout(this.refreshTimer);\n this.refreshTimer = null;\n }\n\n const returnTo = options?.returnTo || window.location.origin;\n const search = new URLSearchParams({\n client_id: this.config.clientId,\n returnTo,\n });\n window.location.href = `https://${this.config.domain}/v2/logout?${search.toString()}`;\n }\n\n private async exchangeCode(code: string, codeVerifier: string, redirectUri: string): Promise<boolean> {\n try {\n const body = new URLSearchParams({\n grant_type: 'authorization_code',\n code,\n code_verifier: codeVerifier,\n redirect_uri: redirectUri,\n client_id: this.config.clientId,\n });\n const res = await fetch(`https://${this.config.domain}/oauth/token`, {\n method: 'POST',\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n body: body.toString(),\n });\n if (!res.ok) return false;\n const data = await res.json() as { access_token?: string; id_token?: string };\n if (!data.access_token) return false;\n\n this.accessToken.set(data.access_token);\n if (data.id_token) {\n this.idTokenClaims.set(this.decodeJwtPayload(data.id_token));\n }\n this.scheduleRefresh(data.access_token);\n return true;\n } catch {\n return false;\n }\n }\n\n private scheduleRefresh(token: string): void {\n if (this.refreshTimer) {\n clearTimeout(this.refreshTimer);\n this.refreshTimer = null;\n }\n const claims = this.decodeJwtPayload(token);\n const exp = claims?.['exp'];\n if (typeof exp !== 'number') {\n // @i18n-ignore — dev console warning\n console.warn('[SdAuthOmService] Token không có exp — bỏ qua auto-refresh');\n return;\n }\n const threshold = this.config.refreshThresholdSeconds ?? DEFAULT_REFRESH_THRESHOLD_SECONDS;\n const nowSeconds = Math.floor(Date.now() / 1000);\n const delayMs = Math.max(0, (exp - nowSeconds - threshold) * 1000);\n this.refreshTimer = setTimeout(() => {\n this.silentRefresh();\n }, delayMs);\n }\n\n silentRefresh(): Promise<boolean> {\n if (!this.isBrowser) return Promise.resolve(false);\n\n return new Promise(async (resolve) => {\n const state = crypto.randomUUID();\n const codeVerifier = this.generateCodeVerifier();\n const codeChallenge = await this.generateCodeChallenge(codeVerifier);\n const redirectUri = this.getSilentRedirectUri();\n const timeoutMs = (this.config.authorizeTimeoutInSeconds ?? DEFAULT_AUTHORIZE_TIMEOUT_SECONDS) * 1000;\n\n const iframe = document.createElement('iframe');\n iframe.style.display = 'none';\n\n let done = false;\n const finish = (success: boolean) => {\n if (done) return;\n done = true;\n clearTimeout(timer);\n iframe.remove();\n window.removeEventListener('message', onMessage);\n resolve(success);\n };\n\n const timer = setTimeout(() => finish(false), timeoutMs);\n\n const onMessage = async (event: MessageEvent) => {\n if (event.origin !== window.location.origin) return;\n const data = event.data as { type?: string; code?: string; state?: string } | null;\n if (!data || typeof data !== 'object') return;\n\n if (data.type === 'AUTHOM_SILENT_SUCCESS' && data.code && data.state === state) {\n const ok = await this.exchangeCode(data.code, codeVerifier, redirectUri);\n if (!ok) {\n this.accessToken.set(null);\n this.idTokenClaims.set(null);\n }\n finish(ok);\n } else if (data.type === 'AUTHOM_SILENT_ERROR') {\n this.accessToken.set(null);\n this.idTokenClaims.set(null);\n finish(false);\n }\n };\n\n window.addEventListener('message', onMessage);\n\n iframe.src = this.buildAuthorizeUrl({\n state,\n codeChallenge,\n redirectUri,\n prompt: 'none',\n });\n document.body.appendChild(iframe);\n });\n }\n\n async handleCallback(): Promise<boolean> {\n if (!this.isBrowser) return false;\n\n const params = new URLSearchParams(window.location.search);\n const code = params.get('code');\n const state = params.get('state');\n if (!code) return false;\n\n const savedState = sessionStorage.getItem(STORAGE_KEY_STATE);\n const codeVerifier = sessionStorage.getItem(STORAGE_KEY_CODE_VERIFIER);\n const returnTo = sessionStorage.getItem(STORAGE_KEY_RETURN_TO);\n sessionStorage.removeItem(STORAGE_KEY_STATE);\n sessionStorage.removeItem(STORAGE_KEY_CODE_VERIFIER);\n\n if (state !== savedState || !codeVerifier) {\n window.history.replaceState({}, '', window.location.pathname);\n sessionStorage.removeItem(STORAGE_KEY_RETURN_TO);\n return false;\n }\n\n const redirectUri = this.getDefaultRedirectUri();\n const ok = await this.exchangeCode(code, codeVerifier, redirectUri);\n\n if (returnTo) {\n sessionStorage.removeItem(STORAGE_KEY_RETURN_TO);\n window.history.replaceState({}, '', returnTo);\n } else {\n window.history.replaceState({}, '', window.location.pathname);\n }\n\n return ok;\n }\n\n async init(config: SdAuthOmTenantConfig): Promise<boolean> {\n this.config = config;\n if (!this.isBrowser) return false;\n\n const hasCode = new URLSearchParams(window.location.search).has('code');\n if (hasCode) {\n const ok = await this.handleCallback();\n if (ok) return true;\n }\n\n return this.silentRefresh();\n }\n}\n","import { HttpInterceptorFn } from '@angular/common/http';\nimport { inject } from '@angular/core';\nimport { SdAuthOmService } from './authom.service';\n\nconst escapeRegExp = (str: string): string => str.replace(/[.+?^${}()|[\\]\\\\]/g, '\\\\$&');\n\nexport const matchGlob = (pattern: string, url: string): boolean => {\n const regexBody = pattern.split('*').map(escapeRegExp).join('.*');\n return new RegExp(`^${regexBody}$`).test(url);\n};\n\nexport const SdAuthOmInterceptor: HttpInterceptorFn = (req, next) => {\n const authom = inject(SdAuthOmService);\n const token = authom.getAccessToken();\n const config = authom.config;\n\n if (!token || !config) return next(req);\n\n const isSecure = config.secureRoutes?.some(pattern => matchGlob(pattern, req.url));\n if (!isSecure) return next(req);\n\n const authReq = req.clone({\n headers: req.headers.set('Authorization', `Bearer ${token}`),\n });\n return next(authReq);\n};\n","import {\n ModuleWithProviders,\n NgModule,\n Provider,\n Type,\n EnvironmentProviders,\n makeEnvironmentProviders,\n provideAppInitializer,\n inject,\n APP_INITIALIZER,\n} from '@angular/core';\nimport { ISdAuthOmConfiguration, SD_AUTHOM_CONFIGURATION } from './authom.configuration';\nimport { SdAuthOmService } from './authom.service';\n\ninterface ProvideOptions {\n useClass?: Type<ISdAuthOmConfiguration>;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n useFactory?: (...args: any[]) => ISdAuthOmConfiguration;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n deps?: any[];\n}\n\nexport function provideSdAuthOm(options: ProvideOptions): EnvironmentProviders {\n const providers: Array<Provider | EnvironmentProviders> = [SdAuthOmService];\n\n if (options.useFactory) {\n providers.push({ provide: SD_AUTHOM_CONFIGURATION, useFactory: options.useFactory, deps: options.deps || [] });\n } else if (options.useClass) {\n providers.push({ provide: SD_AUTHOM_CONFIGURATION, useClass: options.useClass });\n }\n\n providers.push(\n provideAppInitializer(() => {\n const configLoader = inject(SD_AUTHOM_CONFIGURATION);\n const authom = inject(SdAuthOmService);\n return configLoader.loadTenantConfig().then((config) => authom.init(config));\n })\n );\n\n return makeEnvironmentProviders(providers);\n}\n\n@NgModule({})\nexport class SdAuthOmModule {\n static forRoot(options: ProvideOptions): ModuleWithProviders<SdAuthOmModule> {\n return {\n ngModule: SdAuthOmModule,\n providers: [\n SdAuthOmService,\n ...(options.useFactory\n ? [{ provide: SD_AUTHOM_CONFIGURATION, useFactory: options.useFactory, deps: options.deps || [] }]\n : [{ provide: SD_AUTHOM_CONFIGURATION, useClass: options.useClass! }]\n ),\n {\n provide: APP_INITIALIZER,\n multi: true,\n useFactory: () => {\n const configLoader = inject(SD_AUTHOM_CONFIGURATION);\n const authom = inject(SdAuthOmService);\n return () => configLoader.loadTenantConfig().then((config) => authom.init(config));\n },\n },\n ],\n };\n }\n}\n","/**\n * Module `authom` — OAuth 2.0 + PKCE authentication client cho AuthOM (Auth0-based).\n *\n * Cách dùng (standalone):\n * ```ts\n * import { provideHttpClient, withInterceptors } from '@angular/common/http';\n * import { provideSdAuthOm, SdAuthOmInterceptor } from '@sdcorejs/angular/modules/authom';\n *\n * export const appConfig: ApplicationConfig = {\n * providers: [\n * provideHttpClient(withInterceptors([SdAuthOmInterceptor])),\n * provideSdAuthOm({\n * useFactory: () => ({\n * loadTenantConfig: () => Promise.resolve({\n * domain: 'login.example.com',\n * clientId: 'YOUR_CLIENT_ID',\n * audience: 'https://api.example.com',\n * organization: 'org_xxx',\n * scope: 'openid profile email offline_access',\n * secureRoutes: ['https://api.example.com/*'],\n * }),\n * }),\n * }),\n * ],\n * };\n * ```\n *\n * Yêu cầu setup thêm:\n * 1. Copy file `silent-authom.html` từ source module này vào thư mục `public/` của app.\n * 2. App phải chạy trên HTTPS (hoặc localhost) — Web Crypto API yêu cầu secure context.\n */\nexport * from './authom.configuration';\nexport * from './authom.service';\nexport * from './authom.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AAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;oBACpF,CAAC;AACF,iBAAA;AACF,aAAA;SACF;IACH;wGArBW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAAd,cAAc,EAAA,CAAA;yGAAd,cAAc,EAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,QAAQ;mBAAC,EAAE;;;AC1CZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BG;;AC9BH;;AAEG;;;;"}
|
|
@@ -36,10 +36,10 @@ class SdKeycloakService {
|
|
|
36
36
|
logout() { return this.keycloak.logout({ redirectUri: window.location.origin }); }
|
|
37
37
|
getToken() { return this.keycloak.token; }
|
|
38
38
|
getIsAuthenticated() { return this.keycloak.authenticated; }
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdKeycloakService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdKeycloakService, providedIn: 'root' });
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdKeycloakService, decorators: [{
|
|
43
43
|
type: Injectable,
|
|
44
44
|
args: [{ providedIn: 'root' }]
|
|
45
45
|
}] });
|
|
@@ -110,11 +110,11 @@ class SdKeycloakModule {
|
|
|
110
110
|
]
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
115
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
113
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdKeycloakModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
114
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.23", ngImport: i0, type: SdKeycloakModule });
|
|
115
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdKeycloakModule });
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: SdKeycloakModule, decorators: [{
|
|
118
118
|
type: NgModule,
|
|
119
119
|
args: [{}]
|
|
120
120
|
}] });
|