@ixon-cdk/types 1.12.0-next.0 → 1.12.0-next.2
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/dist/types/component-context/dialog.d.ts +24 -7
- package/dist/types/component-context/index.d.ts +11 -2
- package/dist/types/ixapi/resources/audience.d.ts +5 -0
- package/dist/types/ixapi/resources/backend-component-template-share.d.ts +2 -2
- package/dist/types/ixapi/resources/index.d.ts +2 -0
- package/dist/types/ixapi/resources/licence-type.d.ts +1 -1
- package/dist/types/ixapi/resources/page-component-template-share.d.ts +7 -0
- package/dist/types/ixapi/resources/reference.d.ts +8 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
interface DialogOptions {
|
|
2
2
|
/** Message to show on the dialog. */
|
|
3
|
-
message
|
|
3
|
+
message?: string;
|
|
4
4
|
/** Title of the dialog. */
|
|
5
|
-
title
|
|
5
|
+
title?: string;
|
|
6
6
|
}
|
|
7
7
|
export interface AlertDialogOptions extends DialogOptions {
|
|
8
8
|
/** Text to use on the action button. Defaults to "Done". */
|
|
@@ -20,7 +20,28 @@ export interface ConfirmDialogOptions extends DialogOptions {
|
|
|
20
20
|
/** Indicates that the confirmation result is destructive. Defaults to false. */
|
|
21
21
|
destructive?: boolean;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface ContentDialogOptions {
|
|
24
|
+
/** HTML content of the dialog. */
|
|
25
|
+
htmlContent: HTMLElement | string;
|
|
26
|
+
/** CSS styles for the dialog content. */
|
|
27
|
+
styles?: string;
|
|
28
|
+
/** Title of the dialog. */
|
|
29
|
+
title?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Called when the dialog is opened.
|
|
32
|
+
*
|
|
33
|
+
* @param shadowRoot The shadow root that contains the HTML content and styles.
|
|
34
|
+
* @param close This function call closes the dialog.
|
|
35
|
+
*/
|
|
36
|
+
onopened?: (shadowRoot: ShadowRoot, close: () => void) => any;
|
|
37
|
+
/**
|
|
38
|
+
* Called when the dialog closes.
|
|
39
|
+
*
|
|
40
|
+
* @param shadowRoot The shadow root that contains the HTML content and styles.
|
|
41
|
+
*/
|
|
42
|
+
onclose?: (shadowRoot: ShadowRoot) => any;
|
|
43
|
+
}
|
|
44
|
+
export interface FormDialogOptions extends DialogOptions {
|
|
24
45
|
/** Text to use on the cancelation action button. Defaults to "Cancel". */
|
|
25
46
|
cancelButtonText?: string;
|
|
26
47
|
/**
|
|
@@ -36,10 +57,6 @@ export interface FormDialogOptions {
|
|
|
36
57
|
initialValue?: any;
|
|
37
58
|
/** Inputs that will be rendered in the dialog content. */
|
|
38
59
|
inputs: any[];
|
|
39
|
-
/** Message to show on the dialog. */
|
|
40
|
-
message?: string;
|
|
41
|
-
/** Title of the dialog. */
|
|
42
|
-
title: string;
|
|
43
60
|
}
|
|
44
61
|
export interface FormDialogResult {
|
|
45
62
|
/** The form value that was submitted. */
|
|
@@ -6,12 +6,12 @@ import type { ResourceDataClient } from '../resource-data';
|
|
|
6
6
|
import type { VpnClientStatus } from '../vpn-client';
|
|
7
7
|
import type { ComponentContextAppData } from './app-data';
|
|
8
8
|
import type { ActionBottomSheetOptions, ActionBottomSheetResult } from './bottom-sheet';
|
|
9
|
-
import type { AlertDialogOptions, ConfirmDialogOptions, FormDialogOptions, FormDialogResult } from './dialog';
|
|
9
|
+
import type { AlertDialogOptions, ConfirmDialogOptions, ContentDialogOptions, FormDialogOptions, FormDialogResult } from './dialog';
|
|
10
10
|
import type { ActionMenuOptions, ActionMenuResult } from './menu';
|
|
11
11
|
import type { Tooltip, TooltipOptions } from './tooltip';
|
|
12
12
|
export type { ComponentContextAppData } from './app-data';
|
|
13
13
|
export type { ActionBottomSheetAction, ActionBottomSheetOptions, ActionBottomSheetResult } from './bottom-sheet';
|
|
14
|
-
export type { AlertDialogOptions, ConfirmDialogOptions, FormDialogOptions, FormDialogResult } from './dialog';
|
|
14
|
+
export type { AlertDialogOptions, ConfirmDialogOptions, ContentDialogOptions, FormDialogOptions, FormDialogResult, } from './dialog';
|
|
15
15
|
export type { ActionMenuAction, ActionMenuOptions, ActionMenuResult } from './menu';
|
|
16
16
|
export type { Tooltip, TooltipOptions } from './tooltip';
|
|
17
17
|
export * from './input';
|
|
@@ -160,6 +160,15 @@ export interface ComponentContext<ComponentContextInputs extends object = {
|
|
|
160
160
|
* @param options configures the confirm dialog
|
|
161
161
|
*/
|
|
162
162
|
openConfirmDialog(options: ConfirmDialogOptions): Promise<boolean | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* Opens a content dialog.
|
|
165
|
+
*
|
|
166
|
+
* @param options configures the content dialog
|
|
167
|
+
*
|
|
168
|
+
* @experimental
|
|
169
|
+
* @ignore
|
|
170
|
+
*/
|
|
171
|
+
openContentDialog(options: ContentDialogOptions): Promise<undefined>;
|
|
163
172
|
/**
|
|
164
173
|
* Opens a form dialog.
|
|
165
174
|
*
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import type { AgentReference, AssetReference } from './reference';
|
|
1
2
|
export interface Audience {
|
|
3
|
+
agents?: AgentReference[];
|
|
4
|
+
assets?: AssetReference[];
|
|
2
5
|
custom?: {};
|
|
3
6
|
default?: boolean;
|
|
4
7
|
description?: string | null;
|
|
5
8
|
name?: string;
|
|
6
9
|
publicId: string;
|
|
10
|
+
type?: AudienceType | null;
|
|
7
11
|
}
|
|
12
|
+
export type AudienceType = 'alarm' | 'page' | 'service';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CompanyReference } from './company';
|
|
2
2
|
import type { ResLink } from './res-link';
|
|
3
3
|
export interface BackendComponentTemplateShare {
|
|
4
|
-
company
|
|
4
|
+
company?: CompanyReference | null;
|
|
5
5
|
publicId: string;
|
|
6
|
-
template
|
|
6
|
+
template?: ResLink;
|
|
7
7
|
}
|
|
@@ -82,6 +82,7 @@ export * from './page-component-template-category';
|
|
|
82
82
|
export * from './page-component-template-config';
|
|
83
83
|
export * from './page-component-template-manifest';
|
|
84
84
|
export * from './page-component-template-version';
|
|
85
|
+
export * from './page-component-template-share';
|
|
85
86
|
export * from './page-link';
|
|
86
87
|
export * from './page-link-group';
|
|
87
88
|
export * from './page-page';
|
|
@@ -90,6 +91,7 @@ export * from './password-change';
|
|
|
90
91
|
export * from './permission';
|
|
91
92
|
export * from './platform-server';
|
|
92
93
|
export * from './policy';
|
|
94
|
+
export * from './reference';
|
|
93
95
|
export * from './registration';
|
|
94
96
|
export * from './report-recurrence';
|
|
95
97
|
export * from './report-schedule';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type LicenceTypeScope = 'agent' | 'company';
|
|
2
|
-
export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'main-pages' | 'm2m-cloud-cluster' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'remote-access' | 'reporting' | 'sla' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
2
|
+
export type LicenceUsageType = 'advanced-user-management' | 'agent-registration-profile' | 'alarming' | 'api-integrations' | 'app-engine-level-1' | 'app-engine-level-2' | 'asset-management' | 'card-view' | 'connection-monitoring' | 'custom-branding' | 'custom-domain' | 'custom-fields' | 'custom-legal' | 'custom-legal-legacy' | 'custom-sso' | 'ixagent' | 'landing-page' | 'live-data' | 'logging' | 'main-pages' | 'm2m-cloud-cluster' | 'mobile-app' | 'mqtt-device' | 'object-storage' | 'premium-branding' | 'remote-access' | 'reporting' | 'request-access' | 'sla' | 'subgroups' | 'temporary-access' | 'vpn-access-rule' | 'vpn-usage';
|
|
3
3
|
export interface LicenceType {
|
|
4
4
|
companyLimit?: number | null;
|
|
5
5
|
publicId: string;
|