@c8y/ngx-components 1024.16.6 → 1024.16.12
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/fesm2022/c8y-ngx-components-ai-ai-chat.mjs +2 -2
- package/fesm2022/c8y-ngx-components-ai-ai-chat.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-register-device.mjs +5 -6
- package/fesm2022/c8y-ngx-components-register-device.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +48 -7
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/c8y-ngx-components-register-device.d.ts.map +1 -1
- package/types/c8y-ngx-components.d.ts +21 -3
- package/types/c8y-ngx-components.d.ts.map +1 -1
|
@@ -3920,8 +3920,17 @@ function provideBootstrapMetadata(metadata) {
|
|
|
3920
3920
|
hookCurrentTenant(metadata.currentTenant)
|
|
3921
3921
|
];
|
|
3922
3922
|
}
|
|
3923
|
+
const HOOK_SKIP_APP_KEY_HEADER = new InjectionToken('HOOK_SKIP_APP_KEY_HEADER');
|
|
3924
|
+
/**
|
|
3925
|
+
* Allows to skip adding the application key header to the default headers of the FetchClient.
|
|
3926
|
+
* This is useful for applications that might be accessed without the application actually being subscribed to the tenant.
|
|
3927
|
+
* This is e.g. for the login app or the api-doc app the case.
|
|
3928
|
+
*/
|
|
3929
|
+
function provideSkipAppKeyHeader() {
|
|
3930
|
+
return hookGeneric(true, HOOK_SKIP_APP_KEY_HEADER, { multi: false });
|
|
3931
|
+
}
|
|
3923
3932
|
class AppStateService extends StateService {
|
|
3924
|
-
constructor(applicationService, apiService, options, fetchClient, tenantLoginOptionsService, user, application, tenant) {
|
|
3933
|
+
constructor(applicationService, apiService, options, fetchClient, tenantLoginOptionsService, user, application, tenant, skipAppKeyHeader) {
|
|
3925
3934
|
super();
|
|
3926
3935
|
this.applicationService = applicationService;
|
|
3927
3936
|
this.apiService = apiService;
|
|
@@ -3968,7 +3977,7 @@ class AppStateService extends StateService {
|
|
|
3968
3977
|
this.apiService.isLoading$.subscribe(isLoading => {
|
|
3969
3978
|
this.state.isLoading = isLoading;
|
|
3970
3979
|
});
|
|
3971
|
-
if (this.options.contextPath !== 'login') {
|
|
3980
|
+
if (!skipAppKeyHeader && this.options.contextPath !== 'login') {
|
|
3972
3981
|
this.assignApplicationKeyToDefaultHeaders();
|
|
3973
3982
|
}
|
|
3974
3983
|
this.currentAppsOfUser = this.currentAppsOfUser$();
|
|
@@ -4098,7 +4107,7 @@ class AppStateService extends StateService {
|
|
|
4098
4107
|
return;
|
|
4099
4108
|
}));
|
|
4100
4109
|
}
|
|
4101
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: AppStateService, deps: [{ token: i1.ApplicationService }, { token: i4.ApiService }, { token: OptionsService }, { token: i1.FetchClient }, { token: i1.TenantLoginOptionsService }, { token: HOOK_CURRENT_USER, optional: true }, { token: HOOK_CURRENT_APPLICATION, optional: true }, { token: HOOK_CURRENT_TENANT, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: AppStateService, deps: [{ token: i1.ApplicationService }, { token: i4.ApiService }, { token: OptionsService }, { token: i1.FetchClient }, { token: i1.TenantLoginOptionsService }, { token: HOOK_CURRENT_USER, optional: true }, { token: HOOK_CURRENT_APPLICATION, optional: true }, { token: HOOK_CURRENT_TENANT, optional: true }, { token: HOOK_SKIP_APP_KEY_HEADER, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4102
4111
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: AppStateService, providedIn: 'root' }); }
|
|
4103
4112
|
}
|
|
4104
4113
|
__decorate([
|
|
@@ -4125,6 +4134,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImpo
|
|
|
4125
4134
|
}, {
|
|
4126
4135
|
type: Inject,
|
|
4127
4136
|
args: [HOOK_CURRENT_TENANT]
|
|
4137
|
+
}] }, { type: undefined, decorators: [{
|
|
4138
|
+
type: Optional
|
|
4139
|
+
}, {
|
|
4140
|
+
type: Inject,
|
|
4141
|
+
args: [HOOK_SKIP_APP_KEY_HEADER]
|
|
4128
4142
|
}] }], propDecorators: { refreshLoginOptions: [] } });
|
|
4129
4143
|
|
|
4130
4144
|
/**
|
|
@@ -31023,7 +31037,7 @@ class DashboardChildComponent {
|
|
|
31023
31037
|
return false;
|
|
31024
31038
|
}
|
|
31025
31039
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: DashboardChildComponent, deps: [{ token: DashboardComponent }, { token: i2$1.DomSanitizer }, { token: i0.ElementRef }, { token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31026
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: DashboardChildComponent, isStandalone: true, selector: "c8y-dashboard-child", inputs: { x: { classPropertyName: "x", publicName: "x", isSignal: false, isRequired: false, transformFunction: null }, y: { classPropertyName: "y", publicName: "y", isSignal: false, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: false, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: false, isRequired: false, transformFunction: null }, minH: { classPropertyName: "minH", publicName: "minH", isSignal: false, isRequired: false, transformFunction: null }, minW: { classPropertyName: "minW", publicName: "minW", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: false, isRequired: false, transformFunction: null }, margin: { classPropertyName: "margin", publicName: "margin", isSignal: false, isRequired: false, transformFunction: null }, useIntersection: { classPropertyName: "useIntersection", publicName: "useIntersection", isSignal: false, isRequired: false, transformFunction: null }, isFrozen: { classPropertyName: "isFrozen", publicName: "isFrozen", isSignal: false, isRequired: false, transformFunction: null }, canToggleFullscreen: { classPropertyName: "canToggleFullscreen", publicName: "canToggleFullscreen", isSignal: false, isRequired: false, transformFunction: null }, _editModeInput: { classPropertyName: "_editModeInput", publicName: "editMode", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { changeStart: "changeStart", changeEnd: "changeEnd", toggleFullscreen: "toggleFullscreen" }, host: { properties: { "class.fullscreen": "this.fullscreen" }, classAttribute: "dashboard-grid-child grid-stack-item" }, queries: [{ propertyName: "templateActions", predicate: DashboardChildActionComponent }], usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"klasses\">\n <div\n class=\"card-header-actions card-header-grid\"\n data-cy=\"c8y-dashboard-child--drag-handle\"\n [ngClass]=\"{\n 'drag-handle': editMode() && !fullscreen,\n draggableCursor: editMode() && !fullscreen\n }\"\n >\n <ng-content select=\"c8y-dashboard-child-title\"></ng-content>\n\n @if (actions.length > 0) {\n <div class=\"header-actions d-flex a-i-center\">\n @for (headerTemplate of additionalHeaderTemplates$ | async; track headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate.template\"></ng-container>\n }\n\n @if (editMode()) {\n <div\n class=\"dropdown\"\n placement=\"bottom right\"\n dropdown\n c8yDropdownFocusTrap\n [container]=\"'body'\"\n #sizePreset=\"bs-dropdown\"\n >\n <button\n class=\"btn btn-icon dropdown-toggle c8y-dropdown\"\n [attr.aria-label]=\"'Size' | translate\"\n [tooltip]=\"'Set size' | translate\"\n container=\"body\"\n [delay]=\"500\"\n dropdownToggle\n data-cy=\"c8y-dashboard-child--height-preset\"\n >\n <i\n [c8yIcon]=\"'resize'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n <div\n class=\"dropdown-menu dropdown-menu-right p-16\"\n *dropdownMenu\n >\n @if (dashboard?.layout() === 'custom' && dashboard?.alignViewHeight()) {\n <table class=\"table-bordered table-btn-grid\">\n <caption class=\"sr-only\">\n {{\n 'Select widget size by width and height' | translate\n }}\n </caption>\n <thead>\n <tr>\n <th>\n <span class=\"sr-only\">{{ 'Width / Height' | translate }}</span>\n </th>\n @for (wp of sizePresets; track wp) {\n <th class=\"text-center\">\n <small class=\"text-label-small\">\n {{ wp === 100 ? ('Full' | translate) : wp + '%' }}\n </small>\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (hp of sizePresets; track hp) {\n <tr>\n <th class=\"text-right p-r-4\">\n <small class=\"text-label-small\">\n {{ hp === 100 ? ('Full' | translate) : hp + '%' }}\n </small>\n </th>\n @for (wp of sizePresets; track wp) {\n <td\n class=\"p-2\"\n [attr.data-g-btn]=\"wp\"\n >\n @let active = isActiveSizePreset(wp, hp);\n <button\n class=\"btn btn-dot btn-xs\"\n [class.btn-primary]=\"active\"\n [attr.aria-label]=\"getSizePresetAriaLabel(wp, hp)\"\n type=\"button\"\n (click)=\"setSizePreset(wp, hp)\"\n >\n @if (active) {\n <i\n [c8yIcon]=\"'check'\"\n aria-hidden=\"true\"\n ></i>\n }\n </button>\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n } @else {\n <div class=\"d-col gap-4\">\n <small class=\"text-label-small\">{{ 'Width' | translate }}</small>\n <div\n class=\"btn-group\"\n [attr.aria-label]=\"'Width presets' | translate\"\n role=\"group\"\n >\n @for (wp of sizePresets; track wp) {\n <button\n class=\"btn btn-default btn-sm p-l-4 p-r-4\"\n [class.btn-primary]=\"isActiveWidthPreset(wp)\"\n [attr.aria-label]=\"\n wp === 100\n ? ('Set full width' | translate)\n : ('Set width to {{percent}}%' | translate: { percent: wp })\n \"\n type=\"button\"\n (click)=\"setWidthPreset(wp)\"\n >\n {{ wp === 100 ? ('Full' | translate) : wp + '%' }}\n </button>\n }\n </div>\n </div>\n }\n </div>\n </div>\n } @else {\n @let fullScreenLabel = 'Full screen' | translate;\n @let exitFullScreenLabel = 'Exit full screen' | translate;\n <button\n class=\"btn btn-icon\"\n [attr.aria-label]=\"fullscreen ? exitFullScreenLabel : fullScreenLabel\"\n [tooltip]=\"fullscreen ? exitFullScreenLabel : fullScreenLabel\"\n container=\"body\"\n [delay]=\"500\"\n [disabled]=\"!canToggleFullscreen\"\n (click)=\"toggleFullscreen.next()\"\n data-cy=\"c8y-dashboard-child--settings-fullscreen\"\n >\n <i\n [c8yIcon]=\"fullscreen ? 'compress' : 'expand'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n\n <div\n class=\"optionsBtn dropdown\"\n placement=\"bottom right\"\n dropdown\n c8yDropdownFocusTrap\n [container]=\"'body'\"\n #cardDashboardActions=\"bs-dropdown\"\n >\n @if (editMode()) {\n <button\n class=\"btn btn-icon dropdown-toggle c8y-dropdown\"\n title=\"{{ 'Settings' | translate }}\"\n [attr.aria-label]=\"'Settings' | translate\"\n aria-haspopup=\"true\"\n [attr.aria-expanded]=\"cardDashboardActions.isOpen\"\n data-cy=\"c8y-dashboard-child--settings\"\n (click)=\"(false)\"\n dropdownToggle\n >\n <i\n [c8yIcon]=\"'cog'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n } @else {\n <button\n class=\"btn btn-icon\"\n [attr.aria-label]=\"'Click "Edit widgets" to unlock' | translate\"\n tooltip=\"{{ 'Click "Edit widgets" to unlock' | translate }}\"\n container=\"body\"\n (click)=\"(false)\"\n data-cy=\"c8y-dashboard-child--settings-locked\"\n >\n <i\n [c8yIcon]=\"'lock'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n\n <ul\n class=\"dropdown-menu dropdown-menu-right\"\n style=\"right: -1px\"\n data-cy=\"c8y-dashboard-child--actions-dropdown\"\n *dropdownMenu\n >\n @for (action of actions; track action) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n </ul>\n </div>\n </div>\n }\n </div>\n\n <div class=\"card-inner-scroll\">\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i1$4.TooltipDirective, selector: "[tooltip], [tooltipHtml]", inputs: ["adaptivePosition", "tooltip", "placement", "triggers", "container", "containerClass", "boundariesElement", "isOpen", "isDisabled", "delay", "tooltipHtml", "tooltipPlacement", "tooltipIsOpen", "tooltipEnable", "tooltipAppendToBody", "tooltipAnimation", "tooltipClass", "tooltipContext", "tooltipPopupDelay", "tooltipFadeDuration", "tooltipTrigger"], outputs: ["tooltipChange", "onShown", "onHidden", "tooltipStateChanged"], exportAs: ["bs-tooltip"] }, { kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "ngmodule", type: BsDropdownModule }, { kind: "directive", type: i1$2.BsDropdownMenuDirective, selector: "[bsDropdownMenu],[dropdownMenu]", exportAs: ["bs-dropdown-menu"] }, { kind: "directive", type: i1$2.BsDropdownToggleDirective, selector: "[bsDropdownToggle],[dropdownToggle]", exportAs: ["bs-dropdown-toggle"] }, { kind: "directive", type: i1$2.BsDropdownDirective, selector: "[bsDropdown], [dropdown]", inputs: ["placement", "triggers", "container", "dropup", "autoClose", "isAnimated", "insideClick", "isDisabled", "isOpen"], outputs: ["isOpenChange", "onShown", "onHidden"], exportAs: ["bs-dropdown"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DropdownFocusTrapDirective, selector: "[c8yDropdownFocusTrap]" }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
31040
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.19", type: DashboardChildComponent, isStandalone: true, selector: "c8y-dashboard-child", inputs: { x: { classPropertyName: "x", publicName: "x", isSignal: false, isRequired: false, transformFunction: null }, y: { classPropertyName: "y", publicName: "y", isSignal: false, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: false, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: false, isRequired: false, transformFunction: null }, minH: { classPropertyName: "minH", publicName: "minH", isSignal: false, isRequired: false, transformFunction: null }, minW: { classPropertyName: "minW", publicName: "minW", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: false, isRequired: false, transformFunction: null }, margin: { classPropertyName: "margin", publicName: "margin", isSignal: false, isRequired: false, transformFunction: null }, useIntersection: { classPropertyName: "useIntersection", publicName: "useIntersection", isSignal: false, isRequired: false, transformFunction: null }, isFrozen: { classPropertyName: "isFrozen", publicName: "isFrozen", isSignal: false, isRequired: false, transformFunction: null }, canToggleFullscreen: { classPropertyName: "canToggleFullscreen", publicName: "canToggleFullscreen", isSignal: false, isRequired: false, transformFunction: null }, _editModeInput: { classPropertyName: "_editModeInput", publicName: "editMode", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { changeStart: "changeStart", changeEnd: "changeEnd", toggleFullscreen: "toggleFullscreen" }, host: { properties: { "class.fullscreen": "this.fullscreen" }, classAttribute: "dashboard-grid-child grid-stack-item" }, queries: [{ propertyName: "templateActions", predicate: DashboardChildActionComponent }], usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"klasses\">\n <div\n class=\"card-header-actions card-header-grid\"\n data-cy=\"c8y-dashboard-child--drag-handle\"\n [ngClass]=\"{\n 'drag-handle': editMode() && !fullscreen,\n draggableCursor: editMode() && !fullscreen\n }\"\n >\n <ng-content select=\"c8y-dashboard-child-title\"></ng-content>\n\n @let headerTemplates = additionalHeaderTemplates$ | async;\n @let hasActions = actions.length > 0;\n <!-- Projected header templates (e.g. widget time-context controls) must render even\n without actions \u2014 widgets rely on their instantiation to trigger the first data fetch. -->\n @if (hasActions || headerTemplates?.length) {\n <div class=\"header-actions d-flex a-i-center\">\n @for (headerTemplate of headerTemplates; track headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate.template\"></ng-container>\n }\n\n @if (hasActions) {\n @if (editMode()) {\n <div\n class=\"dropdown\"\n placement=\"bottom right\"\n dropdown\n c8yDropdownFocusTrap\n [container]=\"'body'\"\n #sizePreset=\"bs-dropdown\"\n >\n <button\n class=\"btn btn-icon dropdown-toggle c8y-dropdown\"\n [attr.aria-label]=\"'Size' | translate\"\n [tooltip]=\"'Set size' | translate\"\n container=\"body\"\n [delay]=\"500\"\n dropdownToggle\n data-cy=\"c8y-dashboard-child--height-preset\"\n >\n <i\n [c8yIcon]=\"'resize'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n <div\n class=\"dropdown-menu dropdown-menu-right p-16\"\n *dropdownMenu\n >\n @if (dashboard?.layout() === 'custom' && dashboard?.alignViewHeight()) {\n <table class=\"table-bordered table-btn-grid\">\n <caption class=\"sr-only\">\n {{\n 'Select widget size by width and height' | translate\n }}\n </caption>\n <thead>\n <tr>\n <th>\n <span class=\"sr-only\">{{ 'Width / Height' | translate }}</span>\n </th>\n @for (wp of sizePresets; track wp) {\n <th class=\"text-center\">\n <small class=\"text-label-small\">\n {{ wp === 100 ? ('Full' | translate) : wp + '%' }}\n </small>\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (hp of sizePresets; track hp) {\n <tr>\n <th class=\"text-right p-r-4\">\n <small class=\"text-label-small\">\n {{ hp === 100 ? ('Full' | translate) : hp + '%' }}\n </small>\n </th>\n @for (wp of sizePresets; track wp) {\n <td\n class=\"p-2\"\n [attr.data-g-btn]=\"wp\"\n >\n @let active = isActiveSizePreset(wp, hp);\n <button\n class=\"btn btn-dot btn-xs\"\n [class.btn-primary]=\"active\"\n [attr.aria-label]=\"getSizePresetAriaLabel(wp, hp)\"\n type=\"button\"\n (click)=\"setSizePreset(wp, hp)\"\n >\n @if (active) {\n <i\n [c8yIcon]=\"'check'\"\n aria-hidden=\"true\"\n ></i>\n }\n </button>\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n } @else {\n <div class=\"d-col gap-4\">\n <small class=\"text-label-small\">{{ 'Width' | translate }}</small>\n <div\n class=\"btn-group\"\n [attr.aria-label]=\"'Width presets' | translate\"\n role=\"group\"\n >\n @for (wp of sizePresets; track wp) {\n <button\n class=\"btn btn-default btn-sm p-l-4 p-r-4\"\n [class.btn-primary]=\"isActiveWidthPreset(wp)\"\n [attr.aria-label]=\"\n wp === 100\n ? ('Set full width' | translate)\n : ('Set width to {{percent}}%' | translate: { percent: wp })\n \"\n type=\"button\"\n (click)=\"setWidthPreset(wp)\"\n >\n {{ wp === 100 ? ('Full' | translate) : wp + '%' }}\n </button>\n }\n </div>\n </div>\n }\n </div>\n </div>\n } @else {\n @let fullScreenLabel = 'Full screen' | translate;\n @let exitFullScreenLabel = 'Exit full screen' | translate;\n <button\n class=\"btn btn-icon\"\n [attr.aria-label]=\"fullscreen ? exitFullScreenLabel : fullScreenLabel\"\n [tooltip]=\"fullscreen ? exitFullScreenLabel : fullScreenLabel\"\n container=\"body\"\n [delay]=\"500\"\n [disabled]=\"!canToggleFullscreen\"\n (click)=\"toggleFullscreen.next()\"\n data-cy=\"c8y-dashboard-child--settings-fullscreen\"\n >\n <i\n [c8yIcon]=\"fullscreen ? 'compress' : 'expand'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n\n <div\n class=\"optionsBtn dropdown\"\n placement=\"bottom right\"\n dropdown\n c8yDropdownFocusTrap\n [container]=\"'body'\"\n #cardDashboardActions=\"bs-dropdown\"\n >\n @if (editMode()) {\n <button\n class=\"btn btn-icon dropdown-toggle c8y-dropdown\"\n title=\"{{ 'Settings' | translate }}\"\n [attr.aria-label]=\"'Settings' | translate\"\n aria-haspopup=\"true\"\n [attr.aria-expanded]=\"cardDashboardActions.isOpen\"\n data-cy=\"c8y-dashboard-child--settings\"\n (click)=\"(false)\"\n dropdownToggle\n >\n <i\n [c8yIcon]=\"'cog'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n } @else {\n <button\n class=\"btn btn-icon\"\n [attr.aria-label]=\"'Click "Edit widgets" to unlock' | translate\"\n tooltip=\"{{ 'Click "Edit widgets" to unlock' | translate }}\"\n container=\"body\"\n (click)=\"(false)\"\n data-cy=\"c8y-dashboard-child--settings-locked\"\n >\n <i\n [c8yIcon]=\"'lock'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n\n <ul\n class=\"dropdown-menu dropdown-menu-right\"\n style=\"right: -1px\"\n data-cy=\"c8y-dashboard-child--actions-dropdown\"\n *dropdownMenu\n >\n @for (action of actions; track action) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n </ul>\n </div>\n }\n </div>\n }\n </div>\n\n <div class=\"card-inner-scroll\">\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i1$4.TooltipDirective, selector: "[tooltip], [tooltipHtml]", inputs: ["adaptivePosition", "tooltip", "placement", "triggers", "container", "containerClass", "boundariesElement", "isOpen", "isDisabled", "delay", "tooltipHtml", "tooltipPlacement", "tooltipIsOpen", "tooltipEnable", "tooltipAppendToBody", "tooltipAnimation", "tooltipClass", "tooltipContext", "tooltipPopupDelay", "tooltipFadeDuration", "tooltipTrigger"], outputs: ["tooltipChange", "onShown", "onHidden", "tooltipStateChanged"], exportAs: ["bs-tooltip"] }, { kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "ngmodule", type: BsDropdownModule }, { kind: "directive", type: i1$2.BsDropdownMenuDirective, selector: "[bsDropdownMenu],[dropdownMenu]", exportAs: ["bs-dropdown-menu"] }, { kind: "directive", type: i1$2.BsDropdownToggleDirective, selector: "[bsDropdownToggle],[dropdownToggle]", exportAs: ["bs-dropdown-toggle"] }, { kind: "directive", type: i1$2.BsDropdownDirective, selector: "[bsDropdown], [dropdown]", inputs: ["placement", "triggers", "container", "dropup", "autoClose", "isAnimated", "insideClick", "isDisabled", "isOpen"], outputs: ["isOpenChange", "onShown", "onHidden"], exportAs: ["bs-dropdown"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: DropdownFocusTrapDirective, selector: "[c8yDropdownFocusTrap]" }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
31027
31041
|
}
|
|
31028
31042
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: DashboardChildComponent, decorators: [{
|
|
31029
31043
|
type: Component,
|
|
@@ -31038,7 +31052,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImpo
|
|
|
31038
31052
|
C8yTranslatePipe,
|
|
31039
31053
|
DropdownFocusTrapDirective,
|
|
31040
31054
|
AsyncPipe
|
|
31041
|
-
], template: "<div [ngClass]=\"klasses\">\n <div\n class=\"card-header-actions card-header-grid\"\n data-cy=\"c8y-dashboard-child--drag-handle\"\n [ngClass]=\"{\n 'drag-handle': editMode() && !fullscreen,\n draggableCursor: editMode() && !fullscreen\n }\"\n >\n <ng-content select=\"c8y-dashboard-child-title\"></ng-content>\n\n @
|
|
31055
|
+
], template: "<div [ngClass]=\"klasses\">\n <div\n class=\"card-header-actions card-header-grid\"\n data-cy=\"c8y-dashboard-child--drag-handle\"\n [ngClass]=\"{\n 'drag-handle': editMode() && !fullscreen,\n draggableCursor: editMode() && !fullscreen\n }\"\n >\n <ng-content select=\"c8y-dashboard-child-title\"></ng-content>\n\n @let headerTemplates = additionalHeaderTemplates$ | async;\n @let hasActions = actions.length > 0;\n <!-- Projected header templates (e.g. widget time-context controls) must render even\n without actions \u2014 widgets rely on their instantiation to trigger the first data fetch. -->\n @if (hasActions || headerTemplates?.length) {\n <div class=\"header-actions d-flex a-i-center\">\n @for (headerTemplate of headerTemplates; track headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate.template\"></ng-container>\n }\n\n @if (hasActions) {\n @if (editMode()) {\n <div\n class=\"dropdown\"\n placement=\"bottom right\"\n dropdown\n c8yDropdownFocusTrap\n [container]=\"'body'\"\n #sizePreset=\"bs-dropdown\"\n >\n <button\n class=\"btn btn-icon dropdown-toggle c8y-dropdown\"\n [attr.aria-label]=\"'Size' | translate\"\n [tooltip]=\"'Set size' | translate\"\n container=\"body\"\n [delay]=\"500\"\n dropdownToggle\n data-cy=\"c8y-dashboard-child--height-preset\"\n >\n <i\n [c8yIcon]=\"'resize'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n <div\n class=\"dropdown-menu dropdown-menu-right p-16\"\n *dropdownMenu\n >\n @if (dashboard?.layout() === 'custom' && dashboard?.alignViewHeight()) {\n <table class=\"table-bordered table-btn-grid\">\n <caption class=\"sr-only\">\n {{\n 'Select widget size by width and height' | translate\n }}\n </caption>\n <thead>\n <tr>\n <th>\n <span class=\"sr-only\">{{ 'Width / Height' | translate }}</span>\n </th>\n @for (wp of sizePresets; track wp) {\n <th class=\"text-center\">\n <small class=\"text-label-small\">\n {{ wp === 100 ? ('Full' | translate) : wp + '%' }}\n </small>\n </th>\n }\n </tr>\n </thead>\n <tbody>\n @for (hp of sizePresets; track hp) {\n <tr>\n <th class=\"text-right p-r-4\">\n <small class=\"text-label-small\">\n {{ hp === 100 ? ('Full' | translate) : hp + '%' }}\n </small>\n </th>\n @for (wp of sizePresets; track wp) {\n <td\n class=\"p-2\"\n [attr.data-g-btn]=\"wp\"\n >\n @let active = isActiveSizePreset(wp, hp);\n <button\n class=\"btn btn-dot btn-xs\"\n [class.btn-primary]=\"active\"\n [attr.aria-label]=\"getSizePresetAriaLabel(wp, hp)\"\n type=\"button\"\n (click)=\"setSizePreset(wp, hp)\"\n >\n @if (active) {\n <i\n [c8yIcon]=\"'check'\"\n aria-hidden=\"true\"\n ></i>\n }\n </button>\n </td>\n }\n </tr>\n }\n </tbody>\n </table>\n } @else {\n <div class=\"d-col gap-4\">\n <small class=\"text-label-small\">{{ 'Width' | translate }}</small>\n <div\n class=\"btn-group\"\n [attr.aria-label]=\"'Width presets' | translate\"\n role=\"group\"\n >\n @for (wp of sizePresets; track wp) {\n <button\n class=\"btn btn-default btn-sm p-l-4 p-r-4\"\n [class.btn-primary]=\"isActiveWidthPreset(wp)\"\n [attr.aria-label]=\"\n wp === 100\n ? ('Set full width' | translate)\n : ('Set width to {{percent}}%' | translate: { percent: wp })\n \"\n type=\"button\"\n (click)=\"setWidthPreset(wp)\"\n >\n {{ wp === 100 ? ('Full' | translate) : wp + '%' }}\n </button>\n }\n </div>\n </div>\n }\n </div>\n </div>\n } @else {\n @let fullScreenLabel = 'Full screen' | translate;\n @let exitFullScreenLabel = 'Exit full screen' | translate;\n <button\n class=\"btn btn-icon\"\n [attr.aria-label]=\"fullscreen ? exitFullScreenLabel : fullScreenLabel\"\n [tooltip]=\"fullscreen ? exitFullScreenLabel : fullScreenLabel\"\n container=\"body\"\n [delay]=\"500\"\n [disabled]=\"!canToggleFullscreen\"\n (click)=\"toggleFullscreen.next()\"\n data-cy=\"c8y-dashboard-child--settings-fullscreen\"\n >\n <i\n [c8yIcon]=\"fullscreen ? 'compress' : 'expand'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n\n <div\n class=\"optionsBtn dropdown\"\n placement=\"bottom right\"\n dropdown\n c8yDropdownFocusTrap\n [container]=\"'body'\"\n #cardDashboardActions=\"bs-dropdown\"\n >\n @if (editMode()) {\n <button\n class=\"btn btn-icon dropdown-toggle c8y-dropdown\"\n title=\"{{ 'Settings' | translate }}\"\n [attr.aria-label]=\"'Settings' | translate\"\n aria-haspopup=\"true\"\n [attr.aria-expanded]=\"cardDashboardActions.isOpen\"\n data-cy=\"c8y-dashboard-child--settings\"\n (click)=\"(false)\"\n dropdownToggle\n >\n <i\n [c8yIcon]=\"'cog'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n } @else {\n <button\n class=\"btn btn-icon\"\n [attr.aria-label]=\"'Click "Edit widgets" to unlock' | translate\"\n tooltip=\"{{ 'Click "Edit widgets" to unlock' | translate }}\"\n container=\"body\"\n (click)=\"(false)\"\n data-cy=\"c8y-dashboard-child--settings-locked\"\n >\n <i\n [c8yIcon]=\"'lock'\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n\n <ul\n class=\"dropdown-menu dropdown-menu-right\"\n style=\"right: -1px\"\n data-cy=\"c8y-dashboard-child--actions-dropdown\"\n *dropdownMenu\n >\n @for (action of actions; track action) {\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n }\n </ul>\n </div>\n }\n </div>\n }\n </div>\n\n <div class=\"card-inner-scroll\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
31042
31056
|
}], ctorParameters: () => [{ type: DashboardComponent }, { type: i2$1.DomSanitizer }, { type: i0.ElementRef }, { type: i1$1.TranslateService }], propDecorators: { templateActions: [{
|
|
31043
31057
|
type: ContentChildren,
|
|
31044
31058
|
args: [DashboardChildActionComponent]
|
|
@@ -41354,13 +41368,34 @@ class SplitViewListItemDirective {
|
|
|
41354
41368
|
get role() {
|
|
41355
41369
|
return 'button';
|
|
41356
41370
|
}
|
|
41371
|
+
/**
|
|
41372
|
+
* The row carries `role="button"`, so it has to be reachable and operable like one. Without a tab
|
|
41373
|
+
* stop a screen reader announces a button that a keyboard user can never get to.
|
|
41374
|
+
*/
|
|
41375
|
+
get tabindex() {
|
|
41376
|
+
return '0';
|
|
41377
|
+
}
|
|
41357
41378
|
onClick() {
|
|
41379
|
+
this.select();
|
|
41380
|
+
}
|
|
41381
|
+
/**
|
|
41382
|
+
* Enter and Space activate a button, and Space additionally scrolls the page unless that is
|
|
41383
|
+
* suppressed — so the default is prevented here rather than letting the row select and scroll.
|
|
41384
|
+
*/
|
|
41385
|
+
onKeydown(event) {
|
|
41386
|
+
if (event.key !== 'Enter' && event.key !== ' ') {
|
|
41387
|
+
return;
|
|
41388
|
+
}
|
|
41389
|
+
event.preventDefault();
|
|
41390
|
+
this.select();
|
|
41391
|
+
}
|
|
41392
|
+
select() {
|
|
41358
41393
|
if (this.item && this.selectionService) {
|
|
41359
41394
|
this.selectionService.select(this.item);
|
|
41360
41395
|
}
|
|
41361
41396
|
}
|
|
41362
41397
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SplitViewListItemDirective, deps: [{ token: SplitViewSelectionService, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
41363
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.19", type: SplitViewListItemDirective, isStandalone: true, selector: "[c8ySvListItem]", inputs: { item: ["c8ySvListItem", "item"] }, host: { listeners: { "click": "onClick()" }, properties: { "class.active": "this.isActive", "attr.role": "this.role" }, classAttribute: "pointer" }, ngImport: i0 }); }
|
|
41398
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.19", type: SplitViewListItemDirective, isStandalone: true, selector: "[c8ySvListItem]", inputs: { item: ["c8ySvListItem", "item"] }, host: { listeners: { "click": "onClick()", "keydown": "onKeydown($event)" }, properties: { "class.active": "this.isActive", "attr.role": "this.role", "attr.tabindex": "this.tabindex" }, classAttribute: "pointer" }, ngImport: i0 }); }
|
|
41364
41399
|
}
|
|
41365
41400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImport: i0, type: SplitViewListItemDirective, decorators: [{
|
|
41366
41401
|
type: Directive,
|
|
@@ -41380,9 +41415,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImpo
|
|
|
41380
41415
|
}], role: [{
|
|
41381
41416
|
type: HostBinding,
|
|
41382
41417
|
args: ['attr.role']
|
|
41418
|
+
}], tabindex: [{
|
|
41419
|
+
type: HostBinding,
|
|
41420
|
+
args: ['attr.tabindex']
|
|
41383
41421
|
}], onClick: [{
|
|
41384
41422
|
type: HostListener,
|
|
41385
41423
|
args: ['click']
|
|
41424
|
+
}], onKeydown: [{
|
|
41425
|
+
type: HostListener,
|
|
41426
|
+
args: ['keydown', ['$event']]
|
|
41386
41427
|
}] } });
|
|
41387
41428
|
|
|
41388
41429
|
/**
|
|
@@ -41393,5 +41434,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.19", ngImpo
|
|
|
41393
41434
|
* Generated bundle index. Do not edit.
|
|
41394
41435
|
*/
|
|
41395
41436
|
|
|
41396
|
-
export { ACTIONS_STEPPER, AGGREGATIONS, AGGREGATION_ICONS, AGGREGATION_LABELS, AGGREGATION_LIMITS, AGGREGATION_TEXTS, AGGREGATION_VALUES, AGGREGATION_VALUES_ARR, ARRAY_VALIDATION_PREFIX, ASSET_PATH, AUTO_AGGREGATION_ICON, AUTO_POINTS_TOOLTIP, AUTO_POINTS_TOOLTIP_KEPT, AbstractConfigurationStrategy, ActionBarComponent, ActionBarItemComponent, ActionBarModule, ActionBarService, ActionComponent, ActionControlsExtensionService, ActionModule, ActionOutletComponent, ActionService, AggregationPickerComponent, AggregationService, AlarmRealtimeService, AlarmWithChildrenRealtimeService, AlertComponent, AlertDetailsComponent, AlertModule, AlertOutletBase, AlertOutletComponent, AlertService, AlertTextComponent, AppHrefPipe, AppIconComponent, AppStateService, AppSwitcherComponent, AppSwitcherInlineComponent, AppSwitcherService, ApplicationModule, ApplicationPluginStatus, ApplyRangeClassPipe, AssetDefinitionsService, AssetHierarchyService, AssetLinkPipe, AssetPropertyService, AssetTypesRealtimeService, AssetTypesService, AuditLogComponent, AuditLogModule, AuthenticationModule, BASELINE_COLUMNS, BASELINE_ROWS, BackendVersionFactory, BaseColumn, BaseFilteringFormRendererComponent, BooleanFilterMapper, BootstrapComponent, BootstrapModule, BottomDrawerComponent, BottomDrawerRef, BottomDrawerService, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, BreadcrumbOutletComponent, BreadcrumbService, BuiltInActionType, BytesPipe, C8Y_PLUGIN_CONTEXT_PATH, C8Y_PLUGIN_NAME, C8yComponentOutlet, C8yJSONSchema, C8yStepper, C8yStepperButtons, C8yStepperIcon, C8yStepperProgress, C8yTranslateDirective, C8yTranslateModule, C8yTranslatePipe, C8yTranslationCache, C8yTranslationLoader, C8yValidators, CUSTOM, CachedLocaleDictionaryService, CellRendererComponent, CellRendererContext, CellRendererDefDirective, ChangeCurrentUserPasswordService, ChangeIconComponent, ClipboardModule, ClipboardService, ColorInputComponent, ColorService, ColumnDirective, CommonModule, ConditionalTabsOutletComponent, ConfigureCustomColumnComponent, ConfirmModalComponent, ContextRouteComponent, ContextRouteGuard, ContextRouteService, CookieBannerComponent, CopyDashboardDisabledReason, CoreModule, CoreSearchModule, CountdownIntervalComponent, CountdownIntervalModule, CurrentPasswordModalComponent, CustomColumn, CustomTranslateService, CustomTranslateStore, DATA_GRID_CONFIGURATION_CONTEXT, DATA_GRID_CONFIGURATION_CONTEXT_PROVIDER, DATA_GRID_CONFIGURATION_STRATEGY, DEFAULT_INTERVAL_STATE, DEFAULT_INTERVAL_VALUE, DEFAULT_INTERVAL_VALUES, DRAWER_ANIMATION_TIME, DashboardChildActionComponent, DashboardChildChange, DashboardChildComponent, DashboardChildTitleComponent, DashboardComponent, DashboardModule, DataGridComponent, DataGridModule, DataGridService, DatapointLibraryValidationErrors, DatapointSyncService, DateContextQueryParamNames, DateFilterMapper, DateFormatService, DatePickerComponent, DatePickerModule, DatePipe, DateTimePickerComponent, DateTimePickerModule, DefaultValidationDirective, DeviceBootstrapRealtimeService, DeviceService, DeviceStatusComponent, DeviceStatusModule, DismissAlertStrategy, DocsModule, DocsService, DrawerModule, DrawerOutletComponent, DrawerService, DropAreaComponent, DropAreaModule, DropdownDirectionDirective, DropdownFocusTrapDirective, DynamicBulkDetailsResolver, DynamicBulkIIdentifiedResolver, DynamicComponentAlert, DynamicComponentAlertAggregator, DynamicComponentAlertsComponent, DynamicComponentComponent, DynamicComponentErrorStrategy, DynamicComponentModule, DynamicComponentService, DynamicDatapointsResolver, DynamicFormsModule, DynamicManagedObjectResolver, DynamicResolverService, ES_MAX_TIME_MILLISECONDS, EmailsValidatorDirective, EmptyComponent, EmptyStateComponent, EmptyStateContextDirective, EventRealtimeService, ExpandableRowDirective, ExtensionPointForPlugins, ExtensionPointWithoutStateForPlugins, ExtractArrayValidationErrorsPipe, FeatureCacheService, FeedbackFormComponent, FilePickerComponent, FilePickerFormControlComponent, FilePickerFormControlModule, FilePickerModule, FilesService, FilterByPipe, FilterInputComponent, FilterMapperFactory, FilterMapperModule, FilterMapperPipe, FilterMapperService, FilterNonArrayValidationErrorsPipe, FilteringActionType, FilteringFormRendererComponent, FilteringFormRendererContext, FilteringFormRendererDefDirective, ForOfDirective, FormGroupComponent, FormsModule, GENERIC_FILE_TYPE, GLOBAL_CONTEXT_AUTO_REFRESH, GainsightService, GenericFileIconPipe, GeoService, GetGroupIconPipe, GlobalConfigService, GridDataSource, GroupFragment, GroupService, GroupedFilterChips, GuideDocsComponent, GuideHrefDirective, HOOK_ACTION, HOOK_ACTION_BAR, HOOK_BREADCRUMB, HOOK_COMPONENTS, HOOK_CURRENT_APPLICATION, HOOK_CURRENT_TENANT, HOOK_CURRENT_USER, HOOK_DOCS, HOOK_DYNAMIC_PROVIDER_CONFIG, HOOK_NAVIGATOR_NODES, HOOK_OPTIONS, HOOK_PATTERN_MESSAGES, HOOK_PLUGIN, HOOK_PREVIEW, HOOK_QUERY_PARAM, HOOK_QUERY_PARAM_BOTTOM_DRAWER, HOOK_QUERY_PARAM_MODAL, HOOK_ROUTE, HOOK_SEARCH, HOOK_STEPPER, HOOK_TABS, HOOK_VERSION, HOOK_WIZARD, HeaderBarComponent, HeaderCellRendererDefDirective, HeaderModule, HeaderService, HelpComponent, HelpModule, HighlightComponent, HookProviderTypes, HumanizeAppNamePipe, HumanizePipe, HumanizeValidationMessagePipe, I18nModule, INTERVAL_OPTIONS, IconDirective, IconPanelComponent, IfAllowedDirective, InjectionType, InputGroupEditableComponent, InputGroupListComponent, InputGroupListContainerDirective, InterAppService, IntersectionObserverService, IntervalBasedReload, InventorySearchService, IpRangeInputListComponent, JsonValidationPrettifierDirective, LANGUAGES, LAST_DAY, LAST_HOUR, LAST_MINUTE, LAST_MONTH, LAST_WEEK, LOCALE_PATH, LegacyGridConfigMapperService, LegendFieldWrapper, ListDisplaySwitchComponent, ListDisplaySwitchModule, ListGroupComponent, ListGroupModule, ListItemActionComponent, ListItemBodyComponent, ListItemCheckboxComponent, ListItemCollapseComponent, ListItemComponent, ListItemDragHandleComponent, ListItemFooterComponent, ListItemIconComponent, ListItemRadioComponent, ListItemTimelineComponent, LoadMoreComponent, LoadingComponent, LoadingMessageComponent, MAX_PAGE_SIZE, MESSAGES_CORE_I18N, MOChunkLoaderService, ManagedObjectRealtimeService, ManagedObjectType, MapFunctionPipe, MarkdownToHtmlPipe, MaxValidationDirective, MeasurementRealtimeService, MessageBannerService, MessageDirective, MessagesComponent, MinValidationDirective, MissingTranslationCustomHandler, MoNamePipe, ModalComponent, ModalModule, ModalSelectionMode, ModalService, NEEDED_ROLE_FOR_SETUP, NEW_DASHBOARD_ROUTER_STATE_PROP, NULL_VALUE_PLACEHOLDER, NUMBER_FORMAT_REGEXP, NameTransformPipe, NavigatorBottomModule, NavigatorIconComponent, NavigatorModule, NavigatorNode, NavigatorNodeComponent, NavigatorNodeRoot, NavigatorOutletComponent, NavigatorService, NavigatorTopModule, NewPasswordComponent, NumberPipe, OperationBulkRealtimeService, OperationRealtimeService, OperationResultComponent, OptionsService, OutletDirective, PREVIEW_FEATURE_PROVIDERS, PRODUCT_EXPERIENCE_EVENT_SOURCE, PX_ACTIONS, PX_EVENT_NAME, PackageType, PasswordCheckListComponent, PasswordConfirm, PasswordConfirmModalComponent, PasswordInputComponent, PasswordService, PasswordStrengthCheckerService, PasswordStrengthComponent, PasswordStrengthService, PasswordValidationDirective, PasswordValidationService, PatternMessagesService, Permissions, PhoneValidationDirective, PlatformDetailsService, PluginLoadedPipe, PluginsExportScopes, PluginsLoaderService, PluginsModule, PluginsResolveService, PluginsService, PopoverConfirmComponent, PreviewFeatureButtonComponent, PreviewFeatureShowNotification, PreviewService, ProductExperienceDirective, ProductExperienceModule, ProgressBarComponent, PropertiesListComponent, PropertiesListModule, PropertyValueTransformService, ProviderConfigurationComponent, ProviderConfigurationModule, ProviderConfigurationNodeFactory, ProviderConfigurationRouteFactory, ProviderConfigurationService, ProviderDefinitionsService, PushStatus, PushStatusLabels, QUERY_PARAM_HANDLER_PROVIDERS, QueryParamBottomDrawerFactory, QueryParamBottomDrawerStateService, QueryParamHandlerService, QueryParamModalFactory, QueryParamModalStateService, QuickLinkComponent, QuickLinkModule, RELOAD_QUERY_PARAM, RESOLVING_COMPONENT_WAIT_TIME, RadioFilterMapper, RangeComponent, RangeDirective, RangeDisplayComponent, RangeDisplayModule, RealtimeButtonComponent, RealtimeControlComponent, RealtimeMessage, RealtimeModule, RealtimeService, RealtimeSubjectService, RelativeTimePipe, RequiredInputPlaceholderDirective, ResizableGridComponent, ResolverServerError, RouterModule, RouterService, RouterTabsResolver, SETUP_FINISHED_STEP_ID, SHOW_PREVIEW_FEATURES, SearchComponent, SearchFilters, SearchInputComponent, SearchOutletComponent, SearchResultEmptyComponent, SearchService, SelectComponent, SelectFilterMapper, SelectItemDirective, SelectKeyboardService, SelectLegacyComponent, SelectModalComponent, SelectModalFilterPipe, SelectModalModule, SelectModule, SelectedItemsComponent, SelectedItemsDirective, SendStatus, SendStatusLabels, ServiceRegistry, SetupCompletedComponent, SetupComponent, SetupModule, SetupService, SetupState, SetupStepperFactory, ShortenUserNamePipe, ShouldShowMoPipe, ShowIfFilterPipe, SimpleJsonPathValidatorDirective, SimplifiedAuthService, SkipLinkDirective, SplitViewAlertsComponent, SplitViewComponent, SplitViewDetailsActionsComponent, SplitViewDetailsComponent, SplitViewExtraHeaderComponent, SplitViewFooterComponent, SplitViewHeaderActionsComponent, SplitViewListComponent, SplitViewListItemDirective, SplitViewSelectionService, StateService, Status, StepperModule, StepperOutletComponent, StepperService, Steppers, StringFilterMapper, StringifyObjectPipe, StripHtmlPipe, SupportedApps, TabComponent, TabsModule, TabsOutletComponent, TabsService, TabsetAriaDirective, TenantUiService, TextAreaRowHeightDirective, TextareaAutoresizeDirective, ThemeSwitcherService, TimeIntervalComponent, TimePickerComponent, TimePickerModule, TitleComponent, TitleOutletComponent, TotpChallengeComponent, TotpSetupComponent, TranslateService, TreeNodeCellRendererComponent, TreeNodeColumn, TreeNodeHeaderCellRendererComponent, TypeaheadComponent, TypeaheadFilterMapper, UiSettingsComponent, UiSettingsModule, UniqueInCollectionByPathValidationDirective, UserEditComponent, UserEditModalComponent, UserEngagementsService, UserMenuItemComponent, UserMenuOutletComponent, UserMenuService, UserModule, UserNameInitialsPipe, UserPreferencesConfigurationStrategy, UserPreferencesService, UserPreferencesStorageInventory, UserPreferencesStorageLocal, UserTotpRevokeComponent, UserTotpSetupComponent, VERSION_MODULE_CONFIG, ValidationPattern, VersionListComponent, VersionModule, VersionService, ViewContext, ViewContextServices, VirtualScrollListenerDirective, VirtualScrollWindowDirective, VirtualScrollWindowStrategy, VirtualScrollerWrapperComponent, VisibleControlsPipe, WIDGET_CONFIGURATION_GRID_SIZE, WIDGET_TYPE_VALUES, WILDCARD_SEARCH_FEATURE_KEY, WebSDKVersionFactory, WidgetActionWrapperComponent, WidgetGlobalAutoRefreshService, WidgetTimeContextActionBarPriority, WidgetTimeContextComponent, WidgetTimeContextDateRangeService, WidgetTimeContextMediatorService, WidgetsDashboardComponent, WidgetsDashboardEventService, WizardBodyComponent, WizardComponent, WizardFooterComponent, WizardHeaderComponent, WizardModalService, WizardModule, WizardOutletComponent, WizardService, ZipService, _virtualScrollWindowStrategyFactory, alertOnError, allEntriesAreEqual, asyncValidateArrayElements, colorValidator, deviceAvailabilityIconMap, extraRoutes, fromFactories, fromTrigger, fromTriggerOnce, getActivatedRoute, getAngularLocalesLanguageString, getBasicInputArrayFormFieldConfig, getDictionaryWithTrimmedKeys, getInjectedHooks, gettext, globalAutoRefreshLoading, hookAction, hookActionBar, hookBreadcrumb, hookComponent, hookCurrentApplication, hookCurrentTenant, hookCurrentUser, hookDataGridActionControls, hookDocs, hookDrawer, hookDynamicProviderConfig, hookFilterMapper, hookGeneric, hookNavigator, hookOptions, hookPatternMessages, hookPlugin, hookPreview, hookQueryParam, hookQueryParamBottomDrawer, hookQueryParamModal, hookRoute, hookSearch, hookService, hookStepper, hookTab, hookUserMenu, hookVersion, hookWidget, hookWizard, internalApps, isBinaryFile, isEagerDynamicComponents, isExtensionFactory, isLazyDynamicComponents, isPromise, languagesFactory, loadLocale, localeId, localePathFactory, memoize, minColumnGridTrackSize, operationStatusClasses, operationStatusIcons, provideBootstrapMetadata, provideCommonPipes, provideCommonServices, provideDefaultOptionsAppInitializer, provideI18n, provideLanguageSelectorAppInitializer, providePluginsLoaderServiceAppInitializer, provideTranslationServiceInstance, ratiosByColumnTypes, removeContextIndicators, removeDuplicatesIds, resolveInjectedFactories, retryWithDelay, runGuardsOnParamsOrReloadChange, scaleWidgetDimensions, simpleJsonPathValidator, sortByPriority, stateToFactory, statusAlert, statusClasses, statusIcons, throttle, toObservable, toObservableOfArrays, tooltips, trimTranslationKey, uniqueInCollectionByPathValidator, validateArrayElements, validateInternationalPhoneNumber, viewContextRoutes, wrapperLegendFieldConfig };
|
|
41437
|
+
export { ACTIONS_STEPPER, AGGREGATIONS, AGGREGATION_ICONS, AGGREGATION_LABELS, AGGREGATION_LIMITS, AGGREGATION_TEXTS, AGGREGATION_VALUES, AGGREGATION_VALUES_ARR, ARRAY_VALIDATION_PREFIX, ASSET_PATH, AUTO_AGGREGATION_ICON, AUTO_POINTS_TOOLTIP, AUTO_POINTS_TOOLTIP_KEPT, AbstractConfigurationStrategy, ActionBarComponent, ActionBarItemComponent, ActionBarModule, ActionBarService, ActionComponent, ActionControlsExtensionService, ActionModule, ActionOutletComponent, ActionService, AggregationPickerComponent, AggregationService, AlarmRealtimeService, AlarmWithChildrenRealtimeService, AlertComponent, AlertDetailsComponent, AlertModule, AlertOutletBase, AlertOutletComponent, AlertService, AlertTextComponent, AppHrefPipe, AppIconComponent, AppStateService, AppSwitcherComponent, AppSwitcherInlineComponent, AppSwitcherService, ApplicationModule, ApplicationPluginStatus, ApplyRangeClassPipe, AssetDefinitionsService, AssetHierarchyService, AssetLinkPipe, AssetPropertyService, AssetTypesRealtimeService, AssetTypesService, AuditLogComponent, AuditLogModule, AuthenticationModule, BASELINE_COLUMNS, BASELINE_ROWS, BackendVersionFactory, BaseColumn, BaseFilteringFormRendererComponent, BooleanFilterMapper, BootstrapComponent, BootstrapModule, BottomDrawerComponent, BottomDrawerRef, BottomDrawerService, BreadcrumbComponent, BreadcrumbItemComponent, BreadcrumbModule, BreadcrumbOutletComponent, BreadcrumbService, BuiltInActionType, BytesPipe, C8Y_PLUGIN_CONTEXT_PATH, C8Y_PLUGIN_NAME, C8yComponentOutlet, C8yJSONSchema, C8yStepper, C8yStepperButtons, C8yStepperIcon, C8yStepperProgress, C8yTranslateDirective, C8yTranslateModule, C8yTranslatePipe, C8yTranslationCache, C8yTranslationLoader, C8yValidators, CUSTOM, CachedLocaleDictionaryService, CellRendererComponent, CellRendererContext, CellRendererDefDirective, ChangeCurrentUserPasswordService, ChangeIconComponent, ClipboardModule, ClipboardService, ColorInputComponent, ColorService, ColumnDirective, CommonModule, ConditionalTabsOutletComponent, ConfigureCustomColumnComponent, ConfirmModalComponent, ContextRouteComponent, ContextRouteGuard, ContextRouteService, CookieBannerComponent, CopyDashboardDisabledReason, CoreModule, CoreSearchModule, CountdownIntervalComponent, CountdownIntervalModule, CurrentPasswordModalComponent, CustomColumn, CustomTranslateService, CustomTranslateStore, DATA_GRID_CONFIGURATION_CONTEXT, DATA_GRID_CONFIGURATION_CONTEXT_PROVIDER, DATA_GRID_CONFIGURATION_STRATEGY, DEFAULT_INTERVAL_STATE, DEFAULT_INTERVAL_VALUE, DEFAULT_INTERVAL_VALUES, DRAWER_ANIMATION_TIME, DashboardChildActionComponent, DashboardChildChange, DashboardChildComponent, DashboardChildTitleComponent, DashboardComponent, DashboardModule, DataGridComponent, DataGridModule, DataGridService, DatapointLibraryValidationErrors, DatapointSyncService, DateContextQueryParamNames, DateFilterMapper, DateFormatService, DatePickerComponent, DatePickerModule, DatePipe, DateTimePickerComponent, DateTimePickerModule, DefaultValidationDirective, DeviceBootstrapRealtimeService, DeviceService, DeviceStatusComponent, DeviceStatusModule, DismissAlertStrategy, DocsModule, DocsService, DrawerModule, DrawerOutletComponent, DrawerService, DropAreaComponent, DropAreaModule, DropdownDirectionDirective, DropdownFocusTrapDirective, DynamicBulkDetailsResolver, DynamicBulkIIdentifiedResolver, DynamicComponentAlert, DynamicComponentAlertAggregator, DynamicComponentAlertsComponent, DynamicComponentComponent, DynamicComponentErrorStrategy, DynamicComponentModule, DynamicComponentService, DynamicDatapointsResolver, DynamicFormsModule, DynamicManagedObjectResolver, DynamicResolverService, ES_MAX_TIME_MILLISECONDS, EmailsValidatorDirective, EmptyComponent, EmptyStateComponent, EmptyStateContextDirective, EventRealtimeService, ExpandableRowDirective, ExtensionPointForPlugins, ExtensionPointWithoutStateForPlugins, ExtractArrayValidationErrorsPipe, FeatureCacheService, FeedbackFormComponent, FilePickerComponent, FilePickerFormControlComponent, FilePickerFormControlModule, FilePickerModule, FilesService, FilterByPipe, FilterInputComponent, FilterMapperFactory, FilterMapperModule, FilterMapperPipe, FilterMapperService, FilterNonArrayValidationErrorsPipe, FilteringActionType, FilteringFormRendererComponent, FilteringFormRendererContext, FilteringFormRendererDefDirective, ForOfDirective, FormGroupComponent, FormsModule, GENERIC_FILE_TYPE, GLOBAL_CONTEXT_AUTO_REFRESH, GainsightService, GenericFileIconPipe, GeoService, GetGroupIconPipe, GlobalConfigService, GridDataSource, GroupFragment, GroupService, GroupedFilterChips, GuideDocsComponent, GuideHrefDirective, HOOK_ACTION, HOOK_ACTION_BAR, HOOK_BREADCRUMB, HOOK_COMPONENTS, HOOK_CURRENT_APPLICATION, HOOK_CURRENT_TENANT, HOOK_CURRENT_USER, HOOK_DOCS, HOOK_DYNAMIC_PROVIDER_CONFIG, HOOK_NAVIGATOR_NODES, HOOK_OPTIONS, HOOK_PATTERN_MESSAGES, HOOK_PLUGIN, HOOK_PREVIEW, HOOK_QUERY_PARAM, HOOK_QUERY_PARAM_BOTTOM_DRAWER, HOOK_QUERY_PARAM_MODAL, HOOK_ROUTE, HOOK_SEARCH, HOOK_SKIP_APP_KEY_HEADER, HOOK_STEPPER, HOOK_TABS, HOOK_VERSION, HOOK_WIZARD, HeaderBarComponent, HeaderCellRendererDefDirective, HeaderModule, HeaderService, HelpComponent, HelpModule, HighlightComponent, HookProviderTypes, HumanizeAppNamePipe, HumanizePipe, HumanizeValidationMessagePipe, I18nModule, INTERVAL_OPTIONS, IconDirective, IconPanelComponent, IfAllowedDirective, InjectionType, InputGroupEditableComponent, InputGroupListComponent, InputGroupListContainerDirective, InterAppService, IntersectionObserverService, IntervalBasedReload, InventorySearchService, IpRangeInputListComponent, JsonValidationPrettifierDirective, LANGUAGES, LAST_DAY, LAST_HOUR, LAST_MINUTE, LAST_MONTH, LAST_WEEK, LOCALE_PATH, LegacyGridConfigMapperService, LegendFieldWrapper, ListDisplaySwitchComponent, ListDisplaySwitchModule, ListGroupComponent, ListGroupModule, ListItemActionComponent, ListItemBodyComponent, ListItemCheckboxComponent, ListItemCollapseComponent, ListItemComponent, ListItemDragHandleComponent, ListItemFooterComponent, ListItemIconComponent, ListItemRadioComponent, ListItemTimelineComponent, LoadMoreComponent, LoadingComponent, LoadingMessageComponent, MAX_PAGE_SIZE, MESSAGES_CORE_I18N, MOChunkLoaderService, ManagedObjectRealtimeService, ManagedObjectType, MapFunctionPipe, MarkdownToHtmlPipe, MaxValidationDirective, MeasurementRealtimeService, MessageBannerService, MessageDirective, MessagesComponent, MinValidationDirective, MissingTranslationCustomHandler, MoNamePipe, ModalComponent, ModalModule, ModalSelectionMode, ModalService, NEEDED_ROLE_FOR_SETUP, NEW_DASHBOARD_ROUTER_STATE_PROP, NULL_VALUE_PLACEHOLDER, NUMBER_FORMAT_REGEXP, NameTransformPipe, NavigatorBottomModule, NavigatorIconComponent, NavigatorModule, NavigatorNode, NavigatorNodeComponent, NavigatorNodeRoot, NavigatorOutletComponent, NavigatorService, NavigatorTopModule, NewPasswordComponent, NumberPipe, OperationBulkRealtimeService, OperationRealtimeService, OperationResultComponent, OptionsService, OutletDirective, PREVIEW_FEATURE_PROVIDERS, PRODUCT_EXPERIENCE_EVENT_SOURCE, PX_ACTIONS, PX_EVENT_NAME, PackageType, PasswordCheckListComponent, PasswordConfirm, PasswordConfirmModalComponent, PasswordInputComponent, PasswordService, PasswordStrengthCheckerService, PasswordStrengthComponent, PasswordStrengthService, PasswordValidationDirective, PasswordValidationService, PatternMessagesService, Permissions, PhoneValidationDirective, PlatformDetailsService, PluginLoadedPipe, PluginsExportScopes, PluginsLoaderService, PluginsModule, PluginsResolveService, PluginsService, PopoverConfirmComponent, PreviewFeatureButtonComponent, PreviewFeatureShowNotification, PreviewService, ProductExperienceDirective, ProductExperienceModule, ProgressBarComponent, PropertiesListComponent, PropertiesListModule, PropertyValueTransformService, ProviderConfigurationComponent, ProviderConfigurationModule, ProviderConfigurationNodeFactory, ProviderConfigurationRouteFactory, ProviderConfigurationService, ProviderDefinitionsService, PushStatus, PushStatusLabels, QUERY_PARAM_HANDLER_PROVIDERS, QueryParamBottomDrawerFactory, QueryParamBottomDrawerStateService, QueryParamHandlerService, QueryParamModalFactory, QueryParamModalStateService, QuickLinkComponent, QuickLinkModule, RELOAD_QUERY_PARAM, RESOLVING_COMPONENT_WAIT_TIME, RadioFilterMapper, RangeComponent, RangeDirective, RangeDisplayComponent, RangeDisplayModule, RealtimeButtonComponent, RealtimeControlComponent, RealtimeMessage, RealtimeModule, RealtimeService, RealtimeSubjectService, RelativeTimePipe, RequiredInputPlaceholderDirective, ResizableGridComponent, ResolverServerError, RouterModule, RouterService, RouterTabsResolver, SETUP_FINISHED_STEP_ID, SHOW_PREVIEW_FEATURES, SearchComponent, SearchFilters, SearchInputComponent, SearchOutletComponent, SearchResultEmptyComponent, SearchService, SelectComponent, SelectFilterMapper, SelectItemDirective, SelectKeyboardService, SelectLegacyComponent, SelectModalComponent, SelectModalFilterPipe, SelectModalModule, SelectModule, SelectedItemsComponent, SelectedItemsDirective, SendStatus, SendStatusLabels, ServiceRegistry, SetupCompletedComponent, SetupComponent, SetupModule, SetupService, SetupState, SetupStepperFactory, ShortenUserNamePipe, ShouldShowMoPipe, ShowIfFilterPipe, SimpleJsonPathValidatorDirective, SimplifiedAuthService, SkipLinkDirective, SplitViewAlertsComponent, SplitViewComponent, SplitViewDetailsActionsComponent, SplitViewDetailsComponent, SplitViewExtraHeaderComponent, SplitViewFooterComponent, SplitViewHeaderActionsComponent, SplitViewListComponent, SplitViewListItemDirective, SplitViewSelectionService, StateService, Status, StepperModule, StepperOutletComponent, StepperService, Steppers, StringFilterMapper, StringifyObjectPipe, StripHtmlPipe, SupportedApps, TabComponent, TabsModule, TabsOutletComponent, TabsService, TabsetAriaDirective, TenantUiService, TextAreaRowHeightDirective, TextareaAutoresizeDirective, ThemeSwitcherService, TimeIntervalComponent, TimePickerComponent, TimePickerModule, TitleComponent, TitleOutletComponent, TotpChallengeComponent, TotpSetupComponent, TranslateService, TreeNodeCellRendererComponent, TreeNodeColumn, TreeNodeHeaderCellRendererComponent, TypeaheadComponent, TypeaheadFilterMapper, UiSettingsComponent, UiSettingsModule, UniqueInCollectionByPathValidationDirective, UserEditComponent, UserEditModalComponent, UserEngagementsService, UserMenuItemComponent, UserMenuOutletComponent, UserMenuService, UserModule, UserNameInitialsPipe, UserPreferencesConfigurationStrategy, UserPreferencesService, UserPreferencesStorageInventory, UserPreferencesStorageLocal, UserTotpRevokeComponent, UserTotpSetupComponent, VERSION_MODULE_CONFIG, ValidationPattern, VersionListComponent, VersionModule, VersionService, ViewContext, ViewContextServices, VirtualScrollListenerDirective, VirtualScrollWindowDirective, VirtualScrollWindowStrategy, VirtualScrollerWrapperComponent, VisibleControlsPipe, WIDGET_CONFIGURATION_GRID_SIZE, WIDGET_TYPE_VALUES, WILDCARD_SEARCH_FEATURE_KEY, WebSDKVersionFactory, WidgetActionWrapperComponent, WidgetGlobalAutoRefreshService, WidgetTimeContextActionBarPriority, WidgetTimeContextComponent, WidgetTimeContextDateRangeService, WidgetTimeContextMediatorService, WidgetsDashboardComponent, WidgetsDashboardEventService, WizardBodyComponent, WizardComponent, WizardFooterComponent, WizardHeaderComponent, WizardModalService, WizardModule, WizardOutletComponent, WizardService, ZipService, _virtualScrollWindowStrategyFactory, alertOnError, allEntriesAreEqual, asyncValidateArrayElements, colorValidator, deviceAvailabilityIconMap, extraRoutes, fromFactories, fromTrigger, fromTriggerOnce, getActivatedRoute, getAngularLocalesLanguageString, getBasicInputArrayFormFieldConfig, getDictionaryWithTrimmedKeys, getInjectedHooks, gettext, globalAutoRefreshLoading, hookAction, hookActionBar, hookBreadcrumb, hookComponent, hookCurrentApplication, hookCurrentTenant, hookCurrentUser, hookDataGridActionControls, hookDocs, hookDrawer, hookDynamicProviderConfig, hookFilterMapper, hookGeneric, hookNavigator, hookOptions, hookPatternMessages, hookPlugin, hookPreview, hookQueryParam, hookQueryParamBottomDrawer, hookQueryParamModal, hookRoute, hookSearch, hookService, hookStepper, hookTab, hookUserMenu, hookVersion, hookWidget, hookWizard, internalApps, isBinaryFile, isEagerDynamicComponents, isExtensionFactory, isLazyDynamicComponents, isPromise, languagesFactory, loadLocale, localeId, localePathFactory, memoize, minColumnGridTrackSize, operationStatusClasses, operationStatusIcons, provideBootstrapMetadata, provideCommonPipes, provideCommonServices, provideDefaultOptionsAppInitializer, provideI18n, provideLanguageSelectorAppInitializer, providePluginsLoaderServiceAppInitializer, provideSkipAppKeyHeader, provideTranslationServiceInstance, ratiosByColumnTypes, removeContextIndicators, removeDuplicatesIds, resolveInjectedFactories, retryWithDelay, runGuardsOnParamsOrReloadChange, scaleWidgetDimensions, simpleJsonPathValidator, sortByPriority, stateToFactory, statusAlert, statusClasses, statusIcons, throttle, toObservable, toObservableOfArrays, tooltips, trimTranslationKey, uniqueInCollectionByPathValidator, validateArrayElements, validateInternationalPhoneNumber, viewContextRoutes, wrapperLegendFieldConfig };
|
|
41397
41438
|
//# sourceMappingURL=c8y-ngx-components.mjs.map
|