@pitcher/js-api 1.26.0-beta.7 → 1.26.0-beta.8
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/impact-js-api.spec.json +9 -0
- package/js-api.esm.js +64 -1
- package/js-api.esm.js.map +1 -1
- package/js-api.umd.min.js +9 -9
- package/js-api.umd.min.js.map +1 -1
- package/lib/apps/agenda-selector/components/modals/ApplicationBlockSelectorModal.vue.d.ts +148 -36
- package/lib/apps/browser/components/UploadFilesModal/UploadFilesModal.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/AddComponentModal/AddComponentModal.vue.d.ts +148 -36
- package/lib/apps/canvas-builder/components/container/CanvasContent/CanvasContent.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/container/Navigator/Navigator.vue.d.ts +162 -37
- package/lib/apps/canvas-builder/components/ui/Carousel/Carousel.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/ContentGrid/ContentGridCarousel.vue.d.ts +20 -20
- package/lib/apps/canvas-builder/components/ui/Embeddable/Embeddable.settings.vue.d.ts +4 -4
- package/lib/apps/canvas-builder/components/ui/IFrame/IFrame.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Link/Link.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Multimedia/Multimedia.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Page/Page.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/Root/Root.settings.vue.d.ts +2 -2
- package/lib/apps/canvas-builder/components/ui/SectionList/SectionSelectorToolbar.vue.d.ts +12 -0
- package/lib/apps/canvas-builder/composables/useCanvas.d.ts +12 -0
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +2 -0
- package/lib/apps/content-selector/components/Assets.vue.d.ts +2 -2
- package/lib/apps/content-selector/components/Content.vue.d.ts +2 -2
- package/lib/components/CCarousel/CCarousel.vue.d.ts +98 -20
- package/lib/components/CConfigEditor/CConfigEditor.vue.d.ts +2 -2
- package/lib/components/CContactSelector/CContactSelectorAccountsWithContacts.vue.d.ts +3 -3
- package/lib/components/CCreateTemplateSectionBlockModal/CCreateTemplateSectionBlockModal.vue.d.ts +2 -2
- package/lib/components/CCreateThemeModal/steps/CThemeSettingsStep.vue.d.ts +10 -8
- package/lib/components/CDataTable/CDataTable.vue.d.ts +876 -100
- package/lib/components/CFileViewer/pdf/CFileViewerPageDrawer.pdf.vue.d.ts +2 -2
- package/lib/components/CImage/CImage.vue.d.ts +99 -20
- package/lib/components/CInput/CInput.vue.d.ts +148 -36
- package/lib/components/CRichTextEditor/components/CDynamicValueTreeSelect.vue.d.ts +288 -80
- package/lib/components/CRichTextEditor/components/CFormatterWithFieldSelect.vue.d.ts +468 -130
- package/lib/components/CRichTextEditor/components/CHandlebarsHelperTreeSelect.vue.d.ts +288 -80
- package/lib/components/CRichTextEditor/components/CHyperLinkToolbar.vue.d.ts +148 -36
- package/lib/components/CTableInput/CTableInput.vue.d.ts +296 -72
- package/lib/components/CTableTag/CTableTag.vue.d.ts +290 -38
- package/lib/components/CTags/CTags.vue.d.ts +290 -38
- package/lib/components/CUpsertFolderModal/CUpsertFolderModal.vue.d.ts +2 -2
- package/lib/components/CUserMenu/CUserMenu.vue.d.ts +108 -30
- package/lib/components/savedCanvases/CSavedCanvasesManagementOwnerCell.vue.d.ts +176 -46
- package/lib/constants/cdp.const.d.ts +3 -0
- package/lib/sdk/api/HighLevelApi.d.ts +3 -0
- package/lib/sdk/api/modules/query.d.ts +75 -2
- package/lib/sdk/main.d.ts +9 -0
- package/lib/sdk/payload.types.d.ts +51 -0
- package/lib/sdk/peer-connectivity/peerConnectivity.constants.d.ts +1 -0
- package/lib/theme/light.d.ts +113 -8
- package/lib/types/app.d.ts +7 -0
- package/lib/types/launchDarkly.types.d.ts +1 -1
- package/lib/types/organizationSettings.types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryPayload, CRMQueryPayload } from '../../payload.types';
|
|
1
|
+
import { QueryPayload, CRMQueryPayload, UpsertCRMObjectsPayload, CRMSmartObjectValidationRulesPayload, CRMSmartObjectMetadataPayload } from '../../payload.types';
|
|
2
2
|
export declare function query(payload: QueryPayload): Promise<any>;
|
|
3
3
|
export declare function crmQuery(payload: CRMQueryPayload): Promise<any>;
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ export declare function crmQuery(payload: CRMQueryPayload): Promise<any>;
|
|
|
6
6
|
* Uses Salesforce Mobile SDK SmartStore query syntax.
|
|
7
7
|
* Validates that the query uses SmartStore syntax before execution.
|
|
8
8
|
*
|
|
9
|
-
* @param {CRMQueryPayload} payload - The query payload containing the SmartStore query string
|
|
9
|
+
* @param {CRMQueryPayload} payload - The query payload containing the SmartStore query string.
|
|
10
10
|
* @returns {Promise<Array<any>>} - Promise resolving with an array of query results from SmartStore.
|
|
11
11
|
* @throws {Error} - Throws an error if the query is not a valid SmartStore query.
|
|
12
12
|
*
|
|
@@ -15,3 +15,76 @@ export declare function crmQuery(payload: CRMQueryPayload): Promise<any>;
|
|
|
15
15
|
* api.crmSmartQuery({ query: 'SELECT {Account:Id}, {Account:Name} FROM {Account} ORDER BY {Account:Name} LIMIT 10' })
|
|
16
16
|
*/
|
|
17
17
|
export declare function crmSmartQuery(payload: CRMQueryPayload): Promise<Array<any>>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves metadata for a CRM smart object (iOS only).
|
|
20
|
+
* Fetches object metadata from the Salesforce Mobile SDK cache.
|
|
21
|
+
*
|
|
22
|
+
* @param {CRMSmartObjectMetadataPayload} payload - The payload containing the object name.
|
|
23
|
+
* @returns {Promise<any>} - Promise resolving with the object metadata.
|
|
24
|
+
* @throws {Error} - Throws an error if the object name is not provided.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* // iOS only method to retrieve CRM object metadata.
|
|
28
|
+
* api.crmSmartObjectMetadata({ object: 'Account' })
|
|
29
|
+
*/
|
|
30
|
+
export declare function crmSmartObjectMetadata(payload: CRMSmartObjectMetadataPayload): Promise<any>;
|
|
31
|
+
/**
|
|
32
|
+
* Upserts CRM objects into local CRM data (iOS only).
|
|
33
|
+
* Uses Salesforce Mobile SDK SmartStore to insert or update records.
|
|
34
|
+
* Each object in the payload specifies a table name, the objects to upsert, and an optional external ID path.
|
|
35
|
+
*
|
|
36
|
+
* **Important**: Always provide `external_id_path` when performing updates to ensure records are
|
|
37
|
+
* matched correctly. Without it, the operation may create duplicate records instead of updating existing ones.
|
|
38
|
+
*
|
|
39
|
+
* **Note**: When creating new records, you must provide an explicit identifier field (e.g., `Id`)
|
|
40
|
+
* in each record object passed from the frontend. The backend does not auto-generate IDs.
|
|
41
|
+
*
|
|
42
|
+
* @param {UpsertCRMObjectsPayload} payload - The upsert payload containing an array of UpsertCRMObject items.
|
|
43
|
+
* @returns {Promise<any>} - Promise resolving with the result of the upsert operation.
|
|
44
|
+
* @throws {Error} - Throws an error if the payload is invalid.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* // iOS only method to upsert CRM objects.
|
|
48
|
+
*
|
|
49
|
+
* // Updating existing records - always include external_id_path
|
|
50
|
+
* api.crmSmartUpsertObjects({
|
|
51
|
+
* objects: [
|
|
52
|
+
* {
|
|
53
|
+
* table_name: 'Account',
|
|
54
|
+
* objects: [{ Id: '001xx000003DGbQAAW', Name: 'Acme Corp Updated' }],
|
|
55
|
+
* external_id_path: 'Id' // Required for updates to match existing records
|
|
56
|
+
* }
|
|
57
|
+
* ]
|
|
58
|
+
* })
|
|
59
|
+
*
|
|
60
|
+
* // Creating new records - explicit ID required in each record
|
|
61
|
+
* api.crmSmartUpsertObjects({
|
|
62
|
+
* objects: [
|
|
63
|
+
* {
|
|
64
|
+
* table_name: 'Account',
|
|
65
|
+
* objects: [
|
|
66
|
+
* { Id: '001xx000003NEW001', Name: 'New Company' }, // Explicit ID required
|
|
67
|
+
* { Id: '001xx000003NEW002', Name: 'Another Company' }
|
|
68
|
+
* ]
|
|
69
|
+
* }
|
|
70
|
+
* ]
|
|
71
|
+
* })
|
|
72
|
+
*/
|
|
73
|
+
export declare function crmSmartUpsertObjects(payload: UpsertCRMObjectsPayload): Promise<any>;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves validation rules for a CRM smart object (iOS only).
|
|
76
|
+
* This method fetches the validation rules configured for a specific CRM object type
|
|
77
|
+
* from the local SmartStore cache.
|
|
78
|
+
*
|
|
79
|
+
* @param {CRMSmartObjectValidationRulesPayload} payload - The payload containing the object name.
|
|
80
|
+
* @returns {Promise<any>} - Promise resolving with the validation rules for the specified object.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* // iOS only method to get validation rules for an Account object.
|
|
84
|
+
* api.crmSmartObjectValidationRules({ object: 'Account' })
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* // Get validation rules for a Contact object.
|
|
88
|
+
* api.crmSmartObjectValidationRules({ object: 'Contact' })
|
|
89
|
+
*/
|
|
90
|
+
export declare function crmSmartObjectValidationRules(payload: CRMSmartObjectValidationRulesPayload): Promise<any>;
|
package/lib/sdk/main.d.ts
CHANGED
|
@@ -303,6 +303,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
303
303
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
304
304
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
305
305
|
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
306
|
+
crmSmartObjectMetadata(payload: import('./payload.types').CRMSmartObjectMetadataPayload): Promise<any>;
|
|
307
|
+
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
308
|
+
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
306
309
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
307
310
|
getFolder(payload?: {
|
|
308
311
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -580,6 +583,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
580
583
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
581
584
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
582
585
|
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
586
|
+
crmSmartObjectMetadata(payload: import('./payload.types').CRMSmartObjectMetadataPayload): Promise<any>;
|
|
587
|
+
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
588
|
+
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
583
589
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
584
590
|
getFolder(payload?: {
|
|
585
591
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -793,6 +799,9 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
793
799
|
query(payload: import('./payload.types').QueryPayload): Promise<any>;
|
|
794
800
|
crmQuery(payload: import('./payload.types').CRMQueryPayload): Promise<any>;
|
|
795
801
|
crmSmartQuery(payload: import('./payload.types').CRMQueryPayload): Promise<Array<any>>;
|
|
802
|
+
crmSmartObjectMetadata(payload: import('./payload.types').CRMSmartObjectMetadataPayload): Promise<any>;
|
|
803
|
+
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
804
|
+
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
796
805
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
797
806
|
getFolder(payload?: {
|
|
798
807
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -98,6 +98,15 @@ export interface CRMQueryPayload {
|
|
|
98
98
|
*/
|
|
99
99
|
service?: CRMServiceType;
|
|
100
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Payload for retrieving CRM smart object metadata (iOS only).
|
|
103
|
+
*/
|
|
104
|
+
export interface CRMSmartObjectMetadataPayload {
|
|
105
|
+
/**
|
|
106
|
+
* The name of the CRM object to retrieve metadata for (e.g., 'Account', 'Contact', 'Opportunity').
|
|
107
|
+
*/
|
|
108
|
+
object: string;
|
|
109
|
+
}
|
|
101
110
|
/**
|
|
102
111
|
* Payload for submitting user feedback.
|
|
103
112
|
*/
|
|
@@ -288,3 +297,45 @@ export type FolderListRequest = {
|
|
|
288
297
|
page_size?: number;
|
|
289
298
|
id__in?: string[];
|
|
290
299
|
};
|
|
300
|
+
/**
|
|
301
|
+
* Represents a single CRM object to be upserted.
|
|
302
|
+
*/
|
|
303
|
+
export interface UpsertCRMObject {
|
|
304
|
+
/**
|
|
305
|
+
* The name of the CRM table/object to upsert into.
|
|
306
|
+
*/
|
|
307
|
+
table_name: string;
|
|
308
|
+
/**
|
|
309
|
+
* Array of objects to upsert. Each object is a key-value map of field names to values.
|
|
310
|
+
*
|
|
311
|
+
* **Important**: When creating new records, each object must include an explicit identifier field
|
|
312
|
+
* (e.g., `Id`) passed from the frontend. The backend does not auto-generate IDs.
|
|
313
|
+
*/
|
|
314
|
+
objects: Array<Record<string, any>>;
|
|
315
|
+
/**
|
|
316
|
+
* Optional external ID path for identifying records during upsert.
|
|
317
|
+
* Used to determine if a record should be created or updated.
|
|
318
|
+
*
|
|
319
|
+
* **Important**: Always provide this field when performing updates to ensure records are
|
|
320
|
+
* matched correctly. Without it, the operation may create duplicate records instead of updating existing ones.
|
|
321
|
+
*/
|
|
322
|
+
external_id_path?: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Payload for upserting CRM objects (iOS only).
|
|
326
|
+
*/
|
|
327
|
+
export interface UpsertCRMObjectsPayload {
|
|
328
|
+
/**
|
|
329
|
+
* Array of CRM objects to be upserted.
|
|
330
|
+
*/
|
|
331
|
+
objects: UpsertCRMObject[];
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Payload for getting CRM smart object validation rules (iOS only).
|
|
335
|
+
*/
|
|
336
|
+
export interface CRMSmartObjectValidationRulesPayload {
|
|
337
|
+
/**
|
|
338
|
+
* The name of the CRM object (e.g., 'Account', 'Contact', 'Opportunity').
|
|
339
|
+
*/
|
|
340
|
+
object: string;
|
|
341
|
+
}
|
|
@@ -7,6 +7,7 @@ export declare const PeerConnectivityActions: {
|
|
|
7
7
|
readonly ROUTE_CHANGE: "route.change";
|
|
8
8
|
readonly FILE_OPEN: "file.open";
|
|
9
9
|
readonly FILE_CLOSE: "file.close";
|
|
10
|
+
readonly BROWSER_FOLDER_OPEN: "browser.folder.open";
|
|
10
11
|
};
|
|
11
12
|
export declare const DEFAULT_PEER_CONNECTIVITY_VERSION = 1;
|
|
12
13
|
export declare const PEER_CONNECTIVITY_HANDLER_MATCH_ALL = "*";
|
package/lib/theme/light.d.ts
CHANGED
|
@@ -741,7 +741,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
741
741
|
arrowOffsetVertical: string;
|
|
742
742
|
arrowHeight: string;
|
|
743
743
|
padding: string;
|
|
744
|
-
},
|
|
744
|
+
}, {
|
|
745
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
746
|
+
height: string;
|
|
747
|
+
width: string;
|
|
748
|
+
borderRadius: string;
|
|
749
|
+
color: string;
|
|
750
|
+
colorHover: string;
|
|
751
|
+
railInsetHorizontalBottom: string;
|
|
752
|
+
railInsetHorizontalTop: string;
|
|
753
|
+
railInsetVerticalRight: string;
|
|
754
|
+
railInsetVerticalLeft: string;
|
|
755
|
+
railColor: string;
|
|
756
|
+
}, any>;
|
|
757
|
+
}>;
|
|
745
758
|
}>> | undefined;
|
|
746
759
|
InternalSelectMenu?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"InternalSelectMenu", {
|
|
747
760
|
optionFontSizeTiny: string;
|
|
@@ -948,7 +961,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
948
961
|
paddingMedium: string;
|
|
949
962
|
paddingLarge: string;
|
|
950
963
|
clearSize: string;
|
|
951
|
-
},
|
|
964
|
+
}, {
|
|
965
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
966
|
+
height: string;
|
|
967
|
+
width: string;
|
|
968
|
+
borderRadius: string;
|
|
969
|
+
color: string;
|
|
970
|
+
colorHover: string;
|
|
971
|
+
railInsetHorizontalBottom: string;
|
|
972
|
+
railInsetHorizontalTop: string;
|
|
973
|
+
railInsetVerticalRight: string;
|
|
974
|
+
railInsetVerticalLeft: string;
|
|
975
|
+
railColor: string;
|
|
976
|
+
}, any>;
|
|
977
|
+
}>> | undefined;
|
|
952
978
|
} | undefined;
|
|
953
979
|
} & {
|
|
954
980
|
common?: Partial<ThemeCommonVars>;
|
|
@@ -1538,7 +1564,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1538
1564
|
arrowOffsetVertical: string;
|
|
1539
1565
|
arrowHeight: string;
|
|
1540
1566
|
padding: string;
|
|
1541
|
-
},
|
|
1567
|
+
}, {
|
|
1568
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1569
|
+
height: string;
|
|
1570
|
+
width: string;
|
|
1571
|
+
borderRadius: string;
|
|
1572
|
+
color: string;
|
|
1573
|
+
colorHover: string;
|
|
1574
|
+
railInsetHorizontalBottom: string;
|
|
1575
|
+
railInsetHorizontalTop: string;
|
|
1576
|
+
railInsetVerticalRight: string;
|
|
1577
|
+
railInsetVerticalLeft: string;
|
|
1578
|
+
railColor: string;
|
|
1579
|
+
}, any>;
|
|
1580
|
+
}>;
|
|
1542
1581
|
}>;
|
|
1543
1582
|
InternalSelectMenu: import('naive-ui/es/_mixins').Theme<"InternalSelectMenu", {
|
|
1544
1583
|
optionFontSizeTiny: string;
|
|
@@ -1669,7 +1708,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1669
1708
|
paddingMedium: string;
|
|
1670
1709
|
paddingLarge: string;
|
|
1671
1710
|
clearSize: string;
|
|
1672
|
-
},
|
|
1711
|
+
}, {
|
|
1712
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1713
|
+
height: string;
|
|
1714
|
+
width: string;
|
|
1715
|
+
borderRadius: string;
|
|
1716
|
+
color: string;
|
|
1717
|
+
colorHover: string;
|
|
1718
|
+
railInsetHorizontalBottom: string;
|
|
1719
|
+
railInsetHorizontalTop: string;
|
|
1720
|
+
railInsetVerticalRight: string;
|
|
1721
|
+
railInsetVerticalLeft: string;
|
|
1722
|
+
railColor: string;
|
|
1723
|
+
}, any>;
|
|
1724
|
+
}>;
|
|
1673
1725
|
Popselect: import('naive-ui/es/_mixins').Theme<"Popselect", {
|
|
1674
1726
|
menuBoxShadow: string;
|
|
1675
1727
|
}, {
|
|
@@ -1686,7 +1738,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1686
1738
|
arrowOffsetVertical: string;
|
|
1687
1739
|
arrowHeight: string;
|
|
1688
1740
|
padding: string;
|
|
1689
|
-
},
|
|
1741
|
+
}, {
|
|
1742
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1743
|
+
height: string;
|
|
1744
|
+
width: string;
|
|
1745
|
+
borderRadius: string;
|
|
1746
|
+
color: string;
|
|
1747
|
+
colorHover: string;
|
|
1748
|
+
railInsetHorizontalBottom: string;
|
|
1749
|
+
railInsetHorizontalTop: string;
|
|
1750
|
+
railInsetVerticalRight: string;
|
|
1751
|
+
railInsetVerticalLeft: string;
|
|
1752
|
+
railColor: string;
|
|
1753
|
+
}, any>;
|
|
1754
|
+
}>;
|
|
1690
1755
|
InternalSelectMenu: import('naive-ui/es/_mixins').Theme<"InternalSelectMenu", {
|
|
1691
1756
|
optionFontSizeTiny: string;
|
|
1692
1757
|
optionFontSizeSmall: string;
|
|
@@ -1796,7 +1861,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1796
1861
|
arrowOffsetVertical: string;
|
|
1797
1862
|
arrowHeight: string;
|
|
1798
1863
|
padding: string;
|
|
1799
|
-
},
|
|
1864
|
+
}, {
|
|
1865
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1866
|
+
height: string;
|
|
1867
|
+
width: string;
|
|
1868
|
+
borderRadius: string;
|
|
1869
|
+
color: string;
|
|
1870
|
+
colorHover: string;
|
|
1871
|
+
railInsetHorizontalBottom: string;
|
|
1872
|
+
railInsetHorizontalTop: string;
|
|
1873
|
+
railInsetVerticalRight: string;
|
|
1874
|
+
railInsetVerticalLeft: string;
|
|
1875
|
+
railColor: string;
|
|
1876
|
+
}, any>;
|
|
1877
|
+
}>> | undefined;
|
|
1800
1878
|
Ellipsis?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Ellipsis", unknown, {
|
|
1801
1879
|
Tooltip: import('naive-ui/es/_mixins').Theme<"Tooltip", {
|
|
1802
1880
|
borderRadius: string;
|
|
@@ -1818,7 +1896,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1818
1896
|
arrowOffsetVertical: string;
|
|
1819
1897
|
arrowHeight: string;
|
|
1820
1898
|
padding: string;
|
|
1821
|
-
},
|
|
1899
|
+
}, {
|
|
1900
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1901
|
+
height: string;
|
|
1902
|
+
width: string;
|
|
1903
|
+
borderRadius: string;
|
|
1904
|
+
color: string;
|
|
1905
|
+
colorHover: string;
|
|
1906
|
+
railInsetHorizontalBottom: string;
|
|
1907
|
+
railInsetHorizontalTop: string;
|
|
1908
|
+
railInsetVerticalRight: string;
|
|
1909
|
+
railInsetVerticalLeft: string;
|
|
1910
|
+
railColor: string;
|
|
1911
|
+
}, any>;
|
|
1912
|
+
}>;
|
|
1822
1913
|
}>;
|
|
1823
1914
|
}>> | undefined;
|
|
1824
1915
|
Dropdown?: import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"Dropdown", {
|
|
@@ -1889,7 +1980,20 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
1889
1980
|
arrowOffsetVertical: string;
|
|
1890
1981
|
arrowHeight: string;
|
|
1891
1982
|
padding: string;
|
|
1892
|
-
},
|
|
1983
|
+
}, {
|
|
1984
|
+
Scrollbar: import('naive-ui/es/_mixins').Theme<"Scrollbar", {
|
|
1985
|
+
height: string;
|
|
1986
|
+
width: string;
|
|
1987
|
+
borderRadius: string;
|
|
1988
|
+
color: string;
|
|
1989
|
+
colorHover: string;
|
|
1990
|
+
railInsetHorizontalBottom: string;
|
|
1991
|
+
railInsetHorizontalTop: string;
|
|
1992
|
+
railInsetVerticalRight: string;
|
|
1993
|
+
railInsetVerticalLeft: string;
|
|
1994
|
+
railColor: string;
|
|
1995
|
+
}, any>;
|
|
1996
|
+
}>;
|
|
1893
1997
|
}>> | undefined;
|
|
1894
1998
|
} | undefined;
|
|
1895
1999
|
} & {
|
|
@@ -2241,6 +2345,7 @@ export declare const lightThemeOverrides: import('vue').ComputedRef<{
|
|
|
2241
2345
|
loadingColor: string;
|
|
2242
2346
|
lineHeight: string;
|
|
2243
2347
|
borderRadius: string;
|
|
2348
|
+
border: string;
|
|
2244
2349
|
margin: string;
|
|
2245
2350
|
padding: string;
|
|
2246
2351
|
maxWidth: string;
|
package/lib/types/app.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { File, MetadataTemplateFieldTypeEnum } from '../../types/openapi';
|
|
2
2
|
export type EmbedLocation = 'ui_app' | 'canvas' | 'dsr' | 'admin_instance' | 'overlay_app' | 'canvas_section_execution' | 'canvas_drawer';
|
|
3
|
+
export interface AppRouteConfig {
|
|
4
|
+
display_name?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export type AppRoutesMap = Record<string, AppRouteConfig>;
|
|
3
9
|
export type ModuleSettingsOption = {
|
|
4
10
|
label: string;
|
|
5
11
|
value: string;
|
|
@@ -86,6 +92,7 @@ export type AppJson = {
|
|
|
86
92
|
app_type?: 'canvas-popup' | 'section-selector' | 'sharebox';
|
|
87
93
|
app_options?: AppTypeJsonOptions;
|
|
88
94
|
order_override?: number;
|
|
95
|
+
has_multiple_routes?: boolean;
|
|
89
96
|
};
|
|
90
97
|
export type AppFile = File & {
|
|
91
98
|
app_metadata?: AppJson;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type LaunchDarklyBooleanFlagKey = 'ai_code_generation_model' | 'ai_text_generation_model' | 'ai_image_generation_model' | 'ai_video_generation_model' | 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_content_grid_autofill' | 'allow_canvas_duplication' | 'allow_canvases_tables_columns_settings' | 'allow_table_column_resizing' | 'allow_creating_canvas_with_no_template' | 'allow_dynamic_data_table_for_scribble_component' | 'allow_html_for_scribble_component' | 'allow_embeddable_for_scribble_component' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_distributions' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'enable_canvas_core_distributions' | 'enable_file_core_distributions' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_custom_tooltips' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'disable_download_canvas' | 'enable_ai_generated_thumbnails' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_algolia_search' | 'enable_background_image_theme_options' | 'enable_better_canvas_builder_control_bars_on_zoom' | 'enable_bulk_update_file_attributes' | 'enable_canvas_as_home' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_locks' | 'enable_canvas_template_edit_in_impact' | 'enable_canvas_tokens' | 'enable_collaborations' | 'enable_collection_player_data_accessor' | 'enable_content_grid_data_accessor' | 'enable_content_type_change_in_content_selector' | 'enable_cross_tab_instance_reload_for_ld_sync' | 'enable_create_section_from_section_template' | 'enable_custom_display_overrides' | 'enable_default_crm_shape' | 'enable_detailed_date_format' | 'enable_dsr_readonly_annotations' | 'enable_dynamic_data_table_component' | 'enable_custom_data_tables' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_canvas_drawer_app' | 'enable_enhanced_indicators' | 'enable_enhanced_section_execution_states' | 'enable_experimental_canvas_builder_dnd' | 'enable_extra_file_data' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_hotspot_visibility' | 'enable_improved_canvas_node_updating' | 'enable_individual_users_in_file_distribution' | 'enable_insearch_in_section_selector' | 'enable_instance_cloner' | 'enable_advanced_cloner' | 'enable_instance_editor_role' | 'enable_instance_navigation_from_management' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_more_intuitive_component_spacing' | 'enable_multimedia_component_ai_images' | 'enable_new_meeting_bar' | 'enable_original_pdf_link' | 'enable_scale_content' | 'enable_sorting_in_tiptap_table' | 'enable_theme_assets' | 'enable_toc_enhancements_to_support_same_section_in_section_list' | 'enable_pia_assistant' | 'enable_pipe_character_multi_search' | 'enable_popup_apps' | 'enable_reorder_search' | 'enable_reorder_scribble_isolation' | 'enable_reorder_component_options_menu' | 'enable_resizable_multimedia_component' | 'enable_responsive_scribble_component' | 'enable_saved_canvases_filters' | 'enable_short_tag_column_in_tables' | 'enable_scribble_component' | 'enable_scribble_content_as_background' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_selectors_dnd' | 'enable_section_selector_edit_section' | 'enable_smart_folders' | 'enable_smart_folders_for_sections' | 'enable_smart_folders_in_section_selector' | 'enable_smart_folders_in_files' | 'enable_sorting_in_sections' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'prefer_online_handlers' | 'restrict_owned_files_from_admins' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_metadata_filters_in_all_canvas_things' | 'show_only_preview_mode_for_html_component' | 'show_popularity_icons' | 'use_core_endpoint_for_analytics' | 'convert_pptx_to_section_with_scribble_pdfjs' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi' | 'enable_new_section_list' | 'enable_sharebox_apps' | 'enable_sharebox_bulk_filtering' | 'enable_back_to_previous_location_in_canvas' | 'enable_crm_shape_for_external_links' | 'enable_adaptive_popup_apps' | 'enable_file_version_polling' | 'skip_pspdfkit_wait_for_high_res_thumbs' | 'enable_reactive_scribble_component_toolbar' | 'enable_embeddable_full_screen_mode' | 'enable_enhanced_user_management' | 'keep_static_pptx_editable' | 'enable_canvas_pdf_dimensions' | 'enable_editable_pptx_of_canvas' | 'enable_canvas_control_bars_collapse';
|
|
1
|
+
export type LaunchDarklyBooleanFlagKey = 'ai_code_generation_model' | 'ai_text_generation_model' | 'ai_image_generation_model' | 'ai_video_generation_model' | 'allow_ai_prompts_in_canvas_text' | 'allow_bulk_actions_canvases_files' | 'allow_content_grid_autofill' | 'allow_canvas_duplication' | 'allow_canvases_tables_columns_settings' | 'allow_table_column_resizing' | 'allow_creating_canvas_with_no_template' | 'allow_dynamic_data_table_for_scribble_component' | 'allow_html_for_scribble_component' | 'allow_embeddable_for_scribble_component' | 'allow_embeddable_hiding' | 'allow_multimedia_for_scribble_component' | 'allow_note_taking' | 'allow_rep_canvas_metadata_edit' | 'allow_rep_file_distributions' | 'allow_rep_file_rating' | 'allow_rep_file_upload' | 'allow_saving_annotations_in_personal_layer' | 'allow_user_to_edit_font_size_and_color_in_canvas_tokens' | 'are_sections_system_controlled' | 'enable_canvas_core_distributions' | 'enable_file_core_distributions' | 'copy_context_to_canvas' | 'copy_template_metadata_to_canvas' | 'disable_canvas_edit_for_reps' | 'disable_custom_tooltips' | 'disable_file_edit_content' | 'disable_fullscreen_canvas_builder' | 'disable_impact_web_browser_fullscreen' | 'display_section_list_name' | 'disable_download_canvas' | 'enable_ai_generated_thumbnails' | 'enable_analytics' | 'enable_app_developer_role' | 'enable_algolia_search' | 'enable_background_image_theme_options' | 'enable_better_canvas_builder_control_bars_on_zoom' | 'enable_bulk_update_file_attributes' | 'enable_canvas_as_home' | 'enable_canvas_blocks' | 'enable_canvas_node_debugging' | 'enable_canvas_locks' | 'enable_canvas_template_edit_in_impact' | 'enable_canvas_tokens' | 'enable_collaborations' | 'enable_collection_player_data_accessor' | 'enable_content_grid_data_accessor' | 'enable_content_type_change_in_content_selector' | 'enable_cross_tab_instance_reload_for_ld_sync' | 'enable_create_section_from_section_template' | 'enable_custom_display_overrides' | 'enable_default_crm_shape' | 'enable_detailed_date_format' | 'enable_dsr_readonly_annotations' | 'enable_dynamic_data_table_component' | 'enable_custom_data_tables' | 'enable_embedded_video_autoplay' | 'enable_embedded_video' | 'enable_enhanced_canvas_drawer_app' | 'enable_enhanced_indicators' | 'enable_enhanced_section_execution_states' | 'enable_experimental_canvas_builder_dnd' | 'enable_extra_file_data' | 'enable_file_pages_metadata' | 'enable_file_revisions' | 'enable_folder_details_edit' | 'enable_handlebar_template_support' | 'enable_height_in_component_theming' | 'enable_hotspot_visibility' | 'enable_improved_canvas_node_updating' | 'enable_individual_users_in_file_distribution' | 'enable_insearch_in_section_selector' | 'enable_instance_cloner' | 'enable_advanced_cloner' | 'enable_instance_editor_role' | 'enable_instance_navigation_from_management' | 'enable_knock_notifications' | 'enable_maintain_section_theme_control' | 'enable_metadata_in_file_uploads_with_default_values' | 'enable_more_intuitive_component_spacing' | 'enable_multimedia_component_ai_images' | 'enable_new_meeting_bar' | 'enable_original_pdf_link' | 'enable_scale_content' | 'enable_sorting_in_section_picker' | 'enable_sorting_in_tiptap_table' | 'enable_theme_assets' | 'enable_toc_enhancements_to_support_same_section_in_section_list' | 'enable_pia_assistant' | 'enable_pipe_character_multi_search' | 'enable_popup_apps' | 'enable_reorder_search' | 'enable_reorder_scribble_isolation' | 'enable_reorder_component_options_menu' | 'enable_resizable_multimedia_component' | 'enable_responsive_scribble_component' | 'enable_saved_canvases_filters' | 'enable_short_tag_column_in_tables' | 'enable_scribble_component' | 'enable_scribble_content_as_background' | 'enable_search_and_filters_in_multimedia_component' | 'enable_section_context_in_dsr' | 'enable_selectors_dnd' | 'enable_section_selector_edit_section' | 'enable_smart_folders' | 'enable_smart_folders_for_sections' | 'enable_smart_folders_in_section_selector' | 'enable_smart_folders_in_files' | 'enable_sorting_in_sections' | 'enable_suggested_tags' | 'enable_template_folders' | 'enable_theme_options_border_radius' | 'enable_themes' | 'hide_asset_uploader' | 'include_files_content_in_print' | 'interpolate_rep_canvases_on_edit_mode' | 'is_fe_sentry_enabled' | 'is_timeline_component_allowed' | 'launch_in_full_screen_on_present_mode' | 'prefer_online_handlers' | 'restrict_owned_files_from_admins' | 'show_asset_manager_for_multimedia' | 'show_clear_all_annotations_button' | 'show_content_selector_list_view' | 'show_metadata_filters_in_all_canvas_things' | 'show_only_preview_mode_for_html_component' | 'show_popularity_icons' | 'use_core_endpoint_for_analytics' | 'convert_pptx_to_section_with_scribble_pdfjs' | 'use_short_url_for_shared_link' | 'use_zoho_instead_of_ms_wopi' | 'enable_new_section_list' | 'enable_sharebox_apps' | 'enable_sharebox_bulk_filtering' | 'enable_back_to_previous_location_in_canvas' | 'enable_crm_shape_for_external_links' | 'enable_adaptive_popup_apps' | 'enable_file_version_polling' | 'skip_pspdfkit_wait_for_high_res_thumbs' | 'enable_reactive_scribble_component_toolbar' | 'enable_embeddable_full_screen_mode' | 'enable_enhanced_user_management' | 'keep_static_pptx_editable' | 'enable_canvas_pdf_dimensions' | 'enable_editable_pptx_of_canvas' | 'enable_canvas_control_bars_collapse';
|
|
2
2
|
export type LaunchDarklyNumberFlagKey = 'canvas_section_selector_page_size' | 'canvas_section_selector_selected_items_with_thumbnail_size';
|
|
3
3
|
type LaunchDarklyObjectFlags = {
|
|
4
4
|
canvas_manager_table_columns: CanvasManagerTableColumns;
|