bt-core-app 2.0.159 → 2.0.161
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/bt-core-app.js +5659 -5659
- package/dist/index.d.ts +37 -35
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -501,7 +501,7 @@ export declare interface BTUseDialog {
|
|
|
501
501
|
export declare interface BTUseDialogOption extends RegisterDialogOptions {
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
declare interface BulkActionResult<T> {
|
|
504
|
+
export declare interface BulkActionResult<T> {
|
|
505
505
|
item?: T;
|
|
506
506
|
isSuccess?: boolean;
|
|
507
507
|
msg?: string;
|
|
@@ -878,17 +878,11 @@ export declare interface ExtendedPinia extends Pinia {
|
|
|
878
878
|
|
|
879
879
|
export declare function extensionExists(elementId?: string): boolean;
|
|
880
880
|
|
|
881
|
-
export declare interface ExternalConfig {
|
|
882
|
-
textProp: string;
|
|
883
|
-
parties?: ExternalParty[];
|
|
884
|
-
}
|
|
885
|
-
|
|
886
881
|
export declare interface ExternalParty {
|
|
887
|
-
additionalUrl
|
|
888
|
-
canUnlink
|
|
889
|
-
localIDProp
|
|
890
|
-
|
|
891
|
-
party?: string;
|
|
882
|
+
additionalUrl: string;
|
|
883
|
+
canUnlink: boolean;
|
|
884
|
+
localIDProp: string;
|
|
885
|
+
party: string;
|
|
892
886
|
}
|
|
893
887
|
|
|
894
888
|
export declare const externalUses: string[];
|
|
@@ -1398,7 +1392,7 @@ export declare interface NavigationItem extends AuthItem {
|
|
|
1398
1392
|
/**the name that will be displayed in the navigation menu */
|
|
1399
1393
|
displayName?: string;
|
|
1400
1394
|
/**the configuration for external parties */
|
|
1401
|
-
|
|
1395
|
+
externals?: ExternalParty[];
|
|
1402
1396
|
/**custom override for getting the key to store */
|
|
1403
1397
|
getStorageKey?: (dOptions: GetStorageKeyOptions) => string;
|
|
1404
1398
|
/**will hide app bar if set to true when the route opens this nav */
|
|
@@ -1675,23 +1669,35 @@ export declare interface SWEvent extends Event {
|
|
|
1675
1669
|
detail: any;
|
|
1676
1670
|
}
|
|
1677
1671
|
|
|
1678
|
-
declare interface
|
|
1672
|
+
export declare interface SyncAction<T> {
|
|
1673
|
+
partyID?: string;
|
|
1674
|
+
localIDProp: string;
|
|
1675
|
+
actions: SyncActionInstruction<T>[];
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
export declare interface SyncActionInstruction<T> extends SyncActionPOST {
|
|
1679
1679
|
item?: T;
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
declare interface SyncActionPOST {
|
|
1682
|
+
export declare interface SyncActionPOST {
|
|
1683
1683
|
action: 'unlink' | 'link' | 'push';
|
|
1684
1684
|
externalItemID?: string;
|
|
1685
1685
|
localItemID: string;
|
|
1686
1686
|
}
|
|
1687
1687
|
|
|
1688
|
-
declare interface SyncOptions<T> extends StoreAction, StorePathOptions, DoActionOptions {
|
|
1688
|
+
export declare interface SyncOptions<T> extends StoreAction, StorePathOptions, DoActionOptions {
|
|
1689
1689
|
actions?: SyncActionInstruction<T>[];
|
|
1690
1690
|
localIDProp: string;
|
|
1691
1691
|
onSyncAsync?: (opt: SyncOptions<T>) => Promise<BulkActionResult<T>[]>;
|
|
1692
1692
|
partyID: string;
|
|
1693
1693
|
}
|
|
1694
1694
|
|
|
1695
|
+
export declare interface SyncPOST {
|
|
1696
|
+
partyID?: string;
|
|
1697
|
+
autoSync?: boolean;
|
|
1698
|
+
actions?: SyncActionPOST[];
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1695
1701
|
export declare interface TableColumn {
|
|
1696
1702
|
align?: 'start' | 'end' | 'center';
|
|
1697
1703
|
bool?: number;
|
|
@@ -2384,17 +2390,15 @@ export declare function useList<T, TSave, TReturn>(props: ListProps<T, TSave, TR
|
|
|
2384
2390
|
applyFilters: () => Promise<void>;
|
|
2385
2391
|
asyncItems: Ref<TReturn | TReturn[] | undefined, TReturn | TReturn[] | undefined>;
|
|
2386
2392
|
currentExternalParty: Ref< {
|
|
2387
|
-
additionalUrl
|
|
2388
|
-
canUnlink
|
|
2389
|
-
localIDProp
|
|
2390
|
-
|
|
2391
|
-
party?: string | undefined;
|
|
2393
|
+
additionalUrl: string;
|
|
2394
|
+
canUnlink: boolean;
|
|
2395
|
+
localIDProp: string;
|
|
2396
|
+
party: string;
|
|
2392
2397
|
} | undefined, ExternalParty | {
|
|
2393
|
-
additionalUrl
|
|
2394
|
-
canUnlink
|
|
2395
|
-
localIDProp
|
|
2396
|
-
|
|
2397
|
-
party?: string | undefined;
|
|
2398
|
+
additionalUrl: string;
|
|
2399
|
+
canUnlink: boolean;
|
|
2400
|
+
localIDProp: string;
|
|
2401
|
+
party: string;
|
|
2398
2402
|
} | undefined>;
|
|
2399
2403
|
currentPage: Ref<number, number>;
|
|
2400
2404
|
deleteItem: (item: TReturn) => Promise<void>;
|
|
@@ -2428,17 +2432,15 @@ export declare function useList<T, TSave, TReturn>(props: ListProps<T, TSave, TR
|
|
|
2428
2432
|
errorMsg: ComputedRef<string | undefined>;
|
|
2429
2433
|
exportToCSV: () => void;
|
|
2430
2434
|
externalParties: Ref< {
|
|
2431
|
-
additionalUrl
|
|
2432
|
-
canUnlink
|
|
2433
|
-
localIDProp
|
|
2434
|
-
|
|
2435
|
-
party?: string | undefined;
|
|
2435
|
+
additionalUrl: string;
|
|
2436
|
+
canUnlink: boolean;
|
|
2437
|
+
localIDProp: string;
|
|
2438
|
+
party: string;
|
|
2436
2439
|
}[], ExternalParty[] | {
|
|
2437
|
-
additionalUrl
|
|
2438
|
-
canUnlink
|
|
2439
|
-
localIDProp
|
|
2440
|
-
|
|
2441
|
-
party?: string | undefined;
|
|
2440
|
+
additionalUrl: string;
|
|
2441
|
+
canUnlink: boolean;
|
|
2442
|
+
localIDProp: string;
|
|
2443
|
+
party: string;
|
|
2442
2444
|
}[]>;
|
|
2443
2445
|
filteredItems: ShallowRef<TReturn[], TReturn[]>;
|
|
2444
2446
|
filters: ComputedRef<any[]>;
|
package/package.json
CHANGED