ecabs-components 1.1.67 → 1.1.68
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
CHANGED
|
@@ -25,109 +25,110 @@ To get more help on the Angular CLI use `ng help` or go check out the [Angular C
|
|
|
25
25
|
|
|
26
26
|
## Version History
|
|
27
27
|
|
|
28
|
-
- **v1.
|
|
29
|
-
- **v1.
|
|
30
|
-
-
|
|
31
|
-
- **v1.
|
|
32
|
-
- **v1.
|
|
33
|
-
- **v1.
|
|
28
|
+
- **v1.1.68** — Add `isVisible` callback for `SidebarMenuItem` to support dynamic visibility based on context.
|
|
29
|
+
- **v1.1.67** — Add support for optional "to" (end date) for `EcabsDateRangePickerV2Component`.
|
|
30
|
+
- Add allow cross-midnight time ranges for `EcabsTimeRangeInputV2Component`.
|
|
31
|
+
- **v1.1.66** — Suppress emission of an empty query on refocusing after selection of option from `EcabsChipAutocomplete`.
|
|
32
|
+
- **v1.1.65** — `EcabsInputRange`: Remove padding and background styling.
|
|
33
|
+
- **v1.1.64** — Refactor `EcabsChipAutocomplete` logic, improve component styles/disabled states, and update button styles.
|
|
34
|
+
- **v1.1.63** — Add `EcabsSegmentComponent`.
|
|
35
|
+
- Update `EcabsSelectV2` to be more robust when handling multiple selections.
|
|
36
|
+
- **v1.1.62** — Add `EcabsTimeRangeInputV2Component`.,
|
|
37
|
+
- **v1.1.61** — Added support for 12-hour time input for `maskito` library.
|
|
38
|
+
- **Affected components**: `EcabsDateTimePicker`, `EcabsTimepicker`, `EcabsDateTimeRangePicker`.
|
|
39
|
+
- **v1.1.60** — Migrate input mask library from `vanilla-text-mask` to `maskito`.
|
|
40
|
+
- **Affected components**: `EcabsDateTimePicker`, `EcabsTimepicker`, `EcabsDateTimeRangePicker`.
|
|
41
|
+
- **v1.1.59** — `EcabsCheckboxV2Component`: Implement version 2 of `EcabsCheckboxComponent`.
|
|
42
|
+
- **v1.1.58** — Add `EcabsInputRangeComponent` with support for minimum and maximum values.
|
|
43
|
+
- **v1.1.57** — Implement `EcabsChipGroup`and `EcabsAutocompleteChipGroup` components with demo.
|
|
44
|
+
- **v1.1.56** — Implement `EcabsDateRangePickerComponentV2`.
|
|
45
|
+
- **v1.1.55** — `EcabsButtonsV2Component`: Added version 2 of `EcabsButtonsComponent` with support for small, medium, and large sizes.
|
|
46
|
+
- **v1.1.54** — Implement `EcabsButtonToggleComponent` with support for small, medium, and large sizes.
|
|
47
|
+
- **v1.1.53** — Introduce new gray color palette and update references and apply styling improvements.
|
|
48
|
+
- **v1.1.52** — Update styling overrides for Material nav-style tabs, including active state.
|
|
49
|
+
- **v1.1.51** — Implement option of displaying dynamic content for `EcabsTableComponent` when empty.
|
|
50
|
+
- **v1.1.50** — Add `Documentation` for `EcabsTableModule`.
|
|
51
|
+
- **v1.1.49** — Add support for `splitButtonsWidth` in `EcabsDialogConfirmComponent` and update button styling.`.
|
|
52
|
+
- **v1.1.48** — Implement `EcabsPlaceAutocompleteV2Component` to support waypoints history, query change handling, and dropdown suggestions display.
|
|
53
|
+
- **v1.1.47** — Add `Title` and `dynamic` content support to `EcabsEmptyPlaceholderComponent`.
|
|
54
|
+
- **v1.1.46** — Add `ViewChild` reference for `MatRadioGroup` and update event type in `EcabsRadioButtonListComponent`.
|
|
55
|
+
- **v1.1.45** — Added default validation of date range
|
|
56
|
+
- **v1.1.44** — Fixed issue Apply button is still active when only the DateFrom is selected
|
|
57
|
+
- **v1.1.43** — Added disabling of Apply button for date range picker
|
|
58
|
+
- **v1.1.42** — Apply `width` and `height` properties directly to root `MatDialog` of `EcabsDialogConfirmComponent`.
|
|
59
|
+
- **v1.1.41** — Added EcabsDialogConfirmationDeletionComponent.
|
|
60
|
+
- **v1.1.40** — `EcabsDateTimePicker`: Added support for preserving and returning `receivedValue` when there is no change in the input.
|
|
61
|
+
- **v1.1.39** — Added date adapter to public api.
|
|
62
|
+
- **v1.1.38** — Use native `matDatepickerToggleIcon` in `EcabsDateTimePicker`.
|
|
63
|
+
- **v1.1.35** — Add `waypointType` input to `EcabsAutoComplete`.
|
|
64
|
+
- Add `nativeElement` handles to custom inputs.
|
|
65
|
+
- **v1.1.34** — Emit `selectionChange` event when selecting item from `EcabsSelectV2`.
|
|
66
|
+
- Add collapse styling for `EcabsLogo`.
|
|
67
|
+
- **v1.1.33** — Return falsey value when no input is available in `DateTime` selector through keyboard action deletion.
|
|
68
|
+
- **v1.1.32** — Return falsey value when no input is available in `DateTime` selector.
|
|
69
|
+
- **v1.1.31** — Prevent hover state persistence on disabled buttons.
|
|
70
|
+
- **v1.1.30** — Added blur event handling and support for special keys in `EcabsTimePickerComponent`.
|
|
71
|
+
- **v1.1.29** — Added handling manual updates data of date range picker.
|
|
72
|
+
- **v1.1.28** — Fixed issue related to the prev version.
|
|
73
|
+
- **v1.1.27** — Added results for the dialog message.
|
|
74
|
+
- **v1.1.26** — Implement dynamic titles for `EcabsDialogComponent`.
|
|
75
|
+
- **v1.1.25** — Fixed date range picker when choose one date only.
|
|
76
|
+
- **v1.1.24** — Fixed date range picker when reset value.
|
|
77
|
+
- **v1.1.23** — Update styling for map markers.
|
|
78
|
+
- **v1.1.22** — Added statuses for mat-chips.
|
|
79
|
+
- Added badges for menu items.
|
|
80
|
+
- **v1.1.21** — Improve style for hovered disabled calendar date.
|
|
81
|
+
- **v1.1.20** — Improve the appearance for the scrollbar.
|
|
82
|
+
- **v1.1.19** — Increase delay for phone control and to config.
|
|
83
|
+
- **v1.1.18** — Adjust position of `sticky` header on `MatTable`.
|
|
84
|
+
- **v1.1.17** — Fix peerDependency on `libphonenumber-js`.
|
|
85
|
+
- **v1.1.16** — Implemented custom phone number control.
|
|
86
|
+
- **v1.1.15** — Cleanup `EcabsComponentsService` and provide default config via `config` property.
|
|
87
|
+
- **v1.1.14** — Update styles for disabled indeterminate checkboxes.
|
|
88
|
+
- **v1.1.13** — Fix `overflow-y` issue on `MatCardContent`.
|
|
89
|
+
- **v1.1.12** — Extend @Input properties of `EcabsSelectV2` from `@ng-select` lib.
|
|
90
|
+
- **v1.1.10** — Added color styles for prompt title message.
|
|
91
|
+
- **v1.1.9** — Fixed i18n issue.
|
|
92
|
+
- **v1.1.8** — Add directive show-on-truncated to directives.
|
|
93
|
+
- **v1.1.7** — Add a message for alphanumeric-only validation.
|
|
94
|
+
- **v1.1.6** — accumulate all directives
|
|
95
|
+
- **v1.1.5** — added slider
|
|
96
|
+
- **v1.1.4** — Fixed blur issue for input.
|
|
97
|
+
- **v1.1.3** — Upgrade `MatLegacyCard` to `MDC`.
|
|
98
|
+
- **v1.1.2** — Introduce new select component (`EcabsSelectV2`) to deprecate `EcabsSelect`.
|
|
99
|
+
- **v1.1.1** — Hide `Timepicker` options on input blur.
|
|
100
|
+
- **v1.1.0** — Upgrade `MatLegacyMenu` to `MDC`.
|
|
101
|
+
- **v1.0.99** — Add `mini` and `maxi` directive and validators to `EcabsInput`.
|
|
102
|
+
- **v1.0.98** — Upgrade `MatLegacyAutocomplete` to `MDC`.
|
|
103
|
+
- **v1.0.97** — Correct misaligned icon and text on `EcabsNotes`.
|
|
104
|
+
- **v1.0.96** — Add missing styles for nested columns on `Table`.
|
|
105
|
+
- **v1.0.95** — Upgrade `MatLegacyTooltip` to `MDC`.
|
|
106
|
+
- **v1.0.94** — Upgrade `MatLegacyTabs` to `MDC`.
|
|
107
|
+
- **v1.0.93** — Update progress colors for percentage.
|
|
108
|
+
- **v1.0.92** — Add default buttons for Confirm and Cancel buttons on dialog.
|
|
109
|
+
- **v1.0.91** — Upgrade `MatLegacyCheckbox` and `MatSlideToggle` to `MDC`.
|
|
110
|
+
- **v1.0.90** — Upgrade `MatLegacyPaginator` to `MDC`.
|
|
111
|
+
- Add `EcabsPaginatorDirective`.
|
|
112
|
+
- Rename `AppHint` to `EcabsHint`.
|
|
113
|
+
- Apply `ngx-toaster` overrides.
|
|
114
|
+
- **v1.0.89** — Upgrade `MatLegacyTable` and `MatLegacyProgress` to `MDC`.
|
|
115
|
+
- **v1.0.88** — Roll back 1.0.87
|
|
116
|
+
- **v1.0.87** — Apply min/max Date logic for date picker
|
|
117
|
+
- **v1.0.85** — Improve styling for `EcabsTable` row colors.
|
|
118
|
+
- **v1.0.84** — Emit `falsey` result when Close button is clicked on `EcabsDialogConfirm` and `EcabsDialogMessage`.
|
|
119
|
+
- **v1.0.83** — Fix buttons height.
|
|
120
|
+
- **v1.0.82** — Improve the appearance of disabled inputs.
|
|
121
|
+
- Fix placeholder text of `EcabsSelect`.
|
|
122
|
+
- **v1.0.81** — Fix font size of `EcabsSelect`.
|
|
123
|
+
- **v1.0.80** — Allow custom button options for `Confirm` and `Cancel` buttons on `EcabsDialog`.
|
|
34
124
|
- **v1.0.79** — feat(CU-11266): Update `MatDialog` to `MDC`.
|
|
35
125
|
- Fix button height issue on anchor tags marked as `mat-button`.
|
|
36
126
|
- Update default font family.
|
|
37
127
|
- Rename `NoteComponent` to `EcabsNoteComponent`.
|
|
38
128
|
- Add `expired` style for `EcabsChip`.
|
|
39
|
-
- **v1.0.
|
|
40
|
-
- **v1.0.
|
|
41
|
-
- **v1.0.
|
|
42
|
-
|
|
43
|
-
- **v1.0.
|
|
44
|
-
- **v1.0.
|
|
45
|
-
- **v1.0.85** — Improve styling for `EcabsTable` row colors.
|
|
46
|
-
- **v1.0.87** — Apply min/max Date logic for date picker
|
|
47
|
-
- **v1.0.88** — Roll back 1.0.87
|
|
48
|
-
- **v1.0.89** — Upgrade `MatLegacyTable` and `MatLegacyProgress` to `MDC`.
|
|
49
|
-
- **v1.0.90** — Upgrade `MatLegacyPaginator` to `MDC`.
|
|
50
|
-
- Add `EcabsPaginatorDirective`.
|
|
51
|
-
- Rename `AppHint` to `EcabsHint`.
|
|
52
|
-
- Apply `ngx-toaster` overrides.
|
|
53
|
-
- **v1.0.91** — Upgrade `MatLegacyCheckbox` and `MatSlideToggle` to `MDC`.
|
|
54
|
-
- **v1.0.92** — Add default buttons for Confirm and Cancel buttons on dialog.
|
|
55
|
-
- **v1.0.93** — Update progress colors for percentage.
|
|
56
|
-
- **v1.0.94** — Upgrade `MatLegacyTabs` to `MDC`.
|
|
57
|
-
- **v1.0.95** — Upgrade `MatLegacyTooltip` to `MDC`.
|
|
58
|
-
- **v1.0.96** — Add missing styles for nested columns on `Table`.
|
|
59
|
-
- **v1.0.97** — Correct misaligned icon and text on `EcabsNotes`.
|
|
60
|
-
- **v1.0.98** — Upgrade `MatLegacyAutocomplete` to `MDC`.
|
|
61
|
-
- **v1.0.99** — Add `mini` and `maxi` directive and validators to `EcabsInput`.
|
|
62
|
-
- **v1.1.0** — Upgrade `MatLegacyMenu` to `MDC`.
|
|
63
|
-
- **v1.1.1** — Hide `Timepicker` options on input blur.
|
|
64
|
-
- **v1.1.2** — Introduce new select component (`EcabsSelectV2`) to deprecate `EcabsSelect`.
|
|
65
|
-
- **v1.1.3** — Upgrade `MatLegacyCard` to `MDC`.
|
|
66
|
-
- **v1.1.4** — Fixed blur issue for input.
|
|
67
|
-
- **v1.1.5** — added slider
|
|
68
|
-
- **v1.1.6** — accumulate all directives
|
|
69
|
-
- **v1.1.7** — Add a message for alphanumeric-only validation.
|
|
70
|
-
- **v1.1.8** — Add directive show-on-truncated to directives.
|
|
71
|
-
- **v1.1.9** — Fixed i18n issue.
|
|
72
|
-
- **v1.1.10** — Added color styles for prompt title message.
|
|
73
|
-
- **v1.1.12** — Extend @Input properties of `EcabsSelectV2` from `@ng-select` lib.
|
|
74
|
-
- **v1.1.13** — Fix `overflow-y` issue on `MatCardContent`.
|
|
75
|
-
- **v1.1.14** — Update styles for disabled indeterminate checkboxes.
|
|
76
|
-
- **v1.1.15** — Cleanup `EcabsComponentsService` and provide default config via `config` property.
|
|
77
|
-
- **v1.1.16** — Implemented custom phone number control.
|
|
78
|
-
- **v1.1.17** — Fix peerDependency on `libphonenumber-js`.
|
|
79
|
-
- **v1.1.18** — Adjust position of `sticky` header on `MatTable`.
|
|
80
|
-
- **v1.1.19** — Increase delay for phone control and to config.
|
|
81
|
-
- **v1.1.20** — Improve the appearance for the scrollbar.
|
|
82
|
-
- **v1.1.21** — Improve style for hovered disabled calendar date.
|
|
83
|
-
- **v1.1.22** — Added statuses for mat-chips.
|
|
84
|
-
- Added badges for menu items.
|
|
85
|
-
- **v1.1.23** — Update styling for map markers.
|
|
86
|
-
- **v1.1.24** — Fixed date range picker when reset value.
|
|
87
|
-
- **v1.1.25** — Fixed date range picker when choose one date only.
|
|
88
|
-
- **v1.1.26** — Implement dynamic titles for `EcabsDialogComponent`.
|
|
89
|
-
- **v1.1.27** — Added results for the dialog message.
|
|
90
|
-
- **v1.1.28** — Fixed issue related to the prev version.
|
|
91
|
-
- **v1.1.29** — Added handling manual updates data of date range picker.
|
|
92
|
-
- **v1.1.30** — Added blur event handling and support for special keys in `EcabsTimePickerComponent`.
|
|
93
|
-
- **v1.1.31** — Prevent hover state persistence on disabled buttons.
|
|
94
|
-
- **v1.1.32** — Return falsey value when no input is available in `DateTime` selector.
|
|
95
|
-
- **v1.1.33** — Return falsey value when no input is available in `DateTime` selector through keyboard action deletion.
|
|
96
|
-
- **v1.1.34** — Emit `selectionChange` event when selecting item from `EcabsSelectV2`.
|
|
97
|
-
- Add collapse styling for `EcabsLogo`.
|
|
98
|
-
- **v1.1.35** — Add `waypointType` input to `EcabsAutoComplete`.
|
|
99
|
-
- Add `nativeElement` handles to custom inputs.
|
|
100
|
-
- **v1.1.38** — Use native `matDatepickerToggleIcon` in `EcabsDateTimePicker`.
|
|
101
|
-
- **v1.1.39** — Added date adapter to public api.
|
|
102
|
-
- **v1.1.40** — `EcabsDateTimePicker`: Added support for preserving and returning `receivedValue` when there is no change in the input.
|
|
103
|
-
- **v1.1.41** — Added EcabsDialogConfirmationDeletionComponent.
|
|
104
|
-
- **v1.1.42** — Apply `width` and `height` properties directly to root `MatDialog` of `EcabsDialogConfirmComponent`.
|
|
105
|
-
- **v1.1.43** — Added disabling of Apply button for date range picker
|
|
106
|
-
- **v1.1.44** — Fixed issue Apply button is still active when only the DateFrom is selected
|
|
107
|
-
- **v1.1.45** — Added default validation of date range
|
|
108
|
-
- **v1.1.46** — Add `ViewChild` reference for `MatRadioGroup` and update event type in `EcabsRadioButtonListComponent`.
|
|
109
|
-
- **v1.1.47** — Add `Title` and `dynamic` content support to `EcabsEmptyPlaceholderComponent`.
|
|
110
|
-
- **v1.1.48** — Implement `EcabsPlaceAutocompleteV2Component` to support waypoints history, query change handling, and dropdown suggestions display.
|
|
111
|
-
- **v1.1.49** — Add support for `splitButtonsWidth` in `EcabsDialogConfirmComponent` and update button styling.`.
|
|
112
|
-
- **v1.1.50** — Add `Documentation` for `EcabsTableModule`.
|
|
113
|
-
- **v1.1.51** — Implement option of displaying dynamic content for `EcabsTableComponent` when empty.
|
|
114
|
-
- **v1.1.52** — Update styling overrides for Material nav-style tabs, including active state.
|
|
115
|
-
- **v1.1.53** — Introduce new gray color palette and update references and apply styling improvements.
|
|
116
|
-
- **v1.1.54** — Implement `EcabsButtonToggleComponent` with support for small, medium, and large sizes.
|
|
117
|
-
- **v1.1.55** — `EcabsButtonsV2Component`: Added version 2 of `EcabsButtonsComponent` with support for small, medium, and large sizes.
|
|
118
|
-
- **v1.1.56** — Implement `EcabsDateRangePickerComponentV2`.
|
|
119
|
-
- **v1.1.57** — Implement `EcabsChipGroup`and `EcabsAutocompleteChipGroup` components with demo.
|
|
120
|
-
- **v1.1.58** — Add `EcabsInputRangeComponent` with support for minimum and maximum values.
|
|
121
|
-
- **v1.1.59** — `EcabsCheckboxV2Component`: Implement version 2 of `EcabsCheckboxComponent`.
|
|
122
|
-
- **v1.1.60** — Migrate input mask library from `vanilla-text-mask` to `maskito`.
|
|
123
|
-
- **Affected components**: `EcabsDateTimePicker`, `EcabsTimepicker`, `EcabsDateTimeRangePicker`.
|
|
124
|
-
- **v1.1.61** — Added support for 12-hour time input for `maskito` library.
|
|
125
|
-
- **Affected components**: `EcabsDateTimePicker`, `EcabsTimepicker`, `EcabsDateTimeRangePicker`.
|
|
126
|
-
- **v1.1.62** — Add `EcabsTimeRangeInputV2Component`.,
|
|
127
|
-
- **v1.1.63** — Add `EcabsSegmentComponent`.
|
|
128
|
-
- Update `EcabsSelectV2` to be more robust when handling multiple selections.
|
|
129
|
-
- **v1.1.64** — Refactor `EcabsChipAutocomplete` logic, improve component styles/disabled states, and update button styles.
|
|
130
|
-
- **v1.1.65** — `EcabsInputRange`: Remove padding and background styling.
|
|
131
|
-
- **v1.1.66** — Suppress emission of an empty query on refocusing after selection of option from `EcabsChipAutocomplete`.
|
|
132
|
-
- **v1.1.67** — Add support for optional "to" (end date) for `EcabsDateRangePickerV2Component`.
|
|
133
|
-
- Add allow cross-midnight time ranges for `EcabsTimeRangeInputV2Component`.
|
|
129
|
+
- **v1.0.78** — Upgrade `MatSelect` to `MDC`.
|
|
130
|
+
- **v1.0.77** — Upgrade `MatChips` to `MDC`.
|
|
131
|
+
- **v1.0.76** — Upgrade `EcabsInput` module to `MDC` styling.
|
|
132
|
+
- **v1.0.75** — Upgrade `EcabsButtons` module to `MDC` styling.
|
|
133
|
+
- **v1.0.18** — Fixed width of date time picker
|
|
134
|
+
- **v1.0.13** — Fixed emitEvent behaviour of checkbox
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5tb2RlbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lY2Ficy1jb21wb25lbnRzL3NyYy9saWIvYmFzZS9tb2RlbHMvc2lkZWJhci5tb2RlbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgU2lkZWJhck1lbnVJdGVtPFRFbnYgPSB1bmtub3duLCBUUm9sZSA9IHVua25vd24+IHtcclxuICB0aXRsZTogc3RyaW5nO1xyXG4gIGljb24/OiBzdHJpbmc7XHJcbiAgdXJsPzogc3RyaW5nO1xyXG4gIGV4cGFuZD86IGJvb2xlYW47XHJcbiAgc3ViSXRlbXM/OiBTaWRlYmFyTWVudUl0ZW1bXTtcclxuICBwZXJtaXNzaW9ucz86IFBlcm1pc3Npb25WYWx1ZUVudW08c3RyaW5nPltdO1xyXG4gIGljb25SZXNvdXJjZT86IFNpZGViYXJJY29uUmVzb3VyY2U7XHJcbiAgYmFkZ2U/OiBzdHJpbmc7XHJcbiAgaXNWaXNpYmxlPzogKGNvbnRleHQ6IE1lbnVJdGVtVmlzaWJpbGl0eUNvbnRleHQ8VEVudiwgVFJvbGU+KSA9PiBib29sZWFuO1xyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIE1lbnVJdGVtVmlzaWJpbGl0eUNvbnRleHQ8VEVudiwgVFJvbGU+IHtcclxuICBlbnZpcm9ubWVudDogVEVudjtcclxuICByb2xlOiBUUm9sZTtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBTaWRlYmFySWNvblJlc291cmNlIHtcclxuICBwYXRoOiBzdHJpbmc7XHJcbiAgbmFtZTogc3RyaW5nO1xyXG59XHJcblxyXG5pbnRlcmZhY2UgUGVybWlzc2lvblZhbHVlRW51bTxUIGV4dGVuZHMgc3RyaW5nPiB7XHJcbiAgdmFsdWVzOiBSZWNvcmQ8VCwgc3RyaW5nPjtcclxufVxyXG4iXX0=
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface SidebarMenuItem {
|
|
1
|
+
export interface SidebarMenuItem<TEnv = unknown, TRole = unknown> {
|
|
2
2
|
title: string;
|
|
3
3
|
icon?: string;
|
|
4
4
|
url?: string;
|
|
@@ -7,12 +7,17 @@ export interface SidebarMenuItem {
|
|
|
7
7
|
permissions?: PermissionValueEnum<string>[];
|
|
8
8
|
iconResource?: SidebarIconResource;
|
|
9
9
|
badge?: string;
|
|
10
|
+
isVisible?: (context: MenuItemVisibilityContext<TEnv, TRole>) => boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface MenuItemVisibilityContext<TEnv, TRole> {
|
|
13
|
+
environment: TEnv;
|
|
14
|
+
role: TRole;
|
|
10
15
|
}
|
|
11
|
-
type PermissionValueEnum<T extends string> = {
|
|
12
|
-
values: Record<T, string>;
|
|
13
|
-
};
|
|
14
16
|
export interface SidebarIconResource {
|
|
15
17
|
path: string;
|
|
16
18
|
name: string;
|
|
17
19
|
}
|
|
20
|
+
interface PermissionValueEnum<T extends string> {
|
|
21
|
+
values: Record<T, string>;
|
|
22
|
+
}
|
|
18
23
|
export {};
|