@energycap/components 0.41.0 → 0.41.1-ECAP-27592-angular-17.20241219-1718
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/{esm2020 → esm2022}/energycap-components.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components.module.mjs +418 -418
- package/{esm2020 → esm2022}/lib/controls/banner/banner.component.mjs +109 -109
- package/{esm2020 → esm2022}/lib/controls/button/button.component.mjs +106 -106
- package/{esm2020 → esm2022}/lib/controls/button/copy-button-base.directive.mjs +67 -67
- package/{esm2020 → esm2022}/lib/controls/button/copy-button.directive.mjs +28 -28
- package/{esm2020 → esm2022}/lib/controls/button/copy-table-button.directive.mjs +43 -43
- package/{esm2020 → esm2022}/lib/controls/calendar/calendar-item.component.mjs +59 -59
- package/{esm2020 → esm2022}/lib/controls/calendar/calendar.component.mjs +200 -200
- package/{esm2020 → esm2022}/lib/controls/calendar/calendar.types.mjs +3 -3
- package/{esm2020 → esm2022}/lib/controls/checkbox/checkbox.component.mjs +140 -140
- package/{esm2020 → esm2022}/lib/controls/collapsible-toggle/collapsible-toggle.component.mjs +38 -38
- package/{esm2020 → esm2022}/lib/controls/combobox/combobox.component.mjs +879 -879
- package/{esm2020 → esm2022}/lib/controls/date-input/date-input.component.mjs +256 -256
- package/{esm2020 → esm2022}/lib/controls/dropdown/dropdown.component.mjs +243 -243
- package/{esm2020 → esm2022}/lib/controls/file-upload/file-upload.component.mjs +261 -261
- package/{esm2020 → esm2022}/lib/controls/form-control/form-control.component.mjs +104 -104
- package/{esm2020 → esm2022}/lib/controls/form-control-base.mjs +151 -151
- package/{esm2020 → esm2022}/lib/controls/form-control-label/form-control-label.component.mjs +136 -136
- package/{esm2020 → esm2022}/lib/controls/form-group/form-group.component.mjs +261 -261
- package/{esm2020 → esm2022}/lib/controls/help-popover/help-popover.component.mjs +31 -31
- package/{esm2020 → esm2022}/lib/controls/item-picker/item-picker.component.mjs +329 -329
- package/{esm2020 → esm2022}/lib/controls/link-button/link-button.component.mjs +11 -11
- package/{esm2020 → esm2022}/lib/controls/menu/menu.component.mjs +485 -485
- package/{esm2020 → esm2022}/lib/controls/navigation/link-item.mjs +1 -1
- package/{esm2020 → esm2022}/lib/controls/navigation/nav-group.mjs +38 -38
- package/{esm2020 → esm2022}/lib/controls/navigation/nav-item-active.directive.mjs +92 -92
- package/{esm2020 → esm2022}/lib/controls/navigation/nav-item.mjs +1 -1
- package/{esm2020 → esm2022}/lib/controls/numericbox/numericbox.component.mjs +372 -372
- package/{esm2020 → esm2022}/lib/controls/popover/popover.component.mjs +117 -117
- package/{esm2020 → esm2022}/lib/controls/radio-button/radio-button-option.mjs +2 -2
- package/{esm2020 → esm2022}/lib/controls/radio-button/radio-button.component.mjs +82 -82
- package/{esm2020 → esm2022}/lib/controls/select/select.component.mjs +88 -88
- package/{esm2020 → esm2022}/lib/controls/tabs/tabs.component.mjs +47 -47
- package/{esm2020 → esm2022}/lib/controls/textbox/textbox.component.mjs +155 -155
- package/{esm2020 → esm2022}/lib/core/cache.service.mjs +105 -105
- package/esm2022/lib/core/custom-validators.mjs +29 -0
- package/esm2022/lib/core/date-time-helper.mjs +220 -0
- package/{esm2020 → esm2022}/lib/core/error.service.mjs +61 -61
- package/{esm2020 → esm2022}/lib/core/router-helper.service.mjs +111 -111
- package/{esm2020 → esm2022}/lib/core/scroll.service.mjs +89 -89
- package/{esm2020 → esm2022}/lib/core/telemetry-tracker.service.mjs +16 -16
- package/{esm2020 → esm2022}/lib/core/telemetry.service.mjs +38 -38
- package/{esm2020 → esm2022}/lib/core/validation-message.service.mjs +185 -185
- package/{esm2020 → esm2022}/lib/core/validation-patterns.mjs +30 -30
- package/{esm2020 → esm2022}/lib/core/window.service.mjs +186 -186
- package/{esm2020 → esm2022}/lib/display/app-bar/app-bar.component.mjs +46 -46
- package/esm2022/lib/display/avatar/avatar.component.mjs +67 -0
- package/{esm2020 → esm2022}/lib/display/avatar/avatar.service.mjs +64 -64
- package/{esm2020 → esm2022}/lib/display/confirm/confirm.component.mjs +168 -168
- package/{esm2020 → esm2022}/lib/display/dialog/dialog-content.mjs +1 -1
- package/{esm2020 → esm2022}/lib/display/dialog/dialog-group/dialog-group.component.mjs +63 -63
- package/{esm2020 → esm2022}/lib/display/dialog/dialog-types.mjs +76 -76
- package/{esm2020 → esm2022}/lib/display/dialog/dialog.component.mjs +281 -281
- package/{esm2020 → esm2022}/lib/display/dialog/dialog.service.mjs +71 -71
- package/{esm2020 → esm2022}/lib/display/help/help-types.mjs +1 -1
- package/{esm2020 → esm2022}/lib/display/hierarchy/hierarchy-base.mjs +111 -111
- package/{esm2020 → esm2022}/lib/display/hierarchy/hierarchy-mocks.spec.mjs +53 -53
- package/{esm2020 → esm2022}/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.mjs +61 -61
- package/{esm2020 → esm2022}/lib/display/item-display/item-display.component.mjs +81 -81
- package/{esm2020 → esm2022}/lib/display/json-display/json-display.component.mjs +47 -47
- package/{esm2020 → esm2022}/lib/display/resizable/resizable-base.mjs +120 -120
- package/{esm2020 → esm2022}/lib/display/resizable/resizable.component.mjs +52 -52
- package/{esm2020 → esm2022}/lib/display/spinner/spinner.component.mjs +12 -12
- package/{esm2020 → esm2022}/lib/display/splash/splash.component.mjs +42 -42
- package/{esm2020 → esm2022}/lib/display/splash/splash.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/display/table/resizable-column.component.mjs +20 -20
- package/{esm2020 → esm2022}/lib/display/table/resizable-table.directive.mjs +227 -227
- package/{esm2020 → esm2022}/lib/display/table/searchable-table.component.mjs +342 -342
- package/{esm2020 → esm2022}/lib/display/table/table-detail-row.component.mjs +19 -19
- package/{esm2020 → esm2022}/lib/display/table/table-locked-column.component.mjs +58 -58
- package/{esm2020 → esm2022}/lib/display/table/table-master-header-row.component.mjs +14 -14
- package/{esm2020 → esm2022}/lib/display/table/table-master-row.component.mjs +163 -163
- package/{esm2020 → esm2022}/lib/display/table/table-pagination.component.mjs +155 -155
- package/{esm2020 → esm2022}/lib/display/table/table-selectable-row.component.mjs +235 -235
- package/{esm2020 → esm2022}/lib/display/table/table.component.mjs +249 -249
- package/{esm2020 → esm2022}/lib/display/tags/tag.mjs +17 -17
- package/{esm2020 → esm2022}/lib/display/tags/tags.component.mjs +77 -77
- package/{esm2020 → esm2022}/lib/display/toast/toast/toast.component.mjs +77 -77
- package/{esm2020 → esm2022}/lib/display/toast/toast-types.mjs +7 -7
- package/{esm2020 → esm2022}/lib/display/toast/toast.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/display/toast/toaster/toaster.component.mjs +114 -114
- package/{esm2020 → esm2022}/lib/display/tooltip/tooltip.component.mjs +28 -28
- package/{esm2020 → esm2022}/lib/display/tooltip/tooltip.service.mjs +78 -78
- package/{esm2020 → esm2022}/lib/display/tooltip-directive/tooltip.directive.mjs +173 -173
- package/{esm2020 → esm2022}/lib/display/tour/tour-types.mjs +33 -33
- package/{esm2020 → esm2022}/lib/display/tour/tour.component.mjs +398 -398
- package/{esm2020 → esm2022}/lib/display/tour/tour.service.mjs +75 -75
- package/{esm2020 → esm2022}/lib/display/tree/tree.component.mjs +135 -135
- package/{esm2020 → esm2022}/lib/display/view-overlay/view-overlay.component.mjs +58 -58
- package/{esm2020 → esm2022}/lib/shared/directives/click-area-for/click-area-for.directive.mjs +32 -32
- package/{esm2020 → esm2022}/lib/shared/directives/if-viewport-width/if-viewport-width.directive.mjs +111 -111
- package/esm2022/lib/shared/directives/popup/popup-container.directive.mjs +166 -0
- package/{esm2020 → esm2022}/lib/shared/display/pipes/date-display.pipe.mjs +50 -50
- package/{esm2020 → esm2022}/lib/shared/display/pipes/highlight-text.pipe.mjs +30 -30
- package/{esm2020 → esm2022}/lib/shared/display/pipes/relative-date.pipe.mjs +62 -62
- package/{esm2020 → esm2022}/lib/shared/display/pipes/row-count.pipe.mjs +48 -48
- package/{esm2020 → esm2022}/lib/shared/display/pipes/time-display.pipe.mjs +41 -41
- package/esm2022/lib/shared/display.mjs +6 -0
- package/esm2022/lib/shared/form-group.helper.mjs +67 -0
- package/{esm2020 → esm2022}/lib/shared/json-helper.mjs +18 -18
- package/esm2022/lib/shared/lodash-helper.mjs +52 -0
- package/{esm2020 → esm2022}/lib/shared/page/page-base/page-base.component.mjs +387 -387
- package/{esm2020 → esm2022}/lib/shared/page/page-statuses.mjs +22 -22
- package/{esm2020 → esm2022}/lib/shared/page/page-title/page-title.component.mjs +23 -23
- package/{esm2020 → esm2022}/lib/shared/page/page-view/page-view.component.mjs +147 -147
- package/{esm2020 → esm2022}/lib/shared/testing/copy-button-base-test-injector-factory.spec.mjs +16 -16
- package/{esm2020 → esm2022}/lib/shared/testing/hierarchy-base-test-injector-factory.spec.mjs +16 -16
- package/{esm2020 → esm2022}/lib/shared/testing/page-base-component-test-helper.spec.mjs +37 -37
- package/esm2022/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +98 -0
- package/{esm2020 → esm2022}/lib/shared/testing/public-mocks.spec.mjs +148 -148
- package/{esm2020 → esm2022}/lib/shared/testing/spy-factory.spec.mjs +39 -39
- package/{esm2020 → esm2022}/lib/shared/testing/translation-mocks.spec.mjs +56 -56
- package/{esm2020 → esm2022}/lib/shared/user-preference.service.mjs +17 -17
- package/{esm2020 → esm2022}/lib/shared/wizard/wizard-base/wizard-base.component.mjs +246 -246
- package/{esm2020 → esm2022}/lib/shared/wizard/wizard-buttons/wizard-buttons.component.mjs +68 -68
- package/{esm2020 → esm2022}/lib/shared/wizard/wizard-progress/wizard-progress.component.mjs +18 -18
- package/{esm2020 → esm2022}/public-api.mjs +114 -114
- package/{fesm2020 → fesm2022}/energycap-components.mjs +11797 -11793
- package/fesm2022/energycap-components.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/components.module.d.ts +91 -91
- package/lib/controls/banner/banner.component.d.ts +50 -50
- package/lib/controls/button/button.component.d.ts +78 -78
- package/lib/controls/button/copy-button-base.directive.d.ts +20 -20
- package/lib/controls/button/copy-button.directive.d.ts +14 -14
- package/lib/controls/button/copy-table-button.directive.d.ts +19 -19
- package/lib/controls/calendar/calendar-item.component.d.ts +17 -17
- package/lib/controls/calendar/calendar.component.d.ts +54 -54
- package/lib/controls/calendar/calendar.types.d.ts +7 -7
- package/lib/controls/checkbox/checkbox.component.d.ts +65 -65
- package/lib/controls/collapsible-toggle/collapsible-toggle.component.d.ts +25 -25
- package/lib/controls/combobox/combobox.component.d.ts +418 -418
- package/lib/controls/date-input/date-input.component.d.ts +80 -80
- package/lib/controls/dropdown/dropdown.component.d.ts +161 -161
- package/lib/controls/file-upload/file-upload.component.d.ts +124 -124
- package/lib/controls/form-control/form-control.component.d.ts +30 -30
- package/lib/controls/form-control-base.d.ts +110 -110
- package/lib/controls/form-control-label/form-control-label.component.d.ts +73 -73
- package/lib/controls/form-group/form-group.component.d.ts +105 -105
- package/lib/controls/help-popover/help-popover.component.d.ts +11 -11
- package/lib/controls/item-picker/item-picker.component.d.ts +164 -164
- package/lib/controls/link-button/link-button.component.d.ts +5 -5
- package/lib/controls/menu/menu.component.d.ts +255 -255
- package/lib/controls/navigation/link-item.d.ts +32 -32
- package/lib/controls/navigation/nav-group.d.ts +18 -18
- package/lib/controls/navigation/nav-item-active.directive.d.ts +42 -42
- package/lib/controls/navigation/nav-item.d.ts +31 -31
- package/lib/controls/numericbox/numericbox.component.d.ts +148 -148
- package/lib/controls/popover/popover.component.d.ts +51 -51
- package/lib/controls/radio-button/radio-button-option.d.ts +19 -19
- package/lib/controls/radio-button/radio-button.component.d.ts +53 -53
- package/lib/controls/select/select.component.d.ts +44 -44
- package/lib/controls/tabs/tabs.component.d.ts +30 -30
- package/lib/controls/textbox/textbox.component.d.ts +107 -107
- package/lib/core/cache.service.d.ts +33 -33
- package/lib/core/custom-validators.d.ts +20 -20
- package/lib/core/date-time-helper.d.ts +101 -101
- package/lib/core/error.service.d.ts +20 -20
- package/lib/core/router-helper.service.d.ts +48 -48
- package/lib/core/scroll.service.d.ts +36 -36
- package/lib/core/telemetry-tracker.service.d.ts +13 -13
- package/lib/core/telemetry.service.d.ts +31 -31
- package/lib/core/validation-message.service.d.ts +26 -26
- package/lib/core/validation-patterns.d.ts +22 -22
- package/lib/core/window.service.d.ts +116 -116
- package/lib/display/app-bar/app-bar.component.d.ts +20 -20
- package/lib/display/avatar/avatar.component.d.ts +35 -35
- package/lib/display/avatar/avatar.service.d.ts +24 -24
- package/lib/display/confirm/confirm.component.d.ts +123 -123
- package/lib/display/dialog/dialog-content.d.ts +19 -19
- package/lib/display/dialog/dialog-group/dialog-group.component.d.ts +32 -32
- package/lib/display/dialog/dialog-types.d.ts +130 -130
- package/lib/display/dialog/dialog.component.d.ts +120 -120
- package/lib/display/dialog/dialog.service.d.ts +48 -48
- package/lib/display/help/help-types.d.ts +33 -33
- package/lib/display/hierarchy/hierarchy-base.d.ts +97 -97
- package/lib/display/hierarchy/hierarchy-mocks.spec.d.ts +53 -53
- package/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.d.ts +34 -34
- package/lib/display/item-display/item-display.component.d.ts +43 -43
- package/lib/display/json-display/json-display.component.d.ts +16 -16
- package/lib/display/resizable/resizable-base.d.ts +67 -67
- package/lib/display/resizable/resizable.component.d.ts +31 -31
- package/lib/display/spinner/spinner.component.d.ts +5 -5
- package/lib/display/splash/splash.component.d.ts +16 -16
- package/lib/display/splash/splash.service.d.ts +22 -22
- package/lib/display/table/resizable-column.component.d.ts +10 -10
- package/lib/display/table/resizable-table.directive.d.ts +93 -93
- package/lib/display/table/searchable-table.component.d.ts +206 -206
- package/lib/display/table/table-detail-row.component.d.ts +8 -8
- package/lib/display/table/table-locked-column.component.d.ts +20 -20
- package/lib/display/table/table-master-header-row.component.d.ts +9 -9
- package/lib/display/table/table-master-row.component.d.ts +113 -113
- package/lib/display/table/table-pagination.component.d.ts +91 -91
- package/lib/display/table/table-selectable-row.component.d.ts +102 -102
- package/lib/display/table/table.component.d.ts +121 -121
- package/lib/display/tags/tag.d.ts +18 -18
- package/lib/display/tags/tags.component.d.ts +48 -48
- package/lib/display/toast/toast/toast.component.d.ts +23 -23
- package/lib/display/toast/toast-types.d.ts +24 -24
- package/lib/display/toast/toast.service.d.ts +20 -20
- package/lib/display/toast/toaster/toaster.component.d.ts +35 -35
- package/lib/display/tooltip/tooltip.component.d.ts +70 -70
- package/lib/display/tooltip/tooltip.service.d.ts +16 -16
- package/lib/display/tooltip-directive/tooltip.directive.d.ts +44 -44
- package/lib/display/tour/tour-types.d.ts +70 -70
- package/lib/display/tour/tour.component.d.ts +147 -147
- package/lib/display/tour/tour.service.d.ts +38 -38
- package/lib/display/tree/tree.component.d.ts +75 -75
- package/lib/display/view-overlay/view-overlay.component.d.ts +38 -38
- package/lib/shared/directives/click-area-for/click-area-for.directive.d.ts +14 -14
- package/lib/shared/directives/if-viewport-width/if-viewport-width.directive.d.ts +60 -60
- package/lib/shared/directives/popup/popup-container.directive.d.ts +101 -101
- package/lib/shared/display/pipes/date-display.pipe.d.ts +21 -21
- package/lib/shared/display/pipes/highlight-text.pipe.d.ts +9 -9
- package/lib/shared/display/pipes/relative-date.pipe.d.ts +36 -36
- package/lib/shared/display/pipes/row-count.pipe.d.ts +23 -23
- package/lib/shared/display/pipes/time-display.pipe.d.ts +18 -18
- package/lib/shared/display.d.ts +42 -42
- package/lib/shared/form-group.helper.d.ts +31 -31
- package/lib/shared/json-helper.d.ts +7 -7
- package/lib/shared/lodash-helper.d.ts +18 -18
- package/lib/shared/page/page-base/page-base.component.d.ts +259 -259
- package/lib/shared/page/page-statuses.d.ts +13 -13
- package/lib/shared/page/page-title/page-title.component.d.ts +9 -9
- package/lib/shared/page/page-view/page-view.component.d.ts +102 -102
- package/lib/shared/testing/copy-button-base-test-injector-factory.spec.d.ts +4 -4
- package/lib/shared/testing/hierarchy-base-test-injector-factory.spec.d.ts +4 -4
- package/lib/shared/testing/page-base-component-test-helper.spec.d.ts +30 -30
- package/lib/shared/testing/page-base-component-test-injector-factory.spec.d.ts +28 -28
- package/lib/shared/testing/public-mocks.spec.d.ts +90 -90
- package/lib/shared/testing/spy-factory.spec.d.ts +27 -27
- package/lib/shared/testing/translation-mocks.spec.d.ts +30 -30
- package/lib/shared/user-preference.service.d.ts +13 -13
- package/lib/shared/wizard/wizard-base/wizard-base.component.d.ts +134 -134
- package/lib/shared/wizard/wizard-buttons/wizard-buttons.component.d.ts +27 -27
- package/lib/shared/wizard/wizard-progress/wizard-progress.component.d.ts +10 -10
- package/package.json +12 -18
- package/public-api.d.ts +111 -111
- package/schematics/rxjs-7-upgrade/index.d.ts +3 -3
- package/schematics/rxjs-7-upgrade/index.js +67 -67
- package/schematics/rxjs-7-upgrade/schema.d.ts +4 -4
- package/schematics/rxjs-7-upgrade/schema.js +2 -2
- package/schematics/utilities/typescript.d.ts +7 -7
- package/schematics/utilities/typescript.js +41 -41
- package/schematics/utilities/workspace.d.ts +8 -8
- package/schematics/utilities/workspace.js +71 -71
- package/esm2020/lib/core/custom-validators.mjs +0 -29
- package/esm2020/lib/core/date-time-helper.mjs +0 -220
- package/esm2020/lib/display/avatar/avatar.component.mjs +0 -67
- package/esm2020/lib/shared/directives/popup/popup-container.directive.mjs +0 -163
- package/esm2020/lib/shared/display.mjs +0 -6
- package/esm2020/lib/shared/form-group.helper.mjs +0 -67
- package/esm2020/lib/shared/lodash-helper.mjs +0 -51
- package/esm2020/lib/shared/testing/page-base-component-test-injector-factory.spec.mjs +0 -98
- package/fesm2015/energycap-components.mjs +0 -12211
- package/fesm2015/energycap-components.mjs.map +0 -1
- package/fesm2020/energycap-components.mjs.map +0 -1
@@ -1,2 +1,2 @@
|
|
1
|
-
export {};
|
1
|
+
export {};
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9zcmMvbGliL2NvbnRyb2xzL25hdmlnYXRpb24v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5cclxuICAgICAqIElmIGZhbHNlLCB0aGUgaXRlbSB3aWxsIHNob3cgYXMgYWN0aXZlIGlmIHBhcnQgb2YgdGhlIHVybCBtYXRjaGVzLiBEZWZhdWx0cyB0byB0cnVlLlxyXG4gICAgICogU2VlIG5hdi1pdGVtLWFjdGl2ZS5kaXJlY3RpdmUudHNcclxuICAgICAqL1xyXG4gICAgaXNBY3RpdmVFeGFjdE1hdGNoPzogYm9vbGVhbjtcclxuXHJcbiAgICAvKiogRXh0cmEgQ1NTIGNsYXNzZXMgdG8gYXBwbHkgdG8gYW4gZWxlbWVudC4gU3BlY2lmeSBtdWx0aXBsZSBjbGFzc2VzIHdpdGggc3BhY2VzICovXHJcbiAgICBjbGFzc2xpc3Q/OiBzdHJpbmc7XHJcbn1cclxuIl19
|
@@ -1,39 +1,39 @@
|
|
1
|
-
import { Subject } from "rxjs";
|
2
|
-
export class NavGroup {
|
3
|
-
/** Set selected to a NavItem and call selectItem if selected was previously defined */
|
4
|
-
set selected(item) {
|
5
|
-
this._selected = item;
|
6
|
-
if (item) {
|
7
|
-
this.selectItem(item);
|
8
|
-
}
|
9
|
-
}
|
10
|
-
;
|
11
|
-
/** Get the value of the selected NavItem */
|
12
|
-
get selected() {
|
13
|
-
return this._selected;
|
14
|
-
}
|
15
|
-
/** Assign items to the NavGroup items */
|
16
|
-
constructor(items, defaultItem) {
|
17
|
-
/** The groups nav items */
|
18
|
-
this.items = [];
|
19
|
-
/** Broadcasts to subscribers when the value of the selected NavItem changed */
|
20
|
-
this.selectedChanges = new Subject();
|
21
|
-
if (items) {
|
22
|
-
this.items = items;
|
23
|
-
if (this.items.length && defaultItem) {
|
24
|
-
this._selected = defaultItem;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
/** Call a selected NavItem's onClick method and broadcast the value of the selected NavItem to subscribers */
|
29
|
-
selectItem(item) {
|
30
|
-
if (item.url) {
|
31
|
-
return;
|
32
|
-
}
|
33
|
-
else if (item.onClick) {
|
34
|
-
item.onClick(item);
|
35
|
-
}
|
36
|
-
this.selectedChanges.next(item);
|
37
|
-
}
|
38
|
-
}
|
1
|
+
import { Subject } from "rxjs";
|
2
|
+
export class NavGroup {
|
3
|
+
/** Set selected to a NavItem and call selectItem if selected was previously defined */
|
4
|
+
set selected(item) {
|
5
|
+
this._selected = item;
|
6
|
+
if (item) {
|
7
|
+
this.selectItem(item);
|
8
|
+
}
|
9
|
+
}
|
10
|
+
;
|
11
|
+
/** Get the value of the selected NavItem */
|
12
|
+
get selected() {
|
13
|
+
return this._selected;
|
14
|
+
}
|
15
|
+
/** Assign items to the NavGroup items */
|
16
|
+
constructor(items, defaultItem) {
|
17
|
+
/** The groups nav items */
|
18
|
+
this.items = [];
|
19
|
+
/** Broadcasts to subscribers when the value of the selected NavItem changed */
|
20
|
+
this.selectedChanges = new Subject();
|
21
|
+
if (items) {
|
22
|
+
this.items = items;
|
23
|
+
if (this.items.length && defaultItem) {
|
24
|
+
this._selected = defaultItem;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
/** Call a selected NavItem's onClick method and broadcast the value of the selected NavItem to subscribers */
|
29
|
+
selectItem(item) {
|
30
|
+
if (item.url) {
|
31
|
+
return;
|
32
|
+
}
|
33
|
+
else if (item.onClick) {
|
34
|
+
item.onClick(item);
|
35
|
+
}
|
36
|
+
this.selectedChanges.next(item);
|
37
|
+
}
|
38
|
+
}
|
39
39
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9zcmMvbGliL2NvbnRyb2xzL25hdmlnYXRpb24vbmF2LWdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFHL0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bGVjdGVkIE5hdkl0ZW0gKi9cclxuICAgIHByaXZhdGUgX3NlbGVjdGVkPzogTmF2SXRlbTtcclxuXHJcbiAgICAvKiogQXNzaWduIGl0ZW1zIHRvIHRoZSBOYXZHcm91cCBpdGVtcyAqL1xyXG4gICAgY29uc3RydWN0b3IoaXRlbXM/OiBOYXZJdGVtW10sIGRlZmF1bHRJdGVtPzogTmF2SXRlbSkge1xyXG4gICAgICAgIGlmIChpdGVtcykge1xyXG4gICAgICAgICAgICB0aGlzLml0ZW1zID0gaXRlbXM7XHJcblxyXG4gICAgICAgICAgICBpZiAodGhpcy5pdGVtcy5sZW5ndGggJiYgZGVmYXVsdEl0ZW0pIHtcclxuICAgICAgICAgICAgICAgIHRoaXMuX3NlbGVjdGVkID0gZGVmYXVsdEl0ZW07XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgLyoqIENhbGwgYSBzZWxlY3RlZCBOYXZJdGVtJ3Mgb25DbGljayBtZXRob2QgYW5kIGJyb2FkY2FzdCB0aGUgdmFsdWUgb2YgdGhlIHNlbGVjdGVkIE5hdkl0ZW0gdG8gc3Vic2NyaWJlcnMgKi9cclxuICAgIHByaXZhdGUgc2VsZWN0SXRlbShpdGVtOiBOYXZJdGVtKTogdm9pZCB7XHJcbiAgICAgICAgaWYgKGl0ZW0udXJsKSB7XHJcbiAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICB9IGVsc2UgaWYgKGl0ZW0ub25DbGljaykge1xyXG4gICAgICAgICAgICBpdGVtLm9uQ2xpY2soaXRlbSk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHRoaXMuc2VsZWN0ZWRDaGFuZ2VzLm5leHQoaXRlbSk7XHJcbiAgICB9XHJcbn1cclxuIl19
|
@@ -1,92 +1,92 @@
|
|
1
|
-
import { Directive, Input, Output, EventEmitter } from '@angular/core';
|
2
|
-
import { NavigationEnd } from '@angular/router';
|
3
|
-
import { Subject } from 'rxjs';
|
4
|
-
import { takeUntil, filter } from 'rxjs/operators';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@angular/router";
|
7
|
-
export class NavItemActiveDirective {
|
8
|
-
/**
|
9
|
-
* Determines whether the directive will try to make an exact match on the url or not
|
10
|
-
* If false, the directive will add the active class if the first part of the url matches
|
11
|
-
* the active route.
|
12
|
-
* see: https://angular.io/api/router/Router#isactive
|
13
|
-
*/
|
14
|
-
set exact(value) {
|
15
|
-
if (value === undefined) {
|
16
|
-
this._exact = true;
|
17
|
-
}
|
18
|
-
else {
|
19
|
-
this._exact = value;
|
20
|
-
}
|
21
|
-
this.update();
|
22
|
-
}
|
23
|
-
/**
|
24
|
-
* The url of the NavItem to check for activeness. Convert the item url into a
|
25
|
-
* UrlTree relative to the ActivatedRoute so router#isActive works even with relative urls.
|
26
|
-
* See Angular's [routerLink](https://github.com/angular/angular/blob/8282e15c2becbe42a49befa07d6407247e8243d8/packages/router/src/directives/router_link.ts#L249)
|
27
|
-
* and [routerLinkActive](https://github.com/angular/angular/blob/8282e15c2becbe42a49befa07d6407247e8243d8/packages/router/src/directives/router_link_active.ts#L139)
|
28
|
-
* for a similiar implementation.
|
29
|
-
*/
|
30
|
-
set url(value) {
|
31
|
-
if (value !== null && value !== undefined) {
|
32
|
-
this._url = this.router.createUrlTree([value], { relativeTo: this.route, queryParams: this.queryParams });
|
33
|
-
this.update();
|
34
|
-
}
|
35
|
-
}
|
36
|
-
constructor(router, el, renderer, route) {
|
37
|
-
this.router = router;
|
38
|
-
this.el = el;
|
39
|
-
this.renderer = renderer;
|
40
|
-
this.route = route;
|
41
|
-
this._exact = true;
|
42
|
-
/** Emits when the url becomes active */
|
43
|
-
this.routerLinkActivated = new EventEmitter();
|
44
|
-
/** Subject that emits when component is destroyed to unsubscribe from any subscriptions */
|
45
|
-
this.destroyed = new Subject();
|
46
|
-
}
|
47
|
-
/** Check if url is active on NavigationEnd events */
|
48
|
-
ngOnInit() {
|
49
|
-
this.router.events.pipe(takeUntil(this.destroyed), filter(e => e instanceof NavigationEnd)).subscribe(() => {
|
50
|
-
this.update();
|
51
|
-
});
|
52
|
-
}
|
53
|
-
ngOnDestroy() {
|
54
|
-
this.destroyed.next();
|
55
|
-
this.destroyed.unsubscribe();
|
56
|
-
}
|
57
|
-
/** If url is active apply the defined class to the element, otherwise remove it */
|
58
|
-
update() {
|
59
|
-
if (this._url && this.classValue) {
|
60
|
-
if (this.router.isActive(this._url, { matrixParams: 'ignored', queryParams: this._exact ? 'exact' : 'subset', paths: this._exact ? 'exact' : 'subset', fragment: 'ignored' })) {
|
61
|
-
this.renderer.addClass(this.el.nativeElement, this.classValue);
|
62
|
-
this.routerLinkActivated.emit(new Event('routerLinkActivated'));
|
63
|
-
}
|
64
|
-
else {
|
65
|
-
this.renderer.removeClass(this.el.nativeElement, this.classValue);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
73
|
-
type: Directive,
|
74
|
-
args: [{
|
75
|
-
selector: '[ecNavItemActive]'
|
76
|
-
}]
|
77
|
-
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.ActivatedRoute }]; }, propDecorators: { classValue: [{
|
78
|
-
type: Input,
|
79
|
-
args: ['ecNavItemActive']
|
80
|
-
}], exact: [{
|
81
|
-
type: Input,
|
82
|
-
args: ['ecNavItemActiveExactMatch']
|
83
|
-
}], queryParams: [{
|
84
|
-
type: Input,
|
85
|
-
args: ['ecNavItemActiveQueryParams']
|
86
|
-
}], url: [{
|
87
|
-
type: Input,
|
88
|
-
args: ['ecNavItemActiveUrl']
|
89
|
-
}], routerLinkActivated: [{
|
90
|
-
type: Output
|
91
|
-
}] } });
|
92
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Directive, Input, Output, EventEmitter } from '@angular/core';
|
2
|
+
import { NavigationEnd } from '@angular/router';
|
3
|
+
import { Subject } from 'rxjs';
|
4
|
+
import { takeUntil, filter } from 'rxjs/operators';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "@angular/router";
|
7
|
+
export class NavItemActiveDirective {
|
8
|
+
/**
|
9
|
+
* Determines whether the directive will try to make an exact match on the url or not
|
10
|
+
* If false, the directive will add the active class if the first part of the url matches
|
11
|
+
* the active route.
|
12
|
+
* see: https://angular.io/api/router/Router#isactive
|
13
|
+
*/
|
14
|
+
set exact(value) {
|
15
|
+
if (value === undefined) {
|
16
|
+
this._exact = true;
|
17
|
+
}
|
18
|
+
else {
|
19
|
+
this._exact = value;
|
20
|
+
}
|
21
|
+
this.update();
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* The url of the NavItem to check for activeness. Convert the item url into a
|
25
|
+
* UrlTree relative to the ActivatedRoute so router#isActive works even with relative urls.
|
26
|
+
* See Angular's [routerLink](https://github.com/angular/angular/blob/8282e15c2becbe42a49befa07d6407247e8243d8/packages/router/src/directives/router_link.ts#L249)
|
27
|
+
* and [routerLinkActive](https://github.com/angular/angular/blob/8282e15c2becbe42a49befa07d6407247e8243d8/packages/router/src/directives/router_link_active.ts#L139)
|
28
|
+
* for a similiar implementation.
|
29
|
+
*/
|
30
|
+
set url(value) {
|
31
|
+
if (value !== null && value !== undefined) {
|
32
|
+
this._url = this.router.createUrlTree([value], { relativeTo: this.route, queryParams: this.queryParams });
|
33
|
+
this.update();
|
34
|
+
}
|
35
|
+
}
|
36
|
+
constructor(router, el, renderer, route) {
|
37
|
+
this.router = router;
|
38
|
+
this.el = el;
|
39
|
+
this.renderer = renderer;
|
40
|
+
this.route = route;
|
41
|
+
this._exact = true;
|
42
|
+
/** Emits when the url becomes active */
|
43
|
+
this.routerLinkActivated = new EventEmitter();
|
44
|
+
/** Subject that emits when component is destroyed to unsubscribe from any subscriptions */
|
45
|
+
this.destroyed = new Subject();
|
46
|
+
}
|
47
|
+
/** Check if url is active on NavigationEnd events */
|
48
|
+
ngOnInit() {
|
49
|
+
this.router.events.pipe(takeUntil(this.destroyed), filter(e => e instanceof NavigationEnd)).subscribe(() => {
|
50
|
+
this.update();
|
51
|
+
});
|
52
|
+
}
|
53
|
+
ngOnDestroy() {
|
54
|
+
this.destroyed.next();
|
55
|
+
this.destroyed.unsubscribe();
|
56
|
+
}
|
57
|
+
/** If url is active apply the defined class to the element, otherwise remove it */
|
58
|
+
update() {
|
59
|
+
if (this._url && this.classValue) {
|
60
|
+
if (this.router.isActive(this._url, { matrixParams: 'ignored', queryParams: this._exact ? 'exact' : 'subset', paths: this._exact ? 'exact' : 'subset', fragment: 'ignored' })) {
|
61
|
+
this.renderer.addClass(this.el.nativeElement, this.classValue);
|
62
|
+
this.routerLinkActivated.emit(new Event('routerLinkActivated'));
|
63
|
+
}
|
64
|
+
else {
|
65
|
+
this.renderer.removeClass(this.el.nativeElement, this.classValue);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavItemActiveDirective, deps: [{ token: i1.Router }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Directive }); }
|
70
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NavItemActiveDirective, selector: "[ecNavItemActive]", inputs: { classValue: ["ecNavItemActive", "classValue"], exact: ["ecNavItemActiveExactMatch", "exact"], queryParams: ["ecNavItemActiveQueryParams", "queryParams"], url: ["ecNavItemActiveUrl", "url"] }, outputs: { routerLinkActivated: "routerLinkActivated" }, ngImport: i0 }); }
|
71
|
+
}
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavItemActiveDirective, decorators: [{
|
73
|
+
type: Directive,
|
74
|
+
args: [{
|
75
|
+
selector: '[ecNavItemActive]'
|
76
|
+
}]
|
77
|
+
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.ActivatedRoute }]; }, propDecorators: { classValue: [{
|
78
|
+
type: Input,
|
79
|
+
args: ['ecNavItemActive']
|
80
|
+
}], exact: [{
|
81
|
+
type: Input,
|
82
|
+
args: ['ecNavItemActiveExactMatch']
|
83
|
+
}], queryParams: [{
|
84
|
+
type: Input,
|
85
|
+
args: ['ecNavItemActiveQueryParams']
|
86
|
+
}], url: [{
|
87
|
+
type: Input,
|
88
|
+
args: ['ecNavItemActiveUrl']
|
89
|
+
}], routerLinkActivated: [{
|
90
|
+
type: Output
|
91
|
+
}] } });
|
92
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LWl0ZW0tYWN0aXZlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2xpYi9jb250cm9scy9uYXZpZ2F0aW9uL25hdi1pdGVtLWFjdGl2ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQTRDLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakgsT0FBTyxFQUFVLGFBQWEsRUFBbUMsTUFBTSxpQkFBaUIsQ0FBQztBQUN6RixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7OztBQUtuRCxNQUFNLE9BQU8sc0JBQXNCO0lBS2pDOzs7OztPQUtHO0lBQ0gsSUFDSSxLQUFLLENBQUMsS0FBMEI7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2 +1,2 @@
|
|
1
|
-
export {};
|
1
|
+
export {};
|
2
2
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2LWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3NyYy9saWIvY29udHJvbHMvbmF2aWdhdGlvbi9uYXYtaXRlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtFdmVudEVtaXR0ZXJ9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBMaW5rSXRlbSB9IGZyb20gJy4vbGluay1pdGVtJztcclxuXHJcblxyXG4vKipcclxuICogVGhlIGNvbW1vbiBwcm9wZXJ0aWVzIG9mIGEgbmF2aWdhdGlvbiBjb250cm9sXHJcbiAqL1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBOYXZJdGVtIGV4dGVuZHMgTGlua0l0ZW0ge1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogQGRlcHJlY2F0ZWRcclxuICAgICAqL1xyXG4gICAgY2xpY2tlZD86IEV2ZW50RW1pdHRlcjxhbnk+O1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogRnVuY3Rpb24gdG8gZXhlY3V0ZSB3aGVuIHRhYiBpcyBjbGlja2VkLlxyXG4gICAgICogKiBXaWxsIGJlIGlnbm9yZWQgaWYgQHNlZSBsaW5rIGlzIGRlZmluZWRcclxuICAgICAqL1xyXG4gICAgb25DbGljaz86IEZ1bmN0aW9uO1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogU2hvdyBhIGRvdCBpbmRpY2F0b3IgbmV4dCB0byB0aGUgdGFiLiBEZWZhdWx0IGNvbG9yIGlzICRlYy1jb2xvci1hY2NlbnRcclxuICAgICAqIHdoZW4gc2V0IHRvIHRydWUuIFNldCB0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