Browse Source

Merge pull request #14279 from DmytroKhylko/fix/export-ui-components

Exported UI components: `tb-phone-input`, `tb-widget-button`
pull/14398/head
Vladyslav Prykhodko 8 months ago
committed by GitHub
parent
commit
d2ee9f513d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 12
      ui-ngx/src/app/modules/common/modules-map.ts
  2. 20
      ui-ngx/src/app/shared/components/button/public-api.ts
  3. 2
      ui-ngx/src/app/shared/components/public-api.ts

12
ui-ngx/src/app/modules/common/modules-map.ts

@ -178,6 +178,10 @@ import * as OtaPackageAutocompleteComponent from '@shared/components/ota-package
import * as WidgetsBundleSearchComponent from '@shared/components/widgets-bundle-search.component';
import * as CopyButtonComponent from '@shared/components/button/copy-button.component';
import * as TogglePasswordComponent from '@shared/components/button/toggle-password.component';
import * as WidgetButtonComponent from '@shared/components/button/widget-button.component';
import * as WidgetButtonToggleComponent from '@shared/components/button/widget-button-toggle.component';
import * as PhoneInputComponent from '@shared/components/phone-input.component';
import * as TbPopoverService from '@shared/components/popover.service';
import * as ProtobufContentComponent from '@shared/components/protobuf-content.component';
import * as SlackConversationAutocompleteComponent from '@shared/components/slack-conversation-autocomplete.component';
import * as StringItemsListComponent from '@shared/components/string-items-list.component';
@ -190,8 +194,6 @@ import * as HintTooltipIconComponent from '@shared/components/hint-tooltip-icon.
import * as ScrollGridComponent from '@shared/components/grid/scroll-grid.component';
import * as GalleryImageInputComponent from '@shared/components/image/gallery-image-input.component';
import * as MultipleGalleryImageInputComponent from '@shared/components/image/multiple-gallery-image-input.component';
import * as TbPopoverService from '@shared/components/popover.service';
import * as CssUnitSelectComponent from '@home/components/widget/lib/settings/common/css-unit-select.component';
import * as WidgetActionsPanelComponent from '@home/components/widget/config/basic/common/widget-actions-panel.component';
@ -520,6 +522,10 @@ class ModulesMap implements IModulesMap {
'@shared/components/widgets-bundle-search.component': WidgetsBundleSearchComponent,
'@shared/components/button/copy-button.component': CopyButtonComponent,
'@shared/components/button/toggle-password.component': TogglePasswordComponent,
'@shared/components/button/widget-button.component': WidgetButtonComponent,
'@shared/components/button/widget-button-toggle.component': WidgetButtonToggleComponent,
'@shared/components/popover.service': TbPopoverService,
'@shared/components/phone-input.component': PhoneInputComponent,
'@shared/components/protobuf-content.component': ProtobufContentComponent,
'@shared/components/slack-conversation-autocomplete.component': SlackConversationAutocompleteComponent,
'@shared/components/string-items-list.component': StringItemsListComponent,
@ -532,8 +538,6 @@ class ModulesMap implements IModulesMap {
'@shared/components/grid/scroll-grid.component': ScrollGridComponent,
'@shared/components/image/gallery-image-input.component': GalleryImageInputComponent,
'@shared/components/image/multiple-gallery-image-input.component': MultipleGalleryImageInputComponent,
'@shared/components/popover.service': TbPopoverService,
'@home/components/alarm/alarm-filter-config.component': AlarmFilterConfigComponent,
'@home/components/alarm/alarm-comment-dialog.component': AlarmCommentDialogComponent,

20
ui-ngx/src/app/shared/components/button/public-api.ts

@ -0,0 +1,20 @@
///
/// Copyright © 2016-2025 The Thingsboard Authors
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable law or agreed to in writing, software
/// distributed under the License is distributed on an "AS IS" BASIS,
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
/// See the License for the specific language governing permissions and
/// limitations under the License.
///
export * from './copy-button.component';
export * from './toggle-password.component';
export * from './widget-button-toggle.component';
export * from './widget-button.component';

2
ui-ngx/src/app/shared/components/public-api.ts

@ -14,6 +14,7 @@
/// limitations under the License.
///
export * from './button/public-api';
export * from './dialog/color-picker-dialog.component';
export * from './dialog/material-icons-dialog.component';
export * from './page.component';
@ -32,3 +33,4 @@ export * from './hint-tooltip-icon.component';
export * from './grid/scroll-grid-datasource';
export * from './grid/scroll-grid.component';
export * from './table/table-datasource.abstract';
export * from './phone-input.component';

Loading…
Cancel
Save