@c8y/ngx-components 1024.0.0 → 1024.1.5
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-datapoint-explorer-devicemanagement.mjs +0 -1
- package/fesm2022/c8y-ngx-components-datapoint-explorer-devicemanagement.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs +4 -6
- package/fesm2022/c8y-ngx-components-operations-bulk-single-operations-list.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-configuration.mjs +493 -417
- package/fesm2022/c8y-ngx-components-repository-configuration.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-repository-shared.mjs +69 -10
- package/fesm2022/c8y-ngx-components-repository-shared.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs +53 -24
- package/fesm2022/c8y-ngx-components-widgets-implementations-quick-links.mjs.map +1 -1
- package/fesm2022/c8y-ngx-components.mjs +51 -24
- package/fesm2022/c8y-ngx-components.mjs.map +1 -1
- package/locales/de.po +42 -39
- package/locales/es.po +32 -29
- package/locales/fr.po +24 -21
- package/locales/ja_JP.po +47 -44
- package/locales/ko.po +30 -27
- package/locales/locales.pot +3 -0
- package/locales/nl.po +27 -24
- package/locales/pl.po +42 -39
- package/locales/pt_BR.po +29 -26
- package/locales/zh_CN.po +28 -25
- package/locales/zh_TW.po +38 -35
- package/package.json +1 -1
- package/types/c8y-ngx-components-datapoint-explorer-devicemanagement.d.ts.map +1 -1
- package/types/c8y-ngx-components-operations-bulk-single-operations-list.d.ts.map +1 -1
- package/types/c8y-ngx-components-repository-configuration.d.ts +30 -11
- package/types/c8y-ngx-components-repository-configuration.d.ts.map +1 -1
- package/types/c8y-ngx-components-repository-shared.d.ts +26 -2
- package/types/c8y-ngx-components-repository-shared.d.ts.map +1 -1
- package/types/c8y-ngx-components-widgets-implementations-quick-links.d.ts +18 -5
- package/types/c8y-ngx-components-widgets-implementations-quick-links.d.ts.map +1 -1
- package/types/c8y-ngx-components.d.ts +16 -5
- package/types/c8y-ngx-components.d.ts.map +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import * as _angular_forms from '@angular/forms';
|
|
2
|
+
import { FormControl, FormArray } from '@angular/forms';
|
|
1
3
|
import * as i0 from '@angular/core';
|
|
2
4
|
import { OnInit, OnDestroy, TemplateRef, PipeTransform } from '@angular/core';
|
|
3
5
|
import { OnBeforeSave } from '@c8y/ngx-components';
|
|
4
6
|
import { IApplication } from '@c8y/client';
|
|
5
|
-
import { FormArray } from '@angular/forms';
|
|
6
7
|
import { Observable } from 'rxjs';
|
|
7
8
|
|
|
8
9
|
interface IQuickLink {
|
|
@@ -46,8 +47,6 @@ type WidgetConversionConfig = {
|
|
|
46
47
|
|
|
47
48
|
declare class QuickLinksWidgetConfigComponent implements OnInit, OnBeforeSave, OnDestroy {
|
|
48
49
|
config: i0.InputSignal<QuickLinksConfig>;
|
|
49
|
-
quickLinksForm: ReturnType<QuickLinksWidgetConfigComponent['initForm']>;
|
|
50
|
-
selectedDisplayOption: DisplayOptionType;
|
|
51
50
|
appsNameChanged: i0.WritableSignal<IApplication[]>;
|
|
52
51
|
addLinkIsCollapsed: boolean;
|
|
53
52
|
set previewSet(template: TemplateRef<any>);
|
|
@@ -59,7 +58,6 @@ declare class QuickLinksWidgetConfigComponent implements OnInit, OnBeforeSave, O
|
|
|
59
58
|
};
|
|
60
59
|
private readonly CHANGE_DEFAULT_ICON_LABEL;
|
|
61
60
|
private readonly SAVE_CHANGES_LABEL;
|
|
62
|
-
get quickLinksFormArray(): FormArray;
|
|
63
61
|
private readonly quickLinksService;
|
|
64
62
|
private readonly modalService;
|
|
65
63
|
private readonly humanizeAppNamePipe;
|
|
@@ -67,7 +65,22 @@ declare class QuickLinksWidgetConfigComponent implements OnInit, OnBeforeSave, O
|
|
|
67
65
|
private readonly formBuilder;
|
|
68
66
|
private readonly translateService;
|
|
69
67
|
private readonly widgetConfigService;
|
|
70
|
-
private readonly
|
|
68
|
+
private readonly form;
|
|
69
|
+
quickLinksForm: _angular_forms.FormGroup<{
|
|
70
|
+
displayOption: FormControl<"Grid" | "List">;
|
|
71
|
+
translateLinkLabels: FormControl<boolean>;
|
|
72
|
+
quickLinks: FormArray<FormControl<unknown>>;
|
|
73
|
+
}>;
|
|
74
|
+
/** Live snapshot of the config form value; single source of truth for the preview. */
|
|
75
|
+
private readonly formValue;
|
|
76
|
+
/**
|
|
77
|
+
* Preview config derived purely from the form. Recomputes automatically on any
|
|
78
|
+
* form change (links, order, display option, translate toggle) — no manual refresh.
|
|
79
|
+
*/
|
|
80
|
+
readonly previewConfig: i0.Signal<QuickLinksConfig>;
|
|
81
|
+
get quickLinksFormArray(): FormArray;
|
|
82
|
+
get displayOptionControl(): FormControl;
|
|
83
|
+
get translateLinkLabelsControl(): FormControl;
|
|
71
84
|
ngOnInit(): void;
|
|
72
85
|
ngOnDestroy(): void;
|
|
73
86
|
getQuickLinks(): IQuickLink[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"c8y-ngx-components-widgets-implementations-quick-links.d.ts","sources":["../../widgets/implementations/quick-links/quick-links.model.ts","../../widgets/implementations/quick-links/quick-links-widget-config/quick-links-widget-config.component.ts","../../widgets/implementations/quick-links/quick-links-widget-view/quick-links-widget-view.component.ts","../../widgets/implementations/quick-links/quick-links.service.ts","../../widgets/implementations/quick-links/relative-url-parser.pipe.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"c8y-ngx-components-widgets-implementations-quick-links.d.ts","sources":["../../widgets/implementations/quick-links/quick-links.model.ts","../../widgets/implementations/quick-links/quick-links-widget-config/quick-links-widget-config.component.ts","../../widgets/implementations/quick-links/quick-links-widget-view/quick-links-widget-view.component.ts","../../widgets/implementations/quick-links/quick-links.service.ts","../../widgets/implementations/quick-links/relative-url-parser.pipe.ts"],"mappings":";;;;;;;;UAIiB,UAAU;;;;;UAKnB,YAAY;AACnB;AAE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G;AACH;AAIA;;;;;AAKG;AACH;yCAhHW,6BAA6B;2CAA7B,6BAA6B;AAqHzC;;ACjJD;;;AAGG;AACH,cACa,iBAAiB;;AAG5B;AACA;AAEA;AAOA;;;;AAIG;AACH,6BAAyB,UAAU,CAAC,UAAU;AAa9C;;;;AAIG;AACH,yCAAqC,UAAU,CAAC,UAAU;AAa1D;;;;AAIG;AACH;AAOA;;;;;;;AAOG;AACH;AASA;;;;;AAKG;AACH;AAiBA;;;;AAIG;AACH;AAMA;;;;;AAKG;AACH;AAMA;;;;;AAKG;AACH;AAcA;;;;;AAKG;AACH;AA4BA;;;;;AAKG;AACH;AASA;;;;;AAKG;AACH;AAUA;;;;;;;AAOG;AACH;AAIA;;;;;;;;;;AAUG;AACH;AA2BA;;;;AAIG;AACH;AAiBA;;;;;;;;AAQG;AACH;AAqBA;;;;;AAKG;AACH;AAIA;;;;;;;;AAQG;AACH;yCA1UW,iBAAiB;6CAAjB,iBAAiB;AAqV7B;;ACtWD,cAGa,qBAAsB,YAAW,aAAa;AACzD;AA4BA;AAIA;AAIA;AAIA;AAIA;yCA7CW,qBAAqB;uCAArB,qBAAqB;AAgDjC;;;;","names":["_angular_core"]}
|
|
@@ -16135,10 +16135,18 @@ declare class FilePickerModule {
|
|
|
16135
16135
|
}
|
|
16136
16136
|
|
|
16137
16137
|
/**
|
|
16138
|
-
* Detects binary files by checking the MIME type first, then
|
|
16139
|
-
*
|
|
16138
|
+
* Detects binary files by checking the MIME type first, then inspecting the leading bytes:
|
|
16139
|
+
* a null byte (git's heuristic) or a high share of non-text characters marks the file as
|
|
16140
|
+
* binary. The second check catches high-entropy content (e.g. random data) that may contain
|
|
16141
|
+
* no null byte in the sample and would otherwise be mistaken for text.
|
|
16142
|
+
*
|
|
16143
|
+
* @param options.ignoreMimeType Skip the MIME-type fast path and always sample the bytes.
|
|
16144
|
+
* Use when the declared type is untrustworthy (e.g. platform-served binaries labelled
|
|
16145
|
+
* `text/plain`) and the content itself must decide text vs. binary.
|
|
16140
16146
|
*/
|
|
16141
|
-
declare function isBinaryFile(file: File
|
|
16147
|
+
declare function isBinaryFile(file: File, options?: {
|
|
16148
|
+
ignoreMimeType?: boolean;
|
|
16149
|
+
}): Promise<boolean>;
|
|
16142
16150
|
|
|
16143
16151
|
interface IAvailableValidators {
|
|
16144
16152
|
fileMaxSize?: boolean;
|
|
@@ -18663,6 +18671,10 @@ declare class DashboardChildComponent implements DashboardChildDimension {
|
|
|
18663
18671
|
* blanked it would no longer be watched; this lets the dashboard put it back under observation.
|
|
18664
18672
|
*/
|
|
18665
18673
|
reobserve(): void;
|
|
18674
|
+
/**
|
|
18675
|
+
* Severs the projected widget content from the card DOM.
|
|
18676
|
+
*/
|
|
18677
|
+
private detachWidgetContent;
|
|
18666
18678
|
private setGridStackAttributes;
|
|
18667
18679
|
private removeFromGridStack;
|
|
18668
18680
|
private removeSelfFromDashboard;
|
|
@@ -18968,7 +18980,6 @@ declare class WidgetsDashboardComponent {
|
|
|
18968
18980
|
private widgetGlobalAutoRefresh;
|
|
18969
18981
|
private router;
|
|
18970
18982
|
private elementRef;
|
|
18971
|
-
private cdr;
|
|
18972
18983
|
set widgets(value: Widget[]);
|
|
18973
18984
|
get widgets(): Widget[];
|
|
18974
18985
|
context: any;
|
|
@@ -19036,7 +19047,7 @@ declare class WidgetsDashboardComponent {
|
|
|
19036
19047
|
private _widgets;
|
|
19037
19048
|
private isLoading$;
|
|
19038
19049
|
private isExecutingResolvers$;
|
|
19039
|
-
constructor(dynamic: DynamicComponentService, translateService: TranslateService$1, route: ActivatedRoute, modal: ModalService, widgetGlobalAutoRefresh: WidgetGlobalAutoRefreshService, router: Router, elementRef: ElementRef
|
|
19050
|
+
constructor(dynamic: DynamicComponentService, translateService: TranslateService$1, route: ActivatedRoute, modal: ModalService, widgetGlobalAutoRefresh: WidgetGlobalAutoRefreshService, router: Router, elementRef: ElementRef);
|
|
19040
19051
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19041
19052
|
canDeactivate(omitConfirm?: boolean): Promise<boolean>;
|
|
19042
19053
|
toggleFullscreen(hasWidget?: boolean): void;
|